Release 0.10.22
[platform/upstream/gstreamer.git] / ChangeLog
1 === release 0.10.22 ===
2
3 2009-01-19  Jan Schmidt <jan.schmidt@sun.com>
4
5         * configure.ac:
6           releasing 0.10.22, "I heard a disturbing sound"
7
8 2009-01-17  Tim-Philipp Müller  <tim.muller at collabora co uk>
9
10         * gst/gstbus.c: (gst_bus_set_main_context), (gst_bus_create_watch):
11           Fix order of members in GstBusSource structure - the first member
12           must be the parent structure ie. GSource. Should make bus sources
13           attached to non-default main contexts work in all cases now (ie.
14           primarily in cases where the callback has a non-NULL user data
15           argument). Fixes #562170.
16
17         * tests/check/gst/gstbus.c: (test_custom_main_context):
18           Add unit test for the above, based on code by
19           Justin Karneges <justin at affinix com>.
20
21 2009-01-15  Wim Taymans  <wim.taymans@collabora.co.uk>
22
23         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
24
25         * gst/gstpad.h:
26         A small documentation fix.
27
28 2009-01-11  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
29
30         * gst/gstutils.h:
31         Initialize g_once_init* data with 0. Fixes bug #567225.
32
33 2009-01-09  Jan Schmidt  <jan.schmidt@sun.com>
34
35         * configure.ac:
36         pre-release 0.10.21.3
37
38 2009-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
39
40         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
41         (gst_base_sink_wait_clock):
42         * libs/gst/base/gstbasesink.h:
43         Fix documentation for the wait_clock method, rename basesink -> sink
44         for consistency.
45
46 2009-01-08  Stefan Kost  <ensonic@users.sf.net>
47
48         * gst/gst.c:
49           Create a registry if there is none also when the option for
50           gst-disable-registry-update has been selected. Fixes #567002
51
52 2009-01-06  Tim-Philipp Müller  <tim.muller at collabora co uk>
53
54         * gst/gst.c: (init_post):
55           Ref new enum type in gst_init.
56
57         * win32/common/libgstreamer.def:
58           Add recently-added API.
59
60 2009-01-06  Tim-Philipp Müller  <tim.muller at collabora co uk>
61
62         * docs/gst/gstreamer-sections.txt::
63         * gst/gst_private.h: (GstPluginDep), (_GstPluginPrivate):
64         * gst/gstplugin.c: (gst_plugin_init), (gst_plugin_finalize),
65           (gst_plugin_class_init), (gst_plugin_list_free),
66           (gst_plugin_ext_dep_get_env_vars_hash),
67           (_priv_plugin_deps_env_vars_changed),
68           (gst_plugin_ext_dep_extract_env_vars_paths),
69           (gst_plugin_ext_dep_get_hash_from_stat_entry),
70           (gst_plugin_ext_dep_direntry_matches),
71           (gst_plugin_ext_dep_scan_dir_and_match_names),
72           (gst_plugin_ext_dep_scan_path_with_filenames),
73           (gst_plugin_ext_dep_get_stat_hash),
74           (_priv_plugin_deps_files_changed), (gst_plugin_ext_dep_free),
75           (gst_plugin_ext_dep_strv_equal), (gst_plugin_ext_dep_equals),
76           (gst_plugin_add_dependency), (gst_plugin_add_dependency_simple):
77         * gst/gstplugin.h: (GstPluginPrivate), (GstPluginFlags),
78           (GST_PLUGIN_DEPENDENCY_FLAG_NONE),
79           (GST_PLUGIN_DEPENDENCY_FLAG_RECURSE),
80           (GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY),
81           (GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX),
82           (GstPluginDependencyFlags), (GstPluginFilter):
83         * gst/gstregistry.c: (gst_registry_scan_path_level):
84         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
85           (gst_registry_binary_save_plugin_dep),
86           (gst_registry_binary_save_plugin),
87           (gst_registry_binary_load_feature),
88           (gst_registry_binary_load_plugin_dep_strv),
89           (gst_registry_binary_load_plugin_dep),
90           (gst_registry_binary_load_plugin):
91         * gst/gstregistrybinary.h: (GST_MAGIC_BINARY_VERSION_STR),
92           (GstBinaryPluginElement), (_GstBinaryDep), (GstBinaryDep):
93         * gst/gstregistryxml.c: (gst_registry_xml_save_plugin):
94           Add API for making a GStreamer plugin 'dependent' on external files,
95           directories or environment variables, so that GStreamer knows when
96           it needs to re-load GStreamer plugins that wrap other plugin systems.
97           Fixes bug #350477.
98           API: add gst_plugin_add_dependency()
99           API: add gst_plugin_add_dependency_simple()
100
101 2009-01-06  Tim-Philipp Müller  <tim.muller at collabora co uk>
102
103         * docs/faq/gst-uninstalled:
104           Add libgstapp-0.10 from -base to search path and remove the old
105           lib from -bad from the search path.
106
107 2009-01-05  Wim Taymans  <wim.taymans@collabora.co.uk>
108
109         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position_last),
110         (gst_base_sink_get_position_paused), (gst_base_sink_get_position):
111         Release the object lock before calling the query convert pad functions
112         to avoid deadlocks.
113
114 2009-01-05  Wim Taymans  <wim.taymans@collabora.co.uk>
115
116         * gst/gstbus.c: (gst_bus_wakeup_main_context):
117         The lock order should be maincontext > OBJECT_LOCK so we need to release
118         the object lock when waking up the mainloop to avoid deadlocks.
119
120 2009-01-05  Wim Taymans  <wim.taymans@collabora.co.uk>
121
122         * gst/gstbin.c: (gst_bin_set_index_func), (gst_bin_set_clock_func),
123         (gst_bin_change_state_func):
124         Use an iterator to set the clock and the index so that we can release
125         the object lock appropriately. Fixes #566393.
126
127 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
128
129         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_available):
130         Use the name of the pads instead of a pointer, helps in debugging.
131
132 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
133
134         * gst/gstindex.c: (gst_index_get_type):
135         Add a debugging category for GstIndex, first little step in making
136         indexing top-notch.
137
138 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
139
140         * gst/gstelement.c: (gst_element_message_full),
141         (gst_element_pads_activate):
142         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
143         * gst/gstutils.c: (gst_pad_proxy_getcaps), (gst_pad_proxy_setcaps),
144         (gst_pad_add_data_probe_full), (gst_pad_add_event_probe_full),
145         (gst_pad_add_buffer_probe_full), (gst_pad_remove_data_probe),
146         (gst_pad_remove_event_probe), (gst_pad_remove_buffer_probe):
147         Assign debug statements to relevant categories instead of the 'default'
148         category so they don't get lost in debugging.
149
150 2009-01-01  Stefan Kost  <ensonic@users.sf.net>
151
152         * gst/gstdebugutils.c:
153           Add some ideas, how to make the graph smaller.
154
155         * gst/gstutils.c:
156           Add a comment from a debug session.
157
158         * libs/gst/base/gstbasetransform.c:
159           Log more context.
160
161         * libs/gst/controller/gstinterpolationcontrolsource.c:
162           Indet.
163
164         * plugins/elements/gstcapsfilter.c:
165           Fix typo in docs.
166
167 2008-12-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
168
169         * gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
170           (gst_bus_wakeup_main_context), (gst_bus_set_main_context),
171           (gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
172           (gst_bus_create_watch):
173           Make GstBusSource work with non-default main contexts (#562170).
174
175         * tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
176           (test_watch), (test_watch_with_custom_context), (gst_bus_suite):
177           Add test case for GstBusSource with a non-default main context.
178
179         * tests/check/libs/.cvsignore:
180           Ignore more.
181
182 2008-12-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
183
184         * gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
185           (unpack_string)::
186           Wrap multi-line macros in G_STMT_{START|END}.
187
188 2008-12-20  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
189
190         * docs/gst/gstreamer-sections.txt:
191         * gst/gstquark.c:
192         * gst/gstquark.h:
193         * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
194         (gst_query_parse_uri):
195         * gst/gstquery.h:
196         API: Add URI query type. This is useful to query the URI
197         of a sink/source element and can be used by demuxers that
198         need to get data from other files.
199         This query should go upstream by default.
200         Fixes bug #562949.
201         * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
202         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
203         (gst_fd_src_query):
204         * plugins/elements/gstfilesink.c: (gst_file_sink_query):
205         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
206         (gst_file_src_query):
207         Implement URI query.
208
209 2008-12-19  Alessandro Decina <alessandro.decina@collabora.co.uk>
210
211         * gst/gstghostpad.c:
212         * tests/check/gst/gstghostpad.c:
213         Don't forward gst_pad_set_caps() on a source ghostpad to its target.
214         That would cause the ghostpad to emit notify::caps two times (fist
215         from gst_pad_set_caps() and after from on_src_target_notify()).
216
217 2008-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
218
219         * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
220         (GST_START_TEST):
221         Add some more unit-tests for the ghostpad notify signal, one of which
222         currently fails.
223
224 2008-12-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
225
226         * win32/common/libgstreamer.def:
227         Add gst_tag_setter_reset_tags to the list of exported symbols.
228
229 2008-12-17  Alessandro Decina  <alessandro.decina@collabora.co.uk>
230
231         * gst/gstghostpad.c:
232         * tests/check/gst/gstghostpad.c:
233         In a source ghostpad, when caps are changed in the target pad, the
234         change needs to be reflected in the ghostpad.
235         Fixes #564863.
236
237 2008-12-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
238
239         * gst/gstutils.c: (gst_element_found_tags_for_pad):
240         Add FIXME for 0.11 to set the pad as message source and not
241         the element. Otherwise it's impossible to detect for which
242         pad the tags were found without adding an event probe
243         or something similar to the pad.
244
245 2008-12-16  Wim Taymans  <wim.taymans@collabora.co.uk>
246
247         * docs/faq/general.xml:
248         Update the faq.
249
250 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
251
252         * docs/gst/gstreamer-sections.txt:
253         * gst/gsttagsetter.c:
254         * gst/gsttagsetter.h:
255           Rename api added in previous commit and add since tag to docs.
256           API: gst_tag_setter_reset_tags()
257
258 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
259
260         * docs/gst/gstreamer-sections.txt:
261         * gst/gsttagsetter.c:
262         * gst/gsttagsetter.h:
263           Add function to reset tagsetter for element reuse.
264
265 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
266
267         * gst/gsttaglist.c:
268           Avoid copy of empty taglist.
269
270 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
271
272         * gst/gsttaglist.c:
273         * tests/check/gst/gsttag.c:
274           More complete unit tests. Fix handling of empty taglists (they were
275           not merged before).
276
277 2008-12-15  Stefan Kost  <ensonic@users.sf.net>
278
279         * gst/gsttaglist.h:
280         * gst/gsttagsetter.c:
281           Update GstTagSetter and GstTagMergeMode documentation. Mention
282           that tags can come from events and from application. Fix example.
283
284 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
285
286         * docs/design/part-TODO.txt:
287         Remove the seqnum entry that we implemented in 0.10 already.
288         Add entry about removing the format return value for queries.
289
290 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
291
292         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
293         (gst_base_sink_init), (gst_base_sink_set_property),
294         (gst_base_sink_get_property):
295         Expose the render-delay as a property so things like appsink can use it
296         to tweak the synchronisation.
297
298 2008-12-10  Peter Kjellerstedt  <pkj@axis.com>
299
300         * libs/gst/check/gstcheck.h: Allow check tests to use
301         MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
302         CK_FORK=no to be used with multiple check test that use threads.
303
304 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
305
306         * gst/gstutils.c: (gst_element_get_compatible_pad):
307         Fix a caps memory leak introduced by the last change.
308
309 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
310
311         * gst/gstutils.c: (gst_element_get_compatible_pad):
312         Check if the caps of the pads are compatible before returning
313         a pad and claiming it is compatible. This, among other things,
314         fixes a bug with gst-launch where an incompatible pad is chosen
315         and linking fails. Fixes bug #544003.
316
317 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
318
319         * libs/gst/check/gstcheck.c: (gst_check_init):
320         Revert accidentially commited patch for bug #404631 which
321         tries to print a backtrace if a testcase is terminated by
322         a signal. This code was never activated as the corresponding
323         configure.ac change wasn't committed.
324
325 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
326
327         * tests/check/libs/controller.c: (GST_START_TEST):
328         This test should return TRUE now as syncing an uncontrolled
329         object will succeed now (there's nothing to sync).
330
331 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
332
333         * libs/gst/controller/gstcontroller.c:
334           Aggregate return value for gst_controller_sync_values(). More info in
335           logging. Always set values on first sync-call.
336
337         * libs/gst/controller/gstcontrolsource.c:
338           Microoptimizations.
339
340         * libs/gst/controller/gsthelper.c:
341           Fix return code and comment.
342
343 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
344
345         * tools/gst-launch.1.in:
346           Fix description of how to specify a type in caps. Fixes #553873.
347           Also ranges and list contain values and not property-assignments.
348
349 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
350
351         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
352         Check for changed pads-list before checking the last returned
353         GstFlowReturn because the pad could have been removed and we
354         need to ignore the value in that case.
355
356 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
357
358         * libs/gst/base/gstbasetransform.c:
359         (gst_base_transform_prepare_output_buffer),
360         (gst_base_transform_getrange), (gst_base_transform_chain):
361         * libs/gst/base/gstbasetransform.h:
362         Add vmethod that is called before we start the transform and which can
363         be used to configure the transform, such as dynamic properties.
364
365 2008-12-05  David Schleef  <ds@schleef.org>
366
367         * gst/gst.c:
368         Search for plugins on win32 based on the location of the
369         gstreamer DLL.  Fixes #548786
370
371 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
372
373         * configure.ac:
374         Apparently AC_CONFIG_MACRO_DIR breaks when using more
375         than one macro directory, reverting last change.
376
377 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
378
379         * configure.ac:
380         Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
381         our M4 macros.
382
383 2008-11-29  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
384
385         Patch by: Cygwin Ports maintainer
386                   <yselkowitz at users dot sourceforge dot net>
387
388         * autogen.sh:
389         * configure.ac:
390         Require gettext 0.17 because older versions don't mix with libtool
391         2.2. At build time an older gettext version will still work.
392         Fixes bug #556091.
393
394 2008-11-27  Wim Taymans  <wim.taymans@collabora.co.uk>
395
396         Patch by: 이문형 <iwings at gmail dot com>
397
398         * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
399         Adds support for FD_CONNECT event (win32). See #562258.
400
401 2008-11-24  Stefan Kost  <ensonic@users.sf.net>
402
403         * libs/gst/base/gstbasesink.c:
404           Turn comment into gtk-doc comment.
405
406 2008-11-24  Wim Taymans  <wim.taymans@collabora.co.uk>
407
408         * libs/gst/base/gstbasetransform.c:
409         (gst_base_transform_acceptcaps):
410         Revert quick accepcaps attempt, it's not fully equivalent to the old
411         behaviour and thus causes regressions.
412
413 2008-11-24  Edward Hervey  <edward.hervey@collabora.co.uk>
414
415         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
416         Fix memory leak.
417
418 2008-11-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
419
420         Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
421
422         * gst/gstregistry.c: (gst_registry_scan_path_level):
423         Reduce the number of stat() calls for every file from three times
424         to one time. Fixes bug #560360.
425
426 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
427
428         * libs/gst/base/gstbasetransform.c:
429         (gst_base_transform_acceptcaps):
430         Rename a variable to make the code clearer.
431
432 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
433
434         * plugins/elements/gstidentity.c:
435         Don't warning on offset==-1. Taken from _check_imperfect_offset().
436
437 2008-11-21  Michael Smith <msmith@songbirdnest.com>
438
439         * plugins/elements/gstfilesrc.c:
440           Check for localhost in URI was backwards, fix it. Fixes unit test.
441
442 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
443
444         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
445         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
446         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
447         Add beginnings of a more optimized acceptcaps function than the default
448         core one.
449
450 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
451
452         * gst/gstpad.c: (gst_pad_accept_caps):
453         Avoid getting the acceptcaps function too early.
454
455 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
456
457         * tools/gst-launch.c: (event_loop):
458         Make gst-launch handle LATENCY messages and make it recalculate the
459         latency.
460
461 2008-11-20  Michael Smith <msmith@songbirdnest.com>
462
463         * plugins/elements/gstfilesrc.c:
464           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
465           out own slightly incorrect version. Fixes use of some paths on
466           win32.
467
468 2008-11-20  Michael Smith <msmith@songbirdnest.com>
469
470         * gst/gstregistrybinary.c:
471           In win32 codepath, if we fail to write the registry, create the
472           directory for it and try again, matching the behaviour in non-win32
473           codepaths.
474
475 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
476
477         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
478         Changing the render delay changes the latency and so we must post a
479         latency message.
480
481 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
482
483         * gst/gstquery.c:
484         * gst/gstquery.h:
485         Add GstQueryType for custom queries instead of having to use the
486         not-so-very-convenient registration infrastructure to register new
487         types.
488
489 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
490
491         Patch by: Andrew Feren <acferen at yahoo dot com>
492
493         * gst/gstobject.c: (gst_object_default_deep_notify):
494         Unref the GEnumClass after usage again. Fixes bug #561501.
495
496 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
497
498         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
499         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
500         (gst_bin_change_state_func):
501         * gst/gstbin.h:
502         Add do-latency signal with the old default fallback implementation. This
503         allows for custom latency calculations for when the default is not
504         sufficient.
505         API: GstBin::do-latency signal.
506
507 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
508
509         * win32/common/libgstreamer.def:
510         Add new symbols to .def file.
511
512 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
513
514         * docs/gst/gstreamer-sections.txt:
515         * gst/gstbin.c: (gst_bin_recalculate_latency),
516         (gst_bin_change_state_func):
517         * gst/gstbin.h:
518         Add method to recalculate and redistribute the latency on a bin.
519         API: gst_bin_recalculate_latency().
520
521 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
522
523         * gst/gstbuffer.h:
524         Document the free_func.
525
526 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
527
528         * libs/gst/controller/gstinterpolation.c:
529         * libs/gst/controller/gstlfocontrolsource.c:
530         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
531         as it is mapped to a cast on non-win32 platforms.
532
533 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
534
535         * libs/gst/controller/gstcontroller.c:
536         * libs/gst/controller/gstcontrollerprivate.h:
537           Keep last-value and only call set_property if value has changed. This
538           supresses all the g_object_notifies we would trigger otherwise. It
539           also allows the user to chage the value while there is no controller
540           change.
541
542 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
543
544         * gst/gstvalue.c:
545           Don't crash if either of the string GValues is empty.
546
547 2008-11-17  Andy Wingo  <wingo@pobox.com>
548
549         * tools/gst-inspect.c (print_all_uri_handlers): New function,
550         prints a summary of what URI schemes are supported by what
551         elements.
552         (main): Plumb in support for --uri-handlers or -u, and fix the
553         argc check for -a and -u.
554
555 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
556
557         * gst/gstutils.h:
558         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
559         conversion functions.
560
561 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
562
563         * gst/gstbuffer.c: (gst_buffer_finalize):
564         Avoid costly typechecking for trivially correct pointers.
565
566         * gst/gstpoll.c: (gst_poll_wait):
567         Add some G_LIKELY here and there.
568
569         * libs/gst/base/gstadapter.c: (gst_adapter_push):
570         Add some debug info.
571
572 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
573
574         * docs/random/wtay/poll-timeout:
575         Small tweaks.
576
577 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
578
579         * tests/old/testsuite/caps/intersection.c: (main):
580         * tests/old/testsuite/plugin/loading.c: (main):
581         Remove references to deprecated API g_mem_chunk*.
582         Fixes #560442.
583
584 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
585
586         * tools/gst-inspect.c: (main):
587         Add --plugin option. Fixes #560301.
588
589 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
590
591         * docs/random/wtay/poll-timeout:
592         Quick braindump for a possible (not totally verified) atomic case.
593
594 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
595
596         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
597         (gst_registry_binary_initialize_magic),
598         (gst_registry_binary_write_cache),
599         (gst_registry_binary_check_magic):
600         * gst/gstregistrybinary.h:
601         Don't write and check a CRC for the binary registry file. It's
602         guaranteed that the registry is completely written (it's first written
603         to a temporary file and then moved) and if the registry was corrupted
604         by some hardware failure we would have bigger problems.
605
606         Bump binary registry version to 0.10.21.1 for this as it's an
607         incompatible change and to ensure that the registry gets rebuild
608         after the update.
609
610         This saves some milliseconds for reading/writing the registry.
611         Fixes bug #560399.
612
613 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
614
615         * docs/random/wtay/poll-timeout:
616         Some pseudo code for how we could implement clock timeouts with GstPoll.
617
618 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
619
620         * plugins/elements/gstfilesink.c:
621           Update Author string to match others.
622
623 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
624
625         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
626         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
627         being fixed and inline the trivial check.
628
629 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
630
631         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
632         (gst_caps_merge_structure), (gst_caps_get_structure),
633         (gst_caps_copy_nth), (gst_caps_set_simple),
634         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
635         (gst_caps_is_equal_fixed), (gst_caps_intersect),
636         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
637         (gst_caps_to_string):
638         Callgrind micro optimisations.
639         Avoid array bounds checks and force inline of trivial function.
640
641         * gst/gstobject.c: (gst_object_set_name_default):
642         -1 is equivalent to letting glib to the strlen but then there is more
643         room for optimisations and it's not our fault.
644
645         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
646         no need to clear the array, we're cool.
647
648         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
649         The most common _is_fixed() check is done on fundamental glib base
650         types so we check this first instead of doing a huge amount of
651         useless GST_TYPE_ARRAY calls.
652
653 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
654
655         * gst/gstevent.h:
656         Add a SKIP seek flag for use with advanced trickmodes.
657         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
658
659 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
660
661         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
662         No need to memset, we can clear the value ourselves.
663
664         * gst/gstvalue.c: (gst_type_is_fixed),
665         (gst_value_get_compare_func):
666         Some optimisations from a few callgrind sessions:
667         When checking if a type is fixed, check for trivial fundamental types
668         first before checking types for which we need to get the type followed
669         by the heavy duty type checks, this reduces the amount of
670         g_type_fundamental() calls a lot.
671         When getting the compare function, first check for our registered types.
672         If that fails, do the heavy duty g_type_is_a() checks, reduces the
673         amount of g_type_is_a() considerably.
674
675 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
676
677         * docs/design/part-TODO.txt:
678         Mumble something about removing GstXML.
679
680 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
681
682         * gst/gstbin.c: (gst_bin_handle_message_func):
683         Get the seqnum before we dispose the message.
684
685 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
686
687         * docs/design/part-TODO.txt:
688         Refer to the framestepping document.
689
690 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
691
692         * gst/gstbin.c: (bin_handle_async_start),
693         (gst_bin_handle_message_func), (gst_bin_query):
694         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
695         (gst_base_sink_event), (gst_base_sink_change_state):
696         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
697         (gst_base_src_loop), (gst_base_src_change_state):
698         Copy seqnums from events to messages so that they can all be related
699         back to eachother.
700
701 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
702
703         * tools/gst-launch.c: (event_loop):
704         Print the message seqnums.
705
706 2008-11-04  Andy Wingo  <wingo@pobox.com>
707
708         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
709
710 2008-11-04  Andy Wingo  <wingo@pobox.com>
711
712         Add sequence numbers to events and messages. See #559250.
713
714         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
715         API: New functions.
716
717         * gst/gstevent.h:
718         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
719         events with a new sequence number, and copy it when copying.
720         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
721         an event's sequence number.
722
723         * gst/gstmessage.h:
724         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
725         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
726         so with messages.
727
728         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
729
730 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
731
732         * docs/manual/advanced-position.xml:
733         * docs/manual/basics-bins.xml:
734         * docs/manual/basics-bus.xml:
735         * docs/manual/basics-pads.xml:
736         * docs/manual/intro-gstreamer.xml:
737         * docs/manual/intro-preface.xml:
738         Some Application Development Manual fixes thanks to
739         Andrew Feren. Fixes #558459.
740
741 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
742
743         * gst/gstregistrybinary.c:
744           Don't bother with the GTimer if we don't output the results.
745
746 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
747
748         Patch by: David Schleef  <ds@schleef.org>
749
750         * libs/gst/net/Makefile.am:
751         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
752
753 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
754
755         * gst/gstregistrybinary.c:
756           Oh my, studip, stupid me. Remove double stat() call.
757
758 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
759
760         * gst/gstpreset.c:
761           Use g_unlink instead of unlink.
762
763         * gst/gststructure.c:
764           Use glib type.
765
766         * gst/gstutils.c:
767           Add a FIXME:.
768
769         * gst/gsttaglist.c:
770         * gst/gsttypefind.c:
771         * gst/gstvalue.c:
772           Formatting & whitespaces.
773
774 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
775
776         * plugins/elements/gstidentity.c:
777           Doc typo. Use return value of parent_class->event.
778   
779         * plugins/elements/gsttypefindelement.c:
780           Chain up at the end for consistency.
781   
782 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
783
784         * docs/Makefile.am:
785         * docs/gst/gstreamer-docs.sgml:
786         * docs/gst/gstreamer-sections.txt:
787         * docs/gst/running.xml:
788         * docs/libs/gstreamer-libs-docs.sgml:
789           Change to xinclude based build - its faster and easier to maintain.
790
791 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
792
793         * gst/gstregistrybinary.c:
794         * gst/gstregistryxml.c:
795           Use g_unlink() as none of these are directories.
796
797 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
798
799         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
800         Some more comments.
801
802 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
803
804         * libs/gst/base/gstbasetransform.c:
805         (gst_base_transform_find_transform), (gst_base_transform_getrange):
806         If we have a fixate function, call it even if we already have fixed caps
807         because the subclass might add some caps. Makes audioconvert add a
808         default channel layout.
809
810 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
811
812         * libs/gst/base/gstbasetransform.c:
813         (gst_base_transform_prepare_output_buffer),
814         (gst_base_transform_getrange):
815         Clear the output buffer variable.
816         Cleanups to the error path in the getrange function.
817         Fixes #557649.
818
819 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
820
821         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
822         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
823         Use gst_buffer_try_new_and_alloc() and handle errors instead of
824         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
825         be allocated.
826
827 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
828
829         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
830         Set the last_stop to a more meaningful position when configuring the
831         segment. ie. the start/stop of the segment or clipped against the
832         updated segment boundaries.
833
834         * tests/check/gst/gstsegment.c: (GST_START_TEST):
835         Add some unit tests for the last_stop.
836
837 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
838
839         * libs/gst/base/gstbytereader.c:
840         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
841         copies of them.
842
843 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
844
845         * docs/gst/gstreamer-sections.txt:
846         * gst/gstutils.h:
847         API: Move float endianness conversion macros from libgstfloatcast
848         to core as it's useful in general, even in core. Fixes bug #555196.
849         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
850         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
851         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
852
853         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
854         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
855         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
856         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
857
858 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
859
860         * docs/libs/gstreamer-libs-sections.txt:
861         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
862         (gst_byte_reader_peek_data):
863         * libs/gst/base/gstbytereader.h:
864         * win32/common/libgstbase.def:
865         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
866         to get a pointer to the data at the current position and have
867         a guaranteed size.
868
869 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
870
871         * configure.ac:
872         Fix a bug in the output of the configure script summary
873         when --gst-disable-registry is supplied
874
875 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
876
877         * libs/gst/base/gstbitreader.c:
878         * libs/gst/base/gstbytereader.c:
879         Fix the names of 2 functions in the docs strings.
880
881 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
882
883         * libs/gst/base/gstbasetransform.c:
884         (gst_base_transform_prepare_output_buffer),
885         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
886         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
887         refcount problems as seen in banshee and maybe also in farsight2.
888         Remove atomic int now that we need to take the lock anyways.
889
890 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
891
892         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
893         (gst_base_sink_default_prepare_seek_segment),
894         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
895         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
896         (gst_base_sink_query):
897         Implement more seeking in pull mode.
898         Use pad convert functions to convert position to the requested format.
899         Fix position/duration reporting in pull mode.
900         Implement position and duration reporting in other formats than time.
901
902         * libs/gst/base/gstbasesink.h:
903         Add member to keep track of when the segment is playing.
904
905 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
906
907         * gst/gstpad.c: (gst_pad_configure_src):
908         When we use gst_pad_alloc_buffer() without wanting to set the caps we
909         also don't need to check if the caps are compatible because the caller
910         presumably is going to perform its own custom checks. Fixes some cases
911         where basetransform elements would error out when it was not needed.
912
913 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
914
915         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
916         Update comment.
917
918         * libs/gst/base/gstbasetransform.c:
919         (gst_base_transform_handle_buffer),
920         (gst_base_transform_reconfigure):
921         Add some debug info.
922
923         * win32/common/libgstbase.def:
924         Add new method.
925
926 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
927
928         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
929           Remove duplicated assignment and log a message in failure case.
930
931 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
932
933         Patch by: Dig Ge <dig.ge.cn at gmail com>
934
935         * tests/examples/helloworld/helloworld.c: (main):
936           Fix copy'n'paste bug in hello world example (#556900).
937
938 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
939
940         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
941         (gst_base_sink_query):
942         Query the total number of bytes when activating the pad in pull mode.
943         Implement duration query in pull mode by using the installed pad convert
944         function to convert from bytes to the requested format.
945
946 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
947
948         * docs/libs/gstreamer-libs-sections.txt:
949         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
950         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
951         (gst_base_sink_event), (gst_base_sink_perform_seek),
952         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
953         (gst_base_sink_send_event), (gst_base_sink_change_state):
954         * libs/gst/base/gstbasesink.h:
955         Add method to commit the state in subclasses.
956         Refactor the flush_start and flush_stop code because we need it for
957         flushing while seeking too.
958         Implement the beginnings of seeking in pull mode.
959         Use the segment last_stop field for the pulling offset.
960         Fix the pause method in pull mode.
961         Configure the segment to BYTES for pull mode.
962         API: GstBaseSink::gst_base_sink_do_preroll()
963
964 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
965
966         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
967         Update some docs.
968
969 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
970
971         * gst/gstquark.c: (_priv_gst_quarks_initialize):
972           Fix printf format warning.
973
974 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
975
976         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
977         Fix flow aggregation of tee. Error out immediately for all flow returns
978         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
979         and return OK if at least one pad is linked.
980
981         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
982         and otherwise returned the flow return of the last pad, which is wrong.
983         
984         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
985         (GST_START_TEST), (tee_suite):
986         Add unit tests for the flow aggregation.
987
988 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
989
990         * docs/design/part-TODO.txt:
991         Remove item from the todo list because it was fixed with the latency
992         state change rewrites.
993
994         * docs/design/part-seeking.txt:
995         * docs/design/part-segments.txt:
996         Update some docs.
997
998         * gst/gstevent.c: (gst_event_new_new_segment_full),
999         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
1000         (gst_event_parse_buffer_size), (gst_event_new_qos),
1001         (gst_event_parse_qos), (gst_event_new_seek),
1002         (gst_event_parse_seek), (gst_event_new_latency),
1003         (gst_event_parse_latency):
1004         Use quarks to construct and parse events.
1005
1006         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1007         * gst/gstquark.h:
1008         Add some more quarks to the table.
1009         Emit a warning when the quark tables are not in sync.
1010
1011         * tests/check/gst/gstbus.c: (GST_START_TEST):
1012         Add an assert.
1013
1014 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
1015
1016         * plugins/elements/Makefile.am:
1017         * plugins/indexers/Makefile.am:
1018           Don't install static libs for plugins. Fixes #550851 for core.
1019
1020 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
1021
1022         * gst/gstbus.c: (gst_bus_source_finalize),
1023         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
1024         (gst_bus_enable_sync_message_emission),
1025         (gst_bus_disable_sync_message_emission),
1026         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
1027         Fix deadlock, g_source_get_id() cannot be called in finalize.
1028         Keep track of the watch source by keeping a pointer to the source object
1029         instead.
1030         Use the bus lock to protect access to the pointer to the current
1031         watch source.
1032
1033 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1034
1035         Base on Patch by: Olivier Crete <tester at tester dot ca>
1036
1037         * gst/gstbus.c: (gst_bus_source_finalize),
1038         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
1039         Only allow one bus watch to be set at a time. This is necessary
1040         because the dispatcher pops the message from the bus and the second
1041         watcher will then get NULL or the next message (and the first won't
1042         get this next message then, etc). If more than one "watcher" is
1043         required signal watches should be used. Fixes bug #526044.
1044
1045 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
1046
1047         * tools/gst-launch.c:
1048         Change the printing of the 'buffering...' output to avoid putting
1049         a \r in a translateable string (flagged by the TP).
1050
1051 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1052
1053         * gst/gstxml.c:
1054         Clarify that the save_thyself() and restore_thyself() virtual
1055         functions of GstObject need to be overriden, not
1056         gst_object_(save|restore)_thyself() which is impossible.
1057         Fixes bug #555700.
1058
1059 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
1060
1061         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
1062         Revert a patch from 21 months ago that broke caps negotiation in pull
1063         mode. Basically, having a buffer pass over a pad will trigger the
1064         setcaps function when caps change, just like in push mode.
1065
1066 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
1067
1068         * docs/design/part-negotiation.txt:
1069         Update the docs some more.
1070
1071         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1072         If we pull a buffer with non-trivial caps, suggest those caps with the
1073         max probability.
1074
1075 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
1076
1077         * docs/design/part-TODO.txt:
1078         Add another limitation of pad-blocking with segment seeks not pushing
1079         EOS events.
1080
1081 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
1082
1083         * win32/common/libgstbase.def:
1084         * win32/common/libgstreamer.def:
1085         Add new symbols to the win32 defs files
1086
1087 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
1088
1089         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
1090         (gst_bin_handle_message_func):
1091         The message src can be NULL, don't try to print the object names in that
1092         case.
1093
1094         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
1095         Add some more debug info.
1096
1097         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
1098         (GST_START_TEST):
1099         Add some debug.
1100         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
1101         scheduling modes.
1102
1103 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
1104
1105         * docs/design/part-negotiation.txt:
1106         Small doc update.
1107
1108         * docs/libs/gstreamer-libs-sections.txt:
1109         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1110         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
1111         (gst_base_sink_init), (gst_base_sink_set_blocksize),
1112         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
1113         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
1114         (gst_base_sink_loop), (gst_base_sink_pad_activate),
1115         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1116         (gst_base_sink_change_state):
1117         * libs/gst/base/gstbasesink.h:
1118         Add blocksize property and methods to control the amount of data
1119         to pull.
1120         Negotiate first before activating upstream in pull mode so that they can
1121         negotiate themselves.
1122         When we operate in pull mode, we only accept the caps that we
1123         negotiated.
1124         Make the sink go ASYNC to PAUSED, like all other sinks.
1125         API: GstBaseSink::gst_base_sink_set_blocksize()
1126         API: GstBaseSink::gst_base_sink_get_blocksize()
1127         API: GstBaseSink::blocksize
1128
1129         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1130         (gst_base_src_set_live), (gst_base_src_is_live),
1131         (gst_base_src_set_format), (gst_base_src_query_latency),
1132         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
1133         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
1134         (gst_base_src_set_property), (gst_base_src_get_property):
1135         * libs/gst/base/gstbasesrc.h:
1136         Add typechecking in public API functions.
1137         Add methods to control the blocksize in subclasses.
1138         API: GstBaseSrc::gst_base_src_set_blocksize()
1139         API: GstBaseSrc::gst_base_src_get_blocksize()
1140
1141 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
1142
1143         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
1144         (buffer_probe), (event_probe), (GST_START_TEST):
1145         We now see 3 events go through our pad, since basesink now sends
1146         upstream latency events.
1147
1148 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1149
1150         * gst/gstpipeline.c: (gst_pipeline_change_state):
1151         Release the object lock before trying to flush the bus.
1152
1153 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1154
1155         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1156         Forward LATENCY events upstreams so that elements know about the total
1157         pipeline latency. Fixes #555307.
1158
1159 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
1160
1161         * plugins/elements/gstqueue.c:
1162         Allow through queries when we don't know how
1163         to adjust them (not TIME or BYTES), as otherwise it's
1164         not possible to query the current position in order
1165         to seek in other formats at all.
1166
1167 2008-10-08  Andy Wingo  <wingo@pobox.com>
1168
1169         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
1170
1171 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1172
1173         * gst/gstghostpad.c:
1174         * gst/gstghostpad.h:
1175         Unbreak -good build, private is a reserved c++ keyword.
1176
1177 2008-10-08  Andy Wingo  <wingo@pobox.com>
1178
1179         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
1180         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
1181         removal: re-add GST_GHOST_PAD_CAST to the header.
1182
1183         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
1184         (GstGhostPadClass): Publically expose these structures so as to
1185         allow easy subclassing from C. Hide the member data behind a
1186         private opaque data pointer.
1187
1188         * gst/gstghostpad.c: Adapt to store instance data in the type
1189         instance's private data region, not in the public struct.
1190
1191 2008-10-08  Andy Wingo  <wingo@pobox.com>
1192
1193         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1194         template via g_object_get(), be sure to unref it.
1195
1196         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1197
1198 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1199
1200         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1201         If we can't get a cache file don't try to save something to it.
1202         Dereferencing NULL pointers usually isn't a good idea.
1203
1204 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1205
1206         * tests/check/Makefile.am:
1207         * tests/check/gst/gstabi.c:
1208         * tests/check/gst/struct_sparc.h:
1209         * tests/check/libs/libsabi.c:
1210         * tests/check/libs/struct_sparc.h:
1211         Add Sparc ABI checks
1212
1213         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1214         Cast signed integer to unsigned to avoid a compiler warning.
1215
1216 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1217
1218         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1219         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1220         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1221         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1222         (gst_byte_reader_peek_int24_be):
1223         Use new GST_READ_UINT24_(LE|BE) macros.
1224
1225 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1226
1227         * docs/gst/gstreamer-sections.txt:
1228         * gst/gstutils.h:
1229         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1230         as it's too easy to break the ISO C strict aliasing rules with simple
1231         casts to the corresponding type and this would introduce hard to debug
1232         bugs. Fixes bug #545714.
1233
1234         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1235
1236 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1237
1238         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1239         * gst/gstghostpad.c: (gst_ghost_pad_construct):
1240           Add 'Since' bits to gtk-doc chunks for new API.
1241
1242 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
1243
1244         * docs/gst/gstreamer-sections.txt:
1245         Fix documentation
1246
1247 2008-10-06  Andy Wingo  <wingo@pobox.com>
1248
1249         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1250         that will be called on the malloc_data to free it. Basically a way
1251         to avoid subclassing when all you need is a different free
1252         function, i.e. free() instead of g_free().
1253
1254         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1255         calling the free function.
1256         (gst_buffer_init): Initialize the free function to g_free.
1257
1258 2008-10-06  Andy Wingo  <wingo@pobox.com>
1259
1260         * gst/gstghostpad.h:
1261         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1262         finishes the initialization of ghost pad. Useful for language
1263         bindings and subclassers of GstGhostPad. Fixes #539108.
1264         (gst_ghost_pad_new_full): Use the new constructor.
1265
1266 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1267
1268         Base on Patch by: Olivier Crete <tester at tester dot ca>
1269
1270         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1271         (gst_bin_remove_func), (update_degree),
1272         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1273         Keep track of pads that are being linked/unlinked and resync the state
1274         changes.
1275
1276         * gst/gstpad.c: (gst_pad_get_direction),
1277         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1278         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1279         (gst_pad_link_prepare), (gst_pad_link),
1280         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1281         (gst_pad_check_pull_range), (gst_pad_get_range),
1282         (gst_pad_pull_range):
1283         Some code cleanups, use macros to check pad direction.
1284         Don't need to take the lock on the pad direction.
1285         Post structure change when pads are linked/unlinked.
1286         Change some checks into _return_if_fail().
1287
1288         * tests/check/gst/gstbin.c:
1289         (test_link_structure_change_state_changed_sync_cb),
1290         (GST_START_TEST), (gst_bin_suite):
1291         Add testcase for pad link/unlinke resync during a state change.
1292         Fixes #510354.
1293
1294 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1295
1296         * docs/gst/gstreamer-sections.txt:
1297         * gst/gstmessage.c: (gst_message_new_structure_change),
1298         (gst_message_parse_structure_change):
1299         * gst/gstmessage.h:
1300         Implement STRUCTURE_CHANGED messages. These messages will be used to
1301         signal the parent bin of link/unlink operations that could require a
1302         resync when doing a state change. See ##510354.
1303         API: gst_message_new_structure_change()
1304         API: gst_message_parse_structure_change()
1305
1306 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1307
1308         * gst/gstquark.c:
1309         * gst/gstquark.h:
1310         Add some more quarks for new message. See #510354.
1311
1312 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1313
1314         * docs/libs/gstreamer-libs-docs.sgml:
1315         * docs/libs/gstreamer-libs-sections.txt:
1316         * libs/gst/base/Makefile.am:
1317         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1318         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1319         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1320         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1321         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1322         (gst_bit_reader_skip_to_byte):
1323         * libs/gst/base/gstbitreader.h:
1324         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1325         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1326         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1327         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1328         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1329         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1330         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1331         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1332         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1333         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1334         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1335         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1336         * libs/gst/base/gstbytereader.h:
1337         * tests/check/Makefile.am:
1338         * tests/check/libs/bitreader.c: (GST_START_TEST),
1339         (gst_bit_reader_suite):
1340         * tests/check/libs/bytereader.c: (GST_START_TEST),
1341         (gst_byte_reader_suite):
1342         API: Add bit reader and byte reader classes, including documentation
1343         and an extensive unit test suite. Fixes bug #553554.
1344
1345 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1346
1347         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1348         (gst_base_sink_query):
1349         Improve position reporting while flushing and other intermediate state
1350         changes. Fixes #553874.
1351
1352 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1353
1354         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1355
1356         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1357         Original patch by : Simon Descaries
1358         Fix small refount leak in caps compatibility check.
1359         Fixes #551676.
1360
1361 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1362
1363         * docs/pwg/advanced-request.xml:
1364           Fix 0.8 api usage in example. Fixes #554561
1365
1366         * docs/pwg/appendix-porting.xml:
1367           Change 0.9 to 0.10 here.
1368
1369 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1370
1371         * docs/manual/basics-data.xml:
1372           Change "event-event interaction" to "element-element interaction".
1373           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1374           updates.
1375
1376 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
1377
1378         * configure.ac:
1379         Back to development -> 0.10.21.1
1380
1381 === release 0.10.21 ===
1382
1383 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
1384
1385         * configure.ac:
1386           releasing 0.10.21, "Take These Things From Me"
1387
1388 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1389
1390         * configure.ac:
1391         0.10.20.4 pre-release
1392
1393 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1394
1395         * libs/gst/base/gstbasetransform.c:
1396         * plugins/elements/gstcapsfilter.c:
1397         * tests/check/Makefile.am:
1398         * tests/check/elements/.cvsignore:
1399         * tests/check/elements/capsfilter.c:
1400         Fix assertion in basetransform when the subclass chooses not to
1401         allocate a buffer in prepare_buffer(), and make capsfilter error out
1402         cleanly if requested to apply caps that don't completely specify the
1403         buffer. Fixes #551509
1404
1405 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1406
1407         * libs/gst/base/gstbasetransform.c:
1408         (gst_base_transform_prepare_output_buffer):
1409         Take new caps ref because our old one might have been gone when the
1410         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1411
1412 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
1413
1414         * configure.ac:
1415           Do not probe availability of check unit test library when cross
1416           compiling, as test would not work anyway. Also cleanup verbose output
1417           of the check test. Fixes #551952.
1418
1419 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1420
1421         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1422
1423         * gst/gstelement.c: (gst_element_sync_state_with_parent):
1424         Avoid leaking the parent ref when we fail changing the state of the
1425         element using gst_element_sync_state_with_parent(). Fixes #551978.
1426
1427 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1428
1429         * docs/manual/intro-motivation.xml::
1430           Remove some bits that no longer apply, update others (#551642).
1431
1432 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1433
1434         * configure.ac:
1435         0.10.20.2 pre-release
1436
1437         * po/LINGUAS:
1438         * po/id.po:
1439         * po/pt_BR.po:
1440
1441         New translations.
1442
1443 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1444
1445         * win32/common/config.h.in:
1446           Add GST_DATADIR, hard-code cpu to x86.
1447
1448         * win32/common/libgstreamer.def:
1449           Spaces to tabs.
1450
1451 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1452
1453         * gst/gsttaglist.h:
1454           Fix Since: markers for new geo tags.
1455
1456 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1457
1458         * gst/gsttaglist.h:
1459           Fix actual tag name define after renaming from altitude to elevation.
1460
1461 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1462
1463         * gst/gstpad.c: (add_unref_pad_to_list),
1464         (gst_pad_get_internal_links_default):
1465         Add fallback when calling the deprecated function on an element that
1466         implements the new internal_link handler.
1467
1468 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1469
1470         * docs/gst/gstreamer-sections.txt:
1471         * gst/gsttaglist.c:
1472         * gst/gsttaglist.h:
1473           Add new tags for geo location and clarify purpose of existing location
1474           tag. Fixes #481169
1475
1476 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1477
1478         Patch by: Olivier Crete <tester at tester dot ca>
1479
1480         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1481         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1482         Use thread-safe internal links iterator. Fixes #549504.
1483
1484 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1485
1486         Based on patch by: Olivier Crete <tester at tester dot ca>
1487
1488         * docs/gst/gstreamer-sections.txt:
1489         * win32/common/libgstreamer.def:
1490         * gst/gstpad.c: (gst_pad_init),
1491         (gst_pad_set_iterate_internal_links_function),
1492         (int_link_iter_data_free), (iterate_pad),
1493         (gst_pad_iterate_internal_links_default),
1494         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1495         * gst/gstpad.h:
1496         Add threadsafe replacement functions for getting internal links of an
1497         element. Deprecate the old internal links functions.
1498         API:GstPad::gst_pad_set_iterate_internal_links_function()
1499         API:GstPad::GstPadIterIntLinkFunction
1500         API:GstPad::gst_pad_iterate_internal_links()
1501         API:GstPad::gst_pad_iterate_internal_links_default()
1502
1503         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1504         (gst_proxy_pad_init):
1505         Implement threadsafe internal links.
1506
1507         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1508         Unit test for internal links on tee. See #549504.
1509
1510 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1511
1512         * tests/check/Makefile.am:
1513         libs/transform1 test requires libs/test_transform.c
1514
1515 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1516
1517         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1518         Die evil deadlock, die !
1519
1520 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1521
1522         * gst/gstutils.c: (gst_element_get_compatible_pad):
1523         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1524         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1525         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1526         not steal the refcount of the given caps as stated.
1527
1528         REVERT THIS COMMIT ONCE FIXED !
1529         REVERT THIS COMMIT ONCE FIXED !
1530         REVERT THIS COMMIT ONCE FIXED !
1531         REVERT THIS COMMIT ONCE FIXED !
1532         REVERT THIS COMMIT ONCE FIXED !
1533         REVERT THIS COMMIT ONCE FIXED !
1534
1535 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1536
1537         * gst/gstiterator.c:
1538         * gst/gstiterator.h:
1539         After 3 years it's about time to revise the documentation of the
1540         iterator objects.
1541
1542 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1543
1544         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1545         Make the internal links function less thread-unsafe and add some
1546         comments, dunno why.
1547
1548 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1549
1550         * gst/gst_private.h:
1551           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1552           build with --disable-gst-debug.
1553
1554 2008-08-28  David Schleef  <ds@schleef.org>
1555
1556         * gst/gstpadtemplate.c: Revert last change, since it breaks
1557           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1558           but shouldn't be enabled until we've released fixed versions
1559           of -good and -ffmpeg.
1560
1561 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1562
1563         * gst/gstobject.c:
1564           Put the gst_object_get_name() back in.
1565
1566 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1567
1568         * gst/gstpadtemplate.c:
1569           The old behaviour was that gst_pad_template_new() takes ownership of
1570           the caps. As we now call g_object_new() which calls g_object_set() and
1571           which copies the caps, we have to unref them to not leak them. Fixes
1572           make valgrid for me.
1573
1574 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1575
1576         * gst/gsturi.c:
1577           Don't segfault on input like "tel:+1-123-555-1234".
1578
1579 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1580
1581         * gst/gstobject.c:
1582           Due to popular request also include ObjectType in
1583           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1584
1585 2008-08-26  David Schleef  <ds@schleef.org>
1586
1587         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1588           src_val must be positive, because that's not a requirement.
1589           This causes problems with converting negative granulepos
1590           values for Dirac.
1591         * gst/gstquery.c: Same, gst_query_new_convert().
1592
1593 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1594
1595         * gst/gstclock.c: (gst_clock_add_observation):
1596         Add some more debugging to the clock slaving code.
1597
1598         * win32/common/libgstbase.def:
1599         Add new basetransform method.
1600
1601 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1602
1603         * gst/gstbin.c: (gst_bin_element_set_state):
1604         Take the (recursive) state lock between getting the locked state of an
1605         element and changing the element state. This allows the application to
1606         lock an element's state and then change its state without races.
1607
1608 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1609
1610         * gst/gstbin.c: (gst_bin_element_set_state):
1611         When an element is in the locked state we still want to update the
1612         base_time of the element.
1613
1614 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1615
1616         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1617         Use the result from gst_pad_set_caps() instead of assuming the element
1618         always accepted the caps computed by the default negotiate function.
1619
1620 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1621
1622         * docs/libs/gstreamer-libs-sections.txt:
1623         * libs/gst/base/gstbasetransform.c:
1624         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1625         (gst_base_transform_chain), (gst_base_transform_suggest),
1626         (gst_base_transform_reconfigure):
1627         * libs/gst/base/gstbasetransform.h:
1628         Implement method for reconfiguring basetransform.
1629         API: GstBaseTransform::gst_base_transform_reconfigure()
1630
1631 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1632
1633         patch by: Murray Cumming <murrayc@murrayc.com>
1634
1635         * gst/gstutils.c:
1636           Mention that this is just like gst_buffer_merge() but with extra
1637           unreffing for C coders. Advise language bindings not to wrap it.
1638           Fixes Bug #533856.
1639           
1640           Also fix file comment.
1641
1642 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1643
1644         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1645
1646         * plugins/elements/gstfakesink.c:
1647         * plugins/elements/gstfakesrc.c:
1648           Call super::event() when not handling it. Fixes #544855.
1649
1650 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1651
1652         Patch by: Alessandro Decina <alessandro@nnva.org>
1653         * plugins/elements/gstfilesrc.c:
1654           Use 64 bit variants of stat functions on win32, to enable support
1655           of large files there.
1656           Fixes #547277.
1657
1658 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1659
1660         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1661         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1662         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1663         (gst_base_sink_get_position), (gst_base_sink_change_state):
1664         Improve position reporting in the flushing state.
1665         Also report the position when we are not yet prerolled but we
1666         have a newsegment event. Fixes #543444.
1667         Improve the pull-based negotiation code.
1668
1669         * tests/check/elements/fakesink.c: (GST_START_TEST),
1670         (fakesink_suite):
1671         Add testcase for position reporting while flushing in PAUSED and
1672         PLAYING.
1673
1674         * tests/check/generic/sinks.c: (GST_START_TEST):
1675         Update unit-test, we can now query the position as soon as we receive a
1676         NEWSEGMENT event.
1677
1678 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1679
1680         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1681
1682         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1683         When the subclass event handler releases the PREROLL_LOCK, we could be
1684         in the flushing state and we have to ignore the event. Fixes #548394.
1685
1686 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1687
1688         * tools/gst-launch.1.in:
1689           Document GST_REGISTRY_UPDATE environment variable.
1690
1691 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1692
1693         * libs/gst/base/gstbasetransform.c:
1694         (gst_base_transform_prepare_output_buffer):
1695         If the element is configured in passthrough mode but the
1696         prepare_output_buffer gave us a new output buffer, discard that buffer
1697         and reuse the input buffer.
1698
1699 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1700
1701         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1702
1703         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1704         (gst_tee_request_new_pad), (gst_tee_release_pad),
1705         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1706         * plugins/elements/gsttee.h:
1707         Protect pad_alloc with a new lock so that we can be sure that nothing is
1708         performing a pad_alloc when removing the pad. Fixes #547835.
1709
1710         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1711         (buffer_alloc_harness_teardown), (app_thread_func),
1712         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1713         Added testcase for shutdown race.
1714
1715 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1716
1717         * gst/gstpad.h:
1718         Add doc
1719
1720 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1721
1722         * libs/gst/base/gstbasetransform.c:
1723         (gst_base_transform_prepare_output_buffer),
1724         (gst_base_transform_buffer_alloc):
1725         Go over the buffer_alloc function again and make sure we always end up
1726         allocating a buffer.
1727         Add some more docs.
1728         Avoid doing pad alloc when we have a pending suggestion because we
1729         cannot yet deal with changing caps in that case. Fixes #547728
1730
1731 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1732
1733         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1734
1735         * docs/manual/advanced-clocks.xml:
1736         * docs/manual/clocks.png:
1737         * docs/manual/diagrams-clocks.svg:
1738           Add one more image showing different times together with a describing
1739           paragraph. Fixes #547729.
1740
1741 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1742
1743         * win32/common/libgstbase.def:
1744         Add new method.
1745
1746 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1747
1748         * libs/gst/base/gstbasetransform.c:
1749         (gst_base_transform_transform_caps),
1750         (gst_base_transform_prepare_output_buffer),
1751         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1752         Don't overwrite the outsize when calculating the expected size of a new
1753         buffer because we still need it in case we cannot process the new
1754         buffer.
1755         When converting the size of the new buffer to an upstream size, actually
1756         use the expected size of the buffer, not some other random value.
1757         Use an atomic int to signal that a new upstream caps suggestion is
1758         available.
1759         When we can convert the current buffer to a new format, check if the
1760         buffer size is of the expected size and allocate a new buffer of the
1761         expected size when this is not the case. Fixes #546883.
1762
1763         * tests/check/libs/transform1.c: (GST_START_TEST):
1764         remove ifdeffed code from the unit test.
1765
1766 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1767
1768         * pkgconfig/gstreamer-uninstalled.pc.in:
1769         * pkgconfig/gstreamer.pc.in:
1770           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1771           called gstcontroller-0.10.
1772
1773 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1774
1775         * gst/gstchildproxy.h:
1776         * gst/gstpreset.h:
1777           Remove double interface from doc-string.        
1778
1779 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1780
1781         * libs/gst/base/gstbasesrc.c:
1782         * libs/gst/base/gstbasetransform.c:
1783           Fix headings in docs and gtk-doc warnings.
1784
1785 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1786
1787         * gst/gstregistrybinary.c:
1788           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1789           libc.
1790           Fixes #544776.
1791
1792 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1793
1794         * libs/gst/base/gstbasetransform.c:
1795         (gst_base_transform_buffer_alloc):
1796         Fix a "may be used unitialized" warning.
1797
1798 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1799
1800         * docs/gst/gstreamer-sections.txt:
1801         * gst/gstpreset.h:
1802           Document preset-iface vmethods.
1803
1804 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1805
1806         * docs/manual/advanced-interfaces.xml:
1807           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1808           only used to discover devices.
1809
1810 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1811
1812         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1813
1814         * gst/gst.c: (init_pre):
1815         Make sure gettext returns translations in UTF-8 encoding rather
1816         than in the current locale encoding (#546822).
1817
1818 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1819
1820         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1821         Fix subset test.
1822
1823         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1824         Improve unit test subset tests and add a testcase for the subset failure
1825         cases.
1826
1827         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1828         Improve subtraction unit test.
1829
1830 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1831
1832         * plugins/elements/gsttee.c:
1833           Unlock, instead of locking again.
1834
1835 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1836
1837         * gst/gstpad.h:
1838         Clarify the docs a bit more.
1839
1840 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1841
1842         * tests/examples/metadata/read-metadata.c:
1843           Don't leak old taglist.
1844
1845 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1846
1847         Patch by: Olivier Crete <tester at tester dot ca>
1848
1849         * gst/gststructure.c:
1850         (gst_structure_fixate_field_nearest_fraction):
1851         Avoid overflows in fixation code when dealing with MAXINT values, which
1852         v4l2src seems to do.
1853         Fixes #546328.
1854
1855         * tests/check/gst/gststructure.c: (GST_START_TEST):
1856         Make a unit test to check the fix. 
1857
1858 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1859
1860         * plugins/elements/gstcapsfilter.c: (copy_func),
1861         (gst_capsfilter_set_property):
1862         Use new caps suggestion feature of basetransform to request a caps
1863         negotiation upstream.
1864
1865 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1866
1867         * docs/libs/gstreamer-libs-sections.txt:
1868         Add new function:
1869         API: GstBaseTransform::gst_base_transform_suggest()
1870
1871         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1872         (gst_base_transform_init), (gst_base_transform_transform_caps),
1873         (gst_base_transform_transform_size),
1874         (gst_base_transform_configure_caps),
1875         (gst_base_transform_can_transform),
1876         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1877         (gst_base_transform_prepare_output_buffer),
1878         (gst_base_transform_buffer_alloc),
1879         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1880         (gst_base_transform_chain), (gst_base_transform_activate),
1881         (gst_base_transform_set_passthrough),
1882         (gst_base_transform_is_passthrough),
1883         (gst_base_transform_set_in_place),
1884         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1885         (gst_base_transform_set_qos_enabled),
1886         (gst_base_transform_is_qos_enabled),
1887         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1888         (gst_base_transform_reconfigure):
1889         * libs/gst/base/gstbasetransform.h:
1890         Rewrite of basetransform to perform negotiation outside of the
1891         buffer_alloc functions.  Fixes #545853.
1892
1893         * tests/check/libs/transform1.c: (GST_START_TEST),
1894         (buffer_alloc_ct2):
1895         Update unit test.
1896
1897 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1898
1899         * tests/check/gst/gstpreset.c:
1900           Only run preset tests when $HOME is writable. Preliminary fix for
1901           #545433.
1902
1903 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1904
1905         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1906         (gst_bin_change_state_func), (bin_handle_async_done),
1907         (gst_bin_handle_message_func):
1908         Fix race for bins that simulate ASYNC state changes by inserting
1909         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1910         pending ASYNC messages even when the bin does not have ASYNC children.
1911         We note detect this behaviour because we will receive an ASYNC message
1912         that is originating from the bin itself. 
1913         Fixes races with decodebin2 state changes.
1914
1915         * tests/check/gst/gstbin.c: (GST_START_TEST):
1916         Add some more debug.
1917
1918 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1919
1920         * gst/gsttaglist.c: (_gst_tag_initialize):
1921           Fix typo.
1922
1923 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1924
1925         * gst/gsttaglist.c:
1926           Argh. actually save the text before committing. Now adds
1927           gst_tag_merge_strings_with_comma() to gst_tag_register().
1928
1929 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1930
1931         * gst/gsttaglist.c:
1932         * gst/gsttaglist.h:
1933           Do as tim pointed out and actually register the new tag. Also improve
1934           te docs and use gst_tag_merge_strings_with_comma() method to allow
1935           retriving all keywords merged in one list.
1936
1937 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1938
1939         * configure.ac:
1940         * docs/gst/gstreamer.types:
1941           Revert 'accidential' change of the configure option removal. We still
1942           need to generate the types file in configure --disable-load-save.
1943
1944 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1945
1946         * docs/gst/gstreamer-sections.txt:
1947         * gst/gsttaglist.h:
1948           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1949
1950 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1951
1952         * gst/gstpadtemplate.c:
1953           (gst_pad_template_class_init), (gst_static_pad_template_get),
1954           (gst_pad_template_new), (gst_pad_template_pad_created),
1955           (gst_pad_template_set_property), (gst_pad_template_get_property):
1956           Add "name-template", "direction", "presence" and "caps" properties,
1957           so that gst_pad_template_new() is just a thin wrapper around
1958           g_object_new(), which is better for bindings. (Fixes: #539772)
1959
1960 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1961
1962         * gst/gsturi.c:
1963           Be more liberal in what URIs we accept.
1964           Do not unescape bits of the URI for no apparent reason before passing to
1965           the element. Fixes #545352.
1966
1967 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1968
1969         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1970
1971         * gst/gst.c:
1972         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1973
1974 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1975
1976         * configure.ac:
1977         * docs/gst/gstreamer-sections.txt:
1978         * docs/gst/gstreamer.types:
1979         * docs/gst/gstreamer.types.in:
1980         * gst/Makefile.am:
1981         * gst/gst.c:
1982         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1983         * gst/gstconfig.h.in:
1984         * gst/gstelement.c: (gst_element_get_index):
1985         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1986         (gst_registry_binary_load_feature),
1987         (gst_registry_binary_read_cache):
1988         * gst/gstregistryxml.c: (load_feature),
1989         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1990         * plugins/Makefile.am:
1991         * tools/gst-indent:
1992         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1993         (print_plugin_features), (print_element_features):
1994         * tools/gst-xmlinspect.c: (print_event_masks),
1995         (print_element_info):
1996         * win32/common/gstconfig.h:
1997         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1998
1999         Disabling the indexers and URI handler code will only reduce the
2000         required amount of memory by a very small amount but on the other hand
2001         requires much more maintaince work. Apart from that many places of
2002         code are broken when disabling them.
2003
2004         Disabling the enum types doesn't reduce the required amount of memory
2005         by more than a few bytes and makes it hard to fix bugs like #539772,
2006         i.e. use the enums as GObject properties.
2007
2008 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
2009
2010         * docs/design/part-TODO.txt:
2011         Add some thoughts and problems with upstream renegotiation.
2012
2013 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
2014
2015         * gst/gstpad.c: (gst_pad_acceptcaps_default),
2016         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
2017         Remove silly redundant debug.
2018         Add some more debug info.
2019         Clarify the docs regarding new caps received from pad_alloc.
2020
2021 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
2022
2023         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
2024         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
2025         Make setting the caps more threadsafe.
2026
2027 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
2028
2029         * docs/design/part-element-transform.txt:
2030         Update docs.
2031
2032 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
2033
2034         * plugins/elements/gstqueue.c: (gst_queue_init),
2035         (gst_queue_acceptcaps):
2036         Add and use a custom acceptcaps function instead of falling back to the
2037         potentially less optimized default implementation.
2038
2039 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
2040
2041         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2042           Only sanity-check the buffer size if requested_caps == buffer_caps
2043           (ie. don't take pad caps into account, they're not relevant here)
2044
2045 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
2046
2047         * plugins/elements/gsttee.c:
2048         * plugins/elements/gsttee.h:
2049           Reverting as not everything is clear yet. Needs some general design
2050           work.
2051
2052 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
2053
2054         * ChangeLog:
2055           ChangeLog surgery for tee commit.
2056
2057 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
2058
2059         * docs/gst/gstreamer-sections.txt:
2060           Cleanup section-file.
2061
2062 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
2063
2064         * plugins/elements/gsttee.c:
2065         * plugins/elements/gsttee.h:
2066           Relay tag events in tee. Fixes parts of #474016.
2067           Downgrades 3 reoccurring debugs to log.
2068
2069 2008-07-28  Michael Smith <msmith@songbirdnest.com>
2070
2071         * configure.ac:
2072         * libs/gst/Makefile.am:
2073           Build the net library if we have winsock2.
2074
2075 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
2076
2077         patch by: Luc Pionchon <luc.pionchon@nokia.com>
2078
2079         * docs/manual/advanced-threads.xml:
2080         * docs/manual/diagrams-pipelines.svg:
2081         * docs/manual/hello-world.png:
2082         * docs/manual/linked-elements.png:
2083         * docs/manual/mime-world.png:
2084         * docs/manual/queue.png:
2085         * docs/manual/thread-buffering.png:
2086         * docs/manual/thread-synchronizing.png:
2087           Replace one diagram with two separate ones and updates others.
2088           Fixes #542401.
2089
2090 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2091
2092         * gst/gstelement.h:
2093         Fix link in documentation.
2094
2095 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
2096
2097         * gst/gstmessage.c:
2098         Fix confusing documentation.
2099
2100 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
2101
2102         * libs/gst/base/gstbasesrc.h:
2103         revert the changes to the header file for the ABI.
2104
2105 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
2106
2107         * libs/gst/base/gstbasesrc.c:
2108         * libs/gst/base/gstbasesrc.h:
2109         Don't cache the seekable status.
2110         Fixes bug #544174
2111
2112 2008-07-24  Rene Stadler  <mail@renestadler.de>
2113
2114         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
2115         code to close the pipeline graph.  This prevents the program from
2116         printing internal data flow errors.
2117
2118 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2119
2120         * docs/manual/basics-bus.xml:
2121         Correct typo. Fixes bug #544320.
2122
2123 2008-07-22  Michael Smith <msmith@songbirdnest.com>
2124
2125         * configure.ac:
2126           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
2127           Add check (taken from -base) for winsock, adds WIN32_LIBS
2128         * gst/Makefile.am:
2129           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
2130           winsock.
2131           Define GST_EXPORTS when building libgstreamer (only used on win32)
2132         * gst/gst_private.h:
2133         * gst/gstinfo.h:
2134           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
2135           for symbols that we need to export in both these files.
2136         * gst/gstpoll.c:
2137           Include gst_private.h higher up to avoid some compile problems on win32.
2138
2139 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2140
2141         * gst/gstvalue.c:
2142         Fix typos.
2143
2144 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2145
2146         * gst/gstcaps.c:
2147         Previous commit was wrong NULL caps does not exist
2148         and indicate an error, so also add a FIXME to
2149         gst_caps_is_equal where NULL caps are accepted.
2150
2151 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2152
2153         * gst/gstcaps.c:
2154         Allow passing of NULL to gst_caps_union
2155
2156 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2157
2158         * gst/gstghostpad.c:
2159         Add in doc that gst_ghost_pad_set_target can accept
2160         NULL to clear target
2161
2162 2008-07-15  Michael Smith <msmith@songbirdnest.com>
2163
2164         * gst/gstplugin.c:
2165         * gst/gstregistry.c:
2166           GstRegistryPool doesn't exist; don't refer to it in docs.
2167           Don't refer to functions that don't exist in docs, it's
2168           unhelpful.
2169
2170 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2171
2172         * gst/gst.c:
2173         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
2174
2175 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2176
2177         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
2178
2179         * docs/pwg/building-testapp.xml:
2180         Don't use an undeclared variable in the example program.
2181         Fixes bug #542573.
2182
2183 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
2184
2185         * gst/gstdebugutils.c:
2186           Squeeze ghost-pad links and remove <> from classname labels to save
2187           more horizontal space.
2188
2189 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
2190
2191         * gst/gstdebugutils.c:
2192           Give request and sometimes pads a different shpe style. Condense the
2193           graphs a little more.
2194
2195 2008-07-09  Michael Smith <msmith@songbirdnest.com>
2196
2197         * configure.ac:
2198           Don't require flex and bison if the parser is disabled.
2199
2200 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2201
2202         * libs/gst/controller/gstinterpolationcontrolsource.c:
2203         (_list_find_sorted_custom):
2204         Don't use declarations after statements.
2205
2206 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2207
2208         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2209         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2210         of the the child-added / -removed signals as GstChildProxy
2211         only supports GstObjects.
2212
2213 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
2214
2215         * gst/gstdebugutils.c:
2216         Fix memleak
2217
2218 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2219
2220         Patch by: Alessandro Decina <alessandro at nnva dot org>
2221
2222         * gst/gstpoll.c:
2223         Fix "ignored return value" compiler warning with newer glibc.
2224
2225 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2226
2227         * gst/gstchildproxy.c:
2228         Fix copy&paste error in gst_child_proxy_removed() documentation.
2229
2230 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
2231
2232         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2233           Print error debug message if plugin description fields that should
2234           be set are NULL.
2235
2236         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2237           Don't crash if the string to serialise is NULL (it really should
2238           not be, but apparently this used to work with the xml registry ...).
2239
2240 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
2241
2242         * tools/gst-plot-timeline.py:
2243         Fix parsing of log messages
2244
2245 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
2246
2247         * win32/common/libgstbase.def::
2248           Sort alphabetically so make check-exports doesn't barf.
2249
2250 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
2251
2252         * gst/gstevent.c:
2253           Use gst_format_get_name() to improve debug output.
2254
2255         * gst/gstpreset.c:
2256           Remove #ifdef'ed code. Add TODO comment.
2257
2258         * gst/gstsegment.c:
2259           Add debug output to ease spotting format != segment.format assertions.
2260
2261 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2262
2263         * tests/check/libs/gdp.c: (gst_dp_suite):
2264         Also enable the GDP unit test again on PPC now that the bug
2265         is fixed.
2266
2267 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2268
2269         * libs/gst/dataprotocol/dataprotocol.c:
2270         Don't write to the same region of memory as a uint64 and uint16
2271         as this breaks strict aliasing rules and apparantly breaks on PPC
2272         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2273
2274 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2275
2276         * libs/gst/controller/gstinterpolationcontrolsource.c:
2277           Optimize list handling. Use own find function. Exploit that fact that
2278           the list is sorted. Also pass back the node before, so that we can
2279           insert quickly. Have a fast path for append.
2280
2281 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2282
2283         * docs/design/draft-framestep.txt:
2284         * docs/design/part-negotiation.txt:
2285           Fix two typos.
2286
2287 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2288
2289         * configure.ac:
2290           Show configuration sumary after configure run. Based on patch by
2291           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2292
2293 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2294
2295         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2296
2297         * docs/manual/advanced-autoplugging.xml:
2298         * docs/manual/advanced-threads.xml:
2299         * docs/manual/basics-bins.xml:
2300         * docs/manual/basics-elements.xml:
2301         * docs/manual/basics-helloworld.xml:
2302         * docs/manual/basics-pads.xml:
2303           Add scale factor for pdf output.
2304
2305         * docs/manual/intro-basics.xml:
2306           Switched sections "pads" and "bins" and added a pipeline diagram.
2307
2308         * docs/manual/intro-gstreamer.xml:
2309           Added more info on gstreamer.
2310
2311         * docs/manual/intro-motivation.xml:
2312           Commented out the whole section "current problem", which sounds
2313           historical and somehow osolete; it could be turned in a positive
2314           way and reused to improve the design principles.
2315
2316         * docs/manual/intro-preface.xml:
2317           - Update URLs to library.gnome.org. 
2318           - Do not mention GTK+ in preliminary reading (irrelevant). 
2319           - Mention Plugin Writer's Manual and further reading only in the
2320             previous section.
2321           - Added a list of most relevant GObject/glib topics.
2322
2323         * docs/manual/Makefile.am:
2324         * docs/manual/bin-element-ghost.fig:
2325         * docs/manual/bin-element-ghost.png:
2326         * docs/manual/bin-element-noghost.fig:
2327         * docs/manual/bin-element-noghost.png:
2328         * docs/manual/bin-element.fig:
2329         * docs/manual/bin-element.png:
2330         * docs/manual/filter-element-multi.fig:
2331         * docs/manual/filter-element-multi.png:
2332         * docs/manual/filter-element.fig:
2333         * docs/manual/filter-element.png:
2334         * docs/manual/gstreamer-overview.png:
2335         * docs/manual/hello-world.fig:
2336         * docs/manual/hello-world.png:
2337         * docs/manual/linked-elements.fig:
2338         * docs/manual/linked-elements.png:
2339         * docs/manual/mime-world.fig:
2340         * docs/manual/mime-world.png:
2341         * docs/manual/queue.fig:
2342         * docs/manual/queue.png:
2343         * docs/manual/simple-player.png:
2344         * docs/manual/sink-element.fig:
2345         * docs/manual/sink-element.png:
2346         * docs/manual/src-element.fig:
2347         * docs/manual/src-element.png:
2348         * docs/manual/diagrams-general.svg:
2349         * docs/manual/diagrams-pipelines.svg:
2350           Removed .fig, added .png counterpart.
2351           
2352           Fixes: #539137
2353
2354 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
2355
2356         * plugins/elements/gstmultiqueue.c:
2357         * plugins/elements/gstmultiqueue.h:
2358         revert extra-size-buffers stuff, caused some race conditions
2359         and extra-size-buffers is not used anymore. Docs needs some updates
2360
2361 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2362
2363         * win32/common/config.h:
2364         * win32/common/gstenumtypes.c:
2365         * win32/common/gstenumtypes.h:
2366         * win32/common/gstversion.h:
2367           Update win32 files.
2368
2369 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2370
2371         * gst/gstdebugutils.h: (GstDebugGraphDetails),
2372           (GST_DEBUG_BIN_TO_DOT_FILE):
2373           Add missing Since' markers to gtk-doc blurbs.
2374
2375 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
2376
2377         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2378         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2379         (set_caps_1), (set_caps_ct1), (transform_ct1),
2380         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2381         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2382         (transform_size_ct2), (buffer_alloc_ct2):
2383         Add some more tests with switching caps in buffer_alloc.
2384
2385 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2386
2387         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2388         (gst_test_trans_class_init), (result_sink_chain),
2389         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2390         (gst_test_trans_push), (gst_test_trans_pop):
2391         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2392         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2393         (set_caps_1), (set_caps_ct1), (transform_ct1),
2394         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2395         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2396         (transform_size_ct2), (buffer_alloc_ct2),
2397         (gst_basetransform_suite):
2398         More tests, prepare for tests with switching caps in buffer_alloc.
2399
2400 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2401
2402         * plugins/elements/gstmultiqueue.c:
2403         * plugins/elements/gstmultiqueue.h:
2404         Fix dead-lock in underrun_cb
2405
2406 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2407
2408         * docs/design/part-states.txt:
2409         Fix device open/close docs.
2410
2411 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2412
2413         * ChangeLog:
2414           Mention bugnumber for last commit.
2415
2416 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2417
2418         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2419
2420         * docs/manual/manual.xml:
2421         - Reorganised the previous "introduction" bundle into Foreword,
2422         Introduction, and About GStreamer. The two first are <preface>
2423         docbook elements. The later is the first part of the book.
2424         - added intro-gstreamer.xml (content partially from
2425         intro-preface.xml)
2426         - moved appendix-win32.xml into appendix-integration.xml
2427
2428         * docs/manual/intro-preface.xml: gstreamer section moved...
2429         * docs/manual/intro-gstreamer.xml: ...here. new file.
2430
2431         * docs/manual/appendix-win32.xml: removed file. Content moved...
2432         * docs/manual/appendix-integration.xml: ...here.
2433         
2434         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2435         * docs/manual/appendix-checklist.xml: ...here.
2436         
2437         Fixes: 538764
2438
2439 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2440
2441         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2442
2443         * docs/manual/basics-helloworld.xml:
2444         * docs/manual/hello-world.fig:
2445           - Explicitely include glib.h.
2446           - Do not use global variables.
2447           - Use g_printerr() instead of g_print().
2448           - Minor formating/renaming to increase readibility.
2449           - Renamed new_pad() to on_pad_added()
2450           - Improved explenatory comments.
2451           - renamed ogg parser to ogg demuxer
2452           - Use "autoaudiosink" instead of "alsasink".
2453           Fixes: #538619
2454
2455 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2456
2457         * ChangeLog:
2458           Remove cvs conflict marker.
2459
2460 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2461
2462         * docs/README:
2463           Document that for plgin-docs we extraxt he short-desc from the element
2464           details.
2465
2466         * docs/design/part-states.txt:
2467           Tell that devices should be closed in PAUSED -> READY.
2468
2469         * docs/manual/README:
2470           Document how tests in the manual are handled.
2471
2472         * docs/manuals.mak:
2473           Typo in comment.
2474
2475 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2476
2477         * gst/gstbin.c: (bin_query_latency_fold):
2478         Only care about latency min and max when the sink is actually a live
2479         sink.
2480
2481 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2482
2483         * docs/design/part-block.txt:
2484         Fix typo.
2485
2486         * docs/design/part-element-transform.txt:
2487         Add notes about why transform needs to know input/output sizes.
2488         Add some issues that need to be solved.
2489         Add some more use cases.
2490
2491         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2492         (gst_test_trans_class_init), (result_sink_chain),
2493         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2494         (gst_test_trans_push), (gst_test_trans_pop):
2495         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2496         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2497         (set_caps_1), (set_caps_ct1), (transform_ct1),
2498         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2499         (gst_basetransform_suite):
2500         Add suport for different pad templates and buffer-alloc.
2501         Add more checks for caps and buffer-alloc.
2502         Add checks for proxy buffer alloc.
2503         Add unit test for copy transform.
2504
2505 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2506
2507         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2508
2509         * docs/manual/appendix-integration.xml:
2510         * docs/manual/appendix-licensing.xml:
2511         * docs/manual/basics-elements.xml:
2512         * docs/manual/basics-helloworld.xml:
2513         * docs/manual/basics-pads.xml:
2514         * docs/manual/highlevel-components.xml:
2515         * docs/manual/highlevel-xml.xml:
2516         * docs/manual/intro-basics.xml:
2517         * docs/manual/intro-preface.xml:
2518           Typo and formatting fixes (#538594).
2519
2520 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2521
2522         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2523         Fix some memory leaks and uses of object instances that we don't
2524         actually own.
2525
2526 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2527
2528         * plugins/elements/gstmultiqueue.c:
2529         Add functionality to extra-size-buffers property.
2530
2531 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2532
2533         * plugins/elements/gstmultiqueue.c:
2534         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2535         activate the pads if they are added in STATE_NULL.
2536
2537 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2538
2539         * docs/libs/gstreamer-libs-sections.txt:
2540         Add new API to doc
2541         * libs/gst/check/gstcheck.c:
2542         * libs/gst/check/gstcheck.h:
2543         API: gst_check_teardown_pad_by_name
2544
2545 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2546
2547         * libs/gst/check/gstcheck.c:
2548         * libs/gst/check/gstcheck.h:
2549         Also setup request pads and allow setup pads by name (#537812)
2550         API: gst_check_setup_src_pad_by_name
2551         API: gst_check_setup_sink_pad_by_name
2552
2553 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2554
2555         * tests/check/gst/gstbuffer.c:
2556         * tests/check/pipelines/parse-launch.c:
2557           Use HAVE_VALGRIND_H some more.
2558
2559 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2560
2561         * scripts/cvs-update.sh:
2562           Pass arguments to make.
2563           Run autoregen.sh if Makefile is not there.
2564
2565 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2566
2567         * configure.ac:
2568         * gst/gstinfo.c:
2569           Don't assume that <valgrind/valgrind.h> exists just because
2570           the binary is there.
2571
2572 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2573
2574         * tests/check/Makefile.am:
2575         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2576         (gst_test_trans_class_init), (gst_test_trans_init),
2577         (gst_test_trans_set_data), (result_sink_chain),
2578         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2579         (gst_test_trans_pop):
2580         * tests/check/libs/transform1.c: (GST_START_TEST),
2581         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2582         Add some test basetransform element and the beginnings of various
2583         unit tests for it.
2584
2585 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2586
2587         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2588         Increase code readability.
2589         Don't try to compare buffer offsets when ther are invalid.
2590
2591 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2592
2593         * docs/design/Makefile.am:
2594           Dist some more design docs.
2595
2596         * docs/random/moving-plugins:
2597           Small addition: good plugins mustn't have functional code
2598           within assertion macros.
2599
2600 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2601
2602         * docs/design/draft-framestep.txt:
2603         Some ideas about a framestep API
2604
2605         * docs/design/part-element-transform.txt:
2606         Start design and use cases for basetransform in order to get it
2607         fixed soon.
2608
2609 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2610
2611         * gst/gsttaglist.h:
2612           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2613           be in UTF-8 encoding.
2614
2615 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2616
2617         * gst/gstbus.c:
2618           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2619
2620 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2621
2622         * plugins/elements/gstcapsfilter.c:
2623         * plugins/elements/gstfakesink.c:
2624         * plugins/elements/gstfakesrc.c:
2625         * plugins/elements/gstfdsink.c:
2626         * plugins/elements/gstfdsrc.c:
2627         * plugins/elements/gstfilesink.c:
2628         * plugins/elements/gstfilesrc.c:
2629         * plugins/elements/gstidentity.c:
2630         * plugins/elements/gstmultiqueue.c:
2631         * plugins/elements/gstqueue.c:
2632         * plugins/elements/gsttee.c:
2633         * plugins/elements/gsttypefindelement.c:
2634           Remove short_description. Add basic docs for gsttypefindelement.
2635           Simplify markup for fakesrc/fdsrc.
2636
2637 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2638
2639         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2640         Added Since doc.
2641
2642 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2643
2644         Patch by: Joel Larsson <tilljoel at gmail dot com>
2645
2646         * docs/plugins/gstreamer-plugins.args:
2647         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2648         (gst_fd_src_init), (gst_fd_src_update_fd),
2649         (gst_fd_src_set_property), (gst_fd_src_get_property),
2650         (gst_fd_src_create):
2651         * plugins/elements/gstfdsrc.h:
2652         Add timeout property like udpsrc. Fixes #538628.
2653         Add some more docs and example pipelines.
2654
2655 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2656
2657         * docs/libs/gstreamer-libs-sections.txt:
2658         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2659         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2660         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2661         (gst_base_sink_do_sync):
2662         * libs/gst/base/gstbasesink.h:
2663         * win32/common/libgstbase.def:
2664         Add method to allow sinks to specify additional delay between the sync
2665         times and the actual rendering of the data.
2666         API: gst_base_sink_set_render_delay()
2667         API: gst_base_sink_get_render_delay()
2668
2669 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2670
2671         * configure.ac:
2672         Bump version number back to dev -> 0.10.20.1
2673
2674 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2675
2676         * docs/gst/gstreamer-sections.txt:
2677         * gst/gsttaglist.c: (_gst_tag_initialize):
2678         * gst/gsttaglist.h:
2679         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2680         Fixes bug #538568.
2681
2682 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2683
2684         * libs/gst/controller/gstcontroller.c:
2685           Revert one change, that make ret value possible uninitialized.
2686
2687 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2688
2689         * libs/gst/controller/gstcontroller.c:
2690           Use freeze/thaw notify to sync notify emission a bit (its also more
2691           efficient). Move debug output to LOG (is called a lot in a loop).
2692           Always unset g_values if the have been initialized.
2693
2694 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2695
2696         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2697         (gst_base_sink_wait_eos), (gst_base_sink_event):
2698         If we have not seen a buffer before EOS, use the segment values to
2699         report the current position instead of invalid positions.
2700
2701 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2702
2703         * docs/plugins/tmpl/.cvsignore:
2704         * tests/check/gst/.cvsignore:
2705           Ignore more.
2706
2707 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2708
2709         * libs/gst/controller/gstinterpolation.c:
2710         * libs/gst/controller/gstinterpolationcontrolsource.c:
2711         * tests/check/libs/controller.c:
2712           Rewrite handling of default values. Fix overflow with unsigned types
2713           in linear interpolation. Remove now obsolete _first_value() function.
2714           Add more tests. Fixes #538201.
2715
2716 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2717
2718         * libs/gst/base/gstbasetransform.c:
2719         (gst_base_transform_class_init), (gst_base_transform_init),
2720         (gst_base_transform_transform_caps),
2721         (gst_base_transform_prepare_output_buffer):
2722         Add debug info.
2723         When a buffer is writable, its metadata is also writable so we don't
2724         need to subbuffer (which then makes the buffer not-writable anymore).
2725
2726 === release 0.10.20 ===
2727
2728 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2729
2730         * configure.ac:
2731           releasing 0.10.20, "You Crazy Diamond"
2732
2733 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2734
2735         * configure.ac:
2736         0.10.19.3 pre-release
2737
2738 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2739
2740         * configure.ac:
2741         * gst/gstpreset.c:
2742         Rename DATADIR to GST_DATADIR to avoid build problems
2743         on win32. Patch By: David Schleef <ds@schleef.org>
2744         Fixes: #536857
2745
2746 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2747
2748         * configure.ac:
2749         Explicitely link with -ldl if dladdr() is found there. Before it was
2750         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2751         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2752
2753 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2754
2755         * gst/gsterror.c: (_gst_stream_errors_init):
2756           Fix typo (spotted by Fabricio Godoy, #536723).
2757
2758 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2759
2760         * configure.ac:
2761         0.10.19.2 pre-release
2762
2763 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2764
2765         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2766         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2767         Add some debug.
2768         Make sure we don't generate invalid QoS messages.
2769
2770 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2771
2772         * gst/gstevent.c: (gst_event_new_qos):
2773         Add some assert and docs for invalid input to the qos function.
2774
2775 2008-05-30  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):
2779         The reported position must always be smaller than the last seen
2780         timestamps (or timestamp + duration for reverse).
2781
2782 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2783
2784         Patch by: Rob Bradford <rob at robster dot org dot uk>
2785
2786         * gst/gstregistry.c: (gst_registry_scan_path_level):
2787         Don't recurse into .debug directories as some distros install
2788         the debugging symbols next to the plugins in .debug directories
2789         and dlopen() crashes on them sometimes. Fixes bug #508070.
2790
2791         Add FIXME for 0.11 to not recurse into directories at all because
2792         it's very inconsistent to the behaviour of other PATH environment
2793         variables.
2794
2795 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2796
2797         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2798         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2799         Fix position query range checks in reverse playback.
2800
2801 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2802
2803         * gst/gstelement.c:
2804         * gst/gstelement.h:
2805         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2806         clear of the reference to the resulting pad must be released later
2807         or not, resulting in possible leaks. Fixes bug #533865.
2808
2809 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2810
2811         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2812
2813         * gst/gstelementfactory.c:
2814         Small doc fix. Fixes #535285.
2815
2816 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2817
2818         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2819
2820         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2821         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2822         (gst_base_src_loop), (gst_base_src_set_flushing),
2823         (gst_base_src_change_state):
2824         Make sending an EOS event to the basesrc non-blocking even if the
2825         implementation does blocking waits in the create function. This is done
2826         by unlocking the create function when EOS is sent.
2827         Fixes #535218.
2828
2829 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2830
2831         * tools/gst-inspect.c: (print_element_properties_info):
2832         If possible print the element type of GValueArray properties.
2833
2834 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2835
2836         * gst/gstiterator.c:
2837         Remove an unused field from the private GstListIterator struct.
2838
2839 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2840
2841         * libs/gst/controller/gstcontroller.c:
2842           Add parameter guards.
2843
2844 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2845
2846         * tests/check/gst/gstpipeline.c:
2847           Revert test change and add comment why it should not work.
2848
2849 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2850
2851         * tests/check/gst/gstpipeline.c:
2852           Extending the test a little to verify that we also get the NULL state-
2853           change message.
2854
2855 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2856
2857         * gst/gstpreset.c: (gst_preset_default_get_meta),
2858           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2859           (gst_preset_load_preset), (gst_preset_save_preset),
2860           (gst_preset_rename_preset), (gst_preset_delete_preset),
2861           (gst_preset_set_meta):
2862           Add Since: markers to docs blurbs.
2863
2864         * win32/common/libgstreamer.def:
2865           Add recently-added API.
2866
2867 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2868
2869         Patch by: Stefan Kost  <ensonic@users.sf.net>
2870
2871         * configure.ac:
2872         Add DATADIR for storing presets.
2873
2874         * docs/gst/gstreamer-docs.sgml:
2875         * docs/gst/gstreamer-sections.txt:
2876         * docs/gst/gstreamer.types.in:
2877         Add GstPreset to docs.
2878
2879         * gst/Makefile.am:
2880         * gst/gst.h:
2881         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2882         (preset_open_and_parse_header), (preset_parse_version),
2883         (preset_merge), (preset_get_keyfile),
2884         (gst_preset_default_get_preset_names),
2885         (gst_preset_default_get_property_names),
2886         (gst_preset_default_load_preset),
2887         (gst_preset_default_save_presets_file),
2888         (gst_preset_default_save_preset),
2889         (gst_preset_default_rename_preset),
2890         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2891         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2892         (gst_preset_default_reset), (gst_preset_get_preset_names),
2893         (gst_preset_get_property_names), (gst_preset_load_preset),
2894         (gst_preset_save_preset), (gst_preset_rename_preset),
2895         (gst_preset_delete_preset), (gst_preset_set_meta),
2896         (gst_preset_get_meta), (gst_preset_class_init),
2897         (gst_preset_base_init), (gst_preset_get_type):
2898         * gst/gstpreset.h:
2899         Add GstPreset to core. Fixes #396779
2900
2901         * tests/check/Makefile.am:
2902         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2903         (gst_preset_test_set_property), (gst_preset_test_class_init),
2904         (gst_preset_test_base_init), (gst_preset_test_get_type),
2905         (gst_preset_test_plugin_init), (GST_START_TEST),
2906         (remove_preset_file), (test_setup), (test_teardown),
2907         (gst_preset_suite):
2908         Add GstPreset unit tests.
2909
2910 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2911
2912         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2913         The default event function on a sinkpad should return TRUE when
2914         there are no internal links but should collect the return values from
2915         the internal links otherwise.
2916
2917 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2918
2919         * plugins/elements/gsttypefindelement.c:
2920         (gst_type_find_element_src_event),
2921         (gst_type_find_element_handle_event):
2922         Use faster and safer _pad_push_event().
2923
2924 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2925
2926         * docs/gst/gstreamer-sections.txt:
2927         * gst/gstutils.c: (element_find_unlinked_pad),
2928           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2929         * gst/gstutils.h:
2930           API: add gst_bin_find_unlinked_pad()
2931           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2932
2933 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2934
2935         * gst/gstclock.c:
2936         * gst/gstclock.h:
2937         * gst/gsttask.c:
2938         * gst/gsttask.h:
2939         Fixed a bunch of typos.
2940
2941 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2942
2943         * gst/gstpad.h:
2944         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2945           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2946           (gst_parse_bin_from_description_full):
2947         * gst/gstutils.h:
2948           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2949
2950 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2951
2952         * docs/pwg/advanced-tagging.xml:
2953           Small docs update, can't be bothered to rewrite the nonsensical
2954           examples right now.
2955
2956 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2957
2958         * gst/gstevent.h:
2959           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2960
2961 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2962
2963         * gst/parse/grammar.y:
2964           Remove unneeded casts.
2965
2966 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2967
2968         * gst/parse/grammar.y:
2969         * tests/check/pipelines/parse-launch.c:
2970           Get all missing elements from a parse launch string if possible
2971           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2972
2973 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2974
2975         * tests/check/Makefile.am:
2976         * tests/check/pipelines/parse-launch.c:
2977           Add some unit tests for the new gst_parse_launch*_full() API.
2978           (Exposes a previously-existing memory leak in the error code
2979           path, so adding to VALGRIND_TO_FIX for now).
2980
2981 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2982
2983         * docs/gst/gstreamer-sections.txt:
2984         * gst/gst.c: (init_post):
2985         * gst/gst_private.h: (_GstParseContext):
2986         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2987           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2988           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2989           (gst_parse_launch_full):
2990         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2991           (GstParseFlags), (GstParseContext):
2992         * gst/gstutils.c: (gst_parse_bin_from_description),
2993           (gst_parse_bin_from_description_full):
2994         * gst/gstutils.h:
2995         * gst/parse/grammar.y:
2996         * gst/parse/types.h:
2997         * win32/common/libgstreamer.def:
2998           Add new gst_parse_*_full API (#528178):
2999           API: gst_parse_launch_full()
3000           API: gst_parse_launchv_full()
3001           API: gst_parse_bin_from_description_full()
3002           API: gst_parse_context_new()
3003           API: gst_parse_context_free()
3004           API: gst_parse_context_get_missing_elements()
3005
3006 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
3007
3008         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
3009
3010         * docs/faq/gst-uninstalled:
3011           Also support ffmpeg in gst-uninstalled.
3012
3013 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
3014
3015         * configure.ac:
3016         After discussion on IRC use the binary registry as default
3017         but allow to disable it with --disable-binary-registry.
3018
3019         * win32/common/libgstreamer.def:
3020         Add the two new symbols for the binary registry.
3021
3022 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
3023
3024         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
3025         * gst/gstutils.c: (gst_parse_bin_from_description):
3026         * gst/parse/grammar.y: (graph):
3027           More guards against bad input; typo fix; some minor clean-ups.
3028
3029 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
3030
3031         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3032
3033         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3034         If nothing else can be used, use the last buffer's start time as
3035         the segment's last stop. Fixes bug #534258.
3036
3037 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
3038
3039         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3040           Move size sanity check to the right place: downstream may return
3041           a buffer with a smaller size if the buffer caps are different than
3042           the requested ones, as may happen when doing reverse negotiation.
3043
3044 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3045
3046         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
3047         (gst_file_sink_render):
3048         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
3049         (gst_file_src_start):
3050         Small cleanups. Add note adbout g_fopen() on windows and why we don't
3051         use it yet.
3052
3053 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3054
3055         * gst/gstpad.c: (gst_pad_load_and_link):
3056         * gst/gstutils.c: (gst_element_link_pads),
3057         (gst_element_unlink_pads):
3058         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3059         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3060         (gst_check_teardown_sink_pad),
3061         (gst_check_element_push_buffer_list):
3062         * tests/check/elements/fakesink.c: (GST_START_TEST):
3063         * tests/check/elements/filesink.c:
3064         * tests/check/elements/filesrc.c: (GST_START_TEST):
3065         * tests/check/elements/multiqueue.c: (setup_multiqueue),
3066         (mq_sinkpad_to_srcpad):
3067         * tests/check/elements/tee.c: (GST_START_TEST):
3068         * tests/check/generic/sinks.c: (GST_START_TEST):
3069         * tests/check/gst/gstbin.c: (GST_START_TEST):
3070         * tests/check/gst/gstevent.c: (GST_START_TEST):
3071         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3072         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
3073         * tests/check/gst/gstquery.c: (GST_START_TEST):
3074         * tests/check/gst/gstutils.c: (GST_START_TEST):
3075         * tests/check/libs/basesrc.c: (GST_START_TEST):
3076         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
3077         (gst_parse_test_element_change_state):
3078         Don't use gst_element_get_pad().
3079
3080 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
3081
3082         * docs/Makefile.am:
3083         Fix installing plugin documentation when gtk-doc is disabled.
3084
3085 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3086
3087         * docs/manual/advanced-autoplugging.xml:
3088         * docs/manual/basics-helloworld.xml:
3089         * docs/manual/basics-pads.xml:
3090         * docs/manual/highlevel-components.xml:
3091         Avoid using a bad function in the example code.
3092
3093 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3094
3095         * gst/gstclock.c: (gst_clock_set_calibration):
3096         Fix debug of the new clock rate.
3097
3098 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3099
3100         * win32/common/libgstbase.def:
3101         Add gst_base_sink_wait_clock() to the exported symbols.
3102
3103 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
3104
3105         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
3106
3107         * libs/gst/base/gstbasetransform.c:
3108         (gst_base_transform_sink_event):
3109         Unref events that the GstBaseTransform::event vfunc didn't want to
3110         have forwarded by the base class. Closes a leak in identity.
3111         Fixes bug #446763.
3112
3113 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3114
3115         * docs/libs/gstreamer-libs-sections.txt:
3116         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
3117         * libs/gst/base/gstbasesink.h:
3118         Expose a method that was previously used internally to synchronize
3119         against the clock because it can be useful for subclasses too.
3120         API: GstBaseSink::gst_base_sink_wait_clock()
3121
3122 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3123
3124         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3125           Add sanity check to make sure we don't get smaller buffers
3126           than requested (and fallback to normal buffer alloc if we do).
3127
3128 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3129
3130         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
3131         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
3132         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
3133         Refactor adjusting the running_time with latency and offset into a
3134         separate method.
3135         When doing clipping, we still want to use the subclass get_times method,
3136         just in case the DURATION or TIMESTAMP are not set.
3137
3138 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3139
3140         * docs/gst/gstreamer-sections.txt:
3141         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
3142         * gst/gsttypefind.h:
3143         * win32/common/libgstreamer.def:
3144           API: add gst_type_find_suggest_simple(), #533740.
3145
3146 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3147
3148         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
3149           Use right error code when typefinding fails, so we can use
3150           the default (translated) error messages.
3151
3152 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3153
3154         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3155         (gst_base_src_start):
3156         When the subclass did not set caps on outgoing buffers, configure the
3157         caps we negotiated on the source pad.
3158         When the typefind helper does not find caps, error out properly instead
3159         of doing things with NULL caps.
3160
3161 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3162
3163         * gst/gsttypefind.h:
3164           Tabs to spaces, oh yes!
3165
3166 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3167
3168         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
3169           Add David's and Benjamin's tests for array intersection to the
3170           unit test suite (#147931).
3171
3172 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3173
3174         * gst/gstevent.c:
3175           Document that gst_event_new_tag() and gst_event_new_navigation()
3176           take ownership of the taglist/structure passed to them. (#533635).
3177
3178 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
3179
3180         * docs/Makefile.am:
3181         Don't descend into the plugins dir if plugin docs building
3182         is disabled.
3183
3184         * docs/README:
3185         Add a note about the new type:GTypeName syntax for the plugin
3186         documentation .types file.
3187
3188 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3189
3190         * gst/gstmessage.c: (gst_message_new_error),
3191         (gst_message_new_warning), (gst_message_new_info):
3192         * gst/gstmessage.h:
3193         Mark the debug string parameters as const. Fixes bug #533490.
3194
3195 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
3196
3197         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3198         Sort buffer cache list by end offsets. This makes sure that we don't
3199         stop to search for a cached buffer that contains the requested data
3200         too early.
3201         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3202         more efficient. Fixes bug #459862.
3203
3204 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
3205
3206         * gst/gstinfo.c:
3207           Explain why we copy the list.
3208
3209         * gst/gstpipeline.c:
3210           Improve docs.
3211
3212         * gst/gstutils.c:
3213           Add one debug-log statement to help tracing probelms with linking pads.
3214
3215 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
3216
3217         * tests/check/gst/gstinfo.c:
3218         Add a test for removing the default log handler. Seems to fail under
3219         windows.
3220
3221 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3222
3223         * gst/gstpad.c: (gst_pad_peer_accept_caps):
3224         Release pad lock before calling out to avoid a possible deadlock.
3225
3226 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3227
3228         * gst/parse/grammar.y:
3229         Remove unneeded value unset.
3230
3231         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3232         Add unit test for de/serialization of caps.
3233
3234 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3235
3236         * plugins/elements/gstfakesink.c:
3237         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3238         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3239         (gst_fake_src_class_init):
3240         Use custom marshalers that take GstMiniObject as first parameter.
3241         Using OBJECT as parameter while a GstMiniObject is given will lead
3242         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3243
3244 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3245
3246         * plugins/elements/gsttypefindelement.c:
3247         (gst_type_find_element_handle_event),
3248         (gst_type_find_element_send_cached_events),
3249         (gst_type_find_element_change_state):
3250         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3251         immediately.
3252
3253 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3254
3255         * plugins/elements/gsttypefindelement.c:
3256         (gst_type_find_handle_src_query), (stop_typefinding),
3257         (gst_type_find_element_handle_event),
3258         (gst_type_find_element_send_cached_events),
3259         (gst_type_find_element_change_state):
3260         Forward FLUSH_START events immediately and clean up instead of
3261         caching them.
3262
3263 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3264
3265         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3266
3267         * libs/gst/base/gstbasetransform.c:
3268         (gst_base_transform_buffer_alloc):
3269         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3270         fall back to default negotiation in the chain function if the caps
3271         are different from what was requested. Fixes bug #526768.
3272
3273 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3274
3275         * gst/gstsegment.c:
3276         * tests/check/gst/gstsegment.c:
3277           No, let's not use g_slice_{dup|copy} here, since they only exist
3278           since GLib 2.14 and we still depend only on >= 2.12. Also add
3279           unit test for gst_segment_copy().
3280
3281 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3282
3283         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3284           Try to fix 'dereferencing type-punned pointer will break strict
3285           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3286           changed the default GType typedef from gulong to gsize at some point,
3287           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3288           g_once_* functions all take a gsize * though, so work around the type
3289           mismatch for C++ by doing everything in gsize and casting to GType
3290           later.
3291
3292 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
3293
3294         * plugins/elements/gstmultiqueue.c:
3295         Add documentation for the signals to push our core plugin docs
3296         coverage back up to 100%.
3297
3298 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3299
3300         * gst/gstinfo.h (GST_FUNCTION):
3301           Reverted GST_FUNCTION to the old version as we don't want the
3302           full signature in C++ code. Also added support for MSVC.
3303
3304 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3305
3306         * gst/gstutils.h:
3307         Intern the type name string, similar to what G_DEFINE_TYPE does.
3308
3309 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3310
3311         * gst/gstutils.h:
3312         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3313
3314 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3315
3316         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3317
3318         * libs/gst/base/gstbasetransform.c:
3319         (gst_base_transform_buffer_alloc):
3320         Don't passthrough buffer allocation too easily if the caps change.
3321         This breaks when working in passthrough mode and upstream changes
3322         it's caps. Fixes bug #526768.
3323
3324 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3325
3326         * gst/gstinfo.c (gst_debug_log_valist):
3327           Improved the __FILE__ part of debug output for MSVC.
3328
3329 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3330
3331         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3332           Declaration after statement fix for compilers like MSVC.
3333
3334 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3335
3336         * win32/common/config.h.in:
3337           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3338           use the real thing than having "???" unconditionally.
3339
3340 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3341
3342         * gst/gstinfo.h (GST_FUNCTION):
3343           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3344
3345 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3346
3347         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3348         Small code cleanup.
3349
3350         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3351         (gst_base_sink_set_flushing):
3352         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3353         Fix some comments.
3354
3355 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3356
3357         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3358         (gst_fake_src_init), (gst_fake_src_set_property),
3359         (gst_fake_src_get_property), (gst_fake_src_start):
3360         * plugins/elements/gstfakesrc.h:
3361         Added format property to control the format of the newsegment events.
3362         API: GstFakeSrc:format
3363
3364 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3365
3366         * win32/common/libgstreamer.def:
3367         Add gst_pad_has_name() to the exported symbols.
3368
3369 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3370
3371         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3372         * libs/gst/base/gstbasetransform.c:
3373         (gst_base_transform_prepare_output_buffer):
3374         Don't allow negative sizes when allocating new buffers.
3375         Fixes bug #461253.
3376
3377 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3378
3379         Patch by: Sjoerd Simons <sjoerd at luon net>
3380
3381         * gst/gstbus.c: (gst_bus_source_dispatch):
3382           Don't print a warning if the queue is empty when we try to pop
3383           here. That could happen if another thread or callback set the
3384           bus to flushing between the source's check/prepare and the
3385           dispatch being called (#531538).
3386
3387 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3388
3389         * plugins/elements/gstmultiqueue.c:
3390           Small docs fix.
3391         
3392 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
3393
3394         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3395         Add unit test for deserializing uint64s and check some really large
3396         numbers in the int64 test.
3397
3398 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3399
3400         * tools/gst-inspect.c: (n_print), (print_hierarchy),
3401         (print_interfaces), (print_element_properties_info),
3402         (print_signal_info):
3403         Use "%s" as format string instead of printing strings directly.
3404
3405 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3406
3407         * gst/gstclock.c: (gst_clock_set_calibration):
3408         Make some checks actually useful.
3409
3410         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3411         Remove some unused code. Unsigned integers tend to be >= 0.
3412
3413 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3414
3415         * gst/gstminiobject.c: (gst_value_get_mini_object):
3416           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3417           function was not in the unscheduled 0.10.19 release.
3418
3419 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3420
3421         * gst/gstregistry.c: (gst_registry_scan_path_level):
3422           Only print one log message per non-plugin file.
3423
3424 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3425
3426         * gst/gstinfo.c: (gst_debug_log_default):
3427           Fix alignment of debug log columns on 64-bit.
3428
3429 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3430
3431         * docs/libs/Makefile.am:
3432         * docs/libs/gstreamer-libs-sections.txt:
3433           Ignore private controller headers for docs.
3434
3435 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3436
3437         * libs/gst/controller/gstcontrollerprivate.h:
3438         * libs/gst/controller/gsthelper.c:
3439         * libs/gst/controller/gstinterpolation.c:
3440         * libs/gst/controller/gstinterpolationcontrolsource.c:
3441         (gst_interpolation_control_source_set_interpolation_mode):
3442         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3443         * libs/gst/controller/lib.c:
3444         Move some private declarations into private headers.
3445
3446 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3447
3448         * gst/gstdebugutils.c: (debug_dump_element_pad):
3449         Remove some code that is unused after Stefan's refactoring and uses
3450         uninitialized variables now, resulting in a compiler warning.
3451
3452 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3453
3454         * gst/gstregistry.c: (gst_registry_scan_path_level):
3455           Run g_str_has_suffix() only on the file name, not the
3456           entire file path.
3457
3458 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3459
3460         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3461           Since we're not called only from the chain function any longer,
3462           we can't assume that there's always data in the queue, so move
3463           the is_full check to the beginning of the loop (otherwise we'd
3464           hit the assert when changing the limit properties while the
3465           queue is empty or not running yet).
3466           Also, only set a discont if items were actually removed from
3467           the queue.
3468
3469         * tests/check/elements/queue.c: (test_leaky_downstream):
3470           Test case for the above.
3471
3472 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3473
3474         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3475
3476         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3477         (gst_queue_chain), (queue_capacity_change),
3478         (gst_queue_set_property):
3479         When changing thr max capacity of a leaky queue, immediatly drop buffers
3480         instead of waiting for a push on the sinkpad. Fixes #530637.
3481
3482 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3483
3484         * gst/gstdebugutils.c:
3485           Refactor code and fix handling of ghostpads and their proxypads.
3486
3487 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3488
3489         * docs/gst/gstreamer-sections.txt:
3490         * gst/gstevent.c: (gst_event_has_name):
3491         * gst/gstevent.h:
3492         * tests/check/gst/gstevent.c: (GST_START_TEST):
3493         Add method to conveniently check the name of a custom event with
3494         gst_event_has_name().
3495         Reformat the event docs so that related methods are put together instead
3496         of the default alphabetical sort.
3497         Update unit test with new method.
3498         API: GstEvent::gst_event_has_name()
3499
3500 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3501
3502         * libs/gst/check/Makefile.am:
3503           Don't add an explicit link to libgstreamer-0.10.la; it's already
3504           included in GST_OBJ_LIBS.
3505
3506 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3507
3508         * gst/gst.c:
3509         Register GstClock type from a type-safe context. Fixes bug #530317.
3510
3511 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3512
3513         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3514         * tools/gst-run.c:
3515           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3516
3517 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3518
3519         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3520         (gst_bin_dispose):
3521         Use the GLib stuff to create a private structure.
3522         Add some locking around some dispose methods to make them a little
3523         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3524
3525 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3526
3527         * libs/gst/base/gstbasesink.h:
3528         * libs/gst/base/gstbasesrc.h:
3529         * libs/gst/base/gstbasetransform.h:
3530         * libs/gst/base/gstcollectpads.h:
3531           Fix doc typos and unify caps a bit.
3532
3533 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3534
3535         * tools/gst-launch.1.in:
3536           Forgot to also add the envvar docs here.
3537
3538 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3539
3540         * gst/gst.c: (init_post), (gst_deinit):
3541         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3542           (test_concurrent_create), (gst_pipeline_suite):
3543           Ref some more classes in gst_init() to work around thread-safety
3544           issues in pre-2.16 GLibs, and add basic unit test.
3545
3546 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3547
3548         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3549         (gst_base_sink_send_event):
3550         Rearrange the latency query code. We always want to do the upstream
3551         query, even if we are not live so that the upstream elements can get the
3552         latency results too. If we fail doing the query and we are live, we
3553         return TRUE afterwards.
3554
3555 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3556
3557         patch by: Jason Zhao <e3423c@motorola.com>
3558
3559         * docs/gst/running.xml:
3560         * gst/gst.c:
3561           Enable/disable scan_and_update_registry() based on commandline switch
3562           or environment variable. Fixes #520468.
3563           
3564         * ChangeLog:
3565           Fix typo in my previous commit.
3566
3567 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3568
3569         * gst/gstregistrybinary.c:
3570           Add a warning if we hit unhandled factories when saving.
3571           More debug logging detail, but move to LOG category.
3572
3573 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3574
3575         * gst/gstregistry.c:
3576           Tell the *truth* when improving the documentation.
3577
3578 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3579
3580         * gst/gstelementfactory.c: (gst_element_factory_make):
3581         Unref the factory after it was used the last time, not before.
3582
3583         * gst/gstindexfactory.c: (gst_index_factory_make):
3584         Improve debugging a bit and don't leak a ref to the index factory with
3585         each call.
3586
3587 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3588
3589         * gst/gstregistry.c:
3590           Improve the documentation.
3591
3592 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3593
3594         * gst/gstsegment.c:
3595           The glib macro seems to be borked. Use g_slice_copy directly and cast
3596           in the hope that this fixes the warning on 64bit.
3597
3598 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3599
3600         * gst/gstsegment.c:
3601           Document the new function. Use g_slice_dup() (no need for
3602           gst_segment_init()).    
3603
3604 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3605
3606         * docs/gst/gstreamer-sections.txt:
3607           Move GParamSepc macros to standart section.
3608   
3609         * gst/gstbin.c:
3610           Dn't document _get_type - its in private section in docs anyway and
3611           this doc-blob was incomplete.
3612
3613         * gst/gstclock.h:
3614           Fix wrong symbol names in docs.
3615
3616         * gst/gstmacros.h:
3617           Add once doc sentence.
3618
3619         * tests/check/gst/.cvsignore:
3620           Ignore more.
3621
3622 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3623
3624         * docs/gst/Makefile.am:
3625           And remove those libs here.
3626
3627 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3628
3629         * docs/libs/Makefile.am:
3630           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3631
3632 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3633
3634         Patch by: Olivier Crete <tester at tester dot ca>
3635
3636         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3637         Add the min-threshold to the min latency if possible. Fixes #529148.
3638
3639 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3640
3641         * docs/gst/gstreamer.types.in:
3642           Stupid editor, I removed that line as it should go in yet.
3643
3644 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3645
3646         * docs/gst/gstreamer.types.in:
3647         * docs/libs/gstreamer-libs.types:
3648           Remove library types fro core docs and have them in libs docs.
3649           Reformat and cleanup. Add comment for miniobject types.
3650
3651 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3652
3653         * gst/gsturi.c: (gst_uri_get_protocol):
3654           Fix leak: g_strdown operates on the string in place, while
3655           g_ascii_strdown() returns a newly-allocated string.
3656
3657 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3658
3659         * tools/gst-inspect.c: (print_uri_handler_info),
3660         (print_element_info):
3661         Print the URI protocols and the URI type supported by the element.
3662
3663 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3664
3665         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3666         Use g_value_take_string() instead of the deprecated
3667         g_value_set_string_take_ownership().
3668
3669 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3670
3671         * gst/gstregistrybinary.c: (_gst_crc32):
3672         Return the old CRC instead of 0 if we give a NULL buffer
3673         or a buffer with a length of 0.
3674
3675 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3676
3677         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3678         (gst_uri_get_protocol), (gst_uri_has_protocol),
3679         (gst_uri_construct), (gst_uri_handler_set_uri):
3680         A valid URI scheme can also include '+', '-' and '.' additional
3681         to alphanumeric characters as per RFC 3986 Section 3.1.
3682
3683         Handle URI schemes case insensitive in all places and convert
3684         to lower-case when constructing an URI or setting an URI with
3685         the GstURIHandler interface. Fixes bug #528868.
3686         All elements can still assume (as before) that they will
3687         get passed URIs with a lower-case URI scheme by the GstURIHandler
3688         interface.
3689
3690 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3691
3692         * gst/gstcaps.c: (gst_static_caps_get):
3693         * gst/gstclock.c: (gst_clock_entry_new):
3694           Don't use g_atomic_set_int where it's not needed.
3695
3696 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3697
3698         * gst/gstvalue.c: (gst_value_deserialize_caps):
3699         * gst/parse/grammar.y:
3700         Fix 2 caps leaks.
3701
3702 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3703
3704         * gst/gstutils.c: (gst_atomic_int_set):
3705         Use g_atomic_int_set() here too instead of assignment +
3706         g_atomic_int_get().
3707
3708 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3709         
3710         * gst/gstutils.c:
3711         * gst/gstutils.h:
3712         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3713         now that we depend on new enough GLib.
3714
3715         * gst/gstcaps.c: (gst_static_caps_get):
3716         * gst/gstclock.c: (gst_clock_entry_new):
3717         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3718         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3719         (gst_debug_category_set_threshold):
3720         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3721         (gst_base_sink_set_qos_enabled):
3722         * libs/gst/net/gstnettimeprovider.c:
3723         (gst_net_time_provider_set_property):
3724         Use g_atomic_int_set() instead of gst_atomic_int_set().
3725
3726 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3727
3728         * gst/gstquery.c:
3729           Also use G_GINT64_CONSTANT for the queries.
3730
3731 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3732
3733         * gst/gstmessage.c:
3734           Use G_GINT64_CONSTANT in varargs function.
3735
3736 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3737
3738         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3739         Initialize the registry magic with zeroes.
3740
3741 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3742
3743         * gst/gstregistrybinary.c: (_gst_crc32),
3744         (gst_registry_binary_write),
3745         (gst_registry_binary_initialize_magic),
3746         (gst_registry_binary_write_cache),
3747         (gst_registry_binary_check_magic),
3748         (gst_registry_binary_read_cache):
3749         * gst/gstregistrybinary.h:
3750         Add crc32 checksum to the binary registry file and check this before
3751         accepting a registry file.
3752
3753         Also free the data list when writing to the registry file fails.
3754
3755 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3756
3757         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3758         (gst_registry_binary_load_feature),
3759         (gst_registry_binary_load_plugin):
3760         If an element supports the Uri interface, returns a valid pointer
3761         to the supported URI protocols but this pointer contains nothing
3762         don't try to save that as it will corrupt the registry.
3763
3764         Don't unref the plugin if we added it to the registry already but
3765         fail to load a feature as gst_registry_add_plugin() takes ownership
3766         of the plugin.
3767
3768         Improve debugging a bit.
3769
3770 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3771
3772         * gst/gsttaglist.h:
3773           Clarify some tag item docs after discussion on irc.
3774
3775 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3776
3777         * docs/gst/gstreamer-docs.sgml:
3778           Remove commented out plugins (they have their own docs). Update
3779           comments.
3780
3781 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3782
3783         * docs/gst/gstreamer-docs.sgml:
3784         * docs/gst/gstreamer-sections.txt:
3785         * gst/gstparamspecs.c:
3786         * gst/gstparamspecs.h:
3787           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3788           docs to own section.
3789
3790         * gst/gstvalue.c:
3791           This now only documents GValue.
3792           
3793         * docs/libs/gstreamer-libs-sections.txt:
3794         * libs/gst/controller/gstcontroller.h:
3795           Remove GST_PARAM_CONTROLLABLE.
3796
3797 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3798
3799         * docs/README:
3800           Correct file path. Tell about how to use -overrides.txt.
3801         * docs/design/draft-tagreading.txt:
3802           Small design update.
3803
3804 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3805
3806         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3807         (gst_registry_binary_load_plugin):
3808         Fix a typo in a debug message and revert change from yesterday as
3809         gst_registry_add_plugin() will only fail if something is really wrong
3810         already and we can't survive it anyway.
3811
3812 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3813
3814         * gst/gst.c: (init_post), (gst_deinit):
3815           Pre-register GstGError GType from a thread-safe context
3816           (fixes #527967); unref enum type classes in deinit.
3817
3818 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3819
3820         Patch by: Rene Stadler <mail at renestadler de>
3821
3822         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3823           Merging an empty list with another list in KEEP_ALL mode should
3824           yield an empty list as result and not the second list (#512578).
3825
3826         * tests/check/gst/gsttagsetter.c:
3827           Add unit test for tag merge modes and the aforementioned bug.
3828
3829 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3830
3831         Patch by: Rene Stadler <mail at renestadler de>
3832
3833         * gst/gsttaglist.h:
3834           Fix description to match the order in the table (#512577).
3835   
3836 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3837
3838         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3839
3840         * libs/gst/net/gstnettimepacket.h:
3841         * docs/libs/gstreamer-libs-sections.txt:
3842           Define socklen_t as int if it's not defined yet. Fixes compilation
3843           with MSVC6 and other versions where socklen_t is not defined in
3844           the windows headers (#518022).
3845
3846 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3847
3848         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3849         If gst_registry_add_plugin() fails our reference to the plugin is
3850         invalid so don't try to use it anymore and instead error out.
3851
3852 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3853
3854         * tools/gst-xmlinspect.c: (print_element_info), (main):
3855           De-cruft a bit. If no argument is specified, print all elements in
3856           XML syntax rather than a freestyle list of elements like gst-inspect.
3857           Also, don't print XML header chunk unless we actually have something
3858           to print (ie. don't print it before an error message); print error
3859           message to stderr not stdout. Remove support for printing plugin
3860           info (it would just output something freestyle along the lines of
3861           gst-inspect so far), which fixes #514507. Also add license header.
3862
3863 2008-04-11  Julien Moutte  <julien@fluendo.com>
3864
3865         Mac OS X love...
3866         * configure.ac: Merge platform specific defines, introduce a new
3867         define on OS X to remember that forking when updating registry is
3868         unsafe.
3869         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3870         module.
3871         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3872         is defined.
3873         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3874         condition that leads to absolutely no plugins being registered on
3875         OS X.
3876
3877 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3878
3879         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3880
3881         * gst/gstutils.c: (gst_pad_add_data_probe),
3882           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3883           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3884           (gst_pad_add_buffer_probe_full):
3885         * gst/gstutils.h:
3886         * docs/gst/gstreamer-sections.txt:
3887         * win32/common/libgstreamer.def:
3888           Add gst_pad_add_*_probe_full() functions with a notify callback that
3889           lets the caller free the data it passes to the probe functions. This
3890           is useful for bindings such as gst-python or gstreamermm (#526814).
3891           API: gst_pad_add_data_probe_full
3892           API: gst_pad_add_buffer_probe_full
3893           API: gst_pad_add_event_probe_full
3894
3895         * tests/check/gst/gstutils.c:
3896           Add minimal unit test to make sure freeing the data actually works
3897           as expected.
3898
3899         * tests/benchmarks/.cvsignore:
3900           Random cvsignore addendum.
3901
3902 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3903
3904         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3905           (GST_DEBUG_BIN_TO_DOT_FILE):
3906           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3907           to it in the docs (since these are macros the types of the arguments
3908           won't be shown in the docs otherwise).
3909
3910 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3911
3912         * gst/gstpad.c:
3913           Do not abort on out of memory for pad_alloc_buffer.
3914
3915 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3916
3917         * libs/gst/check/gstcheck.c:
3918           Remove blank line between symbol name ad parameters to fix gtkdoc
3919           warning.
3920
3921 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3922
3923         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3924
3925         * docs/gst/gstreamer-sections.txt:
3926         * gst/gstsegment.c:
3927         * gst/gstsegment.h:
3928         * win32/common/libgstreamer.def:
3929           Expose gst_segment_copy() to make things easier for the c++ bindings.
3930           Fixes #518932.
3931           API: gst_segment_copy()
3932
3933 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3934
3935         * gst/gst.c: (gst_init_get_option_group), (init_post):
3936           Fix const position; ref GType classes for enum types to work
3937           around thread-safety issues in GLib versions < 2.16.
3938
3939 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3940
3941         * docs/design/part-buffering.txt:
3942         Fix some typos and set the estimated total for push mode to -1.
3943
3944         * gst/gstquery.c: (gst_query_new_buffering):
3945         Set buffering-left to 0 as we're not buffering by default.
3946
3947         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3948         Implement BUFFERING query.
3949
3950 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3951
3952         Based on patch by: Milosz Derezynski <internalerror gmail com>
3953
3954         * gst/gsterror.c: (_gst_stream_errors_init):
3955         * gst/gsterror.h:
3956           Add two new error codes for encrypted content. Fixes #524659.
3957           API: GST_STREAM_ERROR_DECRYPT
3958           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3959
3960 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3961
3962         * gst/gstquery.h:
3963           Fix typo.
3964
3965         * win32/common/libgstreamer.def:
3966           Add new functions.
3967
3968 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3969
3970         * plugins/elements/gstidentity.c: (gst_identity_event),
3971         (gst_identity_start):
3972         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3973         event after processing some data. Fixes bug #526042.
3974
3975 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3976
3977         * docs/gst/gstreamer-sections.txt:
3978         * gst/gstquery.c: (gst_query_parse_latency),
3979         (gst_query_set_buffering_percent),
3980         (gst_query_parse_buffering_percent),
3981         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3982         * gst/gstquery.h:
3983         Rename _avail -> _range
3984         API: gst_query_set_buffering_range
3985         API: gst_query_parse_buffering_range
3986
3987 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3988
3989         * docs/design/part-buffering.txt:
3990         * gst/gstquark.c:
3991         * gst/gstquark.h:
3992         * gst/gstquery.c: (gst_query_parse_latency),
3993         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3994         (gst_query_parse_buffering_percent):
3995         * gst/gstquery.h:
3996         Add busy field and quark for the buffering query so that the app can
3997         only use the query to see if buffering is in progress.
3998
3999 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
4000
4001         * docs/gst/gstreamer-sections.txt:
4002         * gst/gstmessage.c: (gst_message_set_buffering_stats),
4003         (gst_message_parse_buffering_stats):
4004         * gst/gstmessage.h:
4005         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4006         (gst_query_parse_latency), (gst_query_new_buffering),
4007         (gst_query_set_buffering_percent),
4008         (gst_query_parse_buffering_percent),
4009         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
4010         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
4011         * gst/gstquery.h:
4012         Reorder the message docs and headers for clarity.
4013         Add aditional buffering stats API for messages.
4014         Add buffering query.
4015         Convert some leftover queries to use GstQuark.
4016         API: gst_message_set_buffering_stats
4017         API: gst_message_parse_buffering_stats
4018         API: GST_QUERY_BUFFERING
4019         API: GstBufferingMode
4020         API: gst_query_new_buffering
4021         API: gst_query_set_buffering_percent
4022         API: gst_query_parse_buffering_percent
4023         API: gst_query_set_buffering_stats
4024         API: gst_query_parse_buffering_stats
4025
4026 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
4027
4028         * gst/gstmessage.c: (gst_message_new_error),
4029         (gst_message_new_warning), (gst_message_new_info),
4030         (gst_message_new_buffering), (gst_message_new_state_changed),
4031         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
4032         (gst_message_new_new_clock), (gst_message_new_segment_start),
4033         (gst_message_new_segment_done), (gst_message_new_duration),
4034         (gst_message_new_async_start), (gst_message_parse_buffering),
4035         (gst_message_parse_state_changed),
4036         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4037         (gst_message_parse_new_clock), (gst_message_parse_error),
4038         (gst_message_parse_warning), (gst_message_parse_info),
4039         (gst_message_parse_segment_start),
4040         (gst_message_parse_segment_done), (gst_message_parse_duration),
4041         (gst_message_parse_async_start):
4042         Use GstQuark for messages.
4043
4044 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
4045
4046         * gst/gstquark.c: (_priv_gst_quarks_initialize):
4047         * gst/gstquark.h:
4048         Add some more quarks needed for messages and queries.
4049
4050 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
4051
4052         * docs/design/part-buffering.txt:
4053         Remove the "none" buffering mode, STREAM is a good default.
4054         Move estimated-time to the avail query, that's when it will be needed.
4055         Other small typo fixes and updates.
4056
4057 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
4058
4059         * gst/gstindex.c: (gst_index_resolver_get_type):
4060           Don't put descriptions into the nick field of a GEnumValue: it's not
4061           meant for that and some language bindings rely on the nick field to
4062           construct constants and the like. Fixes #526705.
4063
4064 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
4065
4066         * NEWS:
4067         * RELEASE:
4068         * gstreamer.doap:
4069           Merge other changes from 0.10.19 release branch.
4070
4071 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
4072
4073         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
4074
4075         * configure.ac:
4076         Actually build dlls when cross-compiling with mingw32.
4077         Fixes bug #526247.
4078
4079 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
4080
4081         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
4082
4083         * gst/gstpoll.c:
4084         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
4085
4086 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
4087
4088         * docs/design/draft-latency.txt:
4089         Fix typo.
4090
4091         * docs/design/part-buffering.txt:
4092         Update design docs with more buffering ideas.
4093
4094 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
4095
4096         * configure.ac:
4097           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
4098
4099 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
4100
4101         * configure.ac:
4102           Revert part that belongs to the preset patch.
4103
4104 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
4105
4106         * configure.ac:
4107           Add qoutes to the define. Fixes # 525961.
4108
4109 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
4110
4111         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
4112         (gst_file_index_load), (gst_file_index_add_id),
4113         (gst_file_index_get_assoc_entry):
4114         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
4115         (gst_mem_index_free_id), (gst_mem_index_add_id),
4116         (gst_mem_index_index_format):
4117         Use GSlice when possible.
4118
4119 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
4120
4121         * libs/gst/controller/gstinterpolationcontrolsource.c:
4122         (gst_control_point_free),
4123         (gst_interpolation_control_source_set_internal):
4124         Use GSlice for allocating the control points.
4125
4126 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
4127
4128         * plugins/elements/gsttypefindelement.c:
4129         (gst_type_find_element_class_init),
4130         (gst_type_find_element_set_property),
4131         (gst_type_find_element_get_property),
4132         (gst_type_find_element_activate):
4133         * plugins/elements/gsttypefindelement.h:
4134         Cleanup properties.
4135         Fix pad leak when peer query fails.
4136         We can still typefind when the peer returns -1.
4137         Add property to force caps and bypass typefinding. This will be used in
4138         uridecodebin.
4139         API::force-caps
4140
4141 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
4142
4143         * configure.ac:
4144         Require GLib 2.12.
4145
4146         * gst/glib-compat-private.h:
4147         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
4148         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4149         Unconditionally use GSlice for allocation.
4150
4151         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
4152         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
4153         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
4154         (gst_structure_free):
4155         Use GSlice for allocation.
4156
4157 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
4158
4159         * gst/parse/Makefile.am:
4160         * gst/parse/grammar.tab.pre.c:
4161         * gst/parse/grammar.tab.pre.h:
4162         * gst/parse/lex._gst_parse_yy.pre.c:
4163         Require a new enough flex and bison and remove the parser hacks to use
4164         a pre-regenerated version.
4165
4166 2008-04-01  Julien Moutte  <julien@fluendo.com>
4167
4168         patch by: Jason Zhao <E3423C@motorola.com>
4169
4170         * configure.ac: Add a configure switch to disable option parsing
4171         in gst_init.
4172         Fixes #522882.
4173
4174 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4175
4176         * configure.ac:
4177         * gst/gstregistry.c:
4178           MacOS has plugins under .so or under .dylib. Add detection for MacOS
4179           and handle this case.
4180
4181         * gst/gst.c:
4182           Add a comment here describing, why we stat each plugin and not try to
4183           be smart.
4184
4185 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
4186
4187         * libs/gst/base/gstbasetransform.c:
4188         (gst_base_transform_prepare_output_buffer):
4189         Also unset the GAP flag on buffers if we're working inplace but
4190         the element is not GAP-aware.
4191
4192         Mark a comment as FIXME 0.11.
4193
4194 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4195
4196         * gst/gst.c:
4197           Fix type in log message and add one to ease seeing how long registry
4198           cache verification takes.
4199
4200         * gst/gstregistry.c:
4201           Only test plugin filenames against G_MODULE_SUFFIX.
4202
4203 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4204
4205         * gst/gstdebugutils.c:
4206           Improve handling ghost/proxy pads.
4207
4208 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
4209
4210         * docs/gst/gstreamer-sections.txt:
4211         * gst/gstpad.c:
4212         * gst/gstpad.h:
4213           Expose macro to docs and fix link to it.
4214
4215 2008-03-27  Michael Smith <msmith@fluendo.com>
4216
4217         * libs/gst/dataprotocol/dataprotocol.c:
4218         (gst_dp_packet_from_event_1_0):
4219           When calculating GDP body CRC, use the correct pointer. 
4220           Fixes part of #522401.
4221
4222 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4223
4224         Patch by: Mark Nauwelaerts <manauw at skynet be>
4225
4226         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4227         (gst_identity_init), (gst_identity_prepare_output_buffer):
4228         Identity is not always a passthrough element, it can modify the buffer
4229         timestamps when it has a datarate and operates in single-segment mode.
4230         We therefore make it an in_place filter with a custom buffer prepare
4231         function that conditionally makes the input buffer metadata writable
4232         when needed.  Fixes #523985.
4233
4234 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4235
4236         Patch by: Mark Nauwelaerts <manauw at skynet be>
4237
4238         * gst/gstclock.h:
4239         * libs/gst/base/gstbasesrc.h:
4240         * libs/gst/base/gstbasetransform.c:
4241         * libs/gst/check/gstcheck.c:
4242         Small documentation fixes. Fixes #523978.
4243
4244 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4245
4246         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4247         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4248         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4249
4250 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4251
4252         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4253         (single_queue_underrun_cb):
4254         When trying to make room in the queue, bump the max allowed buffers
4255         bigger than the current amount of buffers in the queue. this fixes some
4256         nasty deadlocks in multiqueue when dynamically changing the limits of
4257         the queue.
4258
4259 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4260
4261         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
4262
4263         * gst/gstcaps.c: (gst_caps_set_simple),
4264         (gst_caps_set_simple_valist), (gst_caps_intersect):
4265         * gst/gstcaps.h:
4266         Constify the field gchar * params in set_simple and friends.
4267         Fixes #522326.
4268
4269 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4270
4271         * gst/gstvalue.c: (gst_value_transform_object_string):
4272         Transform a GstObject to a more meaningfull string that includes the
4273         object type in addition to its name.
4274
4275 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
4276
4277         * ChangeLog:
4278           ChangeLog surgery to add bugnumber to commit.
4279
4280 2008-03-23  Rene Stadler  <mail@renestadler.de>
4281
4282         * libs/gst/base/gstbasetransform.c:
4283         (gst_base_transform_set_gap_aware): Fix confusing documentation.
4284
4285 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4286
4287         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4288         Rename constant everywhere and don't forget one occurence.
4289
4290 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4291
4292         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4293         Align memory to the pointer size even if the architecture allows
4294         unaligned memory access. Unaligned memory access usually comes with
4295         performance penality.
4296
4297 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4298
4299         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4300         (gst_registry_binary_check_magic),
4301         (gst_registry_binary_load_pad_template),
4302         (gst_registry_binary_load_feature),
4303         (gst_registry_binary_load_plugin):
4304         Align memory to the pointer size instead of always 32 bit. Fixes
4305         unaligned memory accesses on ia64 and friends.
4306
4307         * gst/gstregistrybinary.h:
4308         Bump binary registry format version for this as it changes the
4309         format on those architectures that don't have unaligned access
4310         and 64 bit pointers.
4311
4312 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4313
4314         * docs/pwg/advanced-dparams.xml:
4315         * docs/pwg/building-props.xml:
4316         * docs/pwg/other-source.xml:
4317         * gst/glib-compat.h:
4318         * gst/gstbin.c: (gst_bin_class_init):
4319         * gst/gstclock.c: (gst_clock_class_init):
4320         * gst/gstindex.c: (gst_index_class_init):
4321         * gst/gstobject.c: (gst_object_class_init):
4322         * gst/gstpad.c: (gst_pad_class_init):
4323         * gst/gstpipeline.c: (gst_pipeline_class_init):
4324         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4325         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4326         * libs/gst/base/gstbasetransform.c:
4327         (gst_base_transform_class_init):
4328         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4329         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4330         (_gst_check_fault_handler_sighandler),
4331         (_gst_check_fault_handler_setup), (gst_check_init):
4332         * libs/gst/controller/gstcontroller.c:
4333         (_gst_controller_class_init):
4334         * libs/gst/controller/gstlfocontrolsource.c:
4335         (gst_lfo_control_source_class_init):
4336         * libs/gst/net/gstnetclientclock.c:
4337         (gst_net_client_clock_class_init):
4338         * libs/gst/net/gstnettimeprovider.c:
4339         (gst_net_time_provider_class_init):
4340         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4341         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4342         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4343         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4344         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4345         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4346         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4347         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4348         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4349         * plugins/elements/gstqueue.c: (gst_queue_class_init):
4350         * plugins/elements/gsttee.c: (gst_tee_class_init):
4351         * plugins/elements/gsttypefindelement.c:
4352         (gst_type_find_element_class_init):
4353         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4354         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4355         use it everywhere for GParamSpecs that use static strings (i.e. all).
4356         This gives us less memory usage, fewer allocations and thus less
4357         memory defragmentation. Fixes bug #523806.
4358
4359 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4360
4361         * gst/gstminiobject.c: (gst_value_dup_mini_object),
4362         (gst_param_spec_mini_object):
4363         * gst/gstminiobject.h:
4364         * win32/common/libgstreamer.def:
4365         * docs/gst/gstreamer-sections.txt:
4366         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4367         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4368         GstParamSpecMiniObject into a public header for this.
4369
4370         This make GstMiniObject a bit more consistent with GObject and makes
4371         it possible to extend the param specs.
4372
4373         gst_value_dup_mini_object is mainly useful for set_property methods.
4374
4375         Fixes bug #523798.
4376
4377         * tools/gst-inspect.c: (print_element_properties_info):
4378         Print something useful for GstMiniObject properties and not just
4379         "unknown type".
4380
4381 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4382
4383         * docs/gst/gstreamer-sections.txt:
4384         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4385         (gst_registry_binary_check_magic):
4386         * gst/gstregistrybinary.h:
4387         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4388         and add it to the (private part) of the docs to fix the build.
4389
4390 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4391
4392         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4393         (gst_registry_binary_check_magic),
4394         (gst_registry_binary_read_cache):
4395         * gst/gstregistrybinary.h:
4396         Don't use GST_MAJORMINOR for the binary registry version. Instead
4397         hardcode a value that must be changed whenever the format changes
4398         in an incompatible way.
4399         Also don't GST_ERROR when there is a version mismatch, just
4400         regenerate the registry silently.
4401
4402 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
4403
4404         * configure.ac:
4405         Back to development - 0.10.18.1
4406
4407 === release 0.10.18 ===
4408
4409 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
4410
4411         * configure.ac:
4412           releasing 0.10.18, "So far away"
4413
4414 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
4415
4416         * configure.ac:
4417         * win32/common/config.h:
4418         0.10.17.4 pre-release
4419
4420 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
4421
4422         Patch by: Ole André Vadla Ravnås
4423             <ole dot andre dot ravnas at tandberg dot com>
4424
4425         * docs/gst/gstreamer-sections.txt:
4426         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4427         (gst_poll_update_winsock_event_mask),
4428         (gst_poll_prepare_winsock_active_sets),
4429         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4430         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4431         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4432         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4433         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4434         * gst/gstpoll.h:
4435         * win32/common/libgstreamer.def:
4436         Add new function gst_poll_fd_ignored() for improved Windows
4437         compatibility.
4438         Various minor fixes and cleanups. See #520808.
4439
4440 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4441
4442         * gst/gstindex.c: (gst_index_entry_free):
4443         * gst/gstindex.h:
4444           Don't free key strings which we don't own. Fixes crash in
4445           gst_index_entry_free() (#522741).
4446
4447         * tests/check/Makefile.am:
4448         * tests/check/gst/.cvsignore:
4449         * tests/check/gst/gstindex.c: (test_index_entries),
4450           (gst_index_suite), (gst_index):
4451           Add unit test for the above.
4452
4453 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4454
4455         * win32/common/libgstreamer.def:
4456         Remove symbols that were removed recently. Fixes bug #521740.
4457
4458 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4459
4460         * configure.ac:
4461         * win32/common/config.h:
4462         0.10.17.3 pre-release
4463
4464 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4465
4466         Patch by: Ole André Vadla Ravnås
4467             <ole dot andre dot ravnas at tandberg dot com>
4468
4469         * docs/gst/gstreamer-sections.txt:
4470         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4471         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4472         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4473         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4474         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4475         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4476         (gst_poll_fd_can_write), (gst_poll_wait),
4477         (gst_poll_set_controllable), (gst_poll_restart),
4478         (gst_poll_set_flushing):
4479         * gst/gstpoll.h:
4480         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4481         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4482         (gst_net_time_provider_new):
4483         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4484         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4485         * tests/benchmarks/gstpollstress.c: (main):
4486         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4487         Remove GstPollMode from the API, it does not make sense to let the
4488         application control this.
4489         Add support for Win32.
4490         Fix the testsuite. Fixes #520671.
4491
4492 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4493
4494         Patch by: Ole André Vadla Ravnås
4495             <ole dot andre dot ravnas at tandberg dot com>
4496
4497         * gst/gstregistrybinary.c:
4498         Include io.h for write() and close() when building with MSVC. Fixes
4499         bug #520877.
4500
4501 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4502
4503         * configure.ac:
4504         * gst/gst_private.h:
4505         * gst/gstconfig.h.in:
4506         * gst/gstregistry.h:
4507         * gst/gstregistrybinary.c:
4508         * win32/common/gstconfig.h:
4509           Move registry backend API to private headers where we can. Add
4510           fixme-0.11 comments for the others. Add stubs for the xml backend when
4511           using the binary to ensure they functions exists (they should not be
4512           used though). Fixes #520756.
4513
4514 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4515
4516         * configure.ac:
4517         * win32/common/config.h:
4518         0.10.17.2 prelease
4519
4520 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4521
4522         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4523         (gst_registry_binary_read_cache):
4524         * gst/gstregistryxml.c: (gst_registry_save):
4525         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4526         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4527         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4528         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4529         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4530         Fixes #520152
4531
4532 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4533
4534         * gst/gstminiobject.c:
4535         Import gst_private.h before any other header that might include other
4536         glib headers. This fixes the build on windows using native compilers.
4537
4538 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4539
4540         * win32/common/gstconfig.h:
4541           Add here too, just for completeness.
4542
4543 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4544
4545         * configure.ac:
4546         * gst/gstconfig.h.in:
4547         * gst/gstregistry.h:
4548           Fix broken use of config.h-defined preprocessor directive in a public
4549           header file. Add a corresponding define to gstconfig.h, since we can't
4550           really remove those function declarations from the header file now
4551           (or can we? and why are they there in the first place?).
4552
4553 2008-03-03  Andy Wingo  <wingo@pobox.com>
4554
4555         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4556         the new warning.
4557
4558         * gst/gststructure.c (gst_structure_from_string): Warn if
4559         structure_from_string didn't consume the whole string, but the
4560         caller did not provide an end pointer.
4561
4562 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4563
4564         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4565
4566         * gst/gstregistryxml.c: (read_string), (load_feature):
4567           Strings allocated by libxml2 should be freed with xmlFree(), not
4568           with g_free(). Fixes issues on windows in certain contexts (#519698).
4569
4570 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4571
4572         * gst/gstinterface.c: (gst_element_implements_interface):
4573           Don't crash if the element supports the interface queried, but does
4574           not implement GstImplementsInterface. Fixes #519584.
4575
4576         * tests/check/Makefile.am:
4577         * tests/check/gst/.cvsignore:
4578         * tests/check/gst/gstinterface.c:
4579           Add unit test for the above.
4580
4581 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4582
4583         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4584         Small doc update.
4585
4586 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4587
4588         * gst/gstsegment.c: (gst_segment_set_seek),
4589         (gst_segment_to_stream_time):
4590         Improve some comment.
4591         Update variables where it makes more sense.
4592
4593 2008-02-29  Rene Stadler  <mail@renestadler.de>
4594
4595         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4596         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4597         URIHandlers implemented using language bindings.
4598
4599 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4600
4601         * gst/gstelementfactory.h:
4602         * tests/check/elements/fakesink.c:
4603         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4604         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4605         * tests/check/elements/filesink.c: (setup_filesink):
4606         * tests/check/elements/filesrc.c: (setup_filesrc):
4607         * tests/check/elements/identity.c: (setup_identity):
4608         * tests/check/elements/tee.c:
4609         * tests/check/generic/sinks.c:
4610         * tests/check/generic/states.c: (setup), (teardown):
4611         * tests/check/gst/gst.c:
4612         * tests/check/gst/gstabi.c:
4613         * tests/check/gst/gstbin.c:
4614         * tests/check/gst/gstbus.c: (pull_messages):
4615         * tests/check/gst/gstcaps.c:
4616         * tests/check/gst/gstelement.c:
4617         * tests/check/gst/gstevent.c:
4618         * tests/check/gst/gstghostpad.c:
4619         * tests/check/gst/gstiterator.c:
4620         * tests/check/gst/gstmessage.c:
4621         * tests/check/gst/gstminiobject.c: (my_foo_init):
4622         * tests/check/gst/gstobject.c: (thread_name_object),
4623         (gst_object_suite):
4624         * tests/check/gst/gstpad.c:
4625         * tests/check/gst/gstplugin.c:
4626         * tests/check/gst/gstpoll.c:
4627         * tests/check/gst/gstquery.c:
4628         * tests/check/gst/gstsegment.c:
4629         * tests/check/gst/gststructure.c:
4630         * tests/check/gst/gstsystemclock.c:
4631         * tests/check/gst/gsttask.c:
4632         * tests/check/gst/gstutils.c:
4633         * tests/check/gst/gstvalue.c:
4634         * tests/check/gst/struct_hppa.h:
4635         * tests/check/gst/struct_i386.h:
4636         * tests/check/gst/struct_ppc32.h:
4637         * tests/check/gst/struct_ppc64.h:
4638         * tests/check/gst/struct_x86_64.h:
4639         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4640         * tests/check/libs/basesrc.c:
4641         * tests/check/libs/controller.c: (GST_START_TEST):
4642         * tests/check/libs/gdp.c:
4643         * tests/check/libs/gstnetclientclock.c:
4644         * tests/check/libs/gstnettimeprovider.c:
4645         * tests/check/libs/libsabi.c:
4646         * tests/check/libs/struct_hppa.h:
4647         * tests/check/libs/struct_i386.h:
4648         * tests/check/libs/struct_ppc32.h:
4649         * tests/check/libs/struct_ppc64.h:
4650         * tests/check/libs/struct_x86_64.h:
4651         * tests/check/pipelines/cleanup.c:
4652         * tests/check/pipelines/simple-launch-lines.c:
4653         * tests/check/pipelines/stress.c:
4654         And correct even more valid sparse warnings.
4655
4656         * win32/common/libgstreamer.def:
4657         Add gst_poll_fd_init to the list of symbols.
4658
4659 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4660
4661         * gst/gstconfig.h.in:
4662         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4663         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4664         (gst_check_log_critical_func), (gst_check_drop_buffers),
4665         (gst_check_element_push_buffer_list):
4666         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4667         (gst_controller_get_type):
4668         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4669         (gst_object_get_controller), (gst_object_get_control_source):
4670         * libs/gst/controller/gstinterpolationcontrolsource.c:
4671         (gst_interpolation_control_source_new):
4672         * libs/gst/controller/gstlfocontrolsource.c:
4673         (gst_lfo_control_source_new):
4674         * libs/gst/dataprotocol/dataprotocol.c:
4675         (gst_dp_event_from_packet_0_2):
4676         * plugins/elements/gstfdsrc.c:
4677         * plugins/elements/gstmultiqueue.c:
4678         * plugins/elements/gsttee.c:
4679         * plugins/elements/gsttypefindelement.c:
4680         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4681         (gst_file_index_add_association):
4682         * plugins/indexers/gstmemindex.c:
4683         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4684         * tests/check/elements/queue.c: (setup_queue):
4685         * tests/check/gst/gstpipeline.c:
4686         * tests/check/libs/collectpads.c: (setup), (teardown),
4687         (gst_collect_pads_suite):
4688         * tests/examples/adapter/adapter_test.c:
4689         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4690         * tests/examples/xml/createxml.c:
4691         * tests/examples/xml/runxml.c:
4692         * tools/gst-inspect.c:
4693         * tools/gst-run.c:
4694         Correct all relevant warnings found by the sparse semantic code
4695         analyzer. This include marking several symbols static, using
4696         NULL instead of 0 for pointers, not using variable sized arrays
4697         on the stack, moving variable declarations to the beginning of
4698         a block and using "foo (void)" instead of "foo ()" for declarations.
4699
4700 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4701
4702         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4703         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4704         Don't reset GstPollFDs, this is not necessary at all.
4705
4706         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4707         (delayed_restart), (delayed_control):
4708         Use GST_POLL_FD_INIT.
4709
4710 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4711
4712         * gst/gstpoll.c: (gst_poll_fd_init):
4713         * gst/gstpoll.h:
4714         Added Since tags.
4715
4716         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4717         Use some more init macros.
4718
4719 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4720
4721         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4722         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4723         Use init macros and functions.
4724
4725 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4726
4727         * docs/gst/gstreamer-sections.txt:
4728         * gst/gstpoll.c: (gst_poll_fd_init):
4729         * gst/gstpoll.h:
4730         Add INIT macro and _init method for initializing the GstPollFD.
4731
4732 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4733
4734         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4735         (gst_fd_sink_update_fd):
4736         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4737         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4738         (delayed_restart), (delayed_control):
4739         Initialize some uninitialized variables as spotted by valgrind.
4740
4741 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4742
4743         * tests/benchmarks/Makefile.am:
4744         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4745         (main):
4746         Add poll stress test.
4747
4748 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4749
4750         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4751
4752         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4753         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4754         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4755         * plugins/elements/gstfdsink.h:
4756         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4757         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4758         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4759         (gst_fd_src_uri_set_uri):
4760         * plugins/elements/gstfdsrc.h:
4761         Port to GstPoll. See #505417.
4762
4763 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4764
4765         * win32/common/libgstreamer.def:
4766         Add new gst_poll_ symbols to win32 defs.
4767
4768 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4769
4770         * docs/libs/gstreamer-libs-sections.txt:
4771         * libs/gst/net/gstnetclientclock.c:
4772         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4773         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4774         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4775         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4776         * libs/gst/net/gstnetclientclock.h:
4777         * libs/gst/net/gstnettimeprovider.c:
4778         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4779         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4780         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4781         (gst_net_time_provider_new):
4782         * libs/gst/net/gstnettimeprovider.h:
4783         Use a private stuct to not break ABI.
4784
4785 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4786
4787         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4788
4789         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4790         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4791         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4792         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4793         * libs/gst/net/gstnetclientclock.h:
4794         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4795         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4796         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4797         (gst_net_time_provider_new):
4798         * libs/gst/net/gstnettimeprovider.h:
4799         Massive code removal and cleanups because of GstPoll.
4800         Fixes #505417.
4801
4802 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4803
4804         * configure.ac:
4805         Add checks for poll, ppoll and pselect.
4806
4807         * docs/gst/gstreamer-docs.sgml:
4808         * docs/gst/gstreamer-sections.txt:
4809         Add docs for GstPoll.
4810
4811         * gst/Makefile.am:
4812         * gst/gst.h:
4813         * gst/gstpoll.c: (find_index), (selectable_fds),
4814         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4815         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4816         (gst_poll_set_mode), (gst_poll_get_mode),
4817         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4818         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4819         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4820         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4821         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4822         (gst_poll_fd_can_write), (gst_poll_wait),
4823         (gst_poll_set_controllable), (gst_poll_restart),
4824         (gst_poll_set_flushing):
4825         * gst/gstpoll.h:
4826         Add generic poll abstraction. We ideally don't want to have this in core
4827         here but in glib intead...
4828         This code will be used in various network elements and ultimately for
4829         the nanosecond precision monotonic clock (that's why it's here in core).
4830         It'll allow us to implement cancelable socket operations for windows too.
4831
4832         * tests/check/Makefile.am:
4833         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4834         (delayed_stop), (delayed_restart), (delayed_flush),
4835         (delayed_control), (gst_poll_suite):
4836         Add GstPoll unit test.
4837
4838 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4839
4840         * gst/gstfilter.c:
4841           Improve documentation of gst_filter_run(). Fixes #518627.
4842
4843 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4844
4845         * docs/README:
4846           Add a few lines about the new 'check-inspected-versions' target.
4847
4848 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4849
4850         * tests/check/gst/gstevent.c:
4851           Add qos to the event test. Rename tcase/tsuite; is not only about
4852           custom events.
4853
4854 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4855
4856         * plugins/elements/gstqueue.c:
4857           Ensure that buffer metadata is writeable, before modifying. Spotted by
4858           Mike.
4859
4860 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4861
4862         * plugins/elements/gstqueue.c:
4863         * plugins/elements/gstqueue.h:
4864           When dropping buffers in leaky modes, mark next buffers we sent as
4865           DISCONT.
4866
4867 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4868
4869         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4870           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4871
4872 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4873
4874         * plugins/elements/Makefile.am:
4875         * plugins/elements/gstbufferstore.c:
4876         * plugins/elements/gstbufferstore.h:
4877         * plugins/elements/gsttypefindelement.h:
4878           Remove GstBufferStore, no idea why we were still building it.
4879           It's not used anywhere and superseded by GstAdapter.
4880
4881         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4882           (gst_file_src_create_mmap):
4883         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4884           Printf format fixes for 64-bit integers.
4885
4886 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4887
4888         * configure.ac:
4889         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4890         We're not in 0.8 times anymore.
4891
4892 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4893
4894         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4895         (gst_check_element_push_buffer_list):
4896         * libs/gst/check/gstcheck.h:
4897         Make the declaration in the header for
4898         gst_check_element_push_buffer_list match the implementation.
4899
4900         Fix up spelling, grammar and wording of the documentation in a few
4901         places, and add the Since keyword to new API functions.
4902         Use g_list_delete_link instead of g_list_remove in
4903         gst_check_drop_buffers, since it's immeasurably more efficient.
4904
4905         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4906         Use new gst_check_drop_buffers function where appropriate.
4907
4908         * win32/common/libgstbase.def:
4909         * win32/common/libgstreamer.def:
4910         Add new symbols gst_collect_pads_take_buffer, 
4911         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4912         exports
4913
4914         Changelog surgery to add API keyword to new gst_check API.
4915
4916 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4917
4918         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4919         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4920         Update pre-generated flex files with flex 2.3.34.
4921
4922 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4923
4924         * gst/gstminiobject.c:
4925           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4926           friendly to subclasses and not require them to know all internals
4927           of their parent class.
4928
4929 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4930
4931         * docs/libs/gstreamer-libs-sections.txt:
4932         * libs/gst/base/gstcollectpads.c:
4933         * libs/gst/base/gstcollectpads.h:
4934           Add sub-buffer functions to collectpads. Fixes #516187.
4935           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4936
4937 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4938
4939         * gst/gstbuffer.c:
4940           Copy selected buffer-flags when creating subbuffers.
4941           Fixes #516395.
4942
4943 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4944
4945         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4946         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4947         * gst/gstmessage.c: (gst_message_class_init),
4948         (gst_message_finalize):
4949         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4950         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4951         (gst_mmap_buffer_finalize):
4952         Properly chain up finalize functions to the parent class.
4953
4954 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4955
4956         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4957
4958         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4959         (gst_index_set_resolver_full):
4960         * gst/gstindex.h:
4961         Add new function with option to dispose of user_data in resolver.
4962         Actually call the dispose function when finalizing the object and not
4963         just when changing the resolver/filter.
4964         API: GstIndex::gst_index_set_resolver_full()
4965
4966         * docs/gst/gstreamer-sections.txt:
4967         Add new function to docs. Fixes #515469.
4968
4969 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4970
4971         * gst/gstindex.c: (gst_index_finalize):
4972         Chain up finalize to the parent class. Fixes leaking the GstObject
4973         name and other things.
4974
4975 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4976
4977         * configure.ac:
4978         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4979         pre-releases or releases.
4980
4981         * docs/faq/gst-uninstalled:
4982         Add gst-plugins-gl
4983
4984         * docs/random/release:
4985         Change one of the steps - we only upload core & base to Gnome FTP
4986
4987 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4988
4989         * gst/gstconfig.h.in:
4990           Add 'id' for example.
4991
4992         * gst/gstpad.c:
4993         * gst/gstutils.c:
4994         * plugins/elements/gstfdsink.c:
4995           Link to signals. Doc and comment fixes.
4996
4997 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4998
4999         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
5000         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
5001           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
5002           unused and unimplemented; finally, it is plugin features, not
5003           plugins, that have ranks.
5004           
5005 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
5006
5007         * gst/gstpluginfeature.h:
5008           Clarify GstRank range docs.
5009
5010 2008-02-05  David Schleef  <ds@schleef.org>
5011
5012         * gst/gst.c: Add a separate gst_deinitialized that prevents
5013           gst_init() from being called after gst_deinit().  Fixes #509559
5014
5015 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
5016
5017         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
5018         (gst_bin_class_init):
5019         * gst/gstelement.c: (gst_element_base_class_init),
5020         (gst_element_class_add_pad_template):
5021         * gst/gstpadtemplate.c: (gst_pad_template_init):
5022         * gst/gstpipeline.c: (gst_pipeline_get_type),
5023         (gst_pipeline_base_init), (gst_pipeline_class_init):
5024         * libs/gst/base/gstbasesink.c:
5025         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
5026         (gst_base_src_base_init), (gst_base_src_class_init):
5027         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
5028         (gst_capsfilter_class_init):
5029         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
5030         (gst_fake_sink_class_init):
5031         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
5032         (gst_fake_src_class_init):
5033         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
5034         (gst_fd_sink_class_init):
5035         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
5036         (gst_fd_src_class_init):
5037         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
5038         (gst_file_sink_class_init):
5039         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
5040         (gst_file_src_class_init):
5041         * plugins/elements/gstidentity.c: (gst_identity_base_init),
5042         (gst_identity_class_init):
5043         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5044         (gst_multi_queue_class_init):
5045         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5046         (gst_queue_class_init):
5047         * plugins/elements/gsttee.c: (gst_tee_base_init),
5048         (gst_tee_class_init):
5049         * plugins/elements/gsttypefindelement.c:
5050         (gst_type_find_element_base_init),
5051         (gst_type_find_element_class_init):
5052         * tests/check/gst/gstelement.c: (gst_element_suite):
5053         Revert previous changes to the behaviour of GstPadTemplates, etc
5054         and the possiblity to call them in class_init as it breaks too
5055         many elements. Reopens bug #491501.
5056
5057         Should be applied again for 0.11, thus added a few FIXME 0.11 at
5058         several places.
5059
5060 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
5061
5062         * tools/gst-launch.c:
5063         Dump one graph per pipeline state-change and state change name
5064         (if GST_DEBUG_DUMP_DOT_DIR is set).
5065
5066 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
5067
5068         * gst/gstpad.c:
5069         * tests/check/gst/gstpad.c:
5070         Be sure that we have a new copy of the caps and not
5071         reffed caps from a template
5072
5073 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
5074
5075         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5076         * gst/gstpipeline.c: (gst_pipeline_get_type),
5077         (gst_pipeline_class_init):
5078         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5079         (gst_base_sink_class_init):
5080         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
5081         (gst_base_src_class_init):
5082         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
5083         (gst_base_transform_class_init):
5084         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
5085         (gst_collect_pads_class_init):
5086         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
5087         * libs/gst/net/gstnettimeprovider.c:
5088         (gst_net_time_provider_base_init),
5089         (gst_net_time_provider_class_init):
5090         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
5091         (gst_capsfilter_class_init):
5092         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
5093         (gst_fake_sink_class_init):
5094         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
5095         (gst_fake_src_class_init):
5096         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
5097         (gst_fd_sink_class_init):
5098         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
5099         (gst_fd_src_class_init):
5100         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
5101         (gst_file_sink_class_init):
5102         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
5103         (gst_file_src_class_init):
5104         * plugins/elements/gstidentity.c: (gst_identity_base_init),
5105         (gst_identity_class_init):
5106         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5107         (gst_multi_queue_class_init):
5108         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5109         (gst_queue_class_init):
5110         * plugins/elements/gsttee.c: (gst_tee_base_init),
5111         (gst_tee_class_init):
5112         * plugins/elements/gsttypefindelement.c:
5113         (gst_type_find_element_base_init),
5114         (gst_type_find_element_class_init):
5115         Don't use base_init where not absolutely necessary. For example it's
5116         not necessary anymore for adding pad templates or setting element
5117         details.
5118
5119         Leave empty base_init functions in several places as GST_BOILERPLATE
5120         still defines and uses them.
5121
5122 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
5123
5124         * gst/gstelement.c: (gst_element_base_class_init),
5125         (gst_element_class_add_pad_template):
5126         * gst/gstpadtemplate.c:
5127         Make it possible (and recommended) to set element details and add
5128         pad templates in the class_init functions by copying the details/pad
5129         templates in GstElement's base_init.
5130
5131         Also make it possible to replace existing pad templates by adding
5132         a new one with the same name. This was done in a hackish fashion
5133         in same elements before already.
5134
5135         Don't reference pad templates that are added a second time. A
5136         new pad template has a refcount of one and is not floating anymore
5137         and to be owned by the element's class. Make this more explicit by
5138         mentioning it in the docs of gst_element_class_add_pad_template().
5139
5140         These changes are backwards compatible. Fixes bug #491501.
5141
5142         * tests/check/gst/gstelement.c:
5143         Add unit test for setting element details, adding pad templates and
5144         replacing them in a subclass.
5145
5146 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
5147
5148         * tools/gst-inspect.c: (print_interfaces),
5149         (print_element_properties_info), (print_pad_info),
5150         (print_signal_info), (print_element_info):
5151         Fix a few memory leaks.
5152
5153 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5154
5155         * docs/libs/gstreamer-libs-sections.txt:
5156         * libs/gst/check/gstcheck.c:
5157         * libs/gst/check/gstcheck.h:
5158         Add more functions for unit testing: gst_check_drop_buffers,
5159         gst_check_caps_equal, gst_check_element_push_buffer_list,
5160         gst_check_element_push_buffer
5161         API: gst_check_drop_buffers
5162         API: gst_check_caps_equal
5163         API: gst_check_element_push_buffer_list
5164         API: gst_check_element_push_buffer
5165
5166 2008-02-01  Julien Moutte  <julien@fluendo.com>
5167
5168         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
5169         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
5170         (gst_index_finalize), (gst_index_entry_free),
5171         (gst_index_add_association): Fix memory leaks.
5172         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
5173         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
5174         (gst_mem_index_free_format), (gst_mem_index_free_id),
5175         (gst_mem_index_finalize): Fix memory leaks.
5176         * win32/common/config.h: Updated to CVS HEAD.
5177
5178 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
5179
5180         * docs/README:
5181           Some more details about how the plugin docs works.
5182
5183         * docs/plugins/gstreamer-plugins-sections.txt:
5184           Whitespace cleanup.
5185
5186 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
5187
5188         * gst/parse/grammar.tab.pre.c:
5189         * gst/parse/grammar.tab.pre.h:
5190         * gst/parse/grammar.y:
5191         * gst/parse/lex._gst_parse_yy.pre.c:
5192           Add delayed set-property. This allows to set properties on dynamicaly
5193           created objects (pads in videomxer). Fixes #509391.
5194
5195 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5196
5197         * gst/gstutils.c:
5198         Check if caps are not NULL (fix bug #510194)
5199
5200 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5201
5202         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5203         (gst_base_sink_get_position_paused):
5204         Add fixme regarding EOS in pull mode.
5205         Fix position reporting in PAUSED for negative rates.
5206
5207 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5208
5209         * gst/gstminiobject.c: (gst_mini_object_replace):
5210         When replacing a miniobject, do a quick equality check first so that we
5211         can avoid a ref/unref pair.
5212
5213 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5214
5215         * docs/design/part-synchronisation.txt:
5216         Update some docs.
5217
5218         * docs/plugins/Makefile.am:
5219         * docs/plugins/gstreamer-plugins-docs.sgml:
5220         * docs/plugins/gstreamer-plugins-sections.txt:
5221         * plugins/elements/gstmultiqueue.c:
5222         Add multiqueue to the docs.
5223
5224 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5225
5226         * configure.ac:
5227           Back to CVS
5228
5229 === release 0.10.17 ===
5230
5231 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
5232
5233         * configure.ac:
5234           releasing 0.10.17, "Due Negligence"
5235
5236 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5237
5238         * gst/gstutils.c:
5239         Revert caps != NULL check temporarily for 0.10.17 release.
5240
5241 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5242
5243         * gst/gstutils.c:
5244         Check if caps are not NULL (fix bug #510194)
5245
5246 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5247
5248         * gst/gstutils.c:
5249         Fix compilation on systems that have posix timers but no
5250         monotonic clock.
5251         Fixes: #512715
5252         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5253         dot net>
5254
5255 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5256
5257         * tools/gst-inspect.c:
5258         Revert previous commit in preparation for an impromptu 0.10.17 release
5259
5260 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
5261
5262         * tools/gst-inspect.c: (print_interfaces),
5263         (print_element_properties_info), (print_pad_info),
5264         (print_signal_info), (print_element_info):
5265         Fix a few memory leaks.
5266
5267 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
5268
5269         * configure.ac:
5270         Back to CVS
5271
5272 === release 0.10.16 ===
5273
5274 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
5275
5276         * configure.ac:
5277           releasing 0.10.16, "Special Dispensation"
5278
5279 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
5280
5281         * configure.ac:
5282           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5283           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5284           not fail when trying to crosscompile on OpenEmbedded (#511750).
5285
5286 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
5287
5288         * docs/manuals.mak:
5289         Use $(MAKE) instead of make to fix the build if GNU make is
5290         called different. Fixes bug #510747.
5291
5292 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5293
5294         * gst/gstplugin.c: (_gst_plugin_initialize):
5295           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5296           again, which I broke two commits ago when changing the API
5297           of gst_plugin_register_static(): the g_list_foreach() in
5298           _gst_plugin_register_static still assumed the old function
5299           signature and would therefore fail (re-fixes #510187).
5300
5301         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5302           (_gst_plugin_register_static), (gst_plugin_register_static):
5303           Revert the (technically correct) change to call g_thread_init() from
5304           the pre-main() constructor. This will break programs which call
5305           g_thread_init() without an if (!g_thread_supported()) guard in their
5306           main function. We could just blame it on GLib or the application, but
5307           it's probably best to just avoid this altogether and simply not use
5308           any GLib functions here and use plain old malloc() with a simple
5309           array to store the plugins to register later when gst_init() is
5310           finally called (re-fixes #510187).
5311
5312         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5313           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5314           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5315           (GST_START_TEST), (gst_plugin_suite):
5316           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5317           works.
5318
5319 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5320
5321         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5322           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5323           This makes gtk-doc complain, but results in slightly better
5324           compiler errors. The old _gst_plugin_register_static() is
5325           still guarded, so there'll be a compiler warning about that
5326           instead. Fixes #510187 too.
5327
5328 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5329
5330         * gst/gst.c: (init_post):
5331         * gst/gstplugin.c: (_gst_plugin_register_static),
5332           (gst_plugin_register_static), (_gst_plugin_initialize):
5333         * gst/gstplugin.h: (GstPluginFilter):
5334           Change API of gst_plugin_register_static() to not take
5335           a GstPluginDesc, but rather just take all the arguments
5336           in a GstPluginDesc directly. This is more intuitive and
5337           avoids certain mistakes when porting code from
5338           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5339           Fixes #510187.
5340
5341         * tests/check/gst/gstplugin.c:
5342           Fix up for changed API.
5343
5344 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5345
5346         * docs/faq/legal.xml:
5347           Update FAQ, Totem actually has an exception these days.
5348
5349 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
5350
5351         * win32/common/libgstreamer.def:
5352         Add new API declarations
5353
5354 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5355
5356         * gst/gstminiobject.c:
5357           Spelling fixes for the API docs.
5358
5359 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5360
5361         * libs/gst/base/gstbasetransform.c:
5362           Fix long property description for QoS.
5363
5364 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
5365
5366         * gst/gst.c:
5367         _gst_trace_on is already provided by gsttrace.h, no need to declare
5368         it ourselves.
5369
5370         * docs/libs/gstreamer-libs-sections.txt:
5371         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5372         and remove strange tcase_add_test which is outputting a warning.
5373
5374         * libs/gst/check/gstcheck.c:
5375         * libs/gst/check/gstcheck.h:
5376         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5377         and define them in gstcheck.c instead of having every .c file whcih
5378         includes gstcheck.h be defining its own copy and relying on symbol
5379         interposing to marry them all, which doesn't work on Solaris.
5380
5381         * tests/check/elements/identity.c: (GST_START_TEST):
5382         Don't define 'buffers' locally, it comes from libgstcheck.
5383
5384         * tests/check/generic/sinks.c: (send_buffer):
5385         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5386
5387         * tests/check/gst/gststructure.c: (GST_START_TEST):
5388         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5389         * tests/check/gst/gstutils.c: (GST_START_TEST):
5390         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5391         Add a bunch of casts to make various constants fit the types
5392         they're being assigned to.
5393
5394 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
5395
5396         * gst/gstchildproxy.c:
5397           Improve docs and add some ideas for making this more general-purpose.
5398
5399 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5400
5401         * gst/gst_private.h: (GST_CAT_TYPES):
5402           Add GST_CAT_TYPES, for consistency, and so that the other
5403           debug categories don't make fun of it. Spotted by Saur on IRC.
5404
5405 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5406
5407         * gst/parse/Makefile.am:
5408           Move types.h from EXTRA_DIST to noinst_HEADERS.
5409
5410 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5411
5412         * autogen.sh:
5413           Add -Wno-portability to the automake parameters to stop warnings
5414           about GNU make extensions being used. We require GNU make in almost
5415           every Makefile anyway.
5416
5417         * configure.ac:
5418           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5419           at the same time is required for per target flags.
5420
5421 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5422
5423         * gst/gstmacros.h:
5424           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5425           __GNUC__ is defined before using it.
5426
5427 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5428
5429         * docs/gst/gstreamer-sections.txt:
5430         * gst/gst.c: (init_post):
5431         * gst/gstplugin.c: (_gst_plugin_register_static),
5432           (gst_plugin_register_static), (_gst_plugin_initialize),
5433           (gst_plugin_register_func):
5434         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5435           API: add gst_plugin_register_static() and deprecate
5436           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5437           (#498924).
5438           Also, in _gst_plugin_register_static(), make sure to call
5439           g_thread_init() before calling GLib functions such as
5440           g_list_append() if we're not initialised yet, since that
5441           may lead to random crashes with older GSlice/GLib versions.
5442
5443         * tests/check/gst/gstplugin.c:
5444           Adapt unit test to above changes.
5445
5446 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5447
5448         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5449         * gst/gstcaps.c: (gst_caps_to_string):
5450         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5451           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5452           Yet another gratuitous GString micro-optimisation: add a (private)
5453           function that serialises a structure appending to an existing
5454           GString, so that when we serialise caps we don't need to alloc+free
5455           a throwaway GString for each structure (each of which also entailing
5456           multiple reallocs on the way); also use g_string_sized_new() in
5457           various places with an approximate string length to avoid reallocs
5458           within GString. See #500143.
5459
5460 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5461
5462         * gst/gststructure.c: (gst_structure_id_set_value):
5463           Always check UTF-8 conformance of structure strings and not only
5464           if the debugging system is enabled; reasoning: the behaviour of
5465           the actual code shouldn't really change depending on whether the
5466           debugging system is enabled or not (#508291).
5467
5468 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5469
5470         * Makefile.am:
5471           Remove old coverage target in favour of "make lcov".
5472
5473 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5474
5475         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5476         (gst_base_src_loop):
5477         The start segment for reverse playback goes from start to last_stop.
5478
5479 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5480
5481         Patch by: Peter Kjellerstedt <pkj axis com>
5482
5483         * gst/gstclock.h:
5484         Cast the results from the timeval/spec_to_time macros to what the
5485         docs say it casts to, a GstClockTime. fixes #508175.
5486
5487 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5488
5489         * gst/gstbuffer.c:
5490         Update some comments.
5491
5492         * tools/gst-inspect.c: (print_element_properties_info):
5493         Improve printing of flags.
5494
5495 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5496
5497         * libs/gst/base/gstbasetransform.c:
5498           (gst_base_transform_transform_size):
5499           Print element name with g_warning() if there's a problem
5500           with the unit size.
5501
5502 2008-01-07  David Schleef  <ds@schleef.org>
5503
5504         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5505
5506         * libs/gst/controller/gstcontroller.h:
5507         * libs/gst/controller/gstcontrolsource.h:
5508         * libs/gst/controller/gstinterpolationcontrolsource.h:
5509         * libs/gst/controller/gstlfocontrolsource.h:
5510         * libs/gst/dataprotocol/dataprotocol.h:
5511           Fix empty prototypes.  Fixes bug #507957.
5512
5513 2008-01-07  David Schleef  <ds@schleef.org>
5514
5515         * docs/faq/dependencies.xml: Fix typo.
5516
5517 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5518
5519         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5520         (gst_base_src_loop):
5521         Don't update the last_stop position in do_seek, that's the position we
5522         did a seek to.
5523         Read backwards when we have a negative rate.
5524
5525         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5526         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5527         (filesrc_suite):
5528         Add check for reverse reading.
5529
5530 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5531
5532         Patch by: Alexis Ballier <aballier at gentoo org>
5533
5534         * tests/check/gst/gstabi.c:
5535         * tests/check/gst/struct_ppc64.h:
5536         * tests/check/libs/libsabi.c:
5537         * tests/check/libs/struct_ppc64.h:
5538           Decide which header to include based on the userland ABI target
5539           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5540           for 64-bit userland (#503590).  Might need something similar for
5541           x86 too.
5542
5543 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5544
5545         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5546           Log the reason why fopen fails in addition to the fact that it failed.
5547           
5548 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5549
5550         * gst/parse/parse.l:
5551         Use "%option never-interactive" to prevent useless calls to isatty()
5552         on every input when parsing. Also use "%option noinput" to not define
5553         the static input/yyinput functions which we don't use anyway. This
5554         removes a compiler warning with gcc 4.3 and saves some bytes in the
5555         library.
5556         
5557         * gst/parse/lex._gst_parse_yy.pre.c:
5558         Regenerated for the above change.
5559
5560 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5561
5562         * gst/gstpad.c: (fixate_value):
5563         Don't crash when trying to fixate and empty list.
5564         Fixes #506643.
5565
5566 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5567
5568         * docs/faq/gst-uninstalled:
5569         Clarify the comments to make the usage of this script and what it
5570         does easier to understand.
5571
5572 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5573
5574         * tools/gst-plot-timeline.py:
5575         Add more options to gst-plot-timeline
5576
5577 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5578
5579         * docs/design/part-synchronisation.txt:
5580         Some more info on how the stream_time in GstBaseSink is done.
5581
5582 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5583
5584         * tests/check/generic/sinks.c: (gst_sinks_suite):
5585           Put back the tcase_set_timeout(), apparently it's needed after
5586           all; fix it up in a way that makes things work with valgrind too.
5587
5588 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5589
5590         * gst/gstdebugutils.c:
5591           Add warning when failed to open file for writing.
5592
5593 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5594
5595         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5596
5597         * gst/gstvalue.c: (gst_value_is_fixed):
5598           Optimisation: bail out of the loop as early as possible (#500143).
5599
5600 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5601
5602         * gst/gstcaps.c: (gst_caps_to_string):
5603         * gst/gstinfo.c: (gst_debug_construct_term_color):
5604         * gst/gstparse.c: (gst_parse_launchv):
5605         * gst/gstutils.c: (gst_util_dump_mem):
5606         * gst/gstvalue.c: (gst_value_serialize_any_list),
5607           (gst_value_transform_any_list_string):
5608           Bunch of gratuitous nano-optimisations.
5609
5610 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5611
5612         * tests/check/generic/sinks.c: (async_done_func),
5613           (async_done_eos_func):
5614           Fix leak in unit test (bus sync handler must unref the message
5615           if it returns GST_BUS_DROP). Don't fiddle with the default test
5616           timeout, this is smaller than the current preconfigured value
5617           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5618           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5619
5620 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5621
5622         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5623
5624         * configure.ac:
5625         Check for stdio_ext.h for the filesink changes.
5626
5627         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5628         (gst_file_sink_class_init), (gst_file_sink_init),
5629         (gst_file_sink_dispose), (gst_file_sink_set_property),
5630         (gst_file_sink_get_property), (gst_file_sink_open_file),
5631         (gst_file_sink_close_file):
5632         * plugins/elements/gstfilesink.h:
5633         Add two properties to control the buffering mode and size.
5634         API: GstFileSink::buffer-mode
5635         API: GstFileSink::buffer-size
5636         Fixes #500150.
5637
5638 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5639
5640         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5641         Add some more docs to explain why a FIXME was wrongly added. 
5642
5643 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5644
5645         * gst/gstobject.c:
5646           Fix typo in the gst_object_{ref,unref} documentation.
5647
5648 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5649
5650         * tests/check/libs/controller.c:
5651         * tests/check/libs/typefindhelper.c:
5652         * tests/check/pipelines/parse-launch.c:
5653           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5654           going to be deprecated (see #498924).
5655
5656 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5657
5658         * gst/gsttypefind.c: (gst_type_find_register):
5659           Make gst_type_find_register work for static typefind functions,
5660           ie. allow passing plugin == NULL (prerequisite for #498924).
5661
5662         * gst/gstelementfactory.c: (gst_element_register):
5663           Small docs addition.
5664
5665 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5666
5667         * gst/gstpad.c: (gst_pad_dispose):
5668         Really unlink the peer pad instead of setting the peer pointer to NULL
5669         when we dispose the pad.
5670         This correctly calls the unlink functions and makes sure that the peer
5671         does not have a handle to invalid memory. See #504671.
5672
5673         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5674         Add testsuite for above case.
5675
5676 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5677
5678         Patch by: Peter Kjellerstedt <pkj axis com>
5679
5680         * libs/gst/check/gstcheck.h:
5681           Fix detection of the check version we're compiling against (would
5682           otherwise break if check goes v0.10.0); correctly report the
5683           name of the failed test again in case of failure, instead of
5684           just 'tf' (fixes #504499).
5685
5686 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5687
5688         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5689         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5690         (gst_base_src_loop), (gst_base_src_set_flushing),
5691         (gst_base_src_change_state):
5692         Allow sending EOS to the source to make it send out an EOS event from
5693         the streaming thread.
5694         Update docs and deprecate the old NULL/READY shutdown method.
5695
5696         * tests/check/libs/basesrc.c: (GST_START_TEST),
5697         (gst_basesrc_suite):
5698         Add unit test for controlled shutdown.
5699
5700 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5701
5702         * docs/design/part-synchronisation.txt:
5703         Small updates.
5704
5705         * gst/gstsegment.c: (gst_segment_set_seek),
5706         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5707         (gst_segment_to_running_time):
5708         The seek format can be different from the segment format when the start
5709         and stop values are not to be updated, when we only do a rate change for
5710         example.
5711
5712         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5713         (gst_segment_suite):
5714         Add a testcase for the rate-only seeks, checking that the format is
5715         correctly ignored when start and stop are not updated.
5716
5717 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5718
5719         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5720
5721         * win32/vs8/grammar.vcproj:
5722         * win32/vs8/libgstcontroller.vcproj:
5723         * win32/vs8/libgstreamer.vcproj:
5724         Fix compilation with VS8 and include some missing files.
5725
5726 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5727
5728         * gst/gsttaglist.c:
5729           Small docs addition: mention that the strings returned by
5730           gst_tag_list_get_string*() are in UTF-8 encoding.
5731
5732 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5733
5734         * Makefile.am:
5735           The check-exports stuff moved to common/win32.mak, so include that.
5736
5737 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5738
5739         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5740         (gst_base_src_perform_seek), (gst_base_src_get_range),
5741         (gst_base_src_set_playing), (gst_base_src_change_state):
5742         Make _wait_playing() not check any variables so that we can call this
5743         function from subclasses. Move the checks elsewhere similar to
5744         _wait_preroll() in basesink.
5745         Add some debugging.
5746         Only signal the LIVE cond when we are going back to PLAYING.
5747
5748 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5749
5750         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5751           Use g_remove() and g_rename(). Check result of g_rename(), and
5752           don't leak the open file descriptor if we error out when writing.
5753
5754         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5755           Must check the return value of close() after writing out the new
5756           registry file.  Sometimes write problems such as out-of-diskspace
5757           are only reported when the file is closed and not already during
5758           the write.  This may have caused partial/broken registry files in
5759           some rare circumstances. Should fix #503675.
5760
5761 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5762
5763         * docs/gst/.cvsignore:
5764         * docs/libs/.cvsignore:
5765         * docs/plugins/.cvsignore:
5766         Ignore files generated by new common/* modifications
5767
5768 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5769
5770         * win32/common/libgstbase.def:
5771           Yes, you can also have a <TAB> if you want.
5772
5773 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5774
5775         * win32/common/libgstbase.def:
5776           Add new basetransform API to win export file.
5777
5778 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5779
5780         * tests/check/gst/gstbin.c:
5781           Adjust the test to the refcount change two days ago.
5782
5783 2007-12-14  David Schleef  <ds@schleef.org>
5784
5785         * docs/faq/getting.xml: Fix typo.
5786
5787 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5788
5789         * docs/libs/gstreamer-libs-sections.txt:
5790         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5791           (gst_base_transform_prepare_output_buffer),
5792           (gst_base_transform_set_gap_aware):
5793         * libs/gst/base/gstbasetransform.h:
5794           API: Add gst_base_transform_set_gap_aware() to control whether
5795           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5796           get buffers with this flag at all. Fixes #503231.
5797
5798 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5799
5800         * libs/gst/base/gstbasesink.c:
5801         * libs/gst/base/gstbasesrc.c:
5802         * libs/gst/base/gstbasetransform.c:
5803           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5804           thread. Correct log message in gstbasesrc.c.
5805
5806 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5807
5808         * gst/gstutils.c: (element_find_unconnected_pad):
5809           Fix possible compiler warning (#503417).
5810
5811 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5812
5813         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5814           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5815
5816 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5817
5818         * tools/gst-inspect.c: (print_element_properties_info):
5819           Add support for GstFraction properties.
5820
5821 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5822
5823         * Makefile.am:
5824           Add check-exports target and run it as part of 'make check'
5825           (see #499140 and #493983).
5826
5827         * gst/gst_private.h:
5828         * gst/gstelementfactory.h:
5829         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5830         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5831           (_priv_gst_in_valgrind):
5832         * gst/gstinfo.h: (GstLogFunction):
5833         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5834           (gst_type_find_register):
5835         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5836           (gst_type_find_factory_get_type):
5837         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5838           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5839           (gst_controller_new_valist), (gst_controller_new_list),
5840           (_gst_controller_dispose), (_gst_controller_class_init):
5841         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5842         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5843           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5844           (gst_object_get_controller), (gst_object_set_controller),
5845           (gst_object_suggest_next_sync), (gst_object_sync_values),
5846           (gst_object_set_control_source), (gst_object_get_control_source),
5847           (gst_object_get_value_arrays), (gst_object_get_value_array),
5848           (gst_object_get_control_rate), (gst_object_set_control_rate):
5849         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5850         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5851           Make some functions that should be static static; rename some
5852           private symbols so that they don't get exported; add some FIXME
5853           comments so we can move accidentally exported functions into
5854           our private section in 0.11.
5855
5856         * win32/common/libgstreamer.def:
5857           Add gst_utils_get_timestamp().
5858
5859 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5860
5861         * gst/gstvalue.c:
5862         * gst/gstvalue.h:
5863           Add more missing "Since:" tags to docs.
5864
5865 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5866
5867         * gst/gstutils.c:
5868           Add mising "Since:" to docs.
5869
5870 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5871
5872         * gst/gstplugin.c:
5873           Include "glib-compat-private.h" to fix the build on system with
5874           glib < 2.10. Fixes #503131.
5875
5876 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5877
5878         * gst/gstutils.c:
5879         * gst/gstutils.h:
5880           Actually its not PURE as it gets the time from elsewhere.
5881
5882 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5883
5884         * docs/gst/gstreamer-sections.txt:
5885         * gst/gstclock.h:
5886         * gst/gstdebugutils.c:
5887         * gst/gstinfo.c:
5888         * gst/gstutils.c:
5889         * gst/gstutils.h:
5890         * libs/gst/base/gstbasesink.c:
5891         * tools/gst-launch.c:
5892           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5893           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5894           Thanks Tim for spotting.
5895           API: gst_util_get_timestamp
5896
5897 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5898
5899         * configure.ac:
5900           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5901
5902 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5903
5904         * gst/gststructure.c: (gst_structure_validate_name),
5905           (gst_structure_new_valist), (gst_structure_parse_value),
5906           (gst_structure_from_string):
5907           Don't crash in _from_string() if the structure name is not valid
5908           (fixes #501560).  Allow structure names to start with a number
5909           again (this apparently broke the ubuntu codec installer).
5910
5911         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5912           (GST_START_TEST):
5913           Add unit test for the crash; update unit tests for new behaviour.
5914
5915 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5916
5917         * gst/gstutils.c:
5918         Clarify gst_element_get_compatible_pad() documentation.
5919         Fixes #500919.
5920
5921 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5922
5923         * tests/check/Makefile.am:
5924           Don't forget to dist {gst,libs}/struct_hppa.h.
5925
5926 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5927
5928         * libs/gst/base/gstbasesink.c:
5929           Use new API to get elapsed time.
5930
5931 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5932
5933         * gst/gstdebugutils.c:
5934         * gst/gstinfo.c:
5935           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5936
5937         * tools/gst-launch.c:
5938           Use new API to get elapsed time.
5939
5940 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5941
5942         * docs/gst/gstreamer-sections.txt:
5943         * gst/gstclock.h:
5944         * gst/gstdebugutils.c:
5945         * gst/gstinfo.c:
5946           Rename new API + ChangeLog surgery to remove old name from last entry..
5947
5948 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5949
5950         * docs/gst/gstreamer-sections.txt:
5951         * gst/gstclock.h:
5952         * gst/gstdebugutils.c:
5953         * gst/gstinfo.c:
5954           Now hide the different clock stuff behind a macro.
5955
5956 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5957
5958         * configure.ac:
5959         * gst/gstdebugutils.c:
5960         * gst/gstinfo.c:
5961           Apply the posix-timer check from #361155. Conditionally use the posix
5962           timer for logging. This gives better timestamp precission, less
5963           overhead and no ntp jitter.
5964
5965 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5966
5967         * gst/gstminiobject.c: (gst_mini_object_get_type),
5968         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5969         (gst_mini_object_finalize), (gst_mini_object_copy),
5970         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5971         (gst_mini_object_replace), (param_mini_object_validate),
5972         (gst_param_spec_mini_object_get_type):
5973         Some cleanup and checking against invalid function parameters.
5974
5975 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5976
5977         * docs/gst/gstreamer-sections.txt:
5978         * gst/gstclock.h:
5979         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5980         (gst_systemclock_suite):
5981         Start merging in the easy bits of #361155, the monotonic clock patch.
5982         This one adds a few handy macros with docs and a testsuite.
5983
5984 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5985
5986         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5987         Be a bit smarter when seeking, like, don't try to do a seek when it's
5988         not needed. This avoids errors when the file is not seekable.
5989         Fixes #499771.
5990
5991 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5992
5993         * docs/gst/gstreamer-docs.sgml:
5994         * docs/gst/gstreamer-sections.txt:
5995         * docs/gst/gstreamer.types.in:
5996         * gst/Makefile.am:
5997         * gst/gst.h:
5998         * gst/gstpreset.c:
5999         * gst/gstpreset.h:
6000         * plugins/elements/gstqueue.c:
6001           Due to popular request remove preset interface again. :-(.
6002
6003 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
6004
6005         * tools/gst-inspect.c:
6006           Print 'default value' for enums and flags too.
6007
6008 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
6009
6010         * docs/random/ensonic/profiling.txt:
6011           More ideas.
6012
6013         * gst/gstbin.c:
6014           Fix typo and give better log output.
6015
6016         * gst/gstdebugutils.c:
6017         * gst/gstdebugutils.h:
6018           More ideas, make graphs a bit smaller and fix param name in macro.
6019
6020 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
6021
6022         * gst/gstpreset.c:
6023           Try harder to use the return value from fgets().
6024
6025 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
6026
6027         * gst/gstpreset.c:
6028           For theses two fgets we handle the error below.
6029
6030 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
6031
6032         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
6033         Only send upstream events upstream. Fixes #498746.
6034
6035 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
6036
6037         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
6038
6039         * plugins/elements/gstidentity.c: (gst_identity_class_init),
6040         (gst_identity_init), (gst_identity_transform_ip),
6041         (gst_identity_set_property), (gst_identity_get_property):
6042         * plugins/elements/gstidentity.h:
6043         Add property to disable handoff signal emission. Fixes #498694.
6044         API: GstIdentity::signal-handoffs
6045
6046 2007-11-21  Julien Moutte  <julien@fluendo.com>
6047
6048         * docs/faq/gst-uninstalled: Yet another missing library for the
6049         uninstalled script (fft)
6050
6051 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
6052
6053         * docs/faq/developing.xml:
6054         Add a question about how to submit new translations.
6055
6056         * docs/random/release:
6057         Update the contact email address for the Translation Project
6058
6059         * plugins/elements/gstfdsrc.c:
6060         The parent_class for fdsrc is pushsrc, not GstElement.
6061
6062 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
6063
6064         * gst/gstpreset.c:
6065           Plug a leak and fix saving.
6066
6067 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
6068
6069         * docs/gst/gstreamer-sections.txt:
6070         Add new gst_preset__get_property_names() function to the docs
6071         to fix the build.
6072
6073 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
6074
6075         * gst/gstpreset.c:
6076         * gst/gstpreset.h:
6077           Change _get_preset_names API to return a strv with copies. Add
6078           _get_property_names to allow implementations to filter and provide
6079           good default implementation.
6080
6081 2007-11-20  Julien MOUTTE  <julien@moutte.net>
6082
6083         * docs/faq/gst-uninstalled: Add another library to the uninstalled
6084         script (sdp).
6085
6086 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
6087
6088         * gst/gstpreset.c:
6089           More cleanups, docs, and TODOs from comments that now slowly come in.
6090
6091 2007-11-19  Julien MOUTTE  <julien@moutte.net>
6092
6093         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
6094         search path.
6095
6096 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
6097
6098         * gst/gstpreset.c:
6099           Fix bogus warning and make the property type specific code more
6100           similar.
6101
6102 2007-11-19  Julien MOUTTE  <julien@moutte.net>
6103
6104         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
6105         it build on OS X.
6106
6107 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
6108
6109         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6110         (gst_bin_add_func), (gst_bin_remove_func),
6111         (gst_bin_change_state_func), (gst_bin_continue_func):
6112         Change email, cleanups add some more debug and comments.
6113         Also set bus and clock on new elements when the pipeline was in error.
6114
6115 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
6116
6117         * gst/gstbin.c:
6118         * gst/gstdebugutils.c:
6119           Fix build with --disable-gst-debug. Fixes #497859.
6120           Spotted by Sameer Naik.
6121
6122 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6123
6124         * gst/gstevent.c:
6125           Little documentation improvment.
6126
6127         * gst/gstpreset.c:
6128           More TODO cleanups. Remove c++ comments.
6129
6130         * libs/gst/controller/gstcontroller.c:
6131           Add TODO and use quark from static string.
6132
6133         * tests/check/gst/gstmessage.c:
6134         * tests/check/gst/gststructure.c:
6135           Use quark from static string.
6136
6137 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6138
6139         * gst/gstpreset.c:
6140           Add some comments and TODOs.
6141
6142         * gst/gstpreset.h:
6143           Add padding for future changes.
6144
6145         * plugins/elements/gstqueue.c:
6146           Implement the iface.    
6147
6148 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6149
6150         * docs/gst/gstreamer-docs.sgml:
6151         * docs/gst/gstreamer-sections.txt:
6152         * docs/gst/gstreamer.types.in:
6153         * gst/Makefile.am:
6154         * gst/gst.h:
6155         * gst/gstpreset.c:
6156         * gst/gstpreset.h:
6157           Add the preset interface (Fixes #396779). Do some doc cleanups along.
6158
6159 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
6160
6161         * configure.ac:
6162
6163         Back to CVS
6164
6165 === release 0.10.15 ===
6166
6167 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
6168
6169         * configure.ac:
6170           releasing 0.10.15, "October"
6171
6172 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
6173
6174         * win32/vs6/libgstreamer.dsp:
6175         Convert line endings back to DOS.
6176
6177 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
6178
6179         * docs/design/draft-tagreading.txt:
6180         * docs/random/ensonic/profiling.txt:
6181         Update fast tagreading draft and performance profiling ideas.
6182
6183 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
6184
6185         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
6186         Don't hold the object lock when unreffing a buffer because it could
6187         cause a deadlock when the finalize function wants to grab the object
6188         lock too. Fixes #495133.
6189
6190 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
6191
6192         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6193         (gst_segment_to_stream_time), (gst_segment_to_running_time):
6194         Also accumulate time correctly when doing reverse playback. Fixes
6195         #488201,
6196         When converting to running and stream time, use default values for
6197         start/stop/time/accum when comparing different formats. Fixes #494245.
6198
6199         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6200         Do running/stream time in TIME format.
6201
6202         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6203         (gst_segment_suite):
6204         2 new unit tests for segment accumulation.
6205
6206 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
6207
6208         * gst/gst.c: (init_pre):
6209         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6210           (_gst_debug_bin_to_dot_file):
6211           Move getenv() back into gst_init, so everyone can live happily
6212           ever after. Make sure the symbol isn't exported though.
6213
6214 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6215
6216         Patch by: Sebastien Moutte  <sebastien moutte net>
6217
6218         * win32/common/gstenumtypes.c:
6219         * win32/common/gstenumtypes.h:
6220           Update enum types.
6221
6222         * win32/vs6/libgstreamer.dsp:
6223           Update vs6 project files (#494343).
6224
6225 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6226
6227         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6228         (gst_base_src_perform_seek), (gst_base_src_default_event),
6229         (gst_base_src_set_flushing), (gst_base_src_activate_push),
6230         (gst_base_src_activate_pull):
6231         Unify flushing code, remove some old unlock code that is no longer used.
6232         Take the streaming lock when seeking to avoid races. Fixes #492729.
6233         Added some more comments.
6234
6235 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6236
6237         * gst/gst.c: (_gst_disable_segtrap):
6238           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
6239           we can use gst_segtrap_is_enabled() there now that we have that API.
6240           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6241           to do the getenv here (and export the variable).
6242
6243         * gst/gstdebugutils.c: (debug_dump_element),
6244           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6245           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6246
6247         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6248           (gst_debug_log_default):
6249           Rename _gst_info_start_time to priv_gst_info_start_time so it
6250           doesn't get exported (was never in any header).
6251
6252         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6253           (gst_plugin_loading_mutex):
6254           Make static mutex gst_plugin_loading_mutex really static (was never
6255           in any header), and use gst_segtrap_is_enabled() instead of
6256           _gst_disable_segtrap.
6257
6258         * gst/gsttrace.c: (_gst_trace_default):
6259           Make local _gst_trace_default static (was never in any header).
6260
6261 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6262
6263         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6264
6265         * win32/common/libgstbase.def:
6266         * win32/common/libgstcontroller.def:
6267         * win32/common/libgstdataprotocol.def:
6268         * win32/common/libgstnet.def:
6269         * win32/common/libgstreamer.def:
6270           Add more missing symbols, remove some duplicates, and sort
6271           as the 'sort' command sorts it (partially fixes #493983).
6272
6273 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6274
6275         * gst/gstelement.c: (gst_element_set_state_func):
6276         Only change the state cookie if a different state was set on the
6277         element. See #492729.
6278
6279 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6280
6281         * gst/gstvalue.c:
6282           Remove unused and uninitialised type variables that were still
6283           exported for some reason (they were never in any header files
6284           though).
6285
6286 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6287
6288         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6289         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6290         (gst_base_sink_event), (gst_base_sink_get_position_last),
6291         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6292         (gst_base_sink_change_state):
6293         Don't try to report a 0 position when we don't know, return -1 and FALSE
6294         instead. This mostly happens when we are prerolling.
6295         Make sure we can report the right position before we post the ASYNC_DONE
6296         message so that a message handler can query position without races.
6297
6298         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6299         (async_done_handoff), (async_done_func), (send_buffer),
6300         (async_done_eos_func), (gst_sinks_suite):
6301         Add two tests for the above.
6302
6303 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6304
6305         * MAINTAINERS:
6306         Update with new email address.
6307
6308         * docs/design/part-TODO.txt:
6309         Add some more info about future pad-block and negotiation changes.
6310
6311         * docs/design/part-buffering.txt:
6312         Add some ideas about buffering reporting.
6313
6314 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
6315
6316         * tests/check/gst/gstobject.c:
6317         Disable silly racy test that always fails on this combination of CPU
6318         and kernel.
6319
6320 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
6321
6322         Patch by: Murray Cumming  <murrayc@murrayc.com>
6323
6324         * gst/gstobject.c:
6325           Corrected the registration of the parent-set and parent-unset
6326           signals: The parameter is a GstObject, not a GObject (#493134).
6327
6328 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6329
6330         * gst/gst_private.h:
6331         * gst/gstbuffer.h:
6332         * gst/gstevent.h:
6333         * gst/gstformat.h:
6334         * gst/gstmessage.h:
6335         * gst/gstplugin.h:
6336         * gst/gstquery.h:
6337         * gst/gsttaglist.h:
6338         * gst/gstvalue.h:
6339           Move declaration of private _gst_foo_initialize() functions into
6340           our private header file where they should have been all along.
6341
6342 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6343
6344         * docs/plugins/gstreamer-plugins-sections.txt:
6345         * gst/gstdebugutils.h:
6346         * gst/gstxml.h:
6347         * plugins/elements/gstqueue.c:
6348           gtk-doc fixes; trailing-comma-in-enum fix.
6349
6350 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6351
6352         * gst/gst.c: (gst_deinit):
6353           Clean up on deinit (not the external ones though, doesn't seem to be
6354           needed for some reason).
6355
6356 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6357
6358         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6359           Remove __declspec(dllimport) for MSVC that was copied over into core
6360           from a plugin, obviously without ever having been tested (note the
6361           single underscore in _declspec in the initial commit), and that doesn't
6362           really make sense.  See #492077.
6363
6364 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6365
6366         * gst/gst.c: (init_post):
6367         * gst/gstevent.c: (_gst_event_initialize):
6368         * gst/gstquery.c: (_gst_query_initialize):
6369         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6370           g_type_class_ref() other types as well, see #349410 and #64764.
6371
6372         * gst/gstbuffer.c: (_gst_buffer_initialize):
6373         * gst/gstmessage.c: (_gst_message_initialize):
6374           Simplify existing g_type_class_ref().
6375
6376 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6377
6378         * gst/gstformat.c: (_gst_format_initialize):
6379           g_type_class_ref() our GstFormat type to make sure we avoid the
6380           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6381           bug #64764. Should fix intermittent tee unit test failures (#474823).
6382
6383 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6384
6385         * tests/check/elements/tee.c: (test_num_buffers):
6386           Simplify, simplify, simplify - or not.  Rewrite unit test
6387           not to use gst_parse_launch(); allow N sub-streams. Increasing
6388           the number of sub-streams seems to reproduce #474823 more easily.
6389
6390 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6391
6392         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6393
6394         * gst/gsttrace.c:
6395         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6396         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6397         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6398           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6399           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6400           so use _pipe() directly (#492077).
6401
6402         * win32/common/dirent.c: (_treaddir):
6403           Add a couple of casts to make it build without warnings with MSVC.
6404
6405         * win32/common/libgstreamer.def:
6406           Add some more symbols that need to be exported.
6407
6408 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6409
6410         * tests/examples/metadata/read-metadata.c: (message_loop):
6411           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6412           arriving in a second or third tag message are added to
6413           the tag list as well.
6414
6415 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
6416
6417         * libs/gst/base/gstbasesrc.c:
6418           Its "Since:" and not "@Since:". And remove an superflous cast.
6419
6420 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
6421
6422         * docs/libs/gstreamer-libs-sections.txt:
6423         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6424         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6425         (gst_base_sink_get_property), (gst_base_sink_render_object),
6426         (gst_base_sink_preroll_object),
6427         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6428         (gst_base_sink_change_state):
6429         * libs/gst/base/gstbasesink.h:
6430         Add a new last-buffer property that contains the last buffer used in
6431         basesink for preroll or rendering. useful for making snapshots.
6432         API: gst_base_sink_get_last_buffer()
6433         API: GstBaseSink::last-buffer
6434
6435 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6436
6437         * docs/gst/running.xml:
6438         * gst/gst.c:
6439         * gst/gstdebugutils.c:
6440         * gst/gstdebugutils.h:
6441         * tools/gst-launch.c:
6442           Improve bin graph dumping, by using the envvar to specify a path.
6443           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6444
6445 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6446
6447         * plugins/elements/gsttypefindelement.c:
6448           (gst_type_find_element_handle_event),
6449           (gst_type_find_element_activate):
6450           Post special error message if we can't determine the type of a stream
6451           because it's empty.
6452
6453 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6454
6455         * docs/gst/running.xml:
6456         * gst/gstdebugutils.c:
6457           Document new env-var. Add one log-line after dumpng a graph.
6458
6459 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6460
6461         * configure.ac:
6462           Ugly hack to put the (recently removed and non-portable, apparently)
6463           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6464           GNU ld, because without that 'make check' fails miserably on my debian
6465           stable box.  Someone with more knowledge of linker intricacies and
6466           portability issues than me fix this properly please.
6467
6468 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6469
6470         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6471         Reset last seen position after flushing so that we don't report the old
6472         position anymore.
6473
6474 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6475
6476         * gst/gstelementfactory.c: (gst_element_register):
6477         * gst/gsturi.h:
6478         Patch from Alessandro Decina adding get_type_full and
6479         get_protocols_full private vfuncs to the URIHandler interface
6480         to allow bindings to support creating URI handlers. 
6481         Partially fixes: #339279
6482         API: GstURIHandlerInterface::get_type_full
6483         API: GstURIHandlerInterface::get_protocols_full
6484
6485 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6486
6487         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6488         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6489         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6490         Make it so that pads are considered linked until a buffer is pushed
6491         and discovered otherwise. This avoids problems with decodebin2 hanging
6492         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6493         case.
6494
6495         Make sure we lock the multiqueue when updating the max-size properties.
6496         
6497         Fix a crash on Solaris in a debug statement in get_request_pad that
6498         passes a NULL string to GST_DEBUG. 
6499
6500         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6501         (run_output_order_test):
6502         Fix the test to allow the first buffer on not-linked pads to come out
6503         of sequence while multiqueue discovers that they are not-linked.
6504
6505 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6506
6507         * configure.ac:
6508         * libs/gst/check/Makefile.am:
6509         Use a custom export symbol regex for libgstcheck, as it needs
6510         to export symbols that don't match the standard GStreamer gst_*
6511         pattern, and  --export-dynamic is not portable (only works on 
6512         GNU ld)
6513
6514         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6515         (gst_check_setup_sink_pad):
6516         Make sure to pass a message parameter to the fail_* macros.
6517
6518         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6519         Fix some compiler warnings.
6520
6521 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6522
6523         * tests/check/gst/gststructure.c: (test_to_string):
6524           Disable test that checks that white spaces are not allowed
6525           in structure names or field names, since we need to
6526           support that for now for backwards compatibility reasons.
6527
6528 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6529
6530         * docs/gst/gstreamer-sections.txt:
6531         * gst/gsttaglist.c:
6532         * gst/gsttaglist.h:
6533           API: add GST_TAG_ARTIST_SORTNAME
6534           API: add GST_TAG_ALBUM_SORTNAME
6535           API: add GST_TAG_TITLE_SORTNAME
6536           Add tag variants for sorting (#414539).
6537
6538 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6539
6540         * gst/gststructure.c:
6541           Also allow white space for names so we don't break
6542           backwards compatibility.
6543
6544 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6545
6546         * docs/design/part-TODO.txt:
6547         * docs/design/part-segments.txt:
6548         * docs/design/part-streams.txt:
6549         Small updates.
6550
6551 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6552
6553         * docs/gst/gstreamer-sections.txt:
6554          Fixed documentation from my previous commit (added new API add
6555          gst_value_set_structure(), add gst_value_get_structure() and
6556          GST_VALUE_HOLDS_STRUCTURE).
6557
6558 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6559
6560         * gst/gstdebugutils.c:
6561           Reflow code to fix uninitialized variable warning.
6562
6563 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6564
6565         * gst/gstcaps.c: (gst_caps_to_string),
6566         (gst_caps_from_string_inplace):
6567         * gst/gststructure.c: (gst_structure_get_abbrs),
6568         (gst_structure_to_string), (gst_structure_from_string):
6569         * gst/gstvalue.c: (gst_value_set_structure),
6570         (gst_value_get_structure), (gst_value_serialize_structure),
6571         (gst_value_deserialize_structure), (_gst_value_initialize):
6572         * gst/gstvalue.h:
6573         * tests/check/gst/gststructure.c: (GST_START_TEST),
6574         (gst_structure_suite):
6575         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6576          Added GstStructure to gst_value_table and its related functions.
6577          Changed gst_structure_to_string to print ';' in the end.
6578          Changed gst_caps_to_string to not print ';' beteween its
6579          fields (structures) anymore and remove the lastes ';' from latest
6580          structure. Now it is possible to have nested structures.
6581          In addition, backward compatibilty is assured by accepting '\0' as
6582          end delimiter. Fixes: #487969.
6583          API: add gst_value_set_structure()
6584          API: add gst_value_get_structure()
6585          API: add GST_VALUE_HOLDS_STRUCTURE
6586
6587 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6588
6589         * gst/gstbus.c:
6590           When no GSource callback has been set up, tell developer
6591           to use a function that actually exists.
6592
6593 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6594
6595         * docs/gst/gstreamer-sections.txt:
6596         * gst/Makefile.am:
6597         * gst/gst.c:
6598         * gst/gst.h:
6599         * gst/gstdebugutils.c:
6600         * gst/gstdebugutils.h:
6601         * gst/gstinfo.c:
6602         * gst/gstinfo.h:
6603         * tools/gst-launch.c:
6604           Allow dumping pipelines as dot graphs. Fixes #456573.
6605
6606 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6607
6608         * gst/gststructure.c:
6609           Allow '+' as well, it can be part of media or mime types
6610           such as image/svg+xml.
6611
6612 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6613
6614         * docs/gst/gstreamer-sections.txt:
6615         * gst/gstbus.c:
6616         * gst/gstbus.h:
6617           API: add gst_bus_pop_filtered
6618           API: add gst_bus_timed_pop_filtered
6619           Two new functions for waiting for specific message types on the
6620           bus for a specified amount of time without iterating any main
6621           loops or main contexts.
6622
6623         * tests/check/gst/gstbus.c:
6624           Some tests for the new functions.
6625
6626 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6627
6628         * docs/libs/gstreamer-libs-sections.txt:
6629           Make gtk-doc ignore stuff it should ignore.
6630
6631 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6632
6633         * libs/gst/check/gstcheck.c:
6634         * libs/gst/check/gstcheck.h:
6635           Allow runtime selection of unit tests to run via the GST_CHECKS
6636           environment variable (test case function names, comma-separated).
6637
6638 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6639
6640         * gst/gststructure.c:
6641         * tests/check/gst/gststructure.c:
6642           Revert serialisation change and constrain structure-names after
6643           consensus on irc. Update api documentation to reflect the change.
6644
6645 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6646
6647         * gst/gststructure.c:
6648           Improve serialization and fix tests.
6649
6650         * tests/check/gst/gststructure.c:
6651           Add another test that covers why I actually did the previous structure
6652           change.
6653
6654 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6655
6656         * tools/gst-inspect.c: (print_element_info):
6657         Don't crash when inspecting an element.
6658
6659 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6660
6661         * tests/check/gst/gststructure.c:
6662           Add unit test for escaping of structure name when serialising
6663           and deserialising to/from strings.
6664
6665 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6666
6667         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6668         (gst_single_queue_new):
6669         * plugins/elements/gstqueue.c: (gst_queue_init),
6670         (gst_queue_push_one):
6671         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6672         upstream is tricked into thinking it can suggest a format downstream
6673         while downstream does not support that format. The real problem is that
6674         core calls acceptcaps when pushing a buffer with new caps, for which we
6675         do a little workaround by setting the caps on the srcpad ourselves
6676         before pushing the buffer (until this is figured out). Fixes #486758.
6677
6678 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6679
6680         * gst/gststructure.c:
6681         * gst/gstvalue.c:
6682           Add some more comments and debug output. Quote structure name to fix
6683           deserialisation of some strings.
6684
6685 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6686
6687         * gst/gstbuffer.h:
6688           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6689           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6690
6691 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6692
6693         * tools/gst-inspect.c:
6694           Save approx. 400 1 byte allocs when printing. Use API to acces element
6695           details.
6696
6697         * tools/gst-run.c:
6698           Avoid a strdup.
6699
6700         * tools/gst-xmlinspect.c:
6701           Use API to acces element details.
6702
6703 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6704
6705         * gst/gstinfo.c:
6706           Fix some spelling errors.
6707
6708 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6709
6710         * gst/gstbin.c: (bin_handle_async_done):
6711         Correctly set the next state if all of our async children commited their
6712         state. This makes sure we can actually cancel the state change in
6713         progress. Fixes a regression in Rhythmbox when seeking.
6714
6715 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6716
6717         * gst/gstbin.c:
6718           Don't shadow local variable.
6719
6720         * gst/gstinfo.c:
6721           Don't shadow global function name.
6722
6723 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6724
6725         * gst/gstelementfactory.c:
6726         * gst/gstpluginfeature.c:
6727         * gst/gstpluginfeature.h:
6728         * gst/gstregistrybinary.c:
6729         * gst/gstregistryxml.c:
6730         * gst/gsttypefind.c:
6731           Use already-interned string for the private GstPluginFeature
6732           plugin_name field.
6733
6734 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6735
6736         * docs/libs/gstreamer-libs-sections.txt:
6737           Add new API to docs; fixes the build.
6738
6739 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6740         
6741         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6742
6743         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6744         (gst_base_sink_event):
6745         * libs/gst/base/gstbasesink.h:
6746         Add function to wait for EOS, subclasses can use this to correctly wait
6747         for devices to drain before performing the EOS logic. Fixes #485343.
6748         API: gst_base_sink_wait_eos()
6749
6750 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6751
6752         * gst/gstplugin.h:
6753           Cast description string constants in GST_PLUGIN_DEFINE macros
6754           to a (gchar*) to make C++ code using these macros compile
6755           without warning with g++-4.2 (see #462737).  Even if slightly
6756           ugly, this seems preferable to putting the description strings
6757           into the GLib quark table or making the structure member a
6758           const gchar * and doing casts in core code that allocs and
6759           frees these strings, or requiring a cast in the C++ code.
6760
6761 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6762
6763         * gst/gstinfo.h:
6764           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6765           to print the entire class/function signature into the log
6766           file for C++ code.  This only affects C++ code, for C code
6767           everything remains the same.
6768
6769 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6770
6771         * gst/gstbin.c: (remove_from_queue):
6772         Work around a problem with pipelines containing (semi)loops until a
6773         proper, more complicated solution is ready. See #475455.
6774
6775 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6776
6777         * gst/gstplugin.c:
6778         * gst/gstplugin.h:
6779         * gst/gstregistrybinary.c:
6780         * gst/gstregistryxml.c:
6781           Put more strings into the GLib quark table. No need to keep
6782           a hundred-something copies of identical version strings,
6783           license strings, package name strings and package origin
6784           strings around. 
6785
6786 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6787
6788         * docs/manual/advanced-dataaccess.xml:
6789           Don't imply that it's okay to unconditionally change
6790           buffer data or buffer metadata in a pad probe callback,
6791           and a bunch of other comments. Fixes #430031.
6792
6793 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6794
6795         * win32/common/gstenumtypes.c:
6796         * win32/common/gstenumtypes.h:
6797         * win32/common/gstversion.h:
6798           Update generated files.
6799
6800 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6801
6802         * docs/manual/advanced-autoplugging.xml:
6803           Prefix section with broken code with a warning (see #342432).
6804
6805 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6806
6807         * docs/manual/appendix-integration.xml:
6808         * docs/manual/basics-init.xml:
6809           Call g_thread_init() before g_option_context_new() to
6810           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6811
6812 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6813
6814         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6815         (gst_base_sink_queue_object_unlocked),
6816         (gst_base_sink_queue_object), (gst_base_sink_event),
6817         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6818         When we received EOS and are waiting for when to post the EOS message,
6819         our state is prerolled and we should not return ASYNC.
6820         Reorganize some code paths to implement this behavior.
6821
6822         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6823         (gst_sinks_suite):
6824         Add unit test to verify above EOS fix.
6825
6826 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6827
6828         * plugins/elements/gsttypefindelement.c:
6829         (gst_type_find_element_have_type), (gst_type_find_element_init),
6830         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6831         Move detecting the input caps of the sinkpad to the setcaps function.
6832         This allows us to update the output caps when we receive new input caps
6833         instead of always using the first detected caps.
6834
6835 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6836
6837         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6838         (gst_base_sink_get_position):
6839         Don't try to preroll non-async elements after a flush.
6840         Subtract latency form clock times when reporting position.
6841
6842 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6843
6844         * gst/gstpad.c: (gst_pad_pause_task):
6845         * gst/gstutils.c:
6846         Small comment and documentation update.
6847
6848 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6849
6850         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6851         (gst_base_src_set_live), (gst_base_src_is_live),
6852         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6853         (gst_base_src_default_event), (gst_base_src_wait),
6854         (gst_base_src_do_sync), (gst_base_src_get_range),
6855         (gst_base_src_pad_get_range), (gst_base_src_loop),
6856         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6857         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6858         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6859         (gst_base_src_change_state):
6860         Rework the locking of basesrc in a similar fashion to basesink. We
6861         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6862         us to handle live sources and semi live ones much better.
6863         Simplify flushing.
6864         Fix unlocking when seeking, shutting down and pausing in live sources.
6865
6866 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6867
6868         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6869         Fix compilation again.
6870
6871 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6872
6873         * gst/gstelement.c:
6874           Use meaningful categories for the logs to clean the default one.
6875
6876 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6877
6878         * tests/check/pipelines/cleanup.c:
6879           Print message name and not just number.
6880
6881 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6882
6883         * docs/design/draft-tagreading.txt:
6884           Add some more thoughts.
6885
6886 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6887
6888         * tests/check/pipelines/simple-launch-lines.c:
6889           Print message name and not just number.
6890
6891 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6892
6893         * libs/gst/base/gsttypefindhelper.c:
6894           Speedup typefinding. This is work in progress (see #459862).
6895
6896 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6897
6898         * gst/gstplugin.c:
6899           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6900           Spotted by Josep Torra Valles <josep@fluendo.com>.
6901
6902 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6903
6904         * gst/gstclock.h:
6905           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6906           field has moved to GstObject.
6907
6908 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6909
6910         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6911         (gst_base_src_get_range), (gst_base_src_change_state):
6912         Call unlock for live sources so that they can't get stuck in _create and
6913         produce a buffer before they are set back to PLAYING.
6914
6915 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6916
6917         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6918         (gst_queue_locked_dequeue):
6919         Comment the segment-related code... in the PROPER function.
6920         See #482147 and my commit from yesterday.
6921
6922 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6923
6924         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6925         Also initialize the counter that calculates the first timestamp on a
6926         buffer correctly for non-live sources.
6927
6928 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6929
6930         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6931         Disable code that's breaking the current-time-level reporting.
6932         See #482147
6933
6934 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6935
6936         * docs/gst/gstreamer-sections.txt:
6937         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6938         as they shouldn't show up. Fixes the docs build.
6939
6940 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6941         
6942         * gst/gstinfo.h:
6943         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6944         Define M_PI which is used in files which are including gstinfo.h. 
6945         VS6 includes doesn't define it.
6946         * win32/common/libgstbase.def:
6947         * win32/common/libgstcontroller.def:
6948         * win32/common/libgstreamer.def:
6949         Add new exported functions and variables.
6950         * win32/vs6/libgstcontroller.dsp:
6951         * win32/vs6/libgstreamer.dsp:
6952         Update the list of files to build.
6953         
6954 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6955
6956         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6957
6958         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6959         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6960         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6961         Improve debugging. Fixes #480858.
6962
6963 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6964
6965         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6966
6967         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6968         First patch of code cleanups, use the macros and right arguments in the
6969         macros to signal and lock the queue. See #480858.
6970
6971 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6972
6973         * gst/gstbus.c: (poll_func):
6974         Improve debugging when dealing with _poll().
6975
6976 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6977
6978         * gst/gstregistryxml.c:
6979           Fix memory leak I introduced a few days ago.
6980
6981 2007-09-26  Michael Smith <msmith@fluendo.com>
6982
6983         * gst/gstbuffer.c: (gst_buffer_finalize):
6984           Make it once again possible to free GstBuffers in the default
6985           build.
6986           The poisoning scribbles on parts of the miniobject we need in
6987           order to free it.
6988           Fixes #480341
6989
6990 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6991
6992         * docs/gst/gstreamer-sections.txt:
6993         * gst/gsttaglist.c:
6994         * gst/gsttaglist.h:
6995         API: add GST_TAG_COMPOSER, fixes #459809.
6996
6997 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6998
6999         * gst/gstplugin.c:
7000         * gst/gstplugin.h:
7001         Add the 3-clause BSD license and the MIT/X11 license to the license
7002         list. Fixes #479784.
7003
7004 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
7005
7006         * docs/faq/getting.xml:
7007           Add Q+A about different GStreamer versions (#364056).
7008
7009 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
7010
7011         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7012         (gst_base_sink_event), (gst_base_sink_change_state):
7013         Return correct gboolean from query function.
7014
7015 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
7016
7017         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7018         (gst_base_sink_event), (gst_base_sink_query),
7019         (gst_base_sink_change_state):
7020         Simplify latency query.
7021         When not synchronizing, we can report latency without querying the peer
7022         element.
7023
7024 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
7025
7026         * gst/gstobject.h:
7027         * gst/gstvalue.c:
7028         Fix small typos in the docs.
7029
7030 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
7031
7032         * docs/design/draft-latency.txt:
7033         * docs/design/draft-push-pull.txt:
7034         * docs/design/draft-tagreading.txt:
7035         * docs/design/part-MT-refcounting.txt:
7036         * docs/design/part-activation.txt:
7037         * docs/design/part-block.txt:
7038         * docs/design/part-element-source.txt:
7039         * docs/design/part-events.txt:
7040         * docs/design/part-gstbin.txt:
7041         * docs/design/part-gstelement.txt:
7042         * docs/design/part-gstobject.txt:
7043         * docs/design/part-gstpipeline.txt:
7044         * docs/design/part-messages.txt:
7045         * docs/design/part-preroll.txt:
7046         * docs/design/part-push-pull.txt:
7047         * docs/design/part-qos.txt:
7048         * docs/design/part-query.txt:
7049         * docs/design/part-scheduling.txt:
7050         * docs/design/part-seeking.txt:
7051         * docs/design/part-segments.txt:
7052         * docs/design/part-states.txt:
7053         Documentation updates and typo fixes.
7054
7055 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
7056
7057         * plugins/elements/gstfakesink.c:
7058           Add some debug text to error message to indicate that
7059           we errored out on request.
7060
7061         * tools/gst-launch.c:
7062           When the state change to PLAYING fails, check for an
7063           error message on the bus and print it.
7064
7065 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7066
7067         translated by: Jorge González González <aloriel@gmail.com>
7068
7069         * po/LINGUAS:
7070         * po/es.po:
7071           Added Spanish translation.
7072
7073 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
7074
7075         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7076         Fix printf arguments.
7077
7078 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
7079
7080         * tests/check/generic/states.c:
7081           Improved state change unit test.
7082
7083 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
7084
7085         * gst/gstbin.h:
7086           Move priv to the right place.
7087
7088         * gst/gstsystemclock.c:
7089           Add FIXME: and improve log.
7090
7091         * tests/check/Makefile.am:
7092         * tests/examples/manual/Makefile.am:
7093           Work with all types of registries.
7094
7095 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
7096
7097         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7098         Don't unref the event after pushing it. Fixes #478401.
7099
7100 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
7101
7102         * .cvsignore:
7103         * tests/examples/manual/.cvsignore:
7104           Ignore registries in any format.
7105
7106 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
7107
7108         * gst/glib-compat-private.h:
7109           Add compatibility macro for g_intern_string() for
7110           GLib-2.8 (any reason we can't just bump the
7111           requirement to at least 2.10?)
7112
7113         * gst/gstpadtemplate.h:
7114         * gst/gstelementfactory.c:
7115         * gst/gstregistryxml.c:
7116         * gst/gstregistrybinary.c:
7117           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
7118           up the internal code accordingly.  This shouldn't be a problem, since
7119           there is no reason external code could ever assume the string in such
7120           a structure is dynamically allocated unless it did that itself;  the
7121           use of g_strdup() is private to element factories.  The new code also
7122           saves some memory by putting pad template name strings into the GLib
7123           quark table instead of allocating them dynamically.
7124           Declaring this field constant fixes warnings with g++-4.2 when using
7125           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
7126
7127 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
7128
7129         * gst/gstelementfactory.c:
7130           Release static caps. Fixes #475723.
7131
7132 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
7133
7134         * gst/gstinfo.c:
7135         * gst/gstinfo.h:
7136           Make some internal API take const gchar * instead of just
7137           gchar * to avoid compiler warnings with g++-4.2.2 when
7138           passing string constants (partially fixes #478092).
7139
7140 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
7141
7142         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
7143         A latency query fails when one of the sinks fail.
7144
7145         * gst/gstelement.c: (gst_element_set_base_time):
7146         Improve debugging.
7147
7148 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
7149
7150         * gst/gstbin.c: (gst_bin_continue_func):
7151         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7152         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
7153         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
7154
7155         Fix minor compilation warnings shown with Forte.
7156
7157 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
7158
7159         * plugins/elements/gstqueue.c: (apply_buffer),
7160         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
7161         Measure queue level based on the diff between head and tail timestamps
7162         even when pushing the first buffer.
7163
7164 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7165
7166         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7167         (gst_base_sink_event), (gst_base_sink_change_state):
7168         Sinks that don't preroll can always be queried for the latency.
7169         Don't post ASYNC start when we are not async.
7170
7171 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7172
7173         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
7174         (gst_queue_handle_sink_event), (gst_queue_chain),
7175         (gst_queue_push_one), (gst_queue_handle_src_query),
7176         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
7177         * plugins/elements/gstqueue.h:
7178         When downstream returns UNEXPECTED from pushing a buffer, don't try to
7179         push more buffers but allow pushing of EOS and NEWSEGMENT.
7180         Add some more debug info here and there. Fixes #476514.
7181
7182 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7183
7184         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7185         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
7186         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7187         (gst_base_sink_set_flushing), (gst_base_sink_query),
7188         (gst_base_sink_change_state):
7189         Latency query is allowed after we are prerolled. Introduce a new flag
7190         for this and stop abusing other variables.
7191
7192 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7193
7194         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7195         Push OOB events downstream when we get them in send_event. This allows
7196         the application to insert events in the pipeline.
7197         Add some more comments.
7198
7199 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7200
7201         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7202         (do_bin_latency), (gst_bin_change_state_func):
7203         * gst/gstpipeline.c: (gst_pipeline_change_state):
7204         Move latency query from GstPipeline to GstBin so that we can also
7205         use it when async-handling is enabled on bins.
7206
7207 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7208
7209         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7210         (gst_base_src_do_sync), (gst_base_src_change_state):
7211         Update docs.
7212         Clean up the timestamping and syncing code for pseudo live sources.
7213
7214 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
7215
7216         Patch by: Steve Fink  <sphink gmail com>
7217
7218         * docs/manual/appendix-checklist.xml:
7219           Mention less -R switch in the section about debug output (#474055).
7220
7221 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7222
7223         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7224         Queue can latency to the pipeline up to the configured max size in time.
7225         Report this fact in the latency query.
7226
7227 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7228
7229         Patch by: Sebastien Moutte <sebastien at moutte dot net>
7230
7231         * libs/gst/controller/gstinterpolation.c:
7232         * libs/gst/controller/gstlfocontrolsource.c:
7233         Use gst_guint64_to_gdouble() when converting from a uint64 or
7234         GstClockTime to double to fix the build on win32. Fixes #474371.
7235
7236 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7237
7238         * gst/gstbuffer.c: (gst_buffer_finalize):
7239         Implement poisoning for GstBuffer if --enable-poisoning is specified.
7240         When finalizing a buffer the complete struct is filled with 0xff,
7241         thus making a use of the buffer after the final unref impossible.
7242
7243 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7244
7245         * tests/check/libs/controller.c: (GST_START_TEST):
7246         Use fail_unless_equals_int(a, b) instead of
7247         fail_unless_equals (a == b) to get better output on failures.
7248
7249 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7250
7251         * tests/check/gst/gsturi.c:
7252           Also check for the other file URI variant on win32.
7253
7254 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7255
7256         * gst/gsturi.c: (gst_uri_get_location):
7257           If there's no hostname, we want to return 'c:/foo/bar.txt'
7258           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7259
7260         * tests/check/gst/gsturi.c:
7261           Unit test for the above and a few more things.
7262
7263 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7264
7265         * docs/design/part-live-source.txt:
7266         Add docs on how live sources should timestamp.
7267
7268         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7269         Add some more debug info.
7270         For subclasses that are live and like to sync, add aditional startup
7271         latency to sync time and timestamps so that we timstamp according to the
7272         design doc.
7273
7274 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7275
7276         * gst/gstbuffer.c:
7277           Also do a g_type_class_ref() for the subbuffer type in
7278           the init function.
7279
7280 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7281
7282         * docs/gst/gstreamer-sections.txt:
7283         * gst/gstpad.c: (gst_pad_peer_query):
7284         * gst/gstpad.h:
7285         Add function to perform a query on the peer of a pad.
7286         API: gst_pad_peer_query()
7287
7288 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
7289
7290         * tests/check/gst/gstsystemclock.c:
7291           Cleanup the test a little (use gst-logging and not g_message). Improve
7292           test to check if a wait reached the target.
7293
7294 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7295
7296         * docs/libs/gstreamer-libs-sections.txt:
7297           Add new API to docs and fix the build.
7298
7299 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
7300
7301         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7302         (gst_base_src_init), (gst_base_src_set_do_timestamp),
7303         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7304         (gst_base_src_get_property), (gst_base_src_do_sync):
7305         * libs/gst/base/gstbasesrc.h:
7306         Add property to make the basesrc timestamp buffers based on the current
7307         running time.
7308         API: GstBaseSrc::do-timestamp
7309         API: gst_base_src_set_do_timestamp()
7310         API: gst_base_src_get_do_timestamp()
7311
7312 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
7313
7314         * docs/random/release:
7315           Really make sure translations are up-to-date before
7316           a release (#465010).
7317
7318 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
7319
7320         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7321         Always destroy the timer, also in error cases.
7322
7323 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7324
7325         * docs/manual/highlevel-xml.xml:
7326         Fix XML example code. Fixes #472714.
7327
7328 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7329
7330         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7331         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7332         (gst_base_sink_query):
7333         Protect eos and have_preroll with the OBJECT lock so we don't need to
7334         take the PREROLL lock when querying the latency. Fixes #473846.
7335
7336 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
7337
7338         * gst/gstelement.c:
7339           Give some log-messages a category.
7340
7341 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
7342
7343         * gst/gststructure.c:
7344         (gst_structure_fixate_field_nearest_fraction):
7345         Fix fraction list fixation code. Take the fraction with the smallest
7346         difference with the target instead of the first one in the list.
7347
7348         * tests/check/gst/gststructure.c: (GST_START_TEST),
7349         (gst_structure_suite):
7350         Added test to verify correct fraction list fixation behaviour.
7351
7352 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
7353
7354         * win32/common/libgstreamer.def:
7355           Export gst_bus_add_signal_watch too.
7356
7357 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
7358
7359         * docs/libs/gstreamer-libs-sections.txt:
7360         Add new methods to docs.
7361
7362         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7363         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7364         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7365         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7366         * libs/gst/base/gstbasesink.h:
7367         Add ts-offset property to fine-tune the synchronisation.
7368         API: GstBaseSink::ts-offset property
7369         API: gst_base_sink_set_ts_offset()
7370         API: gst_base_sink_get_ts_offset()
7371
7372 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
7373
7374         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7375         (gst_base_sink_init), (gst_base_sink_set_sync),
7376         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7377         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7378         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7379         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7380         (gst_base_sink_get_property), (gst_base_sink_change_state):
7381         * libs/gst/base/gstbasesink.h:
7382         Add async property to instruct the sink never to inform the parent about
7383         ASYNC state changes, update docs.
7384         Check argument with g_return_* for the public functions.
7385         API: GstBaseSink::async property
7386         API: gst_base_sink_set_async_enabled()
7387         API: gst_base_sink_is_async_enabled()
7388
7389 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
7390
7391         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7392         Improve debugging.
7393
7394         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7395         (gst_base_src_default_query), (gst_base_src_wait),
7396         (gst_base_src_do_sync), (gst_base_src_change_state):
7397         Rearrange some code so that we can add support for measuring the 
7398         startup latency.
7399
7400 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
7401
7402         * docs/random/ensonic/dynlink.txt:
7403           More thoughs on this.
7404
7405         * plugins/elements/gstcapsfilter.c:
7406           Add bugzilla ticket number to FIXME comment.
7407
7408 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
7409
7410         * docs/design/part-TODO.txt:
7411         * docs/design/part-block.txt:
7412         Update some docs.
7413
7414 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7415
7416         * gst/Makefile.am:
7417           Revert patch which uses $(gst_headers) instead of $^ because it
7418           breaks make dist.
7419
7420 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7421
7422         * tests/check/gst/gstbin.c: (GST_START_TEST):
7423           Fix leaks in the new unit test.
7424
7425 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7426
7427         * gst/gst.c:
7428           Don't use GST_INFO before the debug system is actually initialised
7429           (shouldn't do any harm, but won't print anything either, so we can
7430           just as well remove it).
7431
7432         * gst/gstinfo.h:
7433           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7434           compilers that don't support variadic macros (such as MSVC), should
7435           check for debug_level <= __gst_debug_min as well, since that's the
7436           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7437           inline helper functions. Should improve performance a bit, but also
7438           makes sure uses of GST_INFO et.al are ignored if the debugging
7439           system isn't initialised yet (instead of printing an assertion
7440           failure).
7441
7442 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7443
7444         patch by: David Nečas <yeti@physics.muni.cz>
7445
7446         * gst/Makefile.am:
7447           Replace some non portable makefile constructs.
7448
7449 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7450
7451         * common/gtk-doc-plugins.mak:
7452           Grrrrr. Don't remove the types file on make clean.
7453
7454 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7455
7456         * tools/gst-launch.1.in:
7457         Add colorspace to example pipeline. Fixes #458274.
7458
7459 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7460
7461         * docs/random/release:
7462           The release manager should run 'make download-po' before making a
7463           release to make sure translations are up-to-date.
7464
7465         * po/LINGUAS:
7466         * po/be.po:
7467         * po/pl.po:
7468         * po/rw.po:
7469           Add some new translations.
7470
7471 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7472
7473         * tools/gst-launch.c: (event_loop), (main):
7474         Don´t try to do any state management when a live pipeline posts
7475         buffering messages.
7476         Also make the buffering string translatable.
7477
7478 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7479
7480         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7481         (bin_handle_async_start), (gst_bin_handle_message_func):
7482         Improve debugging.
7483         When adding elements, insert messages into the bus of the newly added
7484         element and make sure the element is the source of the message. This
7485         allows the parent bin to intercept the message and do the
7486         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7487         messages to the app (which is not allowed).
7488         Update some docs.
7489
7490         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7491         Fix testsuite so that is does not work around messages that should not
7492         have been posted in the first place.
7493
7494 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7495
7496         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7497         (update_degree), (gst_bin_sort_iterator_next):
7498         Fix annoying bug in the sorted iterator where a sink that is not really
7499         a sink (when it has downstream links) screwed up the iterator.
7500
7501         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7502         Unit test to verify the fix.
7503
7504 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7505
7506         * gst/gstmessage.h:
7507         Add some more docs for the messages.
7508
7509         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7510         (gst_base_sink_query):
7511         Add some more debugging.
7512
7513         * tools/gst-launch.c: (event_loop):
7514         When interrupting, don't try to set pipeline to PAUSED twice.
7515
7516 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7517
7518         
7519         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7520         (bin_handle_async_start), (gst_bin_handle_message_func):
7521         Move ASYNC_START message posting to where it belongs, similar to
7522         async_done. 
7523         Don't post ASYNC_START when we are in error. 
7524         Post ASYNC_START when we added an async element to a bin.
7525
7526 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7527
7528         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7529         generation from vargs. Fixes #466595.
7530
7531 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7532
7533         * gst/gstbin.c: (gst_bin_element_set_state):
7534         Always change the state of a NO_PREROLL element even if it has ASYNC
7535         elements inside (in case of a bin).
7536
7537         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7538         Unit test for this case.
7539
7540 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7541
7542         * libs/gst/check/gstbufferstraw.c:
7543         * libs/gst/check/gstcheck.h:
7544         * libs/gst/controller/gstcontroller.c:
7545         * libs/gst/controller/gstcontrolsource.h:
7546         * libs/gst/controller/gstlfocontrolsource.h:
7547         * plugins/elements/gstcapsfilter.h:
7548         * plugins/elements/gstfdsink.h:
7549         * plugins/elements/gstfdsrc.h:
7550           Add more missing docs.
7551
7552 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7553
7554         * gst/gststructure.c:
7555         Add Since tag to docs.
7556
7557 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7558
7559         * docs/gst/gstreamer-sections.txt:
7560         * gst/gststructure.c: (gst_structure_get_uint):
7561         * gst/gststructure.h:
7562         Add function to get uint from a structure.
7563         API: gst_structure_get_uint()
7564
7565 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7566
7567         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7568         (gst_caps_intersect):
7569         Fix proper check for simple caps.
7570
7571 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7572
7573         * docs/gst/Makefile.am:
7574         * docs/libs/Makefile.am:
7575           Remove cruft and do some cleanups.
7576
7577         * docs/gst/gstreamer-docs.sgml:
7578         * docs/libs/gstreamer-libs-docs.sgml:
7579           Prepare for comming gtkdoc features (rebase against online docs).
7580
7581 2007-08-10  Michael Smith <msmith@fluendo.com>
7582
7583         * docs/gst/gstreamer-sections.txt:
7584           Add gst_registry_add_path to docs.
7585
7586 2007-08-10  Michael Smith <msmith@fluendo.com>
7587
7588         * gst/gstregistry.h:
7589           Add gst_registry_add_path, which was missing from this header.
7590
7591 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7592
7593         * libs/gst/controller/gstlfocontrolsource.c:
7594           Printf format fix.
7595
7596 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7597
7598         * libs/gst/base/gstbasesink.c:
7599           Don't send an async_start message during downwards state change if 
7600           target state is less than READY
7601
7602 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7603
7604         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7605
7606         * po/LINGUAS:
7607         * po/hu.po:
7608           Added Hungarian translation.
7609
7610 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7611
7612         * po/fi.po:
7613         * po/it.po:
7614         * po/nl.po:
7615         * po/sv.po:
7616         * po/uk.po:
7617           Updated translations.
7618
7619 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7620
7621         * libs/gst/controller/Makefile.am:
7622         Dist gstlfocontrolsourceprivate.h
7623
7624 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7625
7626         * docs/libs/gstreamer-libs.types:
7627         Don't register the enum type gst_lfo_waveform_get_type() in the
7628         .types file - only GObject derived types belong.
7629
7630 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7631
7632         Patch by: <arenevier at fdn dot fr>
7633
7634         * gst/gstbuffer.h:
7635         Remove comma from last element in enum to avoid compile errors when
7636         using -pendantic. Fixes #464366.
7637
7638 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7639
7640         * docs/design/part-TODO.txt:
7641         Add some more TODO items
7642
7643         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7644         Improve debugging.
7645
7646         * gst/gstcaps.c: (gst_caps_intersect):
7647         Optimize trivial intersection case between identical caps pointers.
7648
7649         * gst/gstelement.c: (gst_element_continue_state),
7650         (gst_element_set_state_func):
7651         * gst/gstpad.c:
7652         Fix spelling and grammar mistakes.
7653
7654 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7655
7656         * po/POTFILES.in:
7657         * po/POTFILES.skip:
7658           Update POTFILES. Fixes #461599.
7659
7660 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7661
7662         * gst/gst.c:
7663         Fix confusing typo in debug output.
7664
7665 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7666
7667         reviewed by: Stefan Kost <ensonic@users.sf.net>
7668
7669         * libs/gst/controller/Makefile.am:
7670         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7671         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7672         (gst_lfo_control_source_new),
7673         (gst_lfo_control_source_set_waveform),
7674         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7675         (gst_lfo_control_source_finalize),
7676         (gst_lfo_control_source_dispose),
7677         (gst_lfo_control_source_set_property),
7678         (gst_lfo_control_source_get_property),
7679         (gst_lfo_control_source_class_init):
7680         * libs/gst/controller/gstlfocontrolsource.h:
7681         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7682         API: Add GstLFOControlSource, a control source that gives values
7683         for specific timestamps based on several periodic waveforms.
7684         Fixes #459717.
7685
7686         * tests/check/libs/controller.c: (GST_START_TEST),
7687         (gst_controller_suite):
7688         * docs/libs/gstreamer-libs-docs.sgml:
7689         * docs/libs/gstreamer-libs-sections.txt:
7690         * docs/libs/gstreamer-libs.types:
7691         Add documentation and unit tests for GstLFOControlSource.
7692
7693 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7694
7695         * configure.ac:
7696         Back to CVS
7697
7698 === release 0.10.14 ===
7699
7700 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7701
7702         * configure.ac:
7703           releasing 0.10.14, "Breathing Vacuum"
7704
7705 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7706
7707         * gst/gstelement.c: (gst_element_class_set_details_simple):
7708         * gst/gstelement.h:
7709           Make strings passed to gst_element_class_set_details_simple()
7710           constant, as they should be (#462752).
7711
7712 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7713
7714         * gst/gstbin.c: (gst_bin_change_state_func),
7715         (bin_handle_async_done), (gst_bin_handle_message_func):
7716         Don't forget about the fact that some element went ASYNC even after a
7717         resync. This makes us post the ASYNC_DONE message correctly.
7718         Fixes #462558.
7719
7720 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7721
7722         * gst/gstregistry.c: (gst_registry_add_feature):
7723         When replacing an existing feature in the registry, make sure to
7724         continue holding a reference until we've replaced the name string
7725         within our feature hash table. Make sure to use g_hash_table_replace
7726         instead of g_hash_table_insert to ensure the new name string is used
7727         as a key instead of the old one that we're about to free.
7728         Fixes: #462085
7729
7730 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7731
7732         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7733         (gst_plugin_feature_set_name):
7734         Revert patch from #459466 until after the release and we can work
7735         out exactly what the problem is (if any).
7736
7737 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7738
7739         * docs/gst/gstreamer-sections.txt:
7740         * gst/gsttaglist.c:
7741         * gst/gsttaglist.h:
7742           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7743
7744 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7745
7746         * docs/libs/Makefile.am:
7747         Include our build-prefix libs and includes before the generic ones to
7748         avoid linking against the installed libs when we want the build-tree
7749         ones.
7750
7751 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7752
7753         Patch by: Steve Fink  <sphink gmail com>
7754
7755         * docs/pwg/building-testapp.xml:
7756           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7757           if people try to build or install the example from the plugin
7758           template against a GStreamer from package using the configure
7759           defaults.
7760
7761 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7762
7763         Patch by: Steve Fink  <sphink gmail com>
7764
7765         * tools/gst-inspect.1.in:
7766           Document --print-all and --print-plugin-auto-install-info command
7767           line options in man page.
7768
7769 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7770
7771         * docs/gst/gstreamer-sections.txt:
7772         Add docs for new api function.
7773
7774 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7775
7776         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7777         * gst/gstelementfactory.h:
7778         API: gst_element_factory_has_interface()
7779         Added method to check if an element factory implements a named
7780         interface.
7781
7782 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7783
7784         * configure.ac:
7785         * docs/gst/gstreamer.types.in:
7786           Another conditional doc check.
7787
7788         * gst/gstmessage.c:
7789         * gst/gstparamspecs.h:
7790         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7791         * gst/gstvalue.c:
7792         * gst/gstxml.h:
7793           API-doc fixes.
7794
7795 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7796
7797         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7798         (gst_registry_binary_load_feature),
7799         (gst_registry_binary_load_plugin),
7800         (gst_registry_binary_read_cache):
7801           Print error just once and with additional info.
7802
7803 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7804
7805         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7806         (helper_find_suggest), (helper_find_get_length),
7807         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7808         (gst_type_find_helper_for_buffer):
7809           Cleanup the typefindhelper code and add private doc comments.
7810
7811 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7812
7813         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7814         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7815         Fix capsfilter for cases where the caps set on capsfilter will provide
7816         additional information.
7817         Fixes #449197
7818
7819 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7820
7821         * gst/gsttypefindfactory.c:
7822           Fix docs that recommened wrong function to use.
7823
7824 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7825
7826         * tools/gst-inspect.c: (print_plugin_features):
7827           Also give media-type for typefinders in element output.
7828
7829 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7830
7831         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7832         (gst_registry_remove_features_for_plugin_unlocked),
7833         (gst_registry_add_feature), (gst_registry_remove_feature),
7834         (gst_registry_lookup_feature_locked):
7835         * gst/gstregistry.h:
7836           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7837           Fixes #459501.
7838
7839 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7840
7841         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7842         (gst_plugin_feature_set_name):
7843           Avoid double memory usage for pluginfeature names. Fixes #459466.
7844
7845 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7846
7847         * gst/gstpad.h:
7848           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7849           driving the pipeline may need to explicitly check for NOT_LINKED as
7850           well, since IS_FATAL doesn't cover that.
7851
7852 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7853
7854         * docs/pwg/advanced-types.xml:
7855           Fix typo and duplicate entry in video formats list.
7856
7857 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7858
7859         * libs/gst/controller/gstinterpolation.c:
7860         Also round to the nearest int when using cubic interpolation.
7861
7862 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7863
7864         * libs/gst/controller/gstinterpolation.c:
7865         When linearly interpolating integer types, round to the nearest int
7866         by adding 0.5. Don't do it for float/double types.
7867         Fixes the failing controller test on my machine, which is somehow
7868         rounding differently than on the buildbots.
7869
7870 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7871
7872         * tools/gst-plot-timeline.py:
7873           Better log parsing (categories can have -). Adjust text vs. lines, so
7874           that they span the same y-range.        
7875
7876 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7877
7878         * docs/random/ensonic/audiobaseclasses.txt:
7879         * docs/random/ensonic/dynlink.txt:
7880         * docs/random/ensonic/profiling.txt:
7881           Save my thoughts.
7882
7883         * docs/random/moving-plugins:
7884           Add note to use g_assert type macros.
7885
7886 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7887
7888         * configure.ac:
7889         * libs/gst/check/Makefile.am:
7890           Add libm check as we use in for plugins.
7891
7892 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7893
7894         * gst/gstbin.c: (gst_bin_continue_func):
7895         Check that the state_cookie hasn't changed since the continue_func
7896         was scheduled. Avoids problems where the state changes back to
7897         something it shouldn't be because it was changed in the meantime.
7898
7899 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7900
7901         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7902         (gst_registry_binary_save_string),
7903         (gst_registry_binary_save_pad_template),
7904         (gst_registry_binary_save_feature),
7905         (gst_registry_binary_save_plugin),
7906         (gst_registry_binary_load_feature),
7907         (gst_registry_binary_load_plugin),
7908         (gst_registry_binary_read_cache):
7909           Fix memory leak. Be less verbose in the log.
7910
7911 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7912
7913         * tests/check/elements/.cvsignore:
7914         Add file to cvsignore as commanded.
7915
7916 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7917
7918         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7919         (mq_dummypad_event), (run_output_order_test):
7920         Use a GStaticMutex to protect all cases where libcheck
7921         fail_if/fail_unless macros might be called from multiple threads
7922         simultaneously to avoid errors like:
7923           "check_pack.c:107: :-1081725400:Bad message type arg"
7924
7925 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7926
7927         * tests/check/pipelines/stress.c: (GST_START_TEST):
7928         Make sure we set the pipeline back to the NULL state before
7929         dropping our final reference.
7930
7931 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7932
7933         * tests/check/elements/tee.c: (GST_START_TEST):
7934         Make the tee stress-test a little less stressful so it doesn't just
7935         time out on slow-machines, and remove a small race when it's starting 
7936         up by adding a get_state() call.
7937
7938 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7939
7940         * gst/gst.c:
7941           Avoid reading registry twice on startup. Fixes #457322.
7942
7943 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7944
7945         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7946         * pkgconfig/gstreamer-check.pc.in:
7947         Substitute the CFLAGS for libcheck into our .pc file too so that
7948         dependent modules will pick it up properly if libcheck is installed
7949         into some other prefix.
7950
7951 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7952
7953         * configure.ac:
7954         Revert the pkg-config check for libcheck, since it pulls in the
7955         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7956         a proper solution, either from the check project, or something else.
7957
7958 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7959
7960         * configure.ac:
7961           Use pkg-config to locate check.
7962
7963 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7964
7965         * gst/gsttaglist.c:
7966           Fix doc syntax.
7967
7968         * gst/gstutils.c:
7969         * gst/gstutils.h:
7970           Add deprecation guards.
7971
7972         * libs/gst/base/gstcollectpads.h:
7973           Don't document object (this is implicitly private).
7974
7975 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7976
7977         * gst/gststructure.c: (gst_structure_parse_value):
7978           When deserialising foo=bar without a type cast, check if it's a
7979           boolean before falling back to a string type, otherwise things like
7980           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7981           because the filtercaps end up having a signed=(string)true field,
7982           which causes problems later when intersection caps.
7983
7984         * tests/check/gst/gststructure.c: (GST_START_TEST):
7985           Add a unit test for this.
7986
7987 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7988
7989         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7990
7991         * libs/gst/controller/Makefile.am:
7992         * libs/gst/controller/gstcontroller.c:
7993         (gst_controlled_property_add_interpolation_control_source),
7994         (gst_controlled_property_new), (gst_controlled_property_free),
7995         (gst_controller_find_controlled_property),
7996         (gst_controller_new_valist), (gst_controller_new_list),
7997         (gst_controller_new), (gst_controller_remove_properties_valist),
7998         (gst_controller_remove_properties_list),
7999         (gst_controller_remove_properties),
8000         (gst_controller_set_property_disabled),
8001         (gst_controller_set_disabled), (gst_controller_set_control_source),
8002         (gst_controller_get_control_source), (gst_controller_get),
8003         (gst_controller_sync_values), (gst_controller_get_value_array),
8004         (_gst_controller_dispose), (gst_controller_get_type),
8005         (gst_controlled_property_set_interpolation_mode),
8006         (gst_controller_set), (gst_controller_set_from_list),
8007         (gst_controller_unset), (gst_controller_unset_all),
8008         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
8009         * libs/gst/controller/gstcontroller.h:
8010         * libs/gst/controller/gstcontrollerprivate.h:
8011         * libs/gst/controller/gstcontrolsource.c:
8012         (gst_control_source_class_init), (gst_control_source_init),
8013         (gst_control_source_get_value),
8014         (gst_control_source_get_value_array), (gst_control_source_bind):
8015         * libs/gst/controller/gstcontrolsource.h:
8016         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
8017         (gst_object_get_control_source):
8018         * libs/gst/controller/gstinterpolation.c:
8019         (gst_interpolation_control_source_find_control_point_node),
8020         (gst_interpolation_control_source_get_first_value),
8021         (_interpolate_none_get), (interpolate_none_get),
8022         (interpolate_none_get_boolean_value_array),
8023         (interpolate_none_get_enum_value_array),
8024         (interpolate_none_get_string_value_array),
8025         (_interpolate_trigger_get), (interpolate_trigger_get),
8026         (interpolate_trigger_get_boolean_value_array),
8027         (interpolate_trigger_get_enum_value_array),
8028         (interpolate_trigger_get_string_value_array):
8029         * libs/gst/controller/gstinterpolationcontrolsource.c:
8030         (gst_control_point_free), (gst_interpolation_control_source_reset),
8031         (gst_interpolation_control_source_new),
8032         (gst_interpolation_control_source_set_interpolation_mode),
8033         (gst_interpolation_control_source_bind),
8034         (gst_control_point_compare), (gst_control_point_find),
8035         (gst_interpolation_control_source_set_internal),
8036         (gst_interpolation_control_source_set),
8037         (gst_interpolation_control_source_set_from_list),
8038         (gst_interpolation_control_source_unset),
8039         (gst_interpolation_control_source_unset_all),
8040         (gst_interpolation_control_source_get_all),
8041         (gst_interpolation_control_source_get_count),
8042         (gst_interpolation_control_source_init),
8043         (gst_interpolation_control_source_finalize),
8044         (gst_interpolation_control_source_dispose),
8045         (gst_interpolation_control_source_class_init):
8046         * libs/gst/controller/gstinterpolationcontrolsource.h:
8047         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
8048         API: Refactor GstController into the core controller which can take
8049         a GstControlSource for providing actual values for timestamps.
8050         Implement a interpolation control source and use this for backward
8051         compatibility, deprecate a bunch of functions that are now handled
8052         by GstControlSource or GstInterpolationControlSource.
8053         Make it possible to disable the controller completely or only for
8054         specific properties. Fixes #450711.
8055         * docs/libs/gstreamer-libs-docs.sgml:
8056         * docs/libs/gstreamer-libs-sections.txt:
8057         * docs/libs/gstreamer-libs.types:
8058         Add new functions and classes to the docs.
8059         * tests/check/libs/controller.c: (GST_START_TEST),
8060         (gst_controller_suite):
8061         * tests/examples/controller/audio-example.c: (main):
8062         Port unit test and example to the new API and add some new
8063         unit tests.
8064
8065 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
8066
8067         Patch by: Mark Nauwelaerts <manauw at skynet be>
8068
8069         * plugins/elements/gstmultiqueue.c:
8070         (gst_multi_queue_get_internal_links), (apply_buffer),
8071         (single_queue_overrun_cb), (gst_single_queue_new):
8072         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
8073         the pipeline layout can be tracked correctly. Fixes #453732.
8074
8075 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
8076
8077         * docs/gst/Makefile.am:
8078         * docs/libs/Makefile.am:
8079         * docs/plugins/Makefile.am:
8080           Simplify --extra-dir as gtkdoc scans recursively.
8081
8082 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
8083
8084         * tools/gst-launch.c: (main):
8085         When we got an error, there is no point in waiting for preroll when
8086         shutting down.
8087
8088 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
8089
8090         * plugins/elements/gsttee.c: (gst_tee_base_init),
8091         (gst_tee_request_new_pad), (gst_tee_release_pad),
8092         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
8093         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
8094         (gst_tee_chain):
8095         Be a lot smarter when deciding what srcpad to use for proxying
8096         the buffer_alloc. Also handle pad added/removed when doing so.
8097         Fixes #357959.
8098         Keep track of what pads we already pushed on in case we have pads
8099         added/removed while pushing. Fixes #374639 
8100
8101         * tests/check/Makefile.am:
8102         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
8103         (tee_suite):
8104         Added unit test for pad resync.
8105
8106 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8107
8108         * po/nl.po:
8109         * po/sv.po:
8110           Updated translations.
8111
8112 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8113
8114         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
8115
8116         * po/LINGUAS:
8117         * po/fi.po:
8118           Added new Finnish translation.
8119
8120 2007-06-28  Wim Taymans  <wim@fluendo.com>
8121
8122         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8123         (single_queue_overrun_cb):
8124         When figuring out when a queue is filled, use our internal time estimate
8125         based on segments, just like check_full does.
8126
8127 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
8128
8129         * gst/gstminiobject.c: (gst_mini_object_get_type):
8130           Remove 3 do-nothing methods.
8131
8132 2007-06-27  Wim Taymans  <wim@fluendo.com>
8133
8134         Patch by: Tim Angus <tim at ngus dot net>
8135
8136         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8137         (gst_capsfilter_set_property):
8138         Take a reference instead of a copy when setting "caps".
8139         Fix documentation to clarify this behaviour. Fixes #449414.
8140
8141 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
8142
8143         * gst/gstindexfactory.c: (gst_index_factory_get_type):
8144         * gst/gstplugin.c: (gst_plugin_init):
8145         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
8146         * gst/gstquery.c: (gst_query_get_type):
8147         * gst/gstregistry.c: (gst_registry_init):
8148         * gst/gsturi.c: (gst_uri_handler_base_init):
8149           Remove empty instance_init() functions to save relocs and lessen the
8150           noise. Remove some of the function prototypes that are doubled by
8151           G_DEFINE_TYPE.
8152           
8153 2007-06-27  Wim Taymans  <wim@fluendo.com>
8154
8155         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
8156
8157         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
8158         Add peer and direction in the XML serialisation of ghostpads.
8159         Fixes #449226.
8160
8161 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
8162
8163         * configure.ac:
8164           Preserve useful information, thanks Tim.
8165
8166 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
8167
8168         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8169         (gst_single_queue_flush), (apply_segment), (apply_buffer),
8170         (gst_single_queue_push_one), (gst_multi_queue_loop),
8171         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8172         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
8173         (compute_high_id), (gst_single_queue_new):
8174         * plugins/elements/gstmultiqueue.h:
8175         Take the multiqueue lock when updating the fill level so we don't get
8176         confused. 
8177
8178         After applying a buffer or event on the src pad segment, make sure to
8179         call gst_data_queue_limits_changed() to get the data queue to unblock
8180         and check the filled state again.
8181         
8182         Rework the not-linked pad handling so the logic is that not-linked 
8183         pads can push as fast as they like, but only so they never get 
8184         ahead of any linked pads.
8185
8186         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8187         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8188         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8189
8190         Add a test to check that not-linked pads always stay behind
8191         linked pads.
8192
8193         Fixes: #430682
8194
8195 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
8196
8197         * docs/random/release:
8198           Some updates to the release procedure.
8199
8200 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
8201
8202         * gst/gstelementfactory.c: (__gst_element_details_clear):
8203           Microoptimization that saves stunning 80 bytes.
8204
8205 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
8206
8207         * docs/plugins/gstreamer-plugins.args:
8208         * docs/plugins/inspect/plugin-coreelements.xml:
8209         * docs/plugins/inspect/plugin-coreindexers.xml:
8210           Update docs with caps info.
8211
8212 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8213
8214         * po/it.po:
8215           Updated Italian translation.
8216
8217 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8218
8219         * ChangeLog:
8220         * po/vi.po:
8221           Update Vietnamese translations.
8222
8223 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8224
8225         * libs/gst/base/gstbasesink.c:
8226           Remove unused signal enum.
8227
8228 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8229
8230         * docs/gst/gstreamer-sections.txt:
8231         * gst/gstelement.c:
8232         * gst/gstutils.c: (gst_type_register_static_full):
8233         Beef up and include the docs for gst_type_register_static_full and
8234         gst_element_class_set_details_simple and add the API keyword
8235         in the ChangeLog.
8236
8237 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8238
8239         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8240         (update_time_level), (gst_single_queue_push_one),
8241         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8242         (single_queue_overrun_cb), (single_queue_underrun_cb),
8243         (single_queue_check_full):
8244         Fix setting max-* properties after adding queues.
8245         Use IS_FILLED for checking visible items.
8246         Signal overrun if multiple queues overrun.
8247         Add extra debug output.
8248         Patch by: Wim Taymans <wim@fluendo.com>
8249
8250 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
8251
8252         * gst/gstelement.c: (gst_element_class_set_details_simple):
8253         * gst/gstelement.h:
8254         * gst/gstutils.c: (gst_type_register_static_full):
8255         * gst/gstutils.h:
8256         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8257         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8258         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8259         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8260         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8261         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8262         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8263         * plugins/elements/gstidentity.c: (gst_identity_base_init):
8264         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8265         * plugins/elements/gstqueue.c: (gst_queue_base_init),
8266         (apply_buffer), (gst_queue_chain):
8267         * plugins/elements/gsttee.c: (gst_tee_base_init):
8268         * plugins/elements/gsttypefindelement.c:
8269         (gst_type_find_element_base_init),
8270         (gst_type_find_element_class_init):
8271           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8272           API: add gst_type_register_static_full
8273           API: add gst_element_class_set_details_simple
8274
8275 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8276
8277         * docs/pwg/advanced-types.xml:
8278           Fix typo in iana.org URI.
8279
8280 2007-06-19  Andy Wingo  <wingo@pobox.com>
8281
8282         * tests/check/pipelines/simple-launch-lines.c
8283         (test_state_change_returns): Enable pull-mode tests now that
8284         basesink has been fixed.
8285
8286         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8287         Changed from gst_base_sink_is_prerolled, reversing the sense of
8288         the return value. Returns FALSE also if the sink is in pull mode,
8289         in which case it needs no preroll.
8290         (gst_base_sink_query, gst_base_sink_change_state): Update for
8291         needs_preroll change.
8292         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8293         chaining up, in which we return SUCCESS directly if we activated
8294         in pull mode instead of ASYNC. Involves countering an async_start
8295         message sent before chaining up; not sure if this is correct, in
8296         an ideal world we only send async-start when activating in push
8297         mode.
8298
8299         * tests/check/pipelines/simple-launch-lines.c
8300         (test_state_change_returns): New test, partially disabled until
8301         basesink is fixed.
8302
8303 2007-06-19  Wim Taymans  <wim@fluendo.com>
8304
8305         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8306         (gst_multi_queue_sink_event):
8307         Fix event leak.
8308
8309 2007-06-19  Wim Taymans  <wim@fluendo.com>
8310
8311         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8312         (gst_bin_change_state_func), (bin_push_state_continue),
8313         (bin_handle_async_start), (bin_handle_async_done),
8314         (gst_bin_handle_message_func):
8315         Move the common code for posting state-change messages into
8316         one function.
8317         Broadcast the state signal after we posted the messages.
8318         Mark the bin as busy when it's doing a state-change.
8319         Make sure async-start/done messages don't interfere with the bin's
8320         state when it's busy.
8321         After the state change, let the bin check which elements completed the
8322         state change while it was busy so that it can update its state.
8323
8324 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
8325
8326         * docs/random/release:
8327         Add a note about updating the doap file to the release checklist
8328
8329 2007-06-18  Wim Taymans  <wim@fluendo.com>
8330
8331         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8332         (gst_single_queue_push_one), (gst_multi_queue_chain),
8333         (gst_multi_queue_sink_event):
8334         Make sure we don't reference the buffer/event after we have given away
8335         ownership in the queue.
8336
8337 2007-06-18  Wim Taymans  <wim@fluendo.com>
8338
8339         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8340         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8341         Update queue state _after_ adding the item in the queue because else we
8342         could end up being full without the element added yet.
8343
8344 2007-06-18  Wim Taymans  <wim@fluendo.com>
8345
8346         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8347         (gst_bin_remove_func), (gst_bin_get_state_func),
8348         (gst_bin_element_set_state), (gst_bin_continue_func),
8349         (bin_push_state_continue), (bin_handle_async_start),
8350         (bin_handle_async_done), (gst_bin_handle_message_func):
8351         * gst/gstbin.h:
8352         Immediatly commit the toplevel bin state when receiving an async-done
8353         message. This enables us to avoid spawning a thread to commit the state
8354         in some common cases and it also avoids some races.
8355         Avoid spawning a state thread when adding/removing async elements to a
8356         toplevel bin. Instead we immediatly update the bin state.
8357         Get rid of iterating all the children when getting the state in the bin
8358         because it is now always up-to-date.
8359         Fix bug where locked elements would always return _SUCCESS even it they
8360         returned NO_PREROLL before being locked.
8361         Fix the order of the state_change, async-start/done messages that was
8362         sometimes incorrect.
8363         Mark the state_dirty field as deprecated, we don't need it anymore as we
8364         are always up-to-date.
8365
8366         * gst/gstelement.c: (gst_element_get_state_func),
8367         (gst_element_continue_state):
8368         Small debug inprovements.
8369         Return the previous element state return when nothing is pending instead
8370         of blindly returning SUCCESS.
8371
8372         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8373         (gst_sinks_suite):
8374         Add a whole bunch of new testcases.
8375
8376 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8377
8378         * po/uk.po:
8379         * po/vi.po:
8380           Update translations.
8381
8382 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
8383
8384         * gst/gstpad.c:
8385         Fix typo in the docs.
8386
8387 2007-06-15  Wim Taymans  <wim@fluendo.com>
8388
8389         * docs/libs/gstreamer-libs-sections.txt:
8390         Add docs for new methods.
8391
8392 2007-06-15  Wim Taymans  <wim@fluendo.com>
8393
8394         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8395         (gst_multi_queue_item_new):
8396         Don't use GSlice because we don't depend on >= 2.10 yet.
8397
8398 2007-06-15  Wim Taymans  <wim@fluendo.com>
8399
8400         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8401         (update_time_level), (apply_segment), (apply_buffer),
8402         (gst_single_queue_push_one), (gst_multi_queue_item_new),
8403         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8404         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8405         (single_queue_underrun_cb), (single_queue_check_full):
8406         Remove debug printf.
8407
8408 2007-06-15  Wim Taymans  <wim@fluendo.com>
8409
8410         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8411         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8412         (gst_data_queue_set_flushing), (gst_data_queue_push),
8413         (gst_data_queue_pop), (gst_data_queue_drop_head),
8414         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8415         * libs/gst/base/gstdataqueue.h:
8416         Various cleanups.
8417         Added methods to get the current levels and to inform the queue that the
8418         'full' limits changed.
8419
8420         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8421         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8422         (gst_single_queue_flush), (update_time_level), (apply_segment),
8423         (apply_buffer), (gst_single_queue_push_one),
8424         (gst_multi_queue_item_steal_object),
8425         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8426         (gst_multi_queue_loop), (gst_multi_queue_chain),
8427         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8428         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8429         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8430         (single_queue_underrun_cb), (single_queue_check_full),
8431         (gst_single_queue_new):
8432         Keep track of time in the queue by measuring the difference between
8433         running_time on input and output. This gives more accurate results and
8434         can compensate for segments correctly.
8435         Make a queue by default only 5 buffers deep. We will now increase the
8436         buffer size depending on the filledness of the other queues.
8437         Factor out commong flush code.
8438         Make sure we don't add additional refcounts to buffers when we can avoid
8439         it.
8440         Propagate GstFlowReturn differently.
8441         Use GSlice for intermediate GstMultiQueueItems.
8442         Keep track of EOS.
8443         Resize queues on over and underruns based on filled level of other
8444         queues.
8445         When checking if the queue is filled, prefer to measure in time if we
8446         can and fall back to bytes when no time is known.
8447
8448         * plugins/elements/gstqueue.c:
8449         Fix return value.
8450
8451 2007-06-15  Wim Taymans  <wim@fluendo.com>
8452
8453         * libs/gst/base/gstbasetransform.c:
8454         (gst_base_transform_sink_event):
8455         Work around the brokenness of the event vmethod in basetransform. Prefer
8456         to return TRUE when the subclass returned FALSE (meaning don't forward
8457         the event). 
8458
8459         * libs/gst/base/gstbasetransform.h:
8460         Clarify the docs.
8461
8462 2007-06-15  Wim Taymans  <wim@fluendo.com>
8463
8464         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8465         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8466         (gst_base_src_default_query), (gst_base_src_get_range),
8467         (gst_base_src_start):
8468         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8469         Improve debugging.
8470
8471 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8472
8473         * docs/pwg/advanced-types.xml:
8474           Added more formats to caps table.
8475
8476 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8477
8478         * tools/gst-launch.c: (main):
8479           Remove crufy code. GOption does not need this workaround.
8480
8481 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8482
8483         * libs/gst/controller/gstcontroller.c:
8484         (gst_controlled_property_set_interpolation_mode):
8485           Fix wrong getter for enums in controller.
8486
8487 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8488
8489         * libs/gst/check/gstcheck.c: (gst_check_init):
8490           Intercept criticals and warnings in the Gst-Phonon log domain, so
8491           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8492           well.
8493         
8494 2007-06-14  Edward Hervey  <edward@fluendo.com>
8495
8496         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8497         Since this file doesn't include "gst.h" it will not go through the
8498         macros that disable GST_LOG if debugging was disabled.
8499
8500 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8501
8502         * libs/gst/check/Makefile.am:
8503         * libs/gst/check/gstcheck.h:
8504         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8505         * pkgconfig/gstreamer-check.pc.in:
8506           Ugly 'fix' for the controller unit test on the p5 bot: in
8507           fail_unless_equals_float() check whether the values are 'almost
8508           equal' by allowing a small absolute error, which should be good
8509           enough for our use cases (normal numbers and values close to 0).
8510           Proper fixage left to floating point arithmetic aficionados.
8511
8512 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8513
8514         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8515         (gst_base_sink_render_object), (gst_base_sink_get_position):
8516           Add two breaks thats where missing.
8517
8518 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8519
8520         * docs/libs/gstreamer-libs-sections.txt:
8521         * libs/gst/check/gstcheck.h:
8522           API: add fail_unless_equals_float() and assert_equals_float().
8523           Add documentation for some of the macros.
8524
8525         * tests/check/libs/controller.c: (GST_START_TEST):
8526           Use newly-added asserts.
8527
8528 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8529
8530         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8531           Show the caps change in the log to help spotting the case of not
8532           exactly matching caps.
8533
8534 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8535
8536         * docs/pwg/building-boiler.xml:
8537           Fix typos, spotted by Thijs Vermeir (#447190).
8538
8539 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8540
8541         * docs/plugins/tmpl/.cvsignore:
8542         Ignore file to keep the buildbots happy
8543
8544 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8545
8546         * docs/plugins/Makefile.am:
8547         * docs/plugins/gstreamer-plugins-docs.sgml:
8548         * docs/plugins/gstreamer-plugins-sections.txt:
8549         Pull fdsink into the docs too.
8550
8551 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8552
8553         * libs/gst/controller/gstinterpolation.c:
8554         Actually use the new functions with min/max checks for the trigger and
8555         none interpolation modes for get() and get_value_array() instead of
8556         just the latter.
8557
8558 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8559
8560         * libs/gst/controller/gstcontroller.c:
8561         (gst_controlled_property_free):
8562         Unset the minimum and maximum GValues when freeing the corresponding
8563         GstControllerProperty struct.
8564
8565 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8566
8567         * libs/gst/controller/gstcontroller.c:
8568         (gst_controlled_property_new):
8569         * libs/gst/controller/gstcontrollerprivate.h:
8570         * libs/gst/controller/gstinterpolation.c:
8571         (gst_controlled_property_find_control_point_node),
8572         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8573         (interpolate_none_get_string_value_array),
8574         (interpolate_trigger_get),
8575         (interpolate_trigger_get_enum_value_array),
8576         (interpolate_trigger_get_string_value_array):
8577         Protect against values larger or smaller than the minimum or maximum
8578         allowed value for the property when using values that can be compared.
8579
8580         Optimize trigger interpolator a bit by taking the last requested value
8581         into account instead of always looping through the complete list.
8582
8583         Fix coding style a bit, everywhere else we use "return foo" instead
8584         of "return (foo)".
8585         
8586         * tests/check/libs/controller.c: (GST_START_TEST),
8587         (gst_controller_suite):
8588         Add unit test for the protection against too large or too small
8589         values.
8590
8591 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8592
8593         * docs/random/slomo/controller.txt:
8594         Add some thoughts about the future of the controller.
8595
8596 2007-06-08  Wim Taymans  <wim@fluendo.com>
8597
8598         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8599         Don't overflow in retimestamping code.
8600
8601 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8602
8603         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8604         Use gst_util_guint64_to_gdouble for conversions.
8605         * win32/common/libgstreamer.def:
8606         Add new exported functions.
8607
8608 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8609
8610         * gst/gstutils.c:
8611           Small docs addition.
8612
8613 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8614
8615         * README:
8616           Remove that test line again.
8617
8618 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8619
8620         * README:
8621           Test commit mail sending.
8622
8623 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8624
8625         * configure.ac:
8626           Fix typo and test commit mail sending.
8627
8628 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8629
8630         * tests/examples/controller/audio-example.c:
8631           Improve comment and test commit mail sending.
8632
8633 2007-06-07  Wim Taymans  <wim@fluendo.com>
8634
8635         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8636         (gst_bin_remove_func), (gst_bin_element_set_state),
8637         (bin_handle_async_start), (bin_handle_async_done),
8638         (gst_bin_handle_message_func):
8639         Add helper function to find messages.
8640         Generate the async-done messages together with the state change
8641         messages.
8642         Small cleanups in handling toplevel bins.
8643
8644 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8645
8646         * libs/gst/base/gstdataqueue.c:
8647         * libs/gst/base/gstdataqueue.h:
8648         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8649         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8650         (gst_multi_queue_sink_event):
8651         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8652           Fix multiqueue leaking buffers and events when downstream or the
8653           queue are flushing. Make refcounting assumptions explicit and
8654           document them (shouldn't break existing code that uses it other than
8655           maybe leak miniobjects, but that already happens anyway). Add unit
8656           test for the most common flushing case. Fixes #423700.
8657           
8658 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8659
8660         * libs/gst/controller/gstcontroller.c:
8661         Clarify docs: The get_all, get_value_array(s) functions
8662         don't modify the GObject properties.
8663
8664 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8665
8666         * libs/gst/controller/gstcontroller.c:
8667         (gst_controlled_property_set_interpolation_mode),
8668         (gst_controlled_property_prepend_default),
8669         (gst_controlled_property_new), (gst_controller_set_unlocked),
8670         (gst_controller_set), (gst_controller_set_from_list),
8671         (gst_controller_unset), (gst_controller_unset_all):
8672         * libs/gst/controller/gstcontrollerprivate.h:
8673         * libs/gst/controller/gstinterpolation.c:
8674         Factor out the 'set' logic into gst_controller_set_unlocked for the
8675         gst_controller_set and gst_controller_set_from_list functions.
8676
8677         To make life of the interpolators easier always add a control point
8678         at timestamp zero with the default value.
8679
8680         In the linear interpolator make things more obvious by better variable
8681         naming (slope).
8682
8683         Implement cubic interpolation mode (by using a natural cubic spline)
8684         and map the quadratic interpolation mode to this too (as quadratic
8685         doesn't make much sense, see discussion on the list).
8686
8687         * tests/check/libs/controller.c: (GST_START_TEST),
8688         (gst_controller_suite):
8689         Add unit test for the cubic interpolation mode and check everywhere
8690         if the interpolation mode could be set as expected.
8691
8692 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8693
8694         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8695           Don't use GLib-2.10 functions, we still depend on
8696           GLib-how-old-is-it-again-2.8.
8697
8698 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8699
8700         * docs/gst/gstreamer-sections.txt:
8701         * gst/Makefile.am:
8702         * gst/gst.c:
8703         * gst/gst.h:
8704         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8705         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8706         (_gst_param_fraction_values_cmp),
8707         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8708         * gst/gstparamspecs.h:
8709         * gst/gstvalue.c:
8710         * tests/check/Makefile.am:
8711         * tests/check/gst/.cvsignore:
8712         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8713         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8714         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8715         (GST_START_TEST), (gst_param_spec_suite):
8716           API: add GstParamSpecFraction, so elements can have fraction
8717           properties without lots of painful string parsing (#444648).
8718
8719 2007-06-05  Wim Taymans  <wim@fluendo.com>
8720
8721         * gst/gstobject.c: (gst_object_class_init):
8722         Fix signal signature.
8723
8724         * gst/gstsegment.c:
8725         Add small clarification in the api docs.
8726
8727         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8728         States are protected with object lock.
8729
8730 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8731
8732         * AUTHORS:
8733         I should probably be listed as an author by now.
8734
8735         * docs/random/release:
8736         Update the release doc
8737
8738 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8739
8740         * gst/gstvalue.c:
8741           Make docs for gst_value_compare() mention return enums that
8742           actually exist.
8743
8744 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8745
8746         * configure.ac:
8747           Back to CVS
8748
8749 === release 0.10.13 ===
8750
8751 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8752
8753         * configure.ac:
8754           releasing 0.10.13, "With or without you"
8755
8756 2007-05-25  Wim Taymans  <wim@fluendo.com>
8757
8758         * gst/gstbin.c: (bin_handle_async_done):
8759         Make sure that the child bin stops after completing the async state
8760         change so that the parent can continue the state change to PLAYING.
8761         Fixes #441159.
8762
8763 2007-05-25  Wim Taymans  <wim@fluendo.com>
8764
8765         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8766         (unref_data), (gst_collect_pads_remove_pad),
8767         (gst_collect_pads_check_pads):
8768         Use additional refcounting to avoid crashes when dynamically adding and
8769         removing pads. Fixes #420206.
8770
8771 2007-05-24  Wim Taymans  <wim@fluendo.com>
8772
8773         * tools/gst-launch.c: (event_loop):
8774         When buffering goes from a two digit to a single digit number, make sure
8775         to remove the old second digit by writing a blank over it.
8776
8777 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8778
8779         * libs/gst/base/gstdataqueue.c:
8780           Eliminate tabs and trailing comma in enum list; fix some typos.
8781
8782 2007-05-24  Wim Taymans  <wim@fluendo.com>
8783
8784         * tests/check/gst/gstbin.c: (GST_START_TEST):
8785         Allow refcount of 3 and 4 because some state thread might still be busy
8786         with it.
8787
8788 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8789
8790         * plugins/elements/Makefile.am:
8791         * plugins/elements/gstmultiqueue.h:
8792         * plugins/elements/gstqueue.h:
8793           These are not installed headers, no need for padding.
8794
8795 2007-05-24  Wim Taymans  <wim@fluendo.com>
8796
8797         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8798         (gst_bin_continue_func):
8799         Enable latency for next release.
8800         Restore STATE_LOCK around recalc_state that was left out during the
8801         rewrite and could result in racy behaviour when _get_state and
8802         recalc_state are run concurrently. See #440463.
8803
8804 2007-05-23  Wim Taymans  <wim@fluendo.com>
8805
8806         * tests/check/gst/gstsystemclock.c: (store_callback),
8807         (GST_START_TEST):
8808         Improve test_async_order to also work when both timers are already
8809         expired when we get scheduled to check it.
8810
8811 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8812
8813         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8814         (gst_bin_set_property), (gst_bin_get_property),
8815         (gst_bin_remove_func), (gst_bin_handle_message_func):
8816         * gst/gstbin.h:
8817           'private' is a c++ keyword, let's not use that in header files,
8818           otherwise c++ compilers will throw a tantrum.
8819
8820 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8821
8822         * plugins/elements/gstelements.c:
8823         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8824         (gst_file_sink_get_current_offset):
8825         * plugins/indexers/gstindexers.c: (plugin_init):
8826           Use #ifdef for HAVE_XYZ for consistency.
8827
8828         * tests/check/Makefile.am:
8829         * tests/check/elements/.cvsignore:
8830         * tests/check/elements/filesink.c: (setup_filesink),
8831         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8832           Add some unit tests for filesink.
8833
8834 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8835
8836         Patch by: Mark Nauwelaerts <manauw at skynet be>
8837
8838         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8839         (gst_file_sink_query), (gst_file_sink_do_seek),
8840         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8841         * plugins/elements/gstfilesink.h:
8842           Fix position reporting; rename data_written member to current_pos to
8843           reflect its real meaning (fixes #412648).
8844
8845 2007-05-22  Edward Hervey  <edward@fluendo.com>
8846
8847         * docs/gst/gstreamer-sections.txt:
8848         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8849         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8850         (gst_bin_remove_func), (gst_bin_handle_message_func):
8851         * gst/gstbin.h:
8852         Add a property for bins that handle the state change of their childs.
8853         Fixes #435880
8854
8855 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8856
8857         * libs/gst/controller/gstinterpolation.c:
8858         Use an array of the correct type when using _get_value_array with
8859         linear interpolation.
8860
8861 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8862
8863         * gst/gstelement.c (gst_element_requires_clock,
8864           gst_element_provides_clock, gst_element_request_pad,
8865           gst_element_class_set_details, gst_element_class_set_details_simple,
8866           gst_element_default_send_event, gst_element_abort_state,
8867           gst_element_continue_state, gst_element_set_state,
8868           gst_element_set_state_func, iterator_activate_fold_with_resync):
8869         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8870           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8871           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8872           gst_pad_get_range, gst_pad_pull_range):
8873         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8874           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8875           GstPadActivateModeFunction, GstPadChainFunction,
8876           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8877           GstPadFixateCapsFunction, GstPadTemplate):
8878         * gst/gstpipeline.c (gst_pipeline_change_state,
8879           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8880           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8881           gst_pipeline_get_delay):
8882           Whitespace and docs fixes.
8883
8884 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8885
8886         * libs/gst/controller/gstinterpolation.c:
8887         (interpolate_trigger_get_enum_value_array),
8888         (interpolate_trigger_get_string_value_array):
8889         Add support for retrieving value arrays when using the trigger
8890         interpolation mode. 
8891
8892 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8893
8894         * libs/gst/controller/gstcontroller.c:
8895         (gst_controller_get_value_array):
8896         * libs/gst/controller/gstcontroller.h:
8897         Clarify the docs of gst_controller_get_value_array(): The array where
8898         the values should be written to must be allocated as there seems to be
8899         no way to get the size of a random GType. This doesn't change any
8900         behaviour. Also fix some typos all over the place and remove an unused,
8901         commented function that is not necessary as g_object_set() could be
8902         used instead.
8903         * tests/check/libs/controller.c: (GST_START_TEST),
8904         (gst_controller_suite):
8905         Add unit test for gst_controller_get_value_array().
8906
8907 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8908
8909         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8910
8911         Disable part of the gst_buffer_try_new_and_alloc test, because
8912         it can happily succeed on 64-bit systems where there's more address
8913         space available.
8914
8915 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8916
8917         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8918         Add unit test for the improved caps checking from bug #421543.
8919
8920 2007-05-21  Wim Taymans  <wim@fluendo.com>
8921
8922         * docs/design/part-synchronisation.txt:
8923         Small addition.
8924
8925         * gst/gstbin.c: (gst_bin_query):
8926         * plugins/elements/gstqueue.c: (apply_segment):
8927         Improve debugging.
8928
8929         * gst/gstmessage.h:
8930         Improve docs.
8931
8932 2007-05-21  Wim Taymans  <wim@fluendo.com>
8933
8934         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8935         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8936         (gst_pad_configure_src):
8937         Added simple version of improved caps checking. It was previously
8938         assumed that a setcaps function would check the validity of the caps but
8939         people prefer us to check caps against the template automatically. 
8940         Fixes #421543.
8941
8942 2007-05-21  Wim Taymans  <wim@fluendo.com>
8943
8944         * libs/gst/base/gstbasetransform.h:
8945         Fix macro for locking/unlocking the transform lock.
8946
8947 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8948
8949         * docs/plugins/tmpl/.cvsignore:
8950           Ignore more.
8951
8952 2007-05-18  Edward Hervey  <edward@fluendo.com>
8953
8954         * plugins/elements/gstqueue.c: (gst_queue_loop):
8955         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8956         for the subtle art of warning a potentially blocking thread that it
8957         should check the source pad return value, and relay the information
8958         upstream.
8959
8960 2007-05-18  Edward Hervey  <edward@fluendo.com>
8961
8962         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8963         Release the queue lock !
8964
8965 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8966
8967         * docs/libs/gstreamer-libs-sections.txt:
8968         Add the two new controller functions to the appropiate places.
8969
8970 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8971
8972         reviewed by: Stefan Kost <ensonic@users.sf.net>
8973
8974         * libs/gst/controller/gstcontroller.c:
8975         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8976         (_gst_controller_get_property), (_gst_controller_set_property),
8977         (_gst_controller_init), (_gst_controller_class_init):
8978         * libs/gst/controller/gstcontroller.h:
8979         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8980         (gst_object_get_control_rate), (gst_object_set_control_rate):
8981         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8982         Add API that provides sync suggestion timestamps for elements that
8983         call gst_object_sync_values() from which those elements can subdivide
8984         their processing loop to get the best results for the controlled
8985         properties. For now it just suggests last_sync + control_rate as
8986         new timestamp but this will be improved in the future.
8987
8988         While doing that change the control-rate property to a GstClockTime
8989         from guint and change it's meaning from samples to nanoseconds as
8990         the GstController doesn't know anything about sampling rate. Strictly
8991         speaking this breaks ABI but as the control-rate property didn't do
8992         anything in the past and as such couldn't be used this should be no
8993         problem.        
8994
8995 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8996
8997         reviewed by: Stefan Kost <ensonic@users.sf.net>
8998
8999         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9000         (gst_controller_unset_all):
9001         * libs/gst/controller/gstcontrollerprivate.h:
9002         * libs/gst/controller/gstinterpolation.c:
9003         (gst_controlled_property_find_control_point_node):
9004         Save last synced value from the list to continue searching from there
9005         in future syncs. This speeds everything up a bit.
9006         
9007 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
9008
9009         reviewed by: Stefan Kost <ensonic@users.sf.net>
9010
9011         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
9012         (gst_control_point_find), (gst_controlled_property_new),
9013         (gst_control_point_free), (gst_controlled_property_free),
9014         (gst_controller_set), (gst_controller_set_from_list),
9015         (gst_controller_unset), (gst_controller_unset_all),
9016         (gst_controller_sync_values):
9017         * libs/gst/controller/gstcontroller.h:
9018         * libs/gst/controller/gstcontrollerprivate.h:
9019         * libs/gst/controller/gstinterpolation.c:
9020         (gst_controlled_property_find_control_point_node),
9021         (interpolate_none_get), (interpolate_trigger_get):
9022         Add a new private GstControlPoint struct which "inherits" from
9023         GstTimedValue to allow different interpolators to store internal
9024         values next to each control point. From the outside everything is
9025         still a GstControlPoint so we don't loose binary compatibility.
9026         Also fixup all the GValue handling to not leak GValues or list nodes.
9027         * tests/check/libs/controller.c: (GST_START_TEST):
9028         Free the list nodes and GValues in the controller_misc test.
9029
9030 2007-05-17  Edward Hervey  <edward@fluendo.com>
9031
9032         * gst/gstsegment.c:
9033         Small doc fix.
9034
9035 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
9036
9037         * gst/gstplugin.c: (gst_plugin_load_file):
9038           If we fail to load a plugin because of unresolved symbols or missing
9039           libraries and spew a warning to stderr, we may just as well mention
9040           which plugin it was that failed to load.
9041
9042 2007-05-13  David Schleef  <ds@schleef.org>
9043
9044         * docs/Makefile.am: the gtk-doc makefile snippet correctly
9045           handles the case when ENABLE_GTK_DOC is false, and installs
9046           the prebuilt documentation.  So gtk-doc subdirs are 
9047           unconditionally enabled.  Fixes: #349099.
9048
9049 2007-05-13  David Schleef  <ds@schleef.org>
9050
9051         * gst/gstutils.h: Reword some documentation.
9052
9053 2007-05-12  David Schleef  <ds@schleef.org>
9054
9055         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
9056           do anything with the passed "module" parameter, so remove it.
9057           Allows removal of additional vestigal code.
9058
9059 2007-05-12  David Schleef  <ds@schleef.org>
9060
9061         * gst/gstplugin.c:
9062           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
9063           Switch to using g_stat() because it's more portable.
9064
9065 2007-05-12  David Schleef  <ds@schleef.org>
9066
9067         * gst/gst.c:
9068           Add GST_DISABLE_OPTION_PARSING, in order to disable option
9069           parsing for embedded systems.
9070         * gst/gstelementfactory.c:
9071           Allow gst_element_register() to be called with plugin==NULL.
9072           Did nobody notice that static elements were broken?
9073
9074 2007-05-12  Wim Taymans  <wim@fluendo.com>
9075
9076         * tools/gst-launch.c: (event_loop):
9077         Give more interesting info when buffering starts and stops.
9078         Fix case where buffering starts but we fail to update the buffering flag
9079         because the target state is not PLAYING.
9080
9081 2007-05-12  Wim Taymans  <wim@fluendo.com>
9082
9083         * plugins/elements/gstqueue.c: (gst_queue_init),
9084         (gst_queue_finalize), (update_time_level), (apply_segment),
9085         (apply_buffer), (gst_queue_locked_flush),
9086         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
9087         (gst_queue_handle_sink_event), (gst_queue_chain),
9088         (gst_queue_push_one), (gst_queue_loop):
9089         * plugins/elements/gstqueue.h:
9090         Refactor an cleanup queue a bit.
9091         Do better time level calculations that also work when the srcpad is not
9092         yet running.
9093         Remove some unneeded debug lines.
9094
9095         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
9096         Added testcase for time level measurement.
9097         Try to make some stuff more racefree.
9098
9099 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
9100
9101         * gst/gsturi.c: (gst_element_make_from_uri):
9102           Don't leak plugin feature.
9103
9104         * tests/check/Makefile.am:
9105         * tests/check/gst/.cvsignore:
9106         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
9107           Add brain-dead unit test.
9108
9109 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
9110
9111         Patch by: Jeroen Wouters <woutersj at gmail com>
9112
9113         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
9114           Treat protocol strings in a case-insensitive way (#437563).
9115
9116 2007-05-11  Michael Smith <msmith@fluendo.com>
9117
9118         * gst/gstplugin.c: (gst_plugin_load_file):
9119         * gst/gstregistry.c: (gst_registry_scan_path_level):
9120           Don't print a g_warning for any failure to load a shared object.
9121           Instead, push this down into gstplugin.c, and warn _only_ if we
9122           failed to open the module (i.e. failure to link).
9123           Avoids warnings on normal, working, non-plugin .so files.
9124
9125 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
9126
9127         * gst/gstplugin.c (gst_plugin_load_file):
9128         * gst/gstregistry.c (GST_CAT_DEFAULT,
9129           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
9130           Print a g_warning if there was an error when loading a plugins during
9131           registry scan. The shuld help beginners starting with gst-plugin
9132           template.
9133
9134 2007-05-10  Wim Taymans  <wim@fluendo.com>
9135
9136         * plugins/elements/gstqueue.c: (gst_queue_class_init),
9137         (update_time_level), (gst_queue_locked_flush),
9138         (gst_queue_handle_sink_event), (gst_queue_chain),
9139         (gst_queue_push_one), (gst_queue_loop):
9140         * plugins/elements/gstqueue.h:
9141         Be smarter when calculating the current amount of data in the queue by
9142         measuring the difference between start and end timestamps (in running
9143         time) inside the queue. Fixes #432876.
9144         API: GstQueue::pushing to notify elements that we are pushing data again
9145         since the running signal is rather broken for this purpose.
9146
9147 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
9148
9149         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
9150           gst_queue_base_init, gst_queue_init):
9151           use GST_BOILERPLATE
9152
9153 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
9154
9155         * win32/common/libgstreamer.def:
9156         Add new exported functions.
9157         * win32/vs6/grammar.dsp:
9158         Use grammar pre-generated files.
9159
9160 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9161
9162         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
9163
9164         * gst/Makefile.am:
9165         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
9166         * gst/gstparse.h:
9167         * gst/gstutils.c: (gst_parse_bin_from_description):
9168         * gst/gstutils.h:
9169           Maintain API and ABI when --disable-parse is used. Now that
9170           we have an appropriate error code, we can just return NULL and the
9171           appropriate error when gst_parse_launch() is used despite it having
9172           been disabled (#342564).
9173
9174         * tests/check/Makefile.am:
9175         * tests/check/pipelines/.cvsignore:
9176         * tests/check/pipelines/parse-disabled.c:
9177           Make sure these functions exist and return NULL plus a GError when
9178           --disable-parse is used.
9179
9180 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9181
9182         * tests/benchmarks/complexity.c: (main):
9183         * tests/benchmarks/mass-elements.c: (main):
9184           Set a good example and don't leak messages.
9185
9186 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
9187
9188         * docs/gst/Makefile.am:
9189         * docs/libs/Makefile.am:
9190           Correct fixxrefs options.
9191
9192         * docs/plugins/Makefile.am:
9193         * docs/plugins/gstreamer-plugins-docs.sgml:
9194         * docs/plugins/gstreamer-plugins-sections.txt:
9195         * plugins/elements/Makefile.am:
9196         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9197         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9198           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9199           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9200           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9201           _GstCapsFilterClass, trans_class):
9202         * plugins/elements/gstelements.c (name, rank, type, _elements):
9203         * plugins/elements/gstidentity.c
9204           (gst_identity_check_imperfect_timestamp,
9205           gst_identity_check_imperfect_offset):
9206           Document capsfilter and add doc-blurb to identity.
9207
9208 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9209
9210         * libs/gst/controller/gstcontroller.c:
9211         (gst_controlled_property_set_interpolation_mode):
9212         * libs/gst/controller/gstinterpolation.c:
9213           Don't crash if someone tries to set an interpolation mode that
9214           is invalid or that isn't supported yet. Fixes #422295.
9215
9216         * tests/check/libs/controller.c: (GST_START_TEST),
9217         (gst_controller_suite):
9218           Add a test case for the above.
9219
9220 2007-05-03  Edward Hervey  <edward@fluendo.com>
9221
9222         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9223         Properly set the last_stop position on GstSegment. This will only happen
9224         if there is a buffer to push out.
9225
9226 2007-05-03  Wim Taymans  <wim@fluendo.com>
9227
9228         * libs/gst/base/gstbasetransform.c:
9229         (gst_base_transform_buffer_alloc):
9230         always_in_place does not mean that the sink and source caps are the
9231         same! Make sure we don't blindly proxy the buffer_alloc in this case.
9232
9233 2007-05-03  Wim Taymans  <wim@fluendo.com>
9234
9235         * docs/libs/gstreamer-libs-sections.txt:
9236         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9237         (gst_base_src_default_query), (gst_base_src_get_range):
9238         * libs/gst/base/gstbasesrc.h:
9239         API: gst_base_src_query_latency(). Added method so that subclasses can
9240         easily get the latency values of the base source class.
9241
9242 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
9243
9244         * tools/gst-inspect.c (print_implementation_info):
9245         Remove 0.8 cruft.
9246
9247 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
9248
9249         * tools/Makefile.am:
9250         * tools/gst-launch.1.in:
9251           Don't create a customised man page based on the host architecture,
9252           describe the default registry path generically. That way the man
9253           page is the same for all architectures and packagers have one
9254           multilib issue less to deal with. Fixes #434926.
9255
9256 2007-05-02  Wim Taymans  <wim@fluendo.com>
9257
9258         * gst/gstpad.c:
9259         Fix documentation as spotted by rg on IRC. 
9260
9261 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
9262
9263         * gst/gstutils.c:
9264           Improve docs for gst_element_{link,unlink}.
9265
9266 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
9267
9268         * docs/design/part-events.txt:
9269         * docs/design/part-overview.txt:
9270         * gst/gstevent.c:
9271         * gst/gsturi.c:
9272         * gst/gsturi.h:
9273         * libs/gst/base/gstbasesink.c:
9274           Typo fixes; minor docs addition.
9275
9276 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9277
9278         * docs/gst/gstreamer-sections.txt:
9279         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9280         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9281         * gst/gsturi.h:
9282         API: Add gst_uri_protocol_is_supported(), which checks if a sink
9283         or src that supports a given URI protocol exists.
9284
9285 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9286
9287         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9288         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9289         Set the location to NULL if "file://" is set as URI. Otherwise
9290         some random previous URI would still be set if "file://" is
9291         set on an already used filesink/filesrc.
9292
9293 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9294
9295         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9296         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9297         Special case the "file://" URI as as this is used by some
9298         applications to test with gst_element_make_from_uri if there's
9299         an element that supports the URI protocol.
9300         Also move the g_path_is_absolute() check for the location part
9301         of the URI to also check this for "file://localhost/bla" URIs.
9302
9303 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
9304
9305         * docs/gst/gstreamer-sections.txt:
9306         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9307         * gst/gstbuffer.h:
9308         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9309         (gst_buffer_suite):
9310           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9311
9312 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
9313
9314         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9315         (gst_registry_binary_load_pad_template),
9316         (gst_registry_binary_load_plugin),
9317         (gst_registry_binary_read_cache):
9318         * gst/gstregistrybinary.h:
9319           Implement no-mmap alternative for registry reading. Do code cleanups.
9320           Add more comments about avoiding strdups for all text data. Comments
9321           welcome.
9322
9323 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9324
9325         * gst/gstregistrybinary.h (GstBinaryPluginElement,
9326           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9327           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9328           Comment structs and reformat to fix the build (that stuff should go
9329           into a priv. header).
9330
9331 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9332
9333         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9334         (gst_registry_binary_load_feature):
9335         * gst/gstregistrybinary.h:
9336           Refactor so that we can implement multiple features. Add support for
9337           TypeFindFactory features.
9338
9339 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
9340
9341         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9342
9343         * configure.ac:
9344           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9345
9346 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
9347
9348         * gst/gstbin.c: (gst_bin_element_set_state),
9349         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9350         (bin_handle_async_done), (gst_bin_handle_message_func):
9351           Fix build with --gst-disable-gst-debug
9352
9353 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
9354
9355         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9356           Make sure streaming has finished before calling the ::stop() vfunc,
9357           since that vfunc might clear state which is being used in the
9358           streaming thread. This fixes a race that caused crashes in
9359           audioresample when shutting down a pipeline (#420106).
9360
9361 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9362
9363         * docs/gst/gstreamer-sections.txt:
9364           That was one byte missing.
9365
9366 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9367
9368         * configure.ac:
9369         * docs/gst/gstreamer-sections.txt:
9370         * gst/Makefile.am:
9371         * gst/gstconfig.h.in:
9372         * gst/gstobject.c: (gst_object_class_init),
9373         (gst_signal_object_class_init):
9374         * gst/gstobject.h:
9375           2nd attempt to have a xml-less build as a joined effort of #413123
9376           and #421480.
9377
9378 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9379
9380         * docs/design/draft-tagreading.txt:
9381           Added open issues/thoughts to draft.
9382
9383 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9384
9385         * gst/parse/grammar.tab.pre.c:
9386         * gst/parse/grammar.tab.pre.h:
9387         * gst/parse/lex._gst_parse_yy.pre.c:
9388         Update the prebuild parser sources.
9389
9390 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9391
9392         * gst/parse/Makefile.am:
9393         And now fix the building of the flex sources. Now everything should
9394         work as expected.
9395
9396 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9397
9398         * gst/parse/Makefile.am:
9399         Now hopefully fix the build failures by setting proper rule
9400         dependencies and moving instead of copying.
9401
9402 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9403
9404         * tests/benchmarks/complexity.gnuplot:
9405         * tests/benchmarks/complexity.scm:
9406         * tests/benchmarks/mass-elements.gnuplot:
9407         * tests/benchmarks/mass-elements.scm:
9408           Total licensification.
9409
9410 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9411
9412         * gst/parse/Makefile.am:
9413           Fix the build by correcting the rule that gave wrong files to flex.
9414
9415 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9416
9417         * tests/benchmarks/complexity.c:
9418         * tests/benchmarks/mass-elements.c:
9419           Change licence to LGPL as granted by Benjamin and Andy.
9420
9421 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9422
9423         * gst/parse/Makefile.am:
9424         Add correct grammar.tab.h dependency if compiling without new enough
9425         flex. Fixes #431150.
9426
9427 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9428
9429         * gst/parse/Makefile.am:
9430         Fix typo and use outdated sources if the flex/bison sources are newer
9431         than the pregenerated ones but flex is too old. Print a warning in
9432         that case. This should fix the build on the build bot.
9433
9434 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9435
9436         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9437         * gst/parse/Makefile.am:
9438         * gst/parse/grammar.y:
9439         * gst/parse/parse.l:
9440         Make the parser reentrant and recursively callable. This requires flex
9441         >= 2.5.31, for older versions pregenerated sources are used as we
9442         can't bump the build dependency. Finally fixes #349180.
9443
9444         * gst/gstparse.c: (gst_parse_launch):
9445         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9446         now anyway.
9447
9448         * docs/gst/Makefile.am:
9449         * docs/gst/Makefile.am:
9450         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9451         (__gst_parse_strfree), (__gst_parse_link_new),
9452         (__gst_parse_link_free), (__gst_parse_chain_new),
9453         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9454         (gst_parse_element_set), (gst_parse_free_link),
9455         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9456         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9457         (_gst_parse_launch):
9458         * gst/parse/grammar.tab.pre.h:
9459         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9460         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9461         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9462         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9463         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9464         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9465         (_gst_parse_yypop_buffer_state),
9466         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9467         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9468         (yy_fatal_error), (_gst_parse_yyget_extra),
9469         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9470         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9471         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9472         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9473         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9474         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9475         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9476         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9477         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9478         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9479         (_gst_parse_yyfree):
9480         If the installed flex version is too old use pre-generated parser
9481         sources. These pre-generated parser sources are always updated when
9482         the actual flex/bison sources change but require everybody who wants
9483         to change something in the parser to have flex >= 2.5.31 installed.
9484
9485 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9486
9487         * common/m4/gst-gettext.m4:
9488         * gst/gst-i18n-lib.h:
9489           Make --disable-nls to work
9490
9491 2007-04-17  Wim Taymans  <wim@fluendo.com>
9492
9493         * gst/gstconfig.h.in:
9494         Revert previous change that broke the build.
9495
9496 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9497
9498         * configure.ac:
9499         * gst/Makefile.am:
9500         * gst/gstconfig.h.in:
9501           Drop libxml2 dependency when building with 
9502           --enable-binary-registry --disable-loadsave
9503
9504 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9505
9506         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9507         (gst_registry_binary_read_cache):
9508         * gst/gstregistrybinary.h:
9509           Remove unnecessary <sys/mman.h> include which broke the win32 build
9510           with MingW; move includes from header file to .c file, even if the
9511           header file isn't installed; use g_strerror() where UTF-8 strings
9512           are expected, such as in GST_DEBUG messages.
9513
9514 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9515
9516         * docs/libs/gstreamer-libs-sections.txt:
9517         Remove bogus addition for API I didn't end up keeping.
9518
9519         * libs/gst/base/gstbasesrc.h:
9520         Mention Since: 0.10.13 in the documentation.
9521
9522         Add the API keyword to the previous ChangeLog entry.
9523
9524 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9525
9526         * docs/libs/gstreamer-libs-sections.txt:
9527         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9528         (gst_base_src_default_prepare_seek_segment),
9529         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9530         * libs/gst/base/gstbasesrc.h:
9531         Allow basesrc derived classes to execute seeks in other formats
9532         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9533         to prepare the GstSegment in any format that their perform_seek method
9534         will be able to understand. The default implementation provides the
9535         old behaviour of attempting to convert the seek offsets to the 
9536         configured native format.
9537
9538         API: basesrc::prepare_seek_segment vmethod.
9539
9540 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9541
9542         * gst/gstelement.c: (gst_element_get_state_func):
9543         Don't output the same debug statement twice.
9544
9545         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9546         (gst_adapter_peek), (gst_adapter_take_buffer):
9547         Optimise the case where we have buffers at the head of the queue that
9548         can be joined quickly (because they're contiguous sub-buffers) by
9549         merging them together rather than copying data out into new memory.
9550
9551         * gst/parse/grammar.y:
9552         * tests/check/pipelines/parse-launch.c:
9553         Fix a leak in an error path for parse_launch, and add a check 
9554         for it to the testsuite.
9555
9556 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9557
9558         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9559           Don't deadlock when releasing a pad - gst_pad_set_active may try
9560           and take the multiqueue lock too.
9561
9562 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9563
9564         * gst/gsterror.c: (_gst_core_errors_init):
9565         * gst/gsterror.h:
9566           API: add GST_CORE_ERROR_DISABLED (#392804).
9567
9568 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9569
9570         * docs/faq/gst-uninstalled:
9571           don't get empty paths on the PATH variables
9572         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9573           Don't format for the uncommon terminal width of 84 characters.
9574
9575 2007-04-06  Wim Taymans  <wim@fluendo.com>
9576
9577         * gst/gstpipeline.c: (reset_stream_time),
9578         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9579         Only try to select a different pipeline clock when we went back to
9580         PAUSED and not when we merely got flushed.
9581
9582 2007-04-05  Michael Smith  <msmith@fluendo.com>
9583
9584         * tools/gst-launch.1.in:
9585           fractions are better supported in gstreamer than ractions, so
9586           suggest using those.
9587
9588 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9589
9590         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9591
9592         * po/LINGUAS:
9593         * po/da.po:
9594           Added Danish translation.
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         Fix leak caused when refusing newsegment after EOS.
9601
9602         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9603         (gst_fake_sink_init), (gst_fake_sink_set_property),
9604         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9605         (gst_fake_sink_render), (gst_fake_sink_change_state):
9606         * plugins/elements/gstfakesink.h:
9607         Add num-buffers property to make the element generate EOS after a
9608         configurable amount of buffers.
9609         API: fakesink::num-buffers property.
9610
9611         * tests/check/elements/fakesink.c: (GST_START_TEST),
9612         (fakesink_suite):
9613         Fix GstBus leak in test.
9614         Test for fakesink num-buffers.
9615
9616 2007-04-05  Wim Taymans  <wim@fluendo.com>
9617
9618         * libs/gst/base/gstbasesink.c:
9619         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9620         (gst_base_sink_change_state):
9621         Don't accept anything after an EOS, return UNEXPECTED instead.
9622
9623         * tests/check/elements/fakesink.c: (GST_START_TEST),
9624         (fakesink_suite):
9625         Unit test for new EOS behaviour.
9626
9627 2007-04-05  Wim Taymans  <wim@fluendo.com>
9628
9629         * gst/gstelement.c: (gst_element_get_request_pad):
9630         Make padtemplates also work when they don't contain %s or %d.
9631
9632 2007-04-05  Wim Taymans  <wim@fluendo.com>
9633
9634         * docs/gst/gstreamer-sections.txt:
9635         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9636         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9637         * gst/gstclock.h:
9638         Improve _adjust_unlocked() so that it overflows less.
9639         Add gst_clock_unadjust_unlocked to convert from external time to
9640         internal time based on calibration.
9641         Add some more debug.
9642         API: GstClock::gst_clock_unadjust_unlocked()
9643
9644 2007-04-03  Wim Taymans  <wim@fluendo.com>
9645
9646         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9647
9648         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9649         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9650         when releasing sink pad. Fixes #425400.
9651
9652 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9653
9654         * docs/random/ensonic/dynlink.txt:
9655           More work on proposal for new core api.
9656
9657         * docs/libs/gstreamer-libs-sections.txt:
9658         * libs/gst/base/gstbasetransform.h:
9659           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9660           
9661         * libs/gst/controller/gstcontroller.c:
9662         (on_object_controlled_property_changed),
9663         (gst_controller_sync_values),
9664         (gst_controller_set_interpolation_mode):
9665         * libs/gst/controller/gstcontroller.h:
9666           Less verbose logging add docs for unimplemented parts and correctly
9667           return when using unavailable parts.
9668
9669 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9670
9671         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9672         Move all the debug to the CLOCK category, and associate it with
9673         the clock object.
9674
9675 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9676
9677         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9678         Make take_buffer a bit quicker by removing redundant checks
9679         caused by calling gst_adapter_take.
9680
9681 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9682
9683         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9684           Don't leak GCond.
9685
9686         * tests/check/Makefile.am:
9687         * tests/check/elements/.cvsignore:
9688         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9689         (GST_START_TEST), (multiqueue_suite):
9690           Add some dead simple unit tests for the 'multiqueue' element
9691           (some bits don't work yet and are disabled for now).
9692
9693 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9694
9695         * gst/gstelement.c: (gst_element_get_request_pad),
9696         (gst_element_class_get_request_pad_template):
9697           Make gst_element_get_request_pad() create request pads only for
9698           request pad templates and not for, say, sometimes pad templates.
9699
9700 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9701
9702         * docs/design/draft-klass.txt:
9703           Add example that needs more thinking.
9704         
9705         * docs/design/draft-missing-plugins.txt:
9706           More thoughts about wrapper plugins.
9707         
9708         * docs/random/ensonic/embedded.txt:
9709         * docs/random/ensonic/profiling.txt:
9710           More design work.
9711
9712 2007-03-25  Wim Taymans  <wim@fluendo.com>
9713
9714         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9715         (gst_base_src_loop):
9716         Only push the segment events in the PLAYING state for live sources.
9717
9718 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9719
9720         * gst/gstpipeline.c: (gst_pipeline_change_state):
9721         Modify the clock distribution path in PAUSED->PLAYING so that we 
9722         never attempt to choose a new clock unless we're actually leaving
9723         the PAUSED state for the first time. This prevents choosing a
9724         different clock when the state_change gets called for a 2nd time due
9725         to some element doing an async state change.
9726
9727 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9728
9729         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9730         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9731         (gst_pad_chain_unchecked), (gst_pad_push):
9732         Revert last commit. This needs some more thoughts.
9733
9734 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9735
9736         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9737         (gst_pad_chain_unchecked), (gst_pad_push):
9738         Check in set_caps if the caps are compatible with the pad and remove
9739         two functions that are redundant now. Fixes #421543.
9740
9741 2007-03-22  Wim Taymans  <wim@fluendo.com>
9742
9743         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9744         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9745         Unref some more to make valgrind happy.
9746
9747 2007-03-22  Wim Taymans  <wim@fluendo.com>
9748
9749         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9750         (gst_system_clock_id_wait_jitter),
9751         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9752         Fix anoying regression that survived a few releases. When adding an
9753         async entry while blocking on a sync entry, the sync entry will unblock
9754         but still be busy, so it should continue to wait instead of returning
9755         _BUSY to the app.
9756         Add some comments here and there.
9757
9758         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9759         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9760         Add testcase for this.
9761
9762 2007-03-22  Wim Taymans  <wim@fluendo.com>
9763
9764         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9765         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9766         WRONG_STATE and can silently pause the task. All other cases should
9767         error out.
9768
9769 2007-03-22  Wim Taymans  <wim@fluendo.com>
9770
9771         Patch by: Ville Syrjala <syrjala at sci dot fi>
9772
9773         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9774         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9775         Improve debugging.
9776
9777 2007-03-21  Michael Smith  <msmith@fluendo.com>
9778
9779         * docs/pwg/advanced-types.xml:
9780           Fix some errors in the typefinding docs pointed out on irc.
9781
9782 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9783
9784         * libs/gst/base/gstbasesrc.c:
9785         Clarify FIXME comment in the face of having added unlock_stop()
9786
9787 2007-03-21  Wim Taymans  <wim@fluendo.com>
9788
9789         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9790         Prepare for release where we warn against possible app breakage in the
9791         case of live pipelines along with an env var to enable/disable live
9792         preroll mode (GST_COMPAT=[no-]live-preroll).
9793
9794 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9795
9796         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9797         So we should use correct constants for checking for None offset.
9798
9799 2007-03-20  Wim Taymans  <wim@fluendo.com>
9800
9801         * docs/design/part-block.txt:
9802         Mention the fact that the newly switched element should be set to at
9803         least PAUSED.
9804
9805 2007-03-20  Wim Taymans  <wim@fluendo.com>
9806
9807         * gst/gst.c:
9808         Fix compilation with registry disabled as spotted by Saur.
9809
9810 2007-03-20  Wim Taymans  <wim@fluendo.com>
9811
9812         Patch by: Olivier Crete <tester at tester dot ca>
9813
9814         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9815         Look at the pending state too when syncing the element state to the
9816         parent. Fixes #420133.
9817
9818 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9819
9820         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9821         (gst_base_sink_change_state):
9822         * libs/gst/base/gstbasesink.h:
9823         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9824         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9825         (gst_base_src_deactivate):
9826         * libs/gst/base/gstbasesrc.h:
9827         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9828         for sub-classes to correctly clear any state they set trying to
9829         unlock, such as clearing out unlock commands from a command fd.
9830         API: basesrc::unlock_stop
9831         API: basesink::unlock_stop
9832
9833         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9834         (gst_fd_sink_render), (gst_fd_sink_unlock),
9835         (gst_fd_sink_unlock_stop):
9836         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9837         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9838         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9839
9840         Implement unlock_stop in fdsrc and fdsink.
9841         Implement seeking in fdsrc when a seekable fd is passed, as in
9842         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9843
9844 2007-03-19  Wim Taymans  <wim@fluendo.com>
9845
9846         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9847
9848         * gst/gstelement.c: (gst_element_class_init):
9849         Fix pad-added and pad-removed signal signatures so that the pad type is
9850         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9851
9852 2007-03-19  Wim Taymans  <wim@fluendo.com>
9853
9854         * docs/gst/gstreamer-sections.txt:
9855         Add new element field and method.
9856
9857         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9858         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9859         (gst_bin_recalc_state), (gst_bin_get_state_func),
9860         (gst_bin_element_set_state), (gst_bin_change_state_func),
9861         (gst_bin_continue_func), (bin_bus_handler),
9862         (bin_push_state_continue), (bin_handle_async_start),
9863         (bin_handle_async_done), (gst_bin_handle_message_func):
9864         Make async state changes a bit smarter by using new ASYNC_START and
9865         ASYNC_DONE messages. This reduces the number of times we run the state
9866         recalculation thread.
9867         Don't change state of element with a pending ASYNC_START message.
9868         Deprecate STATE_DIRTY messages.
9869         
9870         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9871         (gst_element_get_state_func), (gst_element_continue_state),
9872         (gst_element_lost_state), (gst_element_set_state_func),
9873         (gst_element_change_state):
9874         * gst/gstelement.h:
9875         Keep the state that was last set by the app in a new element field.
9876         Don't allow state changes when handling an element event.
9877         Post ASYNC_START and ASYNC_DONE messages.
9878         Change lost_state so that we go to PAUSED and wait for the parent to set
9879         us to PLAYING again (so latency calculation can be performed)
9880         Export gst_element_change_state() method so that subclasses can use it.
9881         API: gst_element_change_state()
9882         API: GST_STATE_TARGET
9883
9884         * gst/gstpipeline.c: (gst_pipeline_class_init),
9885         (reset_stream_time), (gst_pipeline_change_state),
9886         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9887         Using the new ASYNC_START message we can reset the base_time when
9888         needed. This can then be used to implement base_time redistribution in
9889         flushing seeks so that we can remove the explicit seek handling.
9890         Perform latency query and configuration when going to PLAYING.
9891
9892         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9893         (gst_base_sink_query), (gst_base_sink_change_state):
9894         Post new ASYNC_START/ASYNC_DONE messages.
9895
9896         * tests/check/generic/sinks.c: (GST_START_TEST):
9897         Fix test because the bin will not set the async element to PLAYING right
9898         away.
9899
9900         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9901         Make the message check a little stronger.
9902         Handle ASYNC messages.
9903
9904         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9905         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9906         Expect ASYNC_DONE messages.
9907
9908 2007-03-19  Wim Taymans  <wim@fluendo.com>
9909
9910         * docs/gst/gstreamer-sections.txt:
9911         * gst/gstmessage.c: (gst_message_new_async_start),
9912         (gst_message_new_async_done), (gst_message_parse_info),
9913         (gst_message_parse_async_start):
9914         * gst/gstmessage.h:
9915         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9916         support.
9917
9918 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9919
9920         * tools/gst-inspect.c:
9921         (print_plugin_automatic_install_info_codecs):
9922           Now that we don't check for the 'Codec' keyword any longer in the
9923           klass, we shouldn't spew a warning if the klass isn't a decoder or
9924           encoder (since it might be a Source/Network, for example).
9925
9926 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9927
9928         * tools/gst-inspect.c:
9929         (print_plugin_automatic_install_info_codecs):
9930           Don't require decoder/demuxer/depayloader elements or
9931           encoder/muxer/paylader elements to have 'Codec' as part of their
9932           factory class string when introspecting a plugin's capabilities.
9933           draft-klass.txt mentions that it might be removed in future, and
9934           flump3dec doesn't have it as part of its class string, so chances
9935           are others might also not have it.
9936
9937 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9938
9939         * po/af.po:
9940         * po/az.po:
9941         * po/bg.po:
9942         * po/ca.po:
9943         * po/cs.po:
9944         * po/de.po:
9945         * po/en_GB.po:
9946         * po/fr.po:
9947         * po/it.po:
9948         * po/nb.po:
9949         * po/nl.po:
9950         * po/ru.po:
9951         * po/sq.po:
9952         * po/sr.po:
9953         * po/sv.po:
9954         * po/tr.po:
9955         * po/uk.po:
9956         * po/vi.po:
9957         * po/zh_CN.po:
9958         * po/zh_TW.po:
9959           Update translations from translation project
9960
9961 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9962
9963         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9964         (gst_child_proxy_set_property):
9965           Invert precondition check to be alike the ones in the mimiced gobject
9966           api.
9967
9968 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9969
9970         * docs/design/draft-tagreading.txt:
9971         * docs/random/ensonic/audiobaseclasses.txt:
9972           Do some Architect work.
9973
9974         * gst/gstobject.c: (gst_object_set_name):
9975           Add a WARNING.
9976
9977         * gst/gstpad.c:
9978           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9979
9980 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9981
9982         * gst/gstsystemclock.c: (gst_system_clock_init),
9983         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9984         Defer starting the async system clock thread until the first async
9985         wait is scheduled. Fixes #414986.
9986
9987 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9988
9989         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9990         (gst_single_queue_free):
9991           Fix small leak (free GstSingleQueue structure too, not only contents).
9992
9993 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9994
9995         * gst/gstbin.c:(gst_bin_add):
9996         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9997         * win32/common/libgstbase.def:
9998         * win32/common/libgstreamer.def:
9999         Add new exported functions.
10000
10001 2007-03-09  Wim Taymans  <wim@fluendo.com>
10002
10003         * docs/plugins/gstreamer-plugins-sections.txt:
10004         Fix GstTee docs.
10005
10006 2007-03-09  Wim Taymans  <wim@fluendo.com>
10007
10008         * docs/gst/gstreamer-sections.txt:
10009         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
10010         * gst/gstbuffer.h:
10011         Add metadata copy functions. Fixes #393099.
10012         API: gst_buffer_copy_metadata()
10013
10014         * gst/gstutils.c: (gst_buffer_stamp):
10015         * libs/gst/base/gstbasetransform.c:
10016         (gst_base_transform_prepare_output_buffer):
10017         Use new metadata copy functions.
10018
10019 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10020
10021         * plugins/elements/gstidentity.c: (gst_identity_class_init),
10022         (gst_identity_init), (gst_identity_check_perfect),
10023         (gst_identity_check_imperfect_timestamp),
10024         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
10025         (gst_identity_set_property), (gst_identity_get_property):
10026         * plugins/elements/gstidentity.h:
10027         Separate out check-imperfect-timestamp and check-imperfect-offset.
10028         Put back check-perfect as it was to keep compatibility.
10029
10030 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
10031
10032         * gst/gstelement.c: (gst_element_dispose):
10033         There's no need to warn if VOID_PENDING is not NONE here, as
10034         long as the state is NULL it's ok, and that's checked immediately
10035         above.
10036
10037 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10038
10039         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10040         Fix check for perfect stream to ignore buffers with -1 
10041         offsets/offset ends when checking data contiguity.
10042
10043 2007-03-08  Wim Taymans  <wim@fluendo.com>
10044
10045         * tools/gst-launch.c: (event_loop):
10046         Print INFO messages.
10047
10048 2007-03-08  Wim Taymans  <wim@fluendo.com>
10049
10050         * libs/gst/base/gstbasetransform.c:
10051         (gst_base_transform_sink_eventfunc),
10052         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10053         (gst_base_transform_activate):
10054         * libs/gst/base/gstbasetransform.h:
10055         Add support for dropping buffers with custom GstFlowReturn.
10056         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
10057         buffers or dropped buffers.
10058
10059         * docs/libs/gstreamer-libs-sections.txt:
10060         docs for new custom return code.
10061
10062         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10063         Use drop support in base class to implement drop-probability.
10064
10065 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
10066
10067         * gst/gst.c: (load_plugin_func):
10068         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
10069         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10070         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
10071           Remove newlines at end of debug log strings.
10072
10073 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10074
10075         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10076         Only post bus message at max, once per buffer received.
10077
10078 2007-03-07  Wim Taymans  <wim@fluendo.com>
10079
10080         * docs/design/Makefile.am:
10081         * docs/design/part-synchronisation.txt:
10082         Add doc about synchronisation
10083
10084         * docs/design/draft-latency.txt:
10085         * docs/design/part-TODO.txt:
10086         * docs/design/part-clocks.txt:
10087         * docs/design/part-events.txt:
10088         * docs/design/part-gstbus.txt:
10089         * docs/design/part-gstpipeline.txt:
10090         * docs/design/part-live-source.txt:
10091         * docs/design/part-messages.txt:
10092         * docs/design/part-overview.txt:
10093         * docs/design/part-streams.txt:
10094         * docs/design/part-trickmodes.txt:
10095         Documentation updates.
10096
10097 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
10098
10099         * gstreamer.doap:
10100         Update the doap file.
10101
10102 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10103
10104         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10105         Rename non-perfect to imperfect for Mike and for the sanctity of the
10106         language.
10107         Also make sure bus message gets emitted for data-incontiguities.
10108
10109 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10110
10111         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
10112         (gst_identity_start):
10113         * plugins/elements/gstidentity.h:
10114         Emit bus message if check-perfect is true and we encounter a
10115         non-perfect stream between 2 consecutive buffers.
10116         Fixes #415394.
10117
10118 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
10119
10120         * configure.ac:
10121         Back to CVS
10122
10123 === release 0.10.12 ===
10124
10125 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
10126
10127         * configure.ac:
10128           releasing 0.10.12, "Inevitable Demise"
10129
10130 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
10131
10132         * configure.ac:
10133          Version 0.10.11.2 (0.10.12 pre-release)
10134          Bump libtool versioning.
10135
10136 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
10137
10138         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10139           Log flow-names and not numbers.
10140
10141 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10142
10143         * configure.ac:
10144           Convert to new AG_GST style.
10145
10146 2007-02-28  Wim Taymans  <wim@fluendo.com>
10147
10148         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
10149         Don't unref query twice.
10150
10151 2007-02-28  Wim Taymans  <wim@fluendo.com>
10152
10153         * gst/gstvalue.c: (gst_value_transform_object_string),
10154         (_gst_value_initialize):
10155         Implement GstObject -> string transform so we print object names
10156         when serializing GValues containing GstObjects.
10157
10158 2007-02-28  Wim Taymans  <wim@fluendo.com>
10159
10160         * docs/gst/gstreamer-sections.txt:
10161         Add new stuff to docs.
10162
10163 2007-02-28  Wim Taymans  <wim@fluendo.com>
10164
10165         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
10166         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
10167         (gst_base_sink_change_state):
10168         Improve latency query code.
10169         Don't leak latency events.
10170
10171         * tests/check/gst/gstbin.c: (GST_START_TEST):
10172         Improve debugging.
10173
10174 2007-02-28  Wim Taymans  <wim@fluendo.com>
10175
10176         * gst/gstelement.c: (gst_element_message_full),
10177         (gst_element_get_state_func):
10178         * gst/gstelement.h:
10179         Improve docs a little. Added Since: for new macro.
10180
10181         * gst/gstobject.c: (gst_object_sink):
10182         * gst/gstpipeline.c: (gst_pipeline_change_state),
10183         (gst_pipeline_set_new_stream_time):
10184         * gst/gstpipeline.h:
10185         Improve debugging and docs.
10186
10187         * gst/gstutils.c: (gst_element_state_change_return_get_name):
10188         Improve debugging.
10189
10190 2007-02-28  Wim Taymans  <wim@fluendo.com>
10191
10192         * gst/gstelement.c: (gst_element_message_full),
10193         (gst_element_set_locked_state), (gst_element_get_state_func),
10194         (gst_element_change_state):
10195         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10196         Documentation updates.
10197         Small code cleanups.
10198
10199         * gst/gstmessage.c: (gst_message_new_info),
10200         (gst_message_parse_info):
10201         * gst/gstmessage.h:
10202         API: gst_message_new_info()
10203         API: gst_message_parse_info()
10204         Add INFO message create and parse code.
10205
10206 2007-02-28  Wim Taymans  <wim@fluendo.com>
10207
10208         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10209         (bin_query_latency_done):
10210         Also report the live parameter of a latency query.
10211
10212 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10213
10214         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10215           Copy the current generic/states example from -base and adapt so
10216           we can use the exact same code everywhere.
10217           Check a STATES_IGNORE_ELEMENTS env var which can be used
10218           to ignore certain element factories for this test, which is
10219           what is being done in -base
10220         * tests/check/Makefile.am:
10221           Mention this environment variable.
10222
10223 2007-02-27  Wim Taymans  <wim@fluendo.com>
10224
10225         * docs/gst/gstreamer-sections.txt:
10226         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10227         (gst_bus_timed_pop), (gst_bus_pop):
10228         * gst/gstbus.h:
10229         API: gst_bus_timed_pop()
10230         Implement gst_bus_timed_pop() to do a blocking timed wait for a
10231         message to arrive on the bus.
10232
10233         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10234         (gst_bus_suite):
10235         Two unit tests for new _timed_pop() function.
10236
10237 2007-02-23  Wim Taymans  <wim@fluendo.com>
10238
10239         * gst/gstpipeline.c: (gst_pipeline_change_state),
10240         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10241         Don't ref a NULL clock in _provide_clock_func().
10242         Don't allow an INVALID delay.
10243         Don't try to calculate base_time with an invalid start_time.
10244         Also distribute and notify a NULL clock when it was selected.
10245
10246         * tools/gst-launch.c: (event_loop):
10247         Don't crash when a NULL clock was selected in the pipeline.
10248
10249 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10250
10251         * docs/design/Makefile.am:
10252         * docs/design/draft-missing-plugins.txt:
10253         * docs/random/draft-missing-plugins.txt:
10254           Some small updates: update plugin system identifier prefix
10255           ('gstreamer.net' to 'gstreamer'), mention our new install
10256           API in libgstbaseutils rather than libgimme-codec, add
10257           reference to the online docs.
10258
10259 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10260
10261         * win32/common/config.h:
10262           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
10263           use moap cl ci to only check in what is mentioned in the ChangeLog.
10264
10265 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10266
10267         * docs/gst/gstreamer-sections.txt:
10268         * gst/gstelement.h:
10269           Fix up documentation to link to the correct GstGError section.
10270           Add GST_ELEMENT_INFO macro since someone else added a Info message.
10271
10272 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10273
10274         * tools/gst-launch.c: (event_loop):
10275           Make sure that we actually show the important message part of a
10276           warning message.
10277           No need to check if the gerror is not NULL to free; first of all
10278           g_free accepts NULL; and second the default error handler would
10279           segfault if gerror was NULL.
10280
10281 2007-02-21  Wim Taymans  <wim@fluendo.com>
10282
10283         * docs/gst/gstreamer-sections.txt:
10284         Removed docs as well.
10285
10286 2007-02-21  Wim Taymans  <wim@fluendo.com>
10287
10288         * gst/gstmessage.c: (gst_message_parse_duration):
10289         * gst/gstmessage.h:
10290         Remove new messages for release.
10291
10292 2007-02-20  Wim Taymans  <wim@fluendo.com>
10293
10294         * docs/design/part-gstghostpad.txt:
10295         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10296         (gst_ghost_pad_new_full):
10297         Make the ghostpad a parent of the internal pad again for better backward
10298         compatibility. Don't write code that relies on this however.
10299
10300         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10301         (gst_pad_link_check_hierarchy):
10302         Require that parents should be GstElements in the hierarchy check.
10303
10304 2007-02-20  Wim Taymans  <wim@fluendo.com>
10305
10306         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10307         (gst_bin_change_state_func), (bin_query_min_max_init),
10308         (bin_query_latency_fold), (bin_query_latency_done),
10309         (gst_bin_query):
10310         Improve debug info.
10311         Implement latency query.
10312
10313 2007-02-20  Wim Taymans  <wim@fluendo.com>
10314
10315         * docs/design/part-gstghostpad.txt:
10316         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10317         (gst_ghost_pad_internal_do_activate_push),
10318         (gst_ghost_pad_internal_do_activate_pull),
10319         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10320         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10321         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10322         Do not set the internal pad as a parent anymore so we can avoid
10323         hierarchy linking errors when the ghostpad has no parent yet. This also
10324         fixes failed activation because of unlinked internal pads, which in
10325         turn fixes the impossible case where you have to activate a pad before
10326         you can add it to a running element.
10327         Also fix the docs.
10328
10329         * gst/gstpad.c: (pre_activate), (post_activate),
10330         (gst_pad_set_active), (gst_pad_activate_pull),
10331         (gst_pad_activate_push), (gst_pad_check_pull_range):
10332         Add some more debug info.
10333         Mark activation mode in pre_activate so that we don't try to activate in
10334         endless loops. Fixes #385084.
10335
10336 2007-02-19  Wim Taymans  <wim@fluendo.com>
10337
10338         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10339         (gst_base_transform_check_get_range):
10340         Implement a checkgetrange function instead of relying on the default
10341         core behaviour that assumes we can operate in pull mode if we have a
10342         getrange function. First step at fixing #385084.
10343
10344 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
10345
10346         * gst/gstchildproxy.h:
10347         * libs/gst/base/gstbasesink.h:
10348         * libs/gst/base/gstbasesrc.h:
10349         * libs/gst/base/gstbasetransform.h:
10350         More docs coverage and some ChangeLog surgery (add missing names)
10351
10352 2007-02-15  Wim Taymans  <wim@fluendo.com>
10353
10354         * docs/design/part-TODO.txt:
10355         * docs/design/part-activation.txt:
10356         * docs/design/part-block.txt:
10357         * docs/design/part-buffering.txt:
10358         * docs/design/part-clocks.txt:
10359         * docs/design/part-element-source.txt:
10360         * docs/design/part-events.txt:
10361         * docs/design/part-gstbin.txt:
10362         * docs/design/part-gstbus.txt:
10363         * docs/design/part-gstpipeline.txt:
10364         * docs/design/part-live-source.txt:
10365         * docs/design/part-messages.txt:
10366         * docs/design/part-overview.txt:
10367         * docs/design/part-qos.txt:
10368         * docs/design/part-query.txt:
10369         * docs/design/part-states.txt:
10370         * docs/design/part-trickmodes.txt:
10371         Some doc updates. Start renaming from stream_time to running_time where
10372         it was used wrongly.
10373
10374 2007-02-15  Wim Taymans  <wim@fluendo.com>
10375
10376         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10377         Answer LATENCY query.
10378
10379 2007-02-15  Wim Taymans  <wim@fluendo.com>
10380
10381         * tests/check/gst/gstevent.c: (event_probe), (test_event),
10382         (GST_START_TEST):
10383         Improve debugging.
10384
10385 2007-02-15  Wim Taymans  <wim@fluendo.com>
10386
10387         * gst/gstpad.c: (gst_pad_get_internal_links_default),
10388         (gst_pad_dispatcher):
10389         Improve debugging of default pad dispatcher and query functions.
10390
10391 2007-02-15  Wim Taymans  <wim@fluendo.com>
10392
10393         * docs/gst/gstreamer-sections.txt:
10394         Remove old unused method.
10395
10396 2007-02-13  Wim Taymans  <wim@fluendo.com>
10397
10398         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10399         Fix check
10400
10401 2007-02-13  Wim Taymans  <wim@fluendo.com>
10402
10403         * docs/design/part-seeking.txt:
10404         Some small update.
10405
10406         * gst/gstsegment.c: (gst_segment_set_seek):
10407         Revert old bogus change that should make seeking work again.
10408
10409 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10410
10411         * docs/random/ensonic/dynlink.txt:
10412         * docs/random/ensonic/interfaces.txt:
10413         * docs/random/ensonic/receipies.txt:
10414           Possible dynamic reconnection api, plus some type fixes the other two
10415           docs.
10416
10417 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
10418
10419         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10420         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10421         Also check for an absolute path following file:// in the filesrc
10422         element. Remove redundant check and call g_path_is_absolute() on the
10423         unescaped location.
10424
10425 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10426
10427         * docs/design/draft-klass.txt:
10428           Add existing category analysis.
10429           
10430         * gst/gstcaps.c:
10431           Fix doc example, framerate is a fraction.
10432
10433 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10434
10435         * configure.ac:
10436         * docs/gst/Makefile.am:
10437         * docs/gst/gstreamer-sections.txt:
10438         * docs/libs/Makefile.am:
10439           Erm, forgot a bunch of --extra-dir.
10440
10441 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10442
10443         * configure.ac:
10444         * docs/gst/Makefile.am:
10445         * docs/libs/Makefile.am:
10446         * docs/plugins/Makefile.am:
10447           Add crossreferences to glib/gobject docs.
10448
10449 2007-02-12  Wim Taymans  <wim@fluendo.com>
10450
10451         * docs/design/draft-latency.txt:
10452         Small update.
10453
10454         * docs/libs/gstreamer-libs-sections.txt:
10455         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10456         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10457         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10458         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10459         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10460         (gst_base_sink_get_position), (gst_base_sink_query),
10461         (gst_base_sink_change_state):
10462         * libs/gst/base/gstbasesink.h:
10463         API: gst_base_sink_query_latency() to let subclasses query the upstream
10464         latency.
10465         API: gst_base_sink_get_latency() to let subclasses query the configured
10466         latency in the sink.
10467         Implement query and set latency.
10468         Update some docs.
10469         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10470         don't continue preroll when we are flushing. Fixes #405284.
10471
10472         * tests/check/pipelines/stress.c: (change_state_timeout),
10473         (quit_timeout), (GST_START_TEST), (stress_suite):
10474         Test for #405284.
10475
10476 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10477
10478         Patch by: René Stadler <mail at renestadler de>
10479
10480         * docs/gst/gstreamer-sections.txt:
10481         * gst/gsttaglist.c: (_gst_tag_initialize):
10482         * gst/gsttaglist.h:
10483           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10484
10485 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10486
10487         * docs/libs/Makefile.am:
10488           Fix path to core docs.
10489
10490         * gst/gstbin.c: (gst_bin_get_by_interface),
10491         (gst_bin_iterate_all_by_interface):
10492           Refix docs by also renaming 'interface' to 'iface' in implementation.
10493
10494         * docs/gst/gstreamer-sections.txt:
10495         * gst/gstcaps.c:
10496         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10497         * gst/gstchildproxy.h:
10498         * gst/gstelementfactory.c:
10499         * gst/gstpadtemplate.h:
10500         * libs/gst/controller/gstcontroller.c:
10501         (gst_controlled_property_new):
10502           Document more.
10503
10504 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10505
10506         * gst/gstbin.h:(gst_bin_get_by_interface),
10507         (gst_bin_iterate_all_by_interface):
10508         Replace interface parameter name by iface as interface is 
10509         a reserved keyword in Visual Studio for C++ projects so it removes
10510         a build error for application developpers using VS.
10511         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10512         Fix a bug on Windows in uri format check. Now the prefix checked
10513         is file:// and next we check if the path after file:// is absolute.
10514         * win32/common/libgstbase.def:
10515         * win32/common/libgstdataprotocol.def:
10516         * win32/common/libgstgstreamer.def:
10517         Add new exported functions.
10518
10519 2007-02-09  Andy Wingo  <wingo@pobox.com>
10520
10521         * tests/check/pipelines/simple-launch-lines.c
10522         (simple_launch_lines_suite, test_tee): Disable tee test until I
10523         have time to fix it :-(
10524
10525         * tests/check/Makefile.am (noinst_HEADERS): 
10526         * tests/check/libs/libsabi.c: 
10527         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10528         * tests/check/gst/gstabi.c: 
10529         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10530
10531         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10532         tests for push and pull tee behavior.
10533
10534         * plugins/elements/gsttee.h: 
10535         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10536         mark as deprecated as well as unimplemented. It was a crack idea.
10537         Add support for tee operating in pull mode, off by default.
10538
10539         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10540         normal-case logs down to LOG, raise errors to WARNING.
10541         (gst_registry_xml_read_cache): Don't log before calling a function
10542         that logs.
10543
10544         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10545         exit (registry finalize).
10546         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10547         DEBUG log when we emit signals that people don't even have the
10548         chance to connect to.
10549         (gst_registry_scan_path_level): Less logging in the normal case.
10550
10551 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10552
10553         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10554
10555         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10556         Correctly generate EOS for non-seekable files. We don't have a total
10557         length for them and would get an unexpected end of file if we only
10558         special-cased for regular files. (Fixes: #404569)
10559
10560 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10561
10562         * tests/check/elements/filesrc.c: (GST_START_TEST),
10563         (filesrc_suite):
10564         Add unit test for the GstURIHandler interface in filesrc. This also
10565         tests the newly added file://localhost/foo/bar support.
10566
10567 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10568
10569         * gst/gstelementfactory.h:
10570           The klass string is not a hierarchy. Add reference to the design doc
10571           for more information and common types.
10572
10573 2007-02-02  Wim Taymans  <wim@fluendo.com>
10574
10575         * gst/gstquery.c: (gst_query_new_latency):
10576         Remove old structure field.
10577
10578 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10579
10580         * tools/gst-launch.1.in:
10581           Give example for network streaming (#351998)
10582
10583 2007-02-02  Wim Taymans  <wim@fluendo.com>
10584
10585         * docs/gst/gstreamer-sections.txt:
10586         Add docs for new methods.
10587
10588         * gst/gstevent.c: (gst_event_new_latency),
10589         (gst_event_parse_latency):
10590         * gst/gstevent.h:
10591         Add new LATENCY event to configure latency in a pipeline.
10592         API: gst_event_new_latency
10593         API: gst_event_parse_latency
10594
10595         * gst/gstmessage.c: (gst_message_new_buffering),
10596         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10597         (gst_message_new_latency), (gst_message_parse_buffering),
10598         (gst_message_parse_lost_preroll):
10599         * gst/gstmessage.h:
10600         Added messages used in draft-latency.
10601         API: gst_message_new_lost_preroll
10602         API: gst_message_parse_lost_preroll
10603         API: gst_message_new_prerolled
10604         API: gst_message_new_latency
10605
10606         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10607         (gst_query_parse_latency):
10608         * gst/gstquery.h:
10609         Implemented new latency query as in design doc.
10610         API: gst_query_new_latency
10611         API: gst_query_set_latency
10612         API: gst_query_parse_latency
10613
10614 2007-02-02  Wim Taymans  <wim@fluendo.com>
10615
10616         * docs/design/draft-latency.txt:
10617         Slight redesign to allow for dynamic latency adjustments.
10618
10619         * docs/design/part-negotiation.txt:
10620         Fix some typos.
10621
10622 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10623
10624         reviewed by: Wim Taymans <wim@fluendo.com>
10625
10626         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10627         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10628         Allow file://localhost/foo/bar URLs and correctly fail for every other
10629         hostname that one sets. This was gnomevfssrc is linked for those if
10630         installed as it can handle it (#403172)
10631
10632 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10633
10634         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10635
10636         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10637         (unref_data), (gst_collect_pads_add_pad_full):
10638         * libs/gst/base/gstcollectpads.h:
10639         Don't put the previously added destroy notify in the GstCollectData
10640         struct as all it's padding is already used and we don't want to break
10641         ABI. Instead put in the pad's GObject data for now. This should be
10642         cleaned up for 0.11 (#402393).
10643
10644 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10645
10646         reviewed by: Wim Taymans <wim@fluendo.com>
10647
10648         * docs/libs/gstreamer-libs-sections.txt:
10649         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10650         (unref_data), (gst_collect_pads_add_pad),
10651         (gst_collect_pads_add_pad_full):
10652         * libs/gst/base/gstcollectpads.h:
10653         API: Add function to specify a destroy notification for custom
10654         GstCollectData when adding new pads in GstCollectPads (#402393).
10655
10656 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10657
10658         * po/sv.po:
10659           Update Swedish translation (#378255).
10660
10661 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10662
10663         * docs/design/draft-klass.txt:
10664           Fix the previous change, this is a list of categories and not a hierarchy.
10665
10666 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10667
10668         * docs/design/draft-klass.txt:
10669           Add info about how to get a list of used classes.
10670
10671 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10672
10673         * plugins/elements/gsttypefindelement.c:
10674         (gst_type_find_element_chain_do_typefinding),
10675         (gst_type_find_element_change_state):
10676           Don't leak found caps in chain function (no idea why that never
10677           showed up as a leak anywhere).
10678
10679 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10680
10681         * gst/gstplugin.h:
10682           Fix and expand GstPluginDesc API docs.
10683
10684 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10685
10686         * gst/gstcaps.c:
10687         * gst/gstelementfactory.c:
10688         * gst/gstpadtemplate.h:
10689           api doc fixes
10690
10691         * libs/gst/controller/gstcontroller.c:
10692         (gst_controlled_property_new):
10693         * tests/examples/controller/audio-example.c:
10694           comment fixes
10695
10696 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10697
10698         * configure.ac:
10699           comment about refining the xml deps
10700
10701         * docs/manuals.mak:
10702           comments about moving away from jade for docs
10703         
10704         * gst/gst.c:
10705           recommit the ifdefs to use the binary registry
10706         
10707         * gst/gstbin.c: (gst_bin_change_state_func):
10708           this break is obsolete
10709
10710         * gst/gstelementfactory.h:
10711           better GST_ELEMENT_DETAILS docs, add comment about translation
10712
10713         * gst/gstinfo.h:
10714           remove eol slash
10715
10716         * gst/gstobject.c: (gst_signal_object_get_type):
10717           add G_UNLIKELY as usual
10718
10719         * gst/gstpad.c: (gst_pad_event_default):
10720           add fall trhu comment
10721
10722         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10723         (gst_registry_binary_initialize_magic),
10724         (gst_registry_binary_save_string),
10725         (gst_registry_binary_save_pad_template),
10726         (gst_registry_binary_save_feature),
10727         (gst_registry_binary_save_plugin),
10728         (gst_registry_binary_write_cache),
10729         (gst_registry_binary_check_magic),
10730         (gst_registry_binary_load_pad_template),
10731         (gst_registry_binary_load_feature),
10732         (gst_registry_binary_load_plugin),
10733         (gst_registry_binary_read_cache):
10734           comment typo and formatting
10735
10736         * gst/gstutils.c: (gst_element_state_get_name),
10737         (gst_element_state_change_return_get_name):
10738           remove obsolete breaks
10739
10740         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10741           add FIXME 0.11 and remove cpp comment
10742
10743 2007-01-29  Edward Hervey  <edward@fluendo.com>
10744
10745         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10746         Fix print statement in an even more portable way.
10747
10748 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10749
10750         * docs/gst/gstreamer-sections.txt:
10751         * gst/gstutils.h:
10752           API: add GST_ROUND_DOWN_* macros (#401781).
10753
10754 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10755
10756         * docs/gst/gstreamer.types.in:
10757         * gst/gstregistry.c: (gst_registry_class_init):
10758           Document registry signals and make gtk-doc pick them up (#401381).
10759
10760 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10761
10762         * docs/pwg/building-testapp.xml:
10763           Add some audioconverts and audioresample to the pipeline, and some
10764           more comments and error handling.
10765
10766 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10767
10768         * docs/manual/manual.xml:
10769         * docs/pwg/pwg.xml:
10770           Fix typo (#400987).
10771
10772 2007-01-26  Wim Taymans  <wim@fluendo.com>
10773
10774         * gst/gstcaps.c: (gst_static_caps_get):
10775         Init caps flags too.
10776
10777 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10778
10779         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10780
10781         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10782         If not using mmap'ed files try to seek to the end instead of the
10783         start to determine whether we can seek at all. This fixes the case
10784         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10785         seeks for everything afterwards fail. Fixes #400656
10786
10787 2007-01-25  Wim Taymans  <wim@fluendo.com>
10788
10789         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10790         Add some refcount debugging.
10791         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10792         in multiple streaming threads.
10793
10794 2007-01-25  Wim Taymans  <wim@fluendo.com>
10795
10796         Patch by: David Schleef <ds at schleef dot org>
10797
10798         * docs/libs/gstreamer-libs-sections.txt:
10799         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10800         * libs/gst/base/gstadapter.h:
10801         API: gst_adapter_copy() that can reduce the amount of memcpy when
10802         getting data from the adapter. Fixes #388201.
10803
10804 2007-01-25  Edward Hervey  <edward@fluendo.com>
10805
10806         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10807         In print statements, "%x" is for guint. Fixes build on macosx.
10808
10809 2007-01-24  Edward Hervey  <edward@fluendo.com>
10810
10811         * plugins/elements/gstmultiqueue.c:
10812         (gst_multi_queue_loop):
10813         Small fix.
10814         (single_queue_overrun_cb), (single_queue_underrun_cb),
10815         (single_queue_check_full), (gst_single_queue_new):
10816         Implement single queue growth system.
10817         This uses the extra-size properties, and will grow single queues by
10818         that much if one goes full whereas there are others empty. This is
10819         called extra-mode in the code.
10820         When a single queue's levels go back below the initial max-size
10821         limits, it is no longer in extra-mode. This is to ensure we don't
10822         consume too much memory.
10823         Fixes #399875
10824
10825 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10826
10827         * gst/gst.c: (gst_init_get_option_group):
10828           Make warning about late g_thread_init() calls a bit more explicit,
10829           so that it's more obvious to application developers what they need
10830           to do if a user files a bug against their application.
10831
10832 2007-01-22  Edward Hervey  <edward@fluendo.com>
10833
10834         * plugins/elements/gstmultiqueue.c:
10835         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10836         Remove previous hack of unsetting the flushing flag for the source pad
10837         instead of activating it. Instead, fix the source pad activate function
10838         so that it no longer depends on having a parent set or not.
10839
10840 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10841
10842         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10843
10844         * docs/manual/basics-bus.xml:
10845           Fix example code, gst_element_unref() doesn't exist any longer.
10846
10847 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10848
10849         Patch by: Mark Nauwelaerts <manauw at skynet be>
10850
10851         * gst/gstpad.c:
10852           Fix two docs typoes (#399094).
10853
10854 2007-01-19  Edward Hervey  <edward@fluendo.com>
10855
10856         * docs/faq/gst-uninstalled:
10857         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10858         depending on libgstbaseutils can work in uninstalled environment.
10859
10860 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10861
10862         * gst/gsttaglist.h:
10863         * gst/gsttagsetter.c:
10864         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10865         statement for new tag.
10866
10867 2007-01-17  Edward Hervey  <edward@fluendo.com>
10868
10869         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10870         When dynamically creating single queues, activate sinkpad before adding
10871         it.
10872         We should be doing the same thing for the source pad, but we can't
10873         since it would call a method which needs the parent to be set in order
10874         to work propertly. Instead of activating the source pad, we just unset
10875         the flushing flag, which is the minimal requirement for adding a pad
10876         to an element in a state greater than READY.
10877
10878 2007-01-17  Edward Hervey  <edward@fluendo.com>
10879
10880         * docs/faq/gst-uninstalled:
10881         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10882         Mac OS X.
10883
10884 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10885
10886         * tests/check/gst/gstabi.c:
10887         * tests/check/gst/struct_hppa.h:
10888         * tests/check/libs/libsabi.c:
10889         * tests/check/libs/struct_hppa.h:
10890           Add ABI structs for HPPA (see #393796).
10891
10892 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10893
10894         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10895           Actually write ABI structs to the file specified in the GST_ABI
10896           environment variable, as the message we print claims we would.
10897
10898 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10899
10900         * tests/check/gst/gsttask.c:
10901           Fix header comment.
10902
10903 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10904
10905         * gst/gsttaglist.c: (_gst_tag_initialize):
10906           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10907           previous two entries.
10908
10909 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10910
10911         * docs/gst/gstreamer-sections.txt:
10912         * gst/gsttaglist.c: (_gst_tag_initialize):
10913         * gst/gsttaglist.h:
10914           Add tag support for beat-per-minute.
10915
10916 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10917
10918         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10919         (gst_registry_binary_initialize_magic),
10920         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10921         (gst_registry_binary_save_pad_template),
10922         (gst_registry_binary_save_feature),
10923         (gst_registry_binary_save_plugin),
10924         (gst_registry_binary_write_cache),
10925         (gst_registry_binary_check_magic),
10926         (gst_registry_binary_load_pad_template),
10927         (gst_registry_binary_load_feature),
10928         (gst_registry_binary_load_plugin),
10929         (gst_registry_binary_read_cache):
10930         * gst/gstregistrybinary.h:
10931           Use glib types, cleanup comments, impement interfaces and uri-types.
10932
10933 2007-01-13  Andy Wingo  <wingo@pobox.com>
10934
10935         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10936         getrange() to return buffers with other caps, while we fix
10937         demuxers and typefind, or otherwise change part-negotiation.txt.
10938
10939 2007-01-12  Andy Wingo  <wingo@pobox.com>
10940
10941         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10942         Factor start/stop into this private function instead of partially
10943         in activate functions and partially in the change_state function.
10944         Fixes setup before the element has changed from READY->PAUSED, as
10945         is the case in pull-mode pipelines.
10946         (gst_base_transform_sink_activate_push)
10947         (gst_base_transform_src_activate_pull): Refactor to use
10948         gst_base_transform_activate().
10949         (gst_base_transform_change_state): Removed, not needed any more.
10950
10951         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10952         Truncate before fixating.
10953         
10954         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10955         Don't set_caps() if the result of fixating is ANY, as it's not
10956         supported, and not necessary in the case of a link with no
10957         template caps on either side. Fixes tests/check/libs/basesrc in
10958         some pull-mode tests.
10959
10960         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10961         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10962         (gst_base_transform_src_activate_pull): 
10963         Track the activation mode.
10964         (gst_base_transform_setcaps): In pull mode, when activating the
10965         src pad, after activating the sink pad, activate the sink pad's
10966         peer, as discussed in part-negotiation.txt.
10967
10968         * libs/gst/base/gstbasesrc.h: 
10969         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10970         vmethod, as in basesink.
10971
10972         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10973
10974         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10975         mode, first proxy the setcaps to the peer pad.
10976         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10977         new fixate vmethod.
10978         (gst_base_sink_default_activate_pull): Rename from
10979         gst_base_sink_activate_pull.
10980         (gst_base_sink_negotiate_pull): New function, performs negotiation
10981         in pull mode before calling ::activate_pull().
10982         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10983         vmethod instead of the default implementation. I have no idea how
10984         this worked before. Negotiate before calling activate_pull.
10985
10986         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10987         sink pads in pull mode. In addition to being correct, fixes
10988         filesrc ! decodebin ! identity ! fakesink.
10989         (gst_pad_get_range, gst_pad_pull_range): Don't call
10990         gst_pad_set_caps() if the caps changes; instead error out with
10991         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10992
10993 2007-01-12  Andy Wingo  <wingo@pobox.com>
10994
10995         * docs/design/part-negotiation.txt: Update with more policy.
10996
10997 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10998
10999         * libs/gst/check/gstbufferstraw.h:
11000         * libs/gst/check/gstcheck.h:
11001           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
11002           belongs.
11003
11004 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
11005
11006         * tests/check/Makefile.am:
11007         * tests/check/gst/.cvsignore:
11008         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
11009         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
11010         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
11011         (GST_START_TEST), (gst_tag_setter_suite):
11012           Add minimal unit test for beforementioned GstTagSetter bug.
11013
11014 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
11015
11016         Patch by: René Stadler <mail at renestadler dot de>
11017
11018         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
11019           gst_tag_list_merge() returns a new list, so it's not the best idea
11020           to ingore its return value. Effectively meant that tags could only
11021           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
11022           Also add function guard to require a non-NULL taglist as input (has
11023           always been so due to gst_tag_list_copy(), just making it explicit).
11024
11025 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
11026
11027         * docs/random/draft-missing-plugins.txt:
11028           Some additions: mention new API that is supposed to be used at the
11029           various stages; short blob about new gst-inspect introspection
11030           option; mention potential future problem with plugins that have
11031           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
11032
11033 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
11034
11035         * tools/gst-inspect.c:
11036         (print_plugin_automatic_install_info_codecs),
11037         (print_plugin_automatic_install_info_protocols),
11038         (print_plugin_automatic_install_info), (main):
11039         Add --print-plugin-auto-install-info option to gst-inspect, so we can
11040         introspect plugin files and get machine-parsable output that corresponds
11041         to the last bit of the missing-plugin installer string (small gotcha:
11042         doesn't take into account ranks).
11043
11044 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
11045
11046         * configure.ac:
11047         * docs/gst/gstreamer-sections.txt:
11048         * gst/Makefile.am:
11049         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
11050         (gst_registry_lookup_locked):
11051         * gst/gstregistry.h:
11052         * gst/gstregistrybinary.c: (gst_registry_binary_write),
11053         (gst_registry_binary_initialize_magic),
11054         (gst_registry_binary_save_string),
11055         (gst_registry_binary_save_pad_template),
11056         (gst_registry_binary_save_feature),
11057         (gst_registry_binary_save_plugin),
11058         (gst_registry_binary_write_cache),
11059         (gst_registry_binary_check_magic),
11060         (gst_registry_binary_load_pad_template),
11061         (gst_registry_binary_load_feature),
11062         (gst_registry_binary_load_plugin),
11063         (gst_registry_binary_read_cache):
11064         * gst/gstregistrybinary.h:
11065         * gst/gstregistryxml.c: (load_feature),
11066         (gst_registry_xml_read_cache):
11067           commit binary registry (disabled by default, see #359653)
11068
11069 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
11070
11071         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
11072           Fix 'make check' too.
11073
11074 2007-01-10  Andy Wingo  <wingo@pobox.com>
11075
11076         * docs/design/part-negotiation.txt: Fix a typo, add a couple
11077         notes.
11078         
11079         * docs/design/part-negotiation.txt: Update with, um, one way that
11080         pull-mode negotiation might work?
11081
11082         * gst/gstpad.h: 
11083         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
11084         that the pad must be a src pad; makes sense to call it the other
11085         way in pull mode, and the logic is symmetric anyway.
11086
11087 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
11088
11089         * plugins/elements/gstfilesink.c:
11090           Include <stdio.h> for fseeko().
11091
11092 2007-01-10  Wim Taymans  <wim@fluendo.com>
11093
11094         * gst/gstevent.c:
11095         * gst/gstevent.h:
11096         Reserve LATENCY event.
11097
11098 2007-01-09  Wim Taymans  <wim@fluendo.com>
11099
11100         * docs/design/draft-latency.txt:
11101         Updates.
11102
11103 2007-01-09  Wim Taymans  <wim@fluendo.com>
11104
11105         * docs/design/draft-latency.txt:
11106         Updates.
11107
11108         * gst/gstelement.h:
11109         * gst/gststructure.c:
11110         * gst/gsttrace.c:
11111         Small typo fixes.
11112
11113 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
11114
11115         * tests/check/.cvsignore:
11116           Ignore test-registry.xml as well.
11117
11118 2007-01-09  Wim Taymans  <wim@fluendo.com>
11119
11120         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
11121         unref data at the end when we are done with the pad.
11122
11123 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
11124
11125         * docs/gst/gstreamer-sections.txt:
11126         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
11127         (init_post), (gst_deinit), (gst_update_registry):
11128         * gst/gst.h:
11129           API: add gst_update_registry() (#391296).
11130
11131         * tests/check/Makefile.am:
11132         * tests/check/gst/gstregistry.c:
11133         * tests/check/gst/.cvsignore:
11134           Simple unit test for the above.
11135
11136 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
11137
11138         * gst/gstregistry.c: (gst_registry_scan_path_level):
11139           Plugin extension on HP-UX is .sl, add that to the list of approved
11140           plugin extensions (see #393796).
11141
11142         * tests/check/gst/gstpad.c: (GST_START_TEST):
11143           ulong => gulong. Fixes compilation with HP-UX compiler.
11144
11145         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11146           Fix compilation if valgrind headers are not available.
11147
11148 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
11149
11150         * win32/common/libgstreamer.def: 
11151           Add new exported function.
11152         * win32/vs6/libgstbase.dsp: 
11153           Add gstdataqueue.c to the build.
11154         * win32/vs6/libgstcoreelements.dsp:
11155           Add gstmultiqueue.c to the build.
11156         
11157 2007-01-06  Andy Wingo  <wingo@pobox.com>
11158
11159         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
11160         activate_pull(), providing for a way to specialize the process of
11161         spawning a thread to pull on the sink pad. There is a default
11162         implementation.
11163
11164         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
11165         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
11166         (gst_base_sink_init): Renamed pad activation functions (inserting
11167         "_pad" in their names). Refactor to use the new activate_pull
11168         vmethod, as appropriate.
11169         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
11170         default activate_pull function to start a task pulling from the
11171         sink pad, as before.
11172
11173         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
11174         on the pads if necessary, as in push()/chain(). Update docs.
11175         Shouldn't affect existing pull() usage as it is currently only
11176         being used on buffers without caps.
11177
11178 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11179
11180         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11181         (init_pre):
11182           Call g_thread_init() first thing in gst_init() / gst_check_init().
11183           When initialisation is done via gst_init_get_option_group() and
11184           GOption parsing, issue a warning if the GLib thread system has not
11185           been initialised yet by the time gst_init_get_option_group() is
11186           called, as it's quite likely other GLib functions such as
11187           g_option_context_new() have been called already then, and
11188           g_thread_init() must be called before any other GLib function. The
11189           application in question must be fixed in that case, since memory
11190           corruption might happen otherwise.
11191           We issue the warning because even if the GLib folks decide to work
11192           around the problem on their end in future, this is still an issue
11193           with all GLib versions >= 2.10.0, so we should warn until we depend
11194           on a GLib version we know to be safe.
11195           Update documentation as well.
11196           Closes bug #391278.
11197
11198 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11199
11200         * tools/gst-inspect.c: (main):
11201         * tools/gst-launch.c: (main):
11202         * tools/gst-typefind.c: (main):
11203         * tools/gst-xmlinspect.c: (main):
11204           Call g_thread_init() really really early, before any other GLib
11205           function (see #342564 and recent discussion on gtk-devel-list).
11206
11207 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11208
11209         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
11210
11211         * gst/gst_private.h:
11212         * gst/gstconfig.h.in:
11213         * gst/gstinfo.h:
11214           On win32, all the __declspec stuff for symbol exporting is
11215           apparently only needed with MSVC, but doesn't work with MingW.
11216           Fixes compilation with MingW and #391909.
11217
11218 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11219
11220         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11221           Change some GST_ERROR_OBJECT that aren't really errors to
11222           GST_WARNING_OBJECT in order to reduce terminal spam.
11223
11224 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11225
11226         * tests/check/Makefile.am:
11227           disable test again, as there seem to be still race problems
11228
11229 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11230
11231         * tests/check/Makefile.am:
11232         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11233         (GST_START_TEST), (queue_suite):
11234           enable queue test again, add tests for the leaky behaviour
11235
11236 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
11237
11238         * configure.ac:
11239         * tests/examples/Makefile.am:
11240           Compile adapter test/example only if the required headers are
11241           available (fixes #391915).
11242
11243 2007-01-01  David Schleef  <ds@schleef.org>
11244
11245         * gst/gstplugin.c:
11246           Restore the previous signal handler for SIGSEGV instead of
11247           setting to default, since we may have stolen it away from
11248           someone.  (i.e., Mono)
11249
11250 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11251
11252         * docs/random/draft-missing-plugins.txt:
11253           Some small additions and clarifications.
11254
11255 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11256
11257         * gst/gstregistryxml.c: (gst_registry_save_escaped):
11258           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11259           since that can lead to random memory corruptions and crashes
11260           (may or may not be related to #383244, #386711, and #386711).
11261
11262 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11263
11264         * tests/check/.cvsignore:
11265         * tests/check/Makefile.am:
11266           sync .cvsignome and CLEANFILES
11267
11268 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11269
11270         * tests/check/Makefile.am:
11271           fix distcheck
11272
11273 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11274
11275         * docs/design/part-states.txt:
11276           two tiny additional comments
11277         
11278         * gst/gststructure.c:
11279           doc fixing
11280
11281         * tests/check/Makefile.am:
11282         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11283         (GST_START_TEST):
11284           disable test for now, unless it gets fixed
11285
11286 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11287
11288         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11289         (GST_START_TEST):
11290           fix race in underrun test
11291
11292 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11293
11294         * tests/check/elements/.cvsignore:
11295           ignore more
11296
11297         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11298         (GST_START_TEST):
11299           try to narrow test failure
11300
11301 2006-12-21  David Schleef  <ds@schleef.org>
11302
11303         * plugins/elements/gstfakesrc.c:
11304           Use g_random_int_range(), since it produces better random
11305           numbers in a range than almost-correct floating point code.
11306
11307 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11308
11309         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11310         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11311         (gst_check_teardown_sink_pad):
11312           do not automatically (de)activate pads
11313
11314         * tests/check/Makefile.am:
11315         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11316         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11317           add new, yet simple tests for queue
11318
11319         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11320         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11321         * tests/check/elements/filesrc.c: (cleanup_filesrc),
11322         (GST_START_TEST):
11323         * tests/check/elements/identity.c: (cleanup_identity):
11324           consistent pad (de)activation
11325
11326 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
11327
11328         Patch by: Sebastian Dröge  <slomo ubuntu com>
11329
11330         * libs/gst/base/gstcollectpads.c:
11331           Fix two doc typos (#387866).
11332
11333 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11334
11335         * docs/manual/advanced-dparams.xml:
11336           Fix typo (g_object_control_properties() doesn't exist).
11337
11338 2006-12-19  Edward Hervey  <edward@fluendo.com>
11339
11340         * gst/gstsegment.c: (gst_segment_set_seek):
11341         Fine tune the cases where the segment start/stop values are really
11342         updated.
11343         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11344         Add tests for the return values of gst_segment_set_seek().
11345
11346 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11347
11348         * gst/gst.c:
11349           Docs typo fix.
11350
11351         * plugins/elements/gstqueue.c: (gst_queue_class_init),
11352         (gst_queue_init):
11353           Fix incorrect documentation and flesh it out a bit more.
11354           Set default values for the max properties on the GParamSpec as well,
11355           so it shows up correctly in gst-inspect.
11356
11357 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
11358
11359         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11360           Correct docs of queue, add more detail and crosslink it more.
11361
11362 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11363
11364         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11365           Print additional debug info when the stream isn't perfectly
11366           timestamped; don't try to use invalid durations.
11367
11368 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11369
11370         * docs/design/Makefile.am:
11371           Dist new design docs.
11372
11373 2006-12-16  Wim Taymans  <wim@fluendo.com>
11374
11375         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11376
11377         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11378         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11379         (gst_collect_pads_stop), (gst_collect_pads_event),
11380         (gst_collect_pads_chain):
11381         * libs/gst/base/gstcollectpads.h:
11382         Add refcounting to the collectpads data so we can track when it's safe
11383         to free the data. Fixes #383382.
11384
11385 2006-12-15  Wim Taymans  <wim@fluendo.com>
11386
11387         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11388         (gst_collect_pads_remove_pad):
11389         Automatically activate/deactivate pads when they are added to a
11390         started/stoped collectpads.
11391
11392 2006-12-15  Wim Taymans  <wim@fluendo.com>
11393
11394         * gst/gstelement.c: (gst_element_add_pad):
11395         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11396         * gst/gstpad.c: (gst_pad_init):
11397         Set pads to FLUSHING when they are created. Check, warn and fix when a
11398         demuxer adds an inactive pad to itself when running. Fixes #339326.
11399
11400 2006-12-15  Wim Taymans  <wim@fluendo.com>
11401
11402         * gst/gstelement.c: (gst_element_class_init),
11403         (gst_element_default_send_event), (gst_element_send_event),
11404         (gst_element_default_query), (gst_element_query):
11405         Expose default element send_event and query handling as vmethods that
11406         subclasses can chain up to.
11407
11408 2006-12-15  Wim Taymans  <wim@fluendo.com>
11409
11410         * gst/gstelement.c: (gst_element_set_state_func):
11411         Small documentation fixes.
11412
11413 2006-12-15  Wim Taymans  <wim@fluendo.com>
11414
11415         * docs/design/draft-latency.txt:
11416         Checked in draft for handling latency in pipelines.
11417
11418 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11419
11420         * Makefile.am:
11421         * gstreamer.doap:
11422         * gstreamer.spec.in:
11423           adding .doap file
11424
11425 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11426
11427         * gst/gst.c: (init_pre), (init_post):
11428           init_pre() and init_post() might be called via our GOptionGroup or
11429           from gst_init(), and we should skip both of them if we've already
11430           been initialised, otherwise we will init some things twice or add
11431           two default log functions.
11432
11433 2006-12-13  Edward Hervey  <edward@fluendo.com>
11434
11435         * docs/manual/basics-bus.xml:
11436         No, gst_main_loop does not exist. Its g_main_loop.
11437         Discovered by somebody who abused the copy-paste technique of coding :)
11438
11439 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11440
11441         * gst/gstghostpad.c:
11442           Log ghostpad debug stuff to the GST_PADS category as well rather
11443           than just to the default category.
11444
11445 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11446
11447         * configure.ac:
11448         * gst/gst.c: (init_pre):
11449           Add some basic system details such as OS and architecture
11450           to the debug output if possible, courtesy of uname().
11451
11452 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11453
11454         * docs/gst/running.xml:
11455           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11456           environment variables.
11457
11458 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11459
11460         * tests/check/gst/gstbin.c: (GST_START_TEST):
11461         It is acceptable to have a refcount of 2 or 3 at this point in the
11462         test, because the pipeline might be just posting its state_change
11463         message. The next line then waits for that message to appear using
11464         bus_poll, so that should be fine too.
11465
11466 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11467
11468         * gst/gst.c: (ensure_current_registry_forking):
11469         Ignore EINTR when reading from the child registry pipe.
11470         Explicitly ignore the return value from close, since it makes no
11471         difference.
11472
11473         * gst/gstminiobject.c: (gst_mini_object_ref),
11474         (gst_mini_object_unref):
11475         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11476
11477         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11478         When removing cached plugins, remove their features too, so they're
11479         not visible after they've disappeared.
11480
11481         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11482         In the unlikely case that we are linking pads with no parents, don't
11483         crash trying to get the non-existent parent bin.
11484
11485         * gst/parse/grammar.y:
11486         Output debug in the PIPELINE category
11487
11488 2005-03-08  Wim Taymans  <wim@fluendo.com>
11489
11490         Patch by: René Stadler <mail at renestadler dot de>
11491
11492         * gst/gstclock.c: (gst_clock_new_periodic_id):
11493         Reject invalid clock times for interval of periodic ids.
11494         Fixes ##383506.
11495
11496 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11497
11498         * gst/gstelementfactory.c: (gst_element_factory_create):
11499         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11500         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11501         * tools/gst-inspect.c: (print_element_info):
11502         Fix refcounting of gst_plugin_feature_load to match the docs. 
11503         Fixes: #380129
11504
11505 2006-12-07  Wim Taymans  <wim@fluendo.com>
11506
11507         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11508         (gst_base_sink_get_position):
11509         Improve debugging of events.
11510
11511 2006-12-07  Wim Taymans  <wim@fluendo.com>
11512
11513         Patch by: René Stadler <mail at renestadler dot de>
11514
11515         * gst/gstclock.c: (gst_clock_id_wait):
11516         Make period ids add the interval to the origial requested time instead
11517         of the possibly updated time which can be wrong when there are multiple
11518         waiters for the same id. Fixes #382592.
11519
11520         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11521         (gst_system_clock_id_wait_jitter_unlocked),
11522         (gst_system_clock_id_wait_jitter):
11523         Fix restart in the async notify thread when an async entry is added to
11524         the front of the list. Fixes #381492. 
11525
11526         * tests/check/gst/gstsystemclock.c: (store_callback),
11527         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11528         Added test for multiple async waits.
11529         Added test for async wait order.
11530
11531 2006-12-07  Wim Taymans  <wim@fluendo.com>
11532
11533         * gst/gstbin.c: (gst_bin_query):
11534         Add some more docs about the POSITION query.
11535
11536 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11537
11538         * configure.ac:
11539         Bump version nano - back to CVS.
11540
11541 === release 0.10.11 ===
11542
11543 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11544
11545         * configure.ac:
11546           releasing 0.10.11, "Love never runs on time"
11547
11548 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11549
11550         * win32/common/libgstbase.def:
11551         * win32/common/libgstreamer.def:
11552         * win32/vs8/libgstbase.vcproj:
11553         * win32/vs8/libgstcoreelements.vcproj:
11554         * win32/vs8/libgstreamer.vcproj:
11555         Fix compilation on win32 under VS8
11556         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11557         Partially fixes #381175
11558
11559 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11560
11561         * gst/gstvalue.c: (gst_value_compare_fraction):
11562         If someone is foolish enough to compare 2 fractions with denominator =
11563         0, return UNORDERED rather than aborting.
11564
11565 2006-11-28  Edward Hervey  <edward@fluendo.com>
11566
11567         * libs/gst/base/Makefile.am:
11568         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11569         (gst_data_queue_base_init), (gst_data_queue_class_init),
11570         (gst_data_queue_init), (gst_data_queue_new),
11571         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11572         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11573         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11574         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11575         (gst_data_queue_set_flushing), (gst_data_queue_push),
11576         (gst_data_queue_pop), (gst_data_queue_drop_head),
11577         (gst_data_queue_set_property), (gst_data_queue_get_property):
11578         * libs/gst/base/gstdataqueue.h:
11579         New GstDataQueue object for threadsafe queueing. Most useful for
11580         elements that need some queueing functionnality.
11581         * docs/libs/gstreamer-libs-docs.sgml:
11582         * docs/libs/gstreamer-libs-sections.txt:
11583         Insert documentation for GstDataQueue
11584         * plugins/elements/Makefile.am:
11585         * plugins/elements/gstelements.c:
11586         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11587         (gst_multi_queue_class_init), (gst_multi_queue_init),
11588         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11589         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11590         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11591         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11592         (gst_multi_queue_loop), (gst_multi_queue_chain),
11593         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11594         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11595         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11596         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11597         (wake_up_next_non_linked), (compute_next_non_linked),
11598         (single_queue_overrun_cb), (single_queue_underrun_cb),
11599         (single_queue_check_full), (gst_single_queue_new):
11600         * plugins/elements/gstmultiqueue.h:
11601         New multiqueue element, using GstDataQueue. Used for queuing multiple
11602         streams.
11603         Closes #344639 and #347785
11604
11605 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11606
11607         * docs/pwg/advanced-types.xml:
11608           add more missing type details
11609
11610         * tools/gst-run.c: (main):
11611           remove unused variable
11612
11613 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11614
11615         * docs/libs/Makefile.am:
11616         * docs/libs/gstreamer-libs.types:
11617           add types of base classes to enable gobject specific stuff in the docs
11618
11619         * docs/random/ensonic/embedded.txt:
11620           more ideas about isolating platform specific things
11621
11622 2006-11-20  Wim Taymans  <wim@fluendo.com>
11623
11624         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11625
11626         * libs/gst/check/gstcheck.h:
11627         Fix compilation and running against 0.9.4. Fixes #377332.
11628
11629 2006-11-20  Wim Taymans  <wim@fluendo.com>
11630
11631         * gst/gstsegment.c: (gst_segment_set_seek),
11632         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11633         (gst_segment_to_running_time):
11634         Fix boundary checking in to_running_time() and to_stream_time().
11635         Fixes #377183.
11636
11637         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11638         stream and running time can now be calculated for the complete
11639         clipped segment.
11640
11641 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11642
11643         * gst/gstpad.c: (gst_pad_push_event):
11644           Can't access event structure after giving away ownership of
11645           the event.
11646
11647 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11648
11649         * docs/random/ensonic/embedded.txt:
11650         * docs/random/ensonic/profiling.txt:
11651         * docs/random/ensonic/receipies.txt:
11652           more thinking
11653
11654 2006-11-13  Wim Taymans  <wim@fluendo.com>
11655
11656         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11657
11658         * gst/gstpad.c:
11659         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11660
11661 2006-11-13  Wim Taymans  <wim@fluendo.com>
11662
11663         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11664
11665         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11666         Store new length in segment duration so we don't keep on calling the
11667         potentially expensize get_size() call. Fixes #370865.
11668
11669 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11670
11671         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11672
11673         * win32/common/libgstreamer.def:
11674           Add two missing symbols (#366492).
11675
11676 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11677
11678         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11679         (gst_adapter_take_buffer):
11680         Fix format string to use all its arguments.
11681         Remove useless >= check on a guint
11682
11683 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11684
11685         * tests/examples/adapter/.cvsignore:
11686         Ignore build file as commanded by the build-bot
11687
11688 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11689
11690         * tests/examples/adapter/Makefile.am:
11691         * tests/examples/adapter/adapter_test.c: (run_test_take),
11692         (run_test_take_buffer), (run_tests), (main):
11693
11694         Add new files from the previous commit
11695
11696 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11697
11698         * Makefile.am:
11699         * configure.ac:
11700         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11701         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11702         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11703         * libs/gst/base/gstadapter.h:
11704         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11705         (GST_START_TEST), (gst_adapter_suite):
11706         * tests/examples/Makefile.am:
11707         Do some optimisation work in GstAdapter to avoid copies in more cases.
11708         It could still do slightly better by merging buffers when
11709         gst_buffer_is_span_fast is true, but is already faster. 
11710
11711         Also, avoid traversing a single-linked list to append each incoming 
11712         buffer inside the adapter.
11713
11714         Add simple test app that times the adapter behaviour in different
11715         situations, and extend the unit test to check that bytes enter and
11716         exit the adapter in their original order.
11717
11718 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11719
11720         * docs/random/draft-missing-plugins.txt:
11721           Update: use element message instead of adding a new message
11722           type to the core; don't provide GStreamer API to initiate the
11723           plugin download, just provide API to compose the strings needed
11724           and let an external libgimmestuff handle the rest.
11725
11726 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11727
11728         * tools/gst-inspect.c: (print_element_properties_info):
11729         Print a string instead of 'unknown type' for GValueArray properties
11730
11731 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11732
11733         * docs/random/draft-missing-plugins.txt:
11734         More small fixes.
11735
11736 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11737
11738         * tests/examples/typefind/typefind.c: (type_found), (main):
11739           Make typefind element example work again (#371894); add a
11740           license header.
11741
11742 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11743
11744         * docs/random/draft-missing-plugins.txt:
11745           Commit initial draft about how to deal with missing plugins,
11746           needs work (API too).
11747
11748 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11749
11750         * docs/pwg/advanced-types.xml:
11751           documents the new caps elements (see #363118)
11752
11753 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11754
11755         * gst/gstplugin.c: (gst_plugin_load_file):
11756         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11757         (gst_file_src_map_region), (gst_file_src_start):
11758         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11759         (gst_file_index_commit):
11760           Use g_strerror() instead of strerror() - we want UTF-8.
11761
11762 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11763
11764         Patch by: Peter Kjellerstedt <pkj at axis com>
11765
11766         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11767           Another printf fix (#371493).
11768
11769 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11770
11771         * tests/check/gst/gsttag.c:
11772           relicence (okay with author=company)
11773
11774 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11775
11776         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11777         (gst_pad_push_event):
11778           Enhance debug and improve docs
11779         
11780         * gst/gsturi.c:
11781           Fix docs
11782
11783 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11784
11785         * docs/random/ensonic/distributed.txt:
11786         * docs/random/ensonic/profiling.txt:
11787           more ideas
11788
11789 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11790
11791         * docs/gst/gstreamer-sections.txt:
11792           add new API and fix the build
11793           
11794         * gst/gstbin.c: (gst_bin_recalc_state):
11795         * gst/gstelement.c: (gst_element_message_full),
11796         (gst_element_get_state_func), (gst_element_set_state_func):
11797           use new API and improve logging
11798         
11799         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11800         * gst/gstutils.h:
11801           API: add function to get StateChangereturn names to improve logs 
11802
11803 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11804
11805         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11806           I'm considering shooting the next person to put strerror stuff
11807           in the translateable part of the message.
11808
11809 2006-11-03  Wim Taymans  <wim@fluendo.com>
11810
11811         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11812         Get the type and printf conversion specifiers right.
11813
11814 2006-11-03  Wim Taymans  <wim@fluendo.com>
11815
11816         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11817
11818         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11819         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11820         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11821         Some small cleanups. Improve debugging.
11822         * gst/gstpad.h:
11823         Signal all waiting threads with a broadcast instead of just one.
11824         Fixes #369942.
11825
11826 2006-11-03  Wim Taymans  <wim@fluendo.com>
11827
11828         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11829         (gst_fd_src_create):
11830         Add some debugging. 
11831         Only update fd when it's different from the old.
11832
11833 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11834
11835         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11836           Printf fixes for PPC/OSX, take two (#369366).
11837
11838 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11839
11840         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11841
11842         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11843         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11844         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11845           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11846           don't cast to long long for portability reasons, but use
11847           GLib's types instead.
11848
11849 2006-10-30  Michael Smith  <msmith@fluendo.com>
11850
11851         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11852           Get the arguments to lseek() the right way around.
11853           Fixes 367677.
11854
11855 2006-10-30  Wim Taymans  <wim@fluendo.com>
11856
11857         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11858
11859         * gst/gstinfo.h:
11860         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11861
11862 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11863
11864         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11865
11866         * docs/design/part-MT-refcounting.txt:
11867         * docs/random/wtay/capsnego2-docs:
11868         * gst/gstclock.c:
11869         * gst/gstxml.c:
11870           Typo fixes (#366212).
11871
11872 2006-10-28  Wim Taymans  <wim@fluendo.com>
11873
11874         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11875
11876         * gst/gst.c:
11877         * win32/common/libgstbase.def:
11878         * win32/common/libgstreamer.def:
11879         * win32/vs8/libgstbase.vcproj:
11880         * win32/vs8/libgstcontroller.vcproj:
11881         Add needed entries in .def files.
11882         Use HAVE_UNISTD_H.
11883         Rearrange def files in vs8 solutions. Fixes #366286.
11884
11885 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11886
11887         * win32/common/gstconfig.h:
11888           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11889           hand-made win32 gstconfig.h. Fixes #366321.
11890
11891 2006-10-27  Wim Taymans  <wim@fluendo.com>
11892
11893         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11894         (gst_ghost_pad_new_full):
11895         Make acceptcaps return TRUE when we don't have a target, just like
11896         setcaps does.
11897
11898 2006-10-27  Wim Taymans  <wim@fluendo.com>
11899
11900         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11901         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11902
11903 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11904
11905         * gst/gststructure.c: (gst_structure_id_set_value):
11906           If someone tries to set a non-UTF8 string field on a structure,
11907           don't just print a warning, but also ignore the request and do
11908           not change/add that field to the structure.
11909
11910         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11911           Test for the above.
11912
11913 2006-10-25  David Schleef  <ds@schleef.org>
11914
11915         * gst/gstinfo.c:
11916           g_hash_table_insert() needs a cast to a non-const pointer duh.
11917
11918 2006-10-25  David Schleef  <ds@schleef.org>
11919
11920         * gst/gstinfo.c:
11921         * gst/gstinfo.h:
11922           Change name parameter of _gst_debug_register_funcptr to const
11923           to reflect the constness of its use in the function as well
11924           as to quiet a gcc warning.
11925
11926 2006-10-25  Edward Hervey  <edward@fluendo.com>
11927
11928         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11929         Don't push the buffer if it's empty.
11930         Closes #363095
11931
11932 2006-10-24  Wim Taymans  <wim@fluendo.com>
11933
11934         * gst/gstevent.h:
11935         Add small comment.
11936
11937         * libs/gst/base/gstbasetransform.c:
11938         (gst_base_transform_sink_eventfunc):
11939         Debug segment values *after* updating them as this is more
11940         interesting.
11941
11942 2006-10-23  Wim Taymans  <wim@fluendo.com>
11943
11944         * docs/design/part-events.txt:
11945         Update some docs.
11946
11947         * docs/design/part-block.txt:
11948         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11949         (gst_pad_push_event):
11950         Revert BLOCKING patch, it tries to be smart without really having a
11951         clear idea what or how. So, now we discard all FLUSHING events again on
11952         a blocking pad. Should fix gnonlin again.
11953
11954 2006-10-23  Wim Taymans  <wim@fluendo.com>
11955
11956         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11957
11958         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11959         (gst_base_src_start), (gst_base_src_activate_push):
11960         Make sure size is always initialized. Fixes #364388.
11961
11962 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11963
11964         * docs/random/ensonic/distributed.txt:
11965           add some ideas about doing distributed processing
11966
11967         * docs/random/ensonic/profiling.txt:
11968           get_rusage look promising
11969
11970 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11971
11972         * docs/manual/basics-helloworld.xml:
11973           Add a cast in example to fix compile warning
11974
11975 2006-10-18  Wim Taymans  <wim@fluendo.com>
11976
11977         * gst/gstsegment.c: (gst_segment_set_last_stop),
11978         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11979         Relax arg checking again, -1 is allowed.
11980
11981 2006-10-18  Wim Taymans  <wim@fluendo.com>
11982
11983         * gst/gstsegment.c: (gst_segment_set_last_stop),
11984         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11985         _set_last_stop() must be with a value != -1
11986         A _TYPE_SET to -1 means seek to 0.
11987         Calc last_stop correctly for negative rates.
11988         Make sure we work with positive durations when updating a segment.
11989
11990 2006-10-18  Wim Taymans  <wim@fluendo.com>
11991
11992         * docs/design/part-live-source.txt:
11993         * gst/gstclock.h:
11994         Small docs fixes.
11995
11996 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11997
11998         * gst/gstbuffer.h:
11999           Add an explicit cast to GstBuffer** to keep old code that added an
12000           explicit cast to GstMiniObject** for gst_mini_object_replace()
12001           compiling without warning.
12002
12003 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
12004
12005         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
12006           check for validity of dates
12007
12008 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
12009
12010         * docs/gst/gstreamer-sections.txt:
12011           Forgot this one, makes gtk-doc shut up.
12012
12013 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
12014
12015         Patch by: Peter Kjellerstedt <pkj at axis com>
12016
12017         * gst/gstobject.h:
12018           Don't define xmlNodePtr to gpointer if the core was built with
12019           --disable-loadsave and --disable-registry, this will break
12020           applications that want to use libxml2 but are buildling against a
12021           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
12022           instead so we don't have to mess with the libxml2 namespace
12023           (#361675).
12024
12025 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
12026
12027         * gst/gstbuffer.h:
12028           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
12029           type-punned pointer warnings.
12030
12031 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
12032
12033         * gst/gstelement.h:
12034           Add casts to the correct return type to state <=> state transition
12035           macros.
12036
12037 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
12038
12039         * docs/design/part-live-source.txt:
12040           describe howto handle latency
12041         
12042         * docs/random/ensonic/profiling.txt:
12043           more ideas
12044
12045         * tools/gst-plot-timeline.py:
12046           fix log parsing for solaris, remove unused function
12047
12048 2006-10-16  Wim Taymans  <wim@fluendo.com>
12049
12050         * docs/design/part-trickmodes.txt:
12051         * gst/gstevent.c:
12052         Update some docs regarding reverse playback.
12053
12054 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
12055
12056         Patch by: Marcus Granado  <mrc dot gran at gmail com>
12057
12058         * win32/vs8/grammar.vcproj:
12059           Error out with a warning if glib-genmarshal.exe is not in path,
12060           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
12061
12062 2006-10-13  Wim Taymans  <wim@fluendo.com>
12063
12064         * gst/gstsegment.c: (gst_segment_set_seek):
12065         When seeking to stop -1, set last_stop (current position) to the
12066         duration of the segment.
12067
12068 2006-10-13  Wim Taymans  <wim@fluendo.com>
12069
12070         * gst/gstelement.h:
12071         Clarify _NO_PREROLL a bit more.
12072
12073         * gst/gstevent.c:
12074         Fix docs.
12075
12076         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
12077         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
12078         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
12079         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
12080         due to wrong locking order. Fixes #361769.
12081         Remove some redundant/misplaced checks in pad_block.
12082
12083         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12084         For negative rates, count backwards from the duration.
12085
12086 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
12087
12088         * gst/gsterror.c: (_gst_library_errors_init):
12089           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
12090           up with something better).
12091
12092 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
12093
12094         * win32/vs6/libgstreamer.dsp:
12095         * win32/vs7/libgstreamer.vcproj:
12096         * win32/vs8/libgstreamer.vcproj:
12097           Don't reference glib-compat.c which is currently not used and not
12098           disted; add gstquark.c which was recently added. Fixes #361730.
12099
12100 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
12101
12102         * win32/common/libgstbase.def:
12103         * win32/common/libgstcontroller.def:
12104         * win32/common/libgstreamer.def:
12105           Add gst_caps_merge() and a bunch of other recently-added functions.
12106           Fixes #361732.
12107
12108 2006-10-11  Wim Taymans  <wim@fluendo.com>
12109
12110         * docs/plugins/gstreamer-plugins.args:
12111         * docs/plugins/inspect/plugin-coreelements.xml:
12112         * docs/plugins/inspect/plugin-coreindexers.xml:
12113         Update element args.
12114
12115         * gst/gstsystemclock.c:
12116         Small comment update.
12117
12118         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12119         (gst_tee_request_new_pad), (gst_tee_release_pad),
12120         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
12121         (gst_tee_sink_activate_pull):
12122         * plugins/elements/gsttee.h:
12123         Some tee loving:
12124         Add default property defines.
12125         Implement release pad function.
12126         Give properties better blubs etc.
12127         Activate pads before adding them to a running tee.
12128         Do simple buffer_alloc on the first requested pad.
12129         Post error when activation fails.
12130
12131 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
12132
12133         * gst/gst.c: (ensure_current_registry_forking):
12134           Check return value of write() to make compiler happy.
12135
12136 2006-10-11  Wim Taymans  <wim@fluendo.com>
12137
12138         Patch by: Sjoerd Simons <sjoerd at luon dot net>
12139
12140         * plugins/elements/gstqueue.c: (gst_queue_chain):
12141         Recheck queue filledness after signalling the overrun when we're about
12142         to leak downstream because we released the lock when emitting the signal
12143         and the queue could be empty again. Fixes #352345.
12144
12145 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
12146
12147         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12148           Fix refcounting here too, just like we did for _new_valist() a few
12149           days ago (#357180) (thanks to René Stadler). Also remove all those
12150           'Since: 0.9' from the gtk-doc blobs.
12151
12152         * tests/check/libs/controller.c: (controller_refcount_new_list),
12153         (gst_controller_suite):
12154           Unit test for the above.
12155
12156 2006-10-10  Wim Taymans  <wim@fluendo.com>
12157
12158         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
12159
12160         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
12161         (gst_pad_save_thyself):
12162         Update some docs.
12163         Write pad direction in XML output. Fixes #345496.
12164
12165 2006-10-10  Wim Taymans  <wim@fluendo.com>
12166
12167         Patch by: René Stadler <mail at renestadler dot de>
12168
12169         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12170         (gst_controller_new_list), (_gst_controller_dispose),
12171         (_gst_controller_finalize), (_gst_controller_class_init):
12172         Take ref to controlled object so that it cannot disappear. 
12173         Fixes #357432.
12174
12175 2006-10-10  Wim Taymans  <wim@fluendo.com>
12176
12177         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
12178         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12179         (gst_check_teardown_sink_pad):
12180         Activate/deactivate pads in setup/teardown respectively.
12181
12182 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12183
12184         Patch by: Josep Torra Valles <josep@fluendo.com>
12185
12186         * gst/Makefile.am:
12187         Cast values when making gstenumtypes.h.  This pacifies Forte
12188         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12189         in the enumeration.
12190
12191 2006-10-09  Wim Taymans  <wim@fluendo.com>
12192
12193         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12194         Rename some more @cur to @start to fix docs. 
12195
12196         * gst/gstsegment.c: (gst_segment_set_seek):
12197         Fix typo.
12198         time and start must always stay in sync as defined in design doc.
12199
12200         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12201         Rename param to fix docs.
12202
12203         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12204         Check that start and time are in sync.
12205
12206         * tests/check/pipelines/parse-launch.c:
12207         (gst_parse_test_element_change_state):
12208         Activate pad before adding to the element.
12209
12210 2006-10-09  Wim Taymans  <wim@fluendo.com>
12211
12212         * docs/design/part-qos.txt:
12213         Fix typo.
12214
12215         * gst/gstevent.c:
12216         * gst/gstevent.h:
12217         Update seek event docs regarding negative rates.
12218         Rename @cur to @start. 
12219
12220         * gst/gstsegment.c: (gst_segment_set_seek):
12221         * gst/gstsegment.h:
12222         Update set_seek docs regarding negative rates.
12223         Correctly update last_stop to @stop when dealing with negative
12224         rates.
12225         Rename @cur to @start. 
12226
12227         * tests/check/gst/gstpad.c: (GST_START_TEST):
12228         Activate pads before trying to use them.
12229
12230         * tests/check/gst/gstsegment.c: (GST_START_TEST),
12231         (gst_segment_suite):
12232         Add simple check for segments and negative rates.
12233
12234 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
12235
12236         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12237         * gst/gsttaglist.h:
12238         * docs/gst/gstreamer-sections.txt:
12239           API: add gst_tag_list_is_empty() (#360467).
12240
12241         * tests/check/gst/gsttag.c: (GST_START_TEST):
12242           And a test case.
12243
12244 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12245
12246         * gst/gstmessage.h:
12247         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12248         a value that doesn't fit on enumeration.
12249
12250 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12251
12252         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12253         Remove local debugging system and use Gstreamer's instead.
12254
12255 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12256
12257         Patch by: Josep Torra Valles <josep@fluendo.com>
12258
12259         * common/m4/gst-error.m4:
12260         Disable warning of statement not reached on Forte.
12261         * gst/gstmessage.h:
12262         Fix warning on Forte (value doesn't fit on enumeration).
12263         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12264         Fix warning on Forte (value doesn't fit on enumeration).
12265         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12266         DEBUG macro says it takes minimum of 2 args and so Forte
12267         complains about the use with just 1 arg.
12268         * plugins/elements/gstfdsink.c:
12269         * plugins/elements/gstfdsrc.c:
12270         * plugins/elements/gstfilesink.c:
12271         * plugins/elements/gstfilesrc.c:
12272         Use correct return type for the uri handler implementations.
12273
12274         All these fix warnings in Forte.  Fixes bug #360860.
12275
12276 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
12277
12278         * gst/gstelement.h:
12279           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12280           format string, so don't use G_GNUC_PRINTF for those versions.
12281
12282 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12283
12284         * gst/gsttaglist.c: (gst_is_tag_list):
12285         * gst/gsttaglist.h:
12286           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12287
12288         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12289           Small test for the above.
12290
12291 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12292
12293         * gst/gsttaglist.h:
12294           Less tabs, more spaces.
12295
12296 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
12297
12298         * gst/gstinfo.h:
12299           Those two function declarations do actually belong there, revert
12300           commit from yesterday that turned them intro macros.
12301
12302 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12303
12304         Patch by: Josep Torra Valles <josep@fluendo.com>
12305
12306         * gst/gst.c: (gst_init_get_option_group):
12307         Fix empty declaration and type mismatch.
12308         * gst/gstbin.c: (gst_bin_change_state_func):
12309         Fix type mismatch.
12310         * gst/gstelement.c: (gst_element_continue_state),
12311         (gst_element_set_state_func), (gst_element_change_state),
12312         (gst_element_change_state_func):
12313         Fix type mismatches.
12314         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12315         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12316         Cast as appropriate.
12317         * gst/gstobject.c: (gst_class_signal_connect):
12318         Cast as appropriate.  The function pointer parameter really
12319         has the wrong type but would break API if we change it.
12320         * gst/gstquery.c:
12321         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12322         order of including string.h.
12323         * gst/gstutils.c: (gst_element_state_get_name):
12324         Remove unreachable line.
12325         * gst/gstxml.c: (gst_xml_parse_doc):
12326         Fix type mismatch.
12327         All these caught by Forte.
12328
12329 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12330
12331         Patch by: Josep Torra Valles <josep@fluendo.com>
12332
12333         * common/m4/gst-error.m4:
12334         Fixed bug #360151.
12335         We need to disable warnings on Forte for empty declarations
12336         due to gst-indent adding ;s to lines that just use macros
12337         where the macro actually doesn't need a ; at end to end
12338         statement.
12339
12340 2006-10-06  Wim Taymans  <wim@fluendo.com>
12341
12342         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12343         (gst_file_sink_close_file), (gst_file_sink_event),
12344         (gst_file_sink_render):
12345         Add some FIXME for the NEWSEGMENT handling.
12346
12347 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12348
12349         * gst/parse/grammar.y:
12350         Remove static function gst_parse_element_lock as all it does
12351         is return.  Looks like cruft from 0.8.
12352
12353 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12354
12355         Patch by: Josep Torra Valles <josep@fluendo.com>
12356
12357         * common/m4/gst-error.m4:
12358         * configure.ac:
12359         * libs/gst/net/Makefile.am:
12360         Fix a compilation issue with Forte on Solaris.  inet_aton is in
12361         libresolv.
12362
12363 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12364
12365         * gst/gstpad.c: (pre_activate):
12366         * gst/gstregistry.c: (gst_registry_scan_path_level):
12367         * gst/gstregistryxml.c: (load_plugin):
12368         * libs/gst/controller/gstcontroller.c:
12369         (gst_controlled_property_set_interpolation_mode):
12370         * libs/gst/dataprotocol/dataprotocol.c:
12371         (gst_dp_packet_from_event_1_0):
12372         * libs/gst/net/gstnetclientclock.c:
12373         (gst_net_client_clock_observe_times):
12374         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12375           Printf fixes.
12376
12377 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12378
12379         * configure.ac:
12380         * docs/gst/gstreamer-sections.txt:
12381         * gst/gstconfig.h.in:
12382         * gst/gstelement.h:
12383         * gst/gstinfo.h:
12384           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12385           whether we can use G_GNUC_PRINTF in other header files and at
12386           least check the printf format/arguments of debug messages and
12387           GST_ELEMENT_ERROR messages when the printf extension is not
12388           being used.
12389           Replace more tabs with spaces in gstinfo.h and remove two spurious
12390           function declarations in GST_DISABLE_DEBUG part with macros.
12391
12392 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
12393
12394         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12395           More docs for the sync-message signal (mention that it is not
12396           emitted by default); log message structures of messages posted on
12397           the bus as well.
12398
12399 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
12400
12401         * gst/gst.c: (ensure_current_registry_forking):
12402         Use a pipe pair to receive status results from the forked child, and
12403         ignore the result from waitpid. Fixes #355499
12404
12405 2006-10-02  Wim Taymans  <wim@fluendo.com>
12406
12407         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12408         (gst_ghost_pad_suite):
12409         Fix leak in check.
12410
12411 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12412
12413         * gst/gstpad.c:
12414           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12415
12416 2006-10-02  Edward Hervey  <edward@fluendo.com>
12417
12418         * docs/design/part-block.txt:
12419         Further explain the use of flushing on blocked pads.
12420         * docs/gst/gstreamer-sections.txt:
12421         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12422         (gst_pad_push_event):
12423         * gst/gstpad.h:
12424         Added new GstPadFlag : GST_PAD_BLOCKING.
12425         Adds the notion of pads really blocking, which enables to properly
12426         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12427         Fixes #358999
12428         API: gst_pad_is_blocking()
12429         API: GST_PAD_IS_BLOCKING() macro
12430         API: GST_PAD_BLOCKING GstPadFlag
12431         
12432 2006-10-02  Wim Taymans  <wim@fluendo.com>
12433
12434         Patch by: mrcgran <mrc.gran at gmail dot com>
12435
12436         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12437         Filter the proxied caps against the padtemplate if we have one.
12438
12439         * gst/gstquery.c: (gst_query_new_segment):
12440         Add include for gstinfo.h so that compilation with
12441         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12442
12443 2006-10-02  Wim Taymans  <wim@fluendo.com>
12444
12445         Patch by: Alessandro Decina  <alessandro at nnva org>
12446
12447         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12448         (gst_file_sink_set_location), (gst_file_sink_open_file),
12449         (gst_file_sink_close_file), (gst_file_sink_event),
12450         (gst_file_sink_render):
12451         Set file to NULL when closing filesink so that we can set a new filename
12452         in READY. Fixes #358613.
12453
12454 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12455
12456         Patch by: Alessandro Decina  <alessandro at nnva org>
12457
12458         * gst/gstevent.c: (_gst_event_copy):
12459           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12460           with event structures by setting the parent refcount address of the
12461           copied structure to the address of the refcount member of the newly
12462           copied event rather than the address of the refcount member of the
12463           original event. Fixes #358737.
12464
12465         * tests/check/gst/gstevent.c: (GST_START_TEST):
12466           Unit test for the above.
12467
12468 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12469
12470         * docs/design/Makefile.am:
12471           Dist some more files.
12472
12473 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12474
12475         * tests/check/libs/controller.c: (GST_START_TEST),
12476         (gst_controller_suite):
12477           Add test for the previous fix; add some more tests
12478           for correct refcounting behaviour; fix a few leaks
12479           in test cases; call gst_controller_init() at start
12480           of all tests.
12481
12482 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12483
12484         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12485         (gst_controller_set_from_list):
12486           Don't g_return_val_if_fail() on timed values with invalid timestamps
12487           inside a critical section without unlocking the mutex. Spotted by
12488           René Stadler. (#357617)
12489           Also, fix up refcounting properly: when returning an existing
12490           controller, we should increase the reference only once and not
12491           once per property and when trying to control a property again
12492           we should also increase the refcount.
12493
12494 2006-09-29  Wim Taymans  <wim@fluendo.com>
12495
12496         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12497         * libs/gst/net/gstnettimeprovider.c:
12498         (gst_net_time_provider_thread):
12499         Stop reading commands when EOF as well.
12500
12501         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12502         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12503         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12504         Unify description of the dump property.
12505
12506 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12507
12508         * tests/examples/manual/.cvsignore:
12509         OK, so it's actually cvsignore that needs changing. Stop laughing.
12510
12511 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12512
12513         * tests/examples/manual/Makefile.am:
12514         Gah, declare vars *before* using them
12515
12516 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12517
12518         * gst/gst.c: (init_pre), (scan_and_update_registry),
12519         (ensure_current_registry_nonforking),
12520         (ensure_current_registry_forking), (ensure_current_registry),
12521         (init_post), (gst_debug_help), (gst_deinit):
12522         * gst/gst_private.h:
12523         * gst/gstregistry.c: (gst_registry_finalize),
12524         (gst_registry_remove_features_for_plugin_unlocked),
12525         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12526         (gst_registry_scan_path),
12527         (_priv_gst_registry_remove_cache_plugins),
12528         (_priv_gst_registry_cleanup):
12529         * gst/gstregistry.h:
12530         Re-commit the registry changes, along with an extra fix:
12531           When a cached plugin is encountered at a different file path,
12532           update the stored path in the registry cache so that the parent
12533           process knows where it actually is now when it re-reads the registry
12534           cache. Fixes the thing that broke distcheck with the previous commit.
12535
12536         * tests/check/Makefile.am:
12537         Clean up files named 'core' too when running make clean.
12538
12539         * tests/examples/manual/Makefile.am:
12540         Set up a registry path for running these tests, and clean it properly
12541         for distcheck.
12542
12543 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12544
12545         * configure.ac:
12546         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12547         want gmodule-no-export-2.0.pc instead so that we don't drag in
12548         --export-dynamic on every project that links to GStreamer.
12549
12550         Also, make our export regex only match the start of symbols, rather 
12551         than any symbol that contains '_gst' somewhere.
12552
12553         * libs/gst/check/Makefile.am:
12554         The libgstcheck we build does however need export-dynamic, as it
12555         produces some symbols that don't match our _gst... style regex.
12556         Fixes: #318031
12557
12558 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12559
12560         * gst/gst.c: (init_pre), (scan_and_update_registry),
12561         (ensure_current_registry_nonforking),
12562         (ensure_current_registry_forking), (ensure_current_registry),
12563         (init_post), (gst_debug_help), (gst_deinit):
12564         * gst/gst_private.h:
12565         * gst/gstregistry.c: (gst_registry_finalize),
12566         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12567         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12568         (_gst_registry_cleanup):
12569         * gst/gstregistry.h:
12570           Revert previous change until I figure out why it breaks distcheck.
12571
12572 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12573
12574         * gst/gst.c: (init_pre), (scan_and_update_registry),
12575         (ensure_current_registry_nonforking),
12576         (ensure_current_registry_forking), (ensure_current_registry),
12577         (init_post), (gst_debug_help), (gst_deinit):
12578
12579           Make init_pre and init_post take the full complement of GOptionFunc
12580           args so they can return useful GErrors. Make the registry updating
12581           functions do so.
12582
12583           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12584           ensure that the registry we're about to write out doesn't contain
12585           stale information about old-deleted plugin files.
12586
12587           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12588           that deletion of plugin files is considered a registry change.
12589
12590         * gst/gst_private.h:
12591         * gst/gstregistry.c: (gst_registry_finalize),
12592         (gst_registry_remove_features_for_plugin_unlocked),
12593         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12594         (gst_registry_scan_path),
12595         (_priv_gst_registry_remove_cache_plugins),
12596         (_priv_gst_registry_cleanup):
12597         * gst/gstregistry.h:
12598         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12599         by adding _priv prefix, so that they won't appear in the global
12600         symbol table. They still do atm though because of #318031. Move the
12601         prototypes to gst_private.h
12602
12603         When removing a plugin, remove all features for that plugin too. 
12604         Fixes #340878.
12605
12606 2006-09-27  Wim Taymans  <wim@fluendo.com>
12607
12608         * docs/random/moving-plugins:
12609         Make it clear that the "compiled-in descriptions" really mean
12610         the element details.
12611
12612         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12613         (gst_base_sink_wait_preroll):
12614         Update docs.
12615
12616         * docs/libs/gstreamer-libs-sections.txt:
12617         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12618         (gst_base_src_get_range), (gst_base_src_activate_push):
12619         * libs/gst/base/gstbasesrc.h:
12620         Added function to block while waiting for PLAYING, this function
12621         is used by live sources that block on the clock.
12622         API: gst_base_src_wait_playing()
12623
12624 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12625
12626         Patch by: Peter Kjellerstedt <pkj at axis com>
12627
12628         * Makefile.am:
12629           gst-element-check.m4 is generated and should therefore be
12630           copied from the build dir rather than the source dir (#357593).
12631           'make distcheck' hasn't noticed this because we were disting
12632           the file as well, so stop doing that.
12633
12634 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12635
12636         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12637           Add some tests for gst_caps_intersect().
12638
12639         * tools/gst-launch.c: (event_loop):
12640           Print all buffering percentages we get, even the 100% one.
12641
12642 2006-09-26  Wim Taymans  <wim@fluendo.com>
12643
12644         * tools/gst-inspect.c: (print_element_properties_info),
12645         (print_signal_info):
12646         Fix printing of flags to match the look of enums.
12647
12648 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12649
12650         * gst/gstelementfactory.c:
12651           Fix typo in docs blurb.
12652
12653 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12654
12655         * gst/gsturi.c: (search_by_entry):
12656           Don't assert/crash here if a uri handler doesn't return any
12657           supported protocols. The list of protocols could be generated
12658           dynamically at runtime or at plugin registration, and an error
12659           in the underlying library shouldn't be fatal (#353301).
12660
12661 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12662
12663         * gst/gstinfo.c:
12664           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12665           (spotted by Peter Kjellerstedt).
12666
12667 2006-09-23  Wim Taymans  <wim@fluendo.com>
12668
12669         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12670
12671         * libs/gst/base/gstbasesrc.c:
12672         (gst_base_src_default_check_get_range), (gst_base_src_start),
12673         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12674         (gst_base_src_change_state):
12675         Match _start/_stop calls in the activate functions. Remove redundant
12676         _stop call from the state change function. Fixes #356910.
12677         Turn failure DEBUG into ERROR. 
12678
12679 2006-09-22  Wim Taymans  <wim@fluendo.com>
12680
12681         * docs/design/part-buffering.txt:
12682         * gst/gstmessage.c: (gst_message_new_buffering),
12683         (gst_message_parse_buffering):
12684         Update docs about buffering.
12685
12686         * docs/design/part-trickmodes.txt:
12687         Fix typo.
12688
12689 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12690
12691         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12692         (gst_controller_new_list):
12693           Ref instances when returning them again (fixes #357180)
12694
12695 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12696
12697         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12698           Don't forget to release proxy lock when there's an error.
12699
12700 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12701
12702         * gst/gstcaps.h:
12703           Add extra initialisers for Caps things, to fix some plugin warnings
12704           when using -Wextra
12705
12706 2006-09-18  Wim Taymans  <wim@fluendo.com>
12707
12708         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12709           Also set template on the internal pad so that a getcaps from the 
12710           target pad returns the template caps.
12711
12712 2006-09-18  Wim Taymans  <wim@fluendo.com>
12713
12714         * gst/gstelement.c: (gst_element_post_message),
12715         (gst_element_dispose):
12716         Use _DEBUG_OBJECT some more.
12717
12718         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12719         Avoid typechecks.
12720
12721         * tools/gst-launch.c: (main):
12722         If the toplevel element is not a GstPipeline, it must be put in a
12723         pipeline so that a bus and clock is selected.
12724
12725 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12726
12727         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12728           JITTER, RATE, and LATENCY query should be handled by the
12729           default case and not by the CONVERT query code.
12730
12731 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12732
12733         * gst/gstformat.c: (gst_format_register):
12734           Fix locking order (must take lock before using n_values).
12735
12736         * gst/gstvalue.c: (gst_value_serialize_enum),
12737         (gst_value_deserialize_enum_iter_cmp),
12738         (gst_value_deserialize_enum):
12739           Fix serialisation/deserialisation of custom registered GstFormats.
12740
12741         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12742           Unit test for custom format serialisation/deserialisation.
12743
12744 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12745
12746         * docs/pwg/building-boiler.xml:
12747         * plugins/elements/gstcapsfilter.c:
12748         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12749         section.
12750
12751 2006-09-16  Edward Hervey  <edward@fluendo.com>
12752
12753         * libs/gst/base/gstbasetransform.c:
12754         (gst_base_transform_buffer_alloc):
12755         Check if requested caps are the same as the sinks caps IF
12756         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12757         is FALSE.
12758         This fixes the renegotiation issues stated in #352827.
12759
12760 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12761
12762         * configure.ac:
12763         * docs/manual/advanced-autoplugging.xml:
12764         * tests/examples/Makefile.am:
12765         * tests/examples/manual/.cvsignore:
12766         * tests/examples/manual/Makefile.am:
12767         * tests/examples/manual/extract.pl:
12768           Extract the manual examples again like we used to do.
12769           Fix one of them.
12770
12771 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12772
12773         * win32/common/config.h:
12774           update for version
12775
12776 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12777
12778         * gst/gsterror.c:
12779           Documents how to receive errors.
12780
12781 2006-09-15  Wim Taymans  <wim@fluendo.com>
12782
12783         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12784         (event_loop), (main):
12785         Added some comments here and there.
12786         Post an application message when an interrupt is caught instead of doing
12787         an uncontrolled state change.
12788         Clean up the event loop.
12789         Handle buffering messages, pause/resume the pipeline.
12790         Make shutdown because of an interrupt more reliable.
12791
12792 2006-09-15  Wim Taymans  <wim@fluendo.com>
12793
12794         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12795         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12796         (gst_base_sink_preroll_object):
12797         Make sure that our internal state is correct when we commit our state
12798         asynchronously. This solves a race where a state change to PLAYING
12799         could cause the sink to remain blocked in preroll in some situations.
12800
12801 2006-09-15  Wim Taymans  <wim@fluendo.com>
12802
12803         * tools/gst-inspect.c: (print_element_properties_info),
12804         (print_signal_info):
12805         List flags as hex so it's easier to deal with.
12806
12807 2006-09-15  Wim Taymans  <wim@fluendo.com>
12808
12809         * docs/libs/gstreamer-libs-sections.txt:
12810         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12811         (gst_base_sink_do_sync):
12812         * libs/gst/base/gstbasesink.h:
12813         Expose logic to wait for preroll so that subclasses such as audiosink
12814         can also use this method.
12815         API: gst_base_sink_wait_preroll()
12816
12817 2006-09-15  Wim Taymans  <wim@fluendo.com>
12818
12819         * gst/gstobject.c: (gst_object_set_parent):
12820         * gst/gstpipeline.c: (do_pipeline_seek):
12821         Small cleanups in docs and code.
12822
12823         * gst/gstsegment.c: (gst_segment_clip):
12824         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12825         if stop == start and start is in the segment, no clipping should be
12826         done. Also add a test for this.
12827
12828 2006-09-15  Wim Taymans  <wim@fluendo.com>
12829
12830         * docs/design/part-buffering.txt:
12831         * docs/gst/gstreamer-sections.txt:
12832         * gst/gstmessage.c: (gst_message_new_buffering),
12833         (gst_message_parse_buffering):
12834         * gst/gstmessage.h:
12835         Added methods to create and parse BUFFERING messages.
12836         Added preliminary docs about buffering.
12837         API: gst_message_new_buffering
12838         API: gst_message_parse_buffering
12839
12840 2006-09-06  Wim Taymans  <wim@fluendo.com>
12841
12842         * gst/gstbin.c:
12843         Update documentation.
12844
12845         * gst/gstelement.c: (gst_element_class_init),
12846         (gst_element_release_request_pad), (gst_element_set_clock),
12847         (gst_element_get_index), (gst_element_add_pad),
12848         (gst_element_remove_pad), (gst_element_get_random_pad),
12849         (gst_element_send_event), (gst_element_get_query_types),
12850         (gst_element_query), (gst_element_post_message),
12851         (gst_element_message_full), (gst_element_continue_state),
12852         (gst_element_lost_state), (gst_element_save_thyself),
12853         (gst_element_restore_thyself):
12854         Documentation updates.
12855         Rename last bit of the new-pad -> pad-added signal rename.
12856         Fix the case where an element query would only work if the source
12857         pad was linked.
12858         Avoid some useless type checking in message handling.
12859
12860         * gst/gstevent.c:
12861         * gst/gstevent.h:
12862         * gst/gstutils.c:
12863         Documentation updates.
12864
12865 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12866
12867         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12868           add an INFO line for when we actually update the fd
12869
12870 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12871
12872         * configure.ac:
12873           back to TRUNK
12874
12875 === release 0.10.10 ===
12876
12877 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12878
12879         * configure.ac:
12880           releasing 0.10.10, "Pais"
12881
12882 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12883
12884         * docs/manual/advanced-position.xml:
12885           Fix typo in sample code.
12886
12887 2006-09-05  Wim Taymans  <wim@fluendo.com>
12888
12889         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12890         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12891         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12892         * libs/gst/net/gstnetclientclock.h:
12893         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12894         * libs/gst/net/gstnettimepacket.h:
12895         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12896         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12897         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12898         * libs/gst/net/gstnettimeprovider.h:
12899         Make stuff compile on windows. Fixes #345295.
12900
12901 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12902
12903         * gst/gst.c: (ensure_current_registry_forking):
12904           Print better details when child was terminated by signal.
12905
12906 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12907
12908         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12909           Print a warning rather than g_assert() if a plugin feature
12910           is a URI handler but returns no protocols (#353976).
12911
12912 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12913
12914         * docs/random/moving-plugins:
12915         Fix two typos.         
12916
12917 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12918
12919         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12920           Fix locking order, handle NULL function values properly.
12921
12922         * gst/gstinfo.h:
12923           Fix docs.
12924
12925         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12926           Initialise variable before using it and fix debug statement to
12927           print the address of the function rather than the address of the
12928           variable on the stack holding the address of the function.
12929
12930 2006-09-01  Wim Taymans  <wim@fluendo.com>
12931
12932         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12933         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12934         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12935         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12936         (gst_ghost_pad_parent_unset),
12937         (gst_ghost_pad_internal_do_activate_push),
12938         (gst_ghost_pad_internal_do_activate_pull),
12939         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12940         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12941         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12942         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12943         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12944         (gst_ghost_pad_new_no_target_from_template),
12945         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12946         More cleanups.
12947         Avoid needless typechecking in macros.
12948         Since the internal pad is always present and never changes, there is
12949         no need to locking or ref when retrieving it.
12950         Improve debugging a bit.
12951         Handle link errors when setting the target. Fixes #341029.
12952
12953 2006-09-01  Wim Taymans  <wim@fluendo.com>
12954
12955         * docs/libs/gstreamer-libs-sections.txt:
12956         * docs/plugins/gstreamer-plugins-sections.txt:
12957         Fix docs some more.
12958
12959         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12960         (gst_collect_pads_event):
12961         * libs/gst/base/gstcollectpads.h:
12962         Documentation updates.
12963         Free queued buffer when removing a pad.
12964
12965 2006-08-31  Michael Smith  <msmith@fluendo.com>
12966
12967         * gst/gstutils.c: (gst_element_link_pads),
12968         (gst_element_link_pads_filtered):
12969           Ensure that we set a capsfilter to NULL if we failed to link it
12970           when doing filtered linking, to avoid criticals.
12971
12972           No need to check for unreffing srcpad, which is explicly NULLed
12973           above (a trivial code cleanup).
12974
12975 2006-08-31  Wim Taymans  <wim@fluendo.com>
12976
12977         * docs/design/part-gstghostpad.txt:
12978         Update ascii art in documentation.
12979
12980         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12981         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12982         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12983         (gst_ghost_pad_internal_do_activate_push),
12984         (gst_ghost_pad_internal_do_activate_pull),
12985         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12986         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12987         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12988         (gst_ghost_pad_set_target):
12989         Small cleanups and leak fixes.
12990         Remove some checks now that the internal pad is never NULL.
12991         Fix the case where linking pads without a target would create nasty
12992         criticals. Fixes #341029.
12993         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12994         value of _set_target().
12995
12996         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12997         (gst_ghost_pad_suite):
12998         Some more tests for creating and linking untargeted ghostpads.
12999
13000 2006-08-31  Edward Hervey  <edward@fluendo.com>
13001
13002         * docs/gst/gstreamer-sections.txt:
13003         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
13004         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13005         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
13006         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
13007         (gst_ghost_pad_new_from_template),
13008         (gst_ghost_pad_new_no_target_from_template):
13009         * gst/gstghostpad.h:
13010         Refactored *_new() functions.
13011         Templates are now used as a g_object_new() parameter.
13012         Use template in _do_getcaps() if we don't have a target.
13013         Small documentation cleanups.
13014         Added two new constructors:
13015         gst_ghost_pad_new_from_template()
13016         gst_ghost_pad_new_no_target_from_template()
13017         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
13018         (gst_ghost_pad_suite):
13019         Added tests for new ghostpad instanciation functions.
13020
13021         API additions: gst_ghost_pad_new_from_template,
13022         gst_ghost_pad_new_no_target_from_template
13023
13024 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
13025
13026         * docs/random/ensonic/profiling.txt:
13027           Ideas about qos profiling.
13028
13029 2006-08-29  Wim Taymans  <wim@fluendo.com>
13030
13031         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
13032         Code cleanups.
13033         Fix memleak.
13034
13035 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
13036
13037         * gst/gstxml.c:
13038           Improve and detypofy docs.
13039
13040         * tests/check/Makefile.am:
13041         * tests/check/gst/.cvsignore:
13042         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
13043           Add a basic test suite for GstXML.
13044
13045 2006-08-29  Wim Taymans  <wim@fluendo.com>
13046
13047         * gst/gstelement.c: (activate_pads), (clear_caps),
13048         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13049         Clear the pad caps when the element shut down all of the pads and
13050         is not streaming data that could modify the caps. 
13051         Fixes #352958.
13052
13053 2006-08-28  Michael Smith  <msmith@fluendo.com>
13054
13055         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13056           Revert previous change; I misunderstood single-segment mode.
13057
13058 2006-08-28  Michael Smith  <msmith@fluendo.com>
13059
13060         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13061           Unset DISCONT on buffers when using single-segment mode.
13062
13063 2006-08-28  Wim Taymans  <wim@fluendo.com>
13064
13065         * gst/gstcaps.c: (gst_caps_merge_structure):
13066         * gst/gstcaps.h:
13067         Fix docs and indentation again.
13068
13069         * tests/check/gst/gstquery.c: (GST_START_TEST):
13070         Fix leak in tests and add some more tests.
13071
13072 2006-08-28  Edward Hervey  <edward@fluendo.com>
13073
13074         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13075         Inform GstSegment of the last stop position in order for the current
13076         segment to have a proper duration if it doesn't have a specific stop
13077         position from which a duration could be calculated.
13078         This bug was noticeable when a non-flushing, non-update new segment was
13079         followed by another segment (all buffers from the new segment were being
13080         dropped).
13081
13082 2006-08-28  Wim Taymans  <wim@fluendo.com>
13083
13084         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13085         Small comment update.
13086
13087         * plugins/elements/gstidentity.c: (gst_identity_class_init),
13088         (gst_identity_transform_ip):
13089         Drop-probability is broken, mention this in the code with a 
13090         FIXME and also in the property description.
13091         Make silent also be silent about the drop messages.
13092
13093 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
13094
13095         * docs/manual/appendix-win32.xml:
13096           Remove mention of popt, we don't depend on that any
13097           longer (#353136). Add some comments pointing out that
13098           this section is slightly outdated.
13099
13100 2006-08-28  Wim Taymans  <wim@fluendo.com>
13101
13102         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13103
13104         * gst/gstquery.c: (gst_query_new_segment):
13105         * tests/check/gst/gstquery.c: (GST_START_TEST):
13106         Initialize variables when creating a new segment query.
13107         Fixes #353121.
13108
13109 2006-08-28  Wim Taymans  <wim@fluendo.com>
13110
13111         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13112
13113         * gst/gstelement.c: (gst_element_get_bus):
13114         * tests/check/gst/gstelement.c: (GST_START_TEST):
13115         Check for NULL before _reffing the bus. Fixes #353122.
13116
13117 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
13118
13119         * docs/manual/basics-bus.xml:
13120           Docs update: fix wrong callback return value explanation; add
13121           some lines about the implicit relationship between main loop
13122           and main context; remove duplicate main loop variable declaration.
13123
13124 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
13125
13126         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13127           Don't leak caps in unit test; add a few more simple
13128           checks. 
13129
13130 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
13131
13132         * docs/gst/gstreamer-sections.txt:
13133         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
13134         (gst_caps_structure_is_subset), (gst_caps_merge),
13135         (gst_caps_merge_structure):
13136         * gst/gstcaps.h:
13137         * libs/gst/base/gstbasetransform.c:
13138         (gst_base_transform_transform_caps):
13139         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13140           implement caps merging (fixes #352580)
13141
13142 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
13143
13144         * tools/Makefile.am:
13145         * tools/gst-plot-timeline.py:
13146           add debug-log plotting developer tool (#340674)
13147
13148 2006-08-23  Wim Taymans  <wim@fluendo.com>
13149
13150         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
13151         (gst_pad_stop_task):
13152         Improve debugging for task functions.
13153
13154         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
13155         (gst_task_start), (gst_task_pause), (gst_task_join):
13156         Make sure that the task function started and finished after a 
13157         join(). 
13158         Don't try to push the task function on the threadpool multiple
13159         times.
13160         Improve the g_warning message with some useful suggestions
13161         about how to fix the problem. 
13162
13163 2006-08-23  Wim Taymans  <wim@fluendo.com>
13164
13165         * gst/gstutils.c: (gst_pad_proxy_getcaps):
13166         Handle RESYNC correctly in _proxy_getcaps.
13167
13168 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
13169
13170         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
13171         (gst_xml_parse_memory), (gst_xml_get_element):
13172           Chain up to parent class in dispose function and also
13173           unref the elements in the toplevel_elements GList.
13174           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
13175           Always return a reference in gst_xml_get_element() rather
13176           than only sometimes.
13177
13178         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13179           Don't leak GstXml object.
13180
13181 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
13182
13183         * docs/gst/gstreamer-sections.txt:
13184         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
13185         (gst_caps_merge):
13186         * gst/gstcaps.h:
13187         * libs/gst/base/gstbasetransform.c:
13188         (gst_base_transform_transform_caps):
13189           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13190           in a better way
13191
13192 2006-08-21  Edward Hervey  <edward@fluendo.com>
13193
13194         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13195         Implement GObject::dispose virtual method in GstXML so we can free the
13196         top_elements GList.
13197
13198 2006-08-21  Wim Taymans  <wim@fluendo.com>
13199
13200         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13201         (gst_buffer_create_sub):
13202         Copy duration/offset_end/caps when creating a subbuffer of the
13203         complete parent.
13204         Make the subbuffer read-only when we make the metadata writable for
13205         now. Fixes #351768.
13206
13207         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13208         Added check for metadata copy when creating subbuffers.
13209
13210 2006-08-21  Edward Hervey  <edward@fluendo.com>
13211
13212         * libs/gst/base/gstbasetransform.c:
13213         (gst_base_transform_buffer_alloc):
13214         Only call downstream buffer_alloc if transform element is passthrough
13215         or always_in_place. Closes #350449.
13216
13217 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13218
13219         * ChangeLog:
13220           ChangeLog surgery to add comments to previous changes
13221
13222 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13223
13224         * gst/gst.c:
13225           Add comments
13226
13227         * gst/gstpad.c: (gst_pad_set_active):
13228           Be more verbose in the log
13229
13230         * libs/gst/base/gstbasetransform.c:
13231         (gst_base_transform_transform_caps):
13232           Simplify caps to get rid of duplicates, fixes #345444
13233
13234 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13235
13236         * gst/gstvalue.c:
13237         * gst/gstvalue.h:
13238           Use these optimizations only internally.
13239
13240 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13241
13242         * gst/gstvalue.c: (gst_value_compare_list),
13243         (gst_value_compare_fraction_range),
13244         (gst_value_intersect_fraction_fraction_range),
13245         (gst_value_intersect_fraction_range_fraction_range),
13246         (gst_value_subtract_fraction_fraction_range),
13247         (gst_value_subtract_fraction_range_fraction_range),
13248         (gst_value_get_compare_func), (gst_value_compare),
13249         (gst_value_compare_with_func):
13250         * gst/gstvalue.h:
13251           Saves the expensive lookup of the compare function in many cases
13252          (#345444)
13253
13254 2006-08-18  Edward Hervey  <edward@fluendo.com>
13255
13256         * tests/check/gst/gstinfo.c: (gst_info_suite):
13257         Disable test that require gstdebug if it wasn't built in core.
13258
13259 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13260
13261         * docs/random/ensonic/logging.txt:
13262           update ideas
13263           
13264         * gst/gstinfo.c: (gst_debug_log_default):
13265           reorder fields, save some columns, add optional color codes for log
13266           levels
13267
13268 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13269
13270         * docs/random/ensonic/logging.txt:
13271           add ideas about making the logs a bit more useful
13272
13273 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13274
13275         * docs/pwg/advanced-events.xml:
13276         * docs/pwg/titlepage.xml:
13277           Update for 0.10 API (#340627). Add myself
13278           to authors list.
13279
13280 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13281
13282         * docs/libs/gstreamer-libs-docs.sgml:
13283         * docs/libs/gstreamer-libs-sections.txt:
13284         * libs/gst/check/gstbufferstraw.c:
13285           Make gstcheck stuff show up in docs (still needs to
13286           be documented properly though).
13287
13288 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
13289
13290         * docs/gst/gstreamer-sections.txt:
13291         * gst/Makefile.am:
13292         * gst/gst.c: (init_post):
13293         * gst/gst_private.h:
13294         * gst/gstquark.c: (_priv_gst_quarks_initialize):
13295         * gst/gstquark.h:
13296         * gst/gstquery.c: (gst_query_new_position),
13297         (gst_query_set_position), (gst_query_parse_position),
13298         (gst_query_new_duration), (gst_query_set_duration),
13299         (gst_query_parse_duration), (gst_query_new_convert),
13300         (gst_query_set_convert), (gst_query_parse_convert),
13301         (gst_query_new_segment), (gst_query_set_segment),
13302         (gst_query_parse_segment), (gst_query_new_seeking),
13303         (gst_query_set_seeking), (gst_query_parse_seeking):
13304         Add internal helpers for pre-registering quarks from static strings
13305         and using the quark values directly instead of looking them up when
13306         creating and parsing queries. Can be used for event construction too.
13307         Closes #350432.
13308
13309 2006-08-16  Wim Taymans  <wim@fluendo.com>
13310
13311         * gst/gstbin.c:
13312         Fix bogus docs.
13313
13314 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13315
13316         * gst/gstutils.c: (gst_util_set_value_from_string):
13317           Fix memleak (#351502).
13318
13319         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13320           Add unit test for most of gst_util_set_value_from_string()
13321           (not that one would want to encourage use of this function).
13322
13323 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13324
13325         * libs/gst/check/gstcheck.h:
13326           Use const gchar * variables in fail_unless_equals_string
13327           macro to avoid compiler warnings (and don't use tabs for
13328           indenting).
13329
13330 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13331
13332         * tools/gst-launch.c: (print_tag):
13333           More space on the left for the tag names, to cater
13334           for the 'extended comment' tag (not touching the
13335           string for the first line since it's translated).
13336
13337 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13338
13339         * libs/gst/check/gstcheck.h:
13340           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13341           print something when they fail.
13342
13343 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13344
13345         * docs/gst/gstreamer-sections.txt:
13346         * gst/gsttaglist.c: (_gst_tag_initialize):
13347         * gst/gsttaglist.h:
13348           API: add GST_TAG_EXTENDED_COMMENT (#350935).
13349           Also change merge function for GST_TAG_COMMENT to
13350           use_first.
13351
13352 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13353
13354         * gst/gstinfo.c: (gst_debug_print_object):
13355           Make GST_PTR_FORMAT print messages as well.
13356
13357         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13358         (GST_START_TEST), (gst_info_suite):
13359           More tests.
13360
13361 2006-08-14  Edward Hervey  <edward@fluendo.com>
13362
13363         * gst/gstelementfactory.c: (gst_element_register):
13364         If the GstElementClass doesn't have a GstElementDetails with all fields
13365         filled up correctly (longname, description AND author), then error out
13366         nicely instead of crashing.
13367
13368 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13369
13370         * gst/gststructure.c:
13371           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13372
13373         * gst/gstvalue.h:
13374           Expand on the difference between arrays and lists as we use them.
13375           
13376 2006-08-14  Wim Taymans  <wim@fluendo.com>
13377
13378         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13379         If the parent state change function failed, don't assume we can safely
13380         stop the source, this will be done when the pads are deactivated.
13381
13382 2006-08-14  Wim Taymans  <wim@fluendo.com>
13383
13384         * gst/gstbuffer.c:
13385         * gst/gsttask.c: (gst_task_join):
13386         Small doc updates.
13387
13388         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13389         (gst_pad_stop_task):
13390         When pad (de)activation failed for some reason, restore the old
13391         activation mode and set the pad to flushing instead of assuming the
13392         pad is deactivated.
13393         If the _task_join() failed, reinstall the task on the pad so that it can
13394         be stopped later and return an error.
13395
13396 2006-08-11  Andy Wingo  <wingo@pobox.com>
13397
13398         * configure.ac:
13399         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13400         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13401         is only for users of API that don't want to see deprecated
13402         functions in the headers; people that want to compile out
13403         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13404         CFLAGS. Fixes the build of multifdsink, or will soon..
13405
13406 2006-08-11  Wim Taymans  <wim@fluendo.com>
13407
13408         * docs/gst/gstreamer-sections.txt:
13409         Add GstClockClass vmethod docs.
13410
13411         * gst/gstcaps.h:
13412         Mark #endif with comment for associated #if
13413
13414         * gst/gstclock.c: (gst_clock_id_wait):
13415         * gst/gstclock.h:
13416         Add vmethod wait_jitter to avoid an unneeded _get_time() for
13417         most clock implementations.
13418         Document vmethods.
13419         Flesh out docs about resolution methods.
13420         API: GstClockClass::wait_jitter
13421
13422         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13423         (gst_system_clock_async_thread),
13424         (gst_system_clock_id_wait_jitter_unlocked),
13425         (gst_system_clock_id_wait_jitter):
13426         Use base class wait_jitter variant for improved performance
13427         due to less clock polling.
13428
13429 2006-08-11  Edward Hervey  <edward@fluendo.com>
13430
13431         * gst/gst.c: (gst_init_check), (init_post):
13432         Set gst as being initialized before scanning/updating the registry,
13433         since there might be my python plugin loader that calls gst_init() and
13434         we don't want to loop back in.
13435         Closes #350879
13436
13437 2006-08-11  Wim Taymans  <wim@fluendo.com>
13438
13439         * docs/design/part-qos.txt:
13440         Bring docs in line with the code. Mostly the sign of the jitter was
13441         wrong in the docs. Fixes #349943.
13442
13443         * gst/gstclock.c:
13444         Fix the docs for the jitter.
13445
13446         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13447         (gst_event_parse_tag), (gst_event_new_buffer_size),
13448         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13449         (gst_event_new_seek), (gst_event_parse_seek),
13450         (gst_event_new_navigation):
13451         Make sure the GstStructure has no parent when creating custom
13452         events.
13453         Add some more argument checking so that we avoid 0.0 rates.
13454         Flesh out the docs for the QoS event some more.
13455
13456 2006-08-11  Wim Taymans  <wim@fluendo.com>
13457
13458         * docs/gst/gstreamer-sections.txt:
13459         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13460         (ensure_current_registry_forking), (ensure_current_registry),
13461         (parse_one_option), (parse_goption_arg), (gst_deinit),
13462         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13463         * gst/gst.h:
13464         Doc updates.
13465         Added API and command line option to disable registry forking in
13466         addition to the environment variable.
13467         Constify some static arrays.
13468         Added some more debug.
13469         Don't deinit twice.
13470         API: gst_registry_fork_is_enabled()
13471         API: gst_registry_fork_set_enabled()
13472         API: --gst-disable-registry-fork command line option
13473         Fixes #348918.
13474
13475 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13476
13477         * gst/gst.c: (gst_init):
13478           Fix typo in error message.
13479
13480 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13481
13482         * libs/gst/controller/gstcontroller.h:
13483           fix ABI size-correction
13484
13485         * tests/check/libs/gdp.c: (gst_dp_suite):
13486           make tests that use deprecated API conditional
13487
13488 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13489
13490         * docs/libs/gstreamer-libs-sections.txt:
13491         * libs/gst/controller/gstcontroller.c:
13492         (_gst_controller_get_property), (_gst_controller_set_property),
13493         (_gst_controller_init), (_gst_controller_class_init):
13494         * libs/gst/controller/gstcontroller.h:
13495         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13496         (gst_object_set_control_rate):
13497           API: add gst_object_{s,g}et_control_rate(), add private data section,
13498           fix docs
13499
13500         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13501         * libs/gst/dataprotocol/dataprotocol.h:
13502           add deprecation guards to make gtk-doc happy and allow disabling cruft
13503
13504 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13505
13506         * tests/check/Makefile.am:
13507         * tests/check/gst/.cvsignore:
13508           Let's enable the new unit test as well.
13509
13510 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13511
13512         * configure.ac:
13513         * docs/gst/gstreamer-sections.txt:
13514         * gst/gstconfig.h.in:
13515         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13516         (_gst_info_printf_extension_ptr),
13517         (_gst_info_printf_extension_segment):
13518           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13519           register that lets us easily dump GstSegments into debug
13520           logs (#350419).
13521
13522         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13523         (info_segment_format_printf_extension), (gst_info_suite):
13524           Add simple unit test that logs a bunch of different segments (not
13525           valgrinded at the moment because of leaks in
13526           gst_debug_add_log_function).
13527
13528 2006-08-09  Edward Hervey  <edward@fluendo.com>
13529
13530         * libs/gst/base/gstbasetransform.c:
13531         (gst_base_transform_buffer_alloc):
13532         Even if we can't figure out the proper format to request downstream,
13533         call buffer_alloc() downstream with the input parameters without setting
13534         the caps on the srcpad. This will force negotiation in the chain
13535         function.
13536         Closes #350449
13537
13538 2006-08-08  Edward Hervey  <edward@fluendo.com>
13539
13540         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13541         Unlinking from a pad without a target is now a perfectly valid case
13542         which should NOT raise an assertion.
13543         This case would happen if a linked ghostpad its target set to NULL after
13544         it was previously linked.
13545
13546 2006-08-08  Edward Hervey  <edward@fluendo.com>
13547
13548         * tests/check/libs/gdp.c:
13549         Also comment out the test (see below).
13550
13551 2006-08-08  Edward Hervey  <edward@fluendo.com>
13552
13553         * tests/check/libs/gdp.c: (gst_dp_suite):
13554         Use the architecture information from config.h and not gcc macros
13555         in order to properly disable a test that fails on PPC64.
13556
13557 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13558
13559         * gst/gstelement.c: (gst_element_remove_pad):
13560           Don't crash printing the warning if the pad has no parent.
13561
13562 2006-08-02  Wim Taymans  <wim@fluendo.com>
13563
13564         * libs/gst/dataprotocol/dataprotocol.c:
13565         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13566         (gst_dp_crc), (gst_dp_header_payload_length),
13567         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13568         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13569         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13570         (gst_dp_event_from_packet), (gst_dp_validate_header),
13571         (gst_dp_validate_payload):
13572         Make debug category static
13573         Constify the crc table.
13574         Do some more arg checking in public functions.
13575         Fix some docs and do some small cleanups.
13576
13577         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13578         Add some more checks to see if GDP deals with bogus input.
13579
13580 2006-07-31  Wim Taymans  <wim@fluendo.com>
13581
13582         * gst/gstvalue.c: (gst_value_compare_list):
13583         Fix GstValueList comparison code. Fixes #347293.
13584
13585         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13586         Check to test GstValueList comparison.
13587
13588 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13589
13590         * gst/gstelementfactory.c: (gst_element_factory_create):
13591         Remove unnecessary ref/unref pair
13592
13593         * gst/parse/grammar.y:
13594         Make sure to free the parse buffer on all code paths.
13595         Move a g_free up to the error handler where it's easier to see.
13596
13597         * tests/check/gst/gstevent.c: (test_event):
13598         Extending timeout for downstream travelling events to 10 seconds to
13599         hopefully avoid intermittent failure on the buildbots.
13600
13601         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13602         Don't manually set the state of the src element - it will happen as a
13603         natural consequence of the pipeline changing state, and that way it
13604         will do it in the right order too.
13605
13606 2006-07-31  Wim Taymans  <wim@fluendo.com>
13607
13608         * libs/gst/base/gstbasetransform.c:
13609         (gst_base_transform_buffer_alloc):
13610         Use OBJECT_LOCK and refcounting to get the pad caps in the
13611         buffer_alloc function because the caps could change while we are
13612         busy with them. Fixes #349105
13613
13614 2006-07-31  Wim Taymans  <wim@fluendo.com>
13615
13616         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13617         Protect _PAD_CAPS with OBJECT_LOCK.
13618
13619 2006-07-31  Wim Taymans  <wim@fluendo.com>
13620
13621         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13622         (gst_pad_get_property), (gst_pad_activate_pull),
13623         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13624         (gst_pad_set_activate_function),
13625         (gst_pad_set_activatepull_function),
13626         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13627         (gst_pad_set_getrange_function),
13628         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13629         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13630         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13631         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13632         (gst_pad_set_acceptcaps_function),
13633         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13634         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13635         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13636         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13637         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13638         (gst_pad_configure_sink), (gst_pad_configure_src),
13639         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13640         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13641         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13642         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13643         (gst_pad_send_event):
13644         Use _DEBUG_OBJECT when it makes sense.
13645         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13646         Small cleanups and code reflows.
13647         Avoid caps refcounting in _accept_caps.
13648         Refactor alloc_buffer so that the code performed on the peer is in a
13649         separate function. Also if the pad does not implement a buffer alloc
13650         function, we should still check if the pad is flushing before falling
13651         back to the default allocator.
13652
13653 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13654
13655         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13656         Make all uses of identity and fakesink have silent=true to avoid
13657         serialising every passing data structure, which is breaking tests
13658         on FC4 for some unknown reason.
13659
13660 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13661
13662         * gst/parse/Makefile.am:
13663         * gst/parse/grammar.y:
13664         * gst/parse/parse.l:
13665           Reverted previous patch as it required to bump the flex dependency to
13666           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13667
13668 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13669
13670         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13671
13672         * gst/parse/Makefile.am:
13673         * gst/parse/grammar.y:
13674         * gst/parse/parse.l:
13675           push & pop the state of the lexer for reentrant use case
13676           Fixes #349180
13677
13678 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13679
13680         * libs/gst/base/gstbasesrc.h:
13681           Note in the docs that the ::newsegment vfunc is not actually used by
13682           GstBaseSrc.
13683
13684 2006-07-28  Wim Taymans  <wim@fluendo.com>
13685
13686         * libs/gst/base/gstcollectpads.c:
13687         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13688         (gst_collect_pads_clear), (gst_collect_pads_flush),
13689         (gst_collect_pads_event), (gst_collect_pads_chain):
13690         When flushing a pad, also clear the queued buffer so that we don't
13691         accidentally use it when we shouldn't.
13692         Fix leaks by inreffing incomming buffer.
13693         Flush out queued buffers in case of errors.
13694         Fixes #347452.
13695
13696 2006-07-28  Wim Taymans  <wim@fluendo.com>
13697
13698         * docs/random/phonon-gst:
13699         Random notes about a Phonon backend.
13700
13701 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13702
13703         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13704         Extra debug output
13705         * tests/check/libs/gdp.c: (gst_dp_suite):
13706         Take a whack at fixing the ppc compile using a different define to
13707         disable the broken test.
13708
13709         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13710         Remove excess g_print()
13711
13712 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13713
13714         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13715         Oops, meant to uncomment this line too to dampen the noise a bit.
13716
13717 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13718
13719         * gst/parse/grammar.y:
13720         * gst/parse/parse.l:
13721         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13722         (GST_START_TEST), (parse_suite):
13723         Fix some of the leaks exposed by extending the parse-launch testsuite,
13724         and move the 3 I can't figure out into a separate test that won't run
13725         the pipelines unless the appropriate line is uncommented.
13726
13727 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13728
13729         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13730           Requesting 0 bytes before the end of the file should result in
13731           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13732           unit test.
13733
13734 2006-07-27  Wim Taymans  <wim@fluendo.com>
13735
13736         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13737         Fix useless assert, a uint is always positive.
13738
13739         * gst/gststructure.c: (gst_structure_nth_field_name),
13740         (gst_structure_foreach), (gst_structure_map_in_place):
13741         Check input arguments for public functions to avoid obvious crashes.
13742
13743         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13744         * plugins/elements/gstfakesink.h:
13745         Do less useless typechecking.
13746
13747 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13748
13749         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13750           Do not use mmap() by default since there are a number of error
13751           conditions that we would like to handle in a non-fatal way that
13752           will result in a SIGBUS if we use mmap(). Examples: external
13753           devices (USB harddrive, portable music player) being unplugged
13754           while in use; file on mounted CD/DVD that can't be read because
13755           the medium is partly damaged. Fixes #348455 and #348475.
13756
13757 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13758
13759         * gst/gstquery.h:
13760         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13761         rates are a gdouble
13762
13763 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13764
13765         * gst/gstregistry.c:
13766           Move big documentation comment into class section header, so that it
13767           appears in the API docs.
13768
13769 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13770
13771         * docs/gst/gstreamer-sections.txt:
13772         Oops. Commit the docs additions too for new API.
13773         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13774
13775 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13776
13777         * gst/gststructure.c: (gst_structure_id_set),
13778         (gst_structure_id_set_valist):
13779         * gst/gststructure.h:
13780         Add API for setting values into structures without performing
13781         a quark lookup, if the appropriate quark is already known.
13782
13783         API: gst_structure_id_set
13784         API: gst_structure_id_set_valist
13785
13786         * gst/parse/grammar.y:
13787         * gst/parse/parse.l:
13788         Remove some dead code shown by the coverage information.
13789         Don't throw a critical g_warning when encountering a syntax error,
13790         just warn and let the normal error path handle it.
13791
13792         * plugins/elements/gstelements.c:
13793         Bump the rank of filesink up to PRIMARY so that it is preferred over
13794         gnomevfssink for file:// sink uri's
13795
13796         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13797         (GST_START_TEST), (run_delayed_test),
13798         (gst_parse_test_element_base_init),
13799         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13800         (gst_parse_test_element_change_state),
13801         (gst_register_parse_element), (parse_suite):
13802         Beef up the tests for parse syntax to check that more error cases
13803         fail as they are supposed to. Increases the test coverage a bit.
13804
13805 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13806
13807         * docs/manual/basics-elements.xml:
13808           Fix gst_element_link() example.
13809
13810         * gst/gstutils.c:
13811           Mention in API docs that one should usually gst_bin_add()
13812           elements to a bin or pipeline before doing the linking.
13813           
13814 2006-07-26  Wim Taymans  <wim@fluendo.com>
13815
13816         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13817         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13818         Avoid function call for known types by keeping the buffer and
13819         subbuffer GType global.
13820
13821         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13822         Random silly optimisations in read() path.
13823
13824 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13825
13826         * tools/gst-launch.c: (main):
13827           If the top-level of the parse is a normal bin, it doesn't do the
13828           right logic to run as a top-level element, so place it inside a
13829           pipeline.
13830
13831 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13832
13833         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13834           Remove superfluous g_object_notify() calls, GObject does
13835           that for us automatically.
13836
13837 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13838
13839         * gst/gstinfo.h:
13840           on Win32, use dllspec to export the debug category symbols
13841
13842 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13843
13844         * gst/gsttaglist.c: (_gst_tag_initialize):
13845           Allow more than one GST_TAG_IMAGE per taglist.
13846
13847 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13848
13849         * gst/gstminiobject.c:
13850           update docs
13851         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13852         (gst_fd_src_create):
13853           log recurring events at LOG level
13854           add more debug for when the fd gets set
13855
13856 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13857
13858         * gst/gstparse.c: (gst_parse_launch):
13859           Also remove reentrance checks if flex is MT safe (#348179)
13860          Fix my empty ChangeLog entry below
13861
13862 2006-07-21  Andy Wingo  <wingo@pobox.com>
13863
13864         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13865
13866         * libs/gst/check/Makefile.am
13867         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13868         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13869         * libs/gst/check/gstbufferstraw.h:
13870         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13871         functions, thus proving I am still a GStreamer haxor. OK I wrote
13872         them a long time ago, but anyways.
13873
13874 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13875
13876         * configure.ac:
13877         * gst/gstparse.c: (gst_parse_launch):
13878           Check for flex version and omit mutex if we have a MT save flex
13879           (fixes #348179)
13880
13881 2006-07-21  Wim Taymans  <wim@fluendo.com>
13882
13883         * gst/gstparse.c: (gst_parse_launch):
13884         Protect recursive calls to _parse with a recursive mutex
13885         and busy flag.
13886
13887 2006-07-21  Wim Taymans  <wim@fluendo.com>
13888
13889         * tests/check/gst/gstpad.c: (GST_START_TEST):
13890         Fix leak in test.
13891
13892 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13893
13894         * gst/gstparse.c: (gst_parse_launch):
13895           Do not hang on recursive usage of gst_parse_launch()
13896
13897 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13898
13899         * gst/gsttaglist.c:
13900           Add some more docs, comments and FIXME 0.11s here and there
13901           and also fix some typos.
13902
13903 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13904
13905         * gst/gstsegment.h:
13906           Convert tabs to spaces for better readability. 
13907
13908 2006-07-20  Edward Hervey  <edward@fluendo.com>
13909
13910         * tests/check/libs/gdp.c: (gst_dp_suite):
13911         the test_buffer test fails at line 140 on ppc64 at the following
13912         check:
13913         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13914                 GST_BUFFER_FLAG_IN_CAPS),
13915                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13916         See bug #348114 for more details.
13917
13918 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13919
13920         * docs/pwg/advanced-scheduling.xml:
13921         * gst/gstpad.c:
13922           Fix typos (#348000).
13923
13924 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13925
13926         * docs/pwg/intro-basics.xml:
13927           Fix wrong links (#347927).
13928
13929 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13930
13931         * gst/gstregistry.h:
13932         * gst/gstregistryxml.c: (load_feature),
13933         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13934         * win32/common/config.h:
13935           make --disable-index work (#342564)
13936
13937 2006-07-18  Wim Taymans  <wim@fluendo.com>
13938
13939         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13940
13941         * gst/Makefile.am:
13942         * gst/gsttrace.h:
13943         The attached patch adds two missing defines to gsttrace.h when tracing
13944         is disabled.  It also corrects one existing define.
13945         Fixes #347756.
13946
13947 2006-07-17  Wim Taymans  <wim@fluendo.com>
13948
13949         * docs/gst/gstreamer-sections.txt:
13950         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13951         * gst/gst.h:
13952         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13953         Add two functions to check and change the SIGSEGV behaviour
13954         when loading plugins.
13955         Don't mess with the SIGSEGV handler when we were told not to.
13956         Fixes #347794.
13957         API: gst_segtrap_is_enabled
13958         API: gst_segtrap_set_enabled
13959
13960 2006-07-14  Wim Taymans  <wim@fluendo.com>
13961
13962         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13963         * tests/check/elements/filesrc.c: (GST_START_TEST):
13964         Revert fix for regression in #347408 after release.
13965
13966 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13967
13968         Patch by: Antoine Tremblay <hexa00 at gmail com>
13969
13970         * gst/gstutils.c: (gst_element_unlink):
13971           Free iterator when done (#347311).
13972
13973         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13974           And add a test case for this.
13975
13976 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13977
13978         * configure.ac:
13979         Bump nano back to CVS
13980
13981 === release 0.10.9 ===
13982
13983 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13984
13985         * configure.ac:
13986           releasing 0.10.9, "On the road again"
13987
13988 2006-07-13  Wim Taymans  <wim@fluendo.com>
13989
13990         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13991         * tests/check/elements/filesrc.c: (GST_START_TEST):
13992         Revert pull-0 fix for release. Disable check. Fixes #347408.
13993
13994 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13995
13996         * libs/gst/dataprotocol/dataprotocol.c:
13997         (gst_dp_event_from_packet_1_0):
13998           Fixes #347337: failure to deserialize event packets with
13999           empty payload (only event type)
14000
14001 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14002
14003         * gst/Makefile.am:
14004           do not install a .c file in the header directory
14005
14006 2006-07-13  Edward Hervey  <edward@fluendo.com>
14007
14008         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
14009         GhostPad no longer implicitely use the padtemplates of the targets.
14010         Fixes #347384
14011
14012 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
14013
14014         * gst/gstvalue.c: (gst_value_compare_list),
14015         (gst_value_compare_array), (_gst_value_initialize):
14016         * tests/check/gst/gstvalue.c: (GST_START_TEST):
14017         Make GstValueArray comparison be order dependent as designed.
14018         Add checks for value lists and value array comparisons.
14019         Fixes #347221
14020
14021 2006-07-11  Edward Hervey  <edward@fluendo.com>
14022
14023         * gst/gstbin.c: (activate_pads),
14024         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
14025         (gst_bin_change_state_func):
14026         (de)activate src pads before calling state_change on the childs.
14027         This is to avoid the case where a src ghostpad is blocked (holding the
14028         stream lock), which would block the deactivation of the ghostpad's
14029         target pad.
14030         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
14031         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
14032         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
14033         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
14034         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
14035         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
14036         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
14037         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
14038         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
14039         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
14040         (gst_ghost_pad_class_init),
14041         (gst_ghost_pad_internal_do_activate_push),
14042         (gst_ghost_pad_internal_do_activate_pull),
14043         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
14044         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
14045         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
14046         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
14047         GhostPads now create their internal GstProxyPad at creation (and not
14048         when they're linked, as it was being done previously).
14049         The internal and target pads are linked straight away.
14050         The data will also travel through the other pad in order to make
14051         pad blocking and probes non-hackish (the probe/block now really happens
14052         on the GhostPad and not on the target).
14053         * gst/gstpad.c: (gst_pad_set_blocked_async),
14054         (gst_pad_link_prepare), (gst_pad_push_event):
14055         Remove previous ghostpad cruft.
14056         * gst/gstutils.c: (gst_pad_add_data_probe),
14057         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14058         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14059         (gst_pad_remove_buffer_probe):
14060         Remove previous ghost pad cruft.
14061         Added more detailed debug statements.
14062         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14063         Fix the testsuite for refcounting changes.
14064         The comments about who has references were correct, but the refcount
14065         being checked wasn't the same (!?!).
14066
14067         Fixes #341029
14068
14069 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
14070
14071         * docs/gst/gstreamer-sections.txt:
14072         * gst/gstconfig.h.in:
14073         More docs for configuration options, add docs to gtk-doc.
14074
14075 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
14076
14077         * gst/Makefile.am:
14078         * gst/gstconfig.h.in:
14079         * win32/common/config.h:
14080         Fix build when disabling tracing (fixes #344016). Also start to document
14081         the defines that disable the sub-systems.
14082
14083 2006-07-10  Edward Hervey  <edward@fluendo.com>
14084
14085         * gst/gst.c: (ensure_current_registry_forking):
14086         let's make valgrind happy...
14087
14088 2006-07-09  Wim Taymans  <wim@fluendo.com>
14089
14090         * gst/gstelement.c: (activate_pads),
14091         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
14092         Better pad activation code: Reset the collect value too on resync.
14093         Add some comments.
14094
14095 2006-07-09  Wim Taymans  <wim@fluendo.com>
14096
14097         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
14098         (gst_pad_activate_push):
14099         Use some more macros where it makes sense.
14100         Allow pad mode switching instead of asserting. When a pad
14101         is activated in one mode and we activate it in another, 
14102         deactivate it first before activating it in a different mode.
14103         Fixes #329198.
14104
14105 2006-07-08  Andy Wingo  <wingo@pobox.com>
14106
14107         * tools/gst-launch.c (main): Handle err == NULL.
14108
14109         * gst/gst.c (init_post, ensure_current_registry)
14110         (ensure_current_registry_forking)
14111         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
14112         factoring out the registry scanning into separate functions. Don't
14113         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
14114         Better environment var name/interface suggestions accepted.
14115
14116 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14117
14118         * gst/gstobject.c: (gst_object_set_name_default),
14119         (gst_object_set_name):
14120           Random micro-optimisation: don't use a hash table
14121           with strings as keys and the usual strdup/strcmp
14122           involved, but rather just use the GQuark of the
14123           type name as key, since it needs to be looked up
14124           anyway to get the type name string.
14125
14126         * tests/check/gst/gstobject.c: (GST_START_TEST):
14127           Fix various leaks.
14128
14129 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14130
14131         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
14132         (gst_bin_iterate_all_by_interface):
14133           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
14134           GTypes are gulongs and thus the top 4 bytes might be cut
14135           off on some platforms when doing GPOINTER_TO_INT, leading
14136           to invalid GTypes and bad things happening (see RH bug #179654).
14137           Also add a check to make sure the type passed in is really
14138           an interface type.
14139
14140 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14141
14142         * .cvsignore:
14143           Ignore more.
14144
14145 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14146
14147         * Makefile.am:
14148         * configure.ac:
14149         * gst-element-check.m4:
14150         * gst-element-check.m4.in:
14151           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
14152           instead of the unversioned gst-inspect (#324176, #168659).
14153
14154 2006-07-06  Wim Taymans  <wim@fluendo.com>
14155
14156         * gst/gstmessage.h:
14157         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
14158         warnings.
14159
14160 2006-07-06  Wim Taymans  <wim@fluendo.com>
14161
14162         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14163         (gst_base_src_wait), (gst_base_src_update_length),
14164         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
14165         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
14166         (gst_base_src_loop), (gst_base_src_start),
14167         (gst_base_src_activate_pull):
14168         Update docs.
14169         blocksize == 0 now means the default blocksize when working in push
14170         based mode.
14171         Remove some pointless asserts in _wait function.
14172         Fix offset/length calculations and EOS handling. We can now pull 0
14173         bytes as well, which is allowed.
14174         use _check_get_range() to decide if we can operate in _pull based
14175         mode.
14176         Fix refcounting leak when check_get_range function was not 
14177         implemented.
14178         API GstBaseSrc::blocksize range can be 0 too now (default)
14179
14180         * tests/check/elements/filesrc.c: (GST_START_TEST),
14181         (filesrc_suite):
14182         Added check to test _get_range() behaviour.
14183
14184 2006-07-06  Wim Taymans  <wim@fluendo.com>
14185
14186         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14187         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14188         (gst_pad_pull_range):
14189         * gst/gstpad.h:
14190         Lots of comments and docs added to the pad functions.
14191         Flesh out the expected behaviour of the get_range() functions.
14192
14193 2006-07-06  Wim Taymans  <wim@fluendo.com>
14194
14195         * gst/gstbus.h:
14196         * gst/gstclock.h:
14197         * gst/gstevent.h:
14198         * gst/gstiterator.h:
14199         * gst/gstpad.h:
14200         * gst/gstplugin.h:
14201         * gst/gsttask.h:
14202         Remove comma at end of enumerator list. 
14203
14204 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
14205
14206         * win32/common/libgstbase.def:
14207         * win32/common/libgstdataprotocol.def:
14208         * win32/common/libsgtreamer.def:
14209         Add new exported functions.
14210
14211 2006-07-05  Wim Taymans  <wim@fluendo.com>
14212
14213         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14214         Add some more docs here and there.
14215
14216 2006-07-05  Wim Taymans  <wim@fluendo.com>
14217
14218         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14219         (gst_base_sink_loop), (gst_base_sink_get_position):
14220         When operating in pull mode update the offset so that we
14221         read sequentially.
14222
14223 2006-07-05  Wim Taymans  <wim@fluendo.com>
14224
14225         * gst/gstregistryxml.c: (read_string):
14226         Avoid strdup. (will happen in libxml, but hey!)
14227
14228         * gst/gsturi.c:
14229         Add some more docs.
14230
14231 2006-07-05  Wim Taymans  <wim@fluendo.com>
14232
14233         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14234         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14235         (gst_buffer_suite):
14236         No point in checking if the size of the subbuffer > 0, the
14237         code handles it correclty as demonstrated by unit test.
14238         Also add a unit test for the zero sized _new_and_alloc and
14239         _copy. Fixes #346663.
14240
14241 2006-07-05  Wim Taymans  <wim@fluendo.com>
14242
14243         * libs/gst/base/gstbasetransform.c:
14244         (gst_base_transform_prepare_output_buffer),
14245         (gst_base_transform_buffer_alloc),
14246         (gst_base_transform_handle_buffer):
14247         Make sure the buffer we pass to transform_ip has a refcount of
14248         1 and thus is writable. Fixes #343196
14249
14250 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
14251
14252         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14253         (gst_file_src_init), (gst_file_src_set_property),
14254         (gst_file_src_get_property), (gst_file_src_map_region):
14255         * plugins/elements/gstfilesrc.h:
14256         Add "sequential" property, off by default, to use madvise and hint
14257         to the kernel that sequential access is desired.
14258         Touch all retrieved pages by default to ensure they are pulled
14259         into memory. (Closes #345720)
14260
14261 2006-07-03  Wim Taymans  <wim@fluendo.com>
14262
14263         * docs/design/part-block.txt:
14264         * docs/design/part-dynamic.txt:
14265         Small docs updates.
14266
14267 2006-07-03  Wim Taymans  <wim@fluendo.com>
14268
14269         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14270         (gst_caps_unref), (gst_static_caps_get),
14271         (gst_caps_append_structure):
14272         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14273         Use GSlice when the glib we build against is >= 2.10
14274
14275 2006-07-03  Wim Taymans  <wim@fluendo.com>
14276
14277         * gst/gstelement.c: (gst_element_pads_activate):
14278         Small cleanup in pad activation code.
14279
14280 2006-07-03  Wim Taymans  <wim@fluendo.com>
14281
14282         Patch by: Peter Kjellerstedt <pkj at axis dot com>
14283
14284         * gst/gst-i18n-app.h:
14285         * gst/gst-i18n-lib.h:
14286         * tools/gst-inspect.c: (print_signal_info):
14287         The attached patch will make the inclusion of gettext.h unconditional in
14288         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14289         libintl.h in tools/gst-inspect.c.
14290         This allows use of --disable-nls again and fixes #344642.
14291
14292 2006-07-03  Edward Hervey  <edward@fluendo.com>
14293
14294         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14295         Implement pad blocking on events according to part-block.txt.
14296         More comments on behaviour.
14297         * tests/check/gst/gstevent.c: (test_event):
14298         Send event to peer pad of blocked pad (else it will block).
14299
14300 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14301
14302         * libs/gst/check/gstcheck.c: (gst_check_message_error),
14303         (gst_check_run_suite):
14304           if we get the wrong message, give us the types as string
14305         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14306           Fix a translatable
14307         * tests/check/elements/filesrc.c: (GST_START_TEST):
14308           add a test for trying to open a non-existing file
14309
14310 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14311
14312         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14313           add a test for adding self
14314
14315 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14316
14317         * libs/gst/check/gstcheck.h:
14318           add some assert_ as alias for fail_unless_*
14319         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14320           increase test coverage
14321
14322 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14323
14324         * Makefile.am:
14325           include lcov.mak for lcov coverage generation
14326         * tools/Makefile.am:
14327           add to CLEANFILES
14328
14329 2006-07-02  Edward Hervey  <edward@fluendo.com>
14330
14331         * tests/check/elements/.cvsignore:
14332         moaping
14333
14334 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14335
14336         * configure.ac:
14337           don't set CFLAGS and friends for gcov, done from GST_GCOV now
14338         * tests/check/Makefile.am:
14339           clean up gcov files
14340
14341 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14342
14343         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14344           remove gst_caps_simplify; it was not declared and not used
14345           and deprecated in 0.8
14346
14347 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14348
14349         * docs/faq/gst-uninstalled:
14350           don't put empty paths on PYTHONPATH
14351         * docs/gst/gstreamer-sections.txt:
14352           remove some symbols that are not there
14353
14354 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14355
14356         * gst/gstcaps.c: (gst_caps_compare_structures):
14357           whitespace fixes
14358         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14359         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14360           add more tests
14361
14362 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14363
14364         * libs/gst/dataprotocol/Makefile.am:
14365           build dataprotocol test by linking to the lib, instead of
14366           compiling the source, so we get coverage
14367         * tests/check/Makefile.am:
14368         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14369         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14370           add a test for filesrc
14371
14372 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14373
14374         * tests/check/gst/gststructure.c: (GST_START_TEST),
14375         (gst_structure_suite):
14376           Push coverage from 59.04% to 70.00%
14377
14378 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14379
14380         * tests/check/Makefile.am:
14381           gst-inspect every element; this makes sure that we also get
14382           coverage on element's get/set functions
14383
14384 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14385
14386         * configure.ac:
14387           set CFLAGS and friends to -O0 if gcov is being used
14388           add GCOV LIBS
14389         * gst/Makefile.am:
14390         * libs/gst/base/Makefile.am:
14391         * libs/gst/check/Makefile.am:
14392         * libs/gst/controller/Makefile.am:
14393         * libs/gst/dataprotocol/Makefile.am:
14394         * libs/gst/net/Makefile.am:
14395         * plugins/elements/Makefile.am:
14396         * plugins/indexers/Makefile.am:
14397           add makefile rules to generate gcov data and clean up
14398         * tests/check/Makefile.am:
14399           add a coverage target that generates an html overview
14400           of coverage data
14401
14402 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14403
14404         * tests/check/elements/fakesink.c:
14405         * tests/check/elements/fakesrc.c:
14406         * tests/check/elements/fdsrc.c:
14407         * tests/check/elements/identity.c:
14408         * tests/check/generic/sinks.c: (gst_sinks_suite):
14409         * tests/check/generic/states.c:
14410         * tests/check/gst/gst.c:
14411         * tests/check/gst/gstabi.c:
14412         * tests/check/gst/gstbin.c:
14413         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14414         * tests/check/gst/gstbus.c: (gst_bus_suite):
14415         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14416         * tests/check/gst/gstelement.c:
14417         * tests/check/gst/gstevent.c: (gst_event_suite):
14418         * tests/check/gst/gstghostpad.c:
14419         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14420         * tests/check/gst/gstmessage.c: (gst_message_suite):
14421         * tests/check/gst/gstminiobject.c:
14422         * tests/check/gst/gstobject.c:
14423         * tests/check/gst/gstpad.c:
14424         * tests/check/gst/gstpipeline.c:
14425         * tests/check/gst/gstplugin.c:
14426         * tests/check/gst/gstquery.c: (gst_query_suite):
14427         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14428         * tests/check/gst/gststructure.c:
14429         * tests/check/gst/gstsystemclock.c:
14430         * tests/check/gst/gsttag.c:
14431         * tests/check/gst/gsttask.c: (gst_task_suite):
14432         * tests/check/gst/gstutils.c:
14433         * tests/check/gst/gstvalue.c:
14434         * tests/check/libs/adapter.c:
14435         * tests/check/libs/basesrc.c:
14436         * tests/check/libs/collectpads.c:
14437         * tests/check/libs/controller.c:
14438         * tests/check/libs/gdp.c: (gst_dp_suite):
14439         * tests/check/libs/gstnetclientclock.c:
14440         * tests/check/libs/gstnettimeprovider.c:
14441         * tests/check/libs/libsabi.c: (libsabi_suite):
14442         * tests/check/libs/typefindhelper.c:
14443         * tests/check/pipelines/cleanup.c:
14444         * tests/check/pipelines/parse-launch.c:
14445         * tests/check/pipelines/simple-launch-lines.c:
14446         * tests/check/pipelines/stress.c: (stress_suite):
14447           use the new macro
14448
14449 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14450
14451         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14452         * libs/gst/check/gstcheck.h:
14453           create a macro and function so that the simple unit test
14454           case can be just one macro to create main()
14455
14456 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14457
14458         * gst/gstbin.c: (gst_bin_restore_thyself):
14459         * gst/gstxml.c: (gst_xml_make_element):
14460           Fix deserialisation from XML. Set parent manually
14461           instead of using gst_bin_add(), since gst_bin_add()
14462           will unlink all pads of the element being added.
14463           Fixes #341667.
14464
14465 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14466
14467         Patch by: Peter Kjellerstedt <pkj at axis com>
14468
14469         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14470           Fix missing g_strdup() and double free when using the
14471           --gst-plugin-load command line option (#346097).
14472
14473 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14474
14475         * gst/gstinfo.c:
14476           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14477
14478         * libs/gst/net/gstnetclientclock.c:
14479         * libs/gst/net/gstnettimeprovider.c:
14480           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14481
14482 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14483
14484         * docs/manual/advanced-dataaccess.xml:
14485           Fix buffer probe example compilation in
14486           ADM (#345708).
14487         
14488 2006-06-22  Edward Hervey  <edward@fluendo.com>
14489
14490         * gst/gstelement.c: (gst_element_pads_activate):
14491         We need to deactivate src pads first and then sink pads.
14492         The reason is the src pads might be blocking while holding the streaming
14493         lock, so we need to deactivate them first so that deactivating the sink
14494         pads doesn't block (since it will require the streaming lock).
14495
14496 2006-06-22  Wim Taymans  <wim@fluendo.com>
14497
14498         * libs/gst/base/gstbasetransform.c:
14499         (gst_base_transform_buffer_alloc):
14500         Forgot to remove two unneeded unrefs.
14501         Simplify a check _is_equal allready checks the obvious case.
14502
14503 2006-06-22  Wim Taymans  <wim@fluendo.com>
14504
14505         * docs/design/part-block.txt:
14506         Some docs about what pad_block should do.
14507
14508 2006-06-22  Wim Taymans  <wim@fluendo.com>
14509
14510         * gst/gstcaps.c: (gst_caps_replace):
14511         Fix crasher when passed NULL. Doc clarification.
14512         Optimize for the trivial case.
14513
14514         * gst/gstpipeline.c: (gst_pipeline_change_state):
14515         Small cleanups.
14516
14517         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14518         Small documentation cleanup.
14519
14520         * libs/gst/base/gstbasetransform.c:
14521         (gst_base_transform_buffer_alloc):
14522         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14523         is what we need and it avoids a whole lot of redundant 
14524         refcount operations.
14525
14526 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14527
14528         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14529
14530         * docs/manual/advanced-dataaccess.xml:
14531           Fix 'Embedding static elements' section to use
14532           GST_PLUGIN_DEFINE_STATIC (#345607).
14533
14534 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14535
14536         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14537           Attempt to 'fix' spuriously failing test case: it seems like the
14538           timeout of half a second is simply too small when the system is under
14539           load otherwise, and the timeout doesn't really seem to serve any
14540           particular purpose here. Give the pipeline a few seconds to preroll
14541           first, and then give it another half a second to go from PAUSED to
14542           PLAYING and marshal the message into the main thread.
14543
14544 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14545
14546         * tools/gst-feedback-m.m:
14547           Don't only use unversioned tools, try versioned tools as well
14548           (#345086).
14549
14550 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14551
14552         * gst/gstbus.c: (gst_bus_class_init):
14553           Fix some typos, make docs more explicit.
14554
14555 2006-06-20  Wim Taymans  <wim@fluendo.com>
14556
14557         * tests/check/gst/gstghostpad.c: (block_callback),
14558         (GST_START_TEST), (gst_ghost_pad_suite):
14559         Added some more ghostpad tests, mainly blocking
14560         and probes.
14561
14562 2006-06-16  Wim Taymans  <wim@fluendo.com>
14563
14564         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14565         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14566         (gst_file_sink_event), (gst_file_sink_render):
14567         * plugins/elements/gstfilesink.h:
14568         Check if we can seek in the file instead of assuming
14569         we always can. Post an error when we are asked to seek in a
14570         non-seekable file (like a fifo). Fixes #343312.
14571         Some cleanups.
14572
14573 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14574
14575         * tools/gst-launch.1.in:
14576           Un-garble (fourcc) bit in filtered caps section.
14577
14578 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14579
14580         * docs/manual/advanced-autoplugging.xml:
14581         * docs/manual/basics-helloworld.xml:
14582         * docs/manual/highlevel-components.xml:
14583           Don't leak bus reference in sample code.
14584
14585 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14586
14587         * autogen.sh:
14588           Add default for new --enable-plugin-docs switch.
14589
14590         * configure.ac:
14591           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14592           Fixes #344039.
14593
14594         * docs/Makefile.am:
14595           Use new ENABLE_PLUGIN_DOCS conditional.
14596
14597 2006-06-14  Wim Taymans  <wim@fluendo.com>
14598
14599         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14600         Make it clear with a FIXME and a real define what the #if 0
14601         previously disabled.
14602
14603 2006-06-14  Wim Taymans  <wim@fluendo.com>
14604
14605         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14606         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14607         * libs/gst/base/gstbasetransform.c:
14608         (gst_base_transform_sink_eventfunc):
14609         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14610         Don't randomly and silently reset a segment when the format 
14611         changes as this is a bug somewhere upstream. Fixes #330379.
14612
14613 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14614
14615         Patch by: Wouter Paesen  <wouter at kangaroot net>
14616
14617         * libs/gst/controller/gstcontroller.c:
14618         (gst_controlled_property_new):
14619           Fix controlling of float properties (#344849).
14620
14621         * tests/check/libs/controller.c:
14622         (gst_test_mono_source_get_property),
14623         (gst_test_mono_source_set_property),
14624         (gst_test_mono_source_class_init), (GST_START_TEST):
14625           While we're at it, add some float stuff to unit test.
14626
14627 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14628
14629         * docs/README:
14630         * docs/images/gdp-header.svg:
14631           add a gdp image
14632         * docs/libs/Makefile.am:
14633         * docs/libs/gdp-header.png:
14634         * libs/gst/dataprotocol/dataprotocol.c:
14635           add it to the API docs
14636         * docs/manual/intro-motivation.xml:
14637           fix typo
14638
14639 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14640
14641         * gst/gst.c: (scan_and_update_registry), (init_post):
14642           If the fork()'ed child process can't write the updated registry cache
14643           file to disk for some reason, make it exit with a failure exit code,
14644           so that the parent can then re-scan the plugins itself and update the
14645           registry structures in memory and work with that (rather than failing
14646           when creating elements because seemingly no plugins are available).
14647           Refactor registry scanning code into separate function for this and
14648           also separate fork() and non-fork() code paths. Fixes #344748.
14649
14650 2006-06-13  Wim Taymans  <wim@fluendo.com>
14651
14652         * docs/manual/advanced-dataaccess.xml:
14653         Fix wrong PluginDesc. Fixes #344755.
14654
14655 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14656
14657         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14658           Fix silly bug that prevented us from creating
14659           ~/.gstreamer-0.10 and writing the registry in one
14660           go (the first call to g_mkstemp() would overwrite the
14661           placeholder in the template string, so the second call
14662           to g_mkstemp() after creating the missing directory
14663           would then error out with 'invalid argument').
14664
14665 2006-06-13  Edward Hervey  <edward@fluendo.com>
14666
14667         * gst/gst.c: (init_post):
14668         Free string.
14669
14670 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14671
14672         * gst/glib-compat-private.h:
14673         * gst/glib-compat.c:
14674         * gst/glib-compat.h:
14675         * gst/gstvalue.c: (gst_value_serialize_flags):
14676           remove GLib 2.6 compatibility code
14677
14678 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14679
14680         * gst/parse/Makefile.am:
14681           Fix build with 'make -j N' even more (#340016).
14682
14683 2006-06-12  Wim Taymans  <wim@fluendo.com>
14684
14685         * docs/gst/gstreamer-sections.txt:
14686         Fix docs.
14687
14688 2006-06-12  Wim Taymans  <wim@fluendo.com>
14689
14690         * gst/gstsegment.c: (gst_segment_set_duration),
14691         (gst_segment_set_last_stop), (gst_segment_set_seek),
14692         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14693         (gst_segment_to_running_time), (gst_segment_clip):
14694         Use G_UNLIKELY to help the compiler a bit.
14695
14696 2006-06-12  Wim Taymans  <wim@fluendo.com>
14697
14698         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14699
14700         * gst/gstevent.c: (gst_event_get_type):
14701         * gst/gstmessage.c:
14702         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14703         (gst_pad_push):
14704         constify quark registration strings. Fixes #344115
14705         Avoid unneeded type checking is _pad_push() by internally
14706         calling gst_pad_chain_unchecked().
14707
14708 2006-06-12  Wim Taymans  <wim@fluendo.com>
14709
14710         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14711         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14712         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14713         (gst_buffer_is_span_fast), (gst_buffer_span):
14714         Init _type for consistency.
14715         Use _FLAGS macro to avoid type check.
14716         Avoid unneeded type checks in subbufer code.
14717
14718 2006-06-12  Wim Taymans  <wim@fluendo.com>
14719
14720         * gst/gst.c: (gst_debug_help):
14721         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14722         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14723         (gst_plugin_feature_list_free):
14724         * gst/gstregistry.c: (gst_registry_add_plugin),
14725         (gst_registry_add_feature), (gst_registry_plugin_filter),
14726         (gst_registry_feature_filter), (gst_registry_find_plugin),
14727         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14728         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14729         * gst/gstregistryxml.c: (load_feature),
14730         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14731         * gst/gstminiobject.c: (gst_mini_object_unref),
14732         (gst_mini_object_replace), (gst_value_mini_object_free),
14733         (gst_value_mini_object_copy):
14734         Use _CAST macros to avoid unneeded type checking.
14735         Added some more G_UNLIKELY.
14736
14737 2006-06-12  Wim Taymans  <wim@fluendo.com>
14738
14739         * gst/gstbuffer.h:
14740         Avoid unneeded type checking.
14741         API: GST_BUFFER_IS_DISCONT
14742
14743         * gst/gstminiobject.h:
14744         Avoid type check in flag accessor.
14745
14746         * gst/gstelementfactory.h:
14747         * gst/gstplugin.h:
14748         * gst/gstpluginfeature.h:
14749         Add _CAST macros.
14750         API: GST_ELEMENT_FACTORY_CAST
14751         API: GST_PLUGIN_CAST
14752         API: GST_PLUGIN_FEATURE_CAST
14753
14754 2006-06-12  Wim Taymans  <wim@fluendo.com>
14755
14756         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14757         (gst_object_unref):
14758         Add G_UNLIKELY in type registration.
14759         Avoid type check in _ref/_unref since that is also
14760         done in glib.
14761
14762 2006-06-12  Wim Taymans  <wim@fluendo.com>
14763
14764         * gst/gsterror.c: (gst_g_error_get_type):
14765         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14766         (gst_static_pad_template_get_type):
14767         * gst/gsttaglist.c: (gst_tag_list_get_type):
14768         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14769         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14770         * gst/gsturi.c: (gst_uri_handler_get_type):
14771         * gst/gstvalue.c: (gst_date_get_type):
14772         * gst/gstxml.c: (gst_xml_get_type):
14773         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14774         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14775         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14776         Add G_UNLIKELY in type registration.
14777
14778 2006-06-12  Wim Taymans  <wim@fluendo.com>
14779
14780         * tools/gst-inspect.c: (print_signal_info):
14781         Properly print enum values.
14782
14783 2006-06-12  Wim Taymans  <wim@fluendo.com>
14784
14785         * gst/gstinfo.c: (gst_debug_set_active),
14786         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14787         * gst/gstinfo.h:
14788         Add some G_[UN]LIKELY.
14789         Maintain __gst_debug_min to avoid formatting the arguments of
14790         debug messages that will be dropped anyway to avoid a lot of 
14791         overhead from the debugging system.
14792
14793 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14794
14795         * po/POTFILES.in:
14796         * po/POTFILES.skip:
14797           add missing files containing translatable strings, tell intltool about
14798           one exception
14799
14800 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14801
14802         * tests/check/libs/.cvsignore:
14803         add test-binary to ignore list
14804
14805 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14806
14807         * docs/libs/gstreamer-libs-docs.sgml:
14808         reorder (put dp into a chapter) and indent
14809
14810 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14811
14812         * configure.ac:
14813           back to HEAD
14814
14815 === release 0.10.8 ===
14816
14817 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14818
14819         * configure.ac:
14820           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14821
14822 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14823
14824         * gst/gst.c: (init_post):
14825           move pid declaration to declaration block
14826
14827 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14828
14829         * gst/gst.c: (init_post):
14830           use _exit() instead of exit() in our forked child; this ensures
14831           that none of the registered exit handlers from whatever is using
14832           GStreamer get executed.  This fixes gnome-mixer-applet failing
14833           to load, because ORBit would shut down.
14834           Spotted by: Edward Hervey  <edward@fluendo.com>
14835           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14836           Fixes #344474
14837
14838 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14839
14840         * configure.ac:
14841           back to TRUNK
14842
14843 === release 0.10.7 ===
14844
14845 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14846
14847         * configure.ac:
14848           releasing 0.10.7, "Soepeke, ik zie ou"
14849
14850 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14851
14852         * configure.ac:
14853         * po/af.po:
14854         * po/az.po:
14855         * po/bg.po:
14856         * po/ca.po:
14857         * po/cs.po:
14858         * po/de.po:
14859         * po/en_GB.po:
14860         * po/fr.po:
14861         * po/it.po:
14862         * po/nb.po:
14863         * po/nl.po:
14864         * po/ru.po:
14865         * po/sq.po:
14866         * po/sr.po:
14867         * po/sv.po:
14868         * po/tr.po:
14869         * po/uk.po:
14870         * po/vi.po:
14871         * po/zh_CN.po:
14872         * po/zh_TW.po:
14873         * win32/common/config.h:
14874           0.10.6.2 prerelease
14875
14876 2006-06-07  Wim Taymans  <wim@fluendo.com>
14877
14878         * gst/gstindex.c: (gst_index_gtype_resolver):
14879         * tools/gst-xmlinspect.c: (print_plugin_info):
14880         Fix leak spotted by coverity checker. Fixes #343827
14881         Fix another other leak found by paolo borelli.
14882
14883 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14884
14885         * libs/gst/dataprotocol/dataprotocol.c:
14886         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14887         (gst_dp_version_get_type), (gst_dp_init),
14888         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14889         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14890         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14891         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14892         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14893         (gst_dp_packetizer_free):
14894         * libs/gst/dataprotocol/dataprotocol.h:
14895           API: add a GstDPPacketizer object, and create/free functions
14896           API: add GstDPVersion enum
14897           Add 1.0 event function that uses the string serialization
14898           Serialize more useful buffer flags
14899           Fixes #343988
14900
14901 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14902
14903         * tests/check/Makefile.am:
14904         * tests/check/gst/gstabi.c:
14905         * tests/check/gst/struct_ppc64.h:
14906         * tests/check/libs/libsabi.c:
14907         * tests/check/libs/struct_ppc64.h:
14908           add ppc64 structure sizes
14909
14910 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14911
14912         * tests/check/Makefile.am:
14913         * tests/check/gst/gstabi.c:
14914         * tests/check/gst/struct_x86_64.h:
14915         * tests/check/libs/libsabi.c:
14916         * tests/check/libs/struct_x86_64.h:
14917           generate and add structure size lists for x86_64
14918
14919 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14920
14921         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14922         * libs/gst/check/gstcheck.h:
14923           factor out the method from tests that checks size of structures,
14924           and add code to generate the header containing these sizes
14925         * tests/check/gst/gstabi.c: (GST_START_TEST):
14926         * tests/check/gst/struct_i386.h:
14927         * tests/check/libs/libsabi.c: (GST_START_TEST):
14928         * tests/check/libs/struct_i386.h:
14929           use it
14930
14931 2006-06-06  Michael Smith  <msmith@fluendo.com>
14932
14933         * gst/gstsegment.h:
14934           Don't use c++-style comments, fixes #343929
14935
14936 2006-06-05  Edward Hervey  <edward@fluendo.com>
14937
14938         * gst/gst.c:
14939         plugin_paths is not used if we build without registry support.
14940
14941         * gst/gstsegment.c: (gst_segment_copy): 
14942         _copy() was always returning NULL...
14943
14944 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14945
14946         * libs/gst/dataprotocol/dataprotocol.c:
14947         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14948         (gst_dp_packet_from_event):
14949           factor out CRC code
14950
14951 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14952
14953         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14954           make sure we unset caps
14955
14956 2006-06-02  Michael Smith  <msmith@fluendo.com>
14957
14958         * libs/gst/check/gstcheck.c: (gst_check_init),
14959         (gst_check_chain_func):
14960         * libs/gst/check/gstcheck.h:
14961           Add a cond/mutex to the check support lib, signal this whenever we
14962           add to the buffers list. This will allow tests to not busy-wait on
14963           the buffer-list.
14964
14965 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14966
14967         * libs/gst/dataprotocol/dataprotocol.c:
14968         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14969         (gst_dp_packet_from_event):
14970           factor out some common header init code
14971
14972 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14973
14974         * docs/libs/gstreamer-libs-sections.txt:
14975         * docs/libs/tmpl/gstdataprotocol.sgml:
14976         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14977         * libs/gst/dataprotocol/dataprotocol.h:
14978           API: make gst_dp_crc() public
14979
14980 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14981
14982         * plugins/indexers/gstindexers.c: (plugin_init):
14983         conditionally register fileindexer (fixes #343598)
14984
14985 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14986
14987         * gst/gsttagsetter.h:
14988         Can't cast ifaces to a class
14989
14990         * libs/gst/net/gstnetclientclock.h:
14991         * libs/gst/net/gstnettimeprovider.h:
14992         * plugins/elements/gstfakesink.h:
14993         * plugins/elements/gstfakesrc.h:
14994         * plugins/elements/gstfdsink.h:
14995         * plugins/elements/gstfdsrc.h:
14996         * plugins/elements/gstfilesink.h:
14997         * plugins/elements/gstfilesrc.h:
14998         * plugins/elements/gstidentity.h:
14999         * plugins/elements/gstqueue.h:
15000         * plugins/elements/gsttee.h:
15001         * plugins/indexers/gstfileindex.c:
15002         * plugins/indexers/gstmemindex.c:
15003         * tests/old/examples/plugins/example.h:
15004         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
15005
15006 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15007
15008         * libs/gst/dataprotocol/dataprotocol.c:
15009         (gst_dp_header_from_buffer):
15010           make sure we zero the whole ABI-compatible area
15011
15012 2006-06-01  Wim Taymans  <wim@fluendo.com>
15013
15014         Patch by: Alessandro Decina <alessandro at nnva dot org>
15015
15016         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
15017         Make sure the EOS flag is cleared from pads after a flush
15018         or stop. Fixes #343538.
15019
15020         * tests/check/libs/collectpads.c: (GST_START_TEST),
15021         (gst_collect_pads_suite):
15022         Added test for collectpads reusage after EOS.
15023
15024 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
15025
15026         * gst/gst.c:
15027          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
15028         * win32/common/libgstbase.def:
15029          export gst_collect_pads_set_flushing
15030         * win32/common/libgstreamer.def:
15031          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
15032          gst_value_fraction_multiply
15033         * win32/vs6/gst_inspect.dsp:
15034          add a link to intl.lib
15035
15036 2006-05-30  Wim Taymans  <wim@fluendo.com>
15037
15038         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15039         (gst_collect_pads_chain):
15040         Handle the case where a pad is removed from the collection
15041         that could cause the other pads to become collectable.
15042
15043 2006-05-30  Wim Taymans  <wim@fluendo.com>
15044
15045         * gst/gstelement.c:
15046         Clarify the use of _release_request_pad() and
15047         _get_request_pad() a bit better.
15048
15049         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
15050         (gst_adapter_take_buffer):
15051         Fix some doc and comment typos.
15052
15053 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15054
15055         * docs/gst/gstreamer-sections.txt:
15056         * docs/libs/gstreamer-libs-sections.txt:
15057           add declared symbols
15058
15059 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
15060
15061         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15062         Add debug that can be enabled using a #define at the top of the file,
15063         for dumping stats about how late/early we were when waking up from
15064         waiting on the clock.
15065
15066 2006-05-30  Wim Taymans  <wim@fluendo.com>
15067
15068         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
15069         When rebuilding the pad list, don't leak the previous list.
15070
15071 2006-05-30  Wim Taymans  <wim@fluendo.com>
15072
15073         Patch by: Lutz Mueller <lutz at topfrose dot de>
15074
15075         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15076         (gst_base_src_get_query_types), (gst_base_src_update_length):
15077         Publish supported query types.
15078         Update last_stop field in get_range mode so the position
15079         query works. Fixes #342321.
15080
15081 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
15082
15083         * docs/gst/gstreamer-sections.txt:
15084         * gst/gsttaglist.c: (_gst_tag_initialize):
15085         * gst/gsttaglist.h:
15086           API: add GST_TAG_PREVIEW_IMAGE (#343341).
15087
15088 2006-05-30  Wim Taymans  <wim@fluendo.com>
15089
15090         Patch by: Alessandro Decina <alessandro at nnva dot org>
15091
15092         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
15093         Unlock mutex when removing an unknown pad.
15094         Fixes #343334.
15095
15096         * tests/check/Makefile.am:
15097         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
15098         (push_event), (setup), (teardown), (GST_START_TEST),
15099         (gst_collect_pads_suite), (main):
15100         Added collecpads check, disabled for now as check crashes for
15101         some reason.
15102
15103 2006-05-29  Wim Taymans  <wim@fluendo.com>
15104
15105         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
15106         Don't leak pads lists.
15107
15108 2006-05-29  Wim Taymans  <wim@fluendo.com>
15109
15110         * docs/libs/gstreamer-libs-sections.txt:
15111         * libs/gst/base/gstcollectpads.c:
15112         (gst_collect_pads_set_flushing_unlocked),
15113         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15114         (gst_collect_pads_stop):
15115         * libs/gst/base/gstcollectpads.h:
15116         API: gst_collect_pads_set_flushing()
15117         Added api to set the pads to flushing, useful for seeking
15118         code in elements using collectpads.
15119         Clear segment when receiving a flush.
15120
15121 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
15122
15123         * gst/gst.c: (add_path_func), (init_post):
15124           Don't scan registry paths passed via --gst-plugin-path immediately
15125           (will crash, because absolutely nothing is set up and no types are
15126           registered etc.); do this later in init_post(). Fixes #343057.
15127
15128 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15129
15130         * gst/gst.c: (init_post):
15131           if we have fork, fork while reading/rebuilding the registry
15132           so the parent doesn't take the hit of having all plugins loaded
15133           in memory.  Fixes #342777.
15134         * configure.ac:
15135           Check if we have fork()
15136         * win32/common/config.h.in:
15137           no fork() on win32
15138
15139 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
15140
15141         * plugins/elements/gstelements.c:
15142         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
15143         (gst_file_src_init), (gst_file_src_set_property),
15144         (gst_file_src_get_property), (gst_file_src_start):
15145         * plugins/elements/gstfilesrc.h:
15146           API: GstFileSrc::use-mmap
15147
15148         Add a use-mmap property to enable easier testing of all code paths.
15149         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
15150         in the absence of gnomevfssrc. (Closes #340501)
15151
15152 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15153
15154         * tools/gst-inspect.c:
15155         Add missing include, removes warning of ngettext not being defined on
15156         some arches.
15157
15158 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
15159
15160         * gst/gstvalue.c: (gst_value_deserialize_fraction):
15161         Handle NULL input and output pointers silently as a failed conversion,
15162         rather than g_warnings.
15163
15164 2006-05-25  Wim Taymans  <wim@fluendo.com>
15165
15166         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
15167         Initialize variable before using. Fixes #342820.
15168
15169 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
15170
15171         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
15172           Fix off-by-one bug that would only allow peeks of N-1 bytes
15173           from the start even if the buffer to typefind on contains
15174           in fact N bytes of data (makes vorbis typefinding from a
15175           vorbis identification header buffer work).
15176
15177         * tests/check/Makefile.am:
15178         * tests/check/libs/.cvsignore:
15179         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
15180         (gst_typefindhelper_suite), (main), (foobar_typefind),
15181         (plugin_init):
15182           Add very basic unit test for gst_type_find_helper_for_buffer()
15183           that checks for the problem fixed above.
15184
15185 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15186
15187         * tools/gst-inspect.c: (print_interfaces),
15188         (print_element_properties_info), (print_element_list), (main):
15189           add more translatable strings
15190
15191 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
15192
15193         Patch by: Julien Moutte  <julien at moutte net>
15194
15195         * docs/gst/gstreamer-sections.txt:
15196           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15197           
15198         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15199         (gst_fake_sink_preroll):
15200         * plugins/elements/gstfakesink.h:
15201           API: Add new GstFakeSink::preroll-handoff signal (#337100).
15202
15203 2006-05-23  Wim Taymans  <wim@fluendo.com>
15204
15205         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15206         * gst/gstpad.h:
15207         Added _CUSTOM error and success GstFlowReturn that can be
15208         used be elements internally. 
15209         Added macro to check for SUCCESS flowreturns.
15210         API: GST_FLOW_CUSTOM_SUCCESS
15211         API: GST_FLOW_CUSTOM_ERROR
15212         API: GST_FLOW_IS_SUCCESS
15213
15214         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15215         Added check for GstFlowReturn sanity.
15216
15217 2006-05-23  Wim Taymans  <wim@fluendo.com>
15218
15219         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15220
15221         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15222         (gst_collect_pads_event):
15223         clear/reset segment info in FLUSH_STOP.
15224         Fixes #336929.
15225
15226 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
15227
15228         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15229         (gst_collect_pads_check_collected):
15230         Flush queued buffer on _stop(), fixes playing again (#342454)
15231
15232 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15233
15234         * tests/check/gst/gststructure.c: (GST_START_TEST),
15235         (gst_structure_suite):
15236           add a test for a complete structure
15237
15238 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15239
15240         * docs/faq/developing.xml:
15241         * docs/faq/faq.xml:
15242         * docs/faq/troubleshooting.xml:
15243         * docs/faq/using.xml:
15244           Some minor FAQ updates that won't change the fact that
15245           our FAQ is badly structured, full of information hardly
15246           anyone new to GStreamer needs to know and lacking lots
15247           of information people constantly ask for.
15248           
15249 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
15250
15251         * gst/gstpad.c: (gst_pad_set_caps):
15252           Short-circuit gst_pad_set_caps if setting the existing
15253           caps pointer again, and avoid printing debug and 
15254           reffing/unreffing the caps.
15255
15256         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15257           There's actually no need to set the caps before pushing -
15258           the acceptcaps method will handle it anyway.
15259
15260 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15261
15262         * docs/gst/gstreamer-sections.txt:
15263         * win32/common/libgstreamer.def:
15264         * gst/gstutils.c: (gst_element_seek_simple):
15265         * gst/gstutils.h:
15266           API: add gst_element_seek_simple() (#342238).
15267
15268 2006-05-18  Edward Hervey  <edward@fluendo.com>
15269
15270         * gst/gsttypefind.c: (gst_type_find_get_type):
15271         * gst/gsttypefind.h:
15272         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15273         registered for GstTypeFind pointers. This allows wrapping the structure
15274         in bindings (i.e. gst-python).
15275
15276 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15277
15278         * gst/gsttagsetter.c:
15279           Docs additions and fixes (see #339918).
15280
15281 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
15282
15283         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15284         The caps intersection algorithm can produce multiple copies of the
15285         caps. Until that is fixed, we need to simplify the result to be
15286         sure whether the allowed caps are fixed or not.
15287
15288         * plugins/elements/gstqueue.c: (gst_queue_init),
15289         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15290         (gst_queue_push_one):
15291         Proxied buffer alloc should not set the caps on the source pad.
15292         When pushing buffers, we always accept the caps change that triggers.
15293         This prevents negotiation errors caused by caps changing mid-stream 
15294         and then being refused on our source pad (because upstream is now
15295         refusing those caps).
15296
15297 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15298
15299         * tests/examples/helloworld/helloworld.c: (main):
15300           Must plug audioconvert and audioresample between decoder
15301           and audio sink.
15302
15303 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
15304
15305         * gst/gstregistryxml.c: (read_string), (load_pad_template),
15306         (load_feature), (load_plugin):
15307         Allow empty strings for some of the plugin fields so we don't 
15308         drop valid plugin entries that were written out correctly
15309         (Fixes #341479)
15310
15311 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
15312         
15313         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15314           Use g_remove and g_rename instead of remove and rename that don't 
15315           handle utf8 characters. rename was failing for users who had specific
15316           characters in their name then the registry was built at each 
15317           gstreamer init.
15318         * win32/vs6/gst_inspect.dsp:
15319         * win32/vs6/gst_launch.dsp:
15320         * win32/vs6/libgstbase.dsp:
15321         * win32/vs6/libgstcoreelements.dsp:
15322         * win32/vs6/libgstreamer.dsp:
15323           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
15324           build of libgstreamer and clean unused libraries in projects link 
15325           settings.
15326
15327 2006-05-17  Edward Hervey  <edward@fluendo.com>
15328
15329         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15330         The queue is not responsible for pushing an EOS when receiving a fatal
15331         flow error. It's up to the real element driving the pipeline to do that.
15332
15333 2006-05-16  Edward Hervey  <edward@fluendo.com>
15334
15335         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15336         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15337         buffer returned a fatal error. It should just send an EOS and stop
15338         its task.
15339         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15340         when pushing buffers on the queue and will be able to handle the event.
15341
15342 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
15343
15344         * docs/manual/basics-bins.xml:
15345         * docs/manual/basics-init.xml:
15346           Fix typos and minor errors in sample code (#341856).
15347
15348 2006-05-16  Wim Taymans  <wim@fluendo.com>
15349
15350         * docs/design/part-qos.txt:
15351         Fix indexes in formulas to make more sense.
15352
15353 2006-05-15  Wim Taymans  <wim@fluendo.com>
15354
15355         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15356         Don't report POSITION based on clock time if sync is
15357         disabled in a sink.
15358
15359 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
15360
15361         * gst/gstobject.h:
15362           Add cast to make compiler happy - refcount variable was a gint
15363           in GstObject but is a guint in GObject and g_atomic_int_get()
15364           wants a gint *.
15365
15366 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15367
15368         * gst/parse/Makefile.am:
15369           chain commands using &&, which also makes parallel make work
15370
15371 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
15372
15373         * docs/gst/gstreamer-sections.txt:
15374         * gst/gstevent.c:
15375         * gst/gstevent.h:
15376         * gst/gstmessage.h:
15377           Minor docs fixes.
15378
15379 === release 0.10.6 ===
15380
15381 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
15382
15383         * configure.ac:
15384           releasing 0.10.6, "Take the cannoli"
15385
15386 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15387
15388         * tools/gst-launch.c: (print_tag):
15389           Fix use of uninitialized variable in the hypothetical
15390           case that some broken plugin creates a GST_TAG_IMAGE
15391           tag containing a NULL buffer (#341667).
15392
15393 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15394
15395         * tools/gst-launch.c: (print_tag):
15396           Print something more intelligible for image tags when
15397           using the -t switch (#341556).
15398
15399 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15400
15401         * Makefile.am:
15402           updates for win32
15403         * configure.ac:
15404           define GST_MAJORMINOR so we have it available in win32/common/config.h
15405           Possibly remove it from our Makefile.am files later
15406         * win32/common/config.h:
15407         * win32/common/config.h.in:
15408           added GST_MAJORMINOR
15409         * win32/common/gstenumtypes.c: (register_gst_resource_error):
15410         * win32/common/gstversion.h:
15411           updated
15412
15413 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
15414
15415         * win32/MANIFEST:
15416           Update win32 files listing.
15417         * win32/common/gstversion.h:
15418           Add GST_MAJORMINOR definition.
15419         * win32/common/libgstreamer.def:
15420           Add new exported functions.
15421           
15422 2006-05-12  Michael Smith  <msmith@fluendo.com>
15423
15424         * gst/gstplugin.c: (gst_plugin_load_file):
15425           If an so file has no plugin entry point, unload the module.
15426
15427 2006-05-11  Wim Taymans  <wim@fluendo.com>
15428
15429         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15430         (gst_queue_set_property):
15431         Don't forget to signal the _chain or _loop function 
15432         when the queue size or thresholds change since that might
15433         cause them to make progres again.
15434
15435 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15436
15437         * gst/gstclock.c: (gst_clock_class_init):
15438         * gst/gstindex.c: (gst_index_class_init):
15439         * gst/gstobject.c: (gst_object_class_init):
15440         * gst/gstpad.c: (gst_pad_class_init):
15441         * gst/gstpipeline.c: (gst_pipeline_class_init):
15442         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15443         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15444         * libs/gst/base/gstbasetransform.c:
15445         (gst_base_transform_class_init):
15446         * libs/gst/net/gstnetclientclock.c:
15447         (gst_net_client_clock_class_init):
15448         * libs/gst/net/gstnettimeprovider.c:
15449         (gst_net_time_provider_class_init):
15450         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15451         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15452         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15453         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15454         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15455         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15456         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15457         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15458         * plugins/elements/gsttee.c: (gst_tee_class_init):
15459         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15460         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15461           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15462
15463 2006-05-11  Wim Taymans  <wim@fluendo.com>
15464
15465         * gst/gstbuffer.c: (_gst_buffer_initialize):
15466         Register subbufer along with the buffer type so that
15467         it does not accidentally gets registered from N
15468         different streaming threads in a non threadsafe way.
15469
15470 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15471
15472         * gst/gstbuffer.h:
15473         * gst/gstevent.h:
15474         * gst/gstmessage.h:
15475           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15476           gst_event_ref() and gst_message_ref() functions again
15477           (ugly hack, please do fix if there's a better way besides
15478           overrides.txt, which doesn't seem to work).
15479
15480 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15481
15482         * libs/gst/check/gstcheck.h:
15483           add an assert for setting state to avoid lots of repetitive code
15484           in the future
15485
15486 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15487
15488         * gst/gstvalue.c: (gst_value_serialize_flags):
15489           fix a leak if no flags are set
15490         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15491           fix leak in tests
15492
15493 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15494
15495         * docs/manual/basics-pads.xml:
15496           Expand a bit on caps and filtered links and update
15497           examples that were still using the no longer existing
15498           gst_pad_link_filtered() (#338206).
15499
15500 2006-05-10  Wim Taymans  <wim@fluendo.com>
15501
15502         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15503         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15504         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15505         (gst_collect_pads_stop):
15506         * libs/gst/base/gstcollectpads.h:
15507         No need to call _stop in _finalize.
15508         Iterate the main pad list in _finalize.
15509         Added some more debug.
15510         Free lists and data in the right order.
15511         Also free data whem doing _remove_pad when stopped for
15512         backward compatibility protect ::started with PAD_LOCK as
15513         well.
15514
15515 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15516
15517         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15518         (gst_structure_parse_value):
15519           add some comments
15520           rename a method so that it actually says what it does better
15521
15522 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15523
15524         * gst/gstevent.c: (_gst_event_initialize):
15525         * gst/gstformat.c: (_gst_format_initialize):
15526           make sure some essential types used by events are registered
15527           as part of gst_init()
15528         * gst/gstvalue.c: (gst_value_serialize_flags):
15529           if no flags are set, serialize them to a value that represents NONE
15530           so that deserializing them works
15531         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15532           add tests for serialization and deserialization of flags
15533
15534 2006-05-10  Wim Taymans  <wim@fluendo.com>
15535
15536         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15537         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15538         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15539         (gst_collect_pads_event), (gst_collect_pads_chain):
15540         Update docs.
15541         Better debug info.
15542         Catch and return errors from the collect function
15543         Refuse data on eos pads.
15544
15545 2006-05-10  Edward Hervey  <edward@fluendo.com>
15546
15547         * gst/gstinterface.h:
15548         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15549         GInterface type checking.
15550         They were previously using non-defined macros.
15551
15552 2006-05-09  Wim Taymans  <wim@fluendo.com>
15553
15554         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15555         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15556         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15557         (gst_collect_pads_start), (gst_collect_pads_stop),
15558         (gst_collect_pads_peek), (gst_collect_pads_pop),
15559         (gst_collect_pads_available), (gst_collect_pads_read),
15560         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15561         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15562         (gst_collect_pads_chain):
15563         * libs/gst/base/gstcollectpads.h:
15564         Clean up the mess that is collectpads, add comments and
15565         FIXMEs where needed.
15566         Maintain a separate pad list so we can add pads while
15567         collecting the other ones. For this we need a new separate 
15568         lock (see comics).
15569         Fix memory leak in finalize.
15570         Refactor some weird code to set/unset pad flushing flags, mark
15571         with comments.
15572         Don't crash in _available, _read, _flush when we're EOS.
15573
15574         * tests/check/libs/.cvsignore:
15575         Ignore adapter check binary.
15576
15577 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15578
15579         * gst/gstindex.c: (gst_index_resolver_get_type):
15580         * plugins/elements/gstfakesink.c:
15581         (gst_fake_sink_state_error_get_type):
15582         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15583         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15584         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15585           Const-ify GEnumValue arrays.
15586
15587 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15588
15589         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15590           Add test case for flags + gst_buffer_make_metadata_writable().
15591
15592 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15593
15594         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15595           gst_buffer_make_metadata_writable() should maintain the
15596           buffer flags (those that make sense at least) (see #340859).
15597
15598 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15599
15600         * tools/gst-inspect.c:
15601         * tools/gst-launch.c:
15602         * tools/gst-typefind.c:
15603         * tools/gst-xmlinspect.c:
15604         * tools/tools.h:
15605           Fix up includes: need to include stdlib.h in tools.h for exit().
15606
15607 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15608
15609         * gst/gsttaglist.c: (_gst_tag_initialize):
15610         * gst/gsttaglist.h:
15611           API: add GST_TAG_IMAGE tag (#340721).
15612
15613 2006-05-08  Wim Taymans  <wim@fluendo.com>
15614
15615         * gst/gstquery.c:
15616         Added some docs for the segment query.
15617
15618 2006-05-08  Wim Taymans  <wim@fluendo.com>
15619
15620         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15621         (gst_base_src_loop), (gst_base_src_change_state):
15622         Always push non-flushing serialized events in the streaming 
15623         thread.
15624
15625 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15626
15627         * gst/gsterror.c: (_gst_stream_errors_init):
15628           Add a missing error string.
15629
15630 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15631
15632         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15633         Add applied_rate to the debug
15634
15635         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15636         Copy applied_rate into the outgoing NEWSEGMENT event
15637
15638 2006-05-08  Wim Taymans  <wim@fluendo.com>
15639
15640         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15641
15642         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15643         (gst_base_sink_change_state):
15644         call ::unlock before taking the PREROLL_LOCK so we can safely
15645         handle elements that lock in ::render.
15646         Fixes #340174.
15647
15648 2006-05-08  Edward Hervey  <edward@fluendo.com>
15649
15650         * autogen.sh: (CONFIGURE_DEF_OPT): 
15651         Darwin's libtoolize is in fact called glibtoolize.
15652         Adding glibtoolize to the list of accepted names for libtoolize.
15653
15654 2006-05-08  Wim Taymans  <wim@fluendo.com>
15655
15656         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15657         Unify error handling, don't post an error message
15658         when a push() returns EOS but perform our normal EOS
15659         handling code. Fixes #340772.
15660
15661 2006-05-08  Wim Taymans  <wim@fluendo.com>
15662
15663         * docs/design/part-overview.txt:
15664         Make upsteam/downstream concepts more clear.
15665         Give an example of serialized/non-serialized events.
15666
15667         * docs/design/part-events.txt:
15668         * docs/design/part-streams.txt:
15669         Mention applied_rate.
15670
15671         * docs/design/part-trickmodes.txt:
15672         Mention applied rate, flesh out some more use cases.
15673
15674         * gst/gstevent.c: (gst_event_new_new_segment),
15675         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15676         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15677         (gst_event_parse_tag), (gst_event_new_buffer_size),
15678         (gst_event_parse_buffer_size), (gst_event_new_qos),
15679         (gst_event_parse_qos), (gst_event_parse_seek),
15680         (gst_event_new_navigation):
15681         * gst/gstevent.h:
15682         Add applied_rate field to NEWSEGMENT event.
15683         API: gst_event_new_new_segment_full()
15684         API: gst_event_parse_new_segment_full()
15685
15686         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15687         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15688         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15689         * gst/gstsegment.h:
15690         Add applied_rate to GstSegment structure.
15691         Make calculation of stream_time and running_time more correct
15692         wrt rate/applied_rate.
15693         Add some more docs.
15694         API: GstSegment::applied_rate field
15695         API: gst_segment_set_newsegment_full();
15696
15697         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15698         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15699         * libs/gst/base/gstbasetransform.c:
15700         (gst_base_transform_sink_eventfunc),
15701         (gst_base_transform_handle_buffer):
15702         Parse and use applied_rate in the GstSegment field.
15703
15704         * tests/check/gst/gstevent.c: (GST_START_TEST):
15705         Add check for applied_rate field.
15706
15707         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15708         (gstsegments_suite):
15709         Add more checks for various GstSegment operations.
15710
15711 2006-05-08  Wim Taymans  <wim@fluendo.com>
15712
15713         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15714         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15715         (gst_base_sink_get_position), (gst_base_sink_change_state):
15716         Store the sync time of the buffer end position separatly in a
15717         new variable eos_rtime so we can properly sync the EOS event.
15718         Fixes #340697.
15719         Fix the docs for gst_base_sink_set_qos_enabled().
15720         Don't set segment start to invalid value when we receive a 
15721         non TIME newsegment.
15722         get closer to handling position reporting for negative rates 
15723         correctly.
15724
15725 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15726
15727         * gst/gstcaps.c:
15728         Docs about how to print caps for debug purposes.
15729
15730         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15731         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15732
15733 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15734
15735         * gst/gstelement.c:
15736           use full enum names and preprend a '%' in docs strings to make recent 
15737           gtk-doc turn that into a link
15738
15739 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15740
15741         * docs/manual/basics-bins.xml:
15742         * docs/manual/basics-bus.xml:
15743         * docs/manual/basics-pads.xml:
15744           Some typo fixes, some additions, some clarifications. 
15745
15746 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15747
15748         * tools/gst-inspect.c: (main):
15749         * tools/gst-launch.c: (main):
15750         * tools/gst-run.c: (main):
15751         * tools/gst-typefind.c: (main):
15752         * tools/gst-xmlinspect.c: (main):
15753           Use the string passed to g_option_context_new() for
15754           what it's intended for - the program name is already
15755           printed elsewhere.
15756
15757 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15758
15759         * tools/Makefile.am:
15760         * tools/gst-inspect.c: (main):
15761         * tools/gst-launch.c: (main):
15762         * tools/gst-xmlinspect.c: (main):
15763         * tools/tools.h:
15764           Add back --version command line option (#340460).
15765
15766         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15767           Add --version option and use GOption for argument parsing; refactor a
15768           bit; accept directories as arguments and recurse into them; lastly,
15769           print a decent error message when things go wrong.
15770
15771 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15772
15773         * docs/manual/basics-bins.xml:
15774         Don't mention GstThread (#340611)
15775         * docs/manual/basics-elements.xml:
15776         Update link to GObject tutorial (#340607)
15777         
15778 2006-05-05  Wim Taymans  <wim@fluendo.com>
15779
15780         * gst/gstbuffer.h:
15781         * gst/gstminiobject.c:
15782         Add note about refcounting and miniobject/buffer writeability
15783         to docs. Fixes #340604
15784
15785         * gst/gstelementfactory.h:
15786         Added some explanation about @klass.
15787
15788 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15789
15790         * docs/manual/intro-motivation.xml:
15791         * docs/manual/manual.xml:
15792         Avoid CORBA & Bonobo references (#340598)
15793
15794 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15795
15796         * docs/manual/basics-bus.xml:
15797         * docs/manual/basics-pads.xml:
15798         Fix up some inaccuracies and omissions (#340609)
15799         
15800 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15801
15802         * gst/gstghostpad.c:
15803           Small typo in docs (#340625)
15804
15805 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15806
15807         * gst/parse/Makefile.am:
15808           Make 'make -j' proof (see #340698).
15809
15810 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15811
15812         * configure.ac:
15813           Require GLib-2.8 here as well.
15814
15815 2006-05-05  Wim Taymans  <wim@fluendo.com>
15816
15817         * gst/glib-compat.c:
15818         * gst/gst.c: (init_pre):
15819         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15820         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15821         (gst_object_dispatch_properties_changed):
15822         * gst/gstobject.h:
15823         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15824         * gst/gststructure.c: (gst_structure_set_valist):
15825         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15826         Remove pre glib2.8 compatibility, fixes #340508
15827
15828 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15829
15830         * gst/gsttaglist.h:
15831           Mention type of tags in doc blurbs.
15832
15833 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15834
15835         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15836         (gst_pad_configure_src), (gst_pad_push):
15837         Restore acceptcaps checking behaviour now that good plugins have
15838         been released.
15839
15840 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15841
15842         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15843
15844         * gst/gst.c:
15845         * gst/gstbus.c:
15846         * gst/gstclock.c:
15847         * gst/gstevent.c:
15848         * gst/gstformat.c:
15849         * gst/gstmessage.c:
15850         * gst/gstparse.c:
15851         * gst/gstquery.c:
15852         * gst/gstutils.c:
15853         * gst/parse/Makefile.am:
15854         * libs/gst/base/gstadapter.c:
15855         * libs/gst/base/gstbasesrc.c:
15856         * libs/gst/base/gstpushsrc.c:
15857         * libs/gst/base/gsttypefindhelper.c:
15858         * plugins/elements/gstfakesrc.c:
15859         * plugins/elements/gstidentity.c:
15860           Make sure gstprivate.h and/or config.h are
15861           always included first, otherwise some of our
15862           defines (like _FILE_OFFSET_BITS) might be
15863           redefined in the system headers. Fixes build
15864           on opensolaris (#340016).
15865
15866 2006-05-04  Wim Taymans  <wim@fluendo.com>
15867
15868         * docs/libs/gstreamer-libs-sections.txt:
15869         API: addition: gst_adapter_take_buffer()
15870         
15871         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15872         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15873         (gst_adapter_available_fast):
15874         * libs/gst/base/gstadapter.h:
15875         Prepare for optimizing the hell out of this hugely inefficient
15876         piece of code. 
15877         Added gst_adapter_take_buffer() so we can at least start thinking
15878         about subbuffering and merging.
15879         Added some comments.
15880
15881         * tests/check/Makefile.am:
15882         * tests/check/libs/adapter.c: (GST_START_TEST),
15883         (gst_adapter_suite), (main):
15884         Added GstAdapter check.
15885
15886 2006-05-04  Wim Taymans  <wim@fluendo.com>
15887
15888         * docs/design/part-overview.txt:
15889         Fix some typos, add blurb about buffer flags.
15890
15891 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15892
15893         * docs/libs/gstreamer-libs-sections.txt:
15894           make sure GstBaseTransformClass shows up in the docs
15895         * libs/gst/base/gstbasetransform.c:
15896         * libs/gst/base/gstbasetransform.h:
15897           move docs so gtk-doc picks it up now
15898
15899 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15900
15901         * docs/libs/gstreamer-libs-sections.txt:
15902           add missing symbols to docs
15903
15904 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15905
15906         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15907           back out the newsegment handling change, see #340060 for ongoing
15908           discussion
15909
15910 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15911
15912         * tools/gst-run.c: (get_candidates), (main):
15913           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15914           work); fix typo in error message. Fixes #340079.
15915
15916 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15917
15918         * common/Makefile.am:
15919         * docs/Makefile.am:
15920         * docs/faq/Makefile.am:
15921         * docs/gst/Makefile.am:
15922         * docs/libs/Makefile.am:
15923         * docs/manual/Makefile.am:
15924         * docs/plugins/Makefile.am:
15925         * docs/pwg/Makefile.am:
15926         * docs/slides/Makefile.am:
15927         * docs/upload.mak:
15928         * common/upload.mak:
15929           move upload.mak to common
15930
15931 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15932
15933         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15934           add more asserts on refcounts
15935           do more cleanup at end of tests
15936           fix test leaks showing in FC5
15937
15938 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15939
15940         * plugins/elements/gsttypefindelement.c:
15941         (gst_type_find_element_handle_event):
15942         reverted wrong change and reflowed code to avoid others falling into
15943         this trap
15944
15945 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15946
15947         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15948           fix changelog entry about last collectpads change,
15949           add notes about proper fix
15950
15951 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15952
15953         * gst/gst.c:
15954         * gst/gstregistry.c: (gst_registry_scan_path_level),
15955         (gst_registry_scan_path):
15956         * gst/gstregistry.h:
15957           only write out registry if it has changed, fixes #338339
15958
15959 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15960
15961         * gst/gstbin.c:
15962         * gst/gstpipeline.c:
15963         * plugins/elements/gstcapsfilter.c:
15964         * plugins/elements/gstfakesink.c:
15965         * plugins/elements/gstfakesrc.c:
15966         * plugins/elements/gstfdsink.c:
15967         * plugins/elements/gstfdsrc.c:
15968         * plugins/elements/gstfilesink.c:
15969         * plugins/elements/gstfilesrc.c:
15970         * plugins/elements/gstidentity.c:
15971         * plugins/elements/gstqueue.c:
15972         * plugins/elements/gsttee.c:
15973         * plugins/elements/gsttypefindelement.c:
15974         (gst_type_find_element_handle_event):
15975           make GstElementDetails const
15976
15977 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15978
15979         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15980         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15981         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15982           more detailed debug and formatting cleanup,
15983           forward newsegments to src-pad (so that e.g. adder not eats them)
15984
15985 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15986
15987         * gst/gstutils.c: (gst_element_link_pads):
15988           cleanup double code
15989
15990 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15991
15992         * libs/gst/controller/gstcontroller.c:
15993         (gst_controller_sync_values):
15994           some little tuning
15995         * tests/check/libs/controller.c: (GST_START_TEST),
15996         (gst_controller_suite):
15997           a new test for live value handling
15998
15999 2006-04-28  Wim Taymans  <wim@fluendo.com>
16000
16001         * gst/gstutils.c: (push_and_ref):
16002         Added some more docs.
16003         Fix refcount issue whith gst_element_found_tags() helper 
16004         function. Fixes #338335
16005
16006         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16007         Added testsuite for gst_element_found_tags().
16008
16009 2006-04-28  Michael Smith  <msmith@fluendo.com>
16010
16011         * gst/gstvalue.c: (gst_value_serialize_flags):
16012           Avoid NULL dereference when trying to serialize flags containing
16013           invalid values.
16014
16015 2006-04-28  Michael Smith  <msmith@fluendo.com>
16016
16017         * plugins/elements/gsttypefindelement.c:
16018         (gst_type_find_element_handle_event):
16019           If we get EOS before any data is accumulated, don't use
16020           uninitialised local variables.
16021
16022 2006-04-28  Michael Smith  <msmith@fluendo.com>
16023
16024         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
16025         (gst_dp_event_from_packet):
16026           Fixes in reading/writing events over GDP (not currently used?) - 
16027           dereferencing NULL events for unknown/invalid event types, memory
16028           leak, and change g_warning to GST_WARNING.
16029
16030 2006-04-28  Wim Taymans  <wim@fluendo.com>
16031
16032         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
16033         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16034         (gst_base_sink_get_position), (gst_base_sink_change_state):
16035         When frame dropping is enabled, we should not ignore frames
16036         without a duration.
16037         Update some documentation.
16038
16039 2006-04-28  Wim Taymans  <wim@fluendo.com>
16040
16041         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16042         (gst_base_src_send_event), (gst_base_src_change_state):
16043         Documentation updates.
16044
16045 2006-04-28  Wim Taymans  <wim@fluendo.com>
16046
16047         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
16048         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
16049         handle EAGAIN, EINTR and short writes correctly. Also clean
16050         up some error cases, avoid a deadlock on bad file descriptors and
16051         use GST_DEBUG_OBJECT.
16052         Fixes #339843
16053
16054 2006-04-28  Wim Taymans  <wim@fluendo.com>
16055
16056         * gst/gstvalue.c: (gst_value_serialize_buffer),
16057         (gst_value_deserialize_buffer):
16058         Don't try to serialize a GValue with a NULL buffer. 
16059         Fixes #339821.
16060
16061         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16062         Added check for serialisation of NULL buffers.
16063
16064 2006-04-28  Wim Taymans  <wim@fluendo.com>
16065
16066         * gst/gstminiobject.c: (gst_value_take_mini_object):
16067         Taking a NULL miniobject is valid, fix the case where
16068         we try to unref the NULL miniobject.
16069
16070 2006-04-28  Wim Taymans  <wim@fluendo.com>
16071
16072         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
16073
16074         * gst/gstbin.c: (gst_bin_handle_message_func):
16075         Update docs.
16076         Don't leak bin refcount when a state recalc is
16077         in progress and we delay another one #339808.
16078
16079 2006-04-28  Wim Taymans  <wim@fluendo.com>
16080
16081         * docs/design/part-TODO.txt:
16082         Mention QoS as an ongoing work item.
16083
16084         * docs/design/part-buffering.txt:
16085         New doc about buffering that needs to be fleshed out
16086         at some point.
16087
16088         * docs/design/part-qos.txt:
16089         More QoS policy for decoders/demuxers/transforms
16090
16091         * docs/design/part-trickmodes.txt:
16092         Small update.
16093
16094 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16095
16096         * configure.ac:
16097           back to HEAD
16098
16099 === release 0.10.5 ===
16100
16101 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
16102
16103         * configure.ac:
16104           releasing 0.10.5, "Fogo"
16105
16106 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16107
16108         patch by: Wim Taymans
16109
16110         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
16111         (gst_pad_configure_src), (gst_pad_push):
16112         * gst/gstpipeline.c: (gst_pipeline_init):
16113           Fix internal data flow errors.  Fixes #338711.
16114
16115 2006-04-12  Wim Taymans  <wim@fluendo.com>
16116
16117         * tests/check/gst/gstelement.c: (GST_START_TEST):
16118         Don't leak the factory.
16119
16120 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16121
16122         * configure.ac:
16123         * win32/common/config.h:
16124           prerelease
16125
16126 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
16127
16128         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16129         (gst_controller_unset_all):
16130           Free allocated GstTimedValues when freeing list nodes.
16131           Should fix leaks 'make check-valgrind' complains about.
16132
16133         * win32/common/libgstcontroller.def:
16134           Add gst_controller_unset_all.
16135
16136 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
16137
16138         * docs/libs/gstreamer-libs-sections.txt:
16139         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16140         (gst_controller_unset_all):
16141         * libs/gst/controller/gstcontroller.h:
16142         API: Added new method gst_controller_unset_all()
16143         fixed gst_controller_unset()
16144         * tests/check/libs/controller.c: (GST_START_TEST),
16145         (gst_controller_suite):
16146         Added two testcases for new and fixed method
16147
16148 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
16149
16150         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
16151           MSG_DONTWAIT is not defined on Cygwin, so work
16152           around that (fixes #317048).
16153           
16154 2006-04-11  Wim Taymans  <wim@fluendo.com>
16155
16156         * gst/gstelementfactory.c: (gst_element_register),
16157         (gst_element_factory_create), (gst_element_factory_make):
16158         Some cleanups.
16159         Fixed a FIXME.
16160         Updated docs (Fixes #131079)
16161
16162         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16163         Small cleanups.
16164
16165         * tests/check/gst/gstelement.c: (GST_START_TEST),
16166         (gst_element_suite):
16167         Added testcase for elementfactory class field.
16168
16169 2006-04-10  Wim Taymans  <wim@fluendo.com>
16170
16171         * gst/gstsegment.c:
16172         Added some more docs.
16173
16174         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
16175         (gst_base_sink_reset_qos):
16176         Calculate more accurate rate values.
16177
16178 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
16179
16180         * gst/gst_private.h:
16181           add a new #ifdef to use __declspec(dllimport) only for
16182           other modules and not for gstreamer core
16183         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
16184           use gst_guint64_to_gdouble for conversion
16185         * win32/common/libgstreamer.def:
16186           add new exported functions
16187         * win32/vs6/gst_inspect.dsp:
16188         * win32/vs6/gst_launch.dsp:
16189         * win32/vs6/libgstbase.dsp:
16190         * win32/vs6/libgstcontroller.dsp:
16191         * win32/vs6/libgstcoreelements.dsp:
16192         * win32/vs6/libgstdataprotocol.dsp:
16193         * win32/vs6/libgstnet.dsp:
16194           update project files
16195
16196 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16197
16198         * gst/gstbuffer.c: (gst_subbuffer_class_init):
16199         * gst/gstclock.c: (gst_clock_class_init):
16200         * gst/gstelement.c: (gst_element_class_init):
16201         * gst/gstindex.c: (gst_index_class_init):
16202         * gst/gstindexfactory.c: (gst_index_factory_class_init):
16203         * gst/gstobject.c: (gst_object_class_init),
16204         (gst_signal_object_class_init):
16205         * gst/gstpad.c: (gst_pad_class_init):
16206         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16207         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16208         * gst/gstregistry.c: (gst_registry_class_init):
16209         * gst/gstsystemclock.c: (gst_system_clock_class_init):
16210         * gst/gsttask.c: (gst_task_class_init):
16211         * gst/gstxml.c: (gst_xml_class_init):
16212         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16213         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16214         (gst_base_src_loop):
16215         * libs/gst/controller/gstcontroller.c:/
16216         (_gst_controller_class_init):
16217         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16218         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16219         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16220         * tests/old/examples/plugins/example.c: (gst_example_class_init):
16221         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16222         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16223
16224 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
16225
16226         * gst/gstpad.c: (gst_pad_link):
16227           Must set peer pads before calling the link function, otherwise
16228           a task started from a link function might get a flow-not-linked
16229           result when trying to push because the other thread where the
16230           linking happens hasn't had a chance to set the peers yet. This
16231           might happen for example when a queue gets linked to a downstream
16232           element, as queue starts a streaming task when its source pad
16233           gets linked. Happens in real life when playing back flac/musepack
16234           files in playbin (#332390).
16235           
16236 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16237
16238         * gst/gstindex.h:
16239         * gst/gstxml.h:
16240         * libs/gst/base/gstadapter.h:
16241         * libs/gst/base/gstbasesink.h:
16242         * libs/gst/base/gstbasesrc.h:
16243         * libs/gst/base/gstbasetransform.h:
16244         * libs/gst/base/gstcollectpads.h:
16245         * libs/gst/base/gstpushsrc.h:
16246         Fix broken GObject macros
16247
16248 2006-04-07  Wim Taymans  <wim@fluendo.com>
16249
16250         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16251         Initialize start and stop times, thanks valgrind.
16252
16253 2006-04-07  Wim Taymans  <wim@fluendo.com>
16254
16255         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16256         Be a bit nicer to badly behaving upstream elements that expect
16257         us to deal with non TIME segments and timestamps (such as fakesrc
16258         in the testsuite).
16259
16260 2006-04-07  Wim Taymans  <wim@fluendo.com>
16261
16262         * gst/gstbus.c:
16263         Small documentation clarification about the signal watch.
16264
16265         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16266         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16267         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16268         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16269         (gst_base_sink_get_position_last),
16270         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16271         Convert and store timestamps in stream time and running time, the
16272         raw timestamps are not useful, also document this better.
16273         Use different window sizes for good and bad QoS observations so
16274         we react to badness a little quicker.
16275         Keep track of the amount of rendered and dropped buffers.
16276         Send QoS timestamps in running time.
16277
16278         * libs/gst/base/gstbasetransform.c:
16279         (gst_base_transform_sink_eventfunc),
16280         (gst_base_transform_handle_buffer):
16281         Compare QoS timestamps against running time.
16282
16283 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16284
16285         * gst/gstpad.c:
16286           Typo fixes in docs.
16287
16288 2006-04-06  Michael Smith  <msmith@fluendo.com>
16289
16290         * gst/gstpad.c: (gst_pad_set_property):
16291           Use g_value_get_object() instead of g_value_dup_gst_object(),
16292           to avoid double-reffing the pad template (which we then sink,
16293           so this worked previously if (and only if) the pad template
16294           was floating.
16295
16296         * gst/gstpadtemplate.c: (gst_pad_template_init),
16297         (gst_pad_template_pad_created):
16298           Never return floating references to pad templates, create
16299           them as initially-sunken.
16300
16301           Document an extra function (and make this stop sinking our
16302           pad template, since that is now guaranteed to do nothing,
16303           since we created it sunken).
16304
16305         * gst/gstghostpad.c:
16306           Fix docs typo.
16307
16308 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16309
16310         * gst/gstinfo.c: (__gst_in_valgrind):
16311           Add some newlines.
16312
16313         * plugins/elements/gsttypefindelement.c:
16314         (gst_type_find_element_chain):
16315           Don't leak buffer caps.
16316
16317 2006-04-06  Michael Smith  <msmith@fluendo.com>
16318
16319         * gst/parse/grammar.y:
16320           Fix a leak in parse-launch for any source-or-sink named element 
16321           references used.
16322
16323         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16324           Unref the pipeline if it exists after we've failed parsing.
16325
16326 2006-04-05  Michael Smith  <msmith@fluendo.com>
16327
16328         * gst/gstpipeline.c: (gst_pipeline_init):
16329           When we create a pipeline bus, initially create it in flushing mode.
16330           Fixes leaks in at least one test, and makes a new pipeline work the
16331           same as one that has gone to READY and then back to NULL.
16332
16333         * gst/gstelement.c:
16334           Typo fix in docs.
16335
16336 2006-04-05  Michael Smith  <msmith@fluendo.com>
16337
16338         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16339           Unref a pad we reffed.
16340         * tests/check/gst/gstutils.c: (GST_START_TEST):
16341           Unref bins
16342
16343 2006-04-05  Michael Smith  <msmith@fluendo.com>
16344
16345         * gst/gstquery.c: (gst_query_set_formats),
16346         (gst_query_set_formatsv):
16347           Fix leaking GValues in queries, as shown by valgrind/testsuite.
16348
16349 2006-04-05  Michael Smith  <msmith@fluendo.com>
16350
16351         * tests/check/generic/sinks.c: (GST_START_TEST):
16352           Fix a variety of memleaks in sinks check, which are only sometimes 
16353           shown by running the tests under valgrind (weird?).
16354
16355 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
16356
16357         * docs/version.entities.in:
16358           Fix the substituted entity name after thomas' changes on the
16359           weekend.
16360
16361 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
16362
16363         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16364         VALGRIND_PRINTF
16365         
16366 2006-04-05  Andy Wingo  <wingo@pobox.com>
16367
16368         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16369
16370         * libs/gst/base/gstbasetransform.c
16371         (gst_base_transform_sink_eventfunc): When resetting our segment on
16372         FLUSH_STOP, also update the flag saying we haven't seen a
16373         newsegment.
16374
16375 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16376
16377         Patch by: Paolo Borelli  <pborelli at katamail dot com>
16378
16379         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16380         (gst_plugin_check_license):
16381           minor clean-ups: G_DEFINE_TYPE already takes care of the
16382           parent_class stuff, no need to do it twice. Mark array of
16383           license strings as constant. (#337103)
16384           
16385 2006-04-04  Michael Smith  <msmith@fluendo.com>
16386
16387         * tools/gst-inspect.c: (print_element_list):
16388           Free the right plugin list; fixes a memory leak.
16389
16390 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16391
16392         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
16393
16394         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16395           Don't error out on empty buffers (#336945).
16396           
16397 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
16398
16399         * docs/libs/gstreamer-libs-sections.txt:
16400         * gst/gsttaglist.c:
16401         * libs/gst/base/gstbasesink.c:
16402         * libs/gst/base/gstbasesink.h:
16403         * libs/gst/base/gstbasesrc.c:
16404         * libs/gst/base/gstbasesrc.h:
16405           Documentation updates. Make BaseSink and BaseSrc docs contain the
16406           class structure so that people can actually see the prototypes for
16407           virtual functions they're supposed to be overriding.
16408
16409 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16410
16411         * plugins/elements/gsttypefindelement.c:
16412         (gst_type_find_element_chain):
16413           More debug info; when skipping typefinding, send cached
16414           events in all cases.
16415
16416 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16417
16418         * configure.ac:
16419           use new AS_VERSION and AS_NANO macros
16420         * gst/gst-i18n-lib.h:
16421         * gst/gst.c:
16422         * gst/gsterror.c:
16423         * gst/gstversion.h.in:
16424         * win32/common/config.h:
16425         * win32/common/config.h.in:
16426           update accordingly
16427
16428 2006-03-31  Michael Smith  <msmith@fluendo.com>
16429
16430         * plugins/elements/gsttypefindelement.c:
16431         (gst_type_find_element_chain):
16432           Do not typefind content if the buffers already have caps.
16433           Neccesary for icydemux (#333657), and the right thing to do anyway.
16434
16435 2006-03-30  Wim Taymans  <wim@fluendo.com>
16436
16437         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16438         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16439         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16440         (gst_base_sink_record_qos_observation),
16441         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16442         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16443         (gst_base_sink_change_state):
16444         More QoS measurements as described in the design doc.
16445         Get rid of ringbuffer with observations, running average is
16446         more simple and equally good.
16447         Calculates valid proportion now.
16448         Added beginning of flood measurement.
16449
16450 2006-03-29  Wim Taymans  <wim@fluendo.com>
16451
16452         * docs/design/part-qos.txt:
16453         * gst/gstclock.c:
16454         Small documentation updates and additions.
16455
16456 2006-03-29  Wim Taymans  <wim@fluendo.com>
16457
16458         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16459         (gst_base_src_send_event), (gst_base_src_loop),
16460         (gst_base_src_change_state):
16461         Perform the EOS logic when we reach the segment stop position.
16462         Fix compilation on gcc4.1
16463
16464 2006-03-29  Wim Taymans  <wim@fluendo.com>
16465
16466         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16467
16468         * plugins/elements/gstqueue.c: (gst_queue_init),
16469         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16470         (gst_queue_set_property):
16471         * plugins/elements/gstqueue.h:
16472         In queue, when EOS is received, if minimum threshold > max_size -
16473         current_level, there is chance that queue blocks forever in conditional
16474         item del wait. This is because the queue is not emptied completely due
16475         to minimum threshold.  Here is another approach. Instead of setting
16476         cur_levels to max in EOS, just zero all minimum threshold levels. This
16477         should make sure that queue gives out all data. When going to READY
16478         (stop) state, just reset the original minimum threshold levels.
16479         Fixes #336336.
16480
16481 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16482
16483         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16484         (gst_type_find_element_handle_event),
16485         (gst_type_find_element_send_cached_events),
16486         (gst_type_find_element_change_state):
16487         * plugins/elements/gsttypefindelement.h:
16488           When typefinding is done in push mode, we should cache
16489           events we receive during typefinding instead of just
16490           dropping them (e.g. newsegment, custom events from
16491           dvdreadsrc etc.) and then send them out once we've
16492           determined the type of the stream (and decodebin
16493           has had a chance to plug in a decoder/demuxer).
16494           
16495 2006-03-27  Wim Taymans  <wim@fluendo.com>
16496
16497         * docs/design/part-qos.txt:
16498         First QoS ideas.
16499
16500 2006-03-27  Wim Taymans  <wim@fluendo.com>
16501
16502         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16503
16504         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16505         (gst_base_src_send_event), (gst_base_src_change_state):
16506         Handle element seek correctly when we are streaming.
16507         Fixes #326998.
16508
16509 2006-03-24  Michael Smith  <msmith@fluendo.com>
16510
16511         * docs/faq/gst-uninstalled:
16512           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16513           allow you to correctly run intalled applications built against old 
16514           core, using plugins that require updated core (e.g. running
16515           installed totem against a full uninstalled gstreamer stack)
16516
16517 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16518
16519         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16520         more debug details
16521
16522 2006-03-24  Wim Taymans  <wim@fluendo.com>
16523
16524         * docs/gst/gstreamer-sections.txt:
16525         Rearrange the order of the methods so that related methods
16526         are grouped together in sections.
16527
16528 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16529
16530         * gst/gstelement.c:
16531           Little clarification in the docs
16532
16533 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16534
16535         * docs/README:
16536         formatting fix
16537         * plugins/elements/gstidentity.c:
16538         * plugins/elements/gstqueue.c:
16539         * plugins/elements/gsttee.c:
16540         * plugins/elements/gsttypefindelement.c:
16541         GST_ELEMENT_DETAILS formatting
16542
16543 2006-03-24  Wim Taymans  <wim@fluendo.com>
16544
16545         * libs/gst/base/gstbasesink.h:
16546         Only add fields, not insert or we break ABI.
16547
16548 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16549
16550         * win32/common/libgstbase.def:
16551         * win32/common/libgstreamer.def:
16552           Update, add recently added functions.
16553
16554 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16555
16556         * docs/gst/gstreamer-sections.txt:
16557         * gst/gstutils.c: (gst_pad_query_peer_position),
16558         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16559         * gst/gstutils.h:
16560           API: add some new utility functions:
16561            - gst_pad_query_peer_position()
16562            - gst_pad_query_peer_duration()
16563            - gst_pad_query_peer_convert()
16564           
16565 2006-03-23  Wim Taymans  <wim@fluendo.com>
16566
16567         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16568         (gst_base_sink_init), (gst_base_sink_finalize),
16569         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16570         (gst_base_sink_set_property), (gst_base_sink_get_property),
16571         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16572         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16573         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16574         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16575         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16576         (gst_base_sink_preroll_object), (gst_base_sink_event),
16577         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16578         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16579         (gst_base_sink_query), (gst_base_sink_change_state):
16580         Decouple max-lateness and the fact that QoS messages are generated
16581         with a new property (qos).
16582         added API: GstBaseSink::async_play()
16583         Add vmethod so subclasses can be notified of ASYNC playing
16584         state changes.
16585         Collect timestamp start and stop to report better current
16586         position in EOS/PLAYING/PAUSED/READY/NULL.
16587         Refactor QoS/frame dropping and other measurements.
16588         API: GstBaseSrc::qos
16589         Fixes #326311
16590
16591         * libs/gst/base/gstbasesink.h:
16592         Added Private struct.
16593         API: gst_base_sink_set_qos_enabled()
16594         API: gst_base_sink_is_qos_enabled()
16595
16596 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16597
16598         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16599           If compiling against GLib-2.8 or newer, try to read the
16600           registry file using GMappedFile first before falling back
16601           to fopen() + fread() (#332151).
16602
16603 2006-03-22  Wim Taymans  <wim@fluendo.com>
16604
16605         * gst/gstinfo.c: (gst_debug_set_active),
16606         (gst_debug_category_set_threshold):
16607         Disable debugging unless explicitly activated.
16608         Fixes #335480.
16609
16610 2006-03-22  Wim Taymans  <wim@fluendo.com>
16611
16612         * gst/gstelement.c: (gst_element_set_locked_state),
16613         (gst_element_dispose):
16614         Cleanup the error case.
16615
16616         * gst/gstobject.c: (gst_object_dispose):
16617         print a critical when some object was disposed with
16618         a parent, also revive the object since it might
16619         crash the parent.
16620
16621 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16622
16623         * tools/gst-launch.1.in:
16624           Fix another typo.
16625
16626 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16627
16628         * configure.ac:
16629         * tests/check/Makefile.am:
16630           disable some tests when we don't have a registry
16631         * tests/check/gst/gstutils.c: (gst_utils_suite):
16632           don't build the part that needs parsing
16633
16634 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16635
16636         * gst/Makefile.am
16637         * tests/examples/Makefile.am:
16638           fix --disable-parse build
16639
16640 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16641
16642         * tools/gst-feedback.1.in:
16643           Fix typo: s/feeback/feedback/ (#133494).
16644
16645 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16646
16647         * tools/Makefile.am:
16648         * tools/gst-launch.1.in:
16649           Add FILES section and correct entry about GST_REGISTRY_PATH
16650           environment variable (#133495; #133494).
16651
16652 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16653
16654         * tools/Makefile.am:
16655         * tools/gst-md5sum.1.in:
16656         * tools/gst-md5sum.c:
16657           Remove gst-md5sum and man page (the md5sink element
16658           required was removed ages ago)
16659
16660 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16661
16662         * gst/gststructure.c: (gst_structure_id_set_value):
16663           Make sure that string fields in structures/taglists
16664           contain valid UTF-8 - we don't want to pass rubbish to
16665           applications because of a buggy plugin (cp. #334167).
16666
16667 2006-03-21  Edward Hervey  <edward@fluendo.com>
16668
16669         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16670         (gst_bin_handle_message_func):
16671         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16672         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16673         (gst_element_set_bus_func):
16674         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16675         * gst/gstminiobject.c: (gst_value_set_mini_object),
16676         (gst_value_take_mini_object):
16677         * gst/gstpad.c: (gst_pad_set_pad_template):
16678         * gst/gstpipeline.c: (gst_pipeline_dispose),
16679         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16680         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16681         (gst_collect_pads_chain):
16682         * libs/gst/net/gstnettimeprovider.c:
16683         (gst_net_time_provider_set_property):
16684         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16685         It's in fact all issues with gst_*object_replace().
16686
16687 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16688
16689         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16690         
16691         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16692         * pkgconfig/gstreamer-check.pc.in:
16693           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16694
16695 2006-03-21  Edward Hervey  <edward@fluendo.com>
16696
16697         * gst/gstbuffer.h:
16698         * gst/gstevent.h:
16699         * gst/gstmessage.h:
16700         gst_[buffer|event|message]_ref() macros are replaced by a static
16701         inline functions because gcc-4.1 will about if the return value
16702         isn't used.
16703         * tests/check/gst/gstevent.c: (event_probe):
16704         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16705
16706 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16707
16708         * gst/gstutils.h:
16709         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16710         the type' case. (Closes: #335195 for now). In the future, when we
16711         depend on GLib 2.10, we could also intern the type name using
16712         g_intern_static_string()
16713
16714 2006-03-20  Wim Taymans  <wim@fluendo.com>
16715
16716         * gst/gstbin.c: (gst_bin_handle_message_func),
16717         (bin_query_max_init), (bin_query_position_fold),
16718         (bin_query_position_done), (gst_bin_query):
16719         Position query should also take max of all streams.
16720
16721 2006-03-20  Wim Taymans  <wim@fluendo.com>
16722
16723         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16724         (gst_fake_src_finalize):
16725         Fix leaks in fakesrc.
16726
16727         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16728         Fix leaks in the testcase.
16729
16730 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16731
16732         * gst/gst_private.h:
16733           add win32 specific import decoration(__declspec(dllimport)) 
16734           for all extern GstDebugCategory * variables
16735         * win32/common/libgstbase.def:
16736         * win32/common/libgstcontroller.def:
16737         * win32/common/libgstreamer.def:
16738           Add some exports, remove empty lines
16739         * win32/common/libgstdataprotocol.def:
16740         * win32/common/libgstdataprotocol.dsp:
16741         * win32/common/libgstnet.def:
16742         * win32/common/libgstnet.dsp:
16743           new project files and exportation files added
16744         
16745 2006-03-19  Wim Taymans  <wim@fluendo.com>
16746
16747         * tests/check/libs/basesrc.c: (eos_event_counter):
16748         Use proper return value for probe.
16749
16750 2006-03-17  Wim Taymans  <wim@fluendo.com>
16751
16752         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16753         (gst_pad_push):
16754         Don't leak buffers, caps and pads on negotiation errors.
16755
16756 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16757
16758         * docs/faq/cvs.xml:
16759         * docs/faq/dependencies.xml:
16760         * docs/faq/developing.xml:
16761         * docs/faq/faq.xml:
16762         * docs/faq/general.xml:
16763         * docs/faq/getting.xml:
16764         * docs/faq/legal.xml:
16765         * docs/faq/troubleshooting.xml:
16766         * docs/faq/using.xml:
16767         Faq review and update.
16768
16769 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16770
16771         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16772         (gst_pad_push):
16773         Don't pound the cpu to pieces by checking get_caps when accept_caps
16774         is called with the same caps as the pad already has.
16775         Use GST_DEBUG_OBJECT when outputting caps change information.
16776
16777 2006-03-15  Wim Taymans  <wim@fluendo.com>
16778
16779         * gst/gstclock.c: (gst_clock_class_init):
16780         Fix docs.
16781
16782 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16783
16784         * gst/gstbuffer.h:
16785         Documentation fix.
16786
16787         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16788         (gst_pad_accept_caps), (gst_pad_configure_sink),
16789         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16790         Make the default acceptcaps behaviour be to check the requested 
16791         caps against the gst_pad_get_caps output. 
16792
16793         Ensure that gst_pad_accept_caps is used to check caps when a pad
16794         doesn't have a setcaps function, so that pads automatically refuse 
16795         caps that they don't allow in their pad template. (Fixes #332986)
16796
16797         When a buffer with attached caps is pushed, ensure that the source 
16798         pad receives those caps even if the element didn't call
16799         gst_pad_set_caps first.
16800
16801 2006-03-15  Wim Taymans  <wim@fluendo.com>
16802
16803         * libs/gst/base/gstadapter.c:
16804         Add some docs.
16805
16806 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16807
16808         * win32/common/libgstbase.def:
16809         * win32/common/libgstcontroller.def:
16810         * win32/common/libgstreamer.def:
16811           Add a whole bunch of missing functions (#334434).
16812
16813 2006-03-14  Wim Taymans  <wim@fluendo.com>
16814
16815         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16816         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16817         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16818         Better debug info when we receive a segment event.
16819         Reorganize a bit so we can pass the get_times() results around.
16820         Use the segment format when calculating the running time.
16821         Don't do QoS is sync is disabled or we have no clock or the
16822         element does not want us to sync to the clock.
16823         Don't drop buffers if QoS is disabled for now.
16824
16825 2006-03-14  Wim Taymans  <wim@fluendo.com>
16826
16827         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16828         Marked the stats property as unimplemented so people don't get
16829         wild ideas.
16830         Add debug message when regression goes wrong.
16831         Added some more docs.
16832
16833 2006-03-14  Wim Taymans  <wim@fluendo.com>
16834
16835         * gst/gstsegment.c: (gst_segment_to_stream_time):
16836         Return correct return type in case of errors.
16837
16838 2006-03-14  Wim Taymans  <wim@fluendo.com>
16839
16840         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16841           Don't segfault on invalid formats.
16842
16843 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16844
16845         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16846           Can't use gst_segment_to_running_time() when the segment
16847           is not in GST_TIME_FORMAT (like with filesink, for example).
16848           Stops flac encoding pipelines from spewing critical warnings
16849           at EOS (#331248).
16850           
16851 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16852
16853         * gst/gstpipeline.c: (gst_pipeline_class_init):
16854           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16855
16856         * plugins/elements/gsttypefindelement.c:
16857         (gst_type_find_element_handle_event):
16858           Don't try to typefind empty streams.
16859
16860 2006-03-14  Wim Taymans  <wim@fluendo.com>
16861
16862         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16863         (gst_base_sink_do_qos):
16864         Separate QoS calculation.
16865         Only drop buffers when lateness is bigger than the 
16866         duration of the buffer.
16867
16868 2006-03-13  Wim Taymans  <wim@fluendo.com>
16869
16870         * gst/gstpipeline.c: (gst_pipeline_set_property),
16871         (gst_pipeline_get_property), (do_pipeline_seek),
16872         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16873         (gst_pipeline_get_delay):
16874         Don't deadlock when reading properties.
16875
16876 2006-03-13  Wim Taymans  <wim@fluendo.com>
16877
16878         * libs/gst/base/gstbasetransform.c:
16879         (gst_base_transform_class_init), (gst_base_transform_init),
16880         (gst_base_transform_sink_event),
16881         (gst_base_transform_sink_eventfunc),
16882         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16883         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16884         (gst_base_transform_set_property),
16885         (gst_base_transform_get_property),
16886         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16887         (gst_base_transform_set_qos_enabled),
16888         (gst_base_transform_is_qos_enabled):
16889         * libs/gst/base/gstbasetransform.h:
16890         Make basetransform virtual method for src events too.
16891         Handle QOS in basetransform.
16892         API: gst_base_transform_update_qos()
16893         API: gst_base_transform_set_qos_enabled()
16894         API: gst_base_transform_is_qos_enabled()
16895
16896 2006-03-13  Wim Taymans  <wim@fluendo.com>
16897
16898         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16899         (gst_base_sink_do_sync):
16900         Small cleanups.
16901         Use QOS debug category.
16902
16903 2006-03-13  Wim Taymans  <wim@fluendo.com>
16904
16905         * plugins/elements/gstqueue.c:
16906         Very small doc update.
16907
16908 2006-03-13  Wim Taymans  <wim@fluendo.com>
16909
16910         * gst/gst_private.h:
16911         * gst/gstinfo.c: (_gst_debug_init):
16912         Added QOS debug category
16913
16914 2006-03-13  Wim Taymans  <wim@fluendo.com>
16915
16916         * docs/gst/gstreamer-sections.txt:
16917         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16918         * gst/gstbin.h:
16919         * gst/gstbus.c: (gst_bus_class_init):
16920         * gst/gstbus.h:
16921         * gst/gstclock.c:
16922         * gst/gstelement.c: (gst_element_set_locked_state):
16923         * gst/gstsegment.c:
16924         Documentation updates.
16925
16926         * gst/gstpipeline.c: (gst_pipeline_get_type),
16927         (gst_pipeline_class_init), (gst_pipeline_init),
16928         (gst_pipeline_dispose), (gst_pipeline_set_property),
16929         (gst_pipeline_get_property), (do_pipeline_seek),
16930         (gst_pipeline_send_event), (gst_pipeline_change_state),
16931         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16932         (gst_pipeline_get_delay):
16933         * gst/gstpipeline.h:
16934         Added methods for setting the delay.
16935         API: gst_pipeline_set_delay()
16936         API: gst_pipeline_get_delay()
16937         Add pipeline debug category
16938         Various cleanups.
16939         Updated docs.
16940         Don't reset stream time when seek failed.
16941
16942 2006-03-13  Wim Taymans  <wim@fluendo.com>
16943
16944         * docs/design/draft-klass.txt:
16945         * docs/design/part-clocks.txt:
16946         * docs/design/part-events.txt:
16947         * docs/design/part-gstbin.txt:
16948         * docs/design/part-gstpipeline.txt:
16949         * docs/design/part-messages.txt:
16950         * docs/design/part-negotiation.txt:
16951         * docs/design/part-overview.txt:
16952         * docs/design/part-preroll.txt:
16953         * docs/design/part-seeking.txt:
16954         * docs/design/part-states.txt:
16955         * docs/design/part-streams.txt:
16956         Documentation updates.
16957
16958 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16959
16960         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16961         us to leak strings...
16962
16963 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16964
16965         * libs/gst/net/gstnettimeprovider.c:
16966           fix docs
16967         * win32/common/config.h:
16968           update
16969
16970 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16971
16972         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16973
16974         * configure.ac:
16975           Don't check for libgnomeui (leftover from old examples
16976           that aren't built or disted any longer) (#334303).
16977           
16978 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16979
16980         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16981         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16982           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16983           there's no space left on the device.
16984
16985 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16986
16987         * gst/gstclock.h:
16988           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16989           to cast the input to GstClockTime before comparing with
16990           another GstClockTime value.
16991
16992 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16993
16994         * configure.ac:
16995           back to trunk
16996
16997 === release 0.10.4 ===
16998
16999 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
17000
17001         * configure.ac:
17002           releasing 0.10.4, "Light"
17003
17004 2006-03-10  Michael Smith  <msmith@fluendo.com>
17005
17006         * libs/gst/dataprotocol/dataprotocol.c:
17007           Fix docs for dataprocotol to not get the return types completely
17008           wrong for a few functions.
17009
17010 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
17011
17012         * docs/gst/gstreamer-sections.txt:
17013         * gst/gstpipeline.c: (gst_pipeline_class_init),
17014         (gst_pipeline_init), (gst_pipeline_set_property),
17015         (gst_pipeline_get_property), (gst_pipeline_change_state),
17016         (gst_pipeline_set_auto_flush_bus),
17017         (gst_pipeline_get_auto_flush_bus):
17018         * gst/gstpipeline.h:
17019           Add new API: gst_pipeline_set_auto_flush_bus() and
17020           gst_pipeline_get_auto_flush_bus() to disable automatic
17021           flushing of the pipeline's GstBus when going from READY
17022           to NULL state (#332045).
17023
17024 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
17025
17026         * docs/gst/gstreamer-sections.txt:
17027         * gst/gsturi.c: (gst_uri_has_protocol):
17028         * gst/gsturi.h:
17029            Add new API: gst_uri_has_protocol() (#333779).
17030
17031 2006-03-09  Wim Taymans  <wim@fluendo.com>
17032
17033         * gst/gstclock.c: (gst_clock_entry_new),
17034         (gst_clock_id_compare_func), (gst_clock_id_wait),
17035         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
17036         (gst_clock_init), (gst_clock_get_internal_time),
17037         (gst_clock_set_master), (do_linear_regression),
17038         (gst_clock_add_observation), (gst_clock_set_property):
17039         * gst/gstclock.h:
17040         Review docs.
17041         Small cleanups.
17042         Fix a possible segfault when the window-size is made smaller.
17043         Calculate jitter before performing the clock wait. Ideally
17044         the clock implementation should calculate jitter but we need
17045         API breakage for that.
17046
17047         * gst/gstsystemclock.c: (gst_system_clock_init):
17048         Docs review.
17049         
17050         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17051         Remove leftover else
17052
17053         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
17054         (gst_systemclock_suite):
17055         Added check to test GST_CLOCK_DIFF.
17056
17057 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
17058
17059         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
17060         (gst_type_find_helper_get_range):
17061           If we are provided with the size, we should implement
17062           GstTypeFind::get_length, so that typefind functions who
17063           want to can actually peek at the middle of a file.
17064
17065 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
17066
17067         * docs/manual/advanced-dataaccess.xml:
17068           Add some very very basic error checking.
17069
17070         * docs/pwg/appendix-checklist.xml:
17071           Some updates to the list of things to check when writing an element.
17072
17073 2006-03-08  Wim Taymans  <wim@fluendo.com>
17074
17075         * docs/design/part-element-transform.txt:
17076         Added some docs about the design of tranform elements.
17077
17078         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
17079         (gst_base_src_loop), (gst_base_src_change_state):
17080         Mark buffers with the DISCONT flag.
17081
17082 2006-03-08  Michael Smith  <msmith@fluendo.com>
17083
17084         * gst/gstregistry.h:
17085         * gst/gstregistryxml.c: (gst_registry_save),
17086         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
17087         (gst_registry_xml_save_pad_template),
17088         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
17089         (gst_registry_xml_write_cache):
17090           Rewrite registry-saving to avoid race conditions and check for
17091           failed writes.
17092
17093 2006-03-08  Wim Taymans  <wim@fluendo.com>
17094
17095         * libs/gst/base/gstbasetransform.c:
17096         (gst_base_transform_transform_caps),
17097         (gst_base_transform_transform_size),
17098         (gst_base_transform_prepare_output_buffer),
17099         (gst_base_transform_get_unit_size),
17100         (gst_base_transform_buffer_alloc),
17101         (gst_base_transform_handle_buffer),
17102         (gst_base_transform_change_state):
17103         Cleanups, separate normal flow from errors, add sensible
17104         DEBUG lines.
17105         Don't try to renegotiate when allocating an output buffer.
17106         Also copy DISCONT buffer flag when copying a buffer.
17107         Reset the transform after we finish streaming, not during.
17108
17109 2006-03-08  Wim Taymans  <wim@fluendo.com>
17110
17111         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17112         Use last buffer timestamp in qos message.
17113
17114 2006-03-07  Wim Taymans  <wim@fluendo.com>
17115
17116         Patch by: Christophe Fergeau
17117
17118         * docs/pwg/advanced-tagging.xml:
17119         * docs/pwg/building-pads.xml:
17120           fixes #333416
17121
17122 2006-03-07  Wim Taymans  <wim@fluendo.com>
17123
17124         * docs/libs/gstreamer-libs-sections.txt:
17125         Added basesink new methods.
17126
17127         * gst/gstevent.c:
17128         * gst/gstevent.h:
17129         Docs updates. Flesh out the QoS docs.
17130
17131         * libs/gst/base/gstadapter.c:
17132         Small doc clarification about ownership and flushing.
17133
17134         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
17135         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
17136         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
17137         (gst_base_sink_get_property), (gst_base_sink_do_sync):
17138         * libs/gst/base/gstbasesink.h:
17139         API additions: 
17140         Added new methods to allow subclass to control max-lateness 
17141         and sync.
17142         Generate very basic QoS events based on last sync observation.
17143         Updated docs, fix typo, added some QoS blurb.
17144
17145         * libs/gst/base/gstbasesrc.c:
17146         Remove obsolete _get_state() calls from docs.
17147
17148 2006-03-07  Wim Taymans  <wim@fluendo.com>
17149
17150         * docs/libs/gstreamer-libs-sections.txt:
17151         * libs/gst/base/gstbasetransform.h:
17152         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
17153         Fix docs for GstBaseSrc.
17154
17155 2006-03-07  Wim Taymans  <wim@fluendo.com>
17156
17157         * docs/gst/gstreamer-sections.txt:
17158         * gst/gstbuffer.h:
17159         * gst/gstvalue.c:
17160         * libs/gst/base/gstbasetransform.h:
17161         Small documentation fixes.
17162
17163 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
17164
17165         * gst/gstvalue.c:
17166           Document thread-unsafety of gst_value_register_foo_func()
17167           when used at the same time as gst_value_foo() (#322628).
17168
17169 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
17170
17171         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
17172         (gst_push_src_check_get_range):
17173           Push sources don't support pull mode by default.
17174
17175 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
17176
17177         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17178         (gst_base_src_init), (gst_base_src_pad_check_get_range),
17179         (gst_base_src_default_check_get_range):
17180         * libs/gst/base/gstbasesrc.h:
17181           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
17182           provide default implementation, and rename
17183           gst_base_src_check_get_range() to
17184           gst_base_src_pad_check_get_range() for clarity.
17185
17186 2006-03-06  Wim Taymans  <wim@fluendo.com>
17187
17188         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17189         Make property overridable.
17190
17191 2006-03-06  Wim Taymans  <wim@fluendo.com>
17192
17193         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17194         (gst_base_sink_init), (gst_base_sink_set_property),
17195         (gst_base_sink_get_property), (gst_base_sink_do_sync):
17196         * libs/gst/base/gstbasesink.h:
17197         API addition: Make max-lateness a property.
17198
17199 2006-03-06  Wim Taymans  <wim@fluendo.com>
17200
17201         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17202         (gst_base_sink_do_sync), (gst_base_sink_render_object):
17203         Don't ever draw a frame that is >10ms late.
17204
17205 2006-03-06  Michael Smith  <msmith@fluendo.com>
17206
17207         * gst/gstmessage.c: (_gst_message_copy):
17208           When copying a message, set the parent_refcount of the enclosed
17209           structure to point at the copy, not the original message.
17210
17211 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
17212
17213         Patch by: Christophe Fergeau
17214
17215         * gst/gstutils.h:
17216           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17217           usable in c++ code (#333417)
17218
17219 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17220
17221         * gst/gstclock.h:
17222           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17223
17224 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
17225
17226         * libs/gst/base/gstbasetransform.c:
17227         (gst_base_transform_transform_caps):
17228           Make sure caps are writable before passing them to
17229           gst_caps_append().
17230
17231 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17232
17233         * gst/gsterror.h:
17234           Fix some minor docs errors.
17235
17236 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17237
17238           Patch by: Ross Burton <ross at burtonini dot com>
17239
17240         * gst/gsterror.c: (_gst_resource_errors_init):
17241         * gst/gsterror.h:
17242           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17243
17244 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17245
17246         * gst/gst.c:
17247         Add a check and output a g_warning when GStreamer is built
17248         against GLib 2.6 but running against 2.8 or higher, and vice 
17249         versa. (Closes: #323542)
17250
17251 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17252
17253         * gst/parse/parse.l:
17254           Commit patch for parse_launch syntax from #331255. Removes 
17255           support for quoted strings and mimetypes when writing filtered 
17256           caps. See the bug report for more details - I'm pretty sure this
17257           obscure feature is not in use by _anyone_ anywhere.
17258
17259           With this simple change, the size of the gstreamer.so here 
17260           drops from 2193KB to 1565KB.
17261
17262 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17263
17264         * plugins/elements/gsttypefindelement.h:
17265         * plugins/elements/gsttypefindelement.c:
17266         (gst_type_find_element_src_event), (start_typefinding),
17267         (stop_typefinding), (gst_type_find_element_handle_event),
17268         (gst_type_find_element_chain),
17269         (gst_type_find_element_chain_do_typefinding):
17270           Use gst_type_find_helper_for_buffer() for chain-based
17271           typefinding.
17272
17273 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17274
17275         * plugins/elements/gsttypefindelement.c:
17276         (gst_type_find_element_class_init),
17277         (gst_type_find_element_set_property),
17278         (gst_type_find_element_get_property):
17279           Deprecate "maximum" property (not only was it only taken into
17280           account for typefinding in push-mode anyway, it also was never
17281           actually possible to set it in the first place because the
17282           property was registered with the numeric property ID for the
17283           "minimum" property). Register "maximum" property correctly,
17284           for the sake of future copy'n'pasters. Remove some cruft
17285           from property get/set functions.
17286
17287 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17288
17289         * plugins/elements/gsttypefindelement.c:
17290         (gst_type_find_element_activate):
17291           Use gst_type_find_helper_get_range() here, so we
17292           can honour the "minimum" property and also emit
17293           the signal with the correct probability of the found caps.
17294
17295 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
17296
17297         * docs/libs/gstreamer-libs-sections.txt:
17298         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17299         (helper_find_suggest), (gst_type_find_helper_get_range),
17300         (gst_type_find_helper):
17301         * libs/gst/base/gsttypefindhelper.h:
17302           New API: gst_type_find_helper_get_range() (#333042).
17303
17304 2006-03-02  Michael Smith  <msmith@fluendo.com>
17305
17306         * gst/gstregistryxml.c: (load_feature):
17307           Asserting on a failure to read part of the registry is Not Cool.
17308           Just log a warning and return NULL (which is already handled)
17309
17310 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
17311
17312         * win32/common/libgstbase.def:
17313           added export of gst_type_find_helper_for_buffer
17314         * win32/common/libgstbase.def:
17315           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17316           gst_ghost_pad_get_target
17317
17318 2006-02-28  Wim Taymans  <wim@fluendo.com>
17319
17320         * docs/design/draft-klass.txt:
17321         We use Filter now.
17322         Added Connector to mark elements that are only used to
17323         allow pipeline connections.
17324         Moved Debug to extra feature since most of them are 
17325         functionally something else.
17326
17327 2006-02-28  Wim Taymans  <wim@fluendo.com>
17328
17329         * docs/design/draft-klass.txt:
17330         Some updates and clarifications.
17331
17332 2006-02-28  Wim Taymans  <wim@fluendo.com>
17333
17334         * docs/design/draft-klass.txt:
17335         Proposal for klass field values.
17336
17337         * docs/design/part-streams.txt:
17338         Start of a doc describing stream anatomy.
17339
17340 2006-02-28  Wim Taymans  <wim@fluendo.com>
17341
17342         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17343         Help the compiler a bit with type registration.
17344         Use existing forward cod path instead of duplicating it when 
17345         handling a message.
17346         
17347         * gst/gstbus.c: (gst_bus_get_type):
17348         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17349         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17350         * gst/gstclock.c: (gst_clock_get_type):
17351         * gst/gstelement.c: (gst_element_get_type),
17352         * gst/gstelementfactory.c: (gst_element_factory_get_type):
17353         * gst/gstindexfactory.c: (gst_index_factory_get_type):
17354         * gst/gstminiobject.c: (gst_mini_object_get_type):
17355         * gst/gstpad.c: (gst_pad_get_type):
17356         * gst/gstsegment.c: (gst_segment_get_type):
17357         * gst/gststructure.c: (gst_structure_get_type):
17358         * gst/gstsystemclock.c: (gst_system_clock_get_type):
17359         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17360         * gst/gstvalue.c:
17361         Help compiler with type registration.
17362
17363         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17364         Small doc update.
17365
17366 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17367
17368         * plugins/elements/gsttypefindelement.c:
17369         (gst_type_find_element_handle_event):
17370           When we get an EOS event and have not found a type yet
17371           (most likely because we had not yet accumulated
17372           TYPE_FIND_MIN_SIZE of data yet), try to determine the
17373           type given the data we have so far. Fixes typefinding
17374           for very short streams again, most notably quicktime
17375           redirections as used on Apple's trailer site (#331701).
17376
17377 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17378
17379         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17380         (gst_type_find_helper):
17381           Try typefinding factories with the highest rank first.
17382
17383 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17384
17385         * docs/libs/gstreamer-libs-docs.sgml:
17386         * docs/libs/gstreamer-libs-sections.txt:
17387         * libs/gst/base/gsttypefindhelper.c:
17388           Add section for typefind helper and add documentation
17389           for the old and the new function.
17390
17391 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17392
17393         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17394         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17395         (gst_type_find_helper_for_buffer):
17396         * libs/gst/base/gsttypefindhelper.h:
17397           New API: gst_type_find_helper_for_buffer() (#332723).
17398           
17399 2006-02-27  Michael Smith  <msmith@fluendo.com>
17400
17401         Patch by: Loïc Minier
17402
17403         * configure.ac:
17404         * docs/Makefile.am:
17405         * docs/slides/Makefile.am:
17406           prevent CVS directories getting disted.
17407
17408 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17409
17410         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17411           Use the REFCOUNTING category for caps refcounting.
17412           
17413 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17414
17415         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17416           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17417
17418 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17419
17420         * plugins/elements/gsttypefindelement.c:
17421         (gst_type_find_element_activate):
17422           Use gst_pad_check_pull_range() before _activate_pull()
17423           to avoid unnecessary open/close (see #331690).
17424
17425 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17426
17427         * gst/gstutils.c:
17428           Docs enhancement: make it crystal clear what the
17429           gst_pad_add_*_probe() callbacks should look like.
17430
17431 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17432
17433         * libs/gst/base/gstbasesrc.c:
17434           Document how applications can stop recording from
17435           live sources (see #330996).
17436
17437 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17438
17439         * tests/check/Makefile.am:
17440         * tests/check/libs/basesrc.c: (eos_event_counter),
17441         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17442         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17443         (gst_basesrc_suite), (main):
17444           ... and add some tests for the base source EOS stuff.
17445
17446 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17447
17448         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17449           Test case originally showed the problem fixed below,
17450           but was then amended. Add checks back at the place
17451           where they used to be.
17452
17453 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17454
17455         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17456         (gst_base_src_init), (gst_base_src_loop),
17457         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17458         (gst_base_src_change_state):
17459         * libs/gst/base/gstbasesrc.h:
17460           Don't unconditionally send EOS when going from PAUSED to
17461           READY state, esp. make sure we don't send two EOS events
17462           in some cases (e.g. one when reaching EOS and one when
17463           going from PAUSED to READY). Also, we don't want to send
17464           EOS events when operating in pull mode. However, we do
17465           want to send an EOS event when shutting down a live
17466           source explicitly, for example (fixes #330996).
17467           
17468 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17469
17470         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17471           Update src->read_position after a seek when not using mmap.
17472           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17473
17474 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17475
17476         * gst/Makefile.am:
17477         * gst/gstparse.h:
17478         * gst/gstutils.c:
17479         * gst/gstutils.h:
17480         Make things work with --disable-parse as they do with 
17481         --disable-load-save - the symbols involved disappear, but the
17482         header is still installed and GST_DISABLE_PARSE is included via
17483         gstconfig.h
17484
17485 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17486
17487         * libs/gst/base/gstbasetransform.c:
17488         (gst_base_transform_change_state): Fix a stupid bug. I was 
17489         sure I compiled that.
17490
17491 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17492
17493         * gst/gstpad.c: (gst_pad_set_blocked_async):
17494         * gst/gstutils.c: (gst_pad_add_data_probe),
17495         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17496         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17497         (gst_pad_remove_buffer_probe): Make those function act on the
17498         ghostpad target when it's a ghostpad. (Closes #331727)
17499
17500 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17501
17502         * libs/gst/base/gstbasetransform.c:
17503         (gst_base_transform_change_state): Make basetransform reusable.
17504         (Closes #331898)
17505
17506 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17507
17508         * docs/random/release:
17509         Move the current documentation of how to do a release to the top
17510         of the file.
17511
17512         * gst/gstbin.c: (gst_bin_class_init),
17513         (gst_bin_handle_message_func):
17514         Allow multiple state-recalculation threads. (Closes #328873)
17515
17516 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17517
17518         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17519         * gst/gstpad.c: (gst_pad_set_event_function),
17520         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17521         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17522         2 strings. You can't use the STR_NULL macro on that.
17523
17524 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17525
17526         * gst/gstpad.c: (gst_pad_set_event_function),
17527         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17528         (gst_pad_set_getcaps_function)
17529         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17530           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17531           So now, we can use --gst-debug-level=5 on Windows
17532         * win32/common/libgstcontroller.def:
17533           Added export of gst_controller_init
17534         * win32/vs6/libgstcontroller.dsp:
17535           Fixed Release post build configuration
17536
17537 2006-02-17  Wim Taymans  <wim@fluendo.com>
17538
17539         * tests/check/gst/gstquery.c: (GST_START_TEST):
17540         Added another check.
17541
17542 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17543
17544         * plugins/elements/gsttypefindelement.c: (find_peek):
17545           We can do peeks at non-zero offsets, as long as they
17546           fall within the buffer we have.
17547
17548 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17549
17550         * tests/check/Makefile.am:
17551         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17552         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17553         (parse_suite), (main):
17554           Add testsuite for parse launch syntax
17555
17556 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17557
17558         * plugins/elements/gsttypefindelement.c:
17559         (gst_type_find_element_chain):
17560           When typefinding is unsuccessful in the chain function, don't
17561           error out immediately. Only error out with NO_CAPS_FOUND if
17562           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17563           otherwise simply wait for more data so we can try typefinding
17564           again with more data later. Also, don't attempt to typefind
17565           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17566           this should improve typefinding from network sources where the
17567           size of the first buffer can be somewhat random.
17568
17569 2006-02-14  Wim Taymans  <wim@fluendo.com>
17570
17571         * docs/gst/gstreamer-sections.txt:
17572         * gst/gstpadtemplate.c:
17573         * gst/gstpadtemplate.h:
17574         Fix padtemplate docs, fixes #328805.
17575
17576 2006-02-14  Wim Taymans  <wim@fluendo.com>
17577
17578         * tools/gst-launch.c: (main):
17579         NO_PREROLL is not an ERROR so don't send confusing messages
17580         to the user.
17581
17582 2006-02-14  Wim Taymans  <wim@fluendo.com>
17583
17584         Patch by: Torsten Schoenfeld
17585
17586         * gst/gstregistry.c: (gst_registry_get_default),
17587         (_gst_registry_cleanup):
17588         Protect default registry with lock and ref/sink it.
17589         Fixes #324818
17590
17591 2006-02-14  Wim Taymans  <wim@fluendo.com>
17592
17593         * gst/gstbuffer.c:
17594         * gst/gstquery.c: (gst_query_list_add_format),
17595         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17596         (gst_query_parse_formats_nth):
17597         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17598         Docs fixes.
17599
17600 2006-02-14  Wim Taymans  <wim@fluendo.com>
17601
17602         * docs/gst/gstreamer-sections.txt:
17603         Reworked query docs.
17604
17605         * gst/gstquery.c: (gst_query_new_formats),
17606         (gst_query_list_add_format), (gst_query_set_formats),
17607         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17608         (gst_query_parse_formats_nth):
17609         * gst/gstquery.h:
17610         Flesh out formats query, added some new methods.
17611         Fix part of #324398.
17612
17613         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17614         Added query creation tests.
17615
17616 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17617
17618         * gst/gstpad.c: (fixate_value):
17619         Add a default fixation for fraction lists.
17620
17621 2006-02-13  Wim Taymans  <wim@fluendo.com>
17622
17623         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17624         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17625         (gst_task_join):
17626         * gst/gsttask.h:
17627         Detect and warn for obvious deadlocks. fixes #320340
17628         Fix error case where lock was not released.
17629
17630         * tests/check/Makefile.am:
17631         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17632         (task_func), (gst_element_suite), (main):
17633         Add task check.
17634
17635 2006-02-13  Wim Taymans  <wim@fluendo.com>
17636
17637         * docs/gst/gstreamer-sections.txt:
17638         * gst/gstbus.c:
17639         Add new functions to docs.
17640
17641 2006-02-13  Wim Taymans  <wim@fluendo.com>
17642
17643         * docs/design/part-TODO.txt:
17644         Updated TODO list, basesrc supports seeking to non-bytes
17645         formats.
17646
17647         * docs/design/part-element-sink.txt:
17648         Update docs.
17649
17650         * gst/gstbin.c: (bin_replace_message),
17651         (gst_bin_handle_message_func):
17652         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17653         * gst/gstevent.c: (gst_event_finalize):
17654         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17655         (gst_pad_send_event):
17656         Use shiny new _TYPE_NAME macros.
17657
17658         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17659         Move debug statement up.
17660
17661         * gst/gstelement.c: (gst_element_set_locked_state):
17662         Add some debugging.
17663
17664 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17665
17666         * docs/gst/gstreamer-sections.txt:
17667         * gst/gstmessage.h:
17668         * gst/gstquery.h:
17669           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17670           macros (#330906). Also, document the already existing
17671           GST_QUERY_TYPE macro.
17672
17673 2006-02-13  Wim Taymans  <wim@fluendo.com>
17674
17675         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17676         (event_probe), (GST_START_TEST):
17677         Only events up to the pipeline EOS are counted, there are
17678         some more when going to NULL currently which we don't care
17679         about for now.
17680
17681 2006-02-13  Wim Taymans  <wim@fluendo.com>
17682
17683         * gst/gstpad.c: (gst_pad_send_event):
17684         Correctly check flushing and emit probes. fixes #330125
17685
17686 2006-02-10  Andy Wingo  <wingo@pobox.com>
17687
17688         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17689         structure.
17690         (gst_bus_init): Cache the location of the private data in the
17691         instance structure.
17692         (gst_bus_enable_sync_message_emission) 
17693         (gst_bus_disable_sync_message_emission): Implement new public
17694         functions.
17695         (gst_bus_post): Emit the sync-message signal if the user asked for
17696         it. Fixes #330684.
17697
17698         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17699         location of the bus-private structure.
17700         (gst_bus_enable_sync_message_emission)
17701         (gst_bus_disable_sync_message_emission): API addition
17702
17703 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17704
17705         Patch by: Vincent Torri
17706
17707         * docs/pwg/building-boiler.xml:
17708         PWG patch from #326800
17709
17710 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17711
17712         * configure.ac:
17713         * docs/Makefile.am:
17714         * docs/design/Makefile.am:
17715           Dist design docs.
17716
17717 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17718
17719         * configure.ac:
17720           back to CVS
17721
17722 === release 0.10.3 ===
17723
17724 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17725
17726         * configure.ac:
17727           releasing 0.10.3, "Like a virgin"
17728
17729 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17730
17731         * configure.ac:
17732           2nd prerelease of 0.10.3
17733           Bump libtool versioning.
17734
17735 2006-02-07  Andy Wingo  <wingo@pobox.com>
17736
17737         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17738         update last_stop if we're in TIME format and the timestamp is
17739         valid.
17740
17741         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17742         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17743         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17744         If we get a new newsegment with a different format, adapt
17745         accordingly.
17746
17747         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17748         of 0. Not a problem, really.
17749
17750         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17751         warn if sync=true.
17752
17753 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17754
17755         * configure.ac:
17756           Prelease of 0.10.3
17757
17758 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17759
17760         * win32/vs7:
17761           project files updated to the default vs7 configuration
17762         * win32/common/libgstbase.def:
17763         * win32/common/libgstreamer.def:
17764           added new symbols,
17765           removed empty lines,
17766           sorted all exported symbols alphabetically
17767         * win32/common/dirent.c:
17768         * win32/common/dirent.h:
17769         * win32/common/gchar.h:
17770           use windows line end.
17771           
17772 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17773
17774         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17775           Send EOS event when stopping.
17776
17777 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17778
17779         * docs/README:
17780           Tell folks what to do if the plugin-foobar.xml file
17781           hasn't been generated for a newly-added plugin.
17782
17783 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17784
17785         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17786         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17787         (gst_collect_pads_start), (gst_collect_pads_stop),
17788         (gst_collect_pads_event): Collectpads now holds a reference
17789         to the GstPad that was added. Indeed we don't want to look
17790         at pads that might just go away with no warning...
17791
17792 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17793
17794         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17795         (gst_collect_pads_start), (gst_collect_pads_stop),
17796         (gst_collect_pads_event), (gst_collect_pads_chain):
17797         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17798         Mark Nauwelaerts's patch on bug #328491.
17799
17800 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17801
17802         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17803         (gst_utils_suite):
17804           Add some simple tests for gst_parse_bin_from_description() and
17805           gst_bin_find_unconnected_pad() (#329069).
17806
17807 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17808
17809         * tools/gst-launch.c: (event_loop), (main):
17810           Catch errors during preroll (#320084).
17811
17812 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17813
17814         * plugins/elements/gsttypefindelement.c:
17815         (gst_type_find_element_activate):
17816           Post TYPE_NOT_FOUND error message when typefinding
17817           is unsuccessful in the activate function as well.
17818
17819 2006-02-02  Wim Taymans  <wim@fluendo.com>
17820
17821         * docs/design/part-element-sink.txt:
17822         Updated doc.
17823
17824 2006-02-02  Wim Taymans  <wim@fluendo.com>
17825
17826         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17827         (gst_base_sink_render_object),
17828         (gst_base_sink_queue_object_unlocked):
17829         Only keep track of prerollable items when we are 
17830         prerolling.
17831         Before rendering after preroll, always check if we
17832         have queued items.
17833         Added some more debugging.
17834
17835 2006-02-02  Wim Taymans  <wim@fluendo.com>
17836
17837         * gst/gstelement.c: (gst_element_continue_state),
17838         (gst_element_set_state_func), (gst_element_change_state):
17839         Fixed #326576, been running this for quite some time with
17840         no regressions at all.
17841
17842 2006-02-02  Wim Taymans  <wim@fluendo.com>
17843
17844         * common/gst.supp:
17845         Added more suppressions
17846
17847 2006-02-02  Wim Taymans  <wim@fluendo.com>
17848
17849         * docs/design/part-element-sink.txt:
17850         Updated document.
17851
17852         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17853         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17854         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17855         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17856         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17857         (gst_base_sink_preroll_object),
17858         (gst_base_sink_queue_object_unlocked),
17859         (gst_base_sink_queue_object), (gst_base_sink_event),
17860         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17861         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17862         (gst_base_sink_get_position), (gst_base_sink_change_state):
17863         * libs/gst/base/gstbasesink.h:
17864         Totally refactored matching the design doc.
17865         Use two segments, one to clip incomming buffers and another to
17866         perform sync.
17867         Handle queueing correctly, bypass the queue when playing.
17868         Make EOS cancelable.
17869         Handle errors correctly when operating in pull based mode.
17870
17871         * tests/check/elements/fakesink.c: (GST_START_TEST),
17872         (fakesink_suite):
17873         Added new check for sinks.
17874
17875 2006-02-02  Wim Taymans  <wim@fluendo.com>
17876
17877         * gst/gstsegment.c: (gst_segment_clip):
17878         No reason to refuse to clip when start == -1
17879
17880 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17881
17882         * docs/README:
17883         * docs/manual/intro-basics.xml:
17884         * docs/manual/intro-preface.xml:
17885         * docs/manual/manual.xml:
17886         * docs/pwg/advanced-dparams.xml:
17887         * docs/pwg/intro-basics.xml:
17888         * docs/pwg/intro-preface.xml:
17889         * docs/pwg/pwg.xml:
17890           describe dparams (controller) for plugins
17891           unify docs a little more
17892
17893 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17894
17895         * docs/gst/gstreamer-sections.txt:
17896         * gst/gstutils.c: (element_find_unconnected_pad),
17897         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17898         * gst/gstutils.h:
17899           Add new API: gst_parse_bin_from_description() and
17900           gst_bin_find_unconnected_pad() (#329069).
17901
17902 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17903
17904         * docs/manual/README:
17905           uncover a nasty detail of the docs build
17906
17907 2006-01-31  Wim Taymans  <wim@fluendo.com>
17908
17909         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17910         Don't cache duration messages if we're not going to use or
17911         free them.
17912
17913 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17914
17915         * docs/manual/advanced-dparams.xml:
17916         * docs/pwg/advanced-dparams.xml:
17917           more dparam docs
17918         * gst/gstindex.c:
17919           fix docs
17920         * libs/gst/controller/lib.c: (gst_controller_init):
17921           init just once
17922
17923 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17924
17925         * gst/gstelement.c: (gst_element_message_full):
17926           also show file/line/func if no additional debug was given
17927
17928 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17929         
17930         * win32/vs7/grammar.vcproj:
17931           activate copy of autogenerated files for Release mode
17932
17933 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17934         
17935         * win32/common/libgstreamer.def:
17936           export gst_value_compare
17937
17938 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17939
17940         * plugins/elements/Makefile.am:
17941         * plugins/elements/gstelements.c:
17942         * plugins/elements/gstfdsink.c: (_do_init),
17943         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17944         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17945         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17946         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17947         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17948         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17949         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17950         * plugins/elements/gstfdsink.h:
17951         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17952
17953 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17954
17955         * docs/manual/advanced-dparams.xml:
17956           describe controller
17957         * docs/manual/advanced-position.xml:
17958         * docs/manual/basics-init.xml:
17959         * docs/manual/manual.xml:
17960         * docs/manual/titlepage.xml:
17961         * docs/pwg/pwg.xml:
17962         * docs/pwg/titlepage.xml:
17963           cleanup xml (more to come)
17964         * libs/gst/controller/gstcontroller.c:
17965           fix typo
17966
17967 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17968         
17969         * win32/vs6/grammar.dsp:
17970           add autogen of gstmarshal.c,h for Release mode
17971                 
17972 2006-01-30  Wim Taymans  <wim@fluendo.com>
17973
17974         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17975         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17976         (gst_base_sink_handle_object), (gst_base_sink_event),
17977         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17978         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17979         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17980         (gst_base_sink_deactivate), (gst_base_sink_activate),
17981         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17982         (gst_base_sink_query), (gst_base_sink_change_state):
17983         Basesink cleanups, remove some old code.
17984         Handle the case where a subclass can preroll in the render
17985         method (mostly audiosinks).
17986         Handle more events.
17987         Remove some locks around variables that are now protected
17988         with the PREROLL_LOCK (clock_id, flushing, ..).
17989         Optimize position query some more, do correct locking.
17990         Remove old code to push queue in state change, this is not
17991         needed anymore since preroll blocks on all prerollable items 
17992         now.
17993         Almost implemented as described in design doc.
17994
17995 2006-01-30  Wim Taymans  <wim@fluendo.com>
17996
17997         * tests/check/gst/gstbin.c: (GST_START_TEST):
17998         Wait for refcount to settle down before checking.
17999
18000 2006-01-30  Wim Taymans  <wim@fluendo.com>
18001
18002         * docs/design/part-element-sink.txt:
18003         Pseudo code overview of desired sink behaviour regarding
18004         preroll.
18005
18006 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
18007         * win32/vs6/grammar.dsp:
18008           fix some bugs in Release mode for autogenerated files
18009                 
18010 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
18011         * win32/common/libgstbase.def:
18012         * win32/common/libgstreamer.def:
18013           export some new symbols: gst_base_src_set_format,
18014           gst_iterator_next, gst_structure_set_valist
18015
18016 2006-01-29  Julien MOUTTE  <julien@moutte.net>
18017
18018         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
18019         Set pad functions unconditionally. Fixes #329105.
18020
18021 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
18022         * win32/vs8:
18023           add vs8 project files created by Sergey Scobich
18024
18025 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
18026
18027         * gst/gstutils.c: (gst_element_unlink_pads):
18028         Don't leak pad references.
18029
18030         * tests/check/elements/fakesink.c: (GST_START_TEST):
18031         * tests/check/generic/sinks.c: (GST_START_TEST):
18032         * tests/check/generic/states.c: (GST_START_TEST):
18033         * tests/check/gst/gstbin.c: (GST_START_TEST):
18034         * tests/check/gst/gstcaps.c: (GST_START_TEST):
18035         * tests/check/gst/gstelement.c: (GST_START_TEST):
18036         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
18037         * tests/check/gst/gstiterator.c: (GST_START_TEST):
18038         * tests/check/gst/gstvalue.c: (GST_START_TEST):
18039         Fix a bunch of leaks. Make generic/sinks.c
18040         use a bit less cpu by slowing the buffer rate
18041         between fakesrc and fakesink.
18042         
18043 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
18044         * gst/gstcaps.c:
18045         * gst/gstelement.c: (gst_element_send_event):
18046         * gst/gstevent.c:
18047         * gst/gstinfo.c:
18048         * gst/gstiterator.c:
18049         * gst/gstiterator.h:
18050         * gst/gstpad.c: (gst_pad_send_event):
18051         * gst/gststructure.c:
18052         * gst/gsturi.c:
18053         * gst/gstutils.c:
18054         * gst/gstvalue.c:
18055         * libs/gst/base/gstadapter.c:
18056           doc fixes, to link to function, just write gst_cool_function(), don't
18057           prefix with '#'
18058
18059 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
18060
18061         * plugins/elements/gsttee.c: (gst_tee_do_push),
18062         (gst_tee_handle_buffer):
18063         Always prefer an actual return value from a src
18064         pad in place of NOT_LINKED. This means we return
18065         WRONG_STATE when all src pads are WRONG_STATE
18066         instead of NOT_LINKED.
18067
18068         Lock when replacing the last message to prevent
18069         racing with the get_property method.
18070
18071         Add debug output
18072
18073 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
18074
18075         * tests/check/Makefile.am:
18076         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
18077         (main):
18078         Add a very simple check that should have caught the memleak I fixed
18079         last night (if not for the slice allocator hiding it)
18080
18081 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
18082
18083         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18084         (gst_bin_remove_func), (gst_bin_handle_message_func),
18085         (bin_query_duration_fold), (bin_query_generic_fold):
18086         Clean up references to the clock provider when disposed or when
18087         handling a clock-lost message from it.
18088
18089         Unref sinks when performing a query via gst_iterator_fold, as the
18090         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
18091
18092         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
18093         (gst_clock_set_master):
18094         Drop our reference to the master clock, if any, when we are disposed.
18095
18096         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
18097         Chain up in dispose. 
18098
18099 2006-01-26  Wim Taymans  <wim@fluendo.com>
18100
18101         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
18102         Add some debugging.
18103
18104 2006-01-26  Julien MOUTTE  <julien@moutte.net>
18105
18106         * plugins/elements/gsttee.c: (gst_tee_do_push),
18107         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
18108         handles pad being NOT_LINKED or in WRONG_STATE.
18109
18110 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
18111
18112         * win32/MANIFEST:
18113           more updating
18114
18115 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
18116
18117         * win32/MANIFEST:
18118           remove obsolete entry
18119
18120 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
18121
18122         * docs/gst/gstreamer-sections.txt:
18123         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
18124         (gst_bin_iterate_sources), (gst_bin_send_event):
18125         * gst/gstbin.h:
18126         * gst/gstelement.c: (gst_element_send_event):
18127         * gst/gstevent.c:
18128         * gst/gstpad.c: (gst_pad_send_event):
18129           added code for downstream events, reviewed docs in gstevent.c
18130
18131 2006-01-25  Julien MOUTTE  <julien@moutte.net>
18132
18133         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18134         We only query position using the clock in the playing state.
18135         Query peer in the other cases.
18136         * win32/common/config.h: Updates.
18137
18138 2006-01-24  Wim Taymans  <wim@fluendo.com>
18139
18140         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18141         A clock entry that is scheduled for the exact time of the
18142         clock is still in time.
18143
18144         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18145         (gst_base_sink_do_sync):
18146         Add some more debug info.
18147
18148 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
18149
18150         * win32/vs7:
18151           Add new vs7 project files and solution.
18152
18153 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
18154
18155         * win32/vs7:
18156           all files removed as they were out-dated.
18157
18158 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18159
18160         * docs/random/release:
18161           update notes
18162         * gst/gstbin.c: (gst_bin_init):
18163         * gst/gstbus.c: (gst_bus_new):
18164         * gst/gstbus.h:
18165         * gst/gstpipeline.c: (gst_pipeline_init):
18166           use gst_bus_new(), improve logging, fix docs
18167         * win32/common/config.h:
18168           update for cvs build
18169
18170 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18171
18172         * autogen.sh:
18173           up required version of automake to 1.7
18174
18175 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
18176
18177         * win32/common/libgstreamer.def:
18178           export gst_buffer_is_metadata_writable
18179
18180 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
18181
18182         * docs/gst/gstreamer-sections.txt:
18183         * gst/gstevent.h:
18184           Add gst_event_replace() (#327001)
18185
18186 2006-01-20  Wim Taymans  <wim@fluendo.com>
18187
18188         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18189         Make it actually compile too..
18190
18191 2006-01-20  Wim Taymans  <wim@fluendo.com>
18192
18193         * gst/gstcaps.c:
18194         Clarify behaviour of _is_equal() when passing NULL parameters.
18195
18196         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18197         (gst_pad_set_caps):
18198         Cleanups. Don't unref NULL caps.
18199         When setting the same caps, protect caps of the pad with
18200         proper lock.
18201         Use full functionality of _is_equal() when comparing caps.
18202
18203 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18204
18205         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18206         Don't loop infinitely if there are no buffers to present. Partially
18207         fixes #327197, but collectpads is just broken for reusing elements
18208         to do multiple encodes atm.
18209
18210 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18211
18212         * tools/gst-inspect.c: (print_element_features):
18213         * tools/gst-xmlinspect.c: (main):
18214         URL_HANDLER is not a plugin feature we can search for in
18215         the registry.
18216
18217 2006-01-19  Edward Hervey  <edward@fluendo.com>
18218
18219         * gst/gstelement.c: (gst_element_pads_activate): 
18220         When activating, do src pads first, then sink pads.
18221         When de-activating, do sink pads first, then src pads.
18222
18223 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18224
18225         * docs/gst/gstreamer-sections.txt:
18226         Add gst_index_add_associationv to the docs
18227
18228 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18229
18230         * gst/gstevent.c:
18231           Fix docs typo
18232
18233         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18234         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18235           Do some refactoring. Doesn't actually change functionality,
18236           but makes landing the DRAIN event easier later.
18237
18238 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
18239
18240         * docs/pwg/advanced-scheduling.xml:
18241           Update from 0.9.x to 0.10 API and make example a bit
18242           clearer.
18243
18244 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18245
18246         * docs/gst/gstreamer-sections.txt:
18247         Add gst_buffer_(is|make)_metadata_writable methods.
18248
18249 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18250
18251         * docs/design/part-sparsestreams.txt:
18252         Update sparse streams doc, hopefully for greater clarity
18253
18254 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
18255
18256         * docs/design/part-events.txt:
18257         Remove mention of FILLER events.
18258         Add DRAIN event.
18259
18260         * docs/design/part-sparsestreams.txt:
18261         Write some things about using NEWSEGMENT to keep sparse streams
18262         flowing.
18263
18264 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18265
18266         * gst/gstbin.c: (gst_bin_dispose):
18267           Guard gst_object_unref call against a NULL object (dispose
18268           can theoretically be called multiple times).
18269           
18270 2006-01-18  Wim Taymans  <wim@fluendo.com>
18271
18272         * gst/gstbin.c: (gst_bin_element_set_state):
18273         * gst/gstclock.c: (gst_clock_id_wait):
18274         Added some more debug info.
18275
18276         * libs/gst/base/gstadapter.c:
18277         Added more docs.
18278
18279         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18280         (gst_base_sink_do_sync), (gst_base_sink_chain):
18281         Added some comments.
18282
18283 2006-01-18  Wim Taymans  <wim@fluendo.com>
18284
18285         * tests/check/Makefile.am:
18286         * tests/check/elements/fakesink.c: (chain_async_buffer),
18287         (chain_async), (chain_async_return), (GST_START_TEST),
18288         (fakesink_suite), (main):
18289         Added fakesink test that checks prerolling and clipping
18290         behaviour.
18291
18292         * tests/check/gst/gstutils.c: (GST_START_TEST):
18293         Make check run faster so that buildbots don't timeout.
18294
18295 2006-01-18  Wim Taymans  <wim@fluendo.com>
18296
18297         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18298         (gst_base_sink_do_sync):
18299         Some cleanups.
18300         When the sink finishes blocking on the preroll buffer, it can
18301         immediatly render it instead of rendering when the next buffer
18302         arrives.
18303
18304 2006-01-18  Wim Taymans  <wim@fluendo.com>
18305
18306         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18307         (gst_base_sink_get_property), (gst_base_sink_do_sync),
18308         (gst_base_sink_chain):
18309         Small cleanups.
18310         GST_ELEMENT_CLOCK and sync are protected with LOCK.
18311         Don't store _last_stop if the buffer is dropped.
18312
18313 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18314
18315         * plugins/elements/gsttypefindelement.c:
18316         (gst_type_find_element_class_init):
18317           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18318           object method handler that sets the caps on the pad and we want
18319           that to happen before we emit the signal (fixes e.g. feeding a
18320           plain text file to decodebin).
18321
18322 2006-01-18  Christian Schaller  <Christian@fluendo.com>
18323
18324         * gst/gstplugin.c: Add MPL and Proprietary as license options
18325
18326 2006-01-18  Andy Wingo  <wingo@pobox.com>
18327
18328         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18329         symbol was exported before, it appears this was just an oversight.
18330         Fixes #168703.
18331         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18332
18333         * gst/gstindex.c (gst_index_add_associationv): Changed int in
18334         prototype to gint. OK since this prototype was not in the header.
18335
18336 2006-01-17  Andy Wingo  <wingo@pobox.com>
18337
18338         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18339         registry while we remove plugins.
18340
18341         * tools/gst-inspect.c (print_element_info): Don't unref the
18342         factory arg, that should be the responsibility of whatever code
18343         received the ref. Fixes a double-free when called from
18344         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18345         (main): Unref the factory if we have one.
18346         (print_element_list): No change -- relies on the
18347         plugin_feature_list_free to free the list of features.
18348
18349 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
18350
18351         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18352         (gst_buffer_make_metadata_writable):
18353         * gst/gstbuffer.h:
18354         * libs/gst/base/gstbasetransform.c:
18355         (gst_base_transform_prepare_output_buf):
18356         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18357         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18358           Replace gst_buffer_(make|is)_metadata_writable patch now
18359           that the release is out.
18360
18361 2006-01-17  Andy Wingo  <wingo@pobox.com>
18362
18363         * gst/gstregistry.c: Reflow design comment. Update so as to speak
18364         in the present tense without reference to versions.
18365
18366         * gst/gstregistry.c (gst_registry_add_plugin)
18367         (gst_registry_remove_plugin, gst_registry_remove_feature)
18368         (gst_registry_find_feature, gst_registry_get_feature_list)
18369         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18370         (gst_registry_lookup, gst_registry_scan_path)
18371         (_gst_registry_remove_cache_plugins)
18372         (gst_registry_get_feature_list_by_plugin): Add argument
18373         validation.
18374
18375 === release 0.10.2 ===
18376
18377 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
18378
18379         * configure.ac:
18380           releasing 0.10.2, "If man is five"
18381
18382 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18383
18384         * gst/gstbuffer.c:
18385         * gst/gstbuffer.h:
18386         * libs/gst/base/gstbasetransform.c:
18387         (gst_base_transform_prepare_output_buf):
18388         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18389         * tests/check/gst/gstbuffer.c: (gst_test_suite):
18390           Back out patch until after the release.
18391
18392 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18393
18394         * gst/gstminiobject.c:
18395           Spelling fix in docs.
18396         * ChangeLog - remove conflict indicator
18397
18398 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18399
18400         Reviewed By: Andy Wingo
18401
18402         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18403         (gst_buffer_make_metadata_writable):
18404         * gst/gstbuffer.h:
18405           Add gst_buffer_(is|make)_metadata_writable as analogues of
18406           gst_buffer_(is|make)_writable.
18407
18408         * libs/gst/base/gstbasetransform.c:
18409         (gst_base_transform_prepare_output_buf):
18410         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18411           Use name gst_buffer_(is|make)_metadata_writable functions.
18412
18413         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18414           Test gst_buffer_(is|make)_metadata_writable
18415         
18416           (Closes: #324162)
18417
18418 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18419
18420         * docs/manual/Makefile.am:
18421           don't do parallel make
18422         * configure.ac:
18423           AC_SUBST HOST_CPU
18424         * win32/common/config.h.in:
18425           add generations for HOST_CPU and GST_MAJORMINOR
18426         * win32/common/config.h:
18427           commit generated result
18428
18429 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18430
18431         * docs/manual/appendix-integration.xml:
18432           Update GNOME integration section to use gst_init_get_option_group()
18433           instead of the old popt stuff (#322911). Also, GNOME applications
18434           should  now use gconf*sink and gconf*src instead of the old gconf
18435           helper lib we had.
18436
18437 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18438
18439
18440         * docs/gst/gstreamer-docs.sgml:
18441         * docs/gst/gstreamer-sections.txt:
18442         * docs/libs/gstreamer-libs-sections.txt:
18443           add new API entries to the docs
18444         * libs/gst/controller/Makefile.am:
18445         * libs/gst/controller/gstcontroller.c:
18446         * libs/gst/controller/gstcontroller.h:
18447         * libs/gst/controller/gstcontrollerprivate.h:
18448         * libs/gst/controller/gsthelper.c:
18449         * libs/gst/controller/gstinterpolation.c:
18450           move private structs to private header
18451         * po/README:
18452           gstreamer-0.7 -> gstreamer-0.10
18453         * tests/check/libs/struct_i386.h:
18454           remove private structs
18455
18456 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18457
18458         * plugins/indexers/Makefile.am:
18459           Fixes as part of #317048
18460
18461 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18462
18463         * plugins/indexers/Makefile.am:
18464           fix #316086 - compilation when mmap is missing
18465
18466 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18467
18468         * libs/gst/base/gstbasesink.c:
18469           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18470           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18471         * win32/common/config.h:
18472           added some defines GST_MAJORMINOR and HOST_CPU
18473         * win32/common/libgstbase.def:
18474         * win32/common/libgstreamer.def:
18475           added some exported functions.
18476
18477 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18478
18479         * libs/gst/controller/gstcontroller.c:
18480         (gst_controlled_property_set_interpolation_mode),
18481         (gst_controlled_property_new):
18482         * libs/gst/controller/gstcontroller.h:
18483         * libs/gst/controller/gstinterpolation.c:
18484         (interpolate_none_get_string_value_array):
18485           make G_TYPE_STRING controlable
18486
18487 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18488
18489         * tools/README:
18490         * tools/gst-feedback.1.in:
18491         * tools/gst-inspect.1.in:
18492         * tools/gst-launch.1.in:
18493         * tools/gst-md5sum.1.in:
18494         * tools/gst-typefind.1.in:
18495         * tools/gst-xmlinspect.1.in:
18496         * tools/gst-xmllaunch.1.in:
18497           cleanup man-pages, remove reference to gst-register, document env-vars
18498
18499 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18500
18501         * gst/gstbuffer.c: (gst_buffer_span):
18502           gst_buffer_span should copy the timestamp of the first buffer
18503           if they were both originally overlapping subbuffers of the 
18504           same parent, using the same logic as the 'slow copy' case.
18505
18506 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18507
18508         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18509           Need to awaken ALL the pads when we pop a buffer, otherwise
18510           collectpads only works when there is 2 input streams.
18511
18512 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18513
18514         * docs/random/ensonic/media-device-daemon.txt:
18515           more ideas (dbus)
18516         * gst/gstbuffer.c:
18517           fix doc example, add clarification
18518         * tools/gst-launch.1.in:
18519           add initial info about GST_PLUGIN_PATH, needs more work
18520
18521 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18522
18523         * docs/manual/basics-bins.xml:
18524         * docs/manual/basics-elements.xml:
18525         * docs/manual/intro-basics.xml:
18526           Some more minor docs additions and updates.
18527
18528 2006-01-11  Wim Taymans  <wim@fluendo.com>
18529
18530         * docs/manual/basics-bins.xml:
18531         * docs/manual/basics-elements.xml:
18532         Some small fixes as pointed out by Ser-ver on IRC.
18533
18534 2006-01-10  Edward Hervey  <edward@fluendo.com>
18535
18536         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18537         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18538         the single-segment mode.
18539
18540 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18541
18542         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18543
18544         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18545         (gst_base_src_perform_seek), (gst_base_src_send_event),
18546         (gst_base_src_set_property), (gst_base_src_get_property),
18547         (gst_base_src_loop), (gst_base_src_start),
18548         (gst_base_src_activate_push):
18549         * libs/gst/base/gstbasesrc.h:
18550           Name (private) union; makes Sun's Forte compiler happy (#324900).
18551
18552 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18553
18554         * README:
18555           gst-register is gone.
18556
18557 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18558
18559         * gst/gstvalue.c: (_gst_value_initialize):
18560           make the G_TYPE_DATE instantiation work if debug is disabled
18561
18562 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18563
18564         * gst/gstmessage.c: (gst_message_parse_tag),
18565         (gst_message_parse_error), (gst_message_parse_warning):
18566           Don't crash when return location for error/warning debug
18567           string is NULL; add fact that return locations can be
18568           NULL to docs where appropriate.
18569
18570 2006-01-05  Wim Taymans  <wim@fluendo.com>
18571
18572         * gst/gstplugin.c: (gst_plugin_load_file):
18573         Replace strdup by g_strdup.
18574
18575 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18576
18577         * docs/pwg/advanced-types.xml:
18578           fix doc borkage
18579
18580 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18581
18582         submitted by: Abel Cheung
18583
18584         * po/LINGUAS:
18585         * po/zh_TW.po:
18586           Added Chinese (traditional) translation
18587
18588 2006-01-04  Wim Taymans  <wim@fluendo.com>
18589
18590         * docs/manual/basics-pads.xml:
18591         * docs/plugins/Makefile.am:
18592         * docs/plugins/gstreamer-plugins-docs.sgml:
18593         * docs/plugins/gstreamer-plugins-sections.txt:
18594         * docs/pwg/advanced-clock.xml:
18595         * docs/pwg/advanced-scheduling.xml:
18596         * docs/pwg/advanced-types.xml:
18597         * plugins/elements/gstfdsink.c:
18598         * plugins/elements/gstfdsrc.c:
18599         * plugins/elements/gstfdsrc.h:
18600         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18601         * plugins/elements/gstidentity.h:
18602         * plugins/elements/gstqueue.h:
18603         * plugins/elements/gsttee.c:
18604         * plugins/elements/gsttee.h:
18605         * plugins/elements/gsttypefindelement.c:
18606         (gst_type_find_element_class_init):
18607         * plugins/elements/gsttypefindelement.h:
18608         Small updates to various docs.
18609         Added core plugins to docs.
18610
18611 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18612
18613         * common/gst.supp:
18614           add a suppression for liboil's uninitialized variable
18615
18616 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18617
18618         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18619
18620         * gst/gstutils.h:
18621           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18622           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18623           compiler switch is being used (#325429).
18624
18625 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18626
18627         * gst/gstbin.c: (gst_bin_query):
18628           Disable duration query caching in bins until it gets
18629           fixed (see #324807).
18630
18631 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18632
18633         * tools/gst-inspect.c: (print_element_properties_info):
18634           Handle properties of POINTER and BOXED type.
18635
18636 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18637
18638         * gst/gst.c: (init_post):
18639           Init tags stuff and some other things before loading
18640           any static plugins (there may be other static plugins
18641           than just the GStreamer ones, and they may want to
18642           register their own tags or formats or whatever, and
18643           preferably without segfaulting).
18644
18645         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18646           Print at least a warning in the debug logs if we drop a
18647           query just because we don't know how to adjust the value
18648           in the particular format.
18649
18650 2005-12-24  David Schleef  <ds@schleef.org>
18651
18652         * tools/gstreamer-completion:
18653           Replacement for gst-complete written in sh and sed.  Only
18654           completes names of features, but that's 90% of what I want
18655           it for.  Properties are not available in registry.xml.  (Maybe
18656           they should be...)
18657
18658 === release 0.10.1 ===
18659
18660 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18661
18662         * configure.ac:
18663           releasing 0.10.1, "Nollaig chridheil"
18664
18665 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18666
18667         * docs/faq/cvs.xml:
18668           Add missing quote, should be make ERROR_CFLAGS="".
18669
18670 2005-12-20  Wim Taymans  <wim@fluendo.com>
18671
18672         * docs/design/part-trickmodes.txt:
18673         More documentation on trickmodes.
18674
18675 2005-12-20  Edward Hervey  <edward@fluendo.com>
18676
18677         * gst/gstcaps.c: (gst_static_caps_get_type):
18678         * gst/gstcaps.h:
18679           API addition: GST_TYPE_STATIC_CAPS
18680         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18681         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18682         * gst/gstpadtemplate.h:
18683           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18684         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18685         bindings.
18686
18687 2005-12-18  Wim Taymans  <wim@fluendo.com>
18688
18689         * libs/gst/base/gstadapter.c:
18690         * libs/gst/base/gstadapter.h:
18691         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18692         (gst_base_sink_get_position):
18693         * libs/gst/base/gstbasesink.h:
18694         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18695         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18696         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18697         (gst_base_src_send_event), (gst_base_src_update_length),
18698         (gst_base_src_get_range), (gst_base_src_loop),
18699         (gst_base_src_start):
18700         * libs/gst/base/gstbasesrc.h:
18701         * libs/gst/base/gstbasetransform.h:
18702         * libs/gst/base/gstcollectpads.h:
18703         * libs/gst/base/gstpushsrc.c:
18704         * libs/gst/base/gstpushsrc.h:
18705         * libs/gst/dataprotocol/dataprotocol.c:
18706         * libs/gst/dataprotocol/dataprotocol.h:
18707         * libs/gst/net/gstnetclientclock.h:
18708         * libs/gst/net/gstnettimeprovider.h:
18709         Documentation updates.
18710
18711 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18712
18713         * docs/manual/basics-helloworld.xml:
18714           Remove superfluous closing bracket in helloworld example.
18715
18716 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18717
18718         * tools/gst-launch.1.in:
18719           Update gst-launch man page; add a section with useful
18720           environment variables. Fixes #323882.
18721
18722 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18723
18724         * gst/gst.c:
18725         * gst/gst_private.h:
18726           change some char* into char[]
18727
18728 2005-12-16  Wim Taymans  <wim@fluendo.com>
18729
18730         * gst/gstregistryxml.c: (load_feature):
18731         Cleanups.
18732         Don't use g_object_unref on GstObjects so that we avoid
18733         leaks on unsafe glibs.
18734
18735 2005-12-16  Wim Taymans  <wim@fluendo.com>
18736
18737         * gst/gstbin.c: (gst_bin_recalc_state):
18738         Small doc updates.
18739
18740 2005-12-16  Wim Taymans  <wim@fluendo.com>
18741
18742         * common/check.mak:
18743         Added make forever target for check.
18744
18745 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18746
18747         * gst/gst.c: (init_post):
18748           make the registry cache file HOST_CPU-dependent
18749
18750 2005-12-16  Andy Wingo  <wingo@pobox.com>
18751
18752         * plugins/elements/gstbufferstore.c
18753         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18754         return value.
18755
18756         * tests/check/gst/gstobject.c
18757         (test_fake_object_name_threaded_unique): Pay attention to
18758         g_list_sort return value.
18759
18760 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18761
18762         * tools/gst-feedback-m.m:
18763           Update for 0.9/0.10 (fixes #323870).
18764
18765 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18766
18767         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18768           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18769           
18770         * tests/check/gst/gstminiobject.c: (my_foo_init),
18771         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18772         (test_value_collection), (gst_mini_object_suite):
18773           Add test to ensure refcounts end up as expected when passing
18774           GstMiniObjects through g_object_get() and g_object_set().
18775
18776 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18777
18778         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18779         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18780         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18781         of collectpads. This version removes a lot of races without
18782         touching API/ABI. Yay !
18783
18784 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18785
18786         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18787           Don't allow activation of a srcpad in pull_range if it has no
18788           getrange function.
18789           Change some debug statements to be a little clearer
18790
18791         * plugins/elements/gsttypefindelement.c:
18792         (gst_type_find_handle_src_query):
18793           Check that we have a peer before executing queries thereupon.
18794
18795         * tests/examples/metadata/read-metadata.c: (message_loop):
18796           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18797           immediately return us any available message with 0 timeout.
18798
18799 2005-12-12  Michael Smith  <msmith@fluendo.com>
18800
18801         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18802           Don't unref factories after calling them.
18803         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18804         * plugins/elements/gsttypefindelement.c:
18805         (gst_type_find_element_chain):
18806           Free lists of factories after using them. Fixing typefinding memory
18807           leaks.
18808
18809 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18810
18811         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18812         (gst_plugin_feature_load):
18813           more meaningful debug output
18814         * configure.ac:
18815         * tests/Makefile.am:
18816         * tests/old/examples/Makefile.am:
18817           make make distcheck happy again
18818
18819 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18820
18821         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18822           Catch the special case where we are operating chain-based,
18823           but the downstream peer pad has no chain function. Emit a
18824           custom error message in this case instead of letting the
18825           core generate one implying that this is some sort of core
18826           bug. It's not, it just means that whatever got plugged
18827           into the pipeline downstream when we announced the type
18828           can only operate pull-based, while our source can only
18829           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18830           Error string has not been marked for translation yet, as
18831           it probably needs some more work first.
18832
18833         (gst_type_find_element_get_best_possibility):
18834           Add helper function to find the best of all available
18835           found possibilities that qualify given the min. threshold.
18836
18837         (gst_type_find_element_handle_event):
18838           Fix the case where we get an EOS while still in TYPEFIND
18839           mode (we want to chose the best of all possible types,
18840           not just the first type that happens to be in our unsorted
18841           list of possible types).
18842
18843         (gst_type_find_element_chain):
18844           Make sure we return GST_FLOW_ERROR when we errored out
18845           in stop_typefinding(); also, don't just find the best of
18846           all found type entries and then use the last examined
18847           type entry, but actually use the best entry.
18848
18849 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18850
18851         * tests/examples/typefind/typefind.c: (type_found):
18852         * tests/examples/xml/runxml.c: (xml_loaded):
18853           More gcc4 fixes and a mem leak fix.
18854
18855 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18856
18857         * tests/examples/xml/createxml.c: (object_saved):
18858           gcc 4 fixes
18859
18860 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18861
18862         * tests/Makefile.am:
18863           enable the examples even more
18864
18865 2005-12-12  Andy Wingo  <wingo@pobox.com>
18866
18867         * libs/gst/net/gstnettimeprovider.c
18868         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18869         (gst_net_time_provider_set_property)
18870         (gst_net_time_provider_get_property):
18871         API addition: Export "active" as a GObject property.
18872         (gst_net_time_provider_thread): Only respond to time queries if
18873         the time provider is active.
18874
18875         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18876         NetTimeProvider, preserving binary compat.
18877
18878 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18879
18880         * tests/examples/controller/audio-example.c: (main):
18881         * tests/examples/launch/Makefile.am:
18882           convert comments again
18883
18884 2005-12-12  Wim Taymans  <wim@fluendo.com>
18885
18886         * libs/gst/base/gstpushsrc.c:
18887         Fix typo.
18888
18889 2005-12-12  Wim Taymans  <wim@fluendo.com>
18890
18891         * docs/libs/gstreamer-libs-sections.txt:
18892         Added new symbol to docs.
18893
18894         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18895         (gst_base_src_init), (gst_base_src_set_format),
18896         (gst_base_src_default_query), (gst_base_src_query),
18897         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18898         (gst_base_src_perform_seek), (gst_base_src_send_event),
18899         (gst_base_src_default_event), (gst_base_src_event_handler),
18900         (gst_base_src_set_property), (gst_base_src_get_property),
18901         (gst_base_src_wait), (gst_base_src_do_sync),
18902         (gst_base_src_update_length), (gst_base_src_get_range),
18903         (gst_base_src_check_get_range), (gst_base_src_loop),
18904         (gst_base_src_default_negotiate), (gst_base_src_start),
18905         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18906         (gst_base_src_change_state):
18907         * libs/gst/base/gstbasesrc.h:
18908         Implement seeking to other formats than _BYTES.
18909         Implement more seeking methods correctly.
18910         Doc updates.
18911         Added query vmethod.
18912         Added do_seek vmethod to make life easier for subclasses
18913         when seeking.
18914         API addition: gst_base_src_set_format()
18915
18916 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18917
18918         * tests/examples/Makefile.am:
18919           added that too
18920
18921 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18922
18923         * configure.ac:
18924         * docs/random/ensonic/media-device-daemon.txt:
18925         * tests/examples/controller/.cvsignore:
18926         * tests/examples/controller/Makefile.am:
18927         * tests/examples/controller/audio-example.c: (main):
18928         * tests/examples/helloworld/.cvsignore:
18929         * tests/examples/helloworld/Makefile.am:
18930         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18931         * tests/examples/launch/.cvsignore:
18932         * tests/examples/launch/Makefile.am:
18933         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18934         * tests/examples/metadata/.cvsignore:
18935         * tests/examples/metadata/Makefile.am:
18936         * tests/examples/metadata/read-metadata.c: (message_loop),
18937         (make_pipeline), (print_tag), (main):
18938         * tests/examples/queue/.cvsignore:
18939         * tests/examples/queue/Makefile.am:
18940         * tests/examples/queue/queue.c: (event_loop), (main):
18941         * tests/examples/typefind/.cvsignore:
18942         * tests/examples/typefind/Makefile.am:
18943         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18944         (main):
18945         * tests/examples/xml/.cvsignore:
18946         * tests/examples/xml/Makefile.am:
18947         * tests/examples/xml/createxml.c: (object_saved), (main):
18948         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18949         * tests/old/examples/Makefile.am:
18950         * tests/old/examples/TODO:
18951         * tests/old/examples/controller/.cvsignore:
18952         * tests/old/examples/controller/Makefile.am:
18953         * tests/old/examples/controller/audio-example.c:
18954         * tests/old/examples/helloworld/.cvsignore:
18955         * tests/old/examples/helloworld/Makefile.am:
18956         * tests/old/examples/helloworld/helloworld.c:
18957         * tests/old/examples/launch/.cvsignore:
18958         * tests/old/examples/launch/Makefile.am:
18959         * tests/old/examples/launch/mp3parselaunch.c:
18960         * tests/old/examples/launch/mp3play:
18961         * tests/old/examples/manual/Makefile.am:
18962         * tests/old/examples/metadata/Makefile.am:
18963         * tests/old/examples/metadata/read-metadata.c:
18964         * tests/old/examples/queue/.cvsignore:
18965         * tests/old/examples/queue/Makefile.am:
18966         * tests/old/examples/queue/queue.c:
18967         * tests/old/examples/typefind/.cvsignore:
18968         * tests/old/examples/typefind/Makefile.am:
18969         * tests/old/examples/typefind/typefind.c:
18970         * tests/old/examples/xml/.cvsignore:
18971         * tests/old/examples/xml/Makefile.am:
18972         * tests/old/examples/xml/createxml.c:
18973         * tests/old/examples/xml/runxml.c:
18974           applied some simple fixing to some examples
18975           re-enabled the working examples
18976
18977 2005-12-12  Wim Taymans  <wim@fluendo.com>
18978
18979         * gst/gstsegment.c: (gst_segment_init),
18980         (gst_segment_set_last_stop), (gst_segment_set_seek),
18981         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18982         (gst_segment_to_running_time):
18983         Added more documentation.
18984         Make sure the last_pos value is updated properly.
18985         Make sure to_stream_time and to_running_time don't
18986         operate on wrong values.
18987
18988         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18989         Update check.
18990
18991 2005-12-12  Michael Smith  <msmith@fluendo.com>
18992
18993         * plugins/elements/gsttypefindelement.c: (free_entry),
18994         (gst_type_find_element_chain):
18995           Now that we're not leaking factories, make sure we keep references
18996           to them while we need them.
18997
18998 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18999
19000         * tests/check/gst/struct_i386.h:
19001           ifdef out the XML structs
19002
19003 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19004
19005         * gst/gstvalue.c: (gst_value_transform_double_fraction):
19006           floor is not needed, F is always positive; this obviates the
19007           need for adding -lm when building without libxml
19008
19009 2005-12-12  Wim Taymans  <wim@fluendo.com>
19010
19011         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
19012         Take current playback rate into account when reporting
19013         the position.
19014
19015 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
19016
19017         * docs/manual/mime-world.fig:
19018           Let's try this again, this time with a file that is
19019           actually in XFig format.
19020
19021 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
19022
19023         * docs/manual/mime-world.fig:
19024           Add audioconvert element to diagram so that it
19025           matches the text and the code (fixes #319526).
19026
19027 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
19028
19029         * docs/pwg/building-chainfn.xml:
19030         * docs/pwg/building-pads.xml:
19031         * docs/pwg/building-state.xml:
19032         * docs/pwg/other-source.xml:
19033           Update state change stuff for 0.10 (fixes #322969).
19034
19035 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
19036
19037         * docs/manual/advanced-dataaccess.xml:
19038         * docs/manual/appendix-checklist.xml:
19039         * docs/manual/appendix-programs.xml:
19040         * docs/manual/basics-pads.xml:
19041         * docs/manual/highlevel-components.xml:
19042         * docs/manual/manual.xml:
19043           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
19044           add converters in front of pipelines; remove curly
19045           brackets for threads stuff, they no longer exist; use
19046           GST_TYPE_FRACTION for framerates; update some pieces of
19047           code to 0.10, but there's plenty more to do.
19048
19049         * docs/manual/appendix-porting.xml:
19050           Expand on asynchroneous state changes; s/0.9/0.10/;
19051           mention disappearance of gst_init_get_popt_table()
19052           (fixes #322916).
19053
19054 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
19055
19056         * docs/faq/using.xml:
19057           Spider no longer exists, and neither does gst-launch-ext.
19058           Update examples to use decodebin and playbin and put
19059           converters in front of sinks (fixes #323726).
19060
19061 2005-12-09  Michael Smith  <msmith@fluendo.com>
19062
19063         * plugins/elements/gsttypefindelement.c: (find_peek),
19064         (gst_type_find_element_chain):
19065           Fix leaking element factories in typefinding.
19066           Fix problem where we forgot about a probable type on non-seekable
19067           files, and thus later mis-typefound it.
19068
19069 2005-12-09  Michael Smith  <msmith@fluendo.com>
19070
19071         * common/m4/gst-makecontext.m4:
19072         * common/m4/gst-mcsc.m4:
19073         * configure.ac:
19074         * win32/common/config.h:
19075         * win32/common/config.h.in:
19076           Remove makecontext stuff; not used in 0.10 and causes problems on
19077           HPUX according to bug #322441
19078
19079 2005-12-07  Wim Taymans  <wim@fluendo.com>
19080
19081         * tests/check/Makefile.am:
19082         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
19083         (main):
19084         * tests/check/libs/struct_i386.h:
19085         Added ABI check for libs
19086
19087 2005-12-07  Wim Taymans  <wim@fluendo.com>
19088
19089         * tests/check/Makefile.am:
19090         And add the struct_i386.h to dist.
19091
19092 2005-12-07  Wim Taymans  <wim@fluendo.com>
19093
19094         * tests/check/Makefile.am:
19095         * tests/check/gst/.cvsignore:
19096         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
19097         (main):
19098         * tests/check/gst/struct_i386.h:
19099         Added check for ABI compatibility.
19100
19101 2005-12-07  Wim Taymans  <wim@fluendo.com>
19102
19103         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19104         (gst_fake_src_get_times), (gst_fake_src_create):
19105         Fix broken sync option, fixes #323259
19106
19107 2005-12-07  Wim Taymans  <wim@fluendo.com>
19108
19109         * gst/gstbuffer.c:
19110         Small docs update.
19111
19112         * gst/gstcaps.c: (gst_caps_is_equal):
19113         Don't assert on NULL <--> X. Fixes #323260
19114
19115         * gst/gstminiobject.c: (gst_mini_object_replace):
19116         If we're doing atomic operations, we might just as well use
19117         the proper way to get an atomic pointer.
19118
19119         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
19120         Clean up debugging.
19121
19122 2005-12-07  Michael Smith  <msmith@fluendo.com>
19123
19124         * gst/parse/grammar.y:
19125           Remove handling of { } for threads.
19126
19127 2005-12-06  David Schleef  <ds@schleef.org>
19128
19129         * libs/gst/base/gstbasetransform.c: speling fix.
19130
19131 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19132
19133         * docs/libs/tmpl/gstdataprotocol.sgml:
19134         * docs/random/omega/testing/gstobject.c:
19135         * gst/gst.c:
19136         * gst/gstclock.c:
19137         * gst/gstelement.c:
19138         * gst/gstelementfactory.c:
19139         * gst/gsterror.c:
19140         * gst/gstevent.c:
19141         * gst/gstghostpad.c:
19142         * gst/gstinfo.c:
19143         * gst/gstpadtemplate.c:
19144         * gst/gstregistryxml.c:
19145         * gst/gsttaglist.c:
19146         * gst/gsttagsetter.c:
19147         * gst/gsttypefind.c:
19148         * gst/gstvalue.c:
19149         * libs/gst/base/gstbasesrc.c:
19150         * libs/gst/net/gstnetclientclock.c:
19151         * libs/gst/net/gstnettimeprovider.c:
19152         * plugins/elements/gstfakesrc.c:
19153         * plugins/elements/gstfdsrc.c:
19154         * plugins/elements/gstfilesrc.c:
19155         * plugins/elements/gstidentity.c:
19156         * plugins/elements/gstqueue.c:
19157         * plugins/elements/gsttypefindelement.c:
19158         * plugins/indexers/gstfileindex.c:
19159         * plugins/indexers/gstmemindex.c:
19160         * tests/check/gst/gsttag.c:
19161         * tests/old/examples/cutter/cutter.c:
19162         * tests/old/examples/mixer/mixer.c:
19163         * tests/old/examples/xml/runxml.c: (main):
19164         * tests/old/testsuite/caps/normalisation.c:
19165         * tests/old/testsuite/debug/global.c:
19166         * tests/old/testsuite/parse/parse1.c:
19167         * tools/gst-xmlinspect.c:
19168         * win32/common/dirent.c:
19169           expand tabs
19170
19171 === release 0.10.0 ===
19172
19173 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19174
19175         * configure.ac:
19176           releasing 0.10.0, "Maroilles"
19177
19178 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19179
19180         submitted by: Funda Wang <fundawang@linux.net.cn>
19181
19182         * po/LINGUAS:
19183         * po/zh_CN.po:
19184           added Chinese (Traditional) translation
19185
19186 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19187
19188         * docs/gst/gstreamer-sections.txt:
19189         * docs/libs/tmpl/gstdataprotocol.sgml:
19190         * docs/random/thomasvs/TODO:
19191         * gst/gstutils.c:
19192         * gst/gstutils.h:
19193           fix docs
19194
19195 2005-12-05  Andy Wingo  <wingo@pobox.com>
19196
19197         patch by: Wim Taymans <wim@fluendo.com>
19198
19199         * libs/gst/base/gstbasetransform.c
19200         (gst_base_transform_prepare_output_buf)
19201         (gst_base_transform_buffer_alloc):
19202         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19203         alloc_buffer_and_set_caps.
19204
19205         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19206         set_caps on the source pad.
19207         (gst_pad_alloc_buffer_and_set_caps): New function, does what
19208         alloc_buffer used to do. Fixes #322874.
19209
19210         * docs/gst/gstreamer-sections.txt: 
19211         * docs/design/part-negotiation.txt: 
19212         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19213         changes.
19214
19215 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19216
19217         patch by: Sebastien Moutte
19218
19219         * win32/MANIFEST:
19220         * win32/common/config.h.in:
19221         * win32/vs6/libgstcontroller.dsp:
19222           win32 build fixes
19223
19224 2005-12-05  Wim Taymans  <wim@fluendo.com>
19225
19226         * gst/gstcaps.c: (gst_caps_is_equal):
19227         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19228         (gst_fake_src_create):
19229         Back out previous code changes, leave doc updates, file bugs 
19230         instead. 
19231
19232 2005-12-05  Wim Taymans  <wim@fluendo.com>
19233
19234         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19235         (gst_fake_src_get_times), (gst_fake_src_create):
19236         * plugins/elements/gstfakesrc.h:
19237         Fix broken sync code.
19238
19239 2005-12-05  Wim Taymans  <wim@fluendo.com>
19240
19241         * gst/gstcaps.c: (gst_caps_is_equal):
19242         Comparing NULL against !NULL yields different caps, not a
19243         failure.
19244
19245 2005-12-05  Wim Taymans  <wim@fluendo.com>
19246
19247         * gst/gstpipeline.c:
19248         Fix small typo in docs.
19249
19250 2005-12-05  Andy Wingo  <wingo@pobox.com>
19251
19252         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
19253
19254         * gst/gst.c (init_post): remove hard-coded 0.9 location for
19255         registries/plugins with a MAJORMINOR one.
19256         (plugin_desc): Rename library from gstcoreleements to
19257         staticelements. Fixes #323222.
19258
19259 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
19260
19261         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19262           Change debug category to 'collectpads' from 'collect_pads'
19263           (fixes #323250).
19264
19265 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19266
19267         patch by: Sebastien Moutte
19268
19269         * libs/gst/controller/gstinterpolation.c:
19270           use convert function for uint64/double
19271         * win32/vs6/libgstcontroller.dsp:
19272           link to GLib
19273
19274 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19275
19276         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19277         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19278         * gst/gstutils.h:
19279         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19280           add tests that seem to show that the guint64/gdouble conversions
19281           are correct.
19282
19283 2005-12-02  Wim Taymans  <wim@fluendo.com>
19284
19285         * gst/gstregistry.c: (gst_registry_add_path):
19286         * gst/gstregistry.h:
19287         * gst/gstregistryxml.c:
19288         Fix docs again.
19289
19290 2005-12-02  Wim Taymans  <wim@fluendo.com>
19291
19292         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19293         (gst_util_uint64_scale_int):
19294         Small cleanup.
19295
19296         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19297         Add debug log line.
19298
19299         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19300         Add FIXME.
19301
19302 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19303
19304         * win32/MANIFEST:
19305         * win32/common/config.h:
19306         * win32/vs6/gstreamer.dsw:
19307         * win32/vs6/libgstcoreelements.dsp:
19308         * win32/vs6/libgstelements.dsp:
19309           renamed core elements plugin
19310
19311 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19312
19313         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19314         (get_candidates):
19315           do piece-wise major/minor comparison so 0.9 < 0.10
19316           also allow .exe extensions for tools
19317
19318 2005-12-02  Michael Smith  <msmith@fluendo.com>
19319
19320         * gst/gst.c:
19321           Escape a % to make gtkdoc happier; bug 322958.
19322
19323 === release 0.9.7 ===
19324
19325 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19326
19327         * configure.ac:
19328           releasing 0.9.7, "My Dog Has No Nose"
19329
19330 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19331
19332         * common/gst-xmlinspect.py:
19333         * configure.ac:
19334         * docs/libs/tmpl/gstdataprotocol.sgml:
19335         * docs/random/release:
19336         * po/af.po:
19337         * po/az.po:
19338         * po/bg.po:
19339         * po/ca.po:
19340         * po/cs.po:
19341         * po/de.po:
19342         * po/en_GB.po:
19343         * po/fr.po:
19344         * po/it.po:
19345         * po/nb.po:
19346         * po/nl.po:
19347         * po/ru.po:
19348         * po/sq.po:
19349         * po/sr.po:
19350         * po/sv.po:
19351         * po/tr.po:
19352         * po/uk.po:
19353         * po/vi.po:
19354         * win32/common/config.h:
19355         * win32/common/config.h.in:
19356         * win32/vs6/gst_inspect.dsp:
19357         * win32/vs6/gst_launch.dsp:
19358         * win32/vs6/libgstbase.dsp:
19359         * win32/vs6/libgstelements.dsp:
19360         * win32/vs6/libgstreamer.dsp:
19361         * win32/vs7/GStreamer.vcproj:
19362         * win32/vs7/gst-inspect.vcproj:
19363         * win32/vs7/gst-launch.vcproj:
19364         * win32/vs7/libgstbase.vcproj:
19365           bump GST_MAJORMINOR to 0.10
19366           reset libtool version
19367
19368 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19369
19370         * po/LINGUAS:
19371         * po/bg.po:
19372           Added Bulgarian translation by (Alexander Shopov)
19373
19374 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19375
19376         * tests/check/gst/gstplugin.c:
19377           fix test
19378
19379 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19380
19381         * common/gst-xmlinspect.py:
19382         * common/gtk-doc-plugins.mak:
19383         * configure.ac:
19384         * docs/Makefile.am:
19385         * docs/gst/Makefile.am:
19386         * docs/gst/gstreamer-docs.sgml:
19387         * docs/gst/gstreamer-sections.txt:
19388         * docs/gst/gstreamer.types:
19389         * docs/gst/gstreamer.types.in:
19390         * docs/plugins/Makefile.am:
19391         * docs/plugins/gstreamer-plugins-docs.sgml:
19392         * docs/plugins/gstreamer-plugins-sections.txt:
19393         * docs/plugins/gstreamer-plugins.types:
19394         * docs/plugins/inspect.stamp:
19395         * docs/plugins/inspect/plugin-coreelements.xml:
19396         * docs/plugins/inspect/plugin-coreindexers.xml:
19397         * docs/plugins/scanobj-build.stamp:
19398         * gstreamer.spec.in:
19399         * plugins/elements/Makefile.am:
19400         * plugins/elements/gstelements.c:
19401         * plugins/elements/gstfakesink.c:
19402         * plugins/elements/gstfakesrc.c:
19403         * plugins/elements/gstfilesink.c:
19404         * plugins/elements/gstfilesrc.c:
19405         * plugins/elements/gstqueue.c:
19406         * plugins/indexers/Makefile.am:
19407         * plugins/indexers/gstindexers.c:
19408           document core plugins in a separate document just like all the
19409           others
19410           rename these plugins to something starting with core
19411
19412 2005-12-01  Andy Wingo  <wingo@pobox.com>
19413
19414         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19415         padding here before, but it missed the commit.
19416
19417 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19418
19419         * libs/gst/controller/gstinterpolation.c:
19420           whitespace prices have crashed, we should feel free to use some now
19421           use gst_guint64_to_gdouble
19422
19423 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19424
19425         * libs/gst/controller/gstcontroller.c:
19426         * libs/gst/controller/gsthelper.c:
19427         * libs/gst/controller/gstinterpolation.c:
19428         * libs/gst/controller/lib.c:
19429           wrap config.h include
19430
19431 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19432
19433         * docs/gst/gstreamer-sections.txt:
19434           update docs
19435
19436 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19437
19438         * plugins/elements/gstelements.c:
19439         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19440         (gst_fd_sink__class_init), (gst_fd_sink__init),
19441         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19442         (gst_fd_sink__get_property):
19443         * plugins/elements/gstfdsink.h:
19444         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19445         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19446         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19447         (gst_fd_src_unlock), (gst_fd_src_set_property),
19448         (gst_fd_src_get_property), (gst_fd_src_create),
19449         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19450         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19451         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19452         (gst_fd_src_uri_handler_init):
19453         * plugins/elements/gstfdsrc.h:
19454         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19455           more anal cleanup
19456
19457 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19458
19459         * docs/gst/Makefile.am:
19460         * docs/gst/gstreamer.types.in:
19461         * gst/Makefile.am:
19462           fix the docs build
19463
19464 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19465
19466         * configure.ac:
19467         * gst/Makefile.am:
19468         * gst/gst.c:
19469         * gst/gstplugin.h:
19470         * gst/gstregistry.h:
19471         * tests/benchmarks/complexity.c:
19472         * tests/benchmarks/mass-elements.c:
19473         * tests/check/Makefile.am:
19474         * tools/Makefile.am:
19475         * tools/gst-inspect.c:
19476         * tools/gst-xmlinspect.c:
19477           various fixes to make
19478           --disable-nls --disable-registry --disable-loadsave
19479           --disable-parse --disable-gst-debug
19480           work and get the core .so down to 360444 bytes after stripping
19481
19482 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19483
19484         * Makefile.am:
19485         * configure.ac:
19486           descend into tests
19487         * docs/random/thomasvs/TODO:
19488         * tests/Makefile.am:
19489         * tests/README:
19490           add a README
19491
19492 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19493
19494         * win32/GStreamer.vcproj:
19495         * win32/MANIFEST:
19496         * win32/Makefile:
19497         * win32/Makefile.inspect:
19498         * win32/Makefile.launch:
19499         * win32/Makefile.register:
19500         * win32/README.txt:
19501         * win32/gst-inspect.vcproj:
19502         * win32/gst-launch.vcproj:
19503         * win32/gst-register.vcproj:
19504         * win32/gstelements.vcproj:
19505         * win32/gstgetbits.def:
19506         * win32/gstgetbits.vcproj:
19507         * win32/gstreamer-dbg.def:
19508         * win32/gstreamer.def:
19509         * win32/libgstbase.def:
19510         * win32/libgstbase.vcproj:
19511         * win32/link_oldruntime.c:
19512         * win32/mman.c:
19513         * win32/mman.h:
19514         * win32/mman.inl:
19515         * win32/msvc71.sln:
19516           move even more stuff, win32/ is nice and clean now
19517
19518 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19519
19520         * libs/gst/control/.cvsignore:
19521         * win32/MANIFEST:
19522         * win32/config.h:
19523         * win32/dirent.c:
19524         * win32/dirent.h:
19525         * win32/gstbytestream.def:
19526         * win32/gstbytestream.vcproj:
19527         * win32/gstconfig.h:
19528         * win32/gstenumtypes.c:
19529         * win32/gstenumtypes.h:
19530         * win32/gstoptimalscheduler.vcproj:
19531         * win32/gstversion.h:
19532         * win32/gtchar.h:
19533         * win32/testsuite/bins.vcproj:
19534         * win32/testsuite/bytestream.vcproj:
19535         * win32/testsuite/caps.vcproj:
19536         * win32/testsuite/cleanup.vcproj:
19537         * win32/testsuite/clock.vcproj:
19538         * win32/testsuite/debug.vcproj:
19539         * win32/testsuite/dlopen.vcproj:
19540         * win32/testsuite/dynparams.vcproj:
19541         * win32/testsuite/elements.vcproj:
19542         * win32/testsuite/ghostpads.vcproj:
19543         * win32/testsuite/indexers.vcproj:
19544         * win32/testsuite/negotiation.vcproj:
19545         * win32/testsuite/parse.vcproj:
19546         * win32/testsuite/plugin.vcproj:
19547         * win32/testsuite/refcounting.vcproj:
19548         * win32/testsuite/schedulers.vcproj:
19549         * win32/testsuite/states.vcproj:
19550         * win32/testsuite/tags.vcproj:
19551         * win32/testsuite/threads.vcproj:
19552           remove old win32 stuff that isn't maintained and should be
19553           reorganized
19554
19555 2005-11-30  Andy Wingo  <wingo@pobox.com>
19556
19557         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19558         loading the gst.interfaces python module bork.
19559
19560         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19561         available since GLib 2.2. Fixes #318031.
19562
19563 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19564
19565         * Makefile.am:
19566         * check/.cvsignore:
19567         * check/Makefile.am:
19568         * check/elements/.cvsignore:
19569         * check/elements/fakesrc.c:
19570         * check/elements/fdsrc.c:
19571         * check/elements/identity.c:
19572         * check/generic/.cvsignore:
19573         * check/generic/states.c:
19574         * check/gst-libs/.cvsignore:
19575         * check/gst-libs/controller.c:
19576         * check/gst-libs/gdp.c:
19577         * check/gst/.cvsignore:
19578         * check/gst/capslist.h:
19579         * check/gst/gst.c:
19580         * check/gst/gstbin.c:
19581         * check/gst/gstbuffer.c:
19582         * check/gst/gstbus.c:
19583         * check/gst/gstcaps.c:
19584         * check/gst/gstelement.c:
19585         * check/gst/gstevent.c:
19586         * check/gst/gstghostpad.c:
19587         * check/gst/gstiterator.c:
19588         * check/gst/gstmessage.c:
19589         * check/gst/gstminiobject.c:
19590         * check/gst/gstobject.c:
19591         * check/gst/gstpad.c:
19592         * check/gst/gstpipeline.c:
19593         * check/gst/gstplugin.c:
19594         * check/gst/gstsegment.c:
19595         * check/gst/gststructure.c:
19596         * check/gst/gstsystemclock.c:
19597         * check/gst/gsttag.c:
19598         * check/gst/gstutils.c:
19599         * check/gst/gstvalue.c:
19600         * check/net/.cvsignore:
19601         * check/net/gstnetclientclock.c:
19602         * check/net/gstnettimeprovider.c:
19603         * check/pipelines/.cvsignore:
19604         * check/pipelines/cleanup.c:
19605         * check/pipelines/simple_launch_lines.c:
19606         * check/pipelines/stress.c:
19607         * check/states/.cvsignore:
19608         * check/states/sinks.c:
19609         * configure.ac:
19610         * examples/Makefile.am:
19611         * examples/appreader/.cvsignore:
19612         * examples/appreader/Makefile.am:
19613         * examples/appreader/appreader.c:
19614         * examples/controller/.cvsignore:
19615         * examples/controller/Makefile.am:
19616         * examples/controller/audio-example.c:
19617         * examples/cutter/.cvsignore:
19618         * examples/cutter/Makefile.am:
19619         * examples/cutter/cutter.c:
19620         * examples/cutter/cutter.h:
19621         * examples/events/Makefile.am:
19622         * examples/events/seek.c:
19623         * examples/helloworld/.cvsignore:
19624         * examples/helloworld/Makefile.am:
19625         * examples/helloworld/helloworld.c:
19626         * examples/helloworld2/.cvsignore:
19627         * examples/helloworld2/Makefile.am:
19628         * examples/helloworld2/helloworld2.c:
19629         * examples/launch/.cvsignore:
19630         * examples/launch/Makefile.am:
19631         * examples/launch/mp3parselaunch.c:
19632         * examples/launch/mp3play:
19633         * examples/manual/.cvsignore:
19634         * examples/manual/Makefile.am:
19635         * examples/manual/extract.pl:
19636         * examples/metadata/Makefile.am:
19637         * examples/metadata/read-metadata.c:
19638         * examples/mixer/.cvsignore:
19639         * examples/mixer/Makefile.am:
19640         * examples/mixer/mixer.c:
19641         * examples/mixer/mixer.h:
19642         * examples/pingpong/.cvsignore:
19643         * examples/pingpong/Makefile.am:
19644         * examples/pingpong/pingpong.c:
19645         * examples/plugins/.cvsignore:
19646         * examples/plugins/Makefile.am:
19647         * examples/plugins/example.c:
19648         * examples/plugins/example.h:
19649         * examples/pwg/.cvsignore:
19650         * examples/pwg/Makefile.am:
19651         * examples/pwg/extract.pl:
19652         * examples/queue/.cvsignore:
19653         * examples/queue/Makefile.am:
19654         * examples/queue/queue.c:
19655         * examples/queue2/.cvsignore:
19656         * examples/queue2/Makefile.am:
19657         * examples/queue2/queue2.c:
19658         * examples/queue3/.cvsignore:
19659         * examples/queue3/Makefile.am:
19660         * examples/queue3/queue3.c:
19661         * examples/queue4/.cvsignore:
19662         * examples/queue4/Makefile.am:
19663         * examples/queue4/queue4.c:
19664         * examples/retag/.cvsignore:
19665         * examples/retag/Makefile.am:
19666         * examples/retag/retag.c:
19667         * examples/retag/transcode.c:
19668         * examples/thread/.cvsignore:
19669         * examples/thread/Makefile.am:
19670         * examples/thread/thread.c:
19671         * examples/typefind/.cvsignore:
19672         * examples/typefind/Makefile.am:
19673         * examples/typefind/typefind.c:
19674         * examples/xml/.cvsignore:
19675         * examples/xml/Makefile.am:
19676         * examples/xml/createxml.c:
19677         * examples/xml/runxml.c:
19678         * tests/Makefile.am:
19679         * tests/check/Makefile.am:
19680         * testsuite/.cvsignore:
19681         * testsuite/Makefile.am:
19682         * testsuite/Rules:
19683         * testsuite/caps/.cvsignore:
19684         * testsuite/caps/Makefile.am:
19685         * testsuite/caps/app_fixate.c:
19686         * testsuite/caps/audioscale.c:
19687         * testsuite/caps/caps.c:
19688         * testsuite/caps/caps.h:
19689         * testsuite/caps/caps_strings:
19690         * testsuite/caps/compatibility.c:
19691         * testsuite/caps/deserialize.c:
19692         * testsuite/caps/enumcaps.c:
19693         * testsuite/caps/eratosthenes.c:
19694         * testsuite/caps/filtercaps.c:
19695         * testsuite/caps/fixed.c:
19696         * testsuite/caps/fraction-convert.c:
19697         * testsuite/caps/fraction-multiply-and-zero.c:
19698         * testsuite/caps/intersect2.c:
19699         * testsuite/caps/intersection.c:
19700         * testsuite/caps/normalisation.c:
19701         * testsuite/caps/random.c:
19702         * testsuite/caps/renegotiate.c:
19703         * testsuite/caps/sets.c:
19704         * testsuite/caps/simplify.c:
19705         * testsuite/caps/string-conversions.c:
19706         * testsuite/caps/structure.c:
19707         * testsuite/caps/subtract.c:
19708         * testsuite/caps/union.c:
19709         * testsuite/debug/.cvsignore:
19710         * testsuite/debug/Makefile.am:
19711         * testsuite/debug/category.c:
19712         * testsuite/debug/commandline.c:
19713         * testsuite/debug/global.c:
19714         * testsuite/debug/output.c:
19715         * testsuite/debug/printf_extension.c:
19716         * testsuite/dlopen/.cvsignore:
19717         * testsuite/dlopen/Makefile.am:
19718         * testsuite/dlopen/dlopen_gst.c:
19719         * testsuite/dlopen/loadgst.c:
19720         * testsuite/elements/.cvsignore:
19721         * testsuite/elements/Makefile.am:
19722         * testsuite/elements/gst-inspect-check.in:
19723         * testsuite/elements/struct_i386.h:
19724         * testsuite/elements/struct_size.c:
19725         * testsuite/indexers/.cvsignore:
19726         * testsuite/indexers/Makefile.am:
19727         * testsuite/indexers/cache1.c:
19728         * testsuite/indexers/indexdump.c:
19729         * testsuite/parse/.cvsignore:
19730         * testsuite/parse/Makefile.am:
19731         * testsuite/parse/parse1.c:
19732         * testsuite/parse/parse2.c:
19733         * testsuite/plugin/.cvsignore:
19734         * testsuite/plugin/Makefile.am:
19735         * testsuite/plugin/README:
19736         * testsuite/plugin/dynamic.c:
19737         * testsuite/plugin/linked.c:
19738         * testsuite/plugin/loading.c:
19739         * testsuite/plugin/registry.c:
19740         * testsuite/plugin/static.c:
19741         * testsuite/plugin/static2.c:
19742         * testsuite/plugin/testplugin.c:
19743         * testsuite/plugin/testplugin2.c:
19744         * testsuite/plugin/testplugin2_s.c:
19745         * testsuite/plugin/testplugin_s.c:
19746         * testsuite/refcounting/.cvsignore:
19747         * testsuite/refcounting/Makefile.am:
19748         * testsuite/refcounting/bin.c:
19749         * testsuite/refcounting/element.c:
19750         * testsuite/refcounting/element_pad.c:
19751         * testsuite/refcounting/mainloop.c:
19752         * testsuite/refcounting/mem.c:
19753         * testsuite/refcounting/mem.h:
19754         * testsuite/refcounting/object.c:
19755         * testsuite/refcounting/pad.c:
19756         * testsuite/refcounting/sched.c:
19757         * testsuite/refcounting/thread.c:
19758         * testsuite/states/.cvsignore:
19759         * testsuite/states/Makefile.am:
19760         * testsuite/states/bin.c:
19761         * testsuite/states/locked.c:
19762         * testsuite/states/parent.c:
19763         * testsuite/threads/.cvsignore:
19764         * testsuite/threads/159566.c:
19765         * testsuite/threads/159852.c:
19766         * testsuite/threads/Makefile.am:
19767         * testsuite/threads/queue.c:
19768         * testsuite/threads/signals.c:
19769         * testsuite/threads/staticrec.c:
19770         * testsuite/threads/thread.c:
19771         * testsuite/threads/threadb.c:
19772         * testsuite/threads/threadc.c:
19773         * testsuite/threads/threadd.c:
19774         * testsuite/threads/threade.c:
19775         * testsuite/threads/threadf.c:
19776         * testsuite/threads/threadg.c:
19777         * testsuite/threads/threadh.c:
19778         * testsuite/threads/threadi.c:
19779           move all of these under tests
19780
19781 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19782
19783         * configure.ac:
19784         * tests/Makefile.am:
19785           fix distcheck
19786
19787 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19788
19789         * docs/gst/gstreamer-sections.txt:
19790         * tests/sched/.cvsignore:
19791         * tests/sched/Makefile.am:
19792         * tests/sched/cases/(fs-fs).xml:
19793         * tests/sched/cases/(fs-i-fs).xml:
19794         * tests/sched/cases/(fs-i-i-fs).xml:
19795         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19796         * tests/sched/dynamic-pipeline.c:
19797         * tests/sched/interrupt1.c:
19798         * tests/sched/interrupt2.c:
19799         * tests/sched/interrupt3.c:
19800         * tests/sched/runtestcases:
19801         * tests/sched/runxml.c:
19802         * tests/sched/sched-stress.c:
19803         * tests/sched/sort.c:
19804         * tests/sched/testcases:
19805         * tests/sched/testcases1.tc:
19806         * tests/seeking/.cvsignore:
19807         * tests/seeking/Makefile.am:
19808         * tests/seeking/seeking1.c:
19809         * tests/threadstate/.cvsignore:
19810         * tests/threadstate/Makefile.am:
19811         * tests/threadstate/test1.c:
19812         * tests/threadstate/test2.c:
19813         * tests/threadstate/threadstate1.c:
19814         * tests/threadstate/threadstate2.c:
19815         * tests/threadstate/threadstate3.c:
19816         * tests/threadstate/threadstate4.c:
19817         * tests/threadstate/threadstate5.c:
19818           remove obsolete tests
19819         * configure.ac:
19820         * tests/bench-complexity.scm:
19821         * tests/bench-mass_elements.scm:
19822         * tests/complexity.c:
19823         * tests/complexity.gnuplot:
19824         * tests/instantiate/.cvsignore:
19825         * tests/instantiate/Makefile.am:
19826         * tests/instantiate/caps.c:
19827         * tests/mass_elements.c:
19828         * tests/network-clock-utils.scm:
19829         * tests/network-clock.scm:
19830         * tests/plot-data:
19831         First pass at cleaning up tests/ dir before moving the rest
19832         Combined with CVS surgery
19833
19834 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19835
19836         * po/POTFILES.in:
19837           queue has moved, update
19838
19839 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19840
19841         * docs/gst/gstreamer-sections.txt:
19842           remove double entries from the docs
19843         * gst/gst_private.h:
19844         * gst/gstinfo.c: (_gst_debug_init):
19845           remove the THREAD debug category
19846         * gst/Makefile.am:
19847         * gst/gstqueue.c:
19848         * gst/gstqueue.h:
19849         * docs/gst/gstreamer.types:
19850         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19851         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19852           completely move queue and fix up debugging categories
19853
19854 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19855
19856         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19857           make initialization portable, using LL is not
19858
19859 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19860
19861         * win32/common/gstconfig.h:
19862           add large padding
19863
19864 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19865
19866         * win32/common/libgstreamer.def:
19867           rename symbols; sort base section
19868
19869 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19870
19871         * gst/gstclock.c: (do_linear_regression):
19872           remove crack non-portable handrolled DEBUG macro
19873
19874 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19875
19876         * docs/random/release:
19877           update notes
19878         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19879         (gst_object_flags_get_type), (register_gst_bin_flags),
19880         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19881         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19882         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19883         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19884         (gst_caps_flags_get_type), (register_gst_clock_return),
19885         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19886         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19887         (gst_clock_flags_get_type), (register_gst_state),
19888         (gst_state_get_type), (register_gst_state_change_return),
19889         (gst_state_change_return_get_type), (register_gst_state_change),
19890         (gst_state_change_get_type), (register_gst_element_flags),
19891         (gst_element_flags_get_type), (register_gst_core_error),
19892         (gst_core_error_get_type), (register_gst_library_error),
19893         (gst_library_error_get_type), (register_gst_resource_error),
19894         (gst_resource_error_get_type), (register_gst_stream_error),
19895         (gst_stream_error_get_type), (register_gst_event_type_flags),
19896         (gst_event_type_flags_get_type), (register_gst_event_type),
19897         (gst_event_type_get_type), (register_gst_seek_type),
19898         (gst_seek_type_get_type), (register_gst_seek_flags),
19899         (gst_seek_flags_get_type), (register_gst_format),
19900         (gst_format_get_type), (register_gst_index_certainty),
19901         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19902         (gst_index_entry_type_get_type),
19903         (register_gst_index_lookup_method),
19904         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19905         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19906         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19907         (gst_index_flags_get_type), (register_gst_debug_level),
19908         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19909         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19910         (gst_iterator_result_get_type), (register_gst_iterator_item),
19911         (gst_iterator_item_get_type), (register_gst_message_type),
19912         (gst_message_type_get_type), (register_gst_mini_object_flags),
19913         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19914         (gst_pad_link_return_get_type), (register_gst_flow_return),
19915         (gst_flow_return_get_type), (register_gst_activate_mode),
19916         (gst_activate_mode_get_type), (register_gst_pad_direction),
19917         (gst_pad_direction_get_type), (register_gst_pad_flags),
19918         (gst_pad_flags_get_type), (register_gst_pad_presence),
19919         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19920         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19921         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19922         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19923         (gst_plugin_flags_get_type), (register_gst_rank),
19924         (gst_rank_get_type), (register_gst_query_type),
19925         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19926         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19927         (gst_tag_flag_get_type), (register_gst_task_state),
19928         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19929         (gst_alloc_trace_flags_get_type),
19930         (register_gst_type_find_probability),
19931         (gst_type_find_probability_get_type), (register_gst_uri_type),
19932         (gst_uri_type_get_type), (register_gst_parse_error),
19933         (gst_parse_error_get_type):
19934         * win32/common/gstenumtypes.h:
19935         * win32/common/gstversion.h:
19936           update visual studio generated files
19937
19938 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19939
19940         * win32/vs6/libgstbase.dsp:
19941         * win32/vs6/libgstelements.dsp:
19942           update project files for new locations
19943
19944 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19945
19946         * Makefile.am:
19947           remove some files
19948         * README:
19949           reinstate and update
19950         * DEVEL:
19951         * REQUIREMENTS:
19952           removed
19953         * LICENSE:
19954         * docs/random/LICENSE:
19955           moved to random
19956
19957 2005-11-30  Edward Hervey  <edward@fluendo.com>
19958
19959         * gst/gsttypefind.c: (gst_type_find_register):
19960         * gst/gsttypefind.h:
19961         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19962         (gst_type_find_factory_dispose):
19963         * gst/gsttypefindfactory.h:
19964         Fix memory leak in GstTypeFindFactory.
19965
19966 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19967
19968         * gst/gst.c:
19969         * plugins/elements/Makefile.am:
19970         * plugins/elements/gstelements.c:
19971         * plugins/elements/gstqueue.c:
19972           move queue from core to the elements plugin
19973
19974 2005-11-29  Andy Wingo  <wingo@pobox.com>
19975
19976         * libs/gst/base/gstbasetransform.h: 
19977         * libs/gst/base/gstbasesrc.h: 
19978         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19979
19980         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19981         of pointers by which to pad very extensible base classes (like the
19982         ones in libs/gst/base).
19983
19984 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19985
19986         * docs/gst/gstreamer-docs.sgml:
19987         * docs/gst/gstreamer-sections.txt:
19988         * docs/libs/gstreamer-libs-docs.sgml:
19989         * docs/libs/gstreamer-libs-sections.txt:
19990           moving documentation from core to lib
19991
19992 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19993
19994         * check/Makefile.am:
19995         * configure.ac:
19996         * docs/gst/Makefile.am:
19997         * gst/Makefile.am:
19998         * gst/base/.cvsignore:
19999         * gst/base/Makefile.am:
20000         * gst/base/README:
20001         * gst/base/gstadapter.c:
20002         * gst/base/gstadapter.h:
20003         * gst/base/gstbasesink.c:
20004         * gst/base/gstbasesink.h:
20005         * gst/base/gstbasesrc.c:
20006         * gst/base/gstbasesrc.h:
20007         * gst/base/gstbasetransform.c:
20008         * gst/base/gstbasetransform.h:
20009         * gst/base/gstcollectpads.c:
20010         * gst/base/gstcollectpads.h:
20011         * gst/base/gstpushsrc.c:
20012         * gst/base/gstpushsrc.h:
20013         * gst/base/gsttypefindhelper.c:
20014         * gst/base/gsttypefindhelper.h:
20015         * gst/check/Makefile.am:
20016         * gst/check/gstcheck.c:
20017         * gst/check/gstcheck.h:
20018         * gst/net/Makefile.am:
20019         * gst/net/gstnet.h:
20020         * gst/net/gstnetclientclock.c:
20021         * gst/net/gstnetclientclock.h:
20022         * gst/net/gstnettimepacket.c:
20023         * gst/net/gstnettimepacket.h:
20024         * gst/net/gstnettimeprovider.c:
20025         * gst/net/gstnettimeprovider.h:
20026         * libs/gst/Makefile.am:
20027         * libs/gst/base/Makefile.am:
20028         * libs/gst/base/gstbasetransform.c:
20029         * libs/gst/check/Makefile.am:
20030         * plugins/elements/Makefile.am:
20031         * po/POTFILES.in:
20032           CVS surgery + support to move base, check, and net out of gst
20033           and into libs/gst
20034
20035 2005-11-29  Andy Wingo  <wingo@pobox.com>
20036
20037         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
20038
20039         * gst/gststructure.h (struct _GstStructure): Only one pointer of
20040         padding.
20041
20042         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
20043
20044         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
20045
20046         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
20047
20048         * gst/gstobject.h: (struct _GstObject): Only one pointer of
20049         padding; reduces object size by about 30%. We don't expect
20050         anything else to go into gstobject.
20051
20052         * gst/gstminiobject.h (struct _GstMiniObject)
20053         (struct _GstMiniObjectClass): Only one pointer of padding; the
20054         payload is only a pointer and two ints anyway. For the class there
20055         are only two methods as well.
20056         
20057         * gst/gstelement.h (struct _GstElementClass): Removed
20058         the state_changed signal callback, it is not used.
20059
20060 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20061
20062         * docs/gst/gstreamer.types:
20063           fix includes, though they are a little dinky
20064
20065 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
20066
20067         * check/Makefile.am:
20068           look in the right place for elements, a lot more chance of
20069           success
20070         * gst/Makefile.am:
20071           remove indexers and elements subdirs
20072         * plugins/Makefile.am:
20073           make indexers conditional
20074
20075 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
20076
20077         * Makefile.am:
20078         * configure.ac:
20079         * plugins/elements/Makefile.am:
20080         * plugins/elements/gstcapsfilter.c:
20081         * plugins/elements/gstfilesink.c:
20082         * plugins/elements/gstfilesrc.c:
20083         * plugins/elements/gstidentity.c:
20084         * plugins/indexers/Makefile.am:
20085           do CVS surgery and related build fixery to move elements
20086           and indexers in a new gstreamer/plugins directory, out of the
20087           gst/ directory
20088
20089 2005-11-29  Andy Wingo  <wingo@pobox.com>
20090
20091         * check/Makefile.am:
20092         * pkgconfig/gstreamer-net-uninstalled.pc.in:
20093         * pkgconfig/gstreamer-net.pc.in:
20094         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
20095         #322257.
20096
20097 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20098
20099         * tools/Makefile.am:
20100         * tools/gst-complete.1.in:
20101         * tools/gst-complete.c:
20102         * tools/gst-compprep.1.in:
20103         * tools/gst-compprep.c:
20104           removing -compprep and -complete
20105
20106 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20107
20108         * gst/gstevent.c: (gst_event_new_new_segment),
20109         (gst_event_parse_new_segment):
20110         * gst/gstevent.h:
20111           fix #320529 - clean up new_segment API and structure.
20112           Let's hope everyone was using the methods, and not the structure.
20113
20114 2005-11-29  Edward Hervey  <edward@fluendo.com>
20115
20116         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20117         (gst_base_sink_event), (gst_base_sink_do_sync),
20118         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20119         Properly handle non GST_FORMAT_TIME segment
20120         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20121         Properly handle non GST_FORMAT_TIME segment
20122         * gst/gstsegment.c:
20123         This function is valid if the accumulator is 0 and the format
20124         is different from the requested format.
20125         
20126 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
20127
20128         * docs/gst/gstreamer-sections.txt:
20129         Add gst_query_new_seeking and gst_query_parse_seeking to the
20130         docs.
20131
20132 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
20133
20134         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20135           Treat a pad alloc with new caps the same as if we were not
20136           negotiated, in order to allow a changing upstream output
20137           to produce a new format of data.
20138
20139 2005-11-29  Edward Hervey  <edward@fluendo.com>
20140
20141         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20142         (gst_base_transform_event), (gst_base_transform_eventfunc):
20143         The event virtual method is now properly implemented, with a default
20144         handler
20145         Sub classes should call the parent_class event method. They should
20146         return FALSE if they had a problem handling the given event, or don't
20147         want GstBaseTransform to send that even downstream
20148         * gst/elements/gstidentity.c: (gst_identity_class_init),
20149         (gst_identity_init), (gst_identity_event),
20150         (gst_identity_transform_ip), (gst_identity_set_property),
20151         (gst_identity_get_property):
20152         * gst/elements/gstidentity.h:
20153         Added the single-segment boolean property.
20154         If set to TRUE, it will output a single segment of data, starting from
20155         0, will eat up all incoming newsegment, and modify the timestamp of the
20156         buffers accordingly
20157
20158 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
20159
20160         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
20161           Don't ref NULL target pad (#322751). Improve docs.
20162
20163 2005-11-29  Michael Smith  <msmith@fluendo.com>
20164
20165         * gst/gstregistryxml.c: (load_plugin):
20166           Don't crash if we failed to load a feature from a plugin. 
20167
20168 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20169
20170         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20171         (GST_START_TEST):
20172           use more check API and less GLib API
20173
20174 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20175
20176         * Makefile.am:
20177           don't run checks if we don't have check
20178         * common/check.mak:
20179           remove the registry when running make torture
20180         * docs/gst/gstreamer-sections.txt:
20181           remove second multiply
20182         * gst/gstqueue.c: (gst_queue_loop):
20183           fix a compile warning when disabling debug
20184
20185 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20186
20187         * gst/gstinfo.h:
20188         Hey! Let's print the pad name if the pointer != NULL instead
20189         of when it == NULL :-)
20190
20191 2005-11-28  Wim Taymans  <wim@fluendo.com>
20192
20193         * check/gst/gstutils.c: (GST_START_TEST):
20194         Updated check, add some scaling accuracy checking code.
20195
20196         * gst/gstutils.c: (gst_util_div128_64),
20197         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20198         (gst_util_uint64_scale_int):
20199         Fix 6 times faster division code. Optimize for common 
20200         1/1 and less common X/1 cases.
20201
20202 2005-11-28  Wim Taymans  <wim@fluendo.com>
20203
20204         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20205         More checks.
20206
20207         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20208         (do_linear_regression), (gst_clock_add_observation):
20209         Cleanups.
20210         Release lock when the clock cannot be slaved.
20211         Catch the case where the regression returned an invalid denominator.
20212
20213         * gst/gstutils.c: (gst_util_div128_64_iterate),
20214         (gst_util_div128_64), (gst_util_uint64_scale_int64),
20215         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20216         Add protentially more performant non-iterative 128/64 divide function
20217         that unfortunatly does not work yet.
20218         Shortcut the trivial 0/X = 0 case.
20219         Remove the warnings on overflow.
20220
20221 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20222
20223         * gst/gstplugin.c: (gst_plugin_register_func):
20224           everything causing a plugin not to load should be at least a WARNING
20225
20226 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
20227
20228         * docs/random/ensonic/dparams.txt:
20229           some TODOs for the next dev cycle
20230         * libs/gst/controller/gstcontroller.c:
20231         (gst_controlled_property_set_interpolation_mode),
20232         (gst_controlled_property_new):
20233         * libs/gst/controller/gstcontroller.h:
20234           use base type to assign acccessor functions
20235
20236 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20237
20238         * check/Makefile.am:
20239         Oops, that should have been top_srcdir
20240
20241 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20242
20243         * check/Makefile.am:
20244         * check/elements/fdsrc.c: (GST_START_TEST):
20245         Use a cmdline define to specify the location of a file to use for
20246         testing, to avoid breaking distcheck.
20247
20248 2005-11-28  Andy Wingo  <wingo@pobox.com>
20249
20250         * gst/gstpad.c (fixate_value): Use array functions for arrays.
20251
20252 2005-11-28  Edward Hervey  <edward@fluendo.com>
20253
20254         * tools/gst-launch.c: (main):
20255         Clarify the output strings, makes it easier to translate.
20256         Fixes #322626
20257
20258 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20259
20260         * gst/Makefile.am:
20261           don't try and build net if we don't even have <sys/socket.h>
20262
20263 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
20264
20265         * check/Makefile.am:
20266         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20267         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20268           Add tests for fdsrc seekability
20269
20270         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20271         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20272         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20273         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20274         * gst/elements/gstfdsrc.h:
20275           fdsrc should not be a 'live' source.
20276           Implement seeking on seekable fd's.
20277
20278         * gst/gstquery.c: (gst_query_new_seeking),
20279         (gst_query_parse_seeking):
20280         * gst/gstquery.h:
20281           Implement SEEKING query functions: 
20282             *_new_seeking and *_parse_seeking
20283
20284 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
20285
20286         * gst/gstelement.c: (gst_element_dispose):
20287           don't loop forever
20288
20289         * gst/gstiterator.c:
20290         * gst/gststructure.c:
20291           doc fixes
20292
20293         * libs/gst/controller/gstcontroller.c:
20294         (gst_controlled_property_set_interpolation_mode):
20295         * libs/gst/controller/gstcontroller.h:
20296         * libs/gst/controller/gstinterpolation.c:
20297         (interpolate_none_get_enum_value_array):
20298           support controlling enums
20299
20300 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20301
20302         * gst/gstvalue.c:
20303           Improve documentation for gst_value_union().
20304
20305         * gst/gstvalue.h:
20306           Change return value for union, intersect and subtract functions
20307           from gint to gboolean.
20308
20309 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20310
20311         * gst/gstvalue.c: (gst_value_serialize_any_list),
20312         (gst_value_transform_any_list_string),
20313         (gst_value_deserialize_list), (gst_value_deserialize_array),
20314         (gst_value_set_int_range), (gst_value_deserialize_int_range),
20315         (gst_value_set_double_range), (gst_value_deserialize_double_range),
20316         (gst_value_set_fraction_range_full),
20317         (gst_value_deserialize_fraction_range),
20318         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20319         (gst_value_deserialize_boolean),
20320         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20321         (gst_value_serialize_float), (gst_value_deserialize_float),
20322         (gst_string_wrap), (gst_value_deserialize_string),
20323         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20324         (gst_value_union_int_range_int_range),
20325         (gst_value_intersect_int_range_int_range),
20326         (gst_value_intersect_double_range_double_range),
20327         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20328         (gst_value_subtract_int_range_int_range),
20329         (gst_value_subtract_double_double_range),
20330         (gst_value_subtract_double_range_double_range),
20331         (gst_value_deserialize_fraction):
20332         * gst/gstvalue.h:
20333           Use gint, gdouble and gchar in our API instead of int, double and
20334           char (and make usage in gstvalue.c more consistent).
20335
20336 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20337
20338         * check/Makefile.am:
20339         * libs/gst/controller/Makefile.am:
20340         * libs/gst/dataprotocol/Makefile.am:
20341           fix up Makefile.am and remove GST_ENABLE_NEW
20342
20343 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20344
20345         * configure.ac:
20346         * gst/Makefile.am:
20347         * gst/base/Makefile.am:
20348         * gst/check/Makefile.am:
20349         * gst/elements/Makefile.am:
20350         * gst/net/Makefile.am:
20351           update LDFLAGS use some more
20352
20353 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20354
20355         * common/m4/gst-doc.m4:
20356           Fixes #312589
20357
20358 2005-11-26  Edward Hervey  <edward@fluendo.com>
20359
20360         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20361         This shouldn't issue a g_warning since it returns NULL if it
20362         couldn't find the plugin, and all functions using this behave
20363         properly on a NULL return. Switching to a GST_WARNING.
20364
20365 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
20366
20367         * gst/gstbin.c: (gst_bin_handle_message_func):
20368         Don't leak clock messages.
20369
20370 2005-11-25  Wim Taymans  <wim@fluendo.com>
20371
20372         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20373         (gst_util_uint64_scale_int):
20374         Optimisations, remove unneeded vars.
20375
20376 2005-11-25  Wim Taymans  <wim@fluendo.com>
20377
20378         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20379         Added more checks for the high precision uint64 cases.
20380
20381         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20382         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20383         Implement high precision (guint64 * guint64) / guint64.
20384
20385 2005-11-24  Wim Taymans  <wim@fluendo.com>
20386
20387         * gst/base/gstbasesrc.c: (gst_base_src_query):
20388         Fix wrong percentage query.
20389
20390         * gst/gstutils.c: (gst_util_uint64_scale),
20391         (gst_util_uint64_scale_int):
20392         Add some more common cases that can be handled 
20393         efficiently to _scale.
20394
20395 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20396
20397         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20398         (gst_mini_object_suite):
20399           don't use check calls from threads; check probably isn't
20400           threadsafe and using a lock to make it threadsafe would
20401           defeat the purpose of this check
20402         * gst/check/gstcheck.c:
20403         * gst/check/gstcheck.h:
20404           use GST_DEBUG some more
20405
20406 2005-11-24  Wim Taymans  <wim@fluendo.com>
20407
20408         * gst/gstutils.c: (gst_util_uint64_scale),
20409         (gst_util_uint64_scale_int):
20410         Chain trivial case to _scale_int.
20411
20412 2005-11-24  Wim Taymans  <wim@fluendo.com>
20413
20414         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20415         Added test for scaling.
20416
20417         * gst/gstclock.h:
20418         Small doc fix.
20419
20420         * gst/gstutils.c: (gst_util_uint64_scale_int):
20421         Implemented high precision scaling code.
20422
20423 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
20424
20425         * gst/gstinfo.h:
20426           do not crash on pad==NULL
20427
20428 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20429
20430         Patch by: Stefan Kost
20431
20432         * common/gtk-doc.mak:
20433         * docs/gst/Makefile.am:
20434         * docs/libs/Makefile.am:
20435           Fix distcheck issues for the libraries docs build
20436           Closes #319599.
20437
20438 2005-11-24  Michael Smith <msmith@fluendo.com>
20439
20440         * docs/manual/basics-helloworld.xml:
20441           Fix bug #315027: memory leak in example code in docs.
20442
20443 2005-11-24  Michael Smith <msmith@fluendo.com>
20444
20445         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20446           Unlock the PREROLL_LOCK in a failure case.
20447
20448 2005-11-24  Wim Taymans  <wim@fluendo.com>
20449
20450         * docs/gst/gstreamer-sections.txt:
20451         * gst/base/gstadapter.h:
20452         * gst/base/gstbasesink.h:
20453         * gst/base/gstbasesrc.h:
20454         * gst/base/gstbasetransform.h:
20455         * gst/base/gstpushsrc.h:
20456         * gst/elements/gstfakesink.h:
20457         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20458         * gst/elements/gstfakesrc.h:
20459         * gst/elements/gstfilesink.h:
20460         * gst/elements/gstfilesrc.h:
20461         * gst/gst.c:
20462         * gst/gstbin.c:
20463         * gst/gstbuffer.c: (_gst_buffer_copy):
20464         * gst/gstbus.h:
20465         * gst/gstcaps.c:
20466         * gst/gstchildproxy.c:
20467         * gst/gstclock.c:
20468         * gst/gstelement.c:
20469         * gst/gstelementfactory.c:
20470         * gst/gstelementfactory.h:
20471         * gst/gstevent.c:
20472         * gst/gstghostpad.h:
20473         * gst/gstindex.h:
20474         * gst/gstinterface.h:
20475         * gst/gstminiobject.c:
20476         * gst/gstminiobject.h:
20477         * gst/gstpad.c:
20478         * gst/gstpad.h:
20479         * gst/gstpadtemplate.h:
20480         * gst/gstpipeline.h:
20481         * gst/gstpluginfeature.h:
20482         * gst/gstquery.h:
20483         * gst/gstqueue.h:
20484         * gst/gsttaglist.c:
20485         * gst/gsttaglist.h:
20486         * gst/gsttagsetter.c:
20487         * gst/gsttagsetter.h:
20488         * gst/gsttrace.c:
20489         * gst/gsttrace.h:
20490         * gst/gsttypefind.h:
20491         * gst/gsturi.h:
20492         * gst/gstvalue.c:
20493         * gst/net/gstnetclientclock.c:
20494         * gst/net/gstnetclientclock.h:
20495         * gst/net/gstnettimepacket.c:
20496         * gst/net/gstnettimeprovider.c:
20497         * gst/net/gstnettimeprovider.h:
20498         Doc fixes.
20499
20500 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20501
20502         * configure.ac: back to HEAD
20503
20504 === release 0.9.6 ===
20505
20506 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20507
20508         * configure.ac:
20509           releasing 0.9.6, "Always On Time"
20510
20511 2005-11-23  Wim Taymans  <wim@fluendo.com>
20512
20513         * docs/gst/gstreamer-sections.txt:
20514         * gst/glib-compat.c:
20515         * gst/gsttagsetter.c:
20516         * gst/gstvalue.c:
20517         * gst/net/gstnetclientclock.c:
20518         * gst/net/gstnettimepacket.h:
20519         Doc updates.
20520
20521 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20522
20523         * docs/faq/using.xml:
20524         * docs/libs/tmpl/gstcontrol.sgml:
20525         * docs/manual/advanced-dparams.xml:
20526         * docs/manual/appendix-checklist.xml:
20527         * docs/manual/basics-elements.xml:
20528         * docs/pwg/other-source.xml:
20529         * docs/random/moving-plugins:
20530         * gst/gstpad.c:
20531         * tools/gst-launch.1.in:
20532           remove mentions of sinesrc
20533
20534 2005-11-23  Michael Smith <msmith@fluendo.com>
20535
20536         * docs/gst/gstreamer-sections.txt:
20537           Update for new API and API changes.
20538         * gst/gstobject.h:
20539           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20540         * gst/gstvalue.c:
20541           Documentation typo fix.
20542         * gst/net/gstnettimepacket.c:
20543           Documentation fixes for arguments.
20544
20545 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20546
20547         * gst/gststructure.c: (gst_structure_get_fraction),
20548         (gst_structure_parse_value),
20549         (gst_structure_fixate_field_nearest_fraction):
20550         * gst/gststructure.h:
20551         * gst/gstutils.c: (gst_util_uint64_scale_int):
20552         * gst/gstutils.h:
20553         * scripts/update-funcnames:
20554         API Changes. 
20555         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20556         Make gst_structure_fixate_field_nearest_fraction take a numerator
20557         and denominator argument instead of a GValue
20558         add gst_structure_get_fraction helper function.
20559
20560 2005-11-23  Wim Taymans  <wim@fluendo.com>
20561
20562         * docs/design/part-TODO.txt:
20563         Update TODO.
20564
20565         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20566         * gst/net/gstnetclientclock.h:
20567         Use parent fields for timeout and window_size.
20568
20569 2005-11-23  Andy Wingo  <wingo@pobox.com>
20570
20571         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20572         rate_num/rate_denom change.
20573
20574         * gst/net/gstnetclientclock.c
20575         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20576         OBJECT_LOCK. Don't call add_observation with the lock.
20577
20578         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20579         fraction.
20580         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20581         rate fraction.
20582         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20583         deal with rate as a fraction whose numerator and denominator are
20584         GstClockTime values.
20585         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20586         master; the other fields are protected by the SLAVE_LOCK.
20587         (do_linear_regression): Note that this must be called with the
20588         SLAVE_LOCK.
20589         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20590         OBJECT_LOCK. Call set_calibration instead of touching the
20591         variables directly.
20592         (gst_clock_set_property, gst_clock_get_property): Protect
20593         master/slave parameters with the SLAVE_LOCK.
20594
20595         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20596         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20597         note that all of the instance variables that add_observation and
20598         the set_master functions use are protected by that lock and not
20599         the OBJECT_LOCK.
20600         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20601
20602         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20603         the caller to take the object lock.
20604
20605 2005-11-23  Wim Taymans  <wim@fluendo.com>
20606
20607         * gst/gsterror.c: (_gst_core_errors_init):
20608         * gst/gsterror.h:
20609         Add error for clock stuff.
20610
20611         * gst/gstpipeline.c: (gst_pipeline_change_state),
20612         (gst_pipeline_set_clock):
20613         Post clock error when clock cannot be used in a pipeline.
20614
20615 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20616
20617         * docs/gst/gstreamer-sections.txt:
20618           make two symbols from gstinfo private for the docs
20619         * gst/base/gstcollectpads.h:
20620         * gst/gstutils.c:
20621           fix doc typos, update docs
20622
20623 2005-11-22  Wim Taymans  <wim@fluendo.com>
20624
20625         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20626         (gst_base_sink_wait), (gst_base_sink_do_sync),
20627         (gst_base_sink_handle_event):
20628         * gst/base/gstbasesink.h:
20629         No need to store the clock, the parent element class already
20630         has it.
20631
20632         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20633         Updates for clock_set returning a gboolean
20634
20635         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20636         (gst_clock_id_wait_async), (gst_clock_class_init),
20637         (gst_clock_init), (gst_clock_finalize),
20638         (gst_clock_get_internal_time), (gst_clock_get_time),
20639         (gst_clock_slave_callback), (gst_clock_set_master),
20640         (gst_clock_get_master), (do_linear_regression),
20641         (gst_clock_add_observation), (gst_clock_set_property),
20642         (gst_clock_get_property):
20643         * gst/gstclock.h:
20644         Implement master/slave. When setting a clock as a slave, a
20645         periodic timeout is scheduled to sample master and slave times.
20646         Then the slave clock is recalibrated to match offset and rate
20647         of the master clock.
20648         Update logging a bit.
20649         Add flag so that a clock can state that is cannot be slaved to
20650         another clock.
20651
20652         * gst/gstelement.c: (gst_element_set_clock):
20653         * gst/gstelement.h:
20654         The set clock returns a gboolean for when an element cannot
20655         deal with the selected clock in the pipeline. 
20656
20657         * gst/gstpipeline.c: (gst_pipeline_change_state),
20658         (gst_pipeline_set_clock):
20659         * gst/gstpipeline.h:
20660         Handle the case where the selected clock cannot be set on
20661         the pipeline.
20662
20663         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20664         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20665         (gst_net_client_clock_set_property),
20666         (gst_net_client_clock_get_property),
20667         (gst_net_client_clock_observe_times):
20668         * gst/net/gstnetclientclock.h:
20669         Use regression code in GstClock parent, remove duplicated
20670         functionality.
20671
20672 2005-11-22  Michael Smith <msmith@fluendo.com>
20673
20674         * gst/gstutils.c: (gst_util_clock_time_scale):
20675         * gst/gstutils.h:
20676         * docs/gst/gstreamer-sections.txt:
20677           Rename method to have extra underscore.
20678
20679 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20680
20681         * gst/elements/Makefile.am:
20682         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20683         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20684         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20685         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20686         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20687         * gst/elements/gstfakesrc.h:
20688         * gst/gstqueue.c: (queue_leaky_get_type):
20689           correctly fix GEnumValues so that nick is the short lowercase
20690           dashed tag
20691         * tools/gst-inspect.c: (print_element_properties_info):
20692           also show the nick, since it's useful to use from parse_launch
20693           syntax
20694           Fixes #322139
20695
20696 2005-11-22  Michael Smith <msmith@fluendo.com>
20697
20698         * gst/gstutils.c: (gst_util_clocktime_scale):
20699         * gst/gstutils.h:
20700         * docs/gst/gstreamer-sections.txt:
20701           Add util method for scaling a clocktime by a fraction. Useful 
20702           implementation is left as an exercise for the reader.
20703
20704 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20705
20706         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20707         If needed, allocate storage in the destination value during
20708         collection.
20709
20710 2005-11-22  Edward Hervey  <edward@fluendo.com>
20711
20712         * docs/gst/gstreamer-sections.txt:
20713         * gst/Makefile.am:
20714         * gst/gst.h:
20715         * gst/gsturitype.c:
20716         * gst/gsturitype.h:
20717         * gst/gstutils.c: (gst_util_set_object_arg):
20718         * tools/gst-compprep.c: (main):
20719         * tools/gst-inspect.c: (print_element_properties_info):
20720         Removed GstURI, closes bug #321061
20721
20722 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20723
20724         * check/gst/gststructure.c: (GST_START_TEST):
20725         * gst/gststructure.c: (gst_structure_parse_value):
20726           Oops, broke automatic string type parsing.
20727           Add a test to catch it in future.
20728
20729 2005-11-22  Andy Wingo  <wingo@pobox.com>
20730
20731         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20732         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20733         Actually rename the function implementations. Grr.
20734
20735 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20736
20737         * check/gst/capslist.h:
20738           Comment test cases
20739         * check/gst/gststructure.c: (GST_START_TEST),
20740         (gst_structure_suite):
20741           Test automatic value type detection in gst_structure_from_string.
20742         * gst/gststructure.c: (gst_structure_parse_value):
20743           Add fraction as a type we try and guess automatically in
20744           caps/structure strings.
20745
20746 2005-11-22  Andy Wingo  <wingo@pobox.com>
20747
20748         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20749
20750         * gst/gsttagsetter.h:
20751         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20752         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20753         (gst_tag_setter_add_tag_valist)
20754         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20755         _add_values, _add_valist, and _add_valist_values. Since this is an
20756         interface the function suffixes should be more explicit so
20757         language binding don't end up with element.add_valist ->
20758         gst_tag_setter_add_valist, for example. Fixes #322069.
20759
20760 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20761
20762         * check/gst/gstcaps.c: (GST_START_TEST):
20763           Extend caps string tests to check that a caps to string
20764           conversion is reversible and produces the same caps.
20765
20766         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20767           Output "fraction" as the generic type fraction range, so caps
20768           serialisation and deserialisation works.
20769         * check/gst/capslist.h:
20770         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20771           Support 'MIN' and 'MAX' for deserialising fractions.
20772
20773 2005-11-22  Andy Wingo  <wingo@pobox.com>
20774
20775         * gst/gstevent.h (gst_event_new_new_segment)
20776         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20777         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20778         Renamed from *_newsegment, *_buffersize, *_notarget.
20779
20780         * scripts/update-funcnames: New script, performs the changes
20781         listed above.
20782
20783 2005-11-22  Wim Taymans  <wim@fluendo.com>
20784
20785         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20786         Make sure the GstFlowReturn is returned.
20787
20788         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20789         (gst_bus_add_signal_watch):
20790         * gst/gstbus.h:
20791         add gst_bus_add_signal_watch_full.
20792
20793         * gst/gstplugin.c: (gst_plugin_load_file):
20794         Small style cleanup.
20795
20796 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20797
20798         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20799           Block the fakesrc srcpad when we send an event, to avoid
20800           contention on the stream_lock causing random test failures.
20801
20802 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20803
20804         * check/gst/gstvalue.c: (GST_START_TEST):
20805         * gst/gstvalue.c: (gst_value_fraction_subtract):
20806           Fix subtraction.
20807
20808 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20809
20810         * gst/gst.h:
20811           include "gstchildproxy.h"
20812         * gst/gstchildproxy.h:
20813         * libs/gst/controller/gstcontroller.h:
20814           use G_GNUC_NULL_TERMINATED
20815
20816 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20817
20818         * check/gst/capslist.h:
20819         * check/gst/gstcaps.c: (GST_START_TEST):
20820         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20821         * gst/gststructure.c: (gst_structure_parse_range),
20822         (gst_structure_fixate_field_nearest_fraction):
20823         * gst/gststructure.h:
20824         * gst/gstvalue.c: (gst_value_init_fraction_range),
20825         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20826         (gst_value_collect_fraction_range),
20827         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20828         (gst_value_set_fraction_range_full),
20829         (gst_value_get_fraction_range_min),
20830         (gst_value_get_fraction_range_max),
20831         (gst_value_serialize_fraction_range),
20832         (gst_value_transform_fraction_range_string),
20833         (gst_value_compare_fraction_range),
20834         (gst_value_deserialize_fraction_range),
20835         (gst_value_intersect_fraction_fraction_range),
20836         (gst_value_intersect_fraction_range_fraction_range),
20837         (gst_value_subtract_fraction_fraction_range),
20838         (gst_value_subtract_fraction_range_fraction),
20839         (gst_value_subtract_fraction_range_fraction_range),
20840         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20841         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20842         (gst_value_transform_string_fraction), (_gst_value_initialize):
20843         * gst/gstvalue.h:
20844           Implement fraction ranges and extend GstFraction to support
20845           arithmetic subtraction, as well as deserialization from integer
20846           strings such as "100"
20847           Add a testsuite as for int and double range set operations
20848
20849 2005-11-21  Andy Wingo  <wingo@pobox.com>
20850
20851         * gst/gsttaglist.h: 
20852         * gst/gstcaps.h: 
20853         * gst/gststructure.h: Add glib-compat.h.
20854
20855 2005-11-21  Wim Taymans  <wim@fluendo.com>
20856
20857         * gst/gstbin.c: (gst_bin_change_state_func):
20858         Fix for #321595
20859
20860 2005-11-21  Wim Taymans  <wim@fluendo.com>
20861
20862         * gst/gstsegment.h:
20863         And add a nice define too.
20864
20865 2005-11-21  Wim Taymans  <wim@fluendo.com>
20866
20867         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20868         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20869         (gst_segment_set_duration), (gst_segment_set_last_stop),
20870         (gst_segment_set_seek), (gst_segment_set_newsegment),
20871         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20872         (gst_segment_clip):
20873         * gst/gstsegment.h:
20874         Make binding friendly.
20875
20876 2005-11-21  Andy Wingo  <wingo@pobox.com>
20877
20878         * gst/gsttagsetter.h: 
20879         * gst/gsttaglist.h: 
20880         * gst/gststructure.h: 
20881         * gst/gstcaps.h: 
20882         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20883         #319940.
20884
20885         * gst/gsterror.c (_gst_core_errors_init):
20886         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20887         category.
20888
20889         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20890         (noinst_HEADERS): noinst the -private.
20891
20892 2005-11-21  Michael Smith <msmith@fluendo.com>
20893
20894         * gst/gstplugin.h:
20895         * gst/gstregistry.h:
20896           Remove unimplemented declarations for which we can see no sensible
20897           use.
20898
20899 2005-11-21  Andy Wingo  <wingo@pobox.com>
20900
20901         * gst/gst.h: Include glib-compat.h.
20902
20903         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20904
20905         * gst/glib-compat.c: Include the public and the private header.
20906
20907         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20908
20909         * gst/gstvalue.c: 
20910         * gst/gstpad.c: 
20911         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20912
20913         * check/gst/gstevent.c (create_custom_events): Check that
20914         FLUSH_STOP is serialized.
20915
20916         * check/elements/identity.c (event_func): 
20917         * check/elements/fakesrc.c (event_func): No stream lock, the core
20918         takes it.
20919
20920         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20921         stream lock taking, yay.
20922
20923         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20924         ensure that core takes the stream lock.
20925
20926         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20927         lock name change.
20928
20929         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20930         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20931         it already. For the flush start we do take it though so we get the
20932         right preroll state change messages.
20933
20934         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20935         the stream lock here, the core does it for us.
20936
20937         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20938         GST_STREAM_GET_LOCK.
20939         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20940         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20941         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20942         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20943         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20944         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20945
20946         * gst/gstpad.c: Update for stream lock name change.
20947
20948         * gst/base/gstbasesink.c: Update for preroll lock name change.
20949
20950 2005-11-21  Wim Taymans  <wim@fluendo.com>
20951
20952         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20953         (gst_clock_get_master):
20954         * gst/gstclock.h:
20955         * gst/gstsystemclock.c: (gst_system_clock_init):
20956         Convert Clock flags to object flags.
20957         Added methods to manage master/slave clocks.
20958
20959 2005-11-21  Wim Taymans  <wim@fluendo.com>
20960
20961         * check/gst/gstsegment.c: (GST_START_TEST):
20962         * docs/design/part-TODO.txt:
20963         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20964         (gst_base_sink_event), (gst_base_sink_do_sync),
20965         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20966         (gst_base_sink_query), (gst_base_sink_change_state):
20967         * gst/base/gstbasesink.h:
20968         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20969         (gst_base_src_default_newsegment),
20970         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20971         (gst_base_src_get_range), (gst_base_src_loop),
20972         (gst_base_src_change_state):
20973         * gst/base/gstbasesrc.h:
20974         * gst/base/gstbasetransform.c:
20975         (gst_base_transform_prepare_output_buf),
20976         (gst_base_transform_event), (gst_base_transform_change_state):
20977         * gst/base/gstbasetransform.h:
20978         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20979         (gst_collect_pads_event):
20980         * gst/base/gstcollectpads.h:
20981         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20982         (gst_fake_src_create):
20983         * gst/elements/gstfakesrc.h:
20984         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20985         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20986         (gst_segment_set_last_stop), (gst_segment_set_seek),
20987         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20988         (gst_segment_to_running_time), (gst_segment_clip):
20989         * gst/gstsegment.h:
20990         More segment updates, replace code in plugins with segment
20991         helper functions.
20992
20993 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20994
20995         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20996         Don't ignore sscanf results
20997
20998 2005-11-21  Andy Wingo  <wingo@pobox.com>
20999
21000         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
21001
21002         * *.h:
21003         * *.c: Ran scripts/update-macros. Oh yes.
21004
21005         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
21006         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
21007         GST_GET_LOCK, etc.
21008
21009         * scripts/update-macros: New script. Run it on your files to
21010         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
21011         well.
21012
21013 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
21014
21015         * docs/gst/Makefile.am:
21016         * docs/gst/gstreamer-docs.sgml:
21017         * docs/gst/gstreamer-sections.txt:
21018         * docs/gst/gstreamer.types:
21019         * gst/gstinfo.h:
21020           more docs fixes, add new api to the docs
21021
21022 2005-11-21  Andy Wingo  <wingo@pobox.com>
21023
21024         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
21025         state_broadcast call.
21026
21027         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
21028
21029 2005-11-21  Julien MOUTTE  <julien@moutte.net>
21030
21031         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
21032         function calls for arrays.
21033
21034 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
21035
21036         * docs/random/ensonic/media-device-daemon.txt:
21037           wild idea, can this be done?
21038         * docs/gst/gstreamer-sections.txt:
21039         * gst/gsterror.h:
21040         * gst/gstfilter.c:
21041         * gst/gstfilter.h:
21042         * gst/gstplugin.h:
21043         * gst/gstpluginfeature.c:
21044         * gst/gsttrace.c:
21045         * gst/gstvalue.c:
21046         * gst/gstvalue.h:
21047           doc fixes and additions
21048
21049 2005-11-21  Andy Wingo  <wingo@pobox.com>
21050
21051         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
21052         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
21053         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
21054         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
21055         private to the basesrc implementation.
21056
21057         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
21058         behalf of event function if necessary. It should no longer be
21059         necessary to take the stream lock in pad's event functions. Fixes
21060         #320299.
21061
21062 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
21063         * docs/gst/gstreamer-sections.txt:
21064         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
21065         (gst_structure_fixate_field_nearest_double),
21066         (gst_structure_fixate_field_boolean):
21067         * gst/gststructure.h:
21068         * win32/common/libgstreamer.def:
21069         * win32/gstreamer.def:
21070
21071         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
21072         (#322027)
21073
21074 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
21075
21076         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
21077         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
21078         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
21079         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
21080         (gst_fdsrc_uri_handler_init):
21081         * gst/elements/gstfdsrc.h:
21082           Port fd:// URI handler from 0.8 to fdsrc
21083
21084 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21085
21086         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
21087         (gst_value_serialize_fourcc):
21088         * gst/gstvalue.h:
21089           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
21090           consistent with our other format defines (#320324).
21091
21092 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21093
21094         * gst/gstvalue.c: (gst_value_is_fixed):
21095           Revert previous commit. Value lists are by definition
21096           not fixed, as they are a list of possible values.
21097
21098 2005-11-21  Andy Wingo  <wingo@pobox.com>
21099
21100         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
21101         during the stable series if we need it. Fixes #319178.
21102
21103         * gst/gstevent.c (gst_event_new_filler): Removed.
21104
21105         * check/gst/gstevent.c: Update comment about filler events.
21106
21107 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21108
21109         * gst/gstvalue.c: (gst_value_is_fixed):
21110           Should handle both value arrays and value lists.
21111
21112 2005-11-21  Andy Wingo  <wingo@pobox.com>
21113
21114         patch by: Alessandro Dessina <alessandro nnva org>
21115
21116         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
21117         functions to access arrays. Fixes #321962.
21118
21119 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21120
21121         * docs/gst/gstreamer.types:
21122           gst_collectpads_get_type => gst_collect_pads_get_type.
21123           
21124         * gst/base/gstbasetransform.c:
21125           Remove unused SIGNAL_HANDOFF enum.
21126
21127 2005-11-21  Andy Wingo  <wingo@pobox.com>
21128
21129         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
21130         the event type (upstream, downstream, serialized). Renamed
21131         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
21132         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
21133         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
21134
21135         * gst/gstevent.c: Update for new CUSTOM event names.
21136
21137         * check/gst/gstevent.c: Update check for new CUSTOM event names.
21138
21139         * gst/gstevent.h:
21140         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
21141         bug #319392.
21142
21143 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21144
21145         * docs/gst/gstreamer-sections.txt:
21146         * win32/common/libgstbase.def:
21147         * win32/libgstbase.def:
21148         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
21149         (gst_collect_pads_class_init), (gst_collect_pads_init),
21150         (gst_collect_pads_finalize), (gst_collect_pads_new),
21151         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
21152         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
21153         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
21154         (gst_collect_pads_start), (gst_collect_pads_stop),
21155         (gst_collect_pads_peek), (gst_collect_pads_pop),
21156         (gst_collect_pads_available), (gst_collect_pads_read),
21157         (gst_collect_pads_flush), (gst_collect_pads_event),
21158         (gst_collect_pads_chain):
21159         * gst/base/gstcollectpads.h:
21160           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
21161           unimplemented functions as unimplemented. Add padding to
21162           GstCollectData. (#320766, #320423)
21163
21164 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21165
21166         * gst/gstmessage.c:
21167           Improve docs for DURATION message (usage of duration parameter)
21168           (#320113)
21169
21170 2005-11-20  Wim Taymans  <wim@fluendo.com>
21171
21172         * check/Makefile.am:
21173         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
21174         (main):
21175         * gst/Makefile.am:
21176         * gst/gst.h:
21177         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
21178         (gst_segment_set_seek), (gst_segment_set_newsegment),
21179         (gst_segment_to_stream_time), (gst_segment_to_running_time),
21180         (gst_segment_clip):
21181         * gst/gstsegment.h:
21182         Added segment helper structure and methods. Not fully implemented
21183         yet.
21184         Added segment check.
21185
21186 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
21187
21188         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21189           Add a deserialisation test for fractions
21190         * examples/metadata/read-metadata.c: (message_loop),
21191         (make_pipeline), (main):
21192           Fix up metadata reading sample.
21193         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21194           Debug format fix
21195         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21196           Don't try and fixate empty caps
21197         * gst/gst_private.h:
21198           Wrap in G_BEGIN_DECLS/G_END_DECLS
21199         * gst/gstvalue.c: (gst_value_collect_fraction),
21200         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21201         (gst_value_transform_string_fraction),
21202         (gst_value_compare_fraction):
21203           Add some extra guards to ensure that we don't end up 
21204           with an invalid denominator of 0 in a gstfraction and
21205           that fractions always get reduced.
21206
21207 2005-11-20  Wim Taymans  <wim@fluendo.com>
21208
21209         * docs/gst/gstreamer-sections.txt:
21210         * gst/gstbuffer.h:
21211         * gst/gstelement.c:
21212         * gst/gstformat.c:
21213         * gst/gstformat.h:
21214         * gst/gstindex.h:
21215         * gst/gstquery.c:
21216         * gst/gstquery.h:
21217         * gst/gstvalue.c:
21218         Doc fixes.
21219
21220 2005-11-20  Wim Taymans  <wim@fluendo.com>
21221
21222         * docs/design/part-TODO.txt:
21223         * gst/gstcaps.h:
21224         Make a proper enum of the flag.
21225
21226 2005-11-19  Wim Taymans  <wim@fluendo.com>
21227
21228         * docs/design/part-TODO.txt:
21229         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21230         (gst_format_to_quark), (gst_format_register):
21231         * gst/gstformat.h:
21232         * gst/gstquery.c: (_gst_query_initialize),
21233         (gst_query_type_get_name), (gst_query_type_to_quark),
21234         (gst_query_type_register):
21235         * gst/gstquery.h:
21236         Add type to quark and type to string conversions.
21237
21238 2005-11-19  Andy Wingo  <wingo@pobox.com>
21239
21240         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21241         #320097.
21242
21243 2005-11-19  Wim Taymans  <wim@fluendo.com>
21244
21245         * docs/design/part-TODO.txt:
21246         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21247         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21248         (gst_bin_handle_message_func):
21249         * gst/gstbin.h:
21250         Make message handling overridable.
21251
21252 2005-11-19  Andy Wingo  <wingo@pobox.com>
21253
21254         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21255
21256         * gst/gstclock.h:
21257         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21258         be a GstClockTime.
21259         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21260         is a GstClockTime. Fixes #321710.
21261
21262         * gst/gstclock.h (GstClock): Remove offset property. Add
21263         internal_calibration and external_calibration. Fix padding. Pad
21264         also by GstClockTime so we don't run into problems.
21265
21266         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21267         (gst_clock_get_rate_offset): Remove.
21268         (gst_clock_set_time_adjust): Remove. Fixes #321712.
21269
21270         * gst/gstutils.h:
21271         * gst/gstutils.c (g_static_rec_cond_wait)
21272         (g_static_rec_cond_timed_wait): Removed, no longer needed.
21273
21274         * gst/gstbin.c: Remove terrible continue_state prototype.
21275
21276         * gst/gstelement.h (gst_element_continue_state): Make public.
21277
21278         * gst/gstelement.h:
21279         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21280         by continue_state. Fixes #319389.
21281
21282         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21283         Really fixes #168438. However I don't see anywhere where the
21284         filter function is called... stupid GStreamer...
21285         
21286         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21287         don't have a dispose function, so it won't get called when the
21288         object is unreffed, but oh well!
21289
21290         * gst/gstindex.c (gst_index_set_filter_full): New API function,
21291         allows a destroy function to be set so user_data can be freed.
21292         Fixes #168438.
21293         (gst_index_set_filter): Call gst_index_set_filter_full.
21294
21295         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21296
21297         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21298         string should produce an error, given the lack of a way to
21299         represent NULL strings. Fixes #165650.
21300         
21301         * gst/gstvalue.h: 
21302         * gst/gstvalue.c (gst_value_array_append_value) 
21303         (gst_value_array_prepend_value, gst_value_array_get_size) 
21304         (gst_value_array_get_value): New API, copied from
21305         gst_value_list_*, only operates on arrays.
21306         (gst_value_list_append_value, gst_value_list_prepend_value) 
21307         (gst_value_list_concat, gst_value_list_get_size) 
21308         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21309
21310         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21311         init_list, because it works on both.
21312         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21313         (gst_value_copy_list_or_array): Renamed from copy_list.
21314         (gst_value_free_list_or_array): Renamed from free_list.
21315         (gst_value_collect_list_or_array): Renamed from collect_list.
21316         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21317         (gst_value_list_or_array_peek_pointer): Renamed from
21318         list_peek_pointer.
21319         (_gst_value_array_value_table, _gst_value_list_value_table):
21320         Update value table functions.
21321         (gst_value_compare_list_or_array): Renamed from compare_list.
21322
21323         * gsttaglist.h: Whoops, foreach function returns void. Also fix
21324         some constness.
21325
21326         * gst/gsttaglist.c:
21327         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21328         GstTagList*. Fixes #143472.
21329
21330         * gst/gststructure.h: Clarify what the foreach/map functions can
21331         or can't do to their arguments.
21332
21333 2005-11-18  Wim Taymans  <wim@fluendo.com>
21334
21335         * gst/gstclock.c: (gst_clock_set_calibration),
21336         (gst_clock_get_calibration):
21337         Doc and API fixes.
21338         Calibration can be set with internal time equal to current
21339         internal time too.
21340
21341 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21342
21343         * gst/gsterror.c:
21344         * gst/gsterror.h:
21345           document
21346
21347 2005-11-18  Andy Wingo  <wingo@pobox.com>
21348
21349         * configure.ac: 
21350         * pkgconfig/gstreamer-net.pc.in:
21351         * pkgconfig/gstreamer-net-uninstalled.pc.in:
21352         * pkgconfig/Makefile.am: Add net pkgconfig files.
21353
21354 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
21355
21356         * gst/gstcaps.c:
21357         * gst/gstghostpad.c:
21358         * gst/gsttrace.c:
21359         * gst/gstvalue.c:
21360         * gst/gstvalue.h:
21361           docs fixes
21362
21363 2005-11-18  Andy Wingo  <wingo@pobox.com>
21364
21365         * gst/net/gstnetclientclock.c: Turn off debugging.
21366
21367         * check/net/gstnetclientclock.c (test_functioning): Assert that the
21368         times connverge somewhat. Can't make a real test.
21369
21370         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21371         integer arithmetic. Return the minimum of the domain, which can be
21372         set as "internal" for gst_clock_set_calibration.
21373         (gst_net_client_clock_observe_times): Call _set_calibration.
21374         (gst_net_client_clock_new): Call _set_calibration instead of
21375         rate_offset.
21376
21377         * check/net/gstnetclientclock.c (test_functioning): Use the right
21378         adjustment api.
21379
21380         * gst/gstclock.h:
21381         * gst/gstclock.c (gst_clock_get_calibration) 
21382         (gst_clock_set_calibration): New functions, obsolete the ones I
21383         added yesterday. Doh. Precision issues mean we have to extrapolate
21384         from a point in the more recent past than 1970.
21385         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21386         obsolete.
21387         (gst_clock_adjust_unlocked): Use the right calibration data.
21388
21389 2005-11-18  Edward Hervey  <edward@fluendo.com>
21390
21391         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
21392         Also reset the ->current_* values in READY->PAUSED
21393
21394 2005-11-18  Andy Wingo  <wingo@pobox.com>
21395
21396         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21397         Whoops, check the right fd. Also add some debugging.
21398         (gst_net_client_clock_observe_times): Adjust for int64 offset.
21399         (do_linear_regression): Add a crapload of debugging. Subtract off
21400         the minimum values from the input series to discard unneeded bits.
21401         Use only int arithmetic. There is still double arithmetic when
21402         calculating the intercept that needs fixing. Return boolean to
21403         indicate success; FALSE would mean the domain or range is too
21404         great. Still needs fixes.
21405
21406 2005-11-18  Wim Taymans  <wim@fluendo.com>
21407
21408         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21409         For the current position in stream time, we need to subtract
21410         accumulated time.
21411         
21412         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21413         Release lock before calling the callback function of async
21414         entries.
21415
21416 2005-11-18  Andy Wingo  <wingo@pobox.com>
21417
21418         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21419         Port goes all the way to MAXUINT16.
21420
21421         * gst/net/gstnettimeprovider.c: Make the port range the same as
21422         for the kernel: 0 assigns, otherwise ports are less than
21423         MAXUINT16.
21424
21425         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21426         port change.
21427
21428         * check/net/gstnetclientclock.c (test_functioning): Add the start
21429         of another test. 
21430
21431 2005-11-18  Wim Taymans  <wim@fluendo.com>
21432
21433         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21434         (gst_bin_remove_func), (bin_bus_handler):
21435         * gst/gstbin.h:
21436         Removing a clock provider from a bin, triggers a clock lost message
21437         so that a new clock will be selected.
21438         Adding a clock to a bin triggers a clock provider message.
21439         Make sure we reselect a clock when we received a clock lost message.
21440         Keep a reference to the element that provided the clock.
21441
21442 2005-11-18  Andy Wingo  <wingo@pobox.com>
21443
21444         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21445         the clock initially so it produces values around the base time.
21446         (gst_net_client_clock_class_init): Typo fix.
21447         (gst_net_client_clock_thread): Add note on when the socket gets
21448         closed.
21449
21450 2005-11-17  Wim Taymans  <wim@fluendo.com>
21451
21452         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21453         Free remote and local time arrays.
21454
21455 2005-11-17  Wim Taymans  <wim@fluendo.com>
21456
21457         * gst/net/gstnetclientclock.c: (do_linear_regression),
21458         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21459         Fix compilation, uninitialized vars and a forgotten continue.
21460
21461 2005-11-17  Andy Wingo  <wingo@pobox.com>
21462
21463         * check/Makefile.am (check_PROGRAMS): 
21464         * check/net/gstnetclientclock.c: Add a most minimal test for the
21465         net client clock. More to come later.
21466
21467         * gst/net/gstnet.h: 
21468         * gst/net/Makefile.am: Add netclientclock.
21469
21470         * gst/net/gstnetclientclock.h:
21471         * gst/net/gstnetclientclock.c: New files, implement an untested
21472         GstClock that takes its time from a network time provider.
21473         Implements the algorithm in network-clock.scm.
21474
21475         * tests/network-clock.scm (*window-size*): Rename from
21476         *queue-length*.
21477         * tests/network-clock.scm (network-time): 
21478         * tests/network-clock-utils.scm (q-push): Update callers.
21479
21480 2005-11-17  Wim Taymans  <wim@fluendo.com>
21481
21482         * gst/gstbin.c: (gst_bin_provide_clock_func),
21483         (gst_bin_sort_iterator_new):
21484         And unref the child too..
21485
21486 2005-11-17  Wim Taymans  <wim@fluendo.com>
21487
21488         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21489         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21490         Refactor the sort iterator so it can be used while holding the
21491         LOCK too.
21492         Make clock selection select a clock closest to the source.
21493
21494 2005-11-17  Michael Smith <msmith@fluendo.com>
21495
21496         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21497         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21498         * gst/gstclock.h:
21499           Anonymous structs are a gcc (and some other compilers) extension, so
21500           don't use them. Since this is only for ABI-compatibility, and our
21501           API/ABI freeze is over in a few days, this whole thing will only
21502           last a few days, so don't bother trying to think up a meaningful
21503           name for the struct.
21504
21505 2005-11-17  Andy Wingo  <wingo@pobox.com>
21506
21507         * gst/gstclock.h (GstClock): Add rate and offset properties,
21508         preserving ABI stability. Add rate/offset accessors. Will file bug
21509         for the freeze break.
21510
21511         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21512         and offset, trying to keep precision and avoiding
21513         underflow/overflow.
21514         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21515         functions. Make gst_clock_set_time_adjust obsolete.
21516         (gst_clock_set_time_adjust): Note that this function is obsolete.
21517         Will file bug soon.
21518
21519         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21520         greppable by using GST_PADDING-1+1.
21521
21522 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21523
21524         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21525
21526         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21527           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21528
21529         * gst/gstpadtemplate.h:
21530         * gst/gstpluginfeature.h:
21531           Don't use c++ style comments in headers (#321638).
21532
21533 2005-11-16  Andy Wingo  <wingo@pobox.com>
21534
21535         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21536         buffer.
21537
21538         * check/net/gstnettimeprovider.c: Check to see that the time
21539         provider actually provides times. Works, yo!
21540
21541 2005-11-16  Wim Taymans  <wim@fluendo.com>
21542
21543         * check/Makefile.am:
21544         Enable more tests.
21545
21546         * check/elements/fakesrc.c: (GST_START_TEST):
21547         Set element to NULL before disposing it.
21548
21549 2005-11-16  Andy Wingo  <wingo@pobox.com>
21550
21551         * gst/net/Makefile.am:
21552         * gst/net/gstnet.h:
21553         * gst/net/gstnettimeprovider.c: 
21554         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21555         provider, include it from gstnet.h, and add it to the build.
21556
21557         * gst/net/gstnettimepacket.h: 
21558         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21559         sending and receiving.
21560
21561 2005-11-16  Wim Taymans  <wim@fluendo.com>
21562
21563         * check/Makefile.am:
21564         Enable valgrind check.
21565
21566         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21567         (gst_fake_src_alloc_buffer):
21568         Fix memleak.
21569
21570 2005-11-16  Wim Taymans  <wim@fluendo.com>
21571
21572         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21573         Call parent finalize too.
21574
21575 2005-11-16  Wim Taymans  <wim@fluendo.com>
21576
21577         * check/Makefile.am:
21578         Enable valgrind check that should work fine now.
21579
21580         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21581         * gst/gstqueue.c: (gst_queue_init):
21582         Fix memleaks in pad allocation.
21583
21584 2005-11-16  Andy Wingo  <wingo@pobox.com>
21585
21586         * gst/net/Makefile.am:
21587         * gst/net/gstnet.h: New part of core to hold network elements and
21588         objects. Put in core because it exposes API that applications want
21589         to use. The library is named libgstnet-tempname right now because
21590         of the existing libgstnet in gst-plugins-base. Solution is
21591         probably to rename the one in plugins-base; will file a bug for
21592         the freeze break.
21593
21594         * gst/net/gstnettimeprovider.c: 
21595         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21596         get_time call over the network.
21597
21598         * configure.ac: 
21599         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21600
21601         * check/Makefile.am:
21602         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21603         get additions shortly.
21604
21605 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21606
21607         * gst/gstpad.c: (gst_pad_new_from_static_template):
21608         * gst/gstpad.h:
21609           add gst_pad_new_from_static_template functions
21610         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21611         (gst_check_setup_sink_pad):
21612         * gst/elements/gsttee.c: (gst_tee_init):
21613           and use them
21614
21615 2005-11-16  Wim Taymans  <wim@fluendo.com>
21616
21617         * gst/gstpad.c: (gst_pad_pause_task):
21618         Removed warning, it's not really an error either.
21619
21620 2005-11-16  Wim Taymans  <wim@fluendo.com>
21621
21622         * gst/base/gstbasetransform.c:
21623         (gst_base_transform_prepare_output_buf),
21624         (gst_base_transform_event):
21625         Check if the caps are NULL, this can happen if the element
21626         is shutting down and the pad caps are set to NULL.
21627
21628 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21629
21630         * gst/elements/gsttee.c: (gst_tee_init):
21631           fix pad template leak in tee
21632
21633 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21634
21635         * gst/glib-compat.c: (g_value_dup_gst_object):
21636         * gst/glib-compat.h:
21637         * gst/gstpad.c: (gst_pad_set_property):
21638           use gst_object_ref when setting the pad template; this will
21639           trigger the pad template leaks on GLib 2.6 and the slaves
21640
21641 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21642
21643         * gst/glib-compat.c: (gst_flags_get_first_value):
21644         * gst/glib-compat.h:
21645         * gst/gstregistryxml.c:
21646           remove functions copied from GLib 2.6
21647
21648 2005-11-16  Michael Smith <msmith@fluendo.com>
21649
21650         * gst/Makefile.am:
21651           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21652           do, but only breaks with newer valgrind versions. We're not a
21653           valgrind tool, we have no link-time dependencies on libcoregrind.
21654
21655 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21656
21657         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21658           some debug changes
21659         * gst/gstmessage.h:
21660           typo fixes
21661
21662 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21663
21664         * gst/base/gstbasesrc.c: (gst_base_src_init):
21665         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21666         * gst/gstqueue.c: (gst_queue_init):
21667         * gst/gstregistryxml.c: (load_feature):
21668           Revert all these unrefs, they don't even pass make check !
21669
21670 2005-11-15  Johan Dahlin  <johan@gnome.org>
21671
21672         * gst/base/gstbasesrc.c: (gst_base_src_init):
21673         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21674         * gst/gstqueue.c: (gst_queue_init): 
21675         Free pad templates, fixes a couple of leaks.
21676
21677 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21678
21679         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21680
21681         * gst/gstpad.c: (gst_pad_get_property):
21682           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21683           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21684           (#321452)
21685
21686 2005-11-15  Wim Taymans  <wim@fluendo.com>
21687
21688         * gst/gstevent.c:
21689         Small doc update.
21690
21691 2005-11-15  Andy Wingo  <wingo@pobox.com>
21692
21693         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21694
21695         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21696         using GST_CLOCK_TIME_NONE to disable base time management.
21697         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21698         time if it was NONE before.
21699         (gst_pipeline_change_state): Only munge the base time if
21700         stream_time != GST_CLOCK_TIME_NONE.
21701
21702         * check/gst/gstpipeline.c (test_base_time): Punt around the
21703         problem of the probe not being called, because that's not the
21704         issue I'm looking at. Add a check that setting stream_time to NONE
21705         disables base time management.
21706         
21707 2005-11-15  Wim Taymans  <wim@fluendo.com>
21708
21709         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21710         segment_stop == -1 at startup.
21711
21712         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21713         (gst_base_transform_change_state):
21714         Init segment values at start.
21715
21716 2005-11-15  Wim Taymans  <wim@fluendo.com>
21717
21718         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21719         0 segment values are 0 in any format.
21720
21721         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21722         * gst/base/gstbasetransform.h:
21723         Parse newsegment correctly in basetransform
21724
21725         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21726         Sync to clock using updated segment values.
21727
21728 2005-11-15  Andy Wingo  <wingo@pobox.com>
21729
21730         * check/gst/gstpipeline.c (test_base_time): Add check that the
21731         base time and stream time are reset correctly.
21732
21733 2005-11-15  Wim Taymans  <wim@fluendo.com>
21734
21735         * docs/design/part-TODO.txt:
21736         Some more TODO items.
21737
21738 2005-11-15  Andy Wingo  <wingo@pobox.com>
21739
21740         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21741         error if the user selected "no clock" as the clocking method.
21742
21743         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21744         timestamps with live capture.
21745
21746         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21747         is 0 but we are a live source, timestamp the buffers using the
21748         element's clock.
21749
21750 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21751
21752         * docs/gst/gstreamer-sections.txt:
21753         * gst/gsterror.c:
21754         * gst/gstghostpad.c:
21755         * gst/gstobject.h:
21756         * gst/gstxml.c:
21757           more section docs
21758
21759 2005-11-14  Wim Taymans  <wim@fluendo.com>
21760
21761         * common/gst.supp:
21762           add suppressions from Wim's Debian machine
21763
21764 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21765
21766         * common/gst.supp:
21767           add suppressions from Andy's AMD64 Ubuntu machine
21768
21769 2005-11-14  Andy Wingo  <wingo@pobox.com>
21770
21771         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21772         STATE_LOCK not necessary. Fixes #311489.
21773
21774         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21775         #305291.
21776
21777         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21778         this function is not implemented.
21779
21780 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21781
21782         * gst/base/gstbasetransform.c:
21783         (gst_base_transform_prepare_output_buf):
21784         Ref the source pad caps while we need them.
21785         Fixes (#321386)
21786
21787 2005-11-11  Wim Taymans  <wim@fluendo.com>
21788
21789         * docs/gst/gstreamer-sections.txt:
21790         Added some docs for GstCollectData.
21791
21792         * gst/base/gstadapter.c:
21793         Some small code example fix.
21794
21795         * gst/base/gstcollectpads.c:
21796         * gst/base/gstcollectpads.h:
21797         Document some more.
21798
21799 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21800
21801         * configure.ac: back to HEAD
21802
21803 === release 0.9.5 ===
21804
21805 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21806
21807         * configure.ac:
21808           releasing 0.9.5, "Bike Lunch Day"
21809
21810 2005-11-11  Wim Taymans  <wim@fluendo.com>
21811
21812         * gst/gstbuffer.c: (_gst_buffer_copy):
21813         Copy more flags.
21814
21815         * gst/gstcaps.c: (gst_caps_is_equal):
21816         Fix some docs.
21817         Make _is_equal fast in the trivial cases.
21818
21819         * gst/gstminiobject.c:
21820         * gst/gstminiobject.h:
21821         More docs. Spifify .h file.
21822
21823         * gst/gstutils.c:
21824         Small doc update.
21825
21826 2005-11-11  Wim Taymans  <wim@fluendo.com>
21827
21828         * gst/base/gstbasetransform.c:
21829         (gst_base_transform_prepare_output_buf),
21830         (gst_base_transform_handle_buffer):
21831         Small cleanups.
21832         If we're processing a buffer and need to allocate an output
21833         buffer, we cannot accept a format change. If we did get a 
21834         format change, we have to alloc a buffer ourselves of the 
21835         right size.
21836
21837 2005-11-11  Wim Taymans  <wim@fluendo.com>
21838
21839         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21840         While checking the flag for reentrancy in the gstcaps function
21841         is nice to detect recursive invocations, it also makes it 
21842         impossible to call getcaps from multiple threads, which must be
21843         possible. So, checking for recursive calls has to go.
21844
21845 2005-11-11  Michael Smith <msmith@fluendo.com>
21846
21847         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21848           Don't sync on buffers that fall partially outside our current
21849           segment. Prevents an assertion failure/abort playing some files.
21850
21851 2005-11-10  Andy Wingo  <wingo@pobox.com>
21852
21853         * check/gst/gstbin.c (test_message_state_changed_children): Style
21854         fix..
21855
21856         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21857         gst_bus_poll with the signal watch. Ensures that poll and a signal
21858         watch see the same messages.
21859
21860         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21861         a poll and a watch at the same time get the same messages.
21862
21863 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21864
21865         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21866         * gst/gstcaps.c: (gst_caps_intersect):
21867           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21868           and it's not needed.
21869
21870 2005-11-10  Wim Taymans  <wim@fluendo.com>
21871
21872         * docs/design/part-TODO.txt:
21873         Updated todo.
21874
21875 2005-11-10  Wim Taymans  <wim@fluendo.com>
21876
21877         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21878         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21879         (gst_base_src_do_sync), (gst_base_src_get_range):
21880         Implement clock sync in base class.
21881
21882 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21883
21884         patch by: Tim-Philipp Müller <tim at centricular dot net>
21885
21886         * gst/gststructure.c: (gst_structure_parse_field),
21887         (gst_structure_from_string):
21888           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21889           so that gst_parse_launch() can deal with spaces in filtered link
21890           caps (fixes #164479)
21891         * check/gst/capslist.h:
21892         * check/gst/gststructure.c: (GST_START_TEST):
21893           add unit tests for this change
21894
21895 2005-11-10  Wim Taymans  <wim@fluendo.com>
21896
21897         * docs/gst/gstreamer-sections.txt:
21898         * gst/gstelement.c:
21899         * gst/gstelement.h:
21900         Fix docs, move some STATE macros to private.
21901
21902 2005-11-10  Wim Taymans  <wim@fluendo.com>
21903
21904         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21905         Added check for bug #317341
21906
21907         * gst/gstbuffer.c:
21908         * gst/gstbuffer.h:
21909         Some more spiffifying.
21910
21911         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21912         Call peer linkfunction if we are a source pad. Totally fixes
21913         #317341
21914
21915         * gst/gstpad.c:
21916         Update docs, source pads should call the peer linkfunction
21917         so they can atomically perform the pad link.
21918
21919 2005-11-09  Wim Taymans  <wim@fluendo.com>
21920
21921         * gst/gstbuffer.c:
21922         * gst/gstbuffer.h:
21923         Uber-spiffy-spiffify some more.
21924
21925 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21926
21927         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21928         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21929         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21930         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21931         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21932         * gst/gstpad.c: (gst_pad_init):
21933           Use GST_DEBUG_FUNCPTR() more extensively.
21934
21935 2005-11-09  Wim Taymans  <wim@fluendo.com>
21936
21937         * gst/gstobject.c: (gst_object_class_init):
21938         * gst/gstobject.h:
21939         Documentation fixes.
21940
21941 2005-11-09  Edward Hervey  <edward@fluendo.com>
21942
21943         * gst/gsttypefindfactory.c:
21944         Fix docs.
21945         
21946 2005-11-09  Edward Hervey  <edward@fluendo.com>
21947
21948         * gst/base/gsttypefindhelper.c:
21949         * gst/gsttypefind.c:
21950         * gst/gsttypefind.h:
21951         Fix docs.
21952
21953 2005-11-09  Wim Taymans  <wim@fluendo.com>
21954
21955         * gst/gstiterator.c:
21956         Fix revision data.
21957
21958         * gst/gsttask.c:
21959         * gst/gsttask.h:
21960         Fix docs.
21961
21962 2005-11-09  Wim Taymans  <wim@fluendo.com>
21963
21964         * gst/gstevent.h:
21965         * gst/gsturi.h:
21966         Fix docs.
21967
21968 2005-11-09  Wim Taymans  <wim@fluendo.com>
21969
21970         * docs/gst/gstreamer-sections.txt:
21971         Moved the message async delivery private lock and cond
21972         to the private section.
21973
21974         * gst/gstmessage.c:
21975         * gst/gstmessage.h:
21976         Fixed docs.
21977
21978 2005-11-09  Edward Hervey  <edward@fluendo.com>
21979
21980         * docs/gst/gstreamer-sections.txt:
21981         * gst/gsturi.c:
21982         * gst/gsturi.h:
21983         Document GstURIHandler
21984
21985 2005-11-09  Wim Taymans  <wim@fluendo.com>
21986
21987         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21988         (gst_iterator_find_custom):
21989         * gst/gstiterator.h:
21990         Fix iterator docs.
21991
21992 2005-11-09  Wim Taymans  <wim@fluendo.com>
21993
21994         * gst/gstbin.h:
21995         Document another field.
21996
21997         * gst/gststructure.c:
21998         * gst/gststructure.h:
21999         Document.
22000
22001 2005-11-09  Wim Taymans  <wim@fluendo.com>
22002
22003         * gst/gstbin.h:
22004         Documented structs.
22005
22006 2005-11-09  Wim Taymans  <wim@fluendo.com>
22007
22008         * docs/gst/gstreamer-sections.txt:
22009         Added some new macros.
22010
22011         * gst/gstclock.c:
22012         * gst/gstclock.h:
22013         * gst/gstobject.h:
22014         Docs updates.
22015
22016 2005-11-09  Wim Taymans  <wim@fluendo.com>
22017
22018         * docs/design/part-TODO.txt:
22019         Some more items for the TODO
22020
22021         * gst/gstcaps.c:
22022         * gst/gstcaps.h:
22023         Document GstCaps.
22024
22025 2005-11-09  Andy Wingo  <wingo@pobox.com>
22026
22027         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
22028         to work on something else now tho...
22029
22030         * gst/base/gstadapter.c: More adapter docs.
22031
22032         * gst/elements/gstfilesink.c (gst_file_sink_start) 
22033         (gst_file_sink_stop): New functions, replace the state change
22034         handler.
22035         (gst_file_sink_class_init): Hook up the start and stop functions.
22036         (gst_file_sink_base_init): Don't set the state change handler any
22037         more. It was a bit ugly too, being set from here...
22038         (gst_file_sink_get_property, gst_file_sink_set_property):
22039         Cleanups...
22040         (gst_file_sink_set_location): More robust check that doesn't call
22041         GST_STATE. Ugggggg.
22042
22043 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
22044
22045         * gst/base/gstbasetransform.c: (gst_base_transform_event):
22046           Hold STREAM_LOCK while pushing newsegment or tag events as well.
22047
22048 2005-11-08  Wim Taymans  <wim@fluendo.com>
22049
22050         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22051         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22052         (gst_base_sink_chain), (gst_base_sink_change_state):
22053         * gst/base/gstbasesink.h:
22054         * gst/base/gstbasesrc.h:
22055         * gst/gstelement.h:
22056         * gst/gstevent.h:
22057         Avoid excessive typechecking in macros.
22058
22059         * gst/gstminiobject.c: (gst_mini_object_get_type),
22060         (gst_mini_object_init), (gst_mini_object_new),
22061         (gst_mini_object_free):
22062         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22063         (gst_object_finalize):
22064         Remove cruft code, optimize alloc_trace.
22065
22066 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22067
22068         * docs/faq/gst-uninstalled:
22069           fix up PS1 for systems that try to reset it
22070
22071 2005-11-07  Wim Taymans  <wim@fluendo.com>
22072
22073         * gst/base/gstbasesrc.c: (gst_base_src_init),
22074         (gst_base_src_get_range):
22075         Set the segment_end to -1 initially. Fixed typefind.
22076
22077 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
22078
22079         * gst/base/gstadapter.c:
22080           Debug category should be 'adapter', not 'GstAdapter'.
22081           
22082         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
22083         (gst_collectpads_class_init), (gst_collectpads_init),
22084         (gst_collectpads_peek), (gst_collectpads_pop),
22085         (gst_collectpads_event), (gst_collectpads_chain):
22086           Add debug category and some debugging output. Use boilerplate
22087           macros. Remove some extraneous words from docs.
22088
22089 2005-11-05  Andy Wingo  <wingo@pobox.com>
22090
22091         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
22092         macro.
22093
22094 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
22095
22096         * docs/gst/gstreamer-sections.txt:
22097         * gst/gstcaps.h:
22098         * gst/gstinfo.c:
22099         * gst/gstminiobject.h:
22100         * gst/gstobject.h:
22101         * gst/gstutils.h:
22102           more docs added
22103
22104 2005-11-04  Wim Taymans  <wim@fluendo.com>
22105
22106         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22107         Small update to stop at the configured segment_end
22108         position.
22109
22110 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
22111
22112         * gst/gstregistry.c:
22113         * gst/gstregistry.h:
22114           added missing docs
22115
22116 2005-11-04  Edward Hervey  <edward@fluendo.com>
22117
22118         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22119         Check if we are doing a segment seek and have arrived at the
22120         end of that segment.
22121
22122 2005-11-04  Wim Taymans  <wim@fluendo.com>
22123
22124         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
22125         Don't leak a mutex unlock in case of an error.
22126
22127         * gst/gstbus.h:
22128         Doc fixes.
22129
22130 2005-11-04  Wim Taymans  <wim@fluendo.com>
22131
22132         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
22133         (gst_bus_post):
22134         Get the context to wake up only once.
22135
22136 2005-11-03  Wim Taymans  <wim@fluendo.com>
22137
22138         * check/states/sinks.c: (GST_START_TEST):
22139         Uncomment fixed check.
22140
22141         * docs/design/part-TODO.txt:
22142         Updated TODO.
22143
22144         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22145         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22146         (gst_base_sink_get_position):
22147         If we are going to PLAYING, post the right pending state
22148         when we post the intermediate paused message.
22149
22150         * gst/gstelement.c: (gst_element_continue_state),
22151         (gst_element_set_state_func), (gst_element_change_state):
22152         Don't post state changes that were between the same state
22153         and were not ASYNC.
22154
22155 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
22156
22157         * docs/gst/gstreamer-sections.txt:
22158         * gst/gstcaps.h:
22159         * gst/gstinfo.c:
22160         * gst/gstminiobject.h:
22161         * gst/gstobject.h:
22162         * gst/gstutils.h:
22163           more docs and doc style fixes
22164
22165 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
22166
22167         * docs/gst/gstreamer-sections.txt:
22168         * gst/gstelement.c:
22169         * gst/gstminiobject.c:
22170         doc fixes
22171
22172 2005-11-03  Andy Wingo  <wingo@pobox.com>
22173
22174         * check/states/sinks.c (test_livesrc_sink): Add checks that the
22175         state-changed messages actually have the right order and the right
22176         values.
22177
22178 2005-11-03  Wim Taymans  <wim@fluendo.com>
22179
22180         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22181         Added some more checks. Specifically the case where NO_PREROLL
22182         elements are in the pipeline.
22183
22184         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22185         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22186         (gst_base_sink_get_position):
22187         Post READY->PAUSED state change messages too.
22188         Fix bug where VOID was posted as pending state...
22189
22190         * gst/gstbin.c: (gst_bin_recalc_state):
22191         use _element_continue_state() to continue the state change.
22192
22193         * gst/gstelement.c: (gst_element_continue_state),
22194         (gst_element_commit_state), (gst_element_set_state_func),
22195         (gst_element_change_state), (gst_element_change_state_func):
22196         Lots of state change cleanups, assign the STATE_RETURN in
22197         a new continue_state() function that also propagates the
22198         last return value from a state change to the app.
22199         Update some debug statements with proper category.
22200
22201 2005-11-03  Wim Taymans  <wim@fluendo.com>
22202
22203         * docs/design/part-events.txt:
22204         * docs/design/part-gstpipeline.txt:
22205         * docs/design/part-messages.txt:
22206         * docs/design/part-overview.txt:
22207         * docs/design/part-seeking.txt:
22208         * docs/design/part-states.txt:
22209         * docs/design/part-trickmodes.txt:
22210         * docs/manual/advanced-position.xml:
22211         Small docs updates.
22212
22213         * gst/gstobject.h:
22214         People think !! is ugly, this looks better.
22215
22216         * gst/gstpad.c: (gst_pad_set_blocked_async):
22217         Remove !! since it's fixed elsewhere now.
22218
22219 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22220
22221         * gst/gstminiobject.h:
22222         * gst/gstobject.h:
22223           Add !! to _FLAG_IS_SET macros to make the result boolean.
22224
22225 2005-11-03  Edward Hervey  <edward@fluendo.com>
22226
22227         * gst/gstpad.c: (gst_pad_set_blocked_async):
22228         comparing a flag and a gboolean rarely returns coherent results...
22229         Added two characters (!!) to make that work correctly.
22230         
22231 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22232
22233         * gst/gstbus.c: (gst_bus_class_init):
22234           Fix some typos.
22235           
22236         * gst/gstqueue.c: (gst_queue_loop):
22237           Don't assume a miniobject that isn't a buffer is an
22238           event (it could be that there is a refcounting
22239           problem somewhere and the pointer is stale and
22240           refers to an already destroyed miniobject).
22241
22242 2005-11-03  Julien MOUTTE  <julien@moutte.net>
22243
22244         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22245
22246 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22247
22248         * docs/manual/advanced-position.xml:
22249           Update seek example and explanations to current 0.9 API.
22250
22251         * gst/elements/gsttypefindelement.c:
22252         (gst_type_find_element_activate):
22253           Remove FIXME comment now that the found caps
22254           are unreffed.
22255
22256 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22257
22258         * gst/gstregistryxml.c: (load_feature):
22259           Add another GST_STR_NULL instance
22260
22261 2005-11-02  Edward Hervey  <edward@fluendo.com>
22262
22263         * gst/gstpad.c: (handle_pad_block):
22264         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22265         
22266 2005-11-02  Wim Taymans  <wim@fluendo.com>
22267
22268         * gst/gstbin.c:
22269         Fix typo in docs.
22270
22271         * gst/gstelement.c: (gst_element_commit_state):
22272         Remove unused value.
22273
22274         * gst/gstiterator.c:
22275         Mention that the returned element is reffed in the docs.
22276
22277 2005-11-02  Wim Taymans  <wim@fluendo.com>
22278
22279         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22280         (gst_pad_push), (gst_pad_push_event):
22281         Unlock blocked pads when they are flushed.
22282
22283 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22284
22285         * docs/README:
22286         * docs/gst/gstreamer-sections.txt:
22287         * gst/gstbin.c:
22288           doc updates
22289         * gst/gstregistry.c: (gst_registry_scan_path_level):
22290           fix for a nasty little missed situation where an installed plug-in
22291           which was in the cache did not get overridden by an uninstalled one
22292           which was earlier in the plugin path because the newly created plugin
22293           for the uninstalled one (not in the registry) didn't get its
22294           ->registered set to TRUE
22295
22296 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22297
22298         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22299         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22300         (gst_collectpads_is_active), (gst_collectpads_collect),
22301         (gst_collectpads_collect_range), (gst_collectpads_start),
22302         (gst_collectpads_stop), (gst_collectpads_peek),
22303         (gst_collectpads_pop), (gst_collectpads_available),
22304         (gst_collectpads_read), (gst_collectpads_flush):
22305           Guard public API with assertions.
22306         
22307         * gst/gstpad.c:
22308           Fix docs for gst_pad_set_link_function().
22309
22310 2005-11-02  Johan Dahlin  <johan@gnome.org>
22311
22312         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
22313         Unref found_caps after we used it.
22314
22315 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22316
22317         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22318           Don't try to ref NULL.
22319
22320 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22321
22322         * win32/common/config.h.in:
22323           provide a GST_FUNCTION that just gives a string for now
22324
22325 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22326
22327         * win32/common/gstenumtypes.c: (register_gst_object_flags),
22328         (gst_object_flags_get_type), (register_gst_bin_flags),
22329         (gst_bin_flags_get_type), (register_gst_buffer_flag),
22330         (gst_buffer_flag_get_type), (register_gst_bus_flags),
22331         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22332         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22333         (gst_clock_return_get_type), (register_gst_clock_entry_type),
22334         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22335         (gst_clock_flags_get_type), (register_gst_state),
22336         (gst_state_get_type), (register_gst_state_change_return),
22337         (gst_state_change_return_get_type), (register_gst_state_change),
22338         (gst_state_change_get_type), (register_gst_element_flags),
22339         (gst_element_flags_get_type), (register_gst_core_error),
22340         (gst_core_error_get_type), (register_gst_library_error),
22341         (gst_library_error_get_type), (register_gst_resource_error),
22342         (gst_resource_error_get_type), (register_gst_stream_error),
22343         (gst_stream_error_get_type), (register_gst_event_type),
22344         (gst_event_type_get_type), (register_gst_seek_type),
22345         (gst_seek_type_get_type), (register_gst_seek_flags),
22346         (gst_seek_flags_get_type), (register_gst_format),
22347         (gst_format_get_type), (register_gst_index_certainty),
22348         (gst_index_certainty_get_type), (register_gst_index_entry_type),
22349         (gst_index_entry_type_get_type),
22350         (register_gst_index_lookup_method),
22351         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22352         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22353         (gst_index_resolver_method_get_type), (register_gst_index_flags),
22354         (gst_index_flags_get_type), (register_gst_debug_level),
22355         (gst_debug_level_get_type), (register_gst_debug_color_flags),
22356         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22357         (gst_iterator_result_get_type), (register_gst_iterator_item),
22358         (gst_iterator_item_get_type), (register_gst_message_type),
22359         (gst_message_type_get_type), (register_gst_mini_object_flags),
22360         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22361         (gst_pad_link_return_get_type), (register_gst_flow_return),
22362         (gst_flow_return_get_type), (register_gst_activate_mode),
22363         (gst_activate_mode_get_type), (register_gst_pad_direction),
22364         (gst_pad_direction_get_type), (register_gst_pad_flags),
22365         (gst_pad_flags_get_type), (register_gst_pad_presence),
22366         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22367         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22368         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22369         (gst_plugin_error_get_type), (register_gst_plugin_flags),
22370         (gst_plugin_flags_get_type), (register_gst_rank),
22371         (gst_rank_get_type), (register_gst_query_type),
22372         (gst_query_type_get_type), (register_gst_tag_merge_mode),
22373         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22374         (gst_tag_flag_get_type), (register_gst_task_state),
22375         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22376         (gst_alloc_trace_flags_get_type),
22377         (register_gst_type_find_probability),
22378         (gst_type_find_probability_get_type), (register_gst_uri_type),
22379         (gst_uri_type_get_type), (register_gst_parse_error),
22380         (gst_parse_error_get_type):
22381         * win32/common/gstversion.h:
22382           update win32 copies
22383
22384 2005-11-01  Luca Ognibene  <luogni@tin.it>
22385
22386         * gst/gst.c:
22387           fix docs. popt is dead, long live GOption.
22388
22389 2005-10-31  Wim Taymans  <wim@fluendo.com>
22390
22391         * gst/gstbuffer.h:
22392         Small doc fix.
22393
22394 2005-10-31  Andy Wingo  <wingo@pobox.com>
22395
22396         * Boo!
22397
22398         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22399
22400         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22401         need to serialize property notifications on GLib 2.8. GLib 2.6 has
22402         the possibility of deadlocks here if code calling notify() or
22403         set() has a lock that can be taken in another notify handler (ABBA
22404         with class lock and e.g. python GIL state lock).
22405
22406 2005-10-28  Julien MOUTTE  <julien@moutte.net>
22407
22408         * gst/gstbus.c: Doc updates.
22409
22410 2005-10-28  Wim Taymans  <wim@fluendo.com>
22411
22412         * docs/design/part-TODO.txt:
22413         * gst/gstiterator.c:
22414         * gst/gstsystemclock.c:
22415         * gst/gstsystemclock.h:
22416         Doc updates.
22417
22418 2005-10-28  Edward Hervey  <edward@fluendo.com>
22419
22420         * docs/gst/gstreamer-docs.sgml:
22421         * docs/gst/gstreamer-sections.txt:
22422         the GstURIType documentation page is private, it only defines GstURIType
22423         which should be defined in the GstURIHandler page
22424         
22425 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22426
22427         * gst/gstbin.c: (gst_bin_class_init):
22428         * gst/gstbin.h:
22429         * gst/gstutils.c:
22430         Documentation updates.
22431
22432 2005-10-28  Wim Taymans  <wim@fluendo.com>
22433
22434         * docs/gst/gstreamer-sections.txt:
22435         * gst/gstclock.c:
22436         * gst/gstclock.h:
22437         Documented the clocks.
22438
22439 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22440
22441         * docs/gst/gstreamer-sections.txt:
22442           move some macros to private sections
22443         * gst/gstminiobject.c:
22444         * gst/gstminiobject.h:
22445           add descriptions provided by ds and some more
22446         * gst/gstpad.h:
22447           mark macro as to be removed
22448
22449 2005-10-28  Wim Taymans  <wim@fluendo.com>
22450
22451         * docs/design/part-TODO.txt:
22452         Add an item to TODO.
22453
22454         * gst/gstiterator.c: (gst_iterator_fold),
22455         (gst_iterator_find_custom):
22456         * gst/gstiterator.h:
22457         Add iterator docs.
22458
22459 2005-10-28  Wim Taymans  <wim@fluendo.com>
22460
22461         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22462         (gst_base_transform_init):
22463         Don't leak class.
22464
22465         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22466         An EOS event marks the queue as completely filled.
22467
22468 2005-10-27  Wim Taymans  <wim@fluendo.com>
22469
22470         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22471         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22472         Some more debugging.
22473
22474         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22475         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22476         (gst_base_transform_event), (gst_base_transform_getrange),
22477         (gst_base_transform_chain):
22478         * gst/base/gstbasetransform.h:
22479         Fix debugging,
22480         Protect transform and concurrent buffer alloc with a new lock.
22481         Try not to break ABI/API.
22482
22483 2005-10-27  Wim Taymans  <wim@fluendo.com>
22484
22485         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22486         (gst_base_src_init), (gst_base_src_query),
22487         (gst_base_src_default_newsegment),
22488         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22489         (gst_base_src_send_event), (gst_base_src_event_handler),
22490         (gst_base_src_pad_get_range), (gst_base_src_loop),
22491         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22492         (gst_base_src_start), (gst_base_src_deactivate),
22493         (gst_base_src_activate_push), (gst_base_src_change_state):
22494         Move some stuff around and cleanup things.
22495
22496 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22497
22498         * gst/base/gstbasesrc.c: (gst_base_src_query):
22499           Add missing break statements.
22500
22501 2005-10-27  Wim Taymans  <wim@fluendo.com>
22502
22503         * check/gst/gstbin.c: (GST_START_TEST):
22504         An extra refcount is taken in basesrc.
22505
22506         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22507         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22508         (gst_base_src_loop):
22509         Small cleanups, check for flushing after being unlocked from the 
22510         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22511         Don't send out EOS when going to READY.
22512
22513 2005-10-27  Wim Taymans  <wim@fluendo.com>
22514
22515         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22516         (gst_base_sink_get_position):
22517         Some more debug.
22518
22519         * gst/gstbin.c: (message_check), (bin_replace_message),
22520         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22521         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22522         (bin_query_duration_init), (bin_query_duration_fold),
22523         (bin_query_duration_done), (bin_query_generic_fold),
22524         (gst_bin_query):
22525         * tools/gst-launch.c: (main):
22526         Remove old option.
22527
22528 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22529
22530         * examples/controller/audio-example.c: (main):
22531         * examples/queue/queue.c: (event_loop):
22532         * gst/base/gstbasetransform.h:
22533         * gst/gstelement.c: (gst_element_send_event):
22534         * gst/gstevent.h:
22535         * gst/gstpad.c: (gst_pad_send_event):
22536           fixing examples
22537           fixing docs typos
22538           changing log priority in error situations
22539
22540 2005-10-25  Wim Taymans  <wim@fluendo.com>
22541
22542         * gst/gstbin.c: (message_check), (bin_replace_message),
22543         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22544         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22545         (bin_query_duration_init), (bin_query_duration_fold),
22546         (bin_query_duration_done), (bin_query_generic_fold),
22547         (gst_bin_query):
22548         Some doc and debug updates.
22549         Cache previously requested query DURATION for speed. invalidate
22550         cached duration if element posts a DURATION message.
22551
22552 2005-10-25  Wim Taymans  <wim@fluendo.com>
22553
22554         * docs/design/part-TODO.txt:
22555         Update TODO.
22556
22557         * gst/gstbin.c: (message_check), (bin_replace_message),
22558         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22559         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22560         (bin_query_duration_init), (bin_query_duration_fold),
22561         (bin_query_duration_done), (bin_query_generic_fold),
22562         (gst_bin_query):
22563         Handle SEGMENT_START/DONE messages correctly.
22564         More evolved query algorithm that handles duration queries
22565         correctly.
22566
22567         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22568         (gst_element_get_state_func), (gst_element_abort_state),
22569         (gst_element_commit_state), (gst_element_lost_state):
22570         Some more debugging.
22571
22572         * gst/gstmessage.h:
22573         Added doc.
22574
22575 2005-10-25  Wim Taymans  <wim@fluendo.com>
22576
22577         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22578         Don't use invalid stream_time.
22579
22580         * gst/gstevent.c: (gst_event_new_newsegment):
22581         stream_time in newsegment cannot be undefined.
22582
22583 2005-10-24  Wim Taymans  <wim@fluendo.com>
22584
22585         * gst/gstbus.c:
22586         Doc fix.
22587
22588         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22589         (gst_queue_loop):
22590         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22591
22592 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22593
22594         * docs/libs/tmpl/gstdparam.sgml:
22595         * docs/libs/tmpl/gstdplinint.sgml:
22596         * docs/libs/tmpl/gstdpman.sgml:
22597         * docs/libs/tmpl/gstdpsmooth.sgml:
22598         * docs/libs/tmpl/gstunitconvert.sgml:
22599           these are obsolete
22600
22601 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22602
22603         * configure.ac:
22604           back to HEAD
22605
22606 === release 0.9.4 ===
22607
22608 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22609
22610         * configure.ac:
22611           releasing 0.9.4, "Tyrannosaurus Rex"
22612
22613 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22614
22615         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22616         (gst_file_sink_get_current_offset):
22617           Use fseeko() and ftello() if available. When falling back on
22618           lseek() to get the current offset, fflush() first to make sure
22619           everything is up-to-date and we get the right offset.
22620
22621 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22622
22623         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22624         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22625         * gst/gsterror.c: (_gst_stream_errors_init):
22626         * gst/gsterror.h:
22627         * gst/gstqueue.c: (gst_queue_loop):
22628         * po/POTFILES.in:
22629           remove prematurely added error category and clean up the instances
22630
22631 2005-10-21  Wim Taymans  <wim@fluendo.com>
22632
22633         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22634         (gst_base_sink_get_position), (gst_base_sink_query),
22635         (gst_base_sink_change_state):
22636         Simply set the right flag when going to playing, that's all
22637         we need to do instead of calling a function inside the object
22638         lock (that could take the lock as well and deadlock)
22639
22640 2005-10-21  Wim Taymans  <wim@fluendo.com>
22641
22642         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22643         (gst_base_src_loop):
22644         Don't warn, the peer element knows what to do best when
22645         the seek failed, it might try something else.
22646
22647 2005-10-21  Wim Taymans  <wim@fluendo.com>
22648
22649         * gst/base/gstbasesrc.c: (gst_base_src_init),
22650         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22651         Fix seeking.
22652
22653 2005-10-21  Wim Taymans  <wim@fluendo.com>
22654
22655         * docs/design/part-segments.txt:
22656         More docs.
22657
22658         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22659         Correctly set caps, even on the subbufer.
22660
22661 2005-10-21  Wim Taymans  <wim@fluendo.com>
22662
22663         * docs/gst/gstreamer-docs.sgml:
22664         * docs/gst/gstreamer-sections.txt:
22665         * gst/gstelement.h:
22666         * gst/gstevent.c:
22667         * gst/gstevent.h:
22668         * gst/gstmessage.h:
22669         * gst/gstpad.h:
22670         * gst/gstparse.h:
22671         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22672         * gst/gsttask.h:
22673         * gst/gstutils.c:
22674         * gst/gstutils.h:
22675         And 2% more doc coverage.
22676
22677 2005-10-21  Andy Wingo  <wingo@pobox.com>
22678
22679         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22680         position reporting.
22681
22682 2005-10-20  Wim Taymans  <wim@fluendo.com>
22683
22684         * gst/gsterror.c: (gst_error_get_message):
22685         * gst/gstparse.h:
22686         * gst/gstquery.h:
22687         * gst/gststructure.c:
22688         * gst/gsttrace.c:
22689         * gst/gstutils.c:
22690         More docs.
22691
22692 2005-10-20  Wim Taymans  <wim@fluendo.com>
22693
22694         * gst/gstbuffer.h:
22695         * gst/gstpad.c:
22696         * gst/gstparse.c:
22697         Another 1% more coverage.
22698
22699 2005-10-20  Wim Taymans  <wim@fluendo.com>
22700
22701         * docs/gst/gstreamer-sections.txt:
22702         * gst/gstelement.c: (gst_element_get_state_func),
22703         (gst_element_abort_state), (gst_element_commit_state),
22704         (gst_element_lost_state):
22705         * gst/gstevent.h:
22706         * gst/gstquery.c: (gst_query_set_position),
22707         (gst_query_parse_position), (gst_query_set_duration),
22708         (gst_query_parse_duration), (gst_query_new_convert):
22709         * gst/gstutils.c:
22710         Yay! 1% more docs coverage.
22711
22712 2005-10-20  Wim Taymans  <wim@fluendo.com>
22713
22714         * gst/gstpad.h:
22715         * gst/gstquery.c: (gst_query_set_position),
22716         (gst_query_parse_position), (gst_query_set_duration),
22717         (gst_query_parse_duration), (gst_query_new_convert):
22718         * gst/gstquery.h:
22719         * gst/gstutils.c: (gst_element_query_convert):
22720         * gst/gstutils.h:
22721         Docs and consistency fixes.
22722
22723 2005-10-20  Wim Taymans  <wim@fluendo.com>
22724
22725         * gst/gsttask.c:
22726         * gst/gsttask.h:
22727         More docs.
22728
22729 2005-10-20  Wim Taymans  <wim@fluendo.com>
22730
22731         * gst/gstbin.c: (message_check), (bin_replace_message),
22732         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22733         (update_degree), (gst_bin_sort_iterator_next),
22734         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22735         Reworked the message handling a bit, cache the messages instead of
22736         only the senders. alows us to do more in the future.
22737
22738 2005-10-20  Wim Taymans  <wim@fluendo.com>
22739
22740         * docs/design/part-TODO.txt:
22741         Update TODO
22742
22743         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22744         (gst_base_sink_query):
22745         Don't use clock time to report position when in EOS.
22746
22747 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22748
22749         * tools/gst-inspect.c: (print_interfaces),
22750         (print_element_properties_info), (print_element_info):
22751           Fix interface output with gst-inspect -a; don't print
22752           newlines after double/float properties.
22753
22754 2005-10-20  Wim Taymans  <wim@fluendo.com>
22755
22756         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22757         (gst_base_sink_query):
22758         Speed up current position calculation.
22759
22760         * gst/base/gstbasesrc.c: (gst_base_src_query),
22761         (gst_base_src_default_newsegment):
22762         Correctly set stream position in newsegment.
22763
22764         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22765         (update_degree), (gst_bin_sort_iterator_next),
22766         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22767         * gst/gstmessage.c: (gst_message_new_custom):
22768         Clean up debugging info
22769
22770         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22771         (gst_queue_loop), (gst_queue_handle_src_query):
22772         Pause task faster.
22773
22774 2005-10-19  Wim Taymans  <wim@fluendo.com>
22775
22776         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22777         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22778         Fix query handling again.
22779
22780 2005-10-19  Wim Taymans  <wim@fluendo.com>
22781
22782         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22783         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22784         * gst/base/gstbasesrc.c: (gst_base_src_query):
22785         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22786         * gst/elements/gsttypefindelement.c:
22787         (gst_type_find_handle_src_query), (find_element_get_length),
22788         (gst_type_find_element_activate):
22789         API change fix.
22790
22791         * gst/gstquery.c: (gst_query_new_position),
22792         (gst_query_set_position), (gst_query_parse_position),
22793         (gst_query_new_duration), (gst_query_set_duration),
22794         (gst_query_parse_duration), (gst_query_set_segment),
22795         (gst_query_parse_segment):
22796         * gst/gstquery.h:
22797         Bundling query position/duration is not a good idea since duration
22798         does not change much and we don't want to recalculate it for every
22799         position query, so they are separated again..
22800         Base value in segment query is not needed.
22801
22802         * gst/gstqueue.c: (gst_queue_handle_src_query):
22803         * gst/gstutils.c: (gst_element_query_position),
22804         (gst_element_query_duration), (gst_pad_query_position),
22805         (gst_pad_query_duration):
22806         * gst/gstutils.h:
22807         Updates for query API change.
22808         Added some docs here and there.
22809
22810 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22811
22812         * check/gst/gstbin.c: (GST_START_TEST):
22813         * check/gst/gstghostpad.c: (GST_START_TEST):
22814         * check/pipelines/cleanup.c: (GST_START_TEST):
22815           wait on thread to die so we can check refcount correctly
22816
22817 2005-10-18  Wim Taymans  <wim@fluendo.com>
22818
22819         * check/pipelines/stress.c: (GST_START_TEST):
22820         Make check a little more time consuming.
22821
22822 2005-10-18  Wim Taymans  <wim@fluendo.com>
22823
22824         * check/Makefile.am:
22825         * check/pipelines/stress.c: (GST_START_TEST),
22826         (simple_launch_lines_suite), (main):
22827         Small state change torture test.
22828
22829         * docs/design/part-states.txt:
22830         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22831         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22832         (gst_base_sink_change_state):
22833         Never take state lock from streaming thread, clean up ugly
22834         hacks. Unfortunatly core does not yet support nice ways to
22835         async commit state.
22836         
22837         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22838         (bin_bus_handler):
22839         Start state recalc if a STATE_DIRTY message is posted, but only
22840         on the toplevel bin.
22841
22842         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22843         (gst_element_get_state_func), (gst_element_abort_state),
22844         (gst_element_commit_state), (gst_element_lost_state),
22845         (gst_element_set_state_func), (gst_element_change_state):
22846         * gst/gstelement.h:
22847         State variables are now protected with the LOCK, the state
22848         lock is only used to serialize _set_state().
22849
22850 2005-10-18  Wim Taymans  <wim@fluendo.com>
22851
22852         * check/gst/gstbin.c: (GST_START_TEST):
22853         * check/gst/gstmessage.c: (GST_START_TEST):
22854         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22855         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22856         (bin_bus_handler):
22857         * gst/gstelement.c: (gst_element_abort_state),
22858         (gst_element_commit_state), (gst_element_lost_state):
22859         * gst/gstmessage.c: (gst_message_new_state_changed),
22860         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22861         (gst_message_new_segment_done), (gst_message_new_duration),
22862         (gst_message_parse_state_changed),
22863         (gst_message_parse_segment_start),
22864         (gst_message_parse_segment_done), (gst_message_parse_duration):
22865         * gst/gstmessage.h:
22866         * tools/gst-launch.c: (event_loop):
22867         Seriously, this is better than a previous commit as we only need
22868         to notify the fact that an element changed state in a streaming
22869         thread, marking the state of the parents dirty, hence the 
22870         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22871         message.
22872
22873 2005-10-18  Wim Taymans  <wim@fluendo.com>
22874
22875         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22876         (gst_bin_recalc_func):
22877         * gst/gstelement.c: (gst_element_set_clock),
22878         (gst_element_abort_state), (gst_element_lost_state):
22879         Cleanups, prepare for state change fixes.
22880
22881 2005-10-18  Wim Taymans  <wim@fluendo.com>
22882
22883         * gst/gstbin.h:
22884         * gst/gstelement.c: (gst_element_class_init),
22885         (gst_element_set_state), (gst_element_set_state_func):
22886         * gst/gstelement.h:
22887         Pending ABI changes.
22888         GThreadPool in GstBinClass to monitor async state changes.
22889         state_cookie in GstElement to detect concurrent gst/set state.
22890         set_state is now virtual too in case a very complicated element
22891         has to be constructed.
22892
22893 2005-10-18  Wim Taymans  <wim@fluendo.com>
22894
22895         * check/gst/gstbin.c: (GST_START_TEST):
22896         * check/gst/gstmessage.c: (GST_START_TEST):
22897         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22898         * gst/gstbin.c: (bin_bus_handler):
22899         * gst/gstelement.c: (gst_element_commit_state),
22900         (gst_element_lost_state):
22901         * gst/gstmessage.c: (gst_message_new_state_changed),
22902         (gst_message_new_segment_start), (gst_message_new_segment_done),
22903         (gst_message_new_duration), (gst_message_parse_state_changed),
22904         (gst_message_parse_segment_start),
22905         (gst_message_parse_segment_done), (gst_message_parse_duration):
22906         * gst/gstmessage.h:
22907         * tools/gst-launch.c: (event_loop):
22908         Make messages future proof.
22909         state-change gets a flag if it was a message comming from the
22910         streaming thread.
22911         segment-start/stop can also be specified in other formats.
22912         A message to notify an app that a pipeline changed playback 
22913         duration.
22914         Also fix a GstMessage leak in -launch
22915
22916 2005-10-18  Andy Wingo  <wingo@pobox.com>
22917
22918         * gst/gstelement.c (gst_element_dispose): More helpful message.
22919
22920 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22921
22922         reviewed by: <delete if not using a buddy>
22923
22924         * common/gtk-doc.mak:
22925
22926 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22927
22928         * gst/gstregistry.c: (gst_registry_scan_path_level):
22929           unref a plug-in we get that was already initialized
22930
22931 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22932
22933         * docs/gst/gstreamer-sections.txt:
22934         * docs/libs/gstreamer-libs-sections.txt:
22935         * gst/gstelement.h:
22936           add new api entries
22937           hide internal macro
22938
22939 2005-10-17  Andy Wingo  <wingo@pobox.com>
22940
22941         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22942         cleanup.
22943
22944         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22945
22946         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22947
22948         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22949         (gst_element_get_state_func): Better debug message.
22950         (gst_element_commit_state): s/INFO/DEBUG/.
22951         (gst_element_lost_state, gst_element_change_state): 
22952
22953         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22954         (gst_message_new_custom): s/INFO/LOG/.
22955
22956 2005-10-17  Michael Smith <msmith@fluendo.com>
22957
22958         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22959           Check if end time is valid using end time, not start time.
22960
22961 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22962
22963         * check/gst-libs/controller.c: (GST_START_TEST),
22964         (gst_controller_suite):
22965         * libs/gst/controller/gstcontroller.c:
22966         (gst_controlled_property_set_interpolation_mode):
22967         * libs/gst/controller/gstcontroller.h:
22968         * libs/gst/controller/gstinterpolation.c:
22969         * testsuite/controller/.cvsignore:
22970         * testsuite/controller/Makefile.am:
22971         * testsuite/controller/interpolator.c:
22972           merge controller testsuites
22973           fix broken tests
22974           remove mem-chunk from docs
22975
22976 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22977
22978         * gst/gstmemchunk.c:
22979         * gst/gstmemchunk.h:
22980         * gst/gsttrashstack.c:
22981         * gst/gsttrashstack.h:
22982           out.  get out.  you're fired.  to the Attic !
22983
22984 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22985
22986         * gst/gstcaps.c: (gst_caps_intersect):
22987           fix signedness issues in a (hopefully) correct way
22988         * gst/gstelement.c: (gst_element_pads_activate):
22989           some debugging
22990         * gst/gstobject.c: (gst_object_set_parent):
22991           some debugging
22992
22993 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22994
22995         * gst/gstvalue.h: Fix prototypes.
22996
22997 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22998
22999         * docs/gst/gstreamer-sections.txt:
23000         * gst/gst.c: (gst_version_string):
23001         * gst/gst.h:
23002         * gst/gstversion.h.in:
23003         * win32/common/libgstreamer.def:
23004           add gst_version_string ()
23005
23006 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23007
23008         * configure.ac:
23009           clean up further
23010         * gst/gst.c: (init_post):
23011         * win32/common/config.h.in:
23012           it's PLUGINDIR now
23013         * gst/gstcaps.c: (gst_caps_intersect):
23014           use gint64, the range could be bigger than a guint
23015
23016 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23017
23018         * gst/gstclock.h:
23019           document potential problem in 2038
23020
23021 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23022
23023         * gst/gstcaps.c: (gst_caps_intersect):
23024           Fix guint j diving under 0
23025
23026 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23027
23028         * configure.ac:
23029         * win32/common/config.h:
23030         * win32/common/config.h.in:
23031           check for process.h, declares getpid() on Windows
23032         * gst/gstinfo.c:
23033           include process.h if we have it
23034         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
23035         * gst/gstmemchunk.h:
23036           fix signedness issues
23037         * win32/common/libgstreamer.def:
23038           fix get_type's
23039
23040 2005-10-16  Julien MOUTTE  <julien@moutte.net>
23041
23042         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
23043         fix. Because of unsigned ints, caps intersection was going nuts and
23044         trying to access structures with G_MAXUINT index. That fixes
23045         videotestsrc ! ffmpegcolorspace ! fakesink
23046         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
23047         consistency.
23048
23049 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23050
23051         * configure.ac:
23052           use the gettext macro
23053         * gst/elements/gstelements.c:
23054         * gst/gst.c:
23055         * gst/indexers/gstindexers.c:
23056           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
23057         * win32/common/config.h:
23058           updated config.h
23059         * win32/common/config.h.in:
23060           add the template to generate config.h
23061         * win32/common/gstenumtypes.c:
23062         * win32/common/gstversion.h:
23063           updated copies
23064
23065 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23066
23067         * gst/gst.c: (gst_version):
23068         * gst/gstversion.h.in:
23069           add the nano
23070
23071 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
23072
23073         * gst/gstevent.h:
23074           Oops, add missing closing bracket.
23075
23076 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23077
23078         * configure.ac:
23079           use common m4's for argument checking
23080
23081 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
23082
23083         * docs/gst/gstreamer-sections.txt:
23084         * gst/gstevent.h:
23085           Add GST_EVENT_TYPE_NAME() macro.
23086
23087 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23088
23089         * gst/gstinfo.c:
23090         * gst/gstpluginfeature.c:
23091         * gst/gsttask.c:
23092           privatize more symbols
23093
23094 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23095
23096         * configure.ac:
23097           add srcdir, builddir includes to GST_ALL_CFLAGS, since
23098           everything that uses GStreamer API should have the includes
23099
23100 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23101
23102         * docs/gst/gstreamer-sections.txt:
23103         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
23104         * gst/gstvalue.h:
23105           give each value a _get_type, removes the DATA exports
23106
23107 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23108
23109         * gst/gst.c:
23110         * gst/gst.h:
23111           remove _gst_registry_auto_load, not used anymore
23112         * gst/gstbin.c: (gst_bin_get_type):
23113         * gst/gstbin.h:
23114         * gst/gstelement.c: (gst_element_get_type):
23115         * gst/gstelement.h:
23116         * gst/gstobject.c: (gst_object_get_type):
23117         * gst/gstobject.h:
23118         * gst/gstpad.c: (gst_pad_get_type):
23119         * gst/gstpad.h:
23120           make _get_type functions similar, fixes data export from library
23121
23122 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23123
23124         * configure.ac:
23125           correctly make conditionals
23126         * gst/elements/Makefile.am:
23127         * gst/elements/gstelements.c:
23128           fix typo causing fdsrc not to build
23129
23130 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23131
23132         * testsuite/Makefile.am:
23133         * testsuite/bytestream/.cvsignore:
23134         * testsuite/bytestream/Makefile.am:
23135         * testsuite/bytestream/filepadsink.c:
23136         * testsuite/bytestream/gstbstest.c:
23137         * testsuite/bytestream/test1.c:
23138         * testsuite/bytestream/testfile1:
23139         * testsuite/caps/normalisation.c:
23140         * testsuite/caps/random.c: (main):
23141         * testsuite/cleanup/.cvsignore:
23142         * testsuite/cleanup/Makefile.am:
23143         * testsuite/cleanup/cleanup1.c:
23144         * testsuite/cleanup/cleanup2.c:
23145         * testsuite/cleanup/cleanup3.c:
23146         * testsuite/cleanup/cleanup4.c:
23147         * testsuite/cleanup/cleanup5.c:
23148         * testsuite/controller/interpolator.c:
23149         * testsuite/debug/printf_extension.c: (main):
23150         * testsuite/elements/tee.c:
23151         * testsuite/negotiation/.cvsignore:
23152         * testsuite/negotiation/Makefile.am:
23153         * testsuite/negotiation/pad_link.c:
23154         * testsuite/pad/Makefile.am:
23155         * testsuite/pad/chainnopull.c:
23156         * testsuite/pad/getnopush.c:
23157         * testsuite/pad/link.c:
23158         * testsuite/refcounting/sched.c: (create_pipeline):
23159         * testsuite/registry/Makefile.am:
23160         * testsuite/registry/gst-print-formats.c:
23161         * testsuite/schedulers/.cvsignore:
23162         * testsuite/schedulers/142183-2.c:
23163         * testsuite/schedulers/142183.c:
23164         * testsuite/schedulers/143777-2.c:
23165         * testsuite/schedulers/143777.c:
23166         * testsuite/schedulers/147713.c:
23167         * testsuite/schedulers/147819.c:
23168         * testsuite/schedulers/147894-2.c:
23169         * testsuite/schedulers/147894.c:
23170         * testsuite/schedulers/Makefile.am:
23171         * testsuite/schedulers/group_link.c:
23172         * testsuite/schedulers/queue_link.c:
23173         * testsuite/schedulers/relink.c:
23174         * testsuite/schedulers/unlink.c:
23175         * testsuite/schedulers/unref.c:
23176         * testsuite/schedulers/useless_iteration.c:
23177         * testsuite/states/bin.c:
23178           clean out/remove some stuff from the testsuite directories
23179
23180 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23181
23182         * configure.ac:
23183           check for some headers
23184         * gst/elements/Makefile.am:
23185         * gst/elements/gstelements.c:
23186           don't compile fdsrc without sys/socket.h
23187         * gst/indexers/Makefile.am:
23188         * gst/indexers/gstindexers.c: (plugin_init):
23189           don't compile fileindex without mmap
23190
23191 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23192
23193         * configure.ac:
23194           reorganize
23195           clean up
23196           document more
23197           remove cruft
23198         * check/Makefile.am:
23199         * docs/gst/Makefile.am:
23200         * examples/helloworld/Makefile.am:
23201         * gst/Makefile.am:
23202         * gst/base/Makefile.am:
23203         * gst/check/Makefile.am:
23204         * gst/elements/Makefile.am:
23205         * gst/indexers/Makefile.am:
23206         * gst/parse/Makefile.am:
23207         * libs/gst/controller/Makefile.am:
23208         * libs/gst/dataprotocol/Makefile.am:
23209         * examples/helloworld/helloworld.c: (event_loop):
23210           compile fixes, though it's not being compiled currently
23211
23212 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23213
23214         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23215           Add some simple tests for the new taglist date API.
23216
23217 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23218
23219         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23220         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23221           Beautify 'last-message' output: print 'none' for buffer timestamps
23222           and durations if none is set; improve alignment with next messages.
23223
23224 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23225
23226         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23227         * gst/gstpluginfeature.h:
23228         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23229         * gst/gstregistry.h:
23230         * docs/gst/gstreamer-sections.txt:
23231           Add new API to check plugin feature version requirements.
23232
23233         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23234           Some basic tests for the above.         
23235
23236 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23237
23238         * gst/gststructure.c: (gst_structure_to_string):
23239           guard against NULL printf - happens when for example
23240           a message structure with GstClock gets serialized
23241
23242 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23243
23244         * gst/base/gstcollectpads.c: (gst_collectpads_event):
23245           Fix presumable copy'n'pasto.
23246
23247 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23248
23249         * gst/elements/gstfakesrc.h:
23250         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23251         * gst/elements/gsttypefindelement.c:
23252           fix some signedness
23253         * gst/elements/gstfilesink.c: (gst_file_sink_render):
23254           I wonder if this could actually write +2GB files before
23255
23256 2005-10-13  Andy Wingo  <wingo@pobox.com>
23257
23258         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23259         Fix Timmeke Waymans bug.
23260         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23261         string of the proper length to gst_caps_from_string. There's a
23262         potential for, before this fix, that this could cause someone
23263         connecting over the network to cause a segfault if the payload is
23264         not NUL-terminated.
23265
23266 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23267
23268         * docs/design/draft-push-pull.txt:
23269         * docs/design/part-overview.txt:
23270         * docs/random/TODO-pre-0.9:
23271         * docs/random/old/ChangeLog.gstreamer:
23272         * gst/base/gstpushsrc.c:
23273         * gst/gstclock.c:
23274           fixed typos
23275
23276 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23277
23278         * gst/glib-compat.c: (gst_flags_get_first_value):
23279         * gst/glib-compat.h:
23280         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23281         (gst_value_compare_double), (gst_value_serialize_flags):
23282           GLib 2.6 g_flags_get_first_value has a bug that triggers an
23283           infinite loop
23284
23285 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23286
23287         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23288         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23289           fix up debugging
23290         * tools/gst-launch.c: (event_loop):
23291           print out clock nicely
23292
23293 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23294
23295         * docs/gst/gstreamer-sections.txt:
23296         * gst/gsttaglist.h:
23297         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23298         (gst_tag_list_get_date_index):
23299           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23300           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23301
23302 2005-10-13  Julien MOUTTE  <julien@moutte.net>
23303
23304         * gst/base/gstcollectpads.c: (gst_collectpads_event),
23305         (gst_collectpads_chain):
23306         * gst/base/gstcollectpads.h: Handle newsegment and store informations
23307         in CollectData.
23308
23309 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23310
23311         * docs/gst/gstreamer-sections.txt:
23312         * gst/gst.c:
23313         * gst/gsterror.h:
23314         * tools/gst-inspect.c: (main):
23315         * tools/gst-launch.c: (main):
23316         * tools/gst-run.c: (main):
23317         * tools/gst-xmlinspect.c: (main):
23318           fix GOption context leaks
23319           doc fixes
23320
23321 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23322
23323         * gst/gstbus.c:
23324           use HAVE_UNISTD_H
23325         * win32/common/config.h:
23326           update config
23327         * win32/vs6/grammar.dsp:
23328         * win32/vs6/libgstelements.dsp:
23329         * win32/vs6/libgstreamer.dsp:
23330           update vs6 files
23331
23332 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23333
23334         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23335         * gst/base/gstbasesrc.c: (gst_base_src_query):
23336           fix more guint64<->gdouble conversions
23337
23338 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23339
23340         * Makefile.am:
23341           add win32-update target
23342         * win32/common/gstconfig.h:
23343         * win32/common/gstenumtypes.c:
23344         * win32/common/gstenumtypes.h:
23345         * win32/common/gstversion.h:
23346           add files that visual studio can't generate
23347
23348 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23349
23350         * Makefile.am:
23351           add a win32-update target
23352         * configure.ac:
23353
23354 2005-10-12  Wim Taymans  <wim@fluendo.com>
23355
23356         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23357         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23358         * gst/gstelement.c: (gst_element_commit_state),
23359         (gst_element_set_state):
23360         Protect flags with proper lock.
23361         unref provided cached clock in dispose.
23362
23363 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23364
23365         * gst/gst.c:
23366         * gst/gstminiobject.h:
23367         * gst/gstpad.h:
23368         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23369           removed unused flags from miniobject
23370           doc fixes
23371
23372 2005-10-12  Wim Taymans  <wim@fluendo.com>
23373
23374         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23375         (gst_file_sink_event), (gst_file_sink_render):
23376         Flush before seeking.
23377
23378 2005-10-12  Andy Wingo  <wingo@pobox.com>
23379
23380         * gst/gst.c (gst_init_check): Ignore unknown options, as has
23381         always been the case.
23382
23383 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23384
23385         * check/gst/gstbin.c: (GST_START_TEST):
23386         * docs/gst/gstreamer-sections.txt:
23387         * gst/base/gstbasesink.c: (gst_base_sink_init):
23388         * gst/base/gstbasesrc.c: (gst_base_src_init),
23389         (gst_base_src_get_range), (gst_base_src_check_get_range),
23390         (gst_base_src_start), (gst_base_src_stop):
23391         * gst/base/gstbasesrc.h:
23392         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23393         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23394         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23395         (bin_bus_handler):
23396         * gst/gstbin.h:
23397         * gst/gstbuffer.h:
23398         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23399         * gst/gstbus.h:
23400         * gst/gstelement.c: (gst_element_is_locked_state),
23401         (gst_element_set_locked_state), (gst_element_commit_state),
23402         (gst_element_set_state):
23403         * gst/gstelement.h:
23404         * gst/gstindex.c: (gst_index_init):
23405         * gst/gstindex.h:
23406         * gst/gstminiobject.h:
23407         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23408         (gst_object_set_parent):
23409         * gst/gstobject.h:
23410         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23411         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23412         * gst/gstpad.h:
23413         * gst/gstpadtemplate.h:
23414         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23415         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23416         * gst/gstpipeline.h:
23417         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23418         (gst_file_index_commit):
23419         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23420         * testsuite/pad/link.c: (gst_test_src_init),
23421         (gst_test_filter_init), (gst_test_sink_init):
23422         * testsuite/states/locked.c: (main):
23423           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23424           moved bitshift from macro to enum definition
23425
23426 2005-10-12  Wim Taymans  <wim@fluendo.com>
23427
23428         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23429         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23430         (gst_file_sink_render):
23431         Some more debugging info.
23432
23433 2005-10-12  Wim Taymans  <wim@fluendo.com>
23434
23435         * docs/design/part-states.txt:
23436         * tools/gst-launch.c: (main):
23437         Some doc updates.
23438         Revert non-intentional change.
23439
23440 2005-10-12  Wim Taymans  <wim@fluendo.com>
23441
23442         * check/gst/gstbin.c: (GST_START_TEST):
23443         * check/gst/gstelement.c: (GST_START_TEST):
23444         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23445         * check/gst/gstghostpad.c: (GST_START_TEST):
23446         * check/gst/gstpipeline.c: (GST_START_TEST):
23447         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23448         * check/states/sinks.c: (GST_START_TEST):
23449         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23450         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23451         (gst_bin_remove_func), (gst_bin_get_state_func),
23452         (gst_bin_recalc_state), (gst_bin_change_state_func),
23453         (bin_bus_handler):
23454         * gst/gstelement.c: (gst_element_get_state_func),
23455         (gst_element_get_state), (gst_element_abort_state),
23456         (gst_element_commit_state), (gst_element_set_state),
23457         (gst_element_change_state), (gst_element_change_state_func):
23458         * gst/gstelement.h:
23459         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23460         (gst_pipeline_provide_clock_func):
23461         * gst/gstutils.c: (gst_element_link_pads_filtered):
23462         * tools/gst-launch.c: (main):
23463         * tools/gst-typefind.c: (main):
23464         Use GstClockTime in _get_state() instead of GTimeVal.
23465         Remove old code in gstutils.c
23466
23467 2005-10-12  Andy Wingo  <wingo@pobox.com>
23468
23469         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23470         removed.
23471
23472         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23473         there is no task. Shouldn't affect any code, as nothing in our
23474         plugins checks this return value.
23475         (gst_pad_stop_task): Also take the stream lock if the pad has no
23476         task. Docs updated.
23477
23478 2005-10-12  Wim Taymans  <wim@fluendo.com>
23479
23480         * gst/gstpad.c: (pre_activate), (post_activate),
23481         (gst_pad_activate_pull), (gst_pad_activate_push):
23482         Cleanup activation code. Reset old state if
23483         activation failed.
23484
23485 2005-10-12  Wim Taymans  <wim@fluendo.com>
23486
23487         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23488         (gst_base_sink_change_state):
23489         No need to prerol after receiving EOS.
23490
23491         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23492         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23493         * gst/elements/gstidentity.c: (gst_identity_event):
23494         Print events more verbosely.
23495
23496 2005-10-12  Wim Taymans  <wim@fluendo.com>
23497
23498         * check/Makefile.am:
23499         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23500         * check/states/sinks2.c:
23501         Moved sinks2 testcode in sinks check.
23502
23503         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23504         (gst_bin_remove_func), (gst_bin_recalc_state),
23505         (gst_bin_change_state_func), (bin_bus_handler):
23506         Fix potential race condition when _get_state() iterated over an
23507         ASYNC element right before it posted a state completion.
23508
23509         * gst/gstclock.h:
23510         Do proper cast here.
23511
23512         * gst/gstevent.c: (gst_event_new_newsegment),
23513         (gst_event_parse_newsegment):
23514         A playback rate of 0.0 is not allowed.
23515
23516 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23517
23518         * win32/common/config.h:
23519         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23520         (_trewinddir), (_ttelldir), (_tseekdir):
23521         * win32/common/dirent.h:
23522         * win32/common/gtchar.h:
23523         * win32/common/libgstbase.def:
23524         * win32/common/libgstreamer.def:
23525         * win32/vs6/grammar.dsp:
23526         * win32/vs6/gst_inspect.dsp:
23527         * win32/vs6/gst_launch.dsp:
23528         * win32/vs6/gstreamer.dsw:
23529         * win32/vs6/libgstbase.dsp:
23530         * win32/vs6/libgstelements.dsp:
23531         * win32/vs6/libgstreamer.dsp:
23532           Visual Studio 6 project files, and a new common directory.
23533           Phear.
23534
23535 2005-10-11  Wim Taymans  <wim@fluendo.com>
23536
23537         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23538         (gst_base_sink_do_sync), (gst_base_sink_query),
23539         (gst_base_sink_change_state):
23540         * gst/base/gstbasesink.h:
23541         Correctly parse newsegment info.
23542
23543 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23544
23545         * gst/gst.c: (init_post):
23546           split plugin paths correctly
23547
23548 2005-10-11  Wim Taymans  <wim@fluendo.com>
23549
23550         * check/gst/gstevent.c: (GST_START_TEST):
23551         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23552         (gst_base_sink_change_state):
23553         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23554         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23555         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23556         * gst/gstevent.c: (gst_event_new_newsegment),
23557         (gst_event_parse_newsegment):
23558         * gst/gstevent.h:
23559         Added extra flag to newsegment for future API freeze.
23560         Updated check and base elements.
23561
23562 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23563
23564         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23565         (gst_collectpads_add_pad), (gst_collectpads_pop),
23566         (gst_collectpads_event), (gst_collectpads_chain):
23567         * gst/base/gstcollectpads.h: Handle EOS correctly.
23568
23569 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23570
23571         * tools/gst-launch.c: (main):
23572           more null protecting
23573
23574 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23575
23576         * gst/gst-i18n-lib.h:
23577           check for ENABLE_NLS, not GETTEXT_PACKAGE
23578         * gst/gstregistry.c: (gst_registry_add_plugin),
23579         (gst_registry_scan_path_level),
23580         (_gst_registry_remove_cache_plugins):
23581           protect possibly NULL strings
23582         * gst/parse/types.h:
23583           config.h already included before
23584         * tools/gst-inspect.c: (main):
23585           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23586           check for ENABLE_NLS, not GETTEXT_PACKAGE
23587         * tools/gst-launch.c: (main):
23588           check for ENABLE_NLS, not GETTEXT_PACKAGE
23589
23590 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23591
23592         * configure.ac:
23593           if we don't have glib, fail before testing 2.8
23594         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23595           fix a leak, should fix plugins-base testsuite
23596
23597 2005-10-11  Andy Wingo  <wingo@pobox.com>
23598
23599         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23600         take the mode we're going to as an arg. Go head and set the mode
23601         and flushing flags now, so that if the activate function starts a
23602         thread all the flags will be in the right state.
23603         (post_activate): Renamed also. Just handle making sure streaming
23604         finishes for the deactivation case, and setting the deactivated
23605         mode.
23606         (gst_pad_set_active): Complain loudly if deactivation fails.
23607         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23608         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23609         remove the terrible hack.
23610
23611 2005-10-11  Wim Taymans  <wim@fluendo.com>
23612
23613         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23614         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23615         (gst_bin_recalc_state), (gst_bin_change_state_func),
23616         (gst_bin_dispose), (bin_bus_handler):
23617         * gst/gstbin.h:
23618         Prepare to make current EOS message queue more generic.
23619         Fix some typos.
23620
23621         * gst/gstevent.c: (gst_event_new_newsegment),
23622         (gst_event_parse_newsegment):
23623         * gst/gstevent.h:
23624         Rename base to stream_time.
23625
23626         * gst/gstmessage.h:
23627         Fix typo in docs.
23628
23629 2005-10-11  Wim Taymans  <wim@fluendo.com>
23630
23631         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23632         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23633         (gst_bin_change_state_func), (bin_bus_handler):
23634         * gst/gstbin.h:
23635         Work on proper clock selection.
23636
23637 2005-10-11  Edward Hervey  <edward@fluendo.com>
23638
23639         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23640         * libs/gst/controller/gstcontroller.h:
23641         Added GList* version of _remove_properties() in order to be able to wrap
23642         it in bindings.
23643
23644 2005-10-11  Wim Taymans  <wim@fluendo.com>
23645
23646         * docs/design/part-states.txt:
23647         Some more docs.
23648
23649         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23650         (gst_bin_change_state_func), (bin_bus_handler):
23651         Doc updates. Don't distribute the same clock over and over again.
23652
23653         * gst/gstclock.c:
23654         * gst/gstclock.h:
23655         Doc updates.
23656
23657         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23658         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23659         (gst_pad_send_event):
23660         * gst/gstpad.h:
23661         Make probe emission threadsafe again.
23662         Register quarks and move _get_name() from utils.
23663         Doc updates.
23664
23665         * gst/gstpipeline.c: (gst_pipeline_class_init),
23666         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23667         Only redistribute the clock of it changed.
23668
23669         * gst/gstsystemclock.h:
23670         Doc updates. 
23671
23672         * gst/gstutils.c:
23673         * gst/gstutils.h:
23674         Moved the _flow_get_name() to GstPad.
23675
23676 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23677
23678         * check/gst-libs/gdp.c: (GST_START_TEST):
23679         * check/gst/gstcaps.c: (GST_START_TEST):
23680         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23681         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23682         (gst_dp_packet_from_caps):
23683           fix more valgrind warnings before turning up the heat
23684
23685 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23686
23687         * gst/parse/grammar.y:
23688           some cleanup before the hacking
23689
23690 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23691
23692         * gst/base/gstbasesrc.c: (gst_base_src_query):
23693           use conversions
23694         * gst/gstutils.c: (gst_guint64_to_gdouble),
23695         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23696         * gst/gstutils.h:
23697           externalize, basesrc uses it
23698           obviously the implementation needs testing
23699
23700 2005-10-10  Wim Taymans  <wim@fluendo.com>
23701
23702         * tests/sched/Makefile.am:
23703         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23704         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23705
23706 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23707
23708         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23709           apparently converting from guint64 to double is not implemented
23710           on MSVC
23711
23712 2005-10-10  Wim Taymans  <wim@fluendo.com>
23713
23714         * check/Makefile.am:
23715         * check/generic/states.c: (GST_START_TEST):
23716         * check/gst/gstbin.c: (GST_START_TEST):
23717         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23718         * check/states/sinks.c: (GST_START_TEST):
23719         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23720         (main):
23721         Check fixes, use API as stated in design docs, remove hacks.
23722
23723         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23724         (gst_base_sink_change_state):
23725         Catch stopping our task while we're shutting down.
23726
23727         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23728         (gst_bin_remove_func), (gst_bin_get_state_func),
23729         (gst_bin_recalc_state), (gst_bin_change_state_func),
23730         (bin_bus_handler):
23731         * gst/gstbin.h:
23732         * gst/gstelement.c: (gst_element_init),
23733         (gst_element_get_state_func), (gst_element_abort_state),
23734         (gst_element_commit_state), (gst_element_lost_state),
23735         (gst_element_set_state), (gst_element_change_state),
23736         (gst_element_change_state_func):
23737         * gst/gstelement.h:
23738         New state change algorithm (see #318116)
23739
23740         * gst/gstpipeline.c: (gst_pipeline_class_init),
23741         (gst_pipeline_init), (gst_pipeline_set_property),
23742         (gst_pipeline_get_property), (do_pipeline_seek),
23743         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23744         * gst/gstpipeline.h:
23745         Remove crude state change hacks.
23746
23747         * gst/gstutils.h:
23748         Remove crude hacks.
23749
23750         * tools/gst-launch.c: (main):
23751         Fixes for state change. Needs some more work to fully use the
23752         new stuff.
23753
23754 2005-10-10  Andy Wingo  <wingo@pobox.com>
23755
23756         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23757
23758         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23759         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23760         issue.
23761
23762 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23763
23764         * gst/gstiterator.c: (gst_iterator_new):
23765           Fix my previous commit: GTypes passed to gst_iterator_new()
23766           can be fundamental types.
23767
23768 2005-10-10  Wim Taymans  <wim@fluendo.com>
23769
23770         * gst/gstelement.c: (gst_element_iterate_pad_list),
23771         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23772         (gst_element_iterate_sink_pads):
23773         Use src/sink pads lists for the respective iterators instead
23774         of filtering.
23775
23776 2005-10-10  Andy Wingo  <wingo@pobox.com>
23777
23778         Merged in popt removal + GOption addition patch from Ronald, bug
23779         #169772.
23780
23781         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23782         GstElement macros around, remove popt-related symbols, add goption
23783         stuff.
23784
23785         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23786         
23787         * docs/gst/Makefile.am:
23788         * docs/libs/Makefile.am: No POPT_CFLAGS.
23789         
23790         * examples/manual/Makefile.am:
23791         * docs/manual/basics-init.xml: Doc updates with an example.
23792         
23793         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23794         (gst_init), (parse_one_option), (parse_goption_arg):
23795         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23796         bit of hand merging and debugging to get the GOption stuff working
23797         tho.
23798         
23799         * tests/Makefile.am:
23800         * tools/Makefile.am:
23801         * tools/gst-inspect.c: (main):
23802         * tools/gst-launch.c: (main):
23803         * tools/gst-run.c: (main):
23804         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23805
23806 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23807
23808         * gst/gstiterator.c: (gst_iterator_new):
23809           Add assertions to make sure passed GType is likely to really
23810           be a GType (as the compiler won't catch it if the size and
23811           GType arguments get mixed up, see #318447).
23812
23813 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23814
23815         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23816
23817         * gst/gstbin.c: (gst_bin_iterate_sorted):
23818           Pass GType and size arguments to gst_iterator_new() in the right
23819           order (maybe we should make _new() take the GType as first argument
23820           just like _new_list()?) (#318447).
23821           
23822
23823 2005-10-10  Wim Taymans  <wim@fluendo.com>
23824
23825         * gst/gstelement.c: (gst_element_finalize):
23826         And free the GStaticRecMutex too
23827
23828 2005-10-10  Andy Wingo  <wingo@pobox.com>
23829
23830         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23831         Allocate and free the mutex properly.
23832
23833         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23834         New macros.
23835         (GstElement): The state_lock is now recursive. Rebuild your
23836         plugins, suckers. Old macros adapted.
23837
23838         * docs/gst/gstreamer-sections.txt: Doc updates.
23839
23840         * gst/gstutils.h:
23841         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23842         (g_static_rec_cond_wait): Ported from state changes patch, while
23843         we wait on bug #317802 to be solved in a well-distributed GLib.
23844
23845         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23846         gst_element_change_state, variable name changes.
23847         (gst_element_change_state): Split out of gst_element_set_state in
23848         preparation for the state change merge. Doesn't pay attention to
23849         the 'transition' argument.
23850         (gst_element_set_state): Updates, hopefully purely cosmetic.
23851         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23852         state change patch.
23853         (gst_element_get_state_func): Renamed from get_state, cosmetic
23854         changes.
23855
23856 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23857
23858         * gst/elements/gstelements.c:
23859         * win32/GStreamer.vcproj:
23860         * win32/config.h:
23861         * win32/dirent.c: (_tseekdir):
23862         * win32/gst-inspect.vcproj:
23863         * win32/gst-launch.vcproj:
23864         * win32/gstconfig.h:
23865         * win32/gstelements.vcproj:
23866         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23867         * win32/gstreamer.def:
23868         * win32/msvc71.sln:
23869           updates for the win32 build (patch from Sebastien Moutte)
23870
23871 2005-10-10  Andy Wingo  <wingo@pobox.com>
23872
23873         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23874         gst_bin_get_state, cleaned up (but no logic changes).
23875         (bin_element_is_sink): Comment updates.
23876         (sink_iterator_filter): Remove needless cast.
23877         (gst_bin_iterate_sinks): Doc update.
23878         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23879         cleaned up (but no logic changes).
23880
23881         * check/states/sinks.c (test_src_sink): Cleanups from the state
23882         change patch.
23883         (test_livesrc_sink): Sync on the state.
23884
23885         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23886         the state change patch.
23887
23888         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23889         change patch.
23890
23891         * check/gst/gstbin.c: Merge in some style fixes and additional
23892         checks from Wim's state change patch.
23893
23894 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23895
23896         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23897         (gst_type_find_helper):
23898           Check whether we have the requested data already in our list of
23899           cached buffers before pulling a new buffer; also make the buffer
23900           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23901
23902 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23903
23904         * gst/gstcaps.c:
23905         * gst/gstevent.c:
23906           doc updates
23907         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23908           don't use long long, it's not portable.  Replacing with
23909           gint64 seems to work; let's hope no skeletons fall out of the closet.
23910
23911 2005-10-10  Andy Wingo  <wingo@pobox.com>
23912
23913         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23914
23915 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23916
23917         * docs/gst/gstreamer-sections.txt:
23918         * gst/gstevent.c:
23919         * gst/gstevent.h:
23920         * gst/gstinfo.c:
23921         * gst/gstinfo.h:
23922         * gst/gstmessage.c: (gst_message_parse_state_changed):
23923         * gst/gstpad.c:
23924         * gst/gstpad.h:
23925           more docs, fix compilation
23926
23927 2005-10-09  Philippe Khalaf <burger@speedy.org>
23928         * gst/gstmessage.c:
23929           Fixed a few forgotten variables on previous commit
23930
23931 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23932
23933         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23934           Fix evil typefind crasher: getrange() might return a short
23935           buffer at the end of a file, but gst_type_find_peek() must
23936           either return the full data as requested or NULL, but
23937           never a short buffer.
23938
23939 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23940
23941         * gst/gstmessage.c: (gst_message_new_state_changed),
23942         (gst_message_parse_state_changed):
23943         * gst/gstmessage.h:
23944           don't use "new", it's a C++ keyword
23945
23946 2005-10-08  Wim Taymans  <wim@fluendo.com>
23947
23948         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23949         * gst/gstelement.c: (gst_element_post_message):
23950         * gst/gstpipeline.c: (gst_pipeline_change_state):
23951         Small docs and debug updates.
23952
23953 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23954
23955         * docs/gst/gstreamer-sections.txt:
23956         * gst/gstelementfactory.c:
23957         * gst/gstevent.c:
23958         * gst/gsttaglist.c:
23959           more docs
23960
23961 2005-10-08  Wim Taymans  <wim@fluendo.com>
23962
23963         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23964         (gst_bin_dispose), (bin_bus_handler):
23965         Fix typos, add comments.
23966         Clear EOS list when going to PAUSED from any direction and do it
23967         in a threadsafe way.
23968         Get base time in a threadsafe way too.
23969         Fix confusing debug in the change_state function.
23970         Various other small cleanups.
23971         
23972         * gst/gstelement.c: (gst_element_post_message):
23973         Fix very verbose bus posting code.
23974
23975         * gst/gstpipeline.c: (gst_pipeline_class_init),
23976         (gst_pipeline_set_property), (gst_pipeline_get_property),
23977         (gst_pipeline_change_state):
23978         Small ARG_ -> PROP_ cleanup
23979
23980 2005-10-08  Wim Taymans  <wim@fluendo.com>
23981
23982         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23983         Do a less CPU demanding EOS check because we can.
23984
23985 2005-10-08  Wim Taymans  <wim@fluendo.com>
23986
23987         * libs/gst/dataprotocol/dataprotocol.c:
23988         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23989         (gst_dp_packet_from_event):
23990         * libs/gst/dataprotocol/dataprotocol.h:
23991         * libs/gst/dataprotocol/dp-private.h:
23992         It's about time we bump the version number.
23993         Since event types don't fit in the guint8 anymore describing
23994         the payload type, make payload type 16 bits wide.
23995
23996 2005-10-08  Wim Taymans  <wim@fluendo.com>
23997
23998         * docs/design/part-TODO.txt:
23999         * docs/design/part-clocks.txt:
24000         * docs/design/part-events.txt:
24001         * docs/design/part-gstbin.txt:
24002         * docs/design/part-gstelement.txt:
24003         * docs/design/part-gstpipeline.txt:
24004         * docs/design/part-live-source.txt:
24005         * docs/design/part-messages.txt:
24006         * docs/design/part-overview.txt:
24007         * docs/design/part-states.txt:
24008         Many doc updates.
24009
24010 2005-10-08  Wim Taymans  <wim@fluendo.com>
24011
24012         * gst/gstevent.c:
24013         * gst/gstevent.h:
24014         Fix event quark registration.
24015         Add some space between events so we can insert them in the
24016         right groups.
24017
24018 2005-10-08  Wim Taymans  <wim@fluendo.com>
24019
24020         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24021         (gst_base_sink_handle_buffer):
24022         Better log message.
24023
24024         * gst/gstbus.h:
24025         * gst/gstelement.h:
24026         More docs.
24027
24028         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24029         (gst_queue_set_property), (gst_queue_get_property):
24030         * gst/gstqueue.h:
24031         Remove old unused properties.
24032
24033 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
24034         * docs/gst/gstreamer-sections.txt:
24035         * gst/gstmessage.c:
24036         * gst/gstmessage.h:
24037         * gst/gstminiobject.c:
24038         * gst/gstminiobject.h:
24039         * gst/gstobject.h:
24040         * gst/gstpad.h:
24041         * gst/gstutils.h:
24042           lots of new docs and doc fixes
24043
24044 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24045
24046         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
24047         * gst/gstplugin.h:
24048         * gst/gstregistry.c: (gst_registry_lookup_locked),
24049         (gst_registry_scan_path_level):
24050         * gst/gstregistryxml.c: (load_plugin):
24051           Only ever load one plugin for a given plugin basename.
24052           This ensures correct overriding of GST_PLUGIN_PATH over
24053           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
24054           system installed plugins.
24055
24056 2005-10-08  Wim Taymans  <wim@fluendo.com>
24057
24058         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24059         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
24060         Prepare for doing QOS.
24061
24062 2005-10-08  Wim Taymans  <wim@fluendo.com>
24063
24064         * check/gst/gstbin.c: (GST_START_TEST):
24065         * check/pipelines/cleanup.c: (GST_START_TEST):
24066         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24067         Allow new clock message too.
24068
24069 2005-10-08  Wim Taymans  <wim@fluendo.com>
24070
24071         * gst/gstmessage.c: (gst_message_new_error),
24072         (gst_message_new_warning), (gst_message_new_tag),
24073         (gst_message_new_state_changed), (gst_message_new_clock_provide),
24074         (gst_message_new_clock_lost), (gst_message_new_new_clock),
24075         (gst_message_new_segment_start), (gst_message_new_segment_done),
24076         (gst_message_parse_state_changed),
24077         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
24078         (gst_message_parse_new_clock):
24079         * gst/gstmessage.h:
24080         Also carry the clock in question.
24081
24082 2005-10-08  Wim Taymans  <wim@fluendo.com>
24083
24084         * gst/gstmessage.c: (gst_message_new_custom),
24085         (gst_message_new_eos), (gst_message_new_error),
24086         (gst_message_new_warning), (gst_message_new_tag),
24087         (gst_message_new_state_changed), (gst_message_new_clock_provide),
24088         (gst_message_new_new_clock), (gst_message_new_segment_start),
24089         (gst_message_new_segment_done), (gst_message_parse_state_changed),
24090         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
24091         * gst/gstmessage.h:
24092         Clean up.
24093         Added clock related messages.
24094
24095         * gst/gstpipeline.c: (gst_pipeline_change_state):
24096         Post message when the clock changed.
24097
24098         * tools/gst-launch.c: (event_loop):
24099         Print new clock.
24100
24101 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
24102
24103         * tools/gst-inspect.c: (print_element_properties_info):
24104           Can't pass NULL strings to g_print() on windows.
24105
24106 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24107
24108         * docs/Makefile.am:
24109         * docs/gst/Makefile.am:
24110         * docs/gst/gstreamer-docs.sgml:
24111         * docs/gst/running.xml:
24112         * docs/version.entities.in:
24113           add a chapter on running GStreamer.
24114           document GST_DEBUG and GST_PLUGIN* env vars
24115
24116 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24117
24118         * Makefile.am:
24119           remove include dir
24120         * configure.ac:
24121           remove PLUGINS_BUILDDIR stuff
24122         * gst/gst.c: (init_post):
24123           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
24124         * idiottest.mak:
24125           remove, it was condescending and not needed
24126
24127 2005-10-08  Wim Taymans  <wim@fluendo.com>
24128
24129         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
24130         (gst_base_sink_handle_object), (gst_base_sink_event),
24131         (gst_base_sink_wait), (gst_base_sink_handle_event),
24132         (gst_base_sink_change_state):
24133         * gst/base/gstbasesink.h:
24134         Repost EOS message while going to PLAYING if still EOS.
24135         Make sure that when receiving a FLUSH_START we don't attempt
24136         to sync on the clock anymore.
24137
24138 2005-10-08  Wim Taymans  <wim@fluendo.com>
24139
24140         * tools/gst-launch.c: (event_loop):
24141         Better message printout.
24142
24143 2005-10-08  Wim Taymans  <wim@fluendo.com>
24144
24145         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
24146         (gst_bin_child_proxy_get_children_count):
24147         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24148         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
24149         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
24150         (gst_child_proxy_set_valist):
24151         * gst/parse/grammar.y:
24152         Make ChildProxy threadsafe and fix mem leaks.
24153
24154 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24155
24156         * gst/gst.c: (init_post):
24157           debug the GST_PLUGIN_ env vars
24158
24159 2005-10-08  Wim Taymans  <wim@fluendo.com>
24160
24161         * check/gst/gstbin.c: (GST_START_TEST):
24162         * check/gst/gstmessage.c: (GST_START_TEST):
24163         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
24164         * gst/gstelement.c: (gst_element_commit_state),
24165         (gst_element_lost_state):
24166         * gst/gstmessage.c: (gst_message_new_state_changed),
24167         (gst_message_parse_state_changed):
24168         * gst/gstmessage.h:
24169         * tools/gst-launch.c: (event_loop):
24170         Added extra field to STATE_CHANGE message with the pending
24171         state, which will be different from the new state soon.
24172
24173 2005-10-08  Wim Taymans  <wim@fluendo.com>
24174
24175         * gst/gstbus.c: (gst_bus_pop):
24176         * gst/gstclock.c:
24177         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
24178         Small cleanups and doc updates.
24179
24180 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24181
24182         * gst/gst.c: (init_pre):
24183         * gst/gstbin.c: (gst_bin_add_func):
24184           log distributing clocks and base time
24185         * gst/gstregistry.c: (gst_registry_add_plugin),
24186         (gst_registry_scan_path_level), (gst_registry_scan_path):
24187           clean up the debugging output a little
24188         * gst/gstutils.c: (gst_element_state_get_name):
24189           warn about a memleak (I've actually seen this be used, though
24190           it was probably a bug)
24191
24192 2005-10-07  Wim Taymans  <wim@fluendo.com>
24193
24194         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24195         (gst_base_src_init), (gst_base_src_default_newsegment),
24196         (gst_base_src_newsegment), (gst_base_src_do_seek),
24197         (gst_base_src_loop), (gst_base_src_start):
24198         * gst/base/gstbasesrc.h:
24199         Make the newsegment event customizable by subclasses.
24200
24201 2005-10-07  Wim Taymans  <wim@fluendo.com>
24202
24203         * gst/gstevent.c: (gst_event_new_buffersize),
24204         (gst_event_parse_buffersize):
24205         * gst/gstevent.h:
24206         New event for future idea.
24207
24208 2005-10-07  Andy Wingo  <wingo@pobox.com>
24209
24210         * gst/gstelement.c (gst_element_post_message): Doc update.
24211
24212         * docs/gst/gstreamer-sections.txt: Update.
24213
24214         * gst/gstmessage.c (gst_message_new_application): Made into a
24215         function like honest API calls.
24216         (gst_message_new_element): New message type.
24217
24218         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24219
24220         * check/elements/fakesrc.c (test_no_preroll): New check, checks
24221         that setting a live fakesrc to PAUSED returns NO_PREROLL both
24222         times.
24223
24224         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24225         NO_PREROLL from gst_element_change_state to fall through.
24226
24227 2005-10-07  Wim Taymans  <wim@fluendo.com>
24228
24229         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24230         (gst_ghost_pad_do_activate_push):
24231         Activating a ghostpad with no internal pad in push mode
24232         is ok.
24233
24234 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24235
24236         * gst/gstobject.h:
24237           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24238           Fixes compilation on Windows.
24239
24240 2005-10-07  Michael Smith <msmith@fluendo.com>
24241
24242         * tools/gst-inspect.c:
24243           Print out feature and plugin count at the end when printing out
24244           all features.
24245
24246 2005-10-04  Michael Smith <msmith@fluendo.com>
24247
24248         * gst/gsterror.c: (_gst_stream_errors_init):
24249           Add another error string used in a few existing plugins.
24250
24251         * gst/gstplugin.c:
24252         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24253         * tools/gst-inspect.c: (print_element_info):
24254           When a feature disappears from a plugin (and the feature exists in
24255           the cached registry file), things went horribly wrong. This isn't a
24256           complete fix, we should actually be removing the 'missing' features
24257           from the features list when we load the actual plugin. That's not
24258           yet implemented. 
24259
24260 2005-10-04  Johan Dahlin  <johan@gnome.org>
24261
24262         * check/gst/gstiterator.c: (GST_START_TEST):
24263         * gst/gstbin.c: (gst_bin_iterate_elements),
24264         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24265         * gst/gstelement.c: (gst_element_iterate_pads):
24266         * gst/gstformat.c: (gst_format_iterate_definitions):
24267         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24268         (gst_iterator_new_list), (gst_iterator_filter):
24269         * gst/gstiterator.h:
24270         * gst/gstquery.c: (gst_query_type_iterate_definitions):
24271         Add a GType to GstIterator, update callsites and tests.
24272
24273 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24274
24275         * gst/gstpad.c: (gst_pad_event_default_dispatch):
24276           give events a chance to be handled by event probes when the pad
24277           is not linked
24278
24279 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24280
24281         * gst/gstevent.c: (gst_event_type_get_name),
24282         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24283         * gst/gstevent.h:
24284           add string representations for event types
24285
24286 2005-10-06  Wim Taymans  <wim@fluendo.com>
24287
24288         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24289         Don't use NULL pointers.
24290
24291 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24292
24293         * gst/gst_private.h:
24294         * gst/gstbus.c:
24295         * gst/gstelement.c:
24296         * gst/gstinfo.c:
24297         * gst/gstpluginfeature.c:
24298           widen the debug category in output to fit the biggest one we have
24299           add a bus category and use it
24300           play with the colors
24301           fix up some categories
24302
24303 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24304
24305         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24306           add push activation of sink ghost pads.
24307           Andye, please verify
24308
24309 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24310
24311         * gst/gstutils.c: (gst_element_link_pads):
24312           fix a bug in the case where neither element has a pad
24313         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24314           add a test for that case
24315
24316 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24317
24318         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24319           emit have-data before checking for peers.  This allows
24320           for probe handlers to connect elements.  This helps autopluggers.
24321         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24322         (gst_pad_suite):
24323           add six checks, linked/unlinked with no/true/false probe
24324
24325 2005-10-04  Wim Taymans  <wim@fluendo.com>
24326
24327         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24328         (gst_fake_sink_event), (gst_fake_sink_preroll),
24329         (gst_fake_sink_render), (gst_fake_sink_change_state):
24330         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24331         (gst_fake_src_get_property), (gst_fake_src_create),
24332         (gst_fake_src_stop):
24333         * gst/elements/gstidentity.c: (gst_identity_stop):
24334         Protect last_message with lock.
24335
24336 2005-10-04  Edward Hervey  <edward@fluendo.com>
24337
24338         * gst/gstformat.h: 
24339         Added precision in the comments for GST_FORMAT_DEFAULT
24340
24341 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
24342
24343         * tools/gst-launch.c: (main):
24344           Don't try to run erroneous pipelines.
24345
24346 2005-10-04  Julien MOUTTE  <julien@moutte.net>
24347
24348         * gst/gstbus.c: We don't need this header.
24349
24350 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24351
24352         * configure.ac:
24353           back to development
24354
24355 === release 0.9.3 ===
24356
24357 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24358
24359         * README:
24360         * configure.ac:
24361           Releasing 0.9.3, "Unregistered"
24362
24363 2005-10-03  Andy Wingo  <wingo@pobox.com>
24364
24365         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24366         whereby calling a pad's activatepush() function can start a thread
24367         that starts to push or pull before the pad gets the FLUSHING flag
24368         unset. Hack around it by holding the stream lock until the flag is
24369         set. Need to replace this with a proper solution. Together with
24370         the ghost pad fixes, this fixes mp3 playing/tagreading.
24371
24372         * docs/design/part-gstghostpad.txt: Add a note about activation of
24373         proxy pads outside of ghost pads.
24374
24375         * gst/gstghostpad.c: Implement the ghost pad activation design.
24376
24377 2005-10-02  Andy Wingo  <wingo@pobox.com>
24378
24379         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24380         It is volatile, after all.
24381
24382         * docs/design/part-gstghostpad.txt: Flesh out activation with
24383         ghost pads.
24384
24385         * gst/base/gstbasesrc.c (gst_base_src_init): Use
24386         GST_DEBUG_FUNCPTR.
24387
24388 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
24389
24390         * configure.ac:
24391           Fix (unused) AM_CONDITIONAL tests.
24392
24393 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
24394
24395         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24396
24397         * gst/gstutils.c: (gst_pad_query_convert):
24398           Add assertion that makes sure src_val is >=0, just like
24399           gst_query_new_convert() has. (#315895)
24400
24401 2005-09-30  Edward Hervey  <edward@fluendo.com>
24402
24403         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24404         Let's not iterate pads we're not interested in, it avoids getting 
24405         sky-high refcounts on sinkpad.
24406
24407 2005-09-30  Wim Taymans  <wim@fluendo.com>
24408
24409         * gst/gstelement.c: (gst_element_set_state),
24410         (gst_element_change_state):
24411         Small tweak, element in ASYNC remains ASYNC.
24412
24413 2005-09-30  Wim Taymans  <wim@fluendo.com>
24414
24415         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24416         Only error is an error.
24417
24418         * gst/gstbin.c: (gst_bin_change_state):
24419         Better debugging.
24420
24421         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24422         Also call pad_block in pad alloc.
24423
24424         * gst/gstutils.c: (gst_flow_get_name):
24425         Better debugging.
24426
24427 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24428
24429         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24430         (gst_base_src_get_range):
24431           Fix documentation typos. Add some more debug info.
24432
24433 2005-09-29  David Schleef  <ds@schleef.org>
24434
24435         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24436           more end-user friendly.
24437         * tools/gst-inspect.c: (main): Check if command-line argument is
24438           a file and attempt to load that file as a plugin.
24439
24440 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24441
24442         * check/gst/gstbin.c:
24443         * check/states/sinks.c:
24444           fix tests for the new warning
24445         * check/gst/gstpipeline.c:
24446           add a test for pipeline and bus interaction
24447         * gst/gstelement.c:
24448           elements should be NULL if they get disposed; add a warning if not
24449
24450 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24451
24452         * gst/gstobject.c:
24453           for 2.6 refcounting, make debug log more correct by printing
24454           the actual refcounts at the time of swap (Wim)
24455
24456 2005-09-29  Andy Wingo  <wingo@pobox.com>
24457
24458         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24459         removes signal watches previously added via
24460         gst_bus_add_signal_watch.
24461         (gst_bus_add_signal_watch): Don't return the source id, just store
24462         it on the bus if there wasn't an id already.
24463
24464         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24465         add_signal_watch and remove_signal_watch.
24466
24467 2005-09-29  Edward Hervey  <edward@fluendo.com>
24468
24469         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24470         Better if we actually iterate the list :)
24471
24472 2005-09-29  Wim Taymans  <wim@fluendo.com>
24473
24474         * check/gst/gstbin.c: (GST_START_TEST):
24475         Change for new bus API.
24476
24477         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24478         (send_messages), (GST_START_TEST), (gstbus_suite):
24479         Change for new bus signal API.
24480
24481         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24482         (gst_bus_source_prepare), (gst_bus_source_check),
24483         (gst_bus_create_watch), (gst_bus_add_watch_full),
24484         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24485         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24486         * gst/gstbus.h:
24487         Remove support for multiple GSources operating on different
24488         message types as it is too complex and unneeded when using
24489         signals.
24490         Added support for receiving signals from the bus.
24491
24492 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24493
24494         * docs/libs/tmpl/gstdataprotocol.sgml:
24495         * docs/manual/advanced-dataaccess.xml:
24496         * gst/elements/gstcapsfilter.c:
24497         * gst/gstutils.c:
24498           rename filter-caps to caps property
24499
24500 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24501
24502         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24503           More robust fraction string parsing.
24504
24505         * docs/pwg/appendix-porting.xml:
24506           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24507
24508 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24509
24510         * gst/gstcaps.c: (gst_caps_do_simplify):
24511           Thou shalt not free a structure and then continue using it
24512           in the next loop iteration.
24513
24514         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24515         (gst_caps_suite):
24516           Add test case for caps simplification.
24517
24518 2005-09-29  Wim Taymans  <wim@fluendo.com>
24519
24520         * check/gst/gstbin.c: (GST_START_TEST):
24521         Oops.
24522
24523 2005-09-29  Wim Taymans  <wim@fluendo.com>
24524
24525         * check/gst/gstbin.c: (GST_START_TEST):
24526         Add bus to bin.
24527
24528         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24529         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24530         (find_element), (gst_bin_sort_iterator_next),
24531         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24532         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24533         (gst_bin_change_state), (gst_bin_dispose):
24534         A bin does not have a bus, it gets the bus from the parent.
24535
24536         * gst/gstelement.c: (gst_element_requires_clock),
24537         (gst_element_provides_clock), (gst_element_is_indexable),
24538         (gst_element_is_locked_state), (gst_element_change_state),
24539         (gst_element_set_bus_func):
24540         Small cleanups.
24541
24542         * gst/gstpipeline.c: (gst_pipeline_class_init),
24543         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24544         The pipeline provides a bus.
24545
24546 2005-09-28  Johan Dahlin  <johan@gnome.org>
24547
24548         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24549         gst_structure_get_enum instead of gst_structure_get_int
24550
24551         * gst/gststructure.c (gst_structure_get_enum): Impl.
24552
24553         * gst/gststructure.h (gst_structure_get_enum): Add
24554
24555         * docs/gst/gstreamer-sections.txt: Ditto
24556
24557         * gst/gstmessage.c (gst_message_new_state_changed): Use
24558         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24559         which does introspection.
24560         Reviewed by Christian Schaller
24561
24562 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24563
24564         * gst/gstinfo.c: (gst_debug_log_default):
24565           don't do dummy g_strdup()s
24566         * libs/gst/controller/gstcontroller.c:
24567         (on_object_controlled_property_changed),
24568         (gst_controlled_property_new), (gst_controller_new_valist),
24569         (gst_controller_new_list),
24570         (gst_controller_remove_properties_valist), (gst_controller_set),
24571         (gst_controller_get), (gst_controller_sync_values),
24572         (gst_controller_get_value_array), (_gst_controller_class_init),
24573         (gst_controller_get_type):
24574         * libs/gst/controller/gstcontroller.h:
24575         * libs/gst/controller/gstinterpolation.c:
24576         (gst_controlled_property_find_timed_value_node):
24577           convert // to /**/ comments
24578
24579 2005-09-28  Wim Taymans  <wim@fluendo.com>
24580
24581         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24582         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24583         (gst_bus_sync_signal_handler):
24584         * gst/gstbus.h:
24585         Added async-message and sync-message signals to the bus.
24586         Added helper BusFunc to emit signals for all posted messages.
24587
24588         * gst/gstmessage.c: (gst_message_type_get_name),
24589         (gst_message_type_to_quark), (gst_message_get_type):
24590         * gst/gstmessage.h:
24591         Register quarks for message names.
24592
24593 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24594
24595         * docs/libs/gstreamer-libs-sections.txt:
24596         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24597         (gst_controller_new_list):
24598         * libs/gst/controller/gstcontroller.h:
24599           added another constructor for language bindings
24600
24601 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24602
24603         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24604           add another check
24605         * gst/gstbus.c:
24606           add some doc
24607         * gst/gstinfo.c: (_gst_debug_init):
24608           slightly more readable color for refcount debugging
24609
24610 2005-09-28  Wim Taymans  <wim@fluendo.com>
24611
24612         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24613         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24614         (find_element), (gst_bin_sort_iterator_next),
24615         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24616         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24617         (gst_bin_change_state), (gst_bin_dispose):
24618         Small doc fixes. get_clock -> provide_clock.
24619
24620         * gst/gstelement.c: (gst_element_class_init),
24621         (gst_element_provides_clock), (gst_element_provide_clock),
24622         (gst_element_get_clock), (gst_element_commit_state),
24623         (gst_element_lost_state):
24624         * gst/gstelement.h:
24625         Make get/set_clock() symetric. Add provide_clock vmethod since
24626         that is actually what this function does.
24627
24628         * gst/gstpipeline.c: (gst_pipeline_class_init),
24629         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24630         (gst_pipeline_get_clock):
24631         get_clock -> provide_clock.
24632
24633 2005-09-28  Andy Wingo  <wingo@pobox.com>
24634
24635         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24636         lieu of real docs...
24637
24638         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24639
24640 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24641
24642         * gst/elements/gstcapsfilter.c:
24643         * gst/elements/gstfakesink.c:
24644         * gst/elements/gstfakesrc.c:
24645         * gst/elements/gstfdsink.c:
24646         * gst/elements/gstfdsrc.c:
24647         * gst/elements/gstfilesink.c:
24648         * gst/elements/gstfilesrc.c:
24649         * gst/elements/gstidentity.c:
24650         * gst/elements/gsttee.c:
24651         * gst/elements/gsttypefindelement.c:
24652           Make element details static.
24653
24654 2005-09-28  Wim Taymans  <wim@fluendo.com>
24655
24656         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24657         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24658         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24659         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24660         (gst_bin_change_state), (gst_bin_dispose):
24661         Some documentation updates.
24662         Clean up dispose handlers.
24663
24664         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24665         * gst/gstpad.c: (gst_pad_dispose):
24666         Clean up dispose handler.
24667
24668         * gst/gstpipeline.c: (gst_pipeline_change_state):
24669         Removed spurious UNLOCK.
24670
24671 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24672
24673         * docs/gst/gstreamer-sections.txt:
24674         * gst/base/gstbasesrc.h:
24675         * gst/gstelement.h:
24676         * gst/gstevent.h:
24677         * gst/gstobject.h:
24678         * gst/gstpad.h:
24679         * gst/gstpipeline.c:
24680         * gst/gstpipeline.h:
24681         * gst/gstutils.h:
24682         * gst/gstxml.h:
24683           added two new functions to the docs
24684                 documents all undocumented GstXXXFlags
24685                 completed some incomplete docs 
24686
24687 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24688
24689         * gst/gstbin.c: (gst_bin_dispose):
24690         * gst/gstelement.c: (gst_element_dispose):
24691           remove now useless and leaky resurrection code in dispose
24692         * gst/base/gstbasesrc.c: (gst_base_src_init):
24693         * gst/gstelementfactory.c: (gst_element_factory_create):
24694         * gst/gstobject.c: (gst_object_set_parent):
24695           add some debugging
24696
24697 2005-09-27  Wim Taymans  <wim@fluendo.com>
24698
24699         * docs/design/part-TODO.txt:
24700         Update TODO.
24701
24702         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24703         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24704         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24705         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24706         (gst_bin_change_state):
24707         * gst/gstelement.h:
24708         Remove element variable, we keep element info in the iterator now.
24709
24710 2005-09-27  Andy Wingo  <wingo@pobox.com>
24711
24712         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24713         values.
24714
24715 2005-09-27  Wim Taymans  <wim@fluendo.com>
24716
24717         * check/gst/gstbin.c: (GST_START_TEST):
24718         Enable check that works now.
24719
24720         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24721         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24722         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24723         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24724         (gst_bin_change_state):
24725         * gst/gstbin.h:
24726         Redid the state change algorithm using a topological sort algo.
24727         Handles all cases correctly.
24728         Exposed iterator for state change order.
24729
24730         * gst/gstelement.h:
24731         Temp storage for state changes. Need to get rid of this soon.
24732
24733 2005-09-27  Wim Taymans  <wim@fluendo.com>
24734
24735         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24736         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24737         (link_fold_func), (gst_pad_proxy_setcaps):
24738         Leak fixes, the fold functions need to unref the passed object and
24739         _get_parent_*() returns ref to parent.
24740
24741 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24742
24743         * check/gst/gstbuffer.c: (test_make_writable):
24744           Plug leak in test case and fix 'make check-valgrind'
24745
24746 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24747
24748         * gst/gstbuffer.c: (gst_subbuffer_init):
24749           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24750           works correctly in all circumstances (we could have just copied
24751           the parent buffer's readonly flag, but conceptually it seems
24752           cleaner to mark all subbuffers as read-only). (based on patch
24753           by Alessandro Decina, #314710).
24754         
24755         * check/gst/gstbuffer.c: (create_read_only_buffer),
24756         (test_make_writable), (test_subbuffer_make_writable),
24757         (gst_test_suite):
24758           Add some tests for gst_buffer_make_writable().
24759
24760 2005-09-27  Wim Taymans  <wim@fluendo.com>
24761
24762         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24763         use gst_object_has_ancestor().
24764
24765         * gst/gstobject.c: (gst_object_has_ancestor):
24766         * gst/gstobject.h:
24767         gst_object_has_ancestor() copied from gstbin.c as it is a
24768         useful function.
24769
24770         * tests/instantiate/create.c: (create_all_elements):
24771         * tests/lat.c: (handoff_src), (handoff_sink):
24772         * tests/sched/runxml.c: (main):
24773         * tests/seeking/seeking1.c: (main):
24774         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24775         (main):
24776         Fix compilation of some tests.
24777
24778 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24779
24780         * gst/gsterror.h:
24781           Remove comment. GST_TYPE_G_ERROR is here to stay,
24782           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24783           (#316961, #300610).
24784
24785 2005-09-26  Wim Taymans  <wim@fluendo.com>
24786
24787         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24788         Added check that shows error in state change order.
24789
24790 2005-09-26  Wim Taymans  <wim@fluendo.com>
24791
24792         * gst/gstbin.c: (gst_bin_change_state):
24793         Make state change function use 3 queues again, we were
24794         adding elements in the wrong order.
24795
24796         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24797         Some debug info,
24798
24799         * gst/gstpad.c: (gst_pad_dispose):
24800         Added some debug info first.
24801
24802 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24803
24804         * docs/design/draft-push-pull.txt:
24805         * docs/design/part-events.txt:
24806         * docs/design/part-overview.txt:
24807         * docs/design/part-scheduling.txt:
24808           Replace all _pull_region() with _pull_range()
24809           
24810 2005-09-26  Andy Wingo  <wingo@pobox.com>
24811
24812         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24813
24814         * check/gst-libs/controller.c: Update for controller api change.
24815
24816         * configure.ac: 
24817         * tests/Makefile.am:
24818         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24819         over by GLib bug 118439.
24820         
24821         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24822         routines to a function.
24823
24824         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24825
24826         * libs/gst/controller/gsthelper.c:
24827         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24828         (gst_object_sync_values): Renamed from sink_values. Ugh.
24829
24830         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24831
24832         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24833         Renamed from controller_key, as it is exported.
24834
24835         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24836
24837 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24838
24839         * gst/Makefile.am:
24840         * gst/gst.h:
24841         * gst/gstpad.h:
24842         * gst/gstpadtemplate.h:
24843         * gst/gstquery.c:
24844         * gst/gstquery.h:
24845         * gst/gstqueryutils.c:
24846         * gst/gstqueryutils.h:
24847           remove queryutils headers after moving the two used functions
24848           to gstquery.  also fixes build problem for gstsiddec
24849
24850 2005-09-26  Michael Smith <msmith@fluendo.com>
24851
24852         * tools/gst-launch.1.in:
24853         Correct documentation in manpage of debug syntax
24854
24855 2005-09-26  Wim Taymans  <wim@fluendo.com>
24856
24857         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24858         (gst_base_src_is_seekable), (gst_base_src_change_state):
24859         Some more debugging info.
24860
24861 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24862
24863         * docs/gst/gstreamer-sections.txt:
24864         * gst/base/gstbasetransform.h:
24865         * gst/gstindex.h:
24866           added more docs
24867
24868 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24869
24870         * docs/gst/.cvsignore:
24871         * docs/gst/tmpl/.cvsignore:
24872         * docs/gst/tmpl/gstpipeline.sgml:
24873         * docs/gst/tmpl/gstplugin.sgml:
24874         * gst/gstpipeline.c:
24875         * gst/gstplugin.c:
24876         * gst/gstplugin.h:
24877           inlined the last two docs files
24878           removed the tmpl directory from cvs (no more conflicts here!)
24879
24880 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24881
24882         * docs/gst/gstreamer-sections.txt:
24883         * docs/gst/tmpl/.cvsignore:
24884         * docs/gst/tmpl/gstpad.sgml:
24885         * docs/gst/tmpl/gstpadtemplate.sgml:
24886         * gst/Makefile.am:
24887         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24888         (gst_pad_finalize), (gst_pad_set_pad_template):
24889         * gst/gstpad.h:
24890         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24891         (gst_pad_template_class_init), (gst_pad_template_init),
24892         (gst_pad_template_dispose), (name_is_valid),
24893         (gst_static_pad_template_get), (gst_pad_template_new),
24894         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24895         (gst_pad_template_pad_created):
24896         * gst/gstpadtemplate.h:
24897           inlined two more docs
24898           factored gstpadtemplate out of gstpad
24899
24900 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24901
24902         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24903         (test_children_state_change_order_semi_sink):
24904           Fix test case: we can't rely on a fixed state change order when
24905           going from READY => PAUSED because the sink might commit its 
24906           new state first when the first buffer created by the source 
24907           reaches the sink before the source has finished its change state.
24908           (Test case still fails at times, see #316856, comment 5 onwards)
24909
24910 2005-09-24  Wim Taymans  <wim@fluendo.com>
24911
24912         * docs/design/part-events.txt:
24913         * docs/design/part-gstbus.txt:
24914         * docs/design/part-gstpipeline.txt:
24915         * docs/design/part-messages.txt:
24916         * docs/design/part-overview.txt:
24917         * docs/design/part-segments.txt:
24918         * gst/gstbin.c:
24919         * gst/gstbuffer.c:
24920         * gst/gstclock.c:
24921         * gst/gstelement.c:
24922         * gst/gstevent.c:
24923         * gst/gstfilter.c:
24924         * gst/gstiterator.c:
24925         Various documentation updates.
24926
24927 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24928
24929         * gst/gstclock.h:
24930           Well, that's embarassing.  Luckily we weren't using
24931           GST_CLOCK_DIFF anywhere.
24932
24933 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24934
24935         * common/gtk-doc.mak:
24936           don't fail on building XML, FC4 slave shows a bunch of doc
24937           missing bits that I don't get
24938         * gst/gstpad.c:
24939         * gst/gstpipeline.c:
24940         * gst/gststructure.c:
24941           some doc updates
24942
24943 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24944
24945         * docs/design/part-gstbin.txt:
24946         * docs/design/part-gstbus.txt:
24947         * gst/gstbus.c:
24948           Add blurb about how the bus goes into flushing mode and
24949           drops all messages when its bin goes from READY into NULL 
24950           state.
24951
24952 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24953
24954         * docs/gst/gstreamer-sections.txt:
24955         * gst/gststructure.c: (gst_structure_get_clock_time):
24956         * gst/gststructure.h:
24957           add a method to get a GstClockTime out of a structure
24958
24959 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24960
24961         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24962         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24963           Added test to check state change order in bins (can still be made
24964           to fail here under heavy disk load; bails out with 'Push on pad
24965           fakesink:sink0, but it was not activated in push mode').
24966
24967         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24968           Fix state change order when there is only a semi sink (#316856)
24969
24970         * gst/gstbus.c: (gst_bus_class_init):
24971           Use _class_peek_parent(), not _class_ref(); fix docs to say
24972           'default main context' instead of 'mainloop' where that is
24973           what's meant.
24974
24975         * gst/gstelement.c: (gst_element_commit_state),
24976         (gst_element_set_state):
24977           Fix typos in debug messages
24978
24979 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24980
24981         * docs/README:
24982         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24983         * gst/gstpluginfeature.c:
24984         * gst/gstutils.c:
24985           various doc updates
24986         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24987           change an assert into an error until it gets fixed properly
24988
24989 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24990
24991         * docs/gst/gstreamer-sections.txt:
24992         * docs/gst/tmpl/.cvsignore:
24993         * docs/gst/tmpl/gstelement.sgml:
24994         * docs/gst/tmpl/gstinfo.sgml:
24995         * docs/gst/tmpl/gstobject.sgml:
24996         * gst/gstelement.c:
24997         * gst/gstelement.h:
24998         * gst/gstinfo.c:
24999         * gst/gstinfo.h:
25000         * gst/gstobject.c: (gst_object_class_init):
25001         * gst/gstobject.h:
25002           inlined 3 more biiiig doc files and added some missing docs on the fly
25003
25004 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
25005
25006         * check/gst/.cvsignore:
25007         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
25008         * gst/gstregistryxml.c: (load_plugin),
25009         (gst_registry_xml_save_plugin):
25010           put back source in registry.  add checks for find_plugin.
25011         * testsuite/states/bin.c: (assert_state), (empty_bin),
25012         (test_adding_one_element), (main):
25013         * testsuite/states/locked.c: (main):
25014           some compile/run fixes
25015
25016 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25017
25018         * check/gst/gstvalue.c: (GST_START_TEST):
25019           fix leaks in the test itself
25020
25021 2005-09-22  Wim Taymans  <wim@fluendo.com>
25022
25023         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25024         (gst_base_sink_send_event), (gst_base_sink_peer_query),
25025         (gst_base_sink_query):
25026         Prepare for more accurate position reporting and query
25027         handling.
25028
25029         * gst/gstelement.c: (gst_element_send_event),
25030         (gst_element_set_state):
25031         Add some comment.
25032
25033 2005-09-22  Wim Taymans  <wim@fluendo.com>
25034
25035         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
25036         (gst_query_parse_segment):
25037         * gst/gstquery.h:
25038         More documentation.
25039         Add segment query for future use.
25040
25041 2005-09-22  Wim Taymans  <wim@fluendo.com>
25042
25043         * gst/gstbin.c: (gst_bin_add_func):
25044         Some more debug info.
25045
25046         * gst/gstelement.c: (gst_element_send_event):
25047         Simplify send_event
25048
25049         * gst/gstelement.h:
25050         Don't know how flags got broken.
25051
25052         * gst/gstquery.h:
25053         Added new query.
25054
25055 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
25056
25057         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
25058           Add simplistic test suite for GST_TYPE_DATE serialisation and
25059           deserialisation.
25060
25061 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
25062
25063         * docs/gst/gstreamer-sections.txt:
25064         * gst/gststructure.c: (gst_structure_set_valist),
25065         (gst_structure_get_date):
25066         * gst/gststructure.h:
25067         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
25068         (gst_date_copy), (gst_value_compare_date),
25069         (gst_value_serialize_date), (gst_value_deserialize_date),
25070         (gst_value_transform_date_string),
25071         (gst_value_transform_string_date), (_gst_value_initialize):
25072         * gst/gstvalue.h:
25073           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
25074           bunch of utility functions along with a hack that checks that
25075           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
25076           is required. Part of the grand scheme in #170777.
25077
25078 2005-09-22  Andy Wingo  <wingo@pobox.com>
25079
25080         * gst/gstconfig.h.in: Psych out gtk-doc.
25081
25082         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
25083
25084         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
25085
25086         * tools/gst-inspect.c (print_element_list): Plug some
25087         inconsequential leaks.
25088
25089         * gst/gstregistry.c (gst_registry_get_default): Doc.
25090
25091         * check/gst/gstplugin.c: 
25092         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
25093         * gst/gstelementfactory.c (gst_element_factory_create): 
25094         * gst/gstindexfactory.c (gst_index_factory_create): Update for
25095         refcount changes.
25096
25097         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
25098         (gst_plugin_feature_load): Doc, don't eat refs.
25099
25100         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
25101         (gst_plugin_list_free): Doc.
25102         (gst_plugin_load_file): Doc updates.
25103
25104         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
25105         accessors returning refcounted objects, return a ref.
25106
25107         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
25108         accessor for caps. IDEMPOTENCE. Oh yes.
25109
25110 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
25111
25112         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
25113
25114         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25115         (_gst_debug_register_funcptr):
25116           Add mutex to serialise access to the hash table with
25117           the function pointer => function name string mapping;
25118           make that hash table static scope (#316809).
25119
25120         * gst/registries/.cvsignore:
25121           Remove left-over file.
25122
25123 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
25124
25125         * docs/pwg/appendix-porting.xml:
25126           And something about newsegment events and caps-on-buffers to
25127           the porting guide (feel free to improve).
25128
25129 2005-09-21  Andy Wingo  <wingo@pobox.com>
25130
25131         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
25132         data and event probes on the same pad.
25133         (test_buffer_probe_once): Test that removing probes from within
25134         the probe functions works.
25135
25136 2005-09-21  Andy Wingo  <wingo@pobox.com>
25137
25138         * check/gst/gstutils.c: New file.
25139         (test_buffer_probe_n_times): A simple buffer probe test. More to
25140         come, foolios.
25141
25142         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
25143         have-data::buffer, not have-data.
25144         (gst_pad_add_event_probe): Likewise for have-data::event.
25145         (gst_pad_add_data_probe): More docs. The part about 'resolving the
25146         peer' isn't quite right yet though.
25147         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
25148         (gst_pad_remove_data_probe): Change to take the guint handler_id
25149         as their arg, not the function+data, which is more glib-like.
25150
25151         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
25152         the signal emission to indicate if the data is a buffer or an
25153         event.
25154         (gst_pad_get_type): Initialize buffer and event quarks.
25155         (gst_pad_class_init): have-data is now a detailed signal, yes it
25156         is.
25157
25158 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
25159
25160         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25161         * gst/gstutils.c: (gst_util_set_value_from_string),
25162         (gst_util_set_object_arg):
25163           Don't put functional code in g_return_if_fail() or
25164           g_return_val_if_fail() statements, otherwise things will 
25165           break when G_DISABLE_CHECKS is defined during compilation.
25166
25167 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25168
25169         * docs/gst/tmpl/.cvsignore:
25170         * docs/gst/tmpl/gstvalue.sgml:
25171         * gst/gstvalue.c:
25172         * gst/gstvalue.h:
25173           inlied another one and added  some obvious docs
25174
25175 2005-09-21  Wim Taymans  <wim@fluendo.com>
25176
25177         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
25178         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
25179         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
25180         (gst_fdsrc_get_property), (gst_fdsrc_create):
25181         * gst/elements/gstfdsrc.h:
25182         Properly implement fdsrc. Removed signal and timeout,
25183         better implemented somewhere else.
25184
25185 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25186
25187         * docs/gst/tmpl/.cvsignore:
25188         * docs/gst/tmpl/gstimplementsinterface.sgml:
25189         * gst/gstinterface.c:
25190           inlined more docs
25191
25192 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25193
25194         * docs/gst/gstreamer-sections.txt:
25195         * docs/gst/tmpl/.cvsignore:
25196         * docs/gst/tmpl/gstenumtypes.sgml:
25197           remove obsolete doc file
25198
25199 2005-09-21  David Schleef  <ds@schleef.org>
25200
25201         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25202         little beer, fix a little leak.
25203
25204 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25205
25206         * docs/gst/gstreamer-docs.sgml:
25207         * docs/gst/gstreamer-sections.txt:
25208         * docs/gst/tmpl/.cvsignore:
25209         * gst/Makefile.am:
25210         * gst/gst.h:
25211         * gst/gstbin.c:
25212         * gst/gstelement.h:
25213         * gst/gstindex.c: (gst_index_class_init):
25214         * gst/gstindex.h:
25215         * gst/gstindexfactory.c: (gst_index_factory_get_type),
25216         (gst_index_factory_class_init), (gst_index_factory_init),
25217         (gst_index_factory_finalize), (gst_index_factory_new),
25218         (gst_index_factory_destroy), (gst_index_factory_find),
25219         (gst_index_factory_create), (gst_index_factory_make):
25220         * gst/gstindexfactory.h:
25221         * gst/gstpluginfeature.c:
25222         * gst/gstpluginfeature.h:
25223         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25224           more docs inlined, splitted gstindex.{c,h}
25225
25226 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25227
25228         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25229           fix a leak
25230
25231 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25232
25233         * gst/elements/gstfilesink.c: (gst_file_sink_init):
25234           Set sync to FALSE by default.
25235
25236 2005-09-20  Wim Taymans  <wim@fluendo.com>
25237
25238         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25239         (gst_base_sink_init):
25240         Make sync property settable from subclass.
25241
25242         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25243         (gst_fake_sink_change_state):
25244         Set sync to FALSE by default.
25245
25246 2005-09-20  Wim Taymans  <wim@fluendo.com>
25247
25248         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25249         * tools/gst-launch.c: (main):
25250         The timeout handler should have lower priority than the source
25251         so we don't timeout before popping a message with 0 timeout.
25252         Dump error messages after failed state change.
25253
25254 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25255
25256         * tools/gst-inspect.c: (print_element_properties_info):
25257           Fix two typos.
25258
25259 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25260
25261         * check/gst/gstevent.c:
25262         * gst/elements/gstfakesink.c:
25263         * gst/elements/gstfakesink.h:
25264           remove the sync property from fakesink.
25265           has the side effect of setting sync TRUE
25266           for fakesink, which is a change.  Anyone who knows how
25267           to fix this nicely in a GObject-y way, feel free.
25268
25269 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25270
25271         * docs/gst/gstreamer-docs.sgml:
25272           remove probe refsection
25273
25274 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25275
25276         * check/Makefile.am:
25277           disable valgrinding the controller test again
25278         * docs/gst/gstreamer-sections.txt:
25279           update for api-changes
25280
25281 2005-09-20  Wim Taymans  <wim@fluendo.com>
25282
25283         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25284         (gst_base_sink_set_property), (gst_base_sink_get_property),
25285         (gst_base_sink_do_sync):
25286         * gst/base/gstbasesink.h:
25287         Added sync property to basesink to disable clock sync.
25288
25289 2005-09-20  Andy Wingo  <wingo@pobox.com>
25290
25291         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25292         eating the caller's refcount.
25293
25294         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
25295         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25296         refcount.
25297
25298         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25299         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25300         of GLib 2.8 public, so we can know which refcount to check in
25301         tests.
25302
25303         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25304         (gst_object_init): Only set the gst refcount if we're going ahead
25305         with the refcount hack.
25306
25307 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25308
25309         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25310         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25311           more leaks plumbed, added more debug-logging
25312         * gst/gstmacros.h:
25313           whitespace fix
25314
25315 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25316
25317         * gst/gstmessage.c:
25318           remove include of gstmemchunk.h
25319
25320 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25321
25322         * gst/gstclock.c: (_gst_clock_id_free):
25323           Commit from the Political Party For More Atomic CVS Commits,
25324           so that people don't waste too much of their day fishing
25325           out obvious leaks out of massive commits.
25326           Oh, and fix a pretty damn obvious leak in the memchunk
25327           removal code.
25328
25329 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25330
25331         * check/Makefile.am:
25332         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25333           plug mem-leak, re-add to valgrindable tests
25334
25335 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25336
25337         * gst/gstplugin.h:
25338           unbreak the build for those who have chronic arthritis
25339           and typing "make check" is just too taxing on the hands
25340
25341 2005-09-20  Andy Wingo  <wingo@pobox.com>
25342
25343         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25344         really want it out, you should fix plugins at the same time.
25345
25346 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
25347
25348         * configure.ac:
25349         * docs/gst/gstreamer-sections.txt:
25350         * gst/gstobject.c:
25351           added missing symbols to api docs
25352           disable ref-count hack if we have glib >= 2.8
25353
25354 2005-09-19  David Schleef  <ds@schleef.org>
25355
25356         * docs/gst/Makefile.am: Ignore a few more internal headers
25357         * docs/gst/gstreamer-docs.sgml: Remove old sections
25358         * docs/gst/gstreamer-sections.txt: Remove old sections
25359         * docs/gst/tmpl/gstobject.sgml: update
25360         * docs/gst/tmpl/gstplugin.sgml: update
25361         * docs/gst/tmpl/gstpluginfeature.sgml: update
25362         * docs/random/ds/0.9-suggested-changes: update.
25363         * gst/Makefile.am: remove memchunk and trashstack, since they're
25364           not used.
25365         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25366         * gst/gst.h: don't include some headers
25367         * gst/gstchildproxy.c: add gstmarshal.h
25368         * gst/gstclock.c: Don't use memchunks
25369         * gst/gstminiobject.c: Add some docs
25370         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25371         * gst/gstobject.h: same
25372         * gst/gstplugin.c: include gstmacros.h
25373         * gst/gstplugin.h: don't include gstmacros.h, since it's private
25374         * gst/gstquery.c: don't use memchunks
25375         * gst/gstregistry.c: rename gst_registry_deinit()
25376         * gst/gstregistry.h: same
25377
25378 2005-09-19  David Schleef  <ds@schleef.org>
25379
25380         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25381         * docs/libs/gstreamer-libs-sections.txt:
25382         * docs/libs/tmpl/gstgetbits.sgml:
25383         * docs/libs/tmpl/gstputbits.sgml:
25384
25385 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
25386
25387         * win32/gstenumtypes.c:
25388         * win32/gstenumtypes.h:
25389           Update.
25390
25391 2005-09-19  Wim Taymans  <wim@fluendo.com>
25392
25393         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25394         Automatically PAUSE and RESUME a pipeline when a flushing seek
25395         is performed.
25396
25397 2005-09-19  Andy Wingo  <wingo@pobox.com>
25398
25399         * gst/gstregistry.h: Spacing fixen.
25400
25401 2005-09-19  Wim Taymans  <wim@fluendo.com>
25402
25403         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25404         Handle state change failure more correctly.
25405
25406 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25407
25408         * check/Makefile.am:
25409         * check/pipelines/cleanup.c: (run_pipeline):
25410         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25411         (GST_START_TEST):
25412           enable cleanup again after fixing the leak
25413         * docs/README:
25414           some more info on docs
25415
25416 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25417
25418         * check/Makefile.am:
25419           re-enable tests now that leaks are plugged
25420         * check/gst/gst.c:
25421         * check/gst/gstbin.c:
25422         * check/gst/gstpipeline.c:
25423           add some more tests while fixing leaks
25424         * common/check.mak:
25425           make sure binaries are uptodate when valgrinding/gdbing
25426         * gst/gst.c:
25427         * gst/gstelementfactory.c:
25428           remove a ref too many, and add a FIXME for when we get
25429           round to disposing of classes
25430         * gst/gstplugin.c:
25431           fix the refcounting when loading a plugin from a file and
25432           the code pretends that the pointer is the same even though
25433           of course it can change
25434         * gst/gstpluginfeature.c:
25435           unref plugins marked cached (a bit confusing as a name)
25436           as the docs state should be done
25437           various doc additions to explain refcounting
25438         * gst/gstregistry.c:
25439         * gst/gstregistryxml.c:
25440           debugging
25441
25442 2005-09-19  Wim Taymans  <wim@fluendo.com>
25443
25444         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25445         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25446         (send_messages), (GST_START_TEST), (gstbus_suite):
25447         * check/gst/gstpipeline.c: (GST_START_TEST):
25448         * check/pipelines/cleanup.c: (run_pipeline):
25449         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25450         (GST_START_TEST):
25451         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25452         (gst_bus_source_check), (gst_bus_source_dispatch),
25453         (gst_bus_create_watch), (gst_bus_add_watch_full),
25454         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25455         * gst/gstbus.h:
25456         * tools/gst-launch.c: (event_loop):
25457         * tools/gst-md5sum.c: (event_loop):
25458         GstBusHandler -> GstBusFunc, return value has the same meaning as
25459         any other GSource (FALSE == remove source).
25460         _add_watch() and _add_watch_full() now take a MessageType mask to
25461         only handle specific types of messages.
25462         _poll() returns the GstMessage instead of the message type to avoid
25463         race conditions.
25464         _have_pending() takes a MessageType mask now too.
25465         Added testsuite for multiple bus watches.
25466         Fix testsuites and applications for new bus API.
25467
25468 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25469
25470         * check/Makefile.am:
25471           mark a bunch of the tests as to fix until we fix them
25472
25473 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25474
25475         * common/check.mak:
25476           use GST_PLUGIN settings for valgrind tests as well, so we're
25477           valgrinding the correct thing
25478         * gst/gst.c: (init_post):
25479           plug another leak
25480
25481 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25482
25483         * gst/gst.c: (init_post), (gst_deinit):
25484         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25485         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25486         * gst/gstindex.c: (gst_index_factory_class_init),
25487         (gst_index_factory_finalize):
25488         * gst/gstobject.c: (gst_object_dispose):
25489         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25490         (gst_plugin_load_file), (gst_plugin_desc_free):
25491         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25492         (gst_plugin_feature_finalize):
25493         * gst/gstregistry.c: (gst_registry_class_init),
25494         (gst_registry_init), (gst_registry_finalize),
25495         (gst_registry_get_default), (gst_registry_deinit):
25496         * gst/gstregistry.h:
25497         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25498           various cleanups and memleak plugging.  make valgrind is happy now.
25499
25500 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25501
25502         * common/check.mak:
25503           add a check-valgrind target
25504
25505 2005-09-18  David Schleef  <ds@schleef.org>
25506
25507         * tools/gst-inspect.c: Revert the GOption code.
25508
25509 2005-09-17  David Schleef  <ds@schleef.org>
25510
25511         * check/Makefile.am: Fix environment variables.
25512         * check/gst/gstplugin.c: Fix for API changes.
25513         * tools/gst-inspect.c: Fix for API changes.
25514         * tools/gst-xmlinspect.c: Fix for API changes.
25515         * gst/gstelementfactory.c:
25516         * gst/gstplugin.c:
25517         * gst/gstplugin.h:
25518         * gst/gstpluginfeature.c:
25519         * gst/gstpluginfeature.h:
25520         * gst/gstregistry.c:
25521         * gst/gstregistry.h:
25522         * gst/gstregistryxml.c:
25523         * gst/gsttypefind.c:
25524         * gst/gsttypefindfactory.c:
25525         * gst/indexers/gstfileindex.c:
25526         * gst/indexers/gstmemindex.c:
25527         * gst/schedulers/Makefile.am:
25528           Change registry to keep track of both plugins and features,
25529           removing the feature tracking from plugins themselves.
25530
25531 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25532
25533         * check/Makefile.am:
25534         * tools/gst-register.1.in:
25535           remove gst-register
25536
25537 2005-09-15  David Schleef  <ds@schleef.org>
25538
25539         * check/gst/gstplugin.c:
25540         * gst/gstelementfactory.c:
25541         * gst/gstplugin.c:
25542         * gst/gstpluginfeature.c:
25543         * gst/gstregistry.c:
25544           Getting tired of debugging.  Disabled all the unreffing of
25545           plugins and features, which fixes the segfaults, but of
25546           course leaks like crazy.  At least playbin works.
25547
25548 2005-09-15  David Schleef  <ds@schleef.org>
25549
25550         * check/gst/gstplugin.c: (register_check_elements),
25551         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25552         More testing
25553         * gst/elements/gsttypefindelement.c: Fix refcounting.
25554         * gst/gsttypefind.c:
25555         * gst/gsttypefindfactory.c:
25556         * gst/gsttypefindfactory.h:
25557
25558 2005-09-15  David Schleef  <ds@schleef.org>
25559
25560         * gst/gstindex.c: get refcounting correct.
25561         * gst/gstregistry.c: Handle the case where a feature/plugin is
25562           not found.
25563
25564 2005-09-15  David Schleef  <ds@schleef.org>
25565
25566         * check/Makefile.am:
25567         * check/gst/gstplugin.c: Add test
25568         * gst/gstplugin.c: Fix problems noticed by testsuite
25569         * gst/gstplugin.h:
25570         * gst/gstregistry.c: 
25571         * gst/gstregistry.h:
25572
25573 2005-09-15  David Schleef  <ds@schleef.org>
25574
25575         * gst/gstplugin.c: Implement semi-decent recounting and locking
25576           in plugins and plugin features.
25577         * gst/gstplugin.h:
25578         * gst/gstpluginfeature.c:
25579         * gst/gstpluginfeature.h:
25580         * gst/gstregistry.c:
25581
25582 2005-09-15  Michael Smith <msmith@fluendo.com>
25583
25584         * gst/gstregistry.c: (gst_registry_get_feature_list):
25585           Implement this. Makes oggdemux work; decodebin still broken.
25586
25587 2005-09-14  David Schleef  <ds@schleef.org>
25588
25589         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25590           #316076)
25591         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25592         * gst/check/Makefile.am:
25593         * libs/gst/controller/Makefile.am:
25594         * libs/gst/dataprotocol/Makefile.am:
25595
25596 2005-09-14  David Schleef  <ds@schleef.org>
25597
25598         * configure.ac: Remove getbits library.  Nothing uses it, and
25599           it should be in something like liboil if someone did want
25600           to use it.
25601         * libs/gst/Makefile.am:
25602         * libs/gst/getbits/Makefile.am:
25603         * libs/gst/getbits/gbtest.c:
25604         * libs/gst/getbits/getbits.c:
25605         * libs/gst/getbits/getbits.h:
25606         * libs/gst/getbits/gstgetbits_generic.c:
25607         * libs/gst/getbits/gstgetbits_i386.s:
25608         * libs/gst/getbits/gstgetbits_inl.h:
25609
25610 2005-09-14  David Schleef  <ds@schleef.org>
25611
25612         * gst/Makefile.am: Dist glib-compat.h
25613
25614 2005-09-14  David Schleef  <ds@schleef.org>
25615
25616         * configure.ac: Remove gst/registries, since it's no longer used.
25617         * gst/registries/Makefile.am:
25618         * gst/registries/gstlibxmlregistry.c:
25619         * gst/registries/gstlibxmlregistry.h:
25620         * gst/registries/gstxmlregistry.c:
25621         * gst/registries/gstxmlregistry.h:
25622         * gst/registries/registrytest.c:
25623
25624 2005-09-14  David Schleef  <ds@schleef.org>
25625
25626         * gst/glib-compat.h:
25627         * gst/gstregistryxml.c:
25628           Convergence is near.  Seriously.
25629
25630 2005-09-14  David Schleef  <ds@schleef.org>
25631
25632         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25633         * gst/glib-compat.h:
25634           Attempt #4 to appease the buildbots.
25635
25636 2005-09-14  David Schleef  <ds@schleef.org>
25637
25638         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25639           Attempt #3.
25640
25641 2005-09-14  David Schleef  <ds@schleef.org>
25642
25643         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25644         Attempt #2.
25645
25646 2005-09-14  David Schleef  <ds@schleef.org>
25647
25648         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25649           the new functions.
25650
25651 2005-09-14  David Schleef  <ds@schleef.org>
25652
25653         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25654         * gst/glib-compat.h: Add some functions that are in newer versions
25655           of glib than we care to require.
25656         * gst/gstregistryxml.c: Use them.
25657
25658 2005-09-14  David Schleef  <ds@schleef.org>
25659
25660         * po/POTFILES.in: remove gst-register.c
25661
25662 2005-09-14  David Schleef  <ds@schleef.org>
25663
25664         * docs/gst/gstreamer-docs.sgml:
25665         * docs/gst/gstreamer-sections.txt:
25666         * docs/gst/gstreamer.types:
25667         * docs/gst/tmpl/gstelement.sgml:
25668         * docs/gst/tmpl/gstplugin.sgml:
25669         * docs/gst/tmpl/gstpluginfeature.sgml:
25670           Documentation updates for registry changes.
25671
25672 2005-09-14  David Schleef  <ds@schleef.org>
25673
25674         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25675           because we don't require glib-2.8.
25676
25677 2005-09-14  David Schleef  <ds@schleef.org>
25678
25679         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25680           registries directory.
25681
25682 2005-09-14  David Schleef  <ds@schleef.org>
25683
25684         * check/Makefile.am:
25685         * check/generic/states.c:
25686         * gst/Makefile.am:
25687         * gst/gst.c:
25688         * gst/gst.h:
25689         * gst/gst_private.h:
25690         * gst/gstelementfactory.c:
25691         * gst/gstindex.c:
25692         * gst/gstinfo.c:
25693         * gst/gstplugin.c:
25694         * gst/gstplugin.h:
25695         * gst/gstpluginfeature.c:
25696         * gst/gstpluginfeature.h:
25697         * gst/gstregistry.c:
25698         * gst/gstregistry.h:
25699         * gst/gstregistrypool.c: remove
25700         * gst/gstregistrypool.h: remove
25701         * gst/gsttypefind.c:
25702         * gst/gsttypefindfactory.c:
25703         * gst/gsturi.c:
25704         * tools/Makefile.am:
25705         * tools/gst-compprep.c:
25706         * tools/gst-inspect.c:
25707         * tools/gst-register.c: remove
25708         * tools/gst-xmlinspect.c:
25709           Registry rewrite.  Changes registry from being a file created
25710           by a tool into a simple cache file created automatically by 
25711           libgstreamer.  Removed gst-register (because it's no longer
25712           needed).  Remove registry pools, because we only have one
25713           registry implementation (XML).  Fix up other subsystems as
25714           necessary.
25715
25716 2005-09-13  Michael Smith <msmith@fluendo.com>
25717
25718         * gst/gstconfig.h.in:
25719           Don't Use windows linking attributes for MinGW. Fixes #316157
25720
25721 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25722
25723         * gst/gstutils.c: (set_state_async_thread_func),
25724         (gst_element_set_state_async):
25725           Apparently people think it's better if this function doesn't
25726           try to set the state to whatever state was asked for on the first
25727           call to this function for any object.  Seriously.
25728
25729 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25730
25731         * check/gst/gstpipeline.c: (GST_START_TEST):
25732         * docs/gst/gstreamer-sections.txt:
25733         * gst/gstutils.c: (set_state_async_thread_func),
25734         (gst_element_set_state_async):
25735         * gst/gstutils.h:
25736           add a "gst_element_set_state_async" method that
25737           sets the state and starts a thread to make sure the state
25738           change completes as best as it can
25739
25740 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25741
25742         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25743           codify design+behaviour in testsuite after discussion
25744
25745 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25746
25747         * docs/gst/tmpl/gstelement.sgml:
25748         * docs/manual/appendix-quotes.xml:
25749           add a quote
25750         * gst/gstelement.c: (gst_element_set_state):
25751           add some debug
25752
25753 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25754
25755         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25756         (gst_base_transform_prepare_output_buf),
25757         (gst_base_transform_handle_buffer):
25758         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25759         (gst_capsfilter_prepare_buf):
25760           Remove the requirement for sub-classes to call the parent
25761           implementation of prepare_output_buffer with a wrapper function.
25762           
25763         * gst/gsttaglist.h:
25764         * gst/gsttagsetter.h:
25765           Fix #define wrapper
25766
25767 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25768
25769         * docs/gst/gstreamer-sections.txt:
25770           more doc cleanups
25771
25772 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25773
25774         * docs/gst/gstreamer-sections.txt:
25775         * docs/gst/tmpl/gstelement.sgml:
25776         * docs/gst/tmpl/gstplugin.sgml:
25777         * gst/gstminiobject.c:
25778         * gst/gstvalue.h:
25779           docs now stop throwing warnings
25780
25781 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25782
25783         * docs/gst/gstreamer-sections.txt:
25784         * docs/gst/gstreamer.types:
25785         * docs/gst/tmpl/gstpad.sgml:
25786         * docs/gst/tmpl/gsttypes.sgml:
25787         * gst/base/gstadapter.h:
25788         * gst/base/gstbasesink.h:
25789         * gst/base/gstbasesrc.h:
25790         * gst/gstbin.h:
25791         * gst/gstbuffer.h:
25792         * gst/gstbus.h:
25793         * gst/gstcaps.h:
25794         * gst/gstclock.h:
25795         * gst/gstelement.h:
25796         * gst/gstevent.h:
25797         * gst/gstmessage.h:
25798         * gst/gstpad.h:
25799         * gst/gststructure.c:
25800         * gst/registries/gstlibxmlregistry.h:
25801           various documentation fixes
25802
25803 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25804
25805         * docs/gst/gstreamer-sections.txt:
25806         * docs/gst/tmpl/gstvalue.sgml:
25807           rearrange gstvalue section
25808         * gst/gstutils.c: (gst_element_state_get_name):
25809           NONE -> VOID
25810         * gst/gstvalue.c: (_gst_value_initialize):
25811         * gst/gstvalue.h:
25812           doc updates
25813
25814 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25815
25816         * check/gst-libs/controller.c:
25817           Header include fix.
25818         * gst/base/gstbasetransform.c:
25819         (gst_base_transform_default_prepare_buf),
25820         (gst_base_transform_handle_buffer):
25821         * gst/base/gstbasetransform.h:
25822           Some more basetransform changes and fixes to enable sub-classes
25823           that modify buffer metadata only.
25824         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25825         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25826         (gst_capsfilter_prepare_buf):
25827           If the output pad has fixed allowed caps and input buffers 
25828           don't have any, set the fixed caps on outgoing buffers.
25829
25830 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25831         * check/elements/identity.c: (GST_START_TEST):
25832           Make the error a little clearer when the test fails because
25833           identity made a copy of the buffer.
25834         * docs/gst/gstreamer-sections.txt:
25835           New symbols in gstbasetransform.h
25836         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25837         (gst_base_transform_init), (gst_base_transform_transform_size),
25838         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25839         (gst_base_transform_default_prepare_buf),
25840         (gst_base_transform_get_unit_size),
25841         (gst_base_transform_buffer_alloc),
25842         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25843         (gst_base_transform_change_state),
25844         (gst_base_transform_set_passthrough),
25845         (gst_base_transform_set_in_place),
25846         (gst_base_transform_is_in_place):
25847         * gst/base/gstbasetransform.h:
25848           Change BaseTransform to separate in_place operate from same_caps
25849           output. in_place implies that the element can perform the transform
25850           on incoming buffers in-place, even if the caps on the output are
25851           different.
25852           Sub-class elements can now implement special buffer allocation
25853           methods for outgoing buffers if they wish to.
25854           Big documentation addition.
25855         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25856         * gst/elements/gstelements.c:
25857           Changes for basetransform modifications.
25858         * gst/elements/Makefile.am:
25859         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25860           Compile fix. Extra debug output.
25861
25862 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25863
25864         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25865         (gst_pad_suite):
25866           add tests for valid pad naming
25867         * gst/check/gstcheck.c: (gst_check_log_message_func),
25868         (gst_check_log_critical_func):
25869           add ASSERT_WARNING
25870           remove printing of code, it is fragile when the code contains
25871           % and the line number is enough info
25872         * gst/check/gstcheck.h:
25873         * gst/gstpad.c: (gst_pad_template_new):
25874           fix memleaks
25875
25876 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25877
25878         * configure.ac:
25879           say what CHECK flags we use
25880         * docs/libs/gstreamer-libs.types:
25881         * libs/gst/controller/Makefile.am:
25882         * libs/gst/controller/gst-controller.c:
25883         * libs/gst/controller/gst-controller.h:
25884         * libs/gst/controller/gst-helper.c:
25885         * libs/gst/controller/gst-interpolation.c:
25886         * libs/gst/controller/gstcontroller.c:
25887         * libs/gst/controller/gsthelper.c:
25888         * libs/gst/controller/gstinterpolation.c:
25889         * tools/gst-inspect.c: (print_plugin_info):
25890           we don't use dashes in header names
25891
25892 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25893
25894         * check/Makefile.am:
25895         * check/gst/.cvsignore:
25896         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25897         (gst_pipeline_suite), (main):
25898           adding a test for pipelines and state changes
25899         * gst/gstutils.c: (get_state_func):
25900           add some debugging
25901         * gstreamer.spec.in:
25902           fix up spec file
25903
25904 2005-09-08  Michael Smith <msmith@fluendo.com>
25905
25906         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25907         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25908         (gst_file_src_is_seekable), (gst_file_src_get_size),
25909         (gst_file_src_start):
25910         * gst/elements/gstfilesrc.h:
25911           Various fixes for unseekable, unmmapable, and non-normal files, so
25912           that fallback to read() rather than mmap() works.
25913         * gst/gstevent.c: (gst_event_new_newsegment):
25914           Allow newsegment events with segment_start == segment_end, as will
25915           correctly happen if you use filesrc on a zero-size file, for
25916           example.
25917
25918 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25919
25920         * gst/gstplugin.c: (gst_plugin_load_file):
25921           Call g_module_close when we don't load the module
25922
25923         * gst/registries/gstlibxmlregistry.c:
25924         (gst_xml_registry_get_property):
25925           Port leak fix from 0.8
25926
25927 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25928
25929         * docs/gst/gstreamer-docs.sgml:
25930         * docs/gst/tmpl/.cvsignore:
25931         * docs/gst/tmpl/gsttrace.sgml:
25932         * docs/gst/tmpl/gsttrashstack.sgml:
25933         * gst/Makefile.am:
25934         * gst/gst.h:
25935         * gst/gstelement.h:
25936         * gst/gstevent.h:
25937         * gst/gstmessage.c:
25938         * gst/gstmessage.h:
25939         * gst/gsttag.c:
25940         * gst/gsttag.h:
25941         * gst/gsttaginterface.c:
25942         * gst/gsttaginterface.h:
25943         * gst/gsttaglist.c:
25944         * gst/gsttaglist.h:
25945         * gst/gsttagsetter.c:
25946         * gst/gsttagsetter.h:
25947         * gst/gsttrace.c:
25948         * gst/gsttrace.h:
25949         * gst/gsttrashstack.c:
25950           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25951           inlined docs for gsttrace, gsttrashstack
25952
25953 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25954
25955         * gst/Makefile.am:
25956         * gst/elements/gstbufferstore.h:
25957         * gst/elements/gsttypefindelement.c:
25958         * gst/elements/gsttypefindelement.h:
25959         * gst/gst.h:
25960         * gst/gsttypefind.c:
25961         * gst/gsttypefind.h:
25962         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25963         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25964         (gst_type_find_factory_dispose),
25965         (gst_type_find_factory_unload_thyself),
25966         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25967         (gst_type_find_factory_get_caps),
25968         (gst_type_find_factory_get_extensions),
25969         (gst_type_find_factory_call_function):
25970         * gst/gsttypefindfactory.h:
25971         * gst/registries/gstlibxmlregistry.c:
25972         * gst/registries/gstxmlregistry.c:
25973           splitted gsttypefind into gsttypefind, gsttypefindfactory
25974
25975 2005-09-07  Andy Wingo  <wingo@pobox.com>
25976
25977         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25978         condition whereby the pad's task function is entered before the
25979         pad_mode variable was set.
25980
25981 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25982
25983         * gst/gstpad.c: (gst_pad_alloc_buffer):
25984           Catch misbehaving pad_alloc functions that don't
25985           set up caps and do it for them.
25986
25987 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25988
25989         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25990           test for pipe!=NULL
25991         * docs/gst/tmpl/.cvsignore:
25992         * docs/gst/tmpl/gstmemchunk.sgml:
25993         * docs/gst/tmpl/gstparse.sgml:
25994         * docs/gst/tmpl/gsttaglist.sgml:
25995         * docs/gst/tmpl/gsttagsetter.sgml:
25996         * docs/gst/tmpl/gsttypefind.sgml:
25997         * docs/gst/tmpl/gsttypefindfactory.sgml:
25998         * gst/gstmemchunk.c:
25999         * gst/gstparse.c:
26000         * gst/gsttag.c:
26001         * gst/gsttaginterface.c:
26002         * gst/gsttypefind.c:
26003         * gst/gsttypefind.h:
26004           inlined more docs
26005
26006 === release 0.9.2 ===
26007
26008 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
26009
26010         * NEWS:
26011         * RELEASE:
26012         * configure.ac:
26013           releasing 0.9.2, "South"
26014
26015 2005-09-05  Andy Wingo  <wingo@pobox.com>
26016
26017         * gst/registries/gstxmlregistry.h:
26018         * gst/registries/gstxmlregistry.c: Um... resurrect...
26019         
26020         * gst/registries/gstxmlregistry.h:
26021         * gst/registries/gstxmlregistry.c: and update to newer API.
26022         Incidentally they should be a bit faster now that they don't have
26023         to parse the caps.
26024         
26025 2005-09-05  Andy Wingo  <wingo@pobox.com>
26026
26027         * gst/registries/gstxmlregistry.h:
26028         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
26029         replaced by the libxml registry a while back
26030
26031 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
26032
26033         * docs/gst/tmpl/gstplugin.sgml:
26034         * gst/elements/gstelements.c:
26035         * gst/gst.c:
26036         * gst/gstplugin.c: (gst_plugin_register_func),
26037         (gst_plugin_desc_copy), (gst_plugin_desc_free),
26038         (gst_plugin_get_source):
26039         * gst/gstplugin.h:
26040         * gst/registries/gstlibxmlregistry.c: (load_plugin),
26041         (gst_xml_registry_save_plugin):
26042         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
26043         (gst_xml_registry_save_plugin):
26044         * tools/gst-inspect.c: (print_plugin_info):
26045           add a "source" plugin description field, to represent the source
26046           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
26047           will set it to PACKAGE, which is automake's idea of the name of
26048           the source project.
26049
26050 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
26051
26052         * Makefile.am:
26053         * autogen.sh:
26054         * configure.ac:
26055         * docs/Makefile.am:
26056         * docs/faq/Makefile.am:
26057         * docs/gst/tmpl/gstelement.sgml:
26058         * docs/gst/tmpl/gsttypes.sgml:
26059         * docs/htmlinstall.mak:
26060         * docs/manual/Makefile.am:
26061         * docs/pwg/Makefile.am:
26062           reorganize doc build a little
26063           split out docbook and gtk-doc stuff
26064           have two separate --enable's and enable them through autogen
26065           but disable by default in configure (to be similar to other
26066           projects)
26067         * gstreamer.spec.in:
26068           clean up docs install
26069         * po/af.po:
26070         * po/az.po:
26071         * po/ca.po:
26072         * po/cs.po:
26073         * po/de.po:
26074         * po/en_GB.po:
26075         * po/fr.po:
26076         * po/it.po:
26077         * po/nb.po:
26078         * po/nl.po:
26079         * po/ru.po:
26080         * po/sq.po:
26081         * po/sr.po:
26082         * po/sv.po:
26083         * po/tr.po:
26084         * po/uk.po:
26085         * po/vi.po:
26086           translation updates
26087
26088 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
26089
26090         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
26091           Add comment.
26092           
26093         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
26094         (gst_fake_sink_change_state):
26095           Make state change function thread-safe.
26096           
26097         * gst/gstpad.c: (gst_pad_alloc_buffer):
26098           Set offset on generic buffer allocated by fallback.
26099
26100 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
26101
26102         * docs/gst/gstreamer-sections.txt:
26103         * docs/gst/tmpl/gstelement.sgml:
26104         * gst/gstpad.c:
26105         * libs/gst/controller/gst-controller.c:
26106         (gst_controlled_property_set_interpolation_mode),
26107         (gst_controlled_property_new),
26108         (gst_controller_find_controlled_property):
26109          run the wingo-magic script against the docs
26110
26111 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
26112
26113         * docs/gst/gstreamer-docs.sgml:
26114         * docs/gst/gstreamer-sections.txt:
26115         * docs/gst/tmpl/.cvsignore:
26116         * docs/gst/tmpl/gstelementdetails.sgml:
26117         * docs/gst/tmpl/gstelementfactory.sgml:
26118         * gst/gst.c:
26119         * gst/gstbus.c:
26120         * gst/gstelementfactory.c:
26121         * gst/gstelementfactory.h:
26122           merged elementdetails docs into elementfactory docs
26123           inlined both
26124
26125 2005-09-02  Andy Wingo  <wingo@pobox.com>
26126
26127         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
26128         consider this enum an enum and not a flags.
26129
26130 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
26131
26132         * docs/gst/gstreamer-docs.sgml:
26133         * docs/gst/tmpl/.cvsignore:
26134         * docs/gst/tmpl/gstghostpad.sgml:
26135         * docs/gst/tmpl/gstiterator.sgml:
26136         * docs/gst/tmpl/gstmacros.sgml:
26137         * docs/gst/tmpl/gstrealpad.sgml:
26138         * docs/gst/tmpl/gstregistry.sgml:
26139         * docs/gst/tmpl/gstregistrypool.sgml:
26140         * docs/gst/tmpl/gststructure.sgml:
26141         * docs/gst/tmpl/gstsystemclock.sgml:
26142         * docs/gst/tmpl/gsttrace.sgml:
26143         * gst/gstghostpad.c:
26144         * gst/gstmacros.h:
26145         * gst/gstmemchunk.c:
26146         * gst/gstmemchunk.h:
26147         * gst/gstqueue.c:
26148         * gst/gstregistry.c:
26149         * gst/gstregistrypool.c:
26150         * gst/gststructure.c:
26151         * gst/gstsystemclock.c:
26152           more docs inlined
26153
26154 2005-09-02  Andy Wingo  <wingo@pobox.com>
26155
26156         * gst/gstelement.h (GstState): Renamed from GstElementState,
26157         changed to be a normal enum instead of flags.
26158         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
26159         munged to be GST_STATE_CHANGE_*.
26160         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
26161         work with the new state representation.
26162         (GstStateChange): New enumeration of possible state transitions.
26163         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
26164         (GstElementClass::change_state): Pass the GstStateChange along as
26165         an argument. Helps language bindings, so they don't have to use
26166         tricky lock-needing macros like GST_STATE_CHANGE ().
26167
26168         * scripts/update-states (file): New script. Run it on a file to
26169         update it for state naming and API changes. Updates files in
26170         place.
26171
26172         * All files updated for the new API.
26173
26174 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26175
26176         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
26177         * gst/gstutils.c: (gst_util_set_value_from_string),
26178         (gst_util_set_object_arg):
26179           fix a bunch of unchecked return values
26180         * tools/gst-complete.c: (main):
26181         * gstreamer.spec.in:
26182           clean up a little
26183
26184 2005-09-01  Wim Taymans  <wim@fluendo.com>
26185
26186         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26187         (gst_base_sink_event), (gst_base_sink_do_sync),
26188         (gst_base_sink_handle_event):
26189         * gst/base/gstbasesink.h:
26190         Handle newsegments more correctly.
26191
26192         * gst/gstbus.c:
26193         Fix docs.
26194
26195         * gst/gstevent.c: (gst_event_new_newsegment):
26196         A newsegment cannot have a start_time of -1
26197
26198 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
26199
26200         * win32/gstenumtypes.c:
26201         * win32/gstenumtypes.h:
26202           Update
26203
26204 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26205
26206         * libs/gst/controller/gst-controller.c:
26207         (gst_controlled_property_set_interpolation_mode),
26208         (gst_controlled_property_new):
26209          fixed boolean again
26210
26211 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
26212
26213         * docs/faq/gst-uninstalled:
26214           add -good
26215         * gst/gstevent.c:
26216         * gst/gstevent.h:
26217           remove wrong docs
26218         * gst/gstutils.c: (gst_element_link_filtered):
26219         * gst/gstutils.h:
26220           add gst_element_link_filtered
26221
26222 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26223
26224         * docs/gst/gstreamer-docs.sgml:
26225         * docs/gst/gstreamer-sections.txt:
26226         * docs/gst/tmpl/.cvsignore:
26227         * docs/gst/tmpl/gsterror.sgml:
26228         * docs/gst/tmpl/gstfilter.sgml:
26229         * docs/gst/tmpl/gsturihandler.sgml:
26230         * docs/gst/tmpl/gsturitype.sgml:
26231         * docs/gst/tmpl/gstutils.sgml:
26232         * docs/gst/tmpl/gstxml.sgml:
26233         * gst/gsterror.c:
26234         * gst/gsterror.h:
26235         * gst/gstfilter.c:
26236         * gst/gsturi.c:
26237         * gst/gsturitype.c:
26238         * gst/gstutils.c:
26239         * gst/gstxml.c:
26240           inlined more docs, fixed double id-ref
26241
26242 2005-08-31  Wim Taymans  <wim@fluendo.com>
26243
26244         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26245         (gst_base_transform_handle_buffer):
26246         Passthrough elements don't need the caps as they don't care.
26247
26248 2005-08-31  Wim Taymans  <wim@fluendo.com>
26249
26250         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26251         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26252         Don't leak refcounts on buffers.
26253
26254 2005-08-31  Wim Taymans  <wim@fluendo.com>
26255
26256         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26257         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26258         (gst_base_transform_chain), (gst_base_transform_change_state):
26259         * gst/base/gstbasetransform.h:
26260         Handle the case where we are not negotiated more gracefully.
26261
26262 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
26263
26264         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26265         (gst_file_src_map_region):
26266           Set READONLY flag on mmap'ed buffers, otherwise
26267           gst_buffer_make_writable() won't work properly (#314708).
26268
26269 2005-08-31  Wim Taymans  <wim@fluendo.com>
26270
26271         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26272         passthrough elements can even do inplace on non writable
26273         buffers (as they don't touch them).
26274
26275 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26276
26277         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26278         (gst_test_mono_source_set_property),
26279         (gst_test_mono_source_class_init), (GST_START_TEST),
26280         (gst_controller_suite):
26281           more tests (hehe I have the most)
26282         * gst/gstbus.c:
26283           describe popping messages whenusing mulltiple sources
26284         * libs/gst/controller/gst-controller.c:
26285         (gst_controlled_property_set_interpolation_mode),
26286         (gst_controlled_property_new):
26287         * libs/gst/controller/gst-controller.h:
26288         * libs/gst/controller/gst-interpolation.c:
26289           implement boolean properties
26290
26291 2005-08-31  Wim Taymans  <wim@fluendo.com>
26292
26293         * gst/gstminiobject.c: (gst_mini_object_ref):
26294         Cannot assert that the refcount has to be positive
26295         since a disposed object can be resurrected.
26296
26297 2005-08-31  Wim Taymans  <wim@fluendo.com>
26298
26299         * gst/gstpad.c: (gst_pad_init):
26300         Revert change, need to first fix badly behaving 
26301         apps.
26302
26303 2005-08-30  Wim Taymans  <wim@fluendo.com>
26304
26305         * check/elements/fakesrc.c: (setup_fakesrc):
26306         * check/elements/identity.c: (setup_identity):
26307         Activate pads before using them.
26308
26309 2005-08-30  Wim Taymans  <wim@fluendo.com>
26310
26311         * gst/base/gstadapter.c: (gst_adapter_flush):
26312         Flushing out 0 bytes is ok for this function.
26313
26314         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26315         no newsegment gives a warning and sets the start/stop to 
26316         invalid.
26317
26318         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26319         (gst_base_transform_set_passthrough):
26320         Some debug info.
26321
26322         * gst/gstminiobject.c: (gst_mini_object_ref):
26323         Check refcount here too.
26324
26325         * gst/gstpad.c: (gst_pad_init):
26326         Pads are initially flushing and refusing data.
26327
26328         * gst/gstutils.c: (gst_element_link_pads_filtered):
26329         When adding a capsfilter element make sure it has the
26330         same state as the parent bin.
26331
26332 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26333
26334         * docs/gst/tmpl/.cvsignore:
26335         * docs/gst/tmpl/gstformat.sgml:
26336         * docs/gst/tmpl/gstversion.sgml:
26337         * gst/gstbus.h:
26338         * gst/gstformat.c:
26339         * gst/gstformat.h:
26340         * gst/gstversion.h.in:
26341           more docs and two more inlined
26342
26343 2005-08-30  Wim Taymans  <wim@fluendo.com>
26344
26345         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26346         Don't sync to clock.
26347
26348 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26349
26350         * docs/gst/gstreamer-sections.txt:
26351           ultral33t func10ns deserve to appear in the docs actually
26352         * docs/gst/tmpl/.cvsignore:
26353         * docs/gst/tmpl/gstcompat.sgml:
26354         * docs/gst/tmpl/gstconfig.sgml:
26355         * gst/check/gstcheck.c:
26356         * gst/gstcompat.h:
26357         * gst/gstconfig.h.in:
26358           inlined more docs
26359
26360 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26361
26362         * docs/gst/tmpl/.cvsignore:
26363         * docs/gst/tmpl/gstquery.sgml:
26364         * docs/gst/tmpl/gstutils.sgml:
26365         * gst/gstquery.c:
26366         * gst/gstquery.h:
26367           inlined and extended docs
26368
26369 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26370
26371         * check/gst-libs/controller.c: (GST_START_TEST),
26372         (gst_controller_suite):
26373           more tests
26374         * docs/gst/tmpl/gstutils.sgml:
26375         * docs/libs/gstreamer-libs-sections.txt:
26376         * docs/libs/tmpl/gstdataprotocol.sgml:
26377           include path fixes
26378         * examples/controller/audio-example.c: (main):
26379           controller example works now
26380         * gst/gstclock.h:
26381           doc fixes
26382         * tools/gst-inspect.c: (print_element_properties_info):
26383           show param spec flags
26384
26385 2005-08-29  Andy Wingo  <wingo@pobox.com>
26386
26387         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26388
26389 2005-08-28  Andy Wingo  <wingo@pobox.com>
26390
26391         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26392         as having two arguments instead of just one. Allows superclasses
26393         to access information on subclasses -- see the terrible for() loop
26394         in gtype.c:g_type_create_instance for the reason why. All callers
26395         changed.
26396
26397 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26398
26399         * docs/design/part-messages.txt:
26400           update info
26401         * docs/gst/tmpl/.cvsignore:
26402         * docs/gst/tmpl/gstcaps.sgml:
26403         * docs/gst/tmpl/gstclock.sgml:
26404         * gst/gstbus.c:
26405         * gst/gstcaps.c:
26406         * gst/gstcaps.h:
26407         * gst/gstclock.c:
26408         * gst/gstclock.h:
26409         * gst/gstmessage.c:
26410           added descriptions for bus and message
26411           inline caps and clock docs
26412
26413 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26414
26415         * gst/gstmessage.c:
26416         * gst/gstmessage.h:
26417           doc fixes
26418
26419 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26420
26421         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26422           fix div-by-zero
26423
26424 2005-08-26  Andy Wingo  <wingo@pobox.com>
26425
26426         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26427         element_set_state's return val.
26428         (test_2_elements): Add test that's been disabled for months.
26429
26430         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26431         can-activate-pull properties.
26432
26433         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26434         can-activate-pull properties. Implement is_seekable so fakesrc can
26435         operate in pull mode.
26436
26437         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26438         properties.
26439         (gst_base_sink_activate, gst_base_sink_activate_pull)
26440         (gst_base_sink_activate_push): Make activation mode choosing work.
26441         Cleanups.
26442         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26443         is right. Make pull mode work. Post an eos before pausing in pull
26444         mode.
26445         (gst_base_sink_change_state): Pay attention to the core's
26446         change_state() return val.
26447         
26448         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26449         has-getrange properties. Cleanups.
26450         
26451         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26452         has_getrange and replace with can_activate_pull and
26453         can_activate_push.
26454
26455         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26456         locking comments. Remove has_loop, has_chain and replace with
26457         can_activate_pull and can_activate_push.
26458
26459 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26460
26461         * configure.ac:
26462         * examples/Makefile.am:
26463         * examples/metadata/Makefile.am:
26464         * examples/metadata/read-metadata.c: (message_loop),
26465         (have_pad_handler), (make_pipeline), (print_tag), (main):
26466           Add metadata reading example that loops over a list of filenames,
26467           dumping any tags found.
26468
26469         * gst/gstbus.c: (gst_bus_dispose):
26470         * gst/gstelement.c: (gst_element_dispose):
26471           Release a few potentially-held references in dispose.
26472
26473 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26474
26475         * docs/gst/tmpl/gstminiobject.sgml:
26476           do *not* add tmpl/*.sgml files to CVS!
26477
26478 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26479
26480         * libs/gst/bytestream/.cvsignore:
26481         * libs/gst/bytestream/Makefile.am:
26482         * libs/gst/bytestream/adapter.c:
26483         * libs/gst/bytestream/adapter.h:
26484         * libs/gst/bytestream/bytestream.c:
26485         * libs/gst/bytestream/bytestream.h:
26486         * libs/gst/bytestream/filepad.c:
26487         * libs/gst/bytestream/filepad.h:
26488           removing obsolete files
26489
26490 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26491
26492         * docs/gst/gstreamer-docs.sgml:
26493         * docs/libs/gstreamer-libs-docs.sgml:
26494           disabed additional index entries again, as this makes docs-gen just
26495           slow and they aren't useful yet
26496         * docs/libs/gstreamer-libs-sections.txt:
26497           little -section.txt cleanup for libs
26498
26499 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26500
26501         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26502         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26503           fix up some debugging
26504         (gst_base_transform_get_unit_size),
26505         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26506         (gst_base_transform_handle_buffer):
26507         * gst/base/gstbasetransform.h:
26508           handle and store timed NEWSEGMENT events so that subclasses that
26509           calculate time by counting samples have a segment_start time they
26510           need to add to their timestamps - see audioresample
26511
26512 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26513
26514         * gst/gstbin.h:
26515           removed ';' from the end of macro defs
26516         * docs/gst/gstreamer-docs.sgml:
26517         * docs/gst/gstreamer-sections.txt:
26518         * docs/gst/tmpl/.cvsignore:
26519         * gst/gstbus.h:
26520         * gst/gstelement.c: (gst_element_class_init),
26521         (gst_element_set_state), (activate_pads),
26522         (gst_element_save_thyself):
26523         * gst/gstevent.c: (gst_event_new_newsegment):
26524         * gst/gstevent.h:
26525         * gst/gstiterator.c:
26526         * gst/gstiterator.h:
26527         * gst/gstpad.c:
26528         * gst/gstprobe.h:
26529         * gst/gstutils.c: (gst_pad_query_convert):
26530         * gst/gstutils.h:
26531           fixed parameter name mismatches between source, header and docs
26532           added some more docs, resolved the last batch of unused elements in
26533           docs (now someone needs to doc them)
26534
26535 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26536
26537         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26538         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26539           don't walk through the plugins backwards.  Where is all this
26540           reversed logic coming from ?
26541
26542 2005-08-25  Wim Taymans  <wim@fluendo.com>
26543
26544         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26545         (gst_base_transform_transform_size),
26546         (gst_base_transform_configure_caps),
26547         (gst_base_transform_get_unit_size),
26548         (gst_base_transform_buffer_alloc),
26549         (gst_base_transform_change_state):
26550         * gst/base/gstbasetransform.h:
26551         Cache caps unit_size.
26552         Make sure we cannot negotiate up and downstream at the
26553         same time.
26554
26555 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26556
26557         * gst/gst.c: (init_pre), (init_post):
26558           register the installed plugin path after the env var
26559         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26560         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26561           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26562           directories, so the tests can prefer uninstalled over installed
26563
26564 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26565
26566         * gst/base/gstbasetransform.h:
26567           comment
26568         * gst/gstpad.c:
26569           add to docs
26570
26571 2005-08-25  Wim Taymans  <wim@fluendo.com>
26572
26573         * gst/gstbin.c: (bin_bus_handler):
26574         Be a bit more conservative about the posted message.
26575         
26576         * gst/gstbus.c: (gst_bus_post):
26577         Some cleanups, warn wrong return values.
26578
26579 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26580
26581         * check/gst/gstbin.c: (GST_START_TEST):
26582         * gst/gstbin.c: (bin_bus_handler):
26583         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26584         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26585         (gst_message_new_warning), (gst_message_new_tag),
26586         (gst_message_new_state_changed), (gst_message_new_segment_start),
26587         (gst_message_new_segment_done), (gst_message_new_custom):
26588         * gst/gstmessage.h:
26589         * tools/gst-launch.c: (event_loop):
26590         * tools/gst-md5sum.c: (event_loop):
26591           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26592
26593 2005-08-25  Wim Taymans  <wim@fluendo.com>
26594
26595         * check/generic/states.c: (GST_START_TEST):
26596         Cleanup can be done at the end.
26597
26598         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26599         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26600         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26601         Oh boy.. Thanks for finding this, Thomas. 
26602
26603 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26604
26605         * docs/gst/gstreamer.types:
26606           added missing types
26607
26608 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26609
26610         * docs/gst/gstreamer-docs.sgml:
26611         * docs/gst/gstreamer-sections.txt:
26612         * docs/gst/tmpl/.cvsignore:
26613         * gst/gstbin.c:
26614         * gst/gstiterator.c:
26615         * gst/gstutils.c:
26616         * gst/registries/gstxmlregistry.h:
26617           added missing classes and symbols (123 more to go)
26618           removed removed symbols from section file
26619           fixed many doc-comments
26620
26621 2005-08-24  Wim Taymans  <wim@fluendo.com>
26622
26623         * check/generic/states.c: (GST_START_TEST):
26624         Make sure all tasks are stopped.
26625
26626         * check/gst/gstbin.c: (GST_START_TEST):
26627         Unref after usage for proper valgrinding.
26628
26629         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26630         Really wait for the task to stop before destroying the
26631         mutex.
26632
26633         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26634         (gst_queue_src_activate_push):
26635         Small cleanups. Don't stop the task when we did not start
26636         it.
26637
26638         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26639         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26640         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26641         (gst_task_join):
26642         * gst/gsttask.h:
26643         Protect the stream lock with the object lock.
26644         Disallow setting the stream lock when running.
26645         Add cleanup_all to wait for the threadpool to finish.
26646         Remove code to autoallocate a mutex if none was provided.
26647         Add _join() to wait for a task to stop.
26648         Protect the thread pool with a global lock.
26649
26650 2005-08-24  Wim Taymans  <wim@fluendo.com>
26651
26652         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26653         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26654         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26655         * gst/base/gstbasesink.h:
26656         Handle newsegment events correctly.
26657         Drop buffers out of the segment range.
26658
26659 2005-08-22  Andy Wingo  <wingo@pobox.com>
26660
26661         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26662         macro, implements an interface and gstimplementsinterface for a
26663         new type.
26664
26665 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26666
26667         * check/Makefile.am:
26668         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26669           add a test that does a bunch of state changes on elements
26670           needs some fixing for valgrind
26671         * check/states/sinks.c: (gst_object_suite):
26672           whitespace
26673         * gst/gstcaps.h:
26674           add prototype for gst_caps_is_equal_fixed
26675         * gst/gstplugin.c:
26676         * gst/gstregistrypool.c:
26677           doc fixes
26678
26679 2005-08-24  Andy Wingo  <wingo@pobox.com>
26680
26681         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26682         convert a negative value. Doesn't make much sense. Mostly this is
26683         here to force callers to ensure -1 maps to -1.
26684
26685 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26686
26687         * docs/pwg/advanced-types.xml:
26688           Well done to Michael for catching my deliberate introduction
26689           of this spelling mistake. 
26690         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26691         * gst/gstelement.h:
26692           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26693           unlink pads before removing the element from the bin.
26694
26695 2005-08-24  Andy Wingo  <wingo@pobox.com>
26696
26697         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26698         the same thing as GST_DEBUG=*:4.
26699         (parse_debug_level, parse_debug_category): New helper parsers.
26700
26701 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26702
26703         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26704         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26705         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26706         (gst_base_transform_buffer_alloc),
26707         (gst_base_transform_handle_buffer):
26708           use gboolean return values and pointers to size so we can use the
26709           full GST_BUFFER_SIZE range (guint) for buffer sizes
26710           use GstPadDirection for transform_caps
26711         * gst/base/gstbasetransform.h:
26712           rename get_size to get_unit_size since that's what it is
26713         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26714           use GstPadDirection for transform_caps
26715         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26716         * gst/gstutils.h:
26717           cleanup and debugging
26718
26719 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26720
26721         * gst/gstelement.c: (gst_element_class_init),
26722         (gst_element_set_state), (activate_pads),
26723         (gst_element_save_thyself):
26724         * tools/gst-compprep.c: (main):
26725         * tools/gst-inspect.c: (print_element_properties_info):
26726         * tools/gst-xmlinspect.c: (print_element_properties):
26727           Fixed long standing mem-leak
26728
26729 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26730
26731         * check/gst/gstbin.c: (GST_START_TEST):
26732         * gst/gstbin.c: (bin_bus_handler):
26733         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26734         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26735         (gst_message_new_warning), (gst_message_new_tag),
26736         (gst_message_new_state_changed), (gst_message_new_segment_start),
26737         (gst_message_new_segment_done), (gst_message_new_custom):
26738         * gst/gstmessage.h:
26739         * tools/gst-launch.c: (event_loop):
26740         * tools/gst-md5sum.c: (event_loop):
26741           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26742           that applications can sensibly post custom messages with references
26743           to their own objects.
26744
26745 2005-08-24  Andy Wingo  <wingo@pobox.com>
26746
26747         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26748         already.
26749
26750 2005-08-24  Wim Taymans  <wim@fluendo.com>
26751
26752         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26753         (gst_base_transform_transform_caps),
26754         (gst_base_transform_transform_size),
26755         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26756         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26757         (gst_base_transform_handle_buffer):
26758         * gst/base/gstbasetransform.h:
26759         Many fixes and new features added by Thomas. Can now also do
26760         transforms with variable sizes and a custom fixate_caps function.
26761
26762 2005-08-24  Wim Taymans  <wim@fluendo.com>
26763
26764         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26765         Some debugging.
26766
26767         * gst/gstclock.h:
26768         Cast to ClockTime before formatting to time.
26769
26770         * gst/gstutils.h:
26771         Cleanups.
26772
26773 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26774
26775         * check/gst-libs/controller.c: (GST_START_TEST),
26776         (gst_controller_suite):
26777         * docs/gst/tmpl/gstcaps.sgml:
26778         * docs/gst/tmpl/gstghostpad.sgml:
26779         * docs/gst/tmpl/gstquery.sgml:
26780         * docs/gst/tmpl/gstutils.sgml:
26781         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26782         (gst_object_sink_values), (gst_object_get_value_arrays),
26783         (gst_object_get_value_array):
26784           gracefully handle helper method calls to objects that are not beeing
26785           controlled, added test case for that          
26786
26787 2005-08-23  Wim Taymans  <wim@fluendo.com>
26788
26789         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26790         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26791         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26792         (gst_event_parse_qos), (gst_event_new_seek),
26793         (gst_event_parse_seek):
26794         * gst/gstevent.h:
26795         Some more debugging output and doc cleanups.
26796
26797         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26798         Fix possible deadlock.
26799
26800 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26801
26802         * docs/gst/gstreamer-docs.sgml:
26803         * docs/gst/gstreamer-sections.txt:
26804         * docs/gst/gstreamer.types:
26805         * docs/gst/tmpl/.cvsignore:
26806         * gst/gstbin.h:
26807         * gst/gstbus.c:
26808         * gst/gstelement.c:
26809         * gst/gstevent.h:
26810           added 100 symbols from gstreamer-unused.txt to the right sections
26811           fixed more broken comments
26812           added GstBus to docs
26813
26814 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26815
26816         * docs/gst/gstreamer-sections.txt:
26817         * docs/gst/tmpl/.cvsignore:
26818         * docs/gst/tmpl/gstbin.sgml:
26819         * docs/gst/tmpl/gstbuffer.sgml:
26820         * gst/base/gstbasesrc.c:
26821         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26822         * gst/gstbuffer.c:
26823         * gst/gstbuffer.h:
26824         * tools/gst-launch.1.in:
26825           inlined more doc comments, added missing comments and fixed comments
26826           fixed typos
26827
26828 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26829
26830         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26831           some debugging
26832         * gst/gstcaps.h:
26833           whitespace fixes
26834         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26835           more debugging
26836         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26837         * gst/gststructure.h:
26838           add a fixate function for booleans; add a FIXME that these func
26839           names should probably be gst_structure_fixate_*
26840
26841 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26842
26843         * docs/gst/gstreamer-docs.sgml:
26844         * docs/gst/gstreamer-sections.txt:
26845         * gst/Makefile.am:
26846         * gst/gstbin.c: (gst_bin_get_type),
26847         (gst_bin_child_proxy_get_child_by_index),
26848         (gst_bin_child_proxy_get_children_count),
26849         (gst_bin_child_proxy_init):
26850         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26851         (gst_child_proxy_get_child_by_index),
26852         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26853         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26854         (gst_child_proxy_get), (gst_child_proxy_set_property),
26855         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26856         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26857         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26858         * gst/gstchildproxy.h:
26859         * gst/parse/grammar.y:
26860         * tools/gst-inspect.c: (print_interfaces),
26861         (print_element_properties_info), (print_element_info):
26862           ported gstchildproxy over from 0.8
26863           ported gst-inspect fixes and enhancements over from 0.8
26864
26865 2005-08-22  Wim Taymans  <wim@fluendo.com>
26866
26867         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26868         (gst_base_transform_handle_buffer):
26869         Also call the transform function if we have ANY caps.
26870
26871         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26872         Fix debug info.
26873
26874 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26875
26876         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26877           Don't pretend to handle seek events if the source is not seekable
26878
26879 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26880
26881         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26882           Remove extra parameter to debug output
26883
26884         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26885         (gst_base_src_do_seek), (gst_base_src_activate_push):
26886           Fix seek event handling.
26887
26888         * gst/gstpipeline.c: (gst_pipeline_change_state):
26889         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26890         (gst_queue_src_activate_push):
26891           Don't start the src pad task on FLUSH_STOP if the pad
26892           isn't linked.
26893           Debug changes.
26894
26895 2005-08-22  Wim Taymans  <wim@fluendo.com>
26896
26897         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26898         Added check for gst_static_caps_get() refcounting.
26899
26900 2005-08-22  Wim Taymans  <wim@fluendo.com>
26901
26902         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26903         Make _static_caps_get() refcounting sane.
26904         
26905         * gst/gstelement.c: (gst_element_set_state):
26906         Add g_return_val_if_fail() to protect against segfaults.
26907
26908 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26909
26910         * docs/gst/tmpl/gstevent.sgml:
26911         * gst/gstevent.c:
26912         * gst/gstevent.h:
26913           inlined remaining docs, added missing doc comments
26914
26915 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26916
26917         * check/gst/gstbin.c: (GST_START_TEST):
26918           since we don't know when preroll is done, use refcount range
26919           check for the sink
26920         * gst/check/gstcheck.h:
26921           add macro for checking refcount range
26922
26923 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26924
26925         * check/Makefile.am:
26926           clean up environment for when registry gets built versus
26927           when actual tests are run; valgrind seems to not report
26928           leaks if GST_PLUGIN_PATH is set to some specific values
26929         * check/gst/gstbin.c: (GST_START_TEST):
26930           add more refcounting checks; maybe this exposes a
26931           preroll lock bug ?
26932         * common/check.mak:
26933         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26934         * gst/check/gstcheck.h:
26935         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26936         (gst_bin_change_state):
26937         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26938           add/fix debugging/whitespace
26939
26940 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26941
26942         * check/gst/gstevent.c: (event_probe), (test_event),
26943         (GST_START_TEST):
26944          Er, don't call gst_bin_watch_for_state_change you idiot.
26945
26946 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26947
26948         * check/Makefile.am:
26949           Use CHECK_CFLAGS and CHECK_LIBS
26950         * check/gst/gstevent.c: (event_probe), (test_event),
26951         (GST_START_TEST):
26952           Don't leak events.
26953         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26954         (gst_base_src_start), (gst_base_src_stop),
26955         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26956         (gst_base_src_change_state):
26957           Sprinkle gst_base_src_stop liberally around error paths to fix
26958           problems reusing a source after failed state changes.
26959         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26960         (helper_find_suggest), (gst_type_find_helper):
26961           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26962         * gst/gstevent.h:
26963         * docs/gst/tmpl/gstevent.sgml:
26964           Migrate part of the docs from the SGML file. Wait for ensonic to
26965           tell me how I did it wrong ;)
26966         * tools/gst-typefind.c: (main):
26967           Extra robustness to state changes between files.
26968
26969 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26970
26971         * check/Makefile.am:
26972           don't valgrind the controller test - it's leaking - Stefan, HELP
26973         * gst/check/gstcheck.c: (gst_check_message_error),
26974         (gst_check_chain_func), (gst_check_setup_element),
26975         (gst_check_teardown_element), (gst_check_setup_src_pad),
26976         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26977         (gst_check_teardown_sink_pad):
26978         * gst/check/gstcheck.h:
26979           add a bunch of methods to set up elements, and src and sink pads
26980         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26981         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26982         (GST_START_TEST):
26983           use them
26984         * gst/gstmessage.c:
26985         * gst/gsttag.h:
26986           whitespace/doc fixes
26987
26988 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26989
26990         * gst/gstelement.h:
26991           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26992           be handled by the application and not always printed as well
26993
26994 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26995
26996         * check/Makefile.am:
26997           set GST_TOOLS_DIR
26998         * gst/check/gstcheck.c: (gst_check_message_error):
26999         * gst/check/gstcheck.h:
27000           add a fail_unless_equals_int
27001           add fail_unless for error messages
27002
27003 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
27004
27005         * check/Makefile.am:
27006         * check/gst.supp:
27007         * common/Makefile.am:
27008         * common/check.mak:
27009         * common/gst.supp:
27010           factor out some of the common stuff so we can use it
27011
27012 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
27013
27014         * check/Makefile.am:
27015         * check/gst/gstiterator.c: (GST_START_TEST):
27016         * check/gst/gstsystemclock.c: (GST_START_TEST),
27017         (gst_systemclock_suite):
27018         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
27019         * gst/gstclock.c:
27020           valgrind more tests
27021
27022 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
27023
27024         * check/elements/.cvsignore:
27025         * check/elements/gstfakesrc.c:
27026           rename to name of element
27027         * check/elements/identity.c: (chain_func), (event_func),
27028         (setup_identity), (cleanup_identity), (GST_START_TEST),
27029         (identity_suite), (main):
27030           add a test for identity
27031         * check/Makefile.am:
27032         * pkgconfig/Makefile.am:
27033         * pkgconfig/gstreamer-check.pc.in:
27034         * pkgconfig/gstreamer-check-uninstalled.pc.in:
27035         * gst/check:
27036         * gst/Makefile.am:
27037         * configure.ac:
27038           move the check stuff to a library that gets installed
27039         * check/gst-libs/controller.c: (GST_START_TEST):
27040         * check/gst-libs/gdp.c:
27041         * check/gst/gst.c: (GST_START_TEST):
27042         * check/gst/gstbin.c:
27043         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27044         * check/gst/gstbus.c:
27045         * check/gst/gstcaps.c: (GST_START_TEST):
27046         * check/gst/gstelement.c:
27047         * check/gst/gstghostpad.c:
27048         * check/gst/gstiterator.c:
27049         * check/gst/gstmessage.c:
27050         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
27051         * check/gst/gstobject.c:
27052         * check/gst/gstpad.c: (GST_START_TEST):
27053         * check/gst/gststructure.c: (GST_START_TEST):
27054         * check/gst/gstsystemclock.c: (GST_START_TEST),
27055         (gst_systemclock_suite):
27056         * check/gst/gsttag.c: (gst_tag_suite):
27057         * check/gst/gstvalue.c:
27058         * check/pipelines/cleanup.c:
27059         * check/pipelines/simple_launch_lines.c:
27060         * check/states/sinks.c:
27061           change include statement
27062
27063         * docs/gst/gstreamer-sections.txt:
27064         * docs/gst/tmpl/gstpad.sgml:
27065           document more pad stuff
27066         * gst/gstminiobject.c: (gst_mini_object_ref),
27067         (gst_mini_object_unref):
27068           debug refcounting
27069
27070 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
27071
27072         * docs/gst/tmpl/gst.sgml:
27073         * gst/gst.c:
27074           eliminate another tmpl file, fix spelling in the long-description
27075
27076 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27077
27078         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27079         (test_event), (timediff), (gstevents_suite):
27080           Should fix build on 64-bit arch's
27081
27082 2005-08-18  Andy Wingo  <wingo@pobox.com>
27083
27084         Make sure that when a pipeline goes to PLAYING, that data has
27085         actually hit the sink.
27086
27087         * check/states/sinks.c (test_sink): A sink that doesn't get any
27088         data shouldn't return SUCCESS for going to either PLAYING or
27089         PAUSED. Test also the return values on the way back down.
27090
27091         * gst/gstelement.c (gst_element_set_state): When changing the
27092         state of an element currently changing state asynchronously, go to
27093         lost-state after commiting the pending state. Makes future calls
27094         to get_state continue to return ASYNC.
27095
27096         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
27097         ASYNC when going to PLAYING if we still don't have preroll, as can
27098         happen with live sources.
27099
27100 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27101
27102         * docs/pwg/advanced-types.xml:
27103           Hack long paragraph into 2 chunks as a workaround for buggy
27104           jadetex version in sid and breezy that loops infinitely and
27105           eats all RAM.
27106
27107 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27108
27109         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27110         (test_event), (timediff), (gstevents_suite):
27111           Provide more error margin in clock measurements to allow for 
27112           g_get_current_time inaccuracies.
27113
27114 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27115
27116         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27117         (test_event), (timediff), (gstevents_suite):
27118            Fix error message output so I might be able to tell why the
27119            test works here but fails on the build farm.
27120
27121 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27122
27123         * check/Makefile.am:
27124         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27125         (test_event), (timediff), (gstevents_suite), (main):
27126           I wrote a test!
27127
27128         * docs/design/part-seeking.txt:
27129           Spelling correction
27130
27131         * docs/gst/tmpl/gstevent.sgml:
27132         * docs/gst/tmpl/gstfakesrc.sgml:
27133           Docs updates.
27134
27135         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27136           Treat a buffer-without-newsegment the same as a receiving 
27137           a newsegment not in time format, and disable syncing to the clock
27138           with a warning.
27139
27140         * gst/gstbus.c: (gst_bus_set_sync_handler):
27141           Assert if anyone tries to replace the existing sync_handler for bus, 
27142           as only the owner should be setting it.
27143
27144         * gst/gstevent.h:
27145           Have a fixed set of custom event enums with events identified by
27146           their structure name (as in 0.8), rather than a free-for-all
27147           allowing collisions between enum values from different plugins.
27148
27149         * gst/gstpad.c: (gst_pad_class_init):
27150           Docs change.
27151           
27152         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27153           Handle out-of-band downstream events from the sending thread.
27154
27155 2005-08-17  Andy Wingo  <wingo@pobox.com>
27156
27157         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
27158         play-timeout==0 to mean no timeout at all. In that case, don't
27159         bother with a get_state or a warning, just return directly, even
27160         if it's ASYNC.
27161
27162         * gst/base/gstbasetransform.c: Debug changes.
27163
27164         * gst/gstutils.h:
27165         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
27166         ensure bins post state change messages. A bit of a hack but I can't
27167         think of a way to avoid it.
27168
27169         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
27170
27171 2005-08-16  Andy Wingo  <wingo@pobox.com>
27172
27173         * gst/base/gstadapter.h:
27174         * gst/base/gstadapter.c (gst_adapter_take): New function, like
27175         peek() but you own the data. Not terribly efficient atm.
27176
27177 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27178
27179         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
27180         (gst_element_found_tags):
27181         * gst/gstutils.h:
27182           Add two utility functions for tag handling.
27183
27184 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27185
27186         * docs/manual/advanced-dataaccess.xml:
27187         * docs/manual/basics-helloworld.xml:
27188           Fix docs to use _bin_add() before _link(), which fixes the examples
27189           with recent core versions (reported by Madhan Raj M
27190           <raj_madan@rediffmail.com>, #313199).
27191
27192 2005-08-16  Wim Taymans  <wim@fluendo.com>
27193
27194         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27195         Added subtract checks.
27196
27197         * docs/design/part-events.txt:
27198         Some more docs about newsegment
27199
27200         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27201         Fix FIXME
27202
27203         * gst/gstcaps.c: (gst_caps_to_string):
27204         Add comments, cleanups.
27205         
27206         * gst/gstelement.c: (gst_element_save_thyself):
27207         cleanups
27208         
27209         * gst/gstvalue.c: (gst_value_collect_int_range),
27210         (gst_string_unwrap), (gst_value_union_int_int_range),
27211         (gst_value_union_int_range_int_range),
27212         (gst_value_intersect_int_int_range),
27213         (gst_value_intersect_int_range_int_range),
27214         (gst_value_intersect_double_double_range),
27215         (gst_value_intersect_double_range_double_range),
27216         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27217         (gst_value_subtract_int_range_int),
27218         (gst_value_subtract_double_range_double),
27219         (gst_value_subtract_double_range_double_range),
27220         (gst_value_subtract_from_list), (gst_value_subtract_list),
27221         (gst_value_can_compare), (gst_value_compare_fraction):
27222         Cleanups, add comments, remove unneeded asserts.
27223
27224 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27225
27226         * tools/gst-launch.c: (event_loop):
27227           don't convert NULL structures to strings
27228
27229 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
27230
27231         * docs/gst/gstreamer-sections.txt:
27232           made some defines private
27233         * docs/gst/tmpl/gstconfig.sgml:
27234         * docs/gst/tmpl/gstqueue.sgml:
27235         * docs/gst/tmpl/gsttaglist.sgml:
27236         * docs/gst/tmpl/gsttypes.sgml:
27237         * docs/gst/tmpl/gstutils.sgml:
27238         * docs/pwg/appendix-porting.xml:
27239         * gst/base/gstbasesink.h:
27240         * gst/base/gstbasesrc.c:
27241         * gst/base/gstbasesrc.h:
27242         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27243         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27244         * gst/gstelement.c: (gst_element_class_init):
27245         * gst/gstpad.c: (gst_pad_class_init):
27246         * gst/gstqueue.c: (gst_queue_class_init):
27247         * gst/gstxml.c: (gst_xml_class_init):
27248           documented all undocumented signal inline
27249         * libs/gst/controller/gst-controller.h:
27250           added padding
27251
27252 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27253
27254         * docs/pwg/appendix-porting.xml:
27255           Document _set_link_function -> _set_setcaps_function.
27256
27257 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27258
27259         * check/Makefile.am:
27260           add a .check target for running the check
27261         * check/gst-libs/controller.c: (GST_START_TEST):
27262           cosmetic fixups
27263         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27264           complete checks for gstbuffer; would be nice if I could get the
27265           gcov stuff to work so I can see if I actually completed gstbuffer.c
27266         * check/gstcheck.h:
27267           add ASSERT_BUFFER_REFCOUNT
27268
27269 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
27270
27271         * docs/gst/gstreamer-sections.txt:
27272         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27273         * gst/gsttag.h:
27274           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27275           spew out a warning if a tag that is already registered
27276           is re-registered, unless it is re-registered with a 
27277           different type (#308438).
27278
27279 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
27280
27281         * docs/pwg/appendix-porting.xml:
27282         * docs/pwg/building-state.xml:
27283           Add some paragraphs about state changes in 0.9 to the PWG
27284           and the porting guide, in particular about the new meaning
27285           of GST_STATE_PAUSED and how to write state change functions
27286           with concurrent access by multiple threads in mind.
27287
27288 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
27289
27290         * docs/gst/gstreamer-docs.sgml:
27291         * docs/libs/gstreamer-libs-docs.sgml:
27292           added deprecation and since indexes
27293         * libs/gst/controller/gst-controller.c:
27294         * libs/gst/controller/gst-helper.c:
27295           added since tags
27296
27297
27298 2005-08-11  Wim Taymans  <wim@fluendo.com>
27299
27300         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27301         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27302         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27303         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27304         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27305         (gst_ghost_pad_set_target):
27306         Actually implement (re)setting the target on a ghostpad
27307         as described in the docs.
27308
27309 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27310
27311         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27312           Check whether GST_DEBUG_NO_COLOR environment variable is
27313           set and disable coloured debug output if that is the case.
27314
27315 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27316
27317         * gst/base/gsttypefindhelper.c: (helper_find_peek),
27318         (gst_type_find_helper):
27319           The memory returned by gst_type_find_peek() needs to
27320           stay valid until the end of a typefind function, and
27321           typefind functions may keep results from different 
27322           offsets around, so we can't just unref the buffer from
27323           the previous _peek(), but have to save all buffers 
27324           returned by _peek() until typefinding is done and only
27325           free them then.
27326
27327 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
27328
27329         * docs/gst/gstreamer-sections.txt:
27330         * gst/gstutils.h:
27331           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27332
27333 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27334
27335         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27336           Fix a pretty good memleak.
27337
27338 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27339
27340         * gst/gstiterator.h:
27341           Fix wrong include and 'make distcheck'.
27342
27343 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27344
27345         * gst/gstbin.c: (bin_bus_handler):
27346           Use gst_element_post_message() instead.
27347
27348 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27349
27350         * gst/base/gstadapter.h:
27351         * gst/base/gstbasesink.h:
27352         * gst/base/gstbasesrc.h:
27353         * gst/base/gstbasetransform.h:
27354         * gst/base/gstcollectpads.h:
27355         * gst/base/gstpushsrc.h:
27356         * gst/gstiterator.h:
27357           Add padding to our base elements' class and instance structs and
27358           to GstIterator (you will need to rebuild all plugins and apps!)
27359
27360 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27361
27362         * gst/gstbin.c: (bin_bus_handler):
27363           Make default message forwarding from child->bus to bin->bus
27364           threadsafe and make it not emit warnings if the parent has no bus.
27365
27366 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27367
27368         * gst/gstelement.c: (activate_pads):
27369           On paused->ready, set pad->caps to NULL, as is the documented
27370           behaviour in this state change. Fixes playback of series of
27371           media files when visualization is enabled in Totem.
27372
27373 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27374
27375         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27376           Allow NULL as filter-caps (which means "any").
27377
27378 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27379
27380         * docs/libs/gstreamer-libs-sections.txt:
27381         * libs/gst/controller/gst-controller.c:
27382         * libs/gst/controller/gst-controller.h:
27383         * libs/gst/controller/gst-helper.c:
27384           adding more entries to the docs and fix small doc-bugs
27385
27386 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27387
27388         * docs/gst/gstreamer-docs.sgml:
27389         * docs/gst/gstreamer-sections.txt:
27390         * docs/gst/gstreamer.types:
27391         * docs/gst/tmpl/gstbasesink.sgml:
27392         * docs/gst/tmpl/gstbasesrc.sgml:
27393         * docs/gst/tmpl/gstbasetransform.sgml:
27394         * docs/gst/tmpl/gstfakesrc.sgml:
27395         * gst/base/gstcollectpads.c:
27396         * gst/base/gstcollectpads.h:
27397         * libs/gst/controller/gst-controller.c:
27398         * libs/gst/controller/gst-controller.h:
27399         * libs/gst/controller/gst-helper.c:
27400         * libs/gst/controller/gst-interpolation.c:
27401         * libs/gst/controller/lib.c:
27402           added long/short desc for controller docs
27403           added collectpads base class docs
27404           added correct includes to base-class docs
27405
27406 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27407
27408         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27409         (gst_test_mono_source_set_property),
27410         (gst_test_mono_source_class_init), (GST_START_TEST),
27411         (gst_controller_suite):
27412         * docs/gst/gstreamer-docs.sgml:
27413         * docs/gst/gstreamer-sections.txt:
27414         * docs/gst/gstreamer.types:
27415         * docs/libs/gstreamer-libs-docs.sgml:
27416         * docs/libs/gstreamer-libs-sections.txt:
27417         * gst/base/gstadapter.c:
27418         * libs/gst/controller/gst-controller.c:
27419         (gst_controlled_property_new), (gst_controlled_property_free),
27420         (gst_controller_new_valist),
27421         (gst_controller_remove_properties_valist),
27422         (gst_controller_sink_values), (_gst_controller_finalize):
27423         * libs/gst/controller/gst-controller.h:
27424         * libs/gst/controller/gst-helper.c:
27425         (gst_object_control_properties), (gst_object_uncontrol_properties),
27426         (gst_object_get_controller), (gst_object_set_controller),
27427         (gst_object_sink_values), (gst_object_get_value_arrays),
27428         (gst_object_get_value_array):
27429           more tests (and fixes) for the controller
27430           more docs for the controller
27431           integrated companies docs for the adapter 
27432
27433 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27434
27435         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27436         (GST_START_TEST), (fakesrc_suite):
27437           add tests for sizetype
27438
27439 2005-08-04  Andy Wingo  <wingo@pobox.com>
27440
27441         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27442         fixes buffer_alloc proxying among other things.
27443
27444         * gst/base/gstbasetransform.c:
27445         * gst/base/gstbasetransform.h:
27446         Revert patch to gstbasetransform from 7-28 removing
27447         delay_configure.
27448
27449         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27450         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27451         Semantics changed, should return not the size of the output buffer
27452         but the byte size of a buffer with a given caps.
27453
27454         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27455         debug object.
27456         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27457         out) are not the pad caps until setcaps finishes.
27458         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27459         not-in-place case as well. Deal with changing from in-place to
27460         not-in-place within calling pad_alloc_buffer. Still a bit
27461         concerned about the overhead here...
27462
27463 2005-08-03  Andy Wingo  <wingo@pobox.com>
27464
27465         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27466         fixating is an error.
27467
27468 2005-08-04  Edward Hervey  <edward@fluendo.com>
27469
27470         * gst/base/gstadapter.h: 
27471         Added gst_adapter_get_type() to the header
27472
27473 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27474
27475         * check/Makefile.am:
27476         * check/gst-libs/controller.c:
27477         * libs/gst/controller/gst-controller.c:
27478         (gst_controller_new_valist):
27479           added check test suite for the controller
27480         * gst/base/gstpushsrc.c:
27481           fixed a doc typo
27482
27483 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27484
27485         * docs/gst/Makefile.am:
27486         * docs/gst/gstreamer-docs.sgml:
27487         * docs/gst/gstreamer-sections.txt:
27488         * docs/gst/gstreamer.types:
27489         * docs/gst/tmpl/gstfakesrc.sgml:
27490         * gst/base/README:
27491         * gst/base/gstbasesink.c:
27492         * gst/base/gstbasesink.h:
27493         * gst/base/gstbasesrc.c:
27494         * gst/base/gstbasesrc.h:
27495         * gst/base/gstbasetransform.c:
27496         * gst/base/gstpushsrc.c:
27497         * gst/base/gstpushsrc.h:
27498           add short/long description docs to base classes
27499           add pushsrc to the docs
27500           remove consolidated doc fragments
27501
27502 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27503
27504         * configure.ac:
27505         * docs/libs/Makefile.am:
27506         * docs/libs/gstreamer-libs-docs.sgml:
27507         * docs/libs/gstreamer-libs-sections.txt:
27508         * docs/libs/gstreamer-libs.types:
27509         * examples/Makefile.am:
27510         * examples/controller/.cvsignore:
27511         * examples/controller/Makefile.am:
27512         * examples/controller/audio-example.c: (main):
27513         * libs/gst/Makefile.am:
27514         * libs/gst/controller/.cvsignore:
27515         * libs/gst/controller/Makefile.am:
27516         * libs/gst/controller/gst-controller.c:
27517         (on_object_controlled_property_changed), (gst_timed_value_compare),
27518         (gst_timed_value_find),
27519         (gst_controlled_property_set_interpolation_mode),
27520         (gst_controlled_property_new), (gst_controlled_property_free),
27521         (gst_controller_find_controlled_property),
27522         (gst_controller_new_valist), (gst_controller_new),
27523         (gst_controller_remove_properties_valist),
27524         (gst_controller_remove_properties), (gst_controller_set),
27525         (gst_controller_set_from_list), (gst_controller_unset),
27526         (gst_controller_get), (gst_controller_get_all),
27527         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27528         (gst_controller_get_value_array),
27529         (gst_controller_set_interpolation_mode),
27530         (_gst_controller_finalize), (_gst_controller_init),
27531         (_gst_controller_class_init), (gst_controller_get_type):
27532         * libs/gst/controller/gst-controller.h:
27533         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27534         (g_object_uncontrol_properties), (g_object_get_controller),
27535         (g_object_set_controller), (g_object_sink_values),
27536         (g_object_get_value_arrays), (g_object_get_value_array):
27537         * libs/gst/controller/gst-interpolation.c:
27538         (gst_controlled_property_find_timed_value_node),
27539         (interpolate_none_get), (interpolate_trigger_get),
27540         (interpolate_trigger_get_value_array):
27541         * libs/gst/controller/lib.c: (gst_controller_init):
27542         * pkgconfig/Makefile.am:
27543         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27544         * pkgconfig/gstreamer-control.pc.in:
27545         * testsuite/Makefile.am:
27546         * testsuite/controller/.cvsignore:
27547         * testsuite/controller/Makefile.am:
27548         * testsuite/controller/interpolator.c: (main):
27549           added controller code
27550           removed dparam pc files
27551
27552 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27553         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27554         (gst_collectpads_stop):
27555           Broadcast the condition when shutting down, to make sure we wake all
27556           threads up. Shut down pads on finalize, for safety.
27557
27558 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27559         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27560         (gst_base_transform_handle_buffer),
27561         (gst_base_transform_change_state):
27562           Handle PAUSED->READY->PAUSED transition after negotiation
27563           occurred already.
27564         * gst/gstmessage.c: (gst_message_init):
27565           Extra piece of debug for new messages.
27566
27567 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27568
27569         * configure.ac:
27570         * docs/gst/tmpl/gstbasesrc.sgml:
27571         * docs/gst/tmpl/gstelement.sgml:
27572         * docs/gst/tmpl/gstevent.sgml:
27573         * docs/gst/tmpl/gstfakesrc.sgml:
27574         * docs/gst/tmpl/gstformat.sgml:
27575         * docs/gst/tmpl/gstghostpad.sgml:
27576         * docs/gst/tmpl/gstpad.sgml:
27577         * docs/gst/tmpl/gstquery.sgml:
27578         * docs/gst/tmpl/gststructure.sgml:
27579         * docs/gst/tmpl/gsttaglist.sgml:
27580         * docs/gst/tmpl/gstvalue.sgml:
27581         * docs/libs/gstreamer-libs-docs.sgml:
27582         * docs/libs/gstreamer-libs-sections.txt:
27583         * docs/libs/gstreamer-libs.types:
27584         * libs/gst/Makefile.am:
27585         * libs/gst/control/.cvsignore:
27586         * libs/gst/control/Makefile.am:
27587         * libs/gst/control/control.c:
27588         * libs/gst/control/control.h:
27589         * libs/gst/control/dparam.c:
27590         * libs/gst/control/dparam.h:
27591         * libs/gst/control/dparam_smooth.c:
27592         * libs/gst/control/dparam_smooth.h:
27593         * libs/gst/control/dparamcommon.h:
27594         * libs/gst/control/dparammanager.c:
27595         * libs/gst/control/dparammanager.h:
27596         * libs/gst/control/dplinearinterp.c:
27597         * libs/gst/control/dplinearinterp.h:
27598         * libs/gst/control/unitconvert.c:
27599         * libs/gst/control/unitconvert.h:
27600         * testsuite/Makefile.am:
27601         * testsuite/dynparams/.cvsignore:
27602         * testsuite/dynparams/Makefile.am:
27603         * testsuite/dynparams/dparamstest.c:
27604         * tools/Makefile.am:
27605         * tools/gst-inspect.c: (print_element_info), (main):
27606         * tools/gst-xmlinspect.c: (print_element_info), (main):
27607           deactivate and remove dparams (libgstcontrol)
27608
27609 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27610
27611         * gst/elements/gsttypefindelement.c:
27612         (gst_type_find_element_have_type), (gst_type_find_element_init),
27613         (stop_typefinding), (gst_type_find_element_handle_event),
27614         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27615         * gst/elements/gsttypefindelement.h:
27616           Set caps on all outgoing buffers, not just the first one.
27617
27618 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27619
27620         * gst/elements/gsttypefindelement.c:
27621         (gst_type_find_element_have_type),
27622         (gst_type_find_element_check_set_buffer_caps),
27623         (gst_type_find_element_init), (stop_typefinding),
27624         (gst_type_find_element_handle_event),
27625         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27626         * gst/elements/gsttypefindelement.h:
27627           Set caps on first outgoing buffer when we've found the type.
27628
27629 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27630
27631         * docs/gst/gstreamer-docs.sgml:
27632         * docs/gst/gstreamer-sections.txt:
27633         * docs/gst/tmpl/gstscheduler.sgml:
27634         * docs/gst/tmpl/gstschedulerfactory.sgml:
27635           Remove some old cruft from docs.
27636
27637 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27638
27639         * gst/gstpad.h:
27640           Fix inline docs for GstPadLinkReturn.
27641           
27642         * gst/gststructure.c: (gst_structure_has_name):
27643         * gst/gststructure.h:
27644         * docs/gst/gstreamer-sections.txt:
27645           New API: gst_structure_has_name().
27646
27647 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27648
27649         * configure.ac:
27650           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27651           and _LARGEFILE_SOURCE in config.h as required. Do not 
27652           export those flags in our .pc files any longer (#142209).
27653
27654           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27655
27656         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27657         (gst_file_sink_do_seek), (gst_file_sink_event),
27658         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27659           Redo seek/tell calls with large file support in mind; add some
27660           debugging messages; add log message that tells us when large
27661           file support is unavailable or not enabled for some reason.
27662
27663         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27664           Add log message that tells us when large file support 
27665           is unavailable or not enabled for some reason.
27666
27667 2005-07-29  Wim Taymans  <wim@fluendo.com>
27668
27669         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27670         Added test for removing an element with ghostpad from a bin.
27671         Fixed test as current implementation does the right thing.
27672
27673         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27674         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27675         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27676         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27677         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27678         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27679         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27680         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27681         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27682         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27683         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27684         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27685         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27686         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27687         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27688         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27689         * gst/gstghostpad.h:
27690         Clean up ghostpads, remove properties for internal stuff.
27691         Make threadsafe.
27692         Fix refcounting.
27693         Prepare for switching targets, not all use cases work yet.
27694
27695 2005-07-29  Wim Taymans  <wim@fluendo.com>
27696
27697         * docs/design/part-gstghostpad.txt:
27698         Small update.
27699
27700         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27701         (gst_bin_remove_func):
27702         Unlinking pads while holding the bin LOCK is not a good
27703         idea.
27704
27705         * gst/gstpad.c: (gst_pad_class_init),
27706         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27707         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27708         No prob setting template after creating the pad.
27709
27710 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27711
27712         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27713         (gst_bus_peek), (gst_bus_source_dispatch),
27714         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27715         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27716           gst_bus_poll may be called from other threads. Handle
27717           this nicely by not making poll_data disappear off the
27718           stack once gst_bus_poll returns.
27719           gst_bus_peek now increments the refcount on the returned
27720           message.
27721
27722 2005-07-29  Wim Taymans  <wim@fluendo.com>
27723
27724         * docs/design/part-gstghostpad.txt:
27725         Overview of current GhostPad datastructures and use
27726         cases for changing the target.
27727
27728 2005-07-28  Wim Taymans  <wim@fluendo.com>
27729
27730         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27731         Added checks for hierarchy consistency whan adding linked
27732         elements to bins.
27733
27734         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27735         Added check to test element scheduling without bin/pipeline.
27736
27737         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27738         First add elements to bin, then link.
27739         
27740         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27741         (gst_bin_remove_func):
27742         Unlink pads from elements added/removed from bin to maintain
27743         hierarchy consistency.
27744
27745 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27746
27747         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27748         (gst_base_transform_handle_buffer):
27749         * gst/base/gstbasetransform.h:
27750           Remove broken delay_configure (fixes renegotiation of software
27751           scaling pipelines); remove some leftover printf()s.
27752
27753 2005-07-28  Wim Taymans  <wim@fluendo.com>
27754
27755         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27756         Added some more tests for wrong hierarchy
27757
27758         * docs/design/part-overview.txt:
27759         Some updates.
27760
27761         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27762         Cleanups.
27763
27764         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27765         (gst_element_dispose):
27766         Some more cleanups.
27767
27768         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27769         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27770         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27771         (gst_pad_set_caps), (gst_pad_send_event):
27772         Check for correct hierarchy when linking pads. Moving to
27773         strict requirement for ghostpads when linking elements in
27774         different bins.
27775
27776         * gst/gstpad.h:
27777         Clean ups. Added WRONG_HIERARCHY return value.
27778
27779 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27780
27781         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27782           Better debug if no transform is possible.
27783
27784 2005-07-27  Wim Taymans  <wim@fluendo.com>
27785
27786         * docs/random/wtay/network-transp:
27787         Some old doc I had.
27788
27789 2005-07-27  Wim Taymans  <wim@fluendo.com>
27790
27791         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27792         (gst_dp_event_from_packet):
27793         Fix serialization of seek events.
27794
27795 2005-07-27  Wim Taymans  <wim@fluendo.com>
27796
27797         * check/gst-libs/gdp.c: (GST_START_TEST):
27798         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27799         Fix compilation and fix event serialization.
27800
27801 2005-07-27  Wim Taymans  <wim@fluendo.com>
27802
27803         * CHANGES-0.9:
27804         * docs/design/part-TODO.txt:
27805         * docs/design/part-events.txt:
27806         Some docs updates
27807
27808         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27809         (gst_base_sink_event), (gst_base_sink_do_sync),
27810         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27811         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27812         (gst_base_src_do_seek), (gst_base_src_event_handler),
27813         (gst_base_src_loop):
27814         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27815         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27816         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27817         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27818         (gst_base_transform_set_passthrough),
27819         (gst_base_transform_is_passthrough):
27820         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27821         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27822         Event updates.
27823
27824         * gst/gstbuffer.h:
27825         Use faster casts.
27826
27827         * gst/gstelement.c: (gst_element_seek):
27828         * gst/gstelement.h:
27829         Update gst_element_seek.
27830
27831         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27832         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27833         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27834         (gst_event_new_eos), (gst_event_new_newsegment),
27835         (gst_event_parse_newsegment), (gst_event_new_tag),
27836         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27837         (gst_event_parse_qos), (gst_event_new_seek),
27838         (gst_event_parse_seek), (gst_event_new_navigation):
27839         * gst/gstevent.h:
27840         Make GstEvent use GstStructure. Add parsing code, make sure the
27841         API is sufficiently generic.
27842         Mark possible directions of events and serialization.
27843
27844         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27845         (_gst_message_copy), (gst_message_new_segment_start),
27846         (gst_message_new_segment_done), (gst_message_new_custom),
27847         (gst_message_parse_segment_start),
27848         (gst_message_parse_segment_done):
27849         Small cleanups.
27850
27851         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27852         (gst_pad_set_caps), (gst_pad_send_event):
27853         Update for new events. 
27854         Catch events sent in wrong directions.
27855
27856         * gst/gstqueue.c: (gst_queue_link_src),
27857         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27858         (gst_queue_handle_src_query):
27859         Event updates.
27860
27861         * gst/gsttag.c:
27862         * gst/gsttag.h:
27863         Remove event code from this file.
27864
27865         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27866         (gst_dp_event_from_packet):
27867         Event updates.
27868
27869 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27870
27871         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27872         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27873         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27874           Make debugging actually useful.
27875
27876 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27877
27878         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27879         (gst_pad_fixate_caps):
27880           Implement default fixation once again, so that gst_pad_fixate()
27881           actually does anything at all. This probably needs to be some
27882           sort of a last resort, and use profile-based fixation first, but
27883           since that doesn't exist yet, this is the best we have. Fixes
27884           visualization in Totem.
27885
27886 2005-07-22  Wim Taymans  <wim@fluendo.com>
27887
27888         * docs/design/part-events.txt:
27889         Small update.
27890
27891         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27892         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27893         (gst_base_sink_activate_pull):
27894         Some more comments.
27895
27896         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27897         (gst_fake_src_create):
27898         Fix handoff marshall.
27899
27900         * gst/elements/gstidentity.c: (gst_identity_class_init),
27901         (gst_identity_transform_ip):
27902         We're a real inplace element.
27903
27904         * gst/gstbus.c: (gst_bus_post):
27905         Added some comments.
27906
27907         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27908         * tests/muxing/case1.c: (main):
27909         * tests/sched/dynamic-pipeline.c: (main):
27910         * tests/sched/interrupt1.c: (main):
27911         * tests/sched/interrupt2.c: (main):
27912         * tests/sched/interrupt3.c: (main):
27913         * tests/sched/runxml.c: (main):
27914         * tests/sched/sched-stress.c: (main):
27915         * tests/seeking/seeking1.c: (event_received), (main):
27916         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27917         (main):
27918         * tests/threadstate/threadstate3.c: (main):
27919         * tests/threadstate/threadstate4.c: (main):
27920         * tests/threadstate/threadstate5.c: (main):
27921         Fix the tests.
27922
27923 2005-07-21  Wim Taymans  <wim@fluendo.com>
27924
27925         * docs/design/part-seeking.txt:
27926         Some small additions.
27927
27928         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27929         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27930         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27931         * gst/base/gstbasesink.h:
27932         discont values are gint64, handle the math correctly.
27933
27934         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27935         Make the basesrc report error if the source pad is not linked.
27936
27937         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27938         (gst_queue_loop), (gst_queue_handle_src_query),
27939         (gst_queue_src_activate_push):
27940         Make queue collect data even if the srcpad is not linked.
27941         Start pushing out data as soon as it is linked.
27942
27943         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27944         * gst/gstutils.h:
27945         Added gst_flow_get_name() to ease error reporting.
27946
27947 2005-07-20  Wim Taymans  <wim@fluendo.com>
27948
27949         * gst/gstmessage.c: (gst_message_new_segment_start),
27950         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27951         (gst_message_parse_segment_done):
27952         * gst/gstmessage.h:
27953         Added a bunch of messages for advanced seeking.
27954
27955         * gst/parse/grammar.y:
27956         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27957         (gst_dpman_state_changed):
27958         Fix some new-pad -> pad-added signals
27959
27960 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27961
27962         * docs/manual/appendix-porting.xml:
27963         * docs/pwg/appendix-porting.xml:
27964           Document new-pad/state-change signal renames and the FixedList
27965           type rename.
27966
27967 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27968
27969         * docs/manual/advanced-autoplugging.xml:
27970         * docs/manual/basics-helloworld.xml:
27971         * docs/manual/basics-pads.xml:
27972         * docs/random/ds/0.9-suggested-changes:
27973         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27974         * gst/gstelement.h:
27975         * gst/gstevent.h:
27976         * gst/gstformat.h:
27977         * gst/gstquery.h:
27978         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27979         (gst_structure_parse_array), (gst_structure_parse_value):
27980         * gst/gstvalue.c: (gst_type_is_fixed),
27981         (gst_value_list_prepend_value), (gst_value_list_append_value),
27982         (gst_value_list_get_size), (gst_value_list_get_value),
27983         (gst_value_transform_array_string), (gst_value_serialize_array),
27984         (gst_value_deserialize_array), (gst_value_intersect_array),
27985         (gst_value_is_fixed), (_gst_value_initialize):
27986         * gst/gstvalue.h:
27987           GstElement::new-pad -> pad-added, GstElement::state-change ->
27988           state-changed, GstValueFixedList -> GstValueArray, add format and
27989           flags as their own arguments in gst_element_seek() (should improve
27990           "bindeability"), remove function generators since they don't work
27991           under a whole bunch of compilers (they were deprecated already
27992           anyway).
27993
27994 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27995
27996         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27997         (_gst_debug_register_funcptr):
27998         * gst/gstinfo.h:
27999           Fix illegal cast on some platforms (#309253).
28000
28001 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28002
28003         * gst/gstmessage.c: (gst_message_new_custom):
28004         * gst/gstmessage.h:
28005           Add _new_custom, make _new_application a macro to _new_custom.
28006
28007 2005-07-20  Wim Taymans  <wim@fluendo.com>
28008
28009         * gst/base/gstbasesrc.c: (gst_base_src_init),
28010         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
28011         * gst/base/gstbasesrc.h:
28012         Add a gboolean to decide when to push out a discont.
28013
28014         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28015         (gst_queue_loop), (gst_queue_handle_src_query),
28016         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
28017         (gst_queue_set_property), (gst_queue_get_property):
28018         Some cleanups.
28019
28020         * tests/threadstate/threadstate1.c: (main):
28021         Make a thread test compile and run... very silly..
28022
28023
28024 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28025
28026         * docs/manual/appendix-porting.xml:
28027           Mention removal of libgstgconf-0.9.la and existence of gconf
28028           elements.
28029
28030 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28031
28032         * docs/pwg/advanced-clock.xml:
28033         * docs/pwg/appendix-porting.xml:
28034         * docs/pwg/intro-preface.xml:
28035         * docs/pwg/other-base.xml:
28036         * docs/pwg/other-manager.xml:
28037         * docs/pwg/other-nton.xml:
28038         * docs/pwg/other-ntoone.xml:
28039         * docs/pwg/other-oneton.xml:
28040         * docs/pwg/pwg.xml:
28041           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
28042           demuxer), remove n-to-n (was never written), fix some code examples
28043           and links and update the porting section to include all this.
28044
28045 2005-07-19  Wim Taymans  <wim@fluendo.com>
28046
28047         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
28048         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
28049         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
28050         (gst_queue_src_activate_push), (gst_queue_change_state),
28051         (gst_queue_get_property):
28052         * gst/gstqueue.h:
28053         Propagate GstFlowReturn more intelligently upstream and output
28054         an ERROR/EOS when streaming stopped due to fatal error.
28055
28056 2005-07-19  Wim Taymans  <wim@fluendo.com>
28057
28058         * tools/gst-launch.c: (check_intr), (event_loop), (main):
28059         Don't block forever for the state change to complete, the
28060         pipeline already did with a sensible timeout.
28061
28062 2005-07-19  Wim Taymans  <wim@fluendo.com>
28063
28064         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
28065         Make sure we never call the create function is we
28066         got deactivated.
28067
28068 2005-07-19  Andy Wingo  <wingo@pobox.com>
28069
28070         * gst/parse/parse.l: Attempt to solve bug #172815.
28071
28072 2005-07-19  Wim Taymans  <wim@fluendo.com>
28073
28074         * docs/design/part-clocks.txt:
28075         * docs/design/part-events.txt:
28076         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
28077         Small docs updates.
28078         Only update the seeking values when we are not
28079         busy streaming.
28080
28081 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
28082
28083         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28084           Oops, ignore the result of gst_pad_push_event here.
28085
28086 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
28087
28088         * gst/base/gstbasesrc.c: (gst_base_src_loop),
28089         (gst_base_src_activate_push):
28090           Send discont event from the loop function, as pads
28091           aren't activated yet in the activate_push handler.
28092
28093         * gst/gstbin.c: (bin_bus_handler):
28094           Don't leak element name.
28095
28096 2005-07-18  Andy Wingo  <wingo@pobox.com>
28097
28098         * configure.ac: Use AS_LIBTOOL_TAGS.
28099
28100 2005-07-18  Wim Taymans  <wim@fluendo.com>
28101
28102         * docs/gst/gstreamer.types:
28103         Remove deleted types.
28104
28105 2005-07-18  Wim Taymans  <wim@fluendo.com>
28106
28107         * check/elements/gstfakesrc.c: (GST_START_TEST):
28108         * configure.ac:
28109         * gst/Makefile.am:
28110         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
28111         (init_popt_callback):
28112         * gst/gst.h:
28113         * gst/gst_private.h:
28114         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
28115         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
28116         * gst/gstbin.h:
28117         * gst/gstbus.h:
28118         * gst/gstconfig.h.in:
28119         * gst/gstelement.c: (gst_element_class_init),
28120         (gst_element_set_base_time), (gst_element_get_base_time),
28121         (iterator_fold_with_resync), (gst_element_change_state),
28122         (gst_element_dispose), (gst_element_get_bus):
28123         * gst/gstelement.h:
28124         * gst/gstelementfactory.h:
28125         * gst/gsterror.c: (_gst_core_errors_init):
28126         * gst/gsterror.h:
28127         * gst/gstevent.h:
28128         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28129         * gst/gstindex.c:
28130         * gst/gstinfo.c: (_gst_debug_init):
28131         * gst/gstmessage.c: (_gst_message_copy):
28132         * gst/gstmessage.h:
28133         * gst/gstminiobject.h:
28134         * gst/gstobject.c:
28135         * gst/gstobject.h:
28136         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28137         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
28138         * gst/gstpad.h:
28139         * gst/gstparse.h:
28140         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28141         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28142         (gst_pipeline_get_last_stream_time):
28143         * gst/gstpipeline.h:
28144         * gst/gstpluginfeature.h:
28145         * gst/gstquery.h:
28146         * gst/gstscheduler.c:
28147         * gst/gstscheduler.h:
28148         * gst/gststructure.h:
28149         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28150         (gst_task_finalize), (gst_task_func), (gst_task_create),
28151         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
28152         (gst_task_stop), (gst_task_pause):
28153         * gst/gsttask.h:
28154         * gst/gsttypefind.h:
28155         * gst/gsttypes.h:
28156         * gst/registries/gstlibxmlregistry.c: (load_feature),
28157         (gst_xml_registry_load), (gst_xml_registry_save_feature):
28158         * gst/registries/gstxmlregistry.c:
28159         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
28160         * gst/schedulers/threadscheduler.c:
28161         * libs/gst/control/dparammanager.h:
28162         * tools/gst-inspect.c: (print_element_list),
28163         (print_plugin_features), (print_element_features):
28164         * tools/gst-xmlinspect.c: (print_element_list),
28165         (print_plugin_info), (main):
28166         Removed plugable schedulers.
28167         Removed Scheduler/Manager from elements.
28168         Removed gsttypes.h, rearranged includes.
28169         Removed dependency pad<->element, element<>pipeline, and
28170         various others,  fix includes.
28171         implement gst_pad_get_parent() with gst_object_get_parent()
28172         Make GstTask sefcontained.
28173         Fix _get_state() on GstBin, it did not return ASYNC with a 0
28174         timeout.
28175         Fix endless loop in iterator_fold_with_resync.
28176
28177
28178 2005-07-18  Wim Taymans  <wim@fluendo.com>
28179
28180         * gst/Makefile.am:
28181         * gst/gstarch.h:
28182         Remove old file.
28183
28184 2005-07-18  Wim Taymans  <wim@fluendo.com>
28185
28186         * gst/Makefile.am:
28187         No more cothreads.h
28188
28189 2005-07-18  Wim Taymans  <wim@fluendo.com>
28190
28191         * gst/cothreads.c:
28192         * gst/cothreads.h:
28193         Let's remove these.
28194
28195 2005-07-18  Wim Taymans  <wim@fluendo.com>
28196
28197         * docs/design/part-dynamic.txt:
28198         * docs/design/part-events.txt:
28199         * docs/design/part-seeking.txt:
28200         Some more docs in the works.
28201
28202         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28203         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28204         (gst_base_transform_setcaps), (gst_base_transform_get_size),
28205         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28206         (gst_base_transform_handle_buffer),
28207         (gst_base_transform_sink_activate_push),
28208         (gst_base_transform_src_activate_pull),
28209         (gst_base_transform_set_passthrough),
28210         (gst_base_transform_is_passthrough):
28211         Refcounting fixes.
28212
28213         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28214         Cleanups.
28215
28216         * gst/gstevent.c: (gst_event_finalize):
28217         Set SRC to NULL.
28218
28219         * gst/gstutils.c: (gst_element_unlink),
28220         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28221         (gst_pad_proxy_setcaps):
28222         * gst/gstutils.h:
28223         Add _get_parent_element() to get a pads parent as an element.
28224
28225 2005-07-18  Wim Taymans  <wim@fluendo.com>
28226
28227         * check/gst/gstbin.c: (GST_START_TEST):
28228         Remove bogus test.
28229
28230 2005-07-18  Wim Taymans  <wim@fluendo.com>
28231
28232         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28233         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28234         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28235         (gst_base_sink_event), (gst_base_sink_do_sync),
28236         (gst_base_sink_chain), (gst_base_sink_loop),
28237         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28238         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28239         Refcounting fixes.
28240         Fix logic for returning ASYNC when not prerolled.
28241
28242 2005-07-18  Wim Taymans  <wim@fluendo.com>
28243
28244         * gst/gstqueue.c: (gst_queue_handle_sink_event):
28245         Fix nasty refcount bug.
28246
28247 2005-07-16 Philippe Khalaf <burger@speedy.org>
28248
28249         * gst/elements/gstfdsrc.c:
28250         * gst/elements/gstfdsrc.h:
28251         * gst/elements/gstelements.c:
28252         * gst/elements/Makefile.am:
28253         Ported fdsrc to 0.9.
28254
28255 2005-07-16  Wim Taymans  <wim@fluendo.com>
28256
28257         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28258         (gst_base_sink_do_sync):
28259         Fix compile error.
28260
28261 2005-07-16  Wim Taymans  <wim@fluendo.com>
28262
28263         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28264         (gst_base_sink_event), (gst_base_sink_get_times),
28265         (gst_base_sink_do_sync), (gst_base_sink_change_state):
28266         * gst/base/gstbasesink.h:
28267         Store and use discont values when syncing buffers as described
28268         in design docs.
28269         
28270         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28271         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28272         (gst_base_src_activate_push):
28273         Push discont event when starting.
28274
28275         * gst/elements/gstidentity.c: (gst_identity_transform):
28276         Small cleanups.
28277
28278         * gst/gstbin.c: (gst_bin_change_state):
28279         Small cleanups in base_time  distribution.
28280
28281         * gst/gstelement.c: (gst_element_set_base_time),
28282         (gst_element_get_base_time), (gst_element_change_state):
28283         * gst/gstelement.h:
28284         Added methods for the base_time of the element.
28285         Some MT fixes.
28286
28287         * gst/gstpipeline.c: (gst_pipeline_send_event),
28288         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28289         (gst_pipeline_get_last_stream_time):
28290         * gst/gstpipeline.h:
28291         MT fixes.
28292         Handle seeking as described in design doc, remove stream_time
28293         hack.
28294         Cleanups clock and stream_time selection code. Added accessors
28295         for the stream_time.
28296         
28297
28298 2005-07-16  Andy Wingo  <wingo@pobox.com>
28299
28300         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28301         (#305291).
28302
28303 2005-07-16  Wim Taymans  <wim@fluendo.com>
28304
28305         * check/gst/gstbin.c: (GST_START_TEST):
28306         Make elements silent as the deep_notify refs the
28307         parent, which might make the test fail.
28308
28309         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28310         Don't hold the lock for too long.
28311
28312 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
28313
28314         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28315           Don't unref the caps we passed to gst_caps_make_writable() after
28316           passing them. gst_caps_make_writable() will do that for us.
28317
28318 2005-07-15  Andy Wingo  <wingo@pobox.com>
28319
28320         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28321         (#157311).
28322
28323         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28324         own marshalling function for the handoff signal. Properly type the
28325         buffer as a buffer. Fixes some warnings. Should do a more general
28326         solution.
28327         (gst_identity_class_init): Plug into the right marshaller.
28328
28329 2005-07-15  Wim Taymans  <wim@fluendo.com>
28330
28331         * docs/design/part-TODO.txt:
28332         * docs/design/part-clocks.txt:
28333         * docs/design/part-element-sink.txt:
28334         * docs/design/part-events.txt:
28335         * docs/design/part-gstpipeline.txt:
28336         Updated docs, mostly DISCONT related.
28337
28338 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
28339
28340         * docs/pwg/building-pads.xml:
28341           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28342
28343 2005-07-15  Andy Wingo  <wingo@pobox.com>
28344
28345         * tools/gst-typefind.c: Update, add copyright block.
28346
28347         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28348         Normalize and truncate caps before fixation.
28349
28350         * gst/gstcaps.h:
28351         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28352         discards all but the first structure from its argument.
28353
28354 2005-07-15  Wim Taymans  <wim@fluendo.com>
28355
28356         * gst/base/gstbasetransform.c: (gst_base_transform_init),
28357         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28358         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28359         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28360         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28361         (gst_base_transform_chain), (gst_base_transform_change_state),
28362         (gst_base_transform_set_passthrough),
28363         (gst_base_transform_is_passthrough):
28364         * gst/base/gstbasetransform.h:
28365         Make passthrough work using the bufferpools.
28366         Changed API a bit, subclasses have to write into a buffer
28367         provided by the base class.
28368         More debug info in nego functions.
28369         
28370         * gst/elements/gstidentity.c: (gst_identity_init),
28371         (gst_identity_transform):
28372         Port to new base class.
28373
28374 2005-07-15  Wim Taymans  <wim@fluendo.com>
28375
28376         * gst/gstmessage.c: (gst_message_new_state_changed):
28377         * tools/gst-launch.c: (event_loop), (main):
28378         Totally dump messages in -launch with the -m option.
28379         Fix message name for State messages,
28380
28381 2005-07-14  Wim Taymans  <wim@fluendo.com>
28382
28383         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28384         Post error messages on errors.
28385
28386 2005-07-14  Wim Taymans  <wim@fluendo.com>
28387
28388         * gst/gstcaps.c: (gst_caps_do_simplify):
28389         Remove debug info.
28390
28391         * gst/gsterror.h:
28392         Define error for stream stopped.
28393
28394         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28395         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28396         Do proper return values.
28397
28398         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28399         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28400         (gst_pad_get_range):
28401         Better return values.
28402
28403         * gst/gstpad.h:
28404         Reorganise return values, add macro to check for fatal errors.
28405
28406         * gst/gstqueue.c: (gst_queue_chain):
28407         Return proper GstFlowReturn values,
28408
28409 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
28410
28411         * docs/gst/gstreamer-sections.txt:
28412         * docs/gst/gstreamer.types:
28413         * docs/gst/tmpl/gst.sgml:
28414         * docs/gst/tmpl/gstbasesink.sgml:
28415         * docs/gst/tmpl/gstbasesrc.sgml:
28416         * docs/gst/tmpl/gstbasetransform.sgml:
28417         * docs/gst/tmpl/gstbin.sgml:
28418         * docs/gst/tmpl/gstbuffer.sgml:
28419         * docs/gst/tmpl/gstcaps.sgml:
28420         * docs/gst/tmpl/gstclock.sgml:
28421         * docs/gst/tmpl/gstcompat.sgml:
28422         * docs/gst/tmpl/gstconfig.sgml:
28423         * docs/gst/tmpl/gstelement.sgml:
28424         * docs/gst/tmpl/gstelementdetails.sgml:
28425         * docs/gst/tmpl/gstelementfactory.sgml:
28426         * docs/gst/tmpl/gstenumtypes.sgml:
28427         * docs/gst/tmpl/gsterror.sgml:
28428         * docs/gst/tmpl/gstevent.sgml:
28429         * docs/gst/tmpl/gstfakesink.sgml:
28430         * docs/gst/tmpl/gstfakesrc.sgml:
28431         * docs/gst/tmpl/gstfilesink.sgml:
28432         * docs/gst/tmpl/gstfilesrc.sgml:
28433         * docs/gst/tmpl/gstfilter.sgml:
28434         * docs/gst/tmpl/gstformat.sgml:
28435         * docs/gst/tmpl/gstghostpad.sgml:
28436         * docs/gst/tmpl/gstimplementsinterface.sgml:
28437         * docs/gst/tmpl/gstindex.sgml:
28438         * docs/gst/tmpl/gstindexfactory.sgml:
28439         * docs/gst/tmpl/gstinfo.sgml:
28440         * docs/gst/tmpl/gstiterator.sgml:
28441         * docs/gst/tmpl/gstmacros.sgml:
28442         * docs/gst/tmpl/gstmemchunk.sgml:
28443         * docs/gst/tmpl/gstminiobject.sgml:
28444         * docs/gst/tmpl/gstobject.sgml:
28445         * docs/gst/tmpl/gstpad.sgml:
28446         * docs/gst/tmpl/gstpadtemplate.sgml:
28447         * docs/gst/tmpl/gstparse.sgml:
28448         * docs/gst/tmpl/gstpipeline.sgml:
28449         * docs/gst/tmpl/gstplugin.sgml:
28450         * docs/gst/tmpl/gstpluginfeature.sgml:
28451         * docs/gst/tmpl/gstquery.sgml:
28452         * docs/gst/tmpl/gstqueue.sgml:
28453         * docs/gst/tmpl/gstregistry.sgml:
28454         * docs/gst/tmpl/gstregistrypool.sgml:
28455         * docs/gst/tmpl/gstscheduler.sgml:
28456         * docs/gst/tmpl/gstschedulerfactory.sgml:
28457         * docs/gst/tmpl/gststructure.sgml:
28458         * docs/gst/tmpl/gstsystemclock.sgml:
28459         * docs/gst/tmpl/gsttaglist.sgml:
28460         * docs/gst/tmpl/gsttagsetter.sgml:
28461         * docs/gst/tmpl/gsttrace.sgml:
28462         * docs/gst/tmpl/gsttrashstack.sgml:
28463         * docs/gst/tmpl/gsttypefind.sgml:
28464         * docs/gst/tmpl/gsttypefindfactory.sgml:
28465         * docs/gst/tmpl/gsttypes.sgml:
28466         * docs/gst/tmpl/gsturihandler.sgml:
28467         * docs/gst/tmpl/gsturitype.sgml:
28468         * docs/gst/tmpl/gstutils.sgml:
28469         * docs/gst/tmpl/gstvalue.sgml:
28470         * docs/gst/tmpl/gstversion.sgml:
28471         * docs/gst/tmpl/gstxml.sgml:
28472         * docs/libs/tmpl/gstcontrol.sgml:
28473         * docs/libs/tmpl/gstdataprotocol.sgml:
28474         * docs/libs/tmpl/gstdparam.sgml:
28475         * docs/libs/tmpl/gstdplinint.sgml:
28476         * docs/libs/tmpl/gstdpman.sgml:
28477         * docs/libs/tmpl/gstdpsmooth.sgml:
28478         * docs/libs/tmpl/gstgetbits.sgml:
28479         * docs/libs/tmpl/gstunitconvert.sgml:
28480         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28481         (gst_push_src_base_init), (gst_push_src_class_init),
28482         (gst_push_src_init), (gst_push_src_create):
28483         * gst/base/gstpushsrc.h:
28484         * gst/elements/gstelements.c:
28485         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28486         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28487         (gst_fake_sink_init), (gst_fake_sink_set_property),
28488         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28489         (gst_fake_sink_event), (gst_fake_sink_preroll),
28490         (gst_fake_sink_render), (gst_fake_sink_change_state):
28491         * gst/elements/gstfakesink.h:
28492         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28493         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28494         (gst_fake_src_base_init), (gst_fake_src_class_init),
28495         (gst_fake_src_init), (gst_fake_src_event_handler),
28496         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28497         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28498         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28499         (gst_fake_src_create_buffer), (gst_fake_src_create),
28500         (gst_fake_src_start), (gst_fake_src_stop):
28501         * gst/elements/gstfakesrc.h:
28502         * gst/elements/gstfilesink.c: (_do_init),
28503         (gst_file_sink_base_init), (gst_file_sink_class_init),
28504         (gst_file_sink_init), (gst_file_sink_dispose),
28505         (gst_file_sink_set_location), (gst_file_sink_set_property),
28506         (gst_file_sink_get_property), (gst_file_sink_open_file),
28507         (gst_file_sink_close_file), (gst_file_sink_query),
28508         (gst_file_sink_event), (gst_file_sink_render),
28509         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28510         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28511         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28512         * gst/elements/gstfilesink.h:
28513         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28514         (gst_file_src_class_init), (gst_file_src_init),
28515         (gst_file_src_finalize), (gst_file_src_set_location),
28516         (gst_file_src_set_property), (gst_file_src_get_property),
28517         (gst_file_src_map_region), (gst_file_src_map_small_region),
28518         (gst_file_src_create_mmap), (gst_file_src_create_read),
28519         (gst_file_src_create), (gst_file_src_is_seekable),
28520         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28521         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28522         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28523         (gst_file_src_uri_handler_init):
28524         * gst/elements/gstfilesrc.h:
28525           more autistic cleanliness in functions/names/defines
28526
28527 2005-07-13  Andy Wingo  <wingo@pobox.com>
28528
28529         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28530         source couldn't negotiate.
28531
28532         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28533         connections again.
28534
28535         * gst/gstutils.h:
28536         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28537         function. I am channeling Hades. Put your boots on suckers!!!
28538
28539 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28540
28541         * testsuite/caps/Makefile.am:
28542         * testsuite/caps/value_compare.c:
28543         * testsuite/caps/value_intersect.c:
28544         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28545           move two testsuite apps over to the check dir
28546
28547 2005-07-12  Wim Taymans  <wim@fluendo.com>
28548
28549         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28550         Added more debug info in the negotiate process.
28551
28552         * gst/gstmessage.h:
28553         Prepare for segment playback.
28554
28555         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28556         Better debugging.
28557
28558         * gst/gstutils.c:
28559         Some more docs.
28560
28561         * tools/gst-launch.c: (main):
28562         NULL pipeline on errors.
28563
28564 2005-07-12  Andy Wingo  <wingo@pobox.com>
28565
28566         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28567         not it comes from a malloc region. Make sure our copy gets freed.
28568
28569 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28570
28571         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28572         * check/gst/gstmessage.c: (GST_START_TEST):
28573         * check/gst/gststructure.c: (GST_START_TEST),
28574         (gst_structure_suite), (main):
28575           more testing
28576         * gst/gstelement.c: (gst_element_message_full):
28577           clean up GError and debug string now that they get copied
28578         * gst/gstmessage.c: (gst_message_new_error),
28579         (gst_message_new_warning), (gst_message_parse_error),
28580         (gst_message_parse_warning):
28581           use GST_TYPE_G_ERROR for structure_new, and take copies of
28582           arguments, so that we don't mess up refcounting
28583
28584 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28585
28586         * check/Makefile.am:
28587           add per-test valgrind targets
28588         * check/gst-libs/gdp.c: (GST_START_TEST),
28589         (gst_data_protocol_suite), (main):
28590           clean up
28591
28592 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28593
28594         * check/Makefile.am:
28595           instate more valgrindable tests
28596         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28597         (GST_START_TEST), (fakesrc_suite):
28598         * check/gst/gstpad.c: (GST_START_TEST):
28599         * check/gst/gststructure.c: (GST_START_TEST):
28600           fix test leaks
28601         * docs/gst/tmpl/gstminiobject.sgml:
28602         * gst/gstpad.c: (gst_pad_finalize):
28603           fix the static mutex leak
28604
28605 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28606
28607         * check/Makefile.am:
28608           add two more tests for valgrinding
28609         * check/gst/gstvalue.c: (GST_START_TEST):
28610           test refcount of deserialized buffer, found a leak
28611         * docs/gst/gstreamer-docs.sgml:
28612         * docs/gst/gstreamer-sections.txt:
28613         * docs/gst/gstreamer.types:
28614         * docs/gst/tmpl/gstminiobject.sgml:
28615           add miniobject to docs
28616         * gst/gstminiobject.c:
28617           add some docs
28618         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28619         (gst_string_unwrap):
28620           fix a hard-to-find invalid write for one of the tests
28621           fix a leak for deserialized buffers
28622
28623 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28624
28625         * docs/pwg/advanced-events.xml:
28626         * docs/pwg/advanced-request.xml:
28627         * docs/pwg/advanced-scheduling.xml:
28628         * docs/pwg/appendix-porting.xml:
28629         * docs/pwg/building-boiler.xml:
28630         * docs/pwg/intro-preface.xml:
28631         * docs/pwg/other-ntoone.xml:
28632           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28633           of example code and explanation for pad activation, loop() and
28634           getrange() functions and a bit more. Remove old comments pointing
28635           to loop-functions.
28636         * examples/pwg/Makefile.am:
28637           Add loop/getrange examples.
28638
28639 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28640
28641         * configure.ac:
28642           check for valgrind binary + some fixes
28643         * check/gst.supp:
28644           valgrind suppressions for the tests
28645         * check/Makefile.am:
28646           add a valgrind: target that valgrinds the unit tests
28647         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28648         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28649         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28650         * check/gst/gstghostpad.c:
28651           added some cleanup
28652         * check/gst/gstdata.c:
28653           removed
28654         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28655         (thread_unref), (gst_mini_object_suite), (main):
28656           added
28657         * gst/gst.c: (gst_deinit):
28658         * gst/gst.h:
28659           add a method to clean up.
28660         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28661         (gst_system_clock_obtain):
28662           allow for disposing the system clock.
28663         * tools/gst-launch.c: (main):
28664           deinit
28665
28666 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28667
28668         * docs/gst/tmpl/gstbasesrc.sgml:
28669         * docs/gst/tmpl/gstfakesrc.sgml:
28670         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28671         (gst_base_src_init), (gst_base_src_set_property),
28672         (gst_base_src_get_property), (gst_base_src_get_range),
28673         (gst_base_src_start):
28674         * gst/base/gstbasesrc.h:
28675           add num-buffers property
28676         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28677         (gst_fakesrc_init), (gst_fakesrc_set_property),
28678         (gst_fakesrc_get_property), (gst_fakesrc_create),
28679         (gst_fakesrc_start):
28680           remove num-buffers property
28681
28682 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28683
28684         * docs/gst/gstreamer-sections.txt:
28685         * docs/gst/tmpl/gstbasesink.sgml:
28686         * docs/gst/tmpl/gstbasesrc.sgml:
28687         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28688         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28689         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28690         (gst_base_sink_set_property), (gst_base_sink_get_property),
28691         (gst_base_sink_handle_object), (gst_base_sink_event),
28692         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28693         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28694         (gst_base_sink_loop), (gst_base_sink_deactivate),
28695         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28696         (gst_base_sink_change_state):
28697         * gst/base/gstbasesink.h:
28698         * gst/base/gstbasesrc.h:
28699         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28700         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28701         (gst_filesink_init):
28702           more macro splitting
28703
28704 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28705
28706         * gst/gstelement.c: (gst_element_get_bus):
28707           add debug
28708         * tools/gst-launch.c: (check_intr), (event_loop):
28709           fix bus leaks
28710
28711 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28712
28713         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28714           fix a caps leak
28715
28716 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28717
28718         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28719         (gst_base_src_finalize):
28720           add finalize method and clean up properly
28721         * gst/gstpipeline.c: (gst_pipeline_dispose):
28722           add debug
28723
28724 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28725
28726         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28727         (gst_bin_suite):
28728           add more things to check
28729         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28730         * gst/gstelement.c:
28731           more debug
28732
28733 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28734
28735         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28736         (GST_START_TEST), (fakesrc_suite):
28737         * check/gst-libs/gdp.c: (GST_START_TEST):
28738         * check/gst/gst.c: (GST_START_TEST):
28739         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28740         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28741         * check/gst/gstbus.c: (GST_START_TEST):
28742         * check/gst/gstcaps.c: (GST_START_TEST):
28743         * check/gst/gstdata.c: (GST_START_TEST):
28744         * check/gst/gstelement.c: (GST_START_TEST):
28745         * check/gst/gstghostpad.c: (GST_START_TEST):
28746         * check/gst/gstiterator.c: (GST_START_TEST):
28747         * check/gst/gstmessage.c: (GST_START_TEST):
28748         * check/gst/gstobject.c: (GST_START_TEST):
28749         * check/gst/gstpad.c: (GST_START_TEST):
28750         * check/gst/gststructure.c: (GST_START_TEST):
28751         * check/gst/gstsystemclock.c: (GST_START_TEST),
28752         (gst_systemclock_suite):
28753         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28754         * check/gst/gstvalue.c: (GST_START_TEST):
28755         * check/pipelines/cleanup.c: (GST_START_TEST):
28756         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28757         * check/states/sinks.c: (GST_START_TEST):
28758         * check/gstcheck.c: (gst_check_init):
28759         * check/gstcheck.h:
28760           add debugging category
28761           use GST_START_TEST now, so we add a debug line
28762
28763 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28764
28765         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28766           add test for state change message on a bin
28767         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28768           add another test
28769         * gst/gstbin.c: (gst_bin_init):
28770         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28771         * gst/gstelement.c: (gst_element_post_message),
28772         (gst_element_set_state):
28773         * gst/gstelementfactory.c: (gst_element_factory_create):
28774         * gst/gstmessage.c: (gst_message_new):
28775         * gst/gstscheduler.c:
28776           various debugging additions and cleanups
28777
28778 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28779
28780         * check/Makefile.am:
28781         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28782         (main):
28783           adding tests for elements
28784         * gst/gstelement.c: (gst_element_dispose):
28785
28786 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28787
28788         * gst/registries/gstlibxmlregistry.c: (load_feature):
28789           plug more leaks.  A simple gst_init() now is leakfree, yay.
28790
28791 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28792
28793         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28794         (gst_xml_registry_load):
28795           plug another memleak
28796
28797 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28798
28799         * configure.ac:
28800           use GST_SET_ERROR_CFLAGS
28801         * docs/faq/cvs.xml:
28802           change to ERROR_CFLAGS
28803
28804 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28805
28806         * configure.ac:
28807           make GST_ERROR_CFLAGS overridable and re-enable Werror
28808         * docs/faq/cvs.xml:
28809           add a note about error CFLAGS
28810         * docs/gst/tmpl/gstfakesrc.sgml:
28811         * gst/elements/gstfakesrc.c:
28812           comment out some unused code
28813         * gst/gst.c: (split_and_iterate):
28814         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28815         (load_feature):
28816           plug some memleaks
28817
28818 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28819
28820         * common/Makefile.am:
28821         * common/gtk-doc.mak:
28822         * docs/gst/Makefile.am:
28823           factor out gtk-doc.mak
28824
28825 2005-07-07  Wim Taymans  <wim@fluendo.com>
28826
28827         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28828         (gst_thread_scheduler_dispose):
28829         Unlock the STREAM_LOCK completely.
28830
28831 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28832
28833         * check/Makefile.am:
28834         * check/elements/.cvsignore:
28835         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28836         (START_TEST), (fakesrc_suite), (main):
28837         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28838         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28839         (gst_fakesrc_create), (gst_fakesrc_start):
28840         * gst/elements/gstfakesrc.h:
28841           adding a first element test
28842
28843 2005-07-07  Andy Wingo  <wingo@pobox.com>
28844
28845         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28846         debug message.
28847
28848 2005-07-07  Wim Taymans  <wim@fluendo.com>
28849
28850         * gst/gstquery.c:
28851         * gst/gstquery.h:
28852         Remove old types
28853
28854 2005-07-07  Wim Taymans  <wim@fluendo.com>
28855
28856         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28857         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28858         Allow subclasses to implement their own negotiation.
28859
28860 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28861
28862         * docs/design/part-gstbin.txt:
28863         * docs/design/part-gstpipeline.txt:
28864           Update design notes to reflect the movement of
28865           responsibility for bus handling from GstPipeline to
28866           GstBin
28867
28868 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28869
28870         * configure.ac:
28871           Remove unnecessary queue2/3/4 examples.
28872
28873 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28874
28875         * examples/Makefile.am:
28876         * examples/helloworld/helloworld.c: (event_loop), (main):
28877         * examples/queue/queue.c: (event_loop), (main):
28878         * examples/queue2/queue2.c: (main):
28879           Update a couple of the examples to work again.
28880
28881         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28882         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28883          Spelling corrections and extra debug.
28884         
28885         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28886         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28887         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28888         * gst/gstbin.h:
28889         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28890         (gst_pipeline_change_state):
28891         * gst/gstpipeline.h:
28892           Move the bus handler for children to the GstBin, and create a
28893           separate bus for receiving messages from children to the one the
28894           bus sends 'upwards' on.
28895
28896 2005-07-06  Wim Taymans  <wim@fluendo.com>
28897
28898         * gst/base/README:
28899         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28900         (gst_base_sink_handle_object), (gst_base_sink_loop),
28901         (gst_base_sink_change_state):
28902         * gst/base/gstbasesink.h:
28903         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28904         (gst_base_src_init), (gst_base_src_setcaps),
28905         (gst_base_src_getcaps), (gst_base_src_loop),
28906         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28907         (gst_base_src_start), (gst_base_src_change_state):
28908         * gst/base/gstbasesrc.h:
28909         Make basesrc negotiate.
28910         Handle the case where preroll fails in basesink.
28911         Update README.
28912
28913 2005-07-06  Wim Taymans  <wim@fluendo.com>
28914
28915         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28916         Implement the fixate function.
28917         Clean up acceptcaps.
28918
28919 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28920
28921         * docs/pwg/building-filterfactory.xml:
28922         * docs/pwg/pwg.xml:
28923           Remove never-written filter-factory chapter; I'll add the various
28924           base classes to part 4 ("other element types") later on.
28925
28926 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28927
28928         * docs/pwg/advanced-negotiation.xml:
28929         * docs/pwg/building-boiler.xml:
28930         * docs/pwg/building-pads.xml:
28931         * docs/pwg/pwg.xml:
28932         * examples/pwg/Makefile.am:
28933           Add a chapter on caps negotiation, simplify the original code
28934           samples a bit w.r.t. caps negotiation, add link to the advanced
28935           section. Add a bunch of examples showing different use cases of
28936           different types of caps negotiation. Upstream renegotiation isn't
28937           fully documented yet since nobody knows how that works.
28938
28939 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28940
28941         * check/gst/gstpad.c:
28942         * check/gstcheck.c:
28943         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28944           if pad has no parent, return NULL as list of internal links
28945
28946 2005-07-05  Andy Wingo  <wingo@pobox.com>
28947
28948         * gst/elements/gstfilesrc.c:
28949         * gst/elements/gstfakesrc.c: 
28950         * gst/base/gstpushsrc.c:
28951         * gst/base/gstbasesrc.h: 
28952         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28953         
28954 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28955
28956         * Makefile.am:
28957           better report generation target (lcov needs a patch)
28958
28959 2005-07-05  Andy Wingo  <wingo@pobox.com>
28960
28961         * gst/elements, testsuite: Null if we got it...
28962
28963 2005-07-05  Wim Taymans  <wim@fluendo.com>
28964
28965         * configure.ac:
28966         * libs/gst/dataprotocol/Makefile.am:
28967         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28968         * libs/gst/dataprotocol/dataprotocol.h:
28969         * pkgconfig/Makefile.am:
28970         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28971         * pkgconfig/gstreamer-dataprotocol.pc.in:
28972         Ported dataprotol to 0.9. 
28973         Added pkgconfig files.
28974
28975 2005-07-05  Andy Wingo  <wingo@pobox.com>
28976
28977         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28978         Default to returning TRUE for the case when tranform_caps returns
28979         a fixed caps, like for identity or volume.
28980
28981         * check/gst/gstbus.c (pound_bus_with_messages): 
28982         * check/gst/gstmessage.c (START_TEST): 
28983         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28984         message API change.
28985
28986         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28987         logic weaks here: always run transform_caps, trying passthrough
28988         operation only if the original caps intersects with the transform.
28989
28990         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28991         source and sink caps.
28992
28993         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28994         Intersect the peer caps with the pad template before going into
28995         transform_caps.
28996         (gst_base_transform_transform_caps): More debugging.
28997
28998         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28999         src argument.
29000
29001 2005-07-04  Edward Hervey  <edward@fluendo.com>
29002
29003         * gst/gstutils.c:
29004         * gst/gstutils.h:
29005         (gst_pad_add_*_probe): now returns the signal id for better wrapping
29006         in bindings.
29007
29008 2005-07-04  Andy Wingo  <wingo@pobox.com>
29009
29010         * check/gst/gstpad.c: Only set explicit caps on pads.
29011
29012 2005-07-01  Andy Wingo  <wingo@pobox.com>
29013
29014         * tests/network-clock.scm: Commentary update.
29015
29016         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
29017         Didn't really make sense, not implementable with basetransform,
29018         etc.
29019         (gst_identity_transform): Unref inbuf via make_writable. Feeble
29020         attempt at implementing the sync property, needs an unlock method.
29021
29022         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
29023         New func, by default returns the same caps (the identity
29024         transformation).
29025         (gst_base_transform_getcaps): Uses transform_caps to return
29026         something sensible.
29027         (gst_base_transform_setcaps): Complicated logic to get caps on
29028         both pads, even if they are different, and to call set_caps once
29029         for every time both pads get their caps set.
29030         (gst_base_transform_handle_buffer): Give the ref to the transform
29031         function. Allows in-place modification of the buffer.
29032
29033         * gst/base/gstbasetransform.h (transform_caps): New class method.
29034         Given caps on one side, what can I do on the other.
29035         (set_caps): Take two caps, one for each side of the element.
29036
29037         * gst/gstpad.h:
29038         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
29039         caps in place. This is safe because we can check the mutability of
29040         the caps, and a good idea because fixate functions are just called
29041         as a matter of last resort. (Not actually implemented.)
29042         (gst_pad_set_caps): If the caps we're setting is actually the same
29043         as the existing pad caps, just update the pointer without calling
29044         setcaps. Assert that caps is either NULL or fixed, as per the
29045         docs.
29046
29047         * gst/gstghostpad.c: Update for fixate changes.
29048
29049 2005-07-02  Andy Wingo  <wingo@pobox.com>
29050
29051         * gst/gstcaps.c:
29052         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
29053         two refcounts makes it immutable, which is enough. Doc more.
29054
29055 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
29056
29057         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
29058           Put the mini_object into GValue as a mini_object,
29059           not a gpointer, since that's how we declared
29060           the signal.
29061
29062 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29063
29064         * examples/pwg/Makefile.am:
29065           Fix buildbot again.
29066
29067 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29068
29069         * docs/pwg/building-testapp.xml:
29070           Add extra check.
29071         * examples/pwg/Makefile.am:
29072           Fix buildbot.
29073
29074 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29075
29076         * configure.ac:
29077         * examples/Makefile.am:
29078         * examples/pwg/Makefile.am:
29079         * examples/pwg/extract.pl:
29080           Enable building the PWG examples.
29081         * docs/pwg/advanced-interfaces.xml:
29082           Add URI interface stub.
29083         * docs/pwg/advanced-types.xml:
29084         * docs/pwg/other-autoplugger.xml:
29085         * docs/pwg/appendix-porting.xml:
29086         * docs/pwg/pwg.xml:
29087           Add porting guide (mostly stubs), remove autoplugging (see ADM).
29088         * docs/pwg/building-boiler.xml:
29089         * docs/pwg/building-chainfn.xml:
29090         * docs/pwg/building-pads.xml:
29091         * docs/pwg/building-props.xml:
29092         * docs/pwg/building-state.xml:
29093         * docs/pwg/building-testapp.xml:
29094           Update the building-*.xml parts for 0.9 changes. All examples
29095           code blocks compile in examples/pwg/*.
29096
29097 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29098
29099         * docs/manual/advanced-autoplugging.xml:
29100         * docs/manual/appendix-checklist.xml:
29101         * docs/manual/appendix-integration.xml:
29102         * docs/manual/highlevel-components.xml:
29103           Fix playbin/decodebin examples, update docs a bit, mention bus
29104           instead of signals in various places, mention kmplayer and
29105           kaffeine since they have a working GStreamer backend in the KDE
29106           section.
29107
29108 2005-06-30  Wim Taymans  <wim@fluendo.com>
29109
29110         * CHANGES-0.9:
29111         * docs/design/draft-ghostpads.txt:
29112         * docs/design/draft-push-pull.txt:
29113         * docs/design/draft-query.txt:
29114         * docs/design/part-TODO.txt:
29115         * docs/design/part-query.txt:
29116         Added CHANGES-0.9 doc, updated status of other docs.
29117         
29118         * gst/gstquery.h:
29119         Remove "hmm" macro
29120
29121 2005-06-30  Wim Taymans  <wim@fluendo.com>
29122
29123         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
29124         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
29125         (gst_base_sink_change_state):
29126         * gst/base/gstbasesink.h:
29127         Some tweaks, only EOS and a buffer complete a preroll.
29128
29129 2005-06-30  Andy Wingo  <wingo@pobox.com>
29130
29131         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
29132         activate_push down to the internal pad as well.
29133
29134 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
29135
29136         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29137
29138         * gst/gsttaginterface.c:
29139           Some documentation fixes (#307394 and #307397).
29140
29141 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
29142
29143         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29144
29145         * gst/gstvalue.c: (gst_value_intersect_list):
29146           Fix memleak (#309125).
29147
29148 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29149
29150         * docs/manual/advanced-dataaccess.xml:
29151           Fix fakesrc example to compile; doesn't work, bug somewhere...?
29152         * docs/manual/basics-pads.xml:
29153           Add reference for filtered caps to above chapter.
29154
29155 2005-06-30  Wim Taymans  <wim@fluendo.com>
29156
29157         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
29158         (gst_bin_change_state):
29159         Probes are gone.
29160         Lame attempt at making the state change function a bit
29161         more readable.
29162
29163 2005-06-30  Wim Taymans  <wim@fluendo.com>
29164
29165         * docs/design/part-clocks.txt:
29166         * docs/design/part-element-sink.txt:
29167         * docs/design/part-events.txt:
29168         * docs/design/part-preroll.txt:
29169         * docs/design/part-states.txt:
29170         Some more tweeks and additions to the docs.
29171
29172 2005-06-30  Wim Taymans  <wim@fluendo.com>
29173
29174         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29175         (default_have_data), (gst_pad_class_init), (gst_pad_init),
29176         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29177         (gst_pad_check_pull_range), (gst_pad_get_range),
29178         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
29179         * gst/gstpad.h:
29180         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
29181         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29182         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29183         (gst_pad_remove_buffer_probe):
29184         Removed atomic operations, use existing LOCK.
29185         Move exception handling out of main code path.
29186
29187 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29188
29189         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29190         (silly_return_true_function), (gst_pad_class_init),
29191         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29192         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29193         (gst_pad_send_event):
29194           Fix accumulator, add default value by using _emitv() instead
29195           of _emit() for signal emission.
29196
29197 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29198
29199         * docs/manual/advanced-dataaccess.xml:
29200         * examples/manual/Makefile.am:
29201           Add probe example.
29202         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29203           Make work (??).
29204
29205 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
29206
29207         * gst/elements/gstfilesink.c: (gst_filesink_render):
29208           Simplify code so that we don't have to handle short
29209           writes and return GST_FLOW_ERROR if an error occured.
29210
29211 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29212
29213         * docs/gst/gstreamer-docs.sgml:
29214           Remove probes more.
29215
29216 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29217
29218         * docs/gst/gstreamer-sections.txt:
29219         * docs/gst/tmpl/gstpad.sgml:
29220         * docs/gst/tmpl/gstprobe.sgml:
29221         * gst/Makefile.am:
29222         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29223         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29224         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29225         (gst_pad_push_event), (gst_pad_send_event):
29226         * gst/gstpad.h:
29227         * gst/gstutils.c: (gst_pad_add_data_probe),
29228         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29229         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29230         (gst_pad_remove_buffer_probe):
29231         * gst/gstutils.h:
29232           Remove old probes, add new g-signal-based probes and some utility
29233           functions.
29234
29235 2005-06-29  Edward Hervey  <edward@fluendo.com>
29236
29237         * gst/gstelementfactory.c:
29238         * gst/gstutils.h:
29239         * gst/gstutils.c:
29240         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29241         the definition to the header file.
29242
29243 2005-06-29  Andy Wingo  <wingo@pobox.com>
29244
29245         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29246         plugins from the source directory.
29247
29248 2005-06-29  Wim Taymans  <wim@fluendo.com>
29249
29250         * docs/gst/tmpl/gstbuffer.sgml:
29251         * docs/gst/tmpl/gstclock.sgml:
29252         Some fixings for blantently wrong text.
29253
29254 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29255
29256         * check/Makefile.am:
29257         * gst/gst.c: (add_path_func), (init_pre):
29258         * gst/gstregistry.c: (gst_registry_add_path):
29259           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29260           only scan the GST_PLUGIN_PATH locations, and not add
29261           system locations
29262
29263 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29264
29265         * docs/gst/gstreamer-sections.txt:
29266         * docs/gst/tmpl/gstbasesrc.sgml:
29267         * gst/gstelement.c:
29268         * gst/gstelement.h:
29269         * gst/gstevent.c:
29270         * gst/gstutils.c:
29271           doc fixes
29272
29273 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29274
29275         * docs/manual/advanced-autoplugging.xml:
29276           Fix autoplugging example.
29277
29278 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29279
29280         * docs/manual/advanced-autoplugging.xml:
29281         * docs/manual/mime-world.fig:
29282           Try to get autoplugging working, fix type detection. Fix text
29283           in hello-world image.
29284
29285 2005-06-29  Wim Taymans  <wim@fluendo.com>
29286
29287         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29288         (gst_base_sink_change_state):
29289         Small debug line.
29290
29291         * gst/gstclock.h:
29292         map SIGNAL and BROADCAST to the right function.
29293
29294         * gst/gstobject.h:
29295         Remove redundant braces.
29296
29297         * gst/gstpad.c: (gst_pad_set_caps):
29298         Don't call setcaps function when reseting caps to NULL.
29299
29300         * gst/gstsystemclock.c: (gst_system_clock_dispose),
29301         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29302         (gst_system_clock_id_unschedule):
29303         Use BROADCAST as this is what we do.
29304
29305 2005-06-29  Wim Taymans  <wim@fluendo.com>
29306
29307         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29308         We are actually prerolling before commiting the state
29309         change. 
29310
29311 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29312
29313         * docs/manual/advanced-clocks.xml:
29314         * docs/manual/advanced-interfaces.xml:
29315         * docs/manual/advanced-metadata.xml:
29316         * docs/manual/advanced-position.xml:
29317         * docs/manual/advanced-schedulers.xml:
29318         * docs/manual/advanced-threads.xml:
29319         * docs/manual/appendix-porting.xml:
29320         * docs/manual/basics-bins.xml:
29321         * docs/manual/basics-bus.xml:
29322         * docs/manual/basics-elements.xml:
29323         * docs/manual/basics-helloworld.xml:
29324         * docs/manual/basics-pads.xml:
29325         * docs/manual/highlevel-components.xml:
29326         * docs/manual/manual.xml:
29327         * docs/manual/thread.fig:
29328           Update (until threads/scheduling) Application Development Manual;
29329           remove GstThread, add GstBus, add simple porting checklist, add
29330           documentation for tag writing, clocks, make all examples until this
29331           part compile and run.
29332         * examples/manual/Makefile.am:
29333           Update from changes to Application Development Manual; add bus
29334           example, remove thread example.
29335
29336 2005-06-28  Wim Taymans  <wim@fluendo.com>
29337
29338         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29339         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29340         (gst_bus_source_dispatch):
29341         Add debugging messages.
29342         Make internal methods static.
29343         Handle the case where the bus is flushed in the handler.
29344         
29345         * gst/gstelement.c: (gst_element_get_bus):
29346         Fix refcount in _get_bus();
29347
29348         * gst/gstpipeline.c: (gst_pipeline_change_state),
29349         (gst_pipeline_get_clock_func):
29350         Clock refcounting fixes.
29351         Handle the case where preroll timed out more gracefully.
29352         
29353         * gst/gstsystemclock.c: (gst_system_clock_dispose):
29354         Clean up the internal thread in dispose. This is needed
29355         for subclasses that actually get disposed.
29356         
29357         * gst/schedulers/threadscheduler.c:
29358         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29359         (gst_thread_scheduler_dispose):
29360         Free thread pool in dispose.
29361
29362 2005-06-28  Andy Wingo  <wingo@pobox.com>
29363
29364         * tests/network-clock-utils.scm (debug, print-event): New utils.
29365
29366         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29367         (*packet-loss*): Unified loss probability.
29368         (network-time): Report out-of-band events.
29369
29370         * tests/plot-data: Add support for out-of-band events. Hack it
29371         into this script instead of passing it down the pipe; should fix
29372         this later.
29373
29374 2005-06-28  Wim Taymans  <wim@fluendo.com>
29375
29376         * docs/gst/gstreamer.types:
29377         * docs/gst/tmpl/gstbasesrc.sgml:
29378         * docs/gst/tmpl/gstpad.sgml:
29379         Docs fixes.
29380
29381 2005-06-28  Wim Taymans  <wim@fluendo.com>
29382
29383         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29384         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29385         (gst_proxy_pad_do_fixatecaps):
29386         Correctly proxy the check_pull_range function.
29387
29388 2005-06-28  Andy Wingo  <wingo@pobox.com>
29389
29390         * tests/network-clock.scm: Removed need for slib.
29391         
29392 2005-06-28  Wim Taymans  <wim@fluendo.com>
29393
29394         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29395         (gst_basesink_preroll_queue_flush):
29396         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29397         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29398         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29399         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29400         (gst_proxy_pad_set_property):
29401         * gst/gstpad.c:
29402         * gst/gstpad.h:
29403         * gst/gstqueue.c: (gst_queue_init):
29404         The deprecated pad loop function is removed now.
29405
29406 2005-06-28  Andy Wingo  <wingo@pobox.com>
29407
29408         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29409         New parameters, simulate network packet loss.
29410
29411         * tests/network-clock-utils.scm: Initialize the RNG.
29412
29413 2005-06-28  Wim Taymans  <wim@fluendo.com>
29414
29415         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29416         (gst_basesink_event), (gst_basesink_deactivate):
29417         Flushing the preroll queue always needs to unlock the waiters.
29418
29419 2005-06-28  Edward Hervey  <edward@fluendo.com>
29420
29421         * gst/gstpipeline.c: (gst_pipeline_send_event): 
29422         Wheen a seek was successful on a pipeline, set the stream_time to the
29423         seek offset in order to have a synchronized stream_time.
29424
29425 2005-06-28  Wim Taymans  <wim@fluendo.com>
29426
29427         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29428         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29429         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29430         (gst_proxy_pad_do_fixatecaps):
29431         Call wrapper function instead of just calling the function
29432         pointers. This takes care of any locking and whatmore.
29433
29434 2005-06-28  Wim Taymans  <wim@fluendo.com>
29435
29436         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29437         (gst_pad_pull_range):
29438         * gst/gstpad.h:
29439         CONNECTED -> LINKED.
29440
29441 2005-06-28  Andy Wingo  <wingo@pobox.com>
29442
29443         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29444         source-munging commit!!!
29445
29446         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29447         (gst_object_sink): Take gpointer arguments, not GstObject --
29448         avoids casts. Like GLib.
29449
29450         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29451         activate.
29452
29453 2005-06-27  Andy Wingo  <wingo@pobox.com>
29454
29455         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29456         remaining buffer.
29457
29458         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29459         returns a sorted copy of the trace list.
29460         (gst_alloc_trace_print_live): New API, only prints traces with
29461         live objects. Sort the list.
29462         (gst_alloc_trace_print_all): Sort the list.
29463         (gst_alloc_trace_print): Align columns.
29464
29465         * gst/elements/gstttypefindelement.c:
29466         * gst/elements/gsttee.c:
29467         * gst/base/gstbasesrc.c:
29468         * gst/base/gstbasesink.c:
29469         * gst/base/gstbasetransform.c:
29470         * gst/gstqueue.c: Adapt for pad activation changes.
29471
29472         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29473         sched.
29474         (gst_pipeline_dispose): Drop ref on sched.
29475
29476         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29477         (gst_pad_activate_default): Push mode by default.
29478         (pre_activate_switch, post_activate_switch): New stubs, things to
29479         do before and after switching activation modes on pads.
29480         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29481         the pad's activate function to choose which mode to activate.
29482         Shortcut on deactivation and call the right function directly.
29483         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29484         mode.
29485         (gst_pad_activate_push): New API, same for push mode.
29486         (gst_pad_set_activate_function) 
29487         (gst_pad_set_activatepull_function) 
29488         (gst_pad_set_activatepush_function): Setters for new API.
29489
29490         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29491         Trace all miniobjects.
29492         (gst_mini_object_make_writable): Unref the arg if we copy, like
29493         gst_caps_make_writable.
29494
29495         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29496
29497         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29498         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29499         Adapt for new pad API.
29500
29501         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29502
29503         * gst/gstelement.h:
29504         * gst/gstelement.c (gst_element_iterate_src_pads) 
29505         (gst_element_iterate_sink_pads): New API functions.
29506         
29507         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29508         should fold into gstiterator.c in some form.
29509         (gst_element_pads_activate): Simplified via use of fold and
29510         delegation of decisions to gstpad->activate.
29511
29512         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29513         help in debugging.
29514
29515         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29516         class once in init, like gstmessage. Didn't run into this issue
29517         but it seems correct. Don't initialize a trace, gstminiobject does
29518         that.
29519
29520         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29521         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29522         to the bus.
29523         (assert_live_count): New util function, uses alloc traces to check
29524         cleanup.
29525
29526         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29527         To be modified when unlink drops the internal pad.
29528
29529 2005-06-27  Wim Taymans  <wim@fluendo.com>
29530
29531         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29532         (gst_bin_change_state):
29533         Cleanup the get_state() function a little, make sure it
29534         iterates the same set of elements.
29535         Added stub iterate_state_order().
29536
29537 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29538
29539         * docs/gst/gstreamer-docs.sgml:
29540         * docs/gst/gstreamer-sections.txt:
29541         * docs/gst/gstreamer.types:
29542         * docs/gst/tmpl/gstbasesink.sgml:
29543         * docs/gst/tmpl/gstbasesrc.sgml:
29544         * docs/gst/tmpl/gstbasetransform.sgml:
29545         * docs/gst/tmpl/gstelement.sgml:
29546         * docs/gst/tmpl/gstiterator.sgml:
29547         * gst/base/gstbasesrc.c:
29548         * gst/base/gstbasesrc.h:
29549         * gst/base/gstbasetransform.h:
29550         * gst/gstelement.c:
29551         * gst/gstiterator.h:
29552           adding basetransform and iterator docs
29553
29554 2005-06-27  Andy Wingo  <wingo@pobox.com>
29555
29556         * docs/design/part-activation.txt: Notes on how activation should
29557         work -- not quite implemented yet.
29558
29559 2005-06-25  Wim Taymans  <wim@fluendo.com>
29560
29561         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29562         At least get the chain function correct, needs more
29563         fixing.
29564
29565 2005-06-25  Wim Taymans  <wim@fluendo.com>
29566
29567         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29568         (gst_basesink_handle_object), (gst_basesink_event),
29569         (gst_basesink_do_sync), (gst_basesink_handle_event),
29570         (gst_basesink_change_state):
29571         * gst/gsttask.h:
29572         Right, two problems here: ghostpads don't take locks and
29573         glib _rec_mutex_lock_full() with depth==0 still locks.
29574         Catch illegal locking and g_warn them.
29575
29576 2005-06-25  Wim Taymans  <wim@fluendo.com>
29577
29578         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29579         Have to check for completion now...
29580
29581 2005-06-25  Wim Taymans  <wim@fluendo.com>
29582
29583         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29584         (gst_basesink_handle_object), (gst_basesink_event),
29585         (gst_basesink_do_sync), (gst_basesink_handle_event),
29586         (gst_basesink_change_state):
29587         * gst/gstpad.h:
29588         Unlock STREAM_LOCK whatever the recursion was.
29589
29590 2005-06-25  Wim Taymans  <wim@fluendo.com>
29591
29592         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29593         (gst_basesink_preroll_queue_empty),
29594         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29595         (gst_basesink_event), (gst_basesink_do_sync),
29596         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29597         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29598         (gst_basesink_change_state):
29599         Reworked the base sink, handle event and buffer serialisation
29600         correctly and removed possible deadlock.
29601         Handle EOS correctly.
29602
29603 2005-06-25  Wim Taymans  <wim@fluendo.com>
29604
29605         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29606         (gst_pipeline_change_state):
29607         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29608         Allow elements to post EOS in the state change function.
29609         Fix up -launch, make it exit the poll loop when the
29610         pipeline actually changed state.
29611         Fix up warning parsing in -launch.
29612
29613 2005-06-25  Wim Taymans  <wim@fluendo.com>
29614
29615         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29616         (gst_tee_sink_activate):
29617         Core takes STREAM_LOCK for us now.
29618
29619 2005-06-25  Wim Taymans  <wim@fluendo.com>
29620
29621         * gst/gstelement.c: (gst_element_get_state_func),
29622         (gst_element_set_state):
29623         * gst/gstelement.h:
29624         * gst/gstmessage.c: (gst_message_parse_error),
29625         (gst_message_parse_warning):
29626         Keep track of current target state while performing a state
29627         change so that subclasses can do something interesting.
29628         Fix parsing of warning/error messages when GError is NULL.
29629
29630 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29631
29632         * docs/gst/Makefile.am:
29633         * docs/gst/gstreamer-docs.sgml:
29634         * docs/gst/gstreamer-sections.txt:
29635         * docs/gst/gstreamer.types:
29636         * docs/gst/tmpl/gstbasesink.sgml:
29637         * docs/gst/tmpl/gstbasesrc.sgml:
29638         * docs/gst/tmpl/gstbin.sgml:
29639         * docs/gst/tmpl/gstcompat.sgml:
29640         * docs/gst/tmpl/gstfakesink.sgml:
29641         * docs/gst/tmpl/gstfakesrc.sgml:
29642         * docs/gst/tmpl/gstfilesink.sgml:
29643         * docs/gst/tmpl/gstfilesrc.sgml:
29644         * docs/gst/tmpl/gstindex.sgml:
29645         * docs/manual/appendix-quotes.xml:
29646         * gst/base/gstbasesrc.h:
29647         * gst/elements/gstfakesrc.h:
29648         * gst/gstmessage.h:
29649           start pulling in base classes and elements in our docs
29650
29651 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29652
29653         * docs/gst/Makefile.am:
29654         * docs/libs/Makefile.am:
29655           fixed make distcheck with gtk-doc 1.3
29656
29657 2005-06-23  Wim Taymans  <wim@fluendo.com>
29658
29659         * gst/gstelement.c: (gst_element_get_state_func),
29660         (gst_element_set_state), (gst_element_change_state):
29661         When the state did not change, also report NO_PREROLL
29662         when it matters.
29663
29664 2005-06-23  Wim Taymans  <wim@fluendo.com>
29665
29666         * gst/gstpad.c: (gst_pad_event_default):
29667         * gst/gstqueue.c: (gst_queue_loop):
29668         No unsafe task pausing please.
29669
29670 2005-06-23  Wim Taymans  <wim@fluendo.com>
29671
29672         * gst/schedulers/threadscheduler.c:
29673         (gst_thread_scheduler_task_start),
29674         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29675         Ref the task before pushing it on the threadpool. This
29676         makes sure that we have a ref when the threadfunction is
29677         actually called.
29678
29679 2005-06-23  Andy Wingo  <wingo@pobox.com>
29680
29681         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29682         offset is greater than the file's size.
29683
29684         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29685         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29686         * gst/gstobject.c (gst_object_class_init): Make the class lock
29687         recursive. Wim won't let me drop deep_notify. Decodebin works
29688         again, whoopdy doo.
29689
29690         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29691         internal pad, and hacks accordingly. Doesn't do it on the target
29692         pad because we change its caps. Probably catches all cases of
29693         interest tho.
29694         (gst_ghost_pad_set_property): Connect to notify::caps as
29695         appropritate.
29696
29697         * tests/network-clock.scm (plot-simulation): Pipe data to the
29698         elite python skript.
29699
29700         * tests/network-clock-utils.scm (define-parameter): New macro,
29701         defines a parameter that can be set via the command line.
29702         (set-parameter!, parse-parameter-arguments): Command line args
29703         parser.
29704
29705         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29706         stdin.
29707
29708 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29709
29710         * gst/elements/gsttypefindelement.c:
29711         (gst_type_find_element_handle_event):
29712           Don't restart typefinding on a discont.
29713         * gst/gstelement.c: (gst_element_set_state):
29714           Debug spelling fix.
29715         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29716           Allow changing mode of an active pad.
29717           Debug output fixes.
29718         * gst/registries/gstlibxmlregistry.c: (load_feature):
29719           Don't cast a static pad template to a normal pad template.
29720
29721 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29722
29723         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29724         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29725           remove gst_strtoll completely, since it didn't actually do
29726           anything more than what g_ascii_strtoull already does.
29727           check for range errors when deserializing
29728           do a cast for the unsigned cases; but further fixing needs
29729           a decision on what the interpretation of "(int)" and
29730           deserialization should be for values that fall outside the
29731           type's boundaries (ie, refuse, or interpret as casting)
29732
29733 2005-06-23  Wim Taymans  <wim@fluendo.com>
29734
29735         * check/Makefile.am:
29736         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29737         * docs/design/part-live-source.txt:
29738         * docs/design/part-states.txt:
29739         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29740         (gst_basesrc_set_live), (gst_basesrc_is_live),
29741         (gst_basesrc_get_range), (gst_basesrc_activate),
29742         (gst_basesrc_change_state):
29743         * gst/base/gstbasesrc.h:
29744         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29745         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29746         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29747         * gst/gstelement.c: (gst_element_get_state_func),
29748         (gst_element_set_state):
29749         * gst/gstelement.h:
29750         * gst/gsttypes.h:
29751         * tools/gst-launch.c: (event_loop), (main):
29752         Added support for live sources and other elements that
29753         cannot do preroll.
29754         Updated design docs, added live-source design doc.
29755         Implemented live source functionality in basesrc
29756         Fix error condition in _bin_get_state()
29757         Implement live source handling in -launch.
29758         Added check for live sources.
29759         Fixed case in GstBin where elements were changed state
29760         multiple times.
29761
29762
29763 2005-06-23  Andy Wingo  <wingo@pobox.com>
29764
29765         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29766         borken refcounting.
29767
29768         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29769         gst_caps_replace takes care of this for us.
29770
29771         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29772         gst_pad_set_caps on the target, not just its setcaps() function.
29773
29774         * tests/network-clock.scm: 
29775         * tests/network-clock-utils.scm: A network clock simulator.
29776         Something of an algorithmic testbed before doing something in C.
29777
29778 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29779
29780         * check/Makefile.am:
29781         * check/gst/capslist.h:
29782           copy over from 0.8, and add two with bitmasks specified with
29783           (int) 0xFF...
29784         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29785           add test to parse everything from capslist.h
29786         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29787         (main):
29788           add test for structure deserialization
29789         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29790           add tests for deserialization of strings to int types
29791         * gst/gststructure.c: (gst_structure_nth_field_name):
29792         * gst/gststructure.h:
29793           add a way to get the name of a field referenced by index
29794         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29795           instead of checking if the resulting long long lies between
29796           min and max, we check if the long long would fit into
29797           a number of bytes for the final type.
29798           This fixes cases where a string represents 2^32 - 1, which
29799           when cast to int would be the (valid) -1, but is bigger than
29800           G_MAXINT
29801
29802 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29803
29804         * gst/parse/grammar.y:
29805           add a log line for type deserialization
29806
29807 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29808
29809         * check/gst/gstvalue.c: (START_TEST):
29810         * gst/gstvalue.c: (gst_value_deserialize):
29811           return long long, not int, so gint64 deserialization actually
29812           works.  Is there any flag that makes the compiler check this ?
29813           Fixes #308559
29814
29815 2005-06-22  Wim Taymans  <wim@fluendo.com>
29816
29817         * gst/gstbuffer.h:
29818         Added convenience macros for setting buffers in GValue.
29819
29820 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29821
29822         * check/gst/.cvsignore:
29823         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29824           add a test deserializing int64, and comment part out because
29825           it fails, yay !
29826
29827 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29828
29829         * check/Makefile.am:
29830         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29831         * testsuite/Makefile.am:
29832         * testsuite/caps/Makefile.am:
29833         * testsuite/caps/value_serialize.c:
29834         * testsuite/test_gst_init.c:
29835           move a value_serialize test over
29836
29837 2005-06-20  Wim Taymans  <wim@fluendo.com>
29838
29839         * gst/gstpad.c:
29840         Small doc updates.
29841         
29842         * gst/gstvalue.c: (gst_value_compare_buffer),
29843         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29844         (gst_value_compare_flags), (gst_value_serialize_flags),
29845         (gst_value_deserialize_flags), (_gst_value_initialize):
29846         Fix serialisation of buffers, they are not boxed types anymore
29847
29848 2005-06-20  Wim Taymans  <wim@fluendo.com>
29849
29850         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29851         Testcase to show error in buffer-on-caps serialisation.
29852
29853 2005-06-20  Andy Wingo  <wingo@pobox.com>
29854
29855         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29856         will be adding to later.
29857
29858         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29859         if its socks fill with rocks.
29860         (gst_system_clock_obtain): Set the name on object construction.
29861         Avoid double-checked locking.
29862
29863 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29864
29865         * gst/gsturi.c: (gst_element_make_from_uri):
29866           Fix potential endless loop.
29867
29868 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29869
29870         * check/Makefile.am:
29871           add gsttag
29872         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29873         (main):
29874           move over from testsuite dir and clean up
29875         * configure.ac:
29876         * gst/gsttag.c:
29877         * testsuite/Makefile.am:
29878         * testsuite/tags/.cvsignore:
29879         * testsuite/tags/Makefile.am:
29880         * testsuite/tags/merge.c:
29881           remove testsuite/tags
29882
29883 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29884
29885         * docs/gst/gstreamer-sections.txt:
29886         * docs/gst/tmpl/gstenumtypes.sgml:
29887         * win32/gstenumtypes.c:
29888           clean up documentation build a little
29889
29890 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29891
29892         * check/gstcheck.h:
29893           add macros for checking refcounts on objects and caps
29894         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29895           add some more unit tests
29896         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29897         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29898           fix leaked refcounts (I hope :)) so unittest works
29899         * gst/gstpad.h:
29900           whitespace removal
29901
29902 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29903
29904         * configure.ac: back to HEAD
29905
29906 === release 0.9.1 ===
29907
29908 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29909
29910         * NEWS:
29911         * RELEASE:
29912           updated
29913
29914 2005-06-17  Andy Wingo  <wingo@pobox.com>
29915
29916         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29917         assert; it's always possible that the pad gets deactivated in
29918         between the checks in gstpad.c and the implementation. Rely on
29919         finish_preroll() to return a FLUSHING or similar instead of on the
29920         assert.
29921         
29922         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29923         clock and post an EOS message if we come out of finish_preroll in
29924         the playing state.
29925
29926 2005-06-16  David Schleef  <ds@schleef.org>
29927
29928         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29929         (gst_capsfilter_set_property): Allow NULL as possible value
29930         for filter_caps property, indicating GST_CAPS_ANY.
29931
29932 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29933
29934         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29935           fix debug output
29936         * gst/schedulers/Makefile.am:
29937           use libgst prefix
29938         * gstreamer.spec.in:
29939           fix spec for it
29940
29941 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29942
29943         * gstreamer.spec.in:
29944           clean up
29945
29946 2005-06-08  Andy Wingo  <wingo@pobox.com>
29947
29948         * gst/gstutils.c: RPAD fixes all around.
29949         (gst_element_link_pads): Refcounting fixes.
29950
29951         * tools/gst-inspect.c:
29952         * tools/gst-xmlinspect.c:
29953         * parse/grammar.y:
29954         * gst/base/gsttypefindhelper.c:
29955         * gst/base/gstbasesink.c:
29956         * gst/gstqueue.c: RPAD fixes.
29957
29958         * gst/gstghostpad.h:
29959         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29960         pads. The tricky thing is they provide both source and sink
29961         interfaces, since they proxy the internal pad for the external
29962         pad, and vice versa. Implement with lower-level ProxyPad objects,
29963         with the interior proxy pad as a child of the exterior ghost pad.
29964         Should write a doc on this.
29965         
29966         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29967         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29968         gst_object API.
29969         
29970         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29971         pads are real pads. No ghost pads in this file. Not documenting
29972         the myriad s/RPAD/PAD/ and REALIZE fixes.
29973         (gst_pad_class_init): Add properties for "direction" and
29974         "template". Both are construct-only, so they can't change during
29975         the life of the pad. Fixes properly deriving from GstPad.
29976         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29977         derived objects, just set properties when creating the objects via
29978         g_object_new.
29979         (gst_pad_get_parent): Implement as a function, return NULL if the
29980         parent is not an element.
29981         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29982         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29983         
29984         * gst/gstobject.c (gst_object_class_init): Make name a construct
29985         property. Don't set it in the object init.
29986
29987         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29988         with UNKNOWN direction.
29989         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29990         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29991         (gst_element_remove_pad): Remove ghost-pad special cases.
29992         (gst_element_pads_activate): Remove rpad cruft.
29993
29994         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29995         catch the pad's-parent-not-an-element case.
29996
29997         * gst/gst.h: Include gstghostpad.h.
29998
29999         * gst/gst.c (init_post): No more real, ghost pads.
30000
30001         * gst/Makefile.am: Add gstghostpad.[ch].
30002
30003         * check/Makefile.am:
30004         * check/gst/gstbin.c:
30005         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
30006         into a bin creates ghost pads, and that the refcounts are right.
30007         Partly moved from gstbin.c.
30008
30009 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
30010
30011         * check/gst-libs/.cvsignore:
30012         * check/gst/.cvsignore:
30013         * check/pipelines/.cvsignore:
30014           ignore more
30015         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
30016         (START_TEST), (cleanup_suite), (main):
30017           add some tests related to cleanup after running pipelines
30018
30019 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
30020
30021         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
30022           add a testsuite for GstBuffer
30023
30024 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
30025
30026         * gst/gstminiobject.h:
30027           add defines for accessing the refcount
30028
30029 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
30030
30031         * Makefile.am: added support for html unit test coverage reports
30032
30033 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
30034
30035         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
30036           Free existing caps if the capsfilter changes. Add a FIXME about
30037           setting those caps on the pads.
30038
30039         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
30040           Before adding a ghost pad to a parent bin, check that there isn't
30041           already one for the element on the bin. Prevents infinite recursion
30042           when using decodebin in parse pipelines. Andy says he'll rewrite the
30043           way this works anyway, so ignore the hack.
30044
30045 2005-06-02  Andy Wingo  <wingo@pobox.com>
30046
30047         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
30048         file size, pass it on to the type find helper.
30049
30050         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
30051         segment_start and segment_end properly according to the seek
30052         method. Segment_end is still a bit flaky because offset can be
30053         negative for CUR and END cases, but it takes -1 as an "unset"
30054         value.
30055
30056 2005-06-02  Wim Taymans  <wim@fluendo.com>
30057
30058         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
30059         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
30060         (gst_basesink_activate):
30061         * gst/base/gstbasesink.h:
30062         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30063         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30064         (gst_pad_query), (gst_pad_start_task):
30065         * gst/gstpad.h:
30066         * gst/gstqueue.c: (gst_queue_bufferalloc),
30067         (gst_queue_handle_sink_event), (gst_queue_chain):
30068         Bufferalloc: return GstFlowReturn to more accuratly report
30069         why allocation failed.
30070
30071 2005-06-02  Wim Taymans  <wim@fluendo.com>
30072
30073         * gst/gstpipeline.c: (gst_pipeline_send_event):
30074         Take snapshot of state without blocking.
30075
30076 2005-06-02  Wim Taymans  <wim@fluendo.com>
30077
30078         * docs/design/part-TODO.txt:
30079         * docs/design/part-caps.txt:
30080         * docs/design/part-clocks.txt:
30081         * docs/design/part-negotiation.txt:
30082         * docs/design/part-preroll.txt:
30083         Small doc updates 
30084
30085 2005-05-30  Wim Taymans  <wim@fluendo.com>
30086
30087         * gst/elements/gstidentity.c: (gst_identity_event),
30088         (gst_identity_transform), (gst_identity_get_property):
30089         Protect last_message property as it is accessed from
30090         multiple threads.
30091
30092 2005-05-30  Wim Taymans  <wim@fluendo.com>
30093
30094         * gst/gstelement.c: (gst_element_init),
30095         (gst_element_pads_activate), (gst_element_change_state):
30096         Slicker pad activation code.
30097
30098 2005-05-30  Wim Taymans  <wim@fluendo.com>
30099
30100         * gst/Makefile.am:
30101         * gst/gstelement.h:
30102         * gst/gstelementfactory.h:
30103         * gst/gsttypes.h:
30104         Move elementfactory methods to separate .h file.
30105
30106 2005-05-30  Wim Taymans  <wim@fluendo.com>
30107
30108         * docs/design/part-overview.txt:
30109         * gst/gstsystemclock.h:
30110         Small typo fixes, doc updates.
30111
30112 2005-05-30  Wim Taymans  <wim@fluendo.com>
30113
30114         * gst/gst.c: (gst_init_get_popt_table), (init_post),
30115         (init_popt_callback):
30116         Remove cpu-opt flag.
30117
30118 2005-05-30  Wim Taymans  <wim@fluendo.com>
30119
30120         * gst/gstbuffer.c: (gst_subbuffer_finalize),
30121         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
30122         * gst/gstbuffer.h:
30123         Avoid typechecking in places where not needed.
30124         Added accessor for malloc_data.
30125
30126 2005-05-30  Wim Taymans  <wim@fluendo.com>
30127
30128         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
30129         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
30130         (gst_pad_configure_sink), (gst_pad_configure_src),
30131         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
30132         (gst_pad_start_task):
30133         Propagate errors from _set_caps() in configure_src/sink
30134         functions instead of returning TRUE.
30135         FLUSH events can travel up and downstream
30136
30137
30138 2005-05-30  Wim Taymans  <wim@fluendo.com>
30139
30140         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30141         (gst_basesink_activate):
30142         Handle EOS in preroll.
30143
30144 2005-05-30  Wim Taymans  <wim@fluendo.com>
30145
30146         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30147         (gst_queue_loop), (gst_queue_handle_src_event):
30148         Remove old pieces of code
30149         Flushing the queue in an upstream event is a very bad idea.
30150
30151 2005-05-26  Andy Wingo  <wingo@pobox.com>
30152
30153         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
30154         gst_value_set_mini_object so as to add a ref on the object (which
30155         will be removed when the value is unset).
30156
30157         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
30158         arg type in ::handoff.
30159
30160         * gst/gstelement.c (gst_element_change_state): Also deactivate
30161         pads in READY->NULL, just in case the element didn't make it to
30162         PAUSED. Wingo tested, Wim approved.
30163
30164 2005-05-26  Wim Taymans  <wim@fluendo.com>
30165
30166         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30167         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30168         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
30169         A flushing pad cannot be used to alloc_buffer from.
30170
30171 2005-05-26  Wim Taymans  <wim@fluendo.com>
30172
30173         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
30174         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
30175         (gst_bus_source_dispatch), (gst_bus_source_finalize),
30176         (gst_bus_create_watch), (gst_bus_add_watch_full):
30177         * gst/gstbus.h:
30178         Implement a real GSource and use g_main_context_wakeup() to
30179         signal new messages instead of the socketpair.
30180
30181 2005-05-25  Wim Taymans  <wim@fluendo.com>
30182
30183         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
30184         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
30185         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30186         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30187         (gst_pad_send_event), (gst_pad_start_task):
30188         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30189         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30190         (gst_queue_sink_activate), (gst_queue_src_activate),
30191         (gst_queue_change_state):
30192         * gst/gstqueue.h:
30193         Fix state changes for non sinks. We now change sinks, then elements
30194         with unconnected srcpads, then the rest.
30195         More efficient queue unlocking in flush and state changes.
30196         Set the pad activate mode even if it does not have an activate
30197         function.
30198
30199 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30200
30201         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30202           Don't go in pull mode for non-seekable sources.
30203         * gst/elements/gsttypefindelement.h:
30204         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30205         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30206         (free_entry), (stop_typefinding),
30207         (gst_type_find_element_handle_event), (find_peek),
30208         (gst_type_find_element_chain), (do_pull_typefind),
30209         (gst_type_find_element_change_state):
30210           Allow typefinding (w/o seeking) in push-mode, simplified version
30211           of what was in 0.8.
30212         * gst/gstutils.c: (gst_buffer_join):
30213         * gst/gstutils.h:
30214           gst_buffer_join() from 0.8.
30215
30216 2005-05-25  Wim Taymans  <wim@fluendo.com>
30217
30218         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30219         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30220         (gst_pad_send_event), (gst_pad_start_task):
30221         Disable attempt at mode switching until it is figured out.
30222
30223 2005-05-25  Wim Taymans  <wim@fluendo.com>
30224
30225         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30226         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30227         (gst_basesink_finish_preroll), (gst_basesink_chain),
30228         (gst_basesink_loop), (gst_basesink_activate),
30229         (gst_basesink_change_state):
30230         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30231         (gst_basesrc_get_range), (gst_basesrc_loop),
30232         (gst_basesrc_activate):
30233         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30234         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30235         (gst_real_pad_init), (gst_real_pad_set_property),
30236         (gst_real_pad_get_property), (gst_pad_set_active),
30237         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30238         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30239         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30240         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30241         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30242         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30243         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30244         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30245         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30246         (gst_pad_stop_task):
30247         * gst/gstpad.h:
30248         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30249         (gst_queue_loop), (gst_queue_src_activate):
30250         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30251         (gst_task_get_state):
30252         * gst/gsttask.h:
30253         * gst/schedulers/threadscheduler.c:
30254         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30255         Implement gst_pad_pause/start/stop_task(), take STREAM lock
30256         in task function.
30257         Remove ACTIVE pad flag, use FLUSHING everywhere
30258         Added _pad_chain(), _pad_get_range() to call chain/getrange 
30259         functions.
30260         Add locks around IS_FLUSHING when reading.
30261         Take STREAM lock in chain(), get_range() functions so plugins
30262         don't need to take it anymore.
30263         
30264
30265
30266 2005-05-25  Wim Taymans  <wim@fluendo.com>
30267
30268         * tools/gst-launch.c: (event_loop):
30269         Unref message after using its contents instead of
30270         before.
30271
30272 2005-05-24  Wim Taymans  <wim@fluendo.com>
30273
30274         * docs/design/draft-ghostpads.txt:
30275         * docs/design/draft-push-pull.txt:
30276         * docs/design/draft-query.txt:
30277         * docs/design/part-overview.txt:
30278         Docs updates, added general overview doc.
30279
30280 2005-05-21  David Schleef  <ds@schleef.org>
30281
30282         * docs/gst/tmpl/old/GstBin.sgml:
30283         * docs/gst/tmpl/old/GstBuffer.sgml:
30284         * docs/gst/tmpl/old/GstCaps.sgml:
30285         * docs/gst/tmpl/old/GstClock.sgml:
30286         * docs/gst/tmpl/old/GstCompat.sgml:
30287         * docs/gst/tmpl/old/GstData.sgml:
30288         * docs/gst/tmpl/old/GstElement.sgml:
30289         * docs/gst/tmpl/old/GstEvent.sgml:
30290         * docs/gst/tmpl/old/GstIndex.sgml:
30291         * docs/gst/tmpl/old/GstStructure.sgml:
30292         * docs/gst/tmpl/old/GstTag.sgml:
30293         * docs/gst/tmpl/old/cothreads.sgml:
30294         * docs/gst/tmpl/old/cothreads_compat.sgml:
30295         * docs/gst/tmpl/old/gettext.sgml:
30296         * docs/gst/tmpl/old/gobject2gtk.sgml:
30297         * docs/gst/tmpl/old/grammar.tab.sgml:
30298         * docs/gst/tmpl/old/gst-i18n-app.sgml:
30299         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30300         * docs/gst/tmpl/old/gst_private.sgml:
30301         * docs/gst/tmpl/old/gstaggregator.sgml:
30302         * docs/gst/tmpl/old/gstarch.sgml:
30303         * docs/gst/tmpl/old/gstatomic_impl.sgml:
30304         * docs/gst/tmpl/old/gstbufferstore.sgml:
30305         * docs/gst/tmpl/old/gstdata_private.sgml:
30306         * docs/gst/tmpl/old/gstdisksink.sgml:
30307         * docs/gst/tmpl/old/gstdisksrc.sgml:
30308         * docs/gst/tmpl/old/gstelementfactory.sgml:
30309         * docs/gst/tmpl/old/gstextratypes.sgml:
30310         * docs/gst/tmpl/old/gstfakesink.sgml:
30311         * docs/gst/tmpl/old/gstfakesrc.sgml:
30312         * docs/gst/tmpl/old/gstfdsink.sgml:
30313         * docs/gst/tmpl/old/gstfdsrc.sgml:
30314         * docs/gst/tmpl/old/gstfilesink.sgml:
30315         * docs/gst/tmpl/old/gstfilesrc.sgml:
30316         * docs/gst/tmpl/old/gsthttpsrc.sgml:
30317         * docs/gst/tmpl/old/gstidentity.sgml:
30318         * docs/gst/tmpl/old/gstindexfactory.sgml:
30319         * docs/gst/tmpl/old/gstmarshal.sgml:
30320         * docs/gst/tmpl/old/gstmd5sink.sgml:
30321         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30322         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30323         * docs/gst/tmpl/old/gstpadtemplate.sgml:
30324         * docs/gst/tmpl/old/gstpipefilter.sgml:
30325         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30326         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30327         * docs/gst/tmpl/old/gstshaper.sgml:
30328         * docs/gst/tmpl/old/gstspider.sgml:
30329         * docs/gst/tmpl/old/gstspideridentity.sgml:
30330         * docs/gst/tmpl/old/gststatistics.sgml:
30331         * docs/gst/tmpl/old/gsttee.sgml:
30332         * docs/gst/tmpl/old/gsttimecache.sgml:
30333         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30334         * docs/gst/tmpl/old/gstxmlregistry.sgml:
30335         * docs/gst/tmpl/old/gthread-cothreads.sgml:
30336         * docs/gst/tmpl/old/types.sgml:
30337           I didn't intend to add these or check them in.
30338
30339 2005-05-19  David Schleef  <ds@schleef.org>
30340
30341         * configure.ac: Use -no-common everywhere.  In a sane world, it
30342           would be the default in libtool, because without it, you can't
30343           build DLLs on Windows.
30344         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30345         * docs/gst/gstreamer-sections.txt:
30346         * docs/gst/tmpl/gstcpu.sgml:
30347         * docs/gst/tmpl/gstdata.sgml:
30348         * docs/gst/tmpl/gstthread.sgml:
30349
30350 2005-05-19  David Schleef  <ds@schleef.org>
30351
30352         * gst/gstminiobject.c: (gst_value_set_mini_object),
30353         (gst_value_take_mini_object), (gst_value_get_mini_object):
30354         * gst/gstminiobject.h: Add GValue set/get functions.
30355
30356 2005-05-19  Wim Taymans  <wim@fluendo.com>
30357
30358         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30359         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30360         (gst_subbuffer_init), (gst_buffer_is_span_fast):
30361         * gst/gstbuffer.h:
30362         * gst/gstbus.c: (gst_bus_post):
30363         * gst/gstelement.c: (gst_element_get_random_pad):
30364         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30365         Make subbufer unref the parent in finalize.
30366         some more debugging info.
30367
30368
30369 2005-05-19  Wim Taymans  <wim@fluendo.com>
30370
30371         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30372         (gst_basesink_init), (gst_basesink_finalize),
30373         (gst_basesink_activate), (gst_basesink_change_state):
30374         Don't free preroll queue too early.
30375
30376 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30377
30378         * gst/Makefile.am:
30379         * gst/ROADMAP:
30380           Hi, I'm outdated. Please shoot me.
30381
30382 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30383
30384         * gst/gstpipeline.c: (gst_pipeline_send_event):
30385           Do not access variables after they have been deleted.
30386
30387 2005-05-19  Wim Taymans  <wim@fluendo.com>
30388
30389         * tools/gst-inspect.c: (print_plugin_features):
30390         A plugin feature does unfortunatly not use the
30391         object name yet...
30392
30393 2005-05-18  Wim Taymans  <wim@fluendo.com>
30394
30395         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30396         Port _span() functions to new subbuffers.
30397
30398 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30399
30400         * gst/gstbin.c: (gst_bin_add_func):
30401           Fix clock settery in bins when adding kids after the clock has
30402           been selected.
30403
30404 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30405
30406         * gst/elements/gstidentity.c: (gst_identity_class_init):
30407           Workaround until signals support GstMiniObject.
30408
30409 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
30410
30411         * gst/gstbuffer.c:
30412         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30413
30414 2005-05-18  Wim Taymans  <wim@fluendo.com>
30415
30416         * gst/base/Makefile.am:
30417         * gst/base/gstadapter.c: (gst_adapter_base_init),
30418         (gst_adapter_class_init), (gst_adapter_init),
30419         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30420         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30421         (gst_adapter_flush), (gst_adapter_available),
30422         (gst_adapter_available_fast):
30423         * gst/base/gstadapter.h:
30424         Ported and added adapter to the base classes.
30425
30426 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30427
30428         * gst/gst.c:
30429         * gst/gstmessage.c:
30430           Make sure the class is reffed/unreffed once before threads can be
30431           used.  Fixes #304551.
30432
30433 2005-05-17  Wim Taymans  <wim@fluendo.com>
30434
30435         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30436         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30437         * gst/gstminiobject.c: (gst_mini_object_get_type),
30438         (gst_mini_object_free):
30439         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30440         (gst_pad_push), (gst_pad_push_event):
30441         * gst/gstqueue.c: (gst_queue_change_state):
30442         Don't queue buffers in basesink when we are flushing.
30443         Unref buffer when flushing in basesink.
30444         Flush queue when going to READY
30445         Unref buffer when _push() returns an error.
30446         Don't free MiniObject instance when refcount is incremented
30447         in _finalize() so that we can recover objects.
30448
30449 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30450
30451         * docs/manual/advanced-schedulers.xml:
30452         * docs/manual/appendix-checklist.xml:
30453         * docs/pwg/advanced-clock.xml:
30454         * docs/pwg/advanced-interfaces.xml:
30455         * docs/pwg/advanced-request.xml:
30456         * docs/pwg/advanced-types.xml:
30457         * docs/pwg/intro-preface.xml:
30458         * examples/plugins/example.c: (gst_example_get_type),
30459         (gst_example_class_init), (gst_example_chain),
30460         (gst_example_set_property), (gst_example_get_property),
30461         (gst_example_change_state), (plugin_init):
30462         * examples/plugins/example.h:
30463           small doc fixes
30464
30465 2005-05-17  Wim Taymans  <wim@fluendo.com>
30466
30467         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30468         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30469         * gst/gstqueue.c: (gst_queue_change_state):
30470         Clear queue when going to READY.
30471         Remove IN_SETCAPS flag too.
30472
30473 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30474
30475         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30476           Remove implicit cast from gboolean to GstElementStateReturn;
30477           make sure we still return failure in paused => ready case if
30478           the parent class fails to change state and our own stop 
30479           vfunc succeeds.
30480
30481 2005-05-17  Wim Taymans  <wim@fluendo.com>
30482
30483         * tools/gst-launch.c: (event_loop):
30484         Message was unreffed too soon.
30485
30486 2005-05-16  Andy Wingo  <wingo@pobox.com>
30487
30488         * gst/gstbin.c (sink_iterator_filter): Err... um...
30489
30490         * check/gst/gstbin.c (test_ghost_pads): New test for the
30491         ghosting-if-elements-not-in-same-bin behavior.
30492
30493 2005-05-16  David Schleef  <ds@schleef.org>
30494
30495         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30496         accessing refcount directly.
30497
30498 2005-05-15  David Schleef  <ds@schleef.org>
30499
30500         * check/Makefile.am: remove GstData checks
30501         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30502         * gst/Makefile.am: add miniobject, remove data
30503         * gst/gst.h: add miniobject, remove data
30504         * gst/gstdata.c: remove
30505         * gst/gstdata.h: remove
30506         * gst/gstdata_private.h: remove
30507         * gst/gsttypes.h: remove GstEvent and GstMessage
30508         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30509         * gst/gstmarshal.list: change BOXED -> OBJECT
30510
30511         Implement GstMiniObject.
30512         * gst/gstminiobject.c:
30513         * gst/gstminiobject.h:
30514
30515         Modify to be subclasses of GstMiniObject.
30516         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30517         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30518         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30519         (gst_subbuffer_get_type), (gst_subbuffer_init),
30520         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30521         (gst_buffer_span):
30522         * gst/gstbuffer.h:
30523         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30524         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30525         (_gst_event_copy), (gst_event_new):
30526         * gst/gstevent.h:
30527         * gst/gstmessage.c: (_gst_message_initialize),
30528         (gst_message_get_type), (gst_message_class_init),
30529         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30530         (gst_message_new), (gst_message_new_error),
30531         (gst_message_new_warning), (gst_message_new_tag),
30532         (gst_message_new_state_changed), (gst_message_new_application):
30533         * gst/gstmessage.h:
30534         * gst/gstprobe.c: (gst_probe_perform),
30535         (gst_probe_dispatcher_dispatch):
30536         * gst/gstprobe.h:
30537         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30538         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30539         (_gst_query_copy), (gst_query_new):
30540
30541         Update elements for GstData -> GstMiniObject changes
30542         * gst/gstquery.h:
30543         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30544         (gst_queue_chain), (gst_queue_loop):
30545         * gst/elements/gstbufferstore.c:
30546         (gst_buffer_store_add_buffer_func),
30547         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30548         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30549         (gst_fakesink_render):
30550         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30551         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30552         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30553         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30554         (gst_filesrc_create_read):
30555         * gst/elements/gstidentity.c: (gst_identity_class_init):
30556         * gst/elements/gsttypefindelement.c:
30557         (gst_type_find_element_src_event), (free_entry_buffers),
30558         (gst_type_find_element_handle_event):
30559         * libs/gst/dataprotocol/dataprotocol.c:
30560         (gst_dp_header_from_buffer):
30561         * libs/gst/dataprotocol/dataprotocol.h:
30562         * libs/gst/dataprotocol/dp-private.h:
30563
30564 2005-05-15  David Schleef  <ds@schleef.org>
30565
30566         * gst/elements/gstelements.c: Don't include headers that were
30567         just removed.
30568
30569 2005-05-15  David Schleef  <ds@schleef.org>
30570
30571         * gst/elements/Makefile.am: Remove some elements that don't
30572         need to be in the core (or even exist at all).
30573         * gst/elements/gstaggregator.c:
30574         * gst/elements/gstaggregator.h:
30575         * gst/elements/gstmd5sink.c:
30576         * gst/elements/gstmd5sink.h:
30577         * gst/elements/gstmultifilesrc.c:
30578         * gst/elements/gstmultifilesrc.h:
30579         * gst/elements/gstpipefilter.c:
30580         * gst/elements/gstpipefilter.h:
30581         * gst/elements/gstshaper.c:
30582         * gst/elements/gstshaper.h:
30583         * gst/elements/gststatistics.c:
30584         * gst/elements/gststatistics.h:
30585         * po/POTFILES.in: Remove above files.
30586
30587 2005-05-14  Andy Wingo  <wingo@pobox.com>
30588
30589         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30590         so as to get the refs right.
30591         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30592         unreffing objects that don't pass the filter.
30593
30594         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30595         gst_element_set_bus.
30596         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30597         normal cases, this will destroy the bus.
30598
30599         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30600         object.
30601
30602         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30603         has no sinks.
30604
30605 2005-05-13  Andy Wingo  <wingo@pobox.com>
30606
30607         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30608         gst_pad_link, call pad_link_maybe_ghosting,
30609         (pad_link_maybe_ghosting): Links pads, making sure that the
30610         elements being linked are in the same bin.
30611         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30612         Helpers for pad_link_maybe_ghosting.
30613
30614 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30615
30616         * configure.ac:
30617           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30618
30619 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30620
30621         * docs/design/part-element-source.txt:
30622           Mention GstPushSrc
30623
30624 2005-05-12  Wim Taymans  <wim@fluendo.com>
30625
30626         * gst/base/gstbasesink.c: (gst_basesink_init),
30627         (gst_basesink_activate):
30628         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30629         (gst_basesrc_is_seekable):
30630         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30631         (bin_element_is_sink), (gst_bin_change_state):
30632         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30633         * gst/gstelement.h:
30634         Identify sinks by their flag to avoid overly complicated
30635         checks (fow now).
30636         Do state changes even for elements not reachable from the
30637         sinks.
30638         BaseSink is a sink now :)
30639         Some more debugging info in the basesrc.
30640
30641
30642 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30643
30644         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30645           Implement _query on a bin, similar to _send_event.
30646
30647 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30648
30649         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30650           Discont event offset format should be GST_FORMAT_BYTES,
30651           not GST_FORMAT_TIME.
30652
30653 2005-05-12  Wim Taymans  <wim@fluendo.com>
30654
30655         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30656         Same fix as Ronald's but without the signal. 
30657
30658 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30659
30660         * gst/gstutils.c: (gst_element_query_position):
30661           No, an element is not a pad.
30662
30663 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30664
30665         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30666         (gst_bin_get_state):
30667           If a child is removed from a bin while we remove the child from
30668           the bin and while we're retrieving its state, signal this to the
30669           get_state function so we abort the wait (instead of waiting for
30670           a timeout) and can immediately re-iterate over all other elements.
30671
30672 2005-05-12  Wim Taymans  <wim@fluendo.com>
30673
30674         * gst/base/Makefile.am:
30675         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30676         (gst_basesrc_start):
30677         * gst/base/gstbasesrc.h:
30678         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30679         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30680         (gst_pushsrc_init), (gst_pushsrc_create):
30681         * gst/base/gstpushsrc.h:
30682         Added is_seekable to BaseSrc
30683         Added simple PushSrc.
30684
30685 2005-05-11  Wim Taymans  <wim@fluendo.com>
30686
30687         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30688         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30689         (gst_element_link_pads), (gst_element_query_position),
30690         (gst_element_query_convert), (intersect_caps_func),
30691         (gst_pad_query_position), (gst_pad_query_convert):
30692         Fix refcounting in utils function.
30693         No point in trying to activate a pad when it's added, it could
30694         be added from the state change function and then we deadlock, the
30695         element has to decide what to do.
30696
30697 2005-05-10  Andy Wingo  <wingo@pobox.com>
30698
30699         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30700         *all* the arguments.
30701
30702         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30703         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30704         lock (according to the docs -- if this is wrong change the docs).
30705
30706         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30707         flush messages in the NULL state.
30708
30709         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30710         message immediately and return.
30711         (gst_bus_set_flushing): New function. If a bus is flushing, it
30712         flushes out any queued messages and immediately unrefs new
30713         messages. This is so when an element goes to NULL, all of the
30714         unhandled messages coming from it can be freed, and their
30715         references to the element dropped. In other words: message source
30716         ref considered harmful :P
30717
30718         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30719         we're finished with it.
30720
30721         * gst/gstmessage.c (gst_message_new_state_changed): 
30722
30723 2005-05-10  Wim Taymans  <wim@fluendo.com>
30724
30725         * gst/gstvalue.c: (gst_value_compare_flags),
30726         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30727         (_gst_value_initialize):
30728         Added flags serialize/deserialize/compare code.
30729
30730 2005-05-09  Andy Wingo  <wingo@pobox.com>
30731
30732         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30733         Intersect the peer's caps with our caps.
30734
30735 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30736
30737         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30738         * gst/elements/gsttypefindelement.c: (find_peek):
30739           Handle negative offsets better. Fixes decodebin.
30740
30741 2005-05-09  Wim Taymans  <wim@fluendo.com>
30742
30743         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30744         (gst_base_transform_event):
30745         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30746         Implement accept_caps.
30747         Fix silly lock/unlock mismatch in base class.
30748
30749 2005-05-09  Wim Taymans  <wim@fluendo.com>
30750
30751         * docs/design/draft-push-pull.txt:
30752         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30753         * gst/elements/gstfilesink.c: (gst_filesink_init),
30754         (gst_filesink_query):
30755         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30756         (gst_type_find_handle_src_query), (find_element_get_length):
30757         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30758         * gst/gstelement.h:
30759         * gst/gstmessage.c:
30760         * gst/gstmessage.h:
30761         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30762         (gst_real_pad_get_caps_unlocked),
30763         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30764         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30765         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30766         (gst_real_pad_dispose), (gst_real_pad_finalize),
30767         (gst_pad_load_and_link), (gst_pad_save_thyself),
30768         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30769         (gst_pad_check_pull_range), (gst_pad_pull_range),
30770         (gst_pad_template_get_type), (gst_pad_template_class_init),
30771         (gst_pad_template_init), (gst_pad_template_dispose),
30772         (name_is_valid), (gst_static_pad_template_get),
30773         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30774         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30775         (gst_pad_get_element_private), (gst_pad_start_task),
30776         (gst_pad_pause_task), (gst_pad_stop_task),
30777         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30778         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30779         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30780         (gst_ghost_pad_new):
30781         * gst/gstpad.h:
30782         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30783         (gst_query_new_position), (gst_query_set_position),
30784         (gst_query_parse_position), (gst_query_new_convert),
30785         (gst_query_set_convert), (gst_query_parse_convert):
30786         * gst/gstquery.h:
30787         * gst/gstqueryutils.c:
30788         * gst/gstqueryutils.h:
30789         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30790         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30791         (gst_queue_handle_src_query):
30792         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30793         (gst_element_query_position), (gst_element_query_convert),
30794         (intersect_caps_func), (gst_pad_query_position),
30795         (gst_pad_query_convert):
30796         * gst/gstutils.h:
30797         * tools/gst-inspect.c: (print_pad_info):
30798         * tools/gst-xmlinspect.c: (print_element_info):
30799         Remove old query functions. Ported old code.
30800         Added position/convert helper functions to gstutils.
30801         Reordered gstpad.c code, grouping relevant things.
30802         Remove gst_message_new(), always need to speficy a specific
30803         message.
30804
30805
30806 2005-05-09  Andy Wingo  <wingo@pobox.com>
30807
30808         * gst/gstiterator.h: Add some includes.
30809
30810         * gst/gstqueryutils.h: Include more headers.
30811
30812         * gst/gstpad.h:
30813         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30814         some uses of gst_pad_query.
30815
30816         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30817         NULL out parameters.
30818         (gst_query_new_position): New proc, allocates a new position
30819         query.
30820
30821         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30822         gstqueryutils.c to the build.
30823
30824         * gst/gststructure.c (gst_structure_set_valist): Implement with
30825         the generic G_VALUE_COLLECT.
30826         
30827 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30828
30829         * gst/Makefile.am: (gst_headers):
30830         Added gstqueryutils.h to the list of headers to install, that was
30831         a 'nachty' move wingo :)
30832
30833 2005-05-06  Andy Wingo  <wingo@pobox.com>
30834
30835         * gst/gstquery.h
30836         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30837         GstData, init a memchunk.
30838         (standard_definitions): Add a few query types, deprecate a few.
30839         (gst_query_get_type): New proc.
30840         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30841         implementation.
30842         (gst_query_new_application, gst_query_get_structure): New public
30843         procs.
30844
30845         * docs/design/draft-query.txt: Removed LINKS from the query types,
30846         because all the rest can be dispatched to other pads -- seemed
30847         ugly to have a query that couldn't be dispatched. internal_links
30848         is fine as a pad method.
30849
30850         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30851         in gstpad.c, but maintain binary compatibility for the moment.
30852         Will fix before 0.9 is out.
30853
30854         * gst/gstqueryutils.c: 
30855         * gst/gstqueryutils.h: New files, implement 3 methods for each
30856         query type: parse_query, parse_response, and set. Probably need an
30857         allocator as well.
30858
30859         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30860
30861         * gst/elements/gstfilesink.c (gst_filesink_query2):
30862         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30863         query_types, and formats methods.
30864
30865         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30866         (gst_pad_set_query2_function): New functions.
30867         (gst_real_pad_init): Set query2_default as the default query2
30868         function. Basically just dispatches to internally linked pads.
30869
30870         Needs review!
30871         
30872         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30873         without using the atomic operations. Only one thread can possibly
30874         be accessing the data at this point. Changed so as to avoid
30875         gst_atomic operations.
30876
30877 2005-05-06  Wim Taymans  <wim@fluendo.com>
30878
30879         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30880         Also set caps if we use the fallback buffer alloc.
30881
30882 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30883
30884         * docs/gst/Makefile.am:
30885         * docs/gst/gstreamer-docs.sgml:
30886         * docs/gst/gstreamer-sections.txt:
30887         * docs/gst/tmpl/gstatomic.sgml:
30888         * docs/gst/tmpl/gstmemchunk.sgml:
30889         * testsuite/elements/struct_i386.h:
30890         * win32/GStreamer.vcproj:
30891         * win32/Makefile:
30892           Purge GstAtomic stuff from docs and win32 makefiles as well
30893
30894 2005-05-06  Wim Taymans  <wim@fluendo.com>
30895
30896         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30897         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30898         * gst/gstpad.c: (gst_pad_peer_get_caps):
30899         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30900         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30901         (gst_queue_src_activate), (gst_queue_change_state):
30902         * gst/gstqueue.h:
30903         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30904         (intersect_caps_func):
30905         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30906         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30907         Some fixes for the peer_get_caps() change.
30908
30909 2005-05-06  Wim Taymans  <wim@fluendo.com>
30910
30911         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30912         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30913         (gst_basesink_activate):
30914         Actually do something with error codes returned from the push
30915         functions.
30916
30917 2005-05-06  Wim Taymans  <wim@fluendo.com>
30918
30919         * docs/design/part-element-sink.txt:
30920         * docs/design/part-element-source.txt:
30921         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30922         (gst_basesink_event), (gst_basesink_activate):
30923         * gst/base/gstbasesink.h:
30924         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30925         (gst_basesrc_activate):
30926         * gst/base/gstbasesrc.h:
30927         * gst/gstelement.c: (gst_element_pads_activate):
30928         Some more documentation.
30929         Fixed scheduling decision in _pads_activate().
30930
30931 2005-05-05  Andy Wingo  <wingo@pobox.com>
30932
30933         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30934         the test suite.
30935
30936 2005-05-05  Wim Taymans  <wim@fluendo.com>
30937
30938         * gst/base/Makefile.am:
30939         * gst/base/gstbasesink.h:
30940         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30941         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30942         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30943         (gst_collectpads_class_init), (gst_collectpads_init),
30944         (gst_collectpads_finalize), (gst_collectpads_new),
30945         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30946         (find_pad), (gst_collectpads_remove_pad),
30947         (gst_collectpads_is_active), (gst_collectpads_collect),
30948         (gst_collectpads_collect_range), (gst_collectpads_start),
30949         (gst_collectpads_stop), (gst_collectpads_peek),
30950         (gst_collectpads_pop), (gst_collectpads_available),
30951         (gst_collectpads_read), (gst_collectpads_flush),
30952         (gst_collectpads_chain):
30953         * gst/base/gstcollectpads.h:
30954         * gst/elements/Makefile.am:
30955         * gst/elements/gstelements.c:
30956         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30957         (gst_fakesink_get_times), (gst_fakesink_event),
30958         (gst_fakesink_preroll), (gst_fakesink_render):
30959         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30960         (gst_filesink_init), (gst_filesink_set_location),
30961         (gst_filesink_open_file), (gst_filesink_close_file),
30962         (gst_filesink_pad_query), (gst_filesink_event),
30963         (gst_filesink_render), (gst_filesink_change_state):
30964         * gst/elements/gstfilesink.h:
30965         Added object to help in making collect pad based elements.
30966         Ported filesink.
30967         Make event function in sink baseclass return gboolean.
30968
30969 2005-05-05  Wim Taymans  <wim@fluendo.com>
30970
30971         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30972         (gst_bin_get_by_name):
30973         * gst/gstbuffer.h:
30974         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30975         (gst_clock_finalize):
30976         * gst/gstdata.c: (gst_data_replace):
30977         * gst/gstdata.h:
30978         * gst/gstelement.c: (gst_element_request_pad),
30979         (gst_element_pads_activate):
30980         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30981         (gst_object_unref):
30982         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30983         (gst_pad_set_checkgetrange_function),
30984         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30985         (gst_pad_check_pull_range), (gst_pad_pull_range),
30986         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30987         (gst_pad_pause_task), (gst_pad_stop_task):
30988         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30989         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30990         Fix name lookup in GstBin.
30991         Added _data_replace() function and _buffer_replace()
30992         Use finalize method to clean up clock.
30993         Fix refcounting on request pads.
30994         Fix pad schedule mode error.
30995         Some more object refcounting debug info,
30996
30997
30998 2005-05-04  Andy Wingo <wingo@pobox.com>
30999
31000         * check/Makefile.am:
31001         * docs/gst/tmpl/gstatomic.sgml:
31002         * docs/gst/tmpl/gstplugin.sgml:
31003         * gst/base/gstbasesink.c: (gst_basesink_activate):
31004         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
31005         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
31006         (gst_basesrc_query), (gst_basesrc_set_property),
31007         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
31008         (gst_basesrc_activate):
31009         * gst/base/gstbasesrc.h:
31010         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
31011         (gst_base_transform_src_activate):
31012         * gst/elements/gstelements.c:
31013         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31014         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
31015         * gst/elements/gsttee.c: (gst_tee_sink_activate):
31016         * gst/elements/gsttypefindelement.c: (find_element_get_length),
31017         (gst_type_find_element_checkgetrange),
31018         (gst_type_find_element_activate):
31019         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
31020         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
31021         (gst_caps_load_thyself):
31022         * gst/gstelement.c: (gst_element_pads_activate),
31023         (gst_element_save_thyself), (gst_element_restore_thyself):
31024         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
31025         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
31026         * gst/gstpad.h:
31027         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
31028         (gst_xml_parse_file), (gst_xml_parse_memory),
31029         (gst_xml_get_element), (gst_xml_make_element):
31030         * gst/indexers/gstfileindex.c: (gst_file_index_load),
31031         (_file_index_id_save_xml), (gst_file_index_commit):
31032         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
31033         (read_enum), (load_pad_template), (load_feature), (load_plugin),
31034         (load_paths):
31035         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
31036         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
31037         * tools/gst-complete.c: (main):
31038         * tools/gst-compprep.c: (main):
31039         * tools/gst-inspect.c: (print_element_properties_info):
31040         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
31041         * tools/gst-xmlinspect.c: (print_element_properties):
31042         GCC 4 fixen.
31043         
31044 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
31045
31046         * gst/gstplugin.c: (gst_plugin_check_module),
31047         (gst_plugin_check_file), (gst_plugin_load_file):
31048             apply patch from #172526 to make register work on MacOSX
31049
31050 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
31051
31052         * docs/gst/tmpl/gstconfig.sgml:
31053         * gst/gstconfig.h.in:
31054           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
31055         * testsuite/debug/printf_extension.c: (main):
31056           Do not use GST_PTR_FORMAT on pointers to types with
31057           sizeof < sizeof(gpointer).  Fixes test on 64-bit
31058         * testsuite/elements/property.h:
31059           use correct printf format
31060
31061 2005-05-02  Wim Taymans  <wim@fluendo.com>
31062
31063         * docs/design/draft-push-pull.txt:
31064         * docs/design/draft-query.txt:
31065         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
31066         (gst_basesrc_start):
31067         Added draft for new query API.
31068         Added draft for better selecting scheduling methods.
31069         Make basesrc ignore length if the subclass does not support
31070         it.
31071
31072 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
31073
31074         * gst/Makefile.am:
31075           possible fixes for automake-1.5 - _LIBADD is reserved
31076
31077 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
31078
31079         * docs/faq/Makefile.am:
31080         * docs/manual/Makefile.am:
31081         * docs/manuals.mak:
31082         * docs/pwg/Makefile.am:
31083         * gst/Makefile.am:
31084           possible fixes for automake-1.5
31085
31086 2005-04-28  Wim Taymans  <wim@fluendo.com>
31087
31088         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31089         (gst_basesink_pad_getcaps), (gst_basesink_init),
31090         (gst_basesink_do_sync):
31091         * gst/gstclock.c: (gst_clock_entry_new):
31092         * gst/gstevent.c: (gst_event_discont_get_value):
31093         * gst/gstpipeline.c: (pipeline_bus_handler),
31094         (gst_pipeline_change_state):
31095         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
31096         Better debugging of clocking info.
31097         Allow NULL values when getting discont values.
31098
31099 2005-04-27  Wim Taymans  <wim@fluendo.com>
31100
31101         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31102         * check/gst/gstpad.c: (gst_pad_suite):
31103         Increase timeout for checks.
31104
31105 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
31106
31107         * check/Makefile.am:
31108           fix the broken rule for cleanup.  Apparently this rule is
31109           only needed on FC2, so maybe this warrants further autotool
31110           inspection.
31111
31112 2005-04-26  Wim Taymans  <wim@fluendo.com>
31113
31114         * gst/gsttrashstack.h:
31115         Ooohh. a nasty one! After having a failed pop() from the stack,
31116         it's possible that the stack is empty. In that case, don't
31117         follow the NULL pointer.
31118
31119 2005-04-25  Wim Taymans  <wim@fluendo.com>
31120
31121         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31122         (gst_pad_set_checkgetrange_function),
31123         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
31124         (gst_pad_check_pull_range), (gst_pad_pull_range),
31125         (gst_static_pad_template_get_caps), (gst_pad_start_task),
31126         (gst_pad_pause_task), (gst_pad_stop_task):
31127         * gst/gstplugin.c: (gst_plugin_load):
31128         * gst/gstplugin.h:
31129         Remove gst_library_load as it does more harm than good with
31130         the new g_module flags.
31131         Revert bogus caps template check in pad linking, pad caps
31132         are important when linking not the template, which is more
31133         general than the current caps.
31134
31135 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31136
31137         * gst/autoplug/.cvsignore:
31138         * gst/autoplug/Makefile.am:
31139         * gst/autoplug/gstsearchfuncs.c:
31140         * gst/autoplug/gstsearchfuncs.h:
31141         * gst/autoplug/gstspider.c:
31142         * gst/autoplug/gstspider.h:
31143         * gst/autoplug/gstspideridentity.c:
31144         * gst/autoplug/gstspideridentity.h:
31145         * gst/autoplug/spidertest.c:
31146           Die, spider, die.
31147
31148 2005-04-25  Wim Taymans  <wim@fluendo.com>
31149
31150         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31151         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31152         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
31153         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
31154         * gst/gstpad.h:
31155         Added stubs for unimplemented functions. 
31156
31157 2005-04-24  David Schleef  <ds@schleef.org>
31158
31159         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
31160         please fix.
31161
31162 2005-04-24  David Schleef  <ds@schleef.org>
31163
31164         Convert everything from GstAtomicInt to g_atomic_int_*, and
31165         remove gstatomic.
31166         * gst/Makefile.am:
31167         * gst/gstatomic.c:
31168         * gst/gstatomic.h:
31169         * gst/gstatomic_impl.h:
31170         * gst/gstbuffer.c:
31171         * gst/gstcaps.c:
31172         * gst/gstcaps.h:
31173         * gst/gstclock.c:
31174         * gst/gstclock.h:
31175         * gst/gstdata.c:
31176         * gst/gstdata.h:
31177         * gst/gstdata_private.h:
31178         * gst/gstevent.c:
31179         * gst/gstinfo.c:
31180         * gst/gstinfo.h:
31181         * gst/gstmessage.c:
31182         * gst/gstobject.c:
31183         * gst/gstobject.h:
31184         * gst/gststructure.c:
31185         * gst/gststructure.h:
31186         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31187         * gst/gstutils.h:
31188
31189 2005-04-24  David Schleef  <ds@schleef.org>
31190
31191         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31192         make the regressions tests work.  Remove some code that is no
31193         longer true.
31194         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31195         Disable warning for pads without templates.
31196
31197 2005-04-24  David Schleef  <ds@schleef.org>
31198
31199         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
31200         functions that handle filtered links.
31201         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31202         removed functions.
31203         * gst/gstutils.c: Fix/remove utility functions that handle
31204         filtered caps.
31205         * gst/gstutils.h:
31206         * gst/gstvalue.c: Add serialization/deserialization of caps
31207         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
31208         requires fixing so that the filter caps notation creates
31209         a capsfilter element and sets the filter_caps property.  I
31210         think everyone probably wants to keep the shorthand notation.
31211         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31212         * docs/gst/tmpl/gstpad.sgml:
31213
31214         * gst/elements/gstelements.c: Register capsfilter element.
31215         * gst/Makefile.am: fix spacing
31216         * docs/random/ds/0.9-suggested-changes: random
31217
31218 2005-04-23  David Schleef  <ds@schleef.org>
31219
31220         * gst/elements/Makefile.am:
31221         * gst/elements/gstcapsfilter.c: New element that acts like an
31222         identity, but filters caps.  Will eventually replace filtered
31223         caps in pad linking.
31224         * gst/gstutils.c: (gst_element_create_all_pads): New function
31225         to create all the ALWAYS pads that are registered with an
31226         element class.  This functionality should eventually be
31227         merged in with GstElement initialization.
31228         * gst/gstutils.h:
31229         * testsuite/trigger/README: part of trigger test code that should
31230         have been checked in a long time ago.
31231
31232 2005-04-23  David Schleef  <ds@schleef.org>
31233
31234         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
31235         needed with new versions of libtool (nobody will confirm this),
31236         and hard to carry around.
31237         * gst/autoplug/Makefile.am:
31238         * gst/base/Makefile.am:
31239         * gst/elements/Makefile.am:
31240         * gst/indexers/Makefile.am:
31241         * gst/schedulers/Makefile.am:
31242         * libs/gst/bytestream/Makefile.am:
31243         * libs/gst/control/Makefile.am:
31244         * libs/gst/dataprotocol/Makefile.am:
31245         * libs/gst/getbits/Makefile.am:
31246
31247 2005-04-21  Wim Taymans  <wim@fluendo.com>
31248
31249         * docs/design/draft-push-pull.txt:
31250         * docs/design/part-MT-refcounting.txt:
31251         * docs/design/part-TODO.txt:
31252         * docs/design/part-caps.txt:
31253         * docs/design/part-events.txt:
31254         * docs/design/part-gstbus.txt:
31255         * docs/design/part-gstpipeline.txt:
31256         * docs/design/part-messages.txt:
31257         * docs/design/part-push-pull.txt:
31258         * docs/design/part-query.txt:
31259         Some more docs.
31260
31261 2005-04-21  Wim Taymans  <wim@fluendo.com>
31262
31263         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31264         (gst_message_new), (gst_message_new_error),
31265         (gst_message_new_warning), (gst_message_new_tag),
31266         (gst_message_new_state_changed), (gst_message_new_application),
31267         (gst_message_get_structure):
31268         * gst/gstmessage.h:
31269         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31270         (gst_structure_copy_conditional):
31271         Use parent refcount in GstMessage to ensure GstStructure
31272         consistency.
31273         Cleaned up headers a bit.
31274         
31275
31276 2005-04-20  Wim Taymans  <wim@fluendo.com>
31277
31278         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31279         (gst_basesink_pad_getcaps), (gst_basesink_init),
31280         (gst_basesink_chain_unlocked):
31281         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31282         (gst_type_find_helper):
31283         * gst/elements/gsttypefindelement.c:
31284         (gst_type_find_element_have_type), (gst_type_find_element_init),
31285         (stop_typefinding), (gst_type_find_element_handle_event),
31286         (find_suggest), (gst_type_find_element_chain),
31287         (gst_type_find_element_checkgetrange),
31288         (gst_type_find_element_getrange), (do_typefind),
31289         (gst_type_find_element_activate):
31290         * gst/gstbuffer.c: (_gst_buffer_sub_free),
31291         (gst_buffer_default_free), (gst_buffer_default_copy),
31292         (gst_buffer_set_caps):
31293         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31294         (gst_caps_replace):
31295         * gst/gstmessage.c: (gst_message_new),
31296         (gst_message_new_state_changed):
31297         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31298         (gst_pad_set_checkgetrange_function),
31299         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31300         (gst_pad_set_caps), (gst_pad_check_pull_range),
31301         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31302         * gst/gstpad.h:
31303         * gst/gsttypefind.c: (gst_type_find_register):
31304         Make gst_caps_replace() work like other _replace() functions.
31305         Use _caps_replace() where possible.
31306         Make sure _message_new() initialises its field.
31307         Add gst_static_pad_template_get_caps()
31308
31309
31310 2005-04-18  Andy Wingo  <wingo@pobox.com>
31311
31312         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31313         on the peer, not the pad. I think that was a typo. Pass an extra
31314         arg to see if random access is possible. Activate the pads as
31315         PULL_RANGE if possible.
31316
31317         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31318
31319         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
31320         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31321         to PROP_....
31322
31323 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31324
31325         * docs/faq/using.xml:
31326           Add note on gstreamer-properties (#154996).
31327
31328 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31329
31330         * docs/random/bbb/optional-properties:
31331           Some analysis on optional properties.
31332
31333 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31334
31335         * docs/gst/tmpl/gstelementfactory.sgml:
31336         * gst/gstelement.h:
31337         * gst/gstelementfactory.c: (gst_element_factory_init),
31338         (gst_element_factory_cleanup), (gst_element_register),
31339         (__gst_element_factory_add_static_pad_template),
31340         (gst_element_factory_get_static_pad_templates),
31341         (gst_element_factory_can_src_caps),
31342         (gst_element_factory_can_sink_caps):
31343         * gst/registries/Makefile.am:
31344         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31345         (gst_xml_registry_class_init), (gst_xml_registry_init),
31346         (gst_xml_registry_new), (gst_xml_registry_set_property),
31347         (gst_xml_registry_get_property), (get_time), (make_dir),
31348         (gst_xml_registry_get_perms_func),
31349         (plugin_times_older_than_recurse), (plugin_times_older_than),
31350         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31351         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31352         (add_to_char_array), (read_string), (read_uint), (read_enum),
31353         (load_pad_template), (load_feature), (load_plugin), (load_paths),
31354         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31355         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31356         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31357         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31358         (gst_xml_registry_rebuild):
31359         * gst/registries/gstlibxmlregistry.h:
31360         * tools/gst-compprep.c: (main):
31361         * tools/gst-inspect.c: (print_pad_templates_info):
31362         * tools/gst-xmlinspect.c: (print_element_info):
31363           Use libxml2 for registry parsing, use staticpadtemplates in
31364           elementfactories. Makes gst_init() +/- 10x faster.
31365
31366 2005-04-12  Wim Taymans  <wim@fluendo.com>
31367
31368         * gst/base/Makefile.am:
31369         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31370         (gst_basesink_pad_getcaps), (gst_basesink_init),
31371         (gst_basesink_event), (gst_basesink_change_state):
31372         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31373         (gst_basesrc_init), (gst_basesrc_query),
31374         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31375         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31376         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31377         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31378         (gst_basesrc_stop), (gst_basesrc_activate),
31379         (gst_basesrc_change_state):
31380         * gst/base/gsttypefindhelper.c: (helper_find_peek),
31381         (helper_find_suggest), (gst_type_find_helper):
31382         * gst/base/gsttypefindhelper.h:
31383         * gst/elements/Makefile.am:
31384         * gst/elements/gstelements.c:
31385         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31386         (gst_fakesink_get_times), (gst_fakesink_event),
31387         (gst_fakesink_preroll), (gst_fakesink_render):
31388         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31389         (gst_fakesrc_init), (gst_fakesrc_event_handler),
31390         (gst_fakesrc_get_property), (gst_fakesrc_create),
31391         (gst_fakesrc_start), (gst_fakesrc_stop):
31392         * gst/elements/gstfakesrc.h:
31393         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31394         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31395         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31396         (gst_filesrc_create_read), (gst_filesrc_create),
31397         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31398         (gst_filesrc_start):
31399         * gst/elements/gsttypefindelement.c:
31400         (gst_type_find_element_have_type), (gst_type_find_element_init),
31401         (start_typefinding), (stop_typefinding), (push_buffer_store),
31402         (gst_type_find_element_handle_event),
31403         (gst_type_find_element_chain),
31404         (gst_type_find_element_checkgetrange),
31405         (gst_type_find_element_getrange), (do_typefind),
31406         (gst_type_find_element_activate),
31407         (gst_type_find_element_change_state):
31408         * gst/elements/gsttypefindelement.h:
31409         * gst/gstpipeline.c: (pipeline_bus_handler):
31410         Added typefind helper.
31411         Small preroll fix in the base sink.
31412         Disable typefind code in basesrc.
31413         Crude port of typefindelement.
31414         Fakesrc cleanups.
31415
31416
31417 2005-04-11  Wim Taymans  <wim@fluendo.com>
31418
31419         * check/gst/gstbus.c: (gstbus_suite):
31420         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31421         * check/gstcheck.h:
31422           Fix up the timeout so that the test does not fail.
31423
31424 2005-04-06  Wim Taymans  <wim@fluendo.com>
31425
31426         * gst/base/README:
31427         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31428         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31429         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31430         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31431         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31432         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31433         (gst_basesrc_stop), (gst_basesrc_activate),
31434         (gst_basesrc_change_state), (basesrc_find_peek),
31435         (basesrc_find_suggest), (gst_basesrc_type_find):
31436         * gst/base/gstbasesrc.h:
31437         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31438         (gst_filesrc_class_init), (gst_filesrc_init),
31439         (gst_filesrc_finalize), (gst_filesrc_set_location),
31440         (gst_filesrc_set_property), (gst_filesrc_get_property),
31441         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31442         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31443         (gst_filesrc_create_read), (gst_filesrc_create),
31444         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31445         * gst/elements/gstfilesrc.h:
31446         * gst/gstelement.c: (gst_element_get_state_func),
31447         (gst_element_lost_state), (gst_element_pads_activate):
31448         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31449         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31450         (gst_pad_pull_range):
31451         * gst/gstpad.h:
31452         More work on the generic source base class, implement seeking,
31453         query.
31454         Make filesrc extend the base source class.
31455         Added gst_pad_set_checkgetrange_function to GstPad.
31456
31457 2005-04-06  Andy Wingo  <wingo@pobox.com>
31458
31459         * pkgconfig/gstreamer-base.pc.in:
31460         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31461
31462         * pkgconfig/Makefile.am:
31463         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31464
31465 2005-04-04  Wim Taymans  <wim@fluendo.com>
31466
31467         * gst/base/Makefile.am:
31468         * gst/base/README:
31469         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31470         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31471         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31472         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31473         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31474         (gst_basesrc_base_init), (gst_basesrc_class_init),
31475         (gst_basesrc_init), (gst_basesrc_get_formats),
31476         (gst_basesrc_get_query_types), (gst_basesrc_query),
31477         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31478         (gst_basesrc_set_property), (gst_basesrc_get_property),
31479         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31480         (gst_basesrc_loop), (gst_basesrc_activate),
31481         (gst_basesrc_change_state):
31482         * gst/base/gstbasesrc.h:
31483         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31484         (gst_fakesrc_class_init), (gst_fakesrc_init),
31485         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31486         (gst_fakesrc_get_property), (gst_fakesrc_create):
31487         * gst/elements/gstfakesrc.h:
31488         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31489         (gst_filesrc_open_file), (gst_filesrc_loop),
31490         (gst_filesrc_activate), (filesrc_find_peek),
31491         (gst_filesrc_type_find):
31492         Made base source class, make fakesrc extend it.
31493         Add comments to basesink class.
31494         Some filesrc cleanup.
31495
31496 2005-03-31  David Schleef  <ds@schleef.org>
31497
31498         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31499         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31500         expected to link against libgstreamer.
31501         * gst/base/Makefile.am: link against libgstreamer
31502         * gst/elements/Makefile.am: same
31503
31504 2005-03-31  Andy Wingo  <wingo@pobox.com>
31505
31506         * tests/instantiate/Makefile.am:
31507         * tests/instantiate/caps.c: Add test to test speed of caps copy
31508         and free.
31509
31510         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31511         GMemChunk to be fair.
31512
31513         * gst/gsttrashstack.h: Remove warning about using the fallback
31514         trash stack implementation, it's still faster than malloc.
31515
31516 2005-03-30  Andy Wingo  <wingo@pobox.com>
31517
31518         * tests/complexity.c: Add a copyright.
31519
31520 2005-03-31  Wim Taymans  <wim@fluendo.com>
31521
31522         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31523         (gst_base_transform_class_init), (gst_base_transform_init),
31524         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31525         (gst_base_transform_get_property),
31526         (gst_base_transform_sink_activate),
31527         (gst_base_transform_src_activate),
31528         (gst_base_transform_change_state):
31529         * gst/base/gstbasetransform.h:
31530         * gst/elements/gstidentity.c: (gst_identity_class_init),
31531         (gst_identity_event), (gst_identity_check_perfect),
31532         (gst_identity_transform), (gst_identity_start),
31533         (gst_identity_stop):
31534         Added start/stop methods to transform base class so subclasses 
31535         don't need to deal with state changes even.
31536
31537 2005-03-31  Wim Taymans  <wim@fluendo.com>
31538
31539         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31540         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31541         * gst/gstevent.h:
31542         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31543         (gst_pad_pull_range):
31544         Added rate to the discont event to prepare for variable speed
31545         and reverse playback.
31546
31547 2005-03-29  David Schleef  <ds@schleef.org>
31548
31549         * configure.ac:
31550         * testsuite/trigger/Makefile.am:
31551         * testsuite/trigger/trigger.c: A little example program to show
31552         how trigger-based elements can work.
31553
31554 2005-03-29  Wim Taymans  <wim@fluendo.com>
31555
31556         * gst/base/Makefile.am:
31557         * gst/base/README:
31558         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31559         (gst_basesink_base_init), (gst_basesink_class_init),
31560         (gst_basesink_pad_getcaps), (gst_basesink_init),
31561         (gst_basesink_activate), (gst_basesink_change_state):
31562         * gst/base/gstbasesink.h:
31563         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31564         (gst_base_transform_base_init), (gst_base_transform_finalize),
31565         (gst_base_transform_class_init), (gst_base_transform_init),
31566         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31567         (gst_base_transform_event), (gst_base_transform_getrange),
31568         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31569         (gst_base_transform_set_property),
31570         (gst_base_transform_get_property),
31571         (gst_base_transform_sink_activate),
31572         (gst_base_transform_src_activate),
31573         (gst_base_transform_change_state):
31574         * gst/base/gstbasetransform.h:
31575         * gst/elements/gstidentity.c: (gst_identity_finalize),
31576         (gst_identity_class_init), (gst_identity_init),
31577         (gst_identity_event), (gst_identity_check_perfect),
31578         (gst_identity_transform), (gst_identity_set_property),
31579         (gst_identity_get_property), (gst_identity_change_state):
31580         * gst/elements/gstidentity.h:
31581         * gst/gstelement.c: (gst_element_get_state_func),
31582         (gst_element_lost_state), (gst_element_pads_activate):
31583         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31584         (gst_pad_check_pull_range), (gst_pad_pull_range):
31585         * gst/gstpad.h:
31586         Simplify pad activation.
31587         Added function to check if pull_range can be performed.
31588         Error out when pulling inactive or flushing pads.
31589         Removed const from refcounted types as it does not make sense.
31590         Simplify pad templates in basesink
31591         Added base class for simple 1-to-1 transforms.
31592         Make identity subclass the base transform.
31593
31594 2005-03-29  Andy Wingo  <wingo@pobox.com>
31595
31596         * docs/libs/gstreamer-libs-overrides.txt: 
31597         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31598         really don't understand what's going on, but like whatever. I want
31599         green buildbot!
31600
31601         * docs/gst/Makefile.am:
31602         * docs/libs/Makefile.am: Dist the overrides files.
31603
31604         * check/Makefile.am (clean-local): Remove .libs directories.
31605
31606         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31607         elements to EXTRA_DIST, so po/ files are happy.
31608
31609         * po/POTFILES.in: Er, remove it here.
31610
31611         * po/POTFILES: Remove gstspider.c.
31612
31613         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31614
31615         * docs/libs/gstreamer-libs-docs.sgml: 
31616         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31617         bytestream.
31618
31619         * tests/complexity.c (main): Set the length of the preroll queue
31620         on the sinks to prevent a lockup.
31621
31622         * libs/gst/dataprotocol/Makefile.am: 
31623         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31624         the same as the one in check/gst-libs/gdp.c.
31625
31626         * po/, docs/gst/: Commit automatic changes to docs and po files.
31627
31628         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31629         the versioned libgstbase.
31630
31631         * check/Makefile.am: Depend on an unversioned gst-register, seems
31632         to make autoconf happier.
31633
31634         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31635
31636 2005-03-28  Wim Taymans  <wim@fluendo.com>
31637
31638         * configure.ac:
31639         * docs/design/part-gstelement.txt:
31640         * docs/design/part-negotiation.txt:
31641         * docs/design/part-preroll.txt:
31642         * docs/design/part-scheduling.txt:
31643         * docs/design/part-states.txt:
31644         * gst/Makefile.am:
31645         * gst/base/Makefile.am:
31646         * gst/base/README:
31647         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31648         (gst_basesink_base_init), (gst_basesink_class_init),
31649         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31650         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31651         (gst_basesink_set_pad_functions),
31652         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31653         (gst_basesink_set_property), (gst_basesink_get_property),
31654         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31655         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31656         (gst_basesink_preroll_queue_push),
31657         (gst_basesink_preroll_queue_empty),
31658         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31659         (gst_basesink_event), (gst_basesink_get_times),
31660         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31661         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31662         (gst_basesink_loop), (gst_basesink_activate),
31663         (gst_basesink_change_state):
31664         * gst/base/gstbasesink.h:
31665         * gst/elements/Makefile.am:
31666         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31667         (gst_fakesink_class_init), (gst_fakesink_init),
31668         (gst_fakesink_set_property), (gst_fakesink_get_property),
31669         (gst_fakesink_get_times), (gst_fakesink_event),
31670         (gst_fakesink_preroll), (gst_fakesink_render),
31671         (gst_fakesink_change_state):
31672         * gst/elements/gstfakesink.h:
31673         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31674         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31675         * gst/gstelement.c: (gst_element_add_pad),
31676         (gst_element_get_state_func), (gst_element_abort_state),
31677         (gst_element_commit_state), (gst_element_lost_state),
31678         (gst_element_set_state), (gst_element_pads_activate):
31679         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31680         * gst/gstpipeline.c: (gst_pipeline_send_event),
31681         (gst_pipeline_change_state):
31682         Added state change code.
31683         Added/updated docs.
31684         Added sink base class, make fakesink extend the base class.
31685         Small cleanups in GstPipeline.
31686
31687 2005-03-26  David Schleef  <ds@schleef.org>
31688
31689         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31690         is broken and should be implemented in a different library.
31691         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31692         * gst/gst.h: remove gstcpu.h
31693         * gst/gstcpu.c: remove
31694         * gst/gstcpu.h: remove
31695         * gst/Makefile.am.future: Remove this file.  It's ancient.
31696
31697 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31698
31699         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31700         (gst_bin_send_event):
31701           Add default event/set_manager handlers. The set_manager handler
31702           takes care that the manager is distributed over kids that were
31703           already in the bin before the manager was set. The event handler
31704           is a utility virtual function that sends the event over all sinks,
31705           so that gst_element_send_event (bin, event); has the expected
31706           behaviour.
31707         * gst/gstpad.c: (gst_pad_event_default):
31708           Re-install default event handling for discontinuities, so that
31709           seeking works without requiring hacks in applications or extra
31710           code in sinks.
31711         * gst/gstpipeline.c: (gst_pipeline_class_init),
31712         (gst_pipeline_send_event):
31713           Half hack, half utility: set a pipeline to PAUSED for seek events,
31714           since that is the only way we can guarantee a/v sync. Means that
31715           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31716           and it "just works".
31717
31718 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31719
31720         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31721           Lock/unlock mismatch.
31722
31723 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31724
31725         * docs/faq/gst-uninstalled:
31726           add gst-plugins-base
31727         * docs/gst/Makefile.am:
31728           don't error out until docs are fixed
31729         * docs/gst/gstreamer.types:
31730           remove thread
31731
31732 2005-03-22  Wim Taymans  <wim@fluendo.com>
31733
31734         * check/Makefile.am:
31735         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31736         * gst/gststructure.c: (gst_structure_set_valist),
31737         (gst_structure_copy_conditional):
31738         Activated more tests.
31739         Added message test.
31740         Added G_TYPE_POINTER to GstStructure.
31741         
31742
31743 2005-03-22  Wim Taymans  <wim@fluendo.com>
31744
31745         * docs/design/part-TODO.txt:
31746         * docs/design/part-events.txt:
31747         * docs/design/part-gstbin.txt:
31748         * docs/design/part-gstbus.txt:
31749         * docs/design/part-gstpipeline.txt:
31750         * docs/design/part-messages.txt:
31751         * gst/gstbus.c:
31752         * gst/gstmessage.c:
31753         Docs updates
31754
31755 2005-03-21  Wim Taymans  <wim@fluendo.com>
31756
31757         * gst/gstbus.c: (gst_bus_post):
31758         Fix copy-and-paste error.
31759
31760 2005-03-21  Wim Taymans  <wim@fluendo.com>
31761
31762         * check/Makefile.am:
31763         * gst/Makefile.am:
31764         * gst/elements/Makefile.am:
31765         * gst/elements/gstelements.c:
31766         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31767         (gst_fakesink_event), (gst_fakesink_chain):
31768         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31769         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31770         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31771         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31772         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31773         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31774         (gst_fakesrc_loop), (gst_fakesrc_activate),
31775         (gst_fakesrc_change_state):
31776         * gst/elements/gstfakesrc.h:
31777         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31778         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31779         (gst_filesrc_open_file), (gst_filesrc_loop),
31780         (gst_filesrc_activate), (gst_filesrc_change_state),
31781         (filesrc_find_peek), (filesrc_find_suggest),
31782         (gst_filesrc_type_find):
31783         * gst/elements/gstidentity.c: (gst_identity_finalize),
31784         (gst_identity_class_init), (gst_identity_init),
31785         (gst_identity_proxy_getcaps), (identity_queue_push),
31786         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31787         (gst_identity_getrange), (gst_identity_chain),
31788         (gst_identity_sink_loop), (gst_identity_src_loop),
31789         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31790         (gst_identity_set_property), (gst_identity_get_property),
31791         (gst_identity_change_state):
31792         * gst/elements/gstidentity.h:
31793         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31794         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31795         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31796         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31797         (gst_tee_sink_activate):
31798         * gst/elements/gsttee.h:
31799         * gst/gst.c: (gst_register_core_elements), (init_post):
31800         * gst/gst.h:
31801         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31802         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31803         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31804         (gst_bin_change_state):
31805         * gst/gstbin.h:
31806         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31807         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31808         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31809         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31810         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31811         (bus_watch_callback), (bus_watch_destroy),
31812         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31813         (poll_timeout), (gst_bus_poll):
31814         * gst/gstbus.h:
31815         * gst/gstcaps.h:
31816         * gst/gstdata.h:
31817         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31818         (gst_element_post_message), (gst_element_message_full),
31819         (gst_element_get_state_func), (gst_element_get_state),
31820         (gst_element_abort_state), (gst_element_commit_state),
31821         (gst_element_lost_state), (gst_element_set_state),
31822         (gst_element_pads_activate), (gst_element_change_state),
31823         (gst_element_dispose), (gst_element_set_manager_func),
31824         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31825         (gst_element_set_manager), (gst_element_get_manager),
31826         (gst_element_set_bus), (gst_element_get_bus),
31827         (gst_element_set_scheduler), (gst_element_get_scheduler):
31828         * gst/gstelement.h:
31829         * gst/gstevent.c: (gst_event_new_segment_seek),
31830         (gst_event_new_flush):
31831         * gst/gstevent.h:
31832         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31833         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31834         (gst_message_new_eos), (gst_message_new_error),
31835         (gst_message_new_warning), (gst_message_new_tag),
31836         (gst_message_new_state_changed), (gst_message_new_application),
31837         (gst_message_get_structure), (gst_message_parse_tag),
31838         (gst_message_parse_state_changed), (gst_message_parse_error),
31839         (gst_message_parse_warning):
31840         * gst/gstmessage.h:
31841         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31842         (gst_real_pad_set_property), (gst_pad_set_active),
31843         (gst_pad_is_active), (gst_pad_set_blocked_async),
31844         (gst_pad_set_blocked), (gst_pad_is_blocked),
31845         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31846         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31847         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31848         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31849         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31850         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31851         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31852         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31853         (gst_pad_set_caps), (gst_pad_configure_sink),
31854         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31855         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31856         (gst_real_pad_dispose), (gst_real_pad_finalize),
31857         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31858         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31859         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31860         * gst/gstpad.h:
31861         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31862         (pipeline_bus_handler), (gst_pipeline_change_state),
31863         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31864         * gst/gstpipeline.h:
31865         * gst/gstprobe.h:
31866         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31867         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31868         (gst_queue_link_src), (gst_queue_bufferalloc),
31869         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31870         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31871         (gst_queue_loop), (gst_queue_handle_src_event),
31872         (gst_queue_handle_src_query), (gst_queue_src_activate),
31873         (gst_queue_change_state):
31874         * gst/gstqueue.h:
31875         * gst/gstscheduler.c: (gst_scheduler_init),
31876         (gst_scheduler_dispose), (gst_scheduler_create_task),
31877         (gst_scheduler_factory_create):
31878         * gst/gstscheduler.h:
31879         * gst/gststructure.c: (gst_structure_get_type),
31880         (gst_structure_copy_conditional):
31881         * gst/gststructure.h:
31882         * gst/gsttaginterface.h:
31883         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31884         (gst_task_init), (gst_task_dispose), (gst_task_create),
31885         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31886         (gst_task_pause):
31887         * gst/gsttask.h:
31888         * gst/gstthread.c:
31889         * gst/gstthread.h:
31890         * gst/gsttypes.h:
31891         * gst/schedulers/Makefile.am:
31892         * gst/schedulers/cothreads_compat.h:
31893         * gst/schedulers/entryscheduler.c:
31894         * gst/schedulers/faircothreads.c:
31895         * gst/schedulers/faircothreads.h:
31896         * gst/schedulers/fairscheduler.c:
31897         * gst/schedulers/gstbasicscheduler.c:
31898         * gst/schedulers/gstoptimalscheduler.c:
31899         * gst/schedulers/gthread-cothreads.h:
31900         * gst/schedulers/threadscheduler.c:
31901         (gst_thread_scheduler_task_get_type),
31902         (gst_thread_scheduler_task_class_init),
31903         (gst_thread_scheduler_task_init),
31904         (gst_thread_scheduler_task_start),
31905         (gst_thread_scheduler_task_stop),
31906         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31907         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31908         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31909         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31910         (plugin_init):
31911         * libs/gst/Makefile.am:
31912         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31913         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31914         (gst_file_pad_parent_set):
31915         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31916         (gst_dp_event_from_packet):
31917         * tests/complexity.c: (main):
31918         * tests/mass_elements.c: (main):
31919         * testsuite/states/locked.c: (message_received), (main):
31920         * testsuite/states/parent.c: (main):
31921         * tools/gst-inspect.c: (print_element_flag_info),
31922         (print_implementation_info), (print_pad_info):
31923         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31924         (main):
31925         * tools/gst-md5sum.c: (event_loop), (main):
31926         * tools/gst-typefind.c: (main):
31927         * tools/gst-xmlinspect.c: (print_element_info):
31928         Next big merge.
31929         Added GstBus for mainloop integration.
31930         Added GstMessage for sending notifications on the bus.
31931         Added GstTask as an abstraction for pipeline entry points.
31932         Removed GstThread.
31933         Removed Schedulers.
31934         Simplified GstQueue for multithreaded core.
31935         Made _link threadsafe, removed old capsnego.
31936         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31937         Added pad blocking functions.
31938         Reworked scheduling functions in GstPad to prepare for
31939         scheduling updates soon.
31940         Moved events out of data stream.
31941         Simplified GstEvent types.
31942         Added return values to push/pull.
31943         Removed clocking from GstElement.
31944         Added prototypes for state change function for next merge.
31945         Removed iterate from bins and state change management.
31946         Fixed some elements, disabled others for now.
31947         Fixed -inspect and -launch.
31948         Added check for GstBus.
31949
31950 2005-03-10  Wim Taymans  <wim@fluendo.com>
31951
31952         * docs/design/part-MT-refcounting.txt:
31953         * docs/design/part-clocks.txt:
31954         * docs/design/part-gstelement.txt:
31955         * docs/design/part-gstobject.txt:
31956         * docs/design/part-standards.txt:
31957         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31958         (gst_bin_remove_func), (gst_bin_remove):
31959         * gst/gstbin.h:
31960         * gst/gstbuffer.c:
31961         * gst/gstcaps.h:
31962         * testsuite/clock/clock1.c: (main):
31963         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31964         (main):
31965         * testsuite/dlopen/loadgst.c: (do_test):
31966         * testsuite/refcounting/bin.c: (add_remove_test1),
31967         (add_remove_test2), (main):
31968         * testsuite/refcounting/element.c: (main):
31969         * testsuite/refcounting/element_pad.c: (main):
31970         * testsuite/refcounting/pad.c: (main):
31971         * tools/gst-launch.c: (sigint_handler_sighandler):
31972         * tools/gst-typefind.c: (main):
31973         Doc updates.
31974         Added doc about clock.
31975         removed gst_bin_iterate_recurse_up(), marked methods
31976         for removal.
31977         Fix more testsuites.
31978
31979 2005-03-09  Wim Taymans  <wim@fluendo.com>
31980
31981         * gst/gstpad.c: (gst_pad_get_direction),
31982         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31983         (gst_pad_collect_valist):
31984         * testsuite/bins/interface.c: (main):
31985         * testsuite/caps/audioscale.c: (test_caps):
31986         * testsuite/caps/caps.c: (test1), (test2), (test3):
31987         * testsuite/caps/deserialize.c: (main):
31988         * testsuite/caps/enumcaps.c: (main):
31989         * testsuite/caps/filtercaps.c: (main):
31990         * testsuite/caps/intersect2.c: (main):
31991         * testsuite/caps/random.c: (main):
31992         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31993         * testsuite/caps/sets.c: (check_caps):
31994         * testsuite/caps/simplify.c: (check_caps), (main):
31995         * testsuite/caps/subtract.c: (check_caps):
31996         Fix _pad_get_direction wrt ghostpads.
31997         Fix caps testsuite.
31998
31999 2005-03-09  Wim Taymans  <wim@fluendo.com>
32000
32001         * check/Makefile.am:
32002         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
32003         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
32004         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
32005         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
32006         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
32007         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
32008         (gst_bin_remove), (gst_bin_iterate_recurse_up),
32009         (bin_element_is_sink), (gst_bin_iterate_sinks),
32010         (gst_bin_iterate_all_by_interface):
32011         * gst/gstbin.h:
32012         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
32013         (gst_element_change_state), (gst_element_dispose),
32014         (gst_element_finalize), (gst_element_set_loop_function):
32015         * gst/gstelement.h:
32016         * gst/gstiterator.c: (find_custom_fold_func):
32017         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
32018         (gst_pad_collectv), (gst_pad_collect_valist),
32019         (gst_pad_template_new):
32020         * gst/gstpipeline.c: (gst_pipeline_class_init),
32021         (gst_pipeline_dispose), (gst_pipeline_set_property),
32022         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
32023         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
32024         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
32025         * gst/gstutils.h:
32026         * gst/schedulers/entryscheduler.c:
32027         * gst/schedulers/gstbasicscheduler.c:
32028         (gst_basic_scheduler_cothreaded_chain),
32029         (gst_basic_scheduler_chain_add_element):
32030         * testsuite/bins/interface.c: (main):
32031         Added GstBin test.
32032         Added GstSystemClock test.
32033         Implemented clock distribution code in GstBin.
32034         Implemented iterate sinks method for future use.
32035         Rearranged gstelement.h
32036         Fix GstIterator comparison bug.
32037         Moved some code to GstPipeline, mostly clocking related.
32038
32039 2005-03-09  Wim Taymans  <wim@fluendo.com>
32040
32041         * configure.ac:
32042         * gst/gst_private.h:
32043         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
32044         (gst_bin_remove_func), (gst_bin_remove),
32045         (gst_bin_get_by_name_recurse_up):
32046         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
32047         (gst_clock_id_compare_func), (gst_clock_id_wait),
32048         (gst_clock_id_wait_async), (gst_clock_init),
32049         (gst_clock_adjust_unlocked), (gst_clock_get_time):
32050         * gst/gstelement.h:
32051         * gst/gstinfo.c: (_gst_debug_init):
32052         * gst/gstobject.h:
32053         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
32054         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
32055         * gst/gstpad.h:
32056         Bump version number, we're now 0.9.0
32057         Add future debugging category.
32058         Fix NULL _unref() in _get_by_name_recurse_up
32059         Rearrange gstpad.h.
32060         Update some docs.
32061
32062 2005-03-08  Wim Taymans  <wim@fluendo.com>
32063
32064         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
32065         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
32066         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
32067         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
32068         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
32069         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
32070         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
32071         * gst/elements/gstidentity.c: (gst_identity_class_init):
32072         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
32073         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
32074         * gst/elements/gstshaper.c: (gst_shaper_class_init):
32075         * gst/elements/gststatistics.c: (gst_statistics_class_init):
32076         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
32077         (gst_tee_link):
32078         * gst/gstelement.c: (gst_element_class_init),
32079         (gst_element_base_class_init), (gst_element_init),
32080         (gst_element_get_random_pad), (gst_element_wait_state_change),
32081         (gst_element_change_state), (gst_element_dispose),
32082         (gst_element_finalize), (gst_element_set_loop_function):
32083         * gst/gstelement.h:
32084         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
32085         * gst/gstthread.c: (gst_thread_class_init),
32086         (gst_thread_release_children_locks), (gst_thread_change_state):
32087         * gst/schedulers/gstbasicscheduler.c:
32088         (gst_basic_scheduler_loopfunc_wrapper),
32089         (gst_basic_scheduler_chain_wrapper),
32090         (gst_basic_scheduler_src_wrapper),
32091         (gst_basic_scheduler_remove_element):
32092         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
32093         Remove threadsafe properties. Fix elements because GObject
32094         complains when installing a property before declaring a
32095         set/get_property handler.
32096         Rearrange gstelement.h file, use STATE macros for state locks.
32097         Free mutexes in the finalize method instead of dispose.
32098
32099 2005-03-08  Wim Taymans  <wim@fluendo.com>
32100
32101         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
32102         * gst/gstthread.c: (gst_thread_release_children_locks):
32103         Added parentage check.
32104         Fix build og GstThread again.
32105
32106 2005-03-08  Wim Taymans  <wim@fluendo.com>
32107
32108         * docs/design/part-MT-refcounting.txt:
32109         * docs/design/part-conventions.txt:
32110         * docs/design/part-gstobject.txt:
32111         * docs/design/part-relations.txt:
32112         * docs/design/part-standards.txt:
32113         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
32114         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
32115         (gst_bin_get_by_name), (gst_bin_get_by_interface),
32116         (gst_bin_iterate_all_by_interface):
32117         * gst/gstbuffer.h:
32118         * gst/gstclock.h:
32119         * gst/gstelement.c: (gst_element_class_init),
32120         (gst_element_change_state), (gst_element_set_loop_function):
32121         * gst/gstelement.h:
32122         * gst/gstiterator.c:
32123         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
32124         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
32125         (gst_object_dispatch_properties_changed), (gst_object_set_name),
32126         (gst_object_set_parent), (gst_object_unparent),
32127         (gst_object_check_uniqueness):
32128         * gst/gstobject.h:
32129         Docs updates, clean up some headers.
32130
32131 2005-03-07  Wim Taymans  <wim@fluendo.com>
32132
32133         * check/.cvsignore:
32134         * check/Makefile.am:
32135         * check/gst-libs/.cvsignore:
32136         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
32137         * check/gst/.cvsignore:
32138         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
32139         (START_TEST), (gstbus_suite), (main):
32140         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
32141         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
32142         (gst_data_suite), (main):
32143         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
32144         (add_fold_func), (gstiterator_suite), (main):
32145         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
32146         (thread_name_object), (thread_name_object_default),
32147         (gst_object_name_compare), (gst_object_suite), (main):
32148         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
32149         (gst_pad_suite), (main):
32150         * check/gstcheck.c: (gst_check_log_message_func),
32151         (gst_check_log_critical_func), (gst_check_init):
32152         * check/gstcheck.h:
32153         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
32154         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
32155         Added checks.
32156
32157 2005-03-07  Wim Taymans  <wim@fluendo.com>
32158
32159         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
32160         (gst_list_iterator_next), (gst_list_iterator_resync),
32161         (gst_list_iterator_free), (gst_iterator_new_list),
32162         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
32163         (gst_iterator_free), (gst_iterator_push), (filter_next),
32164         (filter_resync), (filter_uninit), (filter_free),
32165         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
32166         (gst_iterator_foreach), (find_custom_fold_func),
32167         (gst_iterator_find_custom):
32168         * gst/gstiterator.h:
32169         Added missing files.
32170
32171 2005-03-07  Wim Taymans  <wim@fluendo.com>
32172
32173         * Makefile.am:
32174         * configure.ac:
32175         * docs/design/part-MT-refcounting.txt:
32176         * docs/design/part-conventions.txt:
32177         * docs/design/part-gstobject.txt:
32178         * docs/design/part-relations.txt:
32179         * examples/mixer/mixer.c: (main):
32180         * examples/thread/thread.c: (eos), (main):
32181         * gst/Makefile.am:
32182         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
32183         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
32184         (gst_spider_plug_from_srcpad):
32185         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
32186         (gst_spider_identity_change_state),
32187         (gst_spider_identity_sink_loop_type_finding):
32188         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32189         * gst/elements/gstidentity.c: (gst_identity_init):
32190         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32191         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32192         * gst/elements/gsttypefindelement.c: (free_entry):
32193         * gst/gst.c:
32194         * gst/gst.h:
32195         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32196         (gst_bin_set_clock_func), (gst_bin_auto_clock),
32197         (gst_bin_set_index), (gst_bin_set_element_sched),
32198         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32199         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32200         (gst_bin_iterate_elements), (iterate_child_recurse),
32201         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32202         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32203         (compare_interface), (gst_bin_get_by_interface),
32204         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32205         * gst/gstbin.h:
32206         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32207         (gst_buffer_default_free), (gst_buffer_default_copy),
32208         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32209         (gst_buffer_create_sub):
32210         * gst/gstbuffer.h:
32211         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32212         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32213         (gst_caps_unref), (gst_static_caps_get),
32214         (gst_caps_remove_and_get_structure), (gst_caps_append),
32215         (gst_caps_append_structure), (gst_caps_remove_structure),
32216         (gst_caps_copy_nth), (gst_caps_set_simple),
32217         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32218         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32219         (gst_caps_structure_intersect_field), (gst_caps_intersect),
32220         (gst_caps_structure_subtract_field), (gst_caps_subtract),
32221         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32222         (gst_caps_structure_figure_out_union),
32223         (gst_caps_switch_structures), (gst_caps_do_simplify),
32224         (gst_caps_replace), (gst_caps_from_string),
32225         (gst_caps_copy_conditional):
32226         * gst/gstcaps.h:
32227         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32228         (_gst_clock_id_free), (gst_clock_id_unref),
32229         (gst_clock_id_compare_func), (gst_clock_id_wait),
32230         (gst_clock_id_wait_async), (gst_clock_class_init),
32231         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32232         (gst_clock_get_time), (gst_clock_set_time_adjust),
32233         (gst_clock_set_property), (gst_clock_get_property):
32234         * gst/gstclock.h:
32235         * gst/gstcompat.h:
32236         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32237         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32238         * gst/gstdata.h:
32239         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32240         (gst_element_requires_clock), (gst_element_provides_clock),
32241         (gst_element_set_clock), (gst_element_clock_wait),
32242         (gst_element_wait), (gst_element_set_time_delay),
32243         (gst_element_is_indexable), (gst_element_add_pad),
32244         (gst_element_add_ghost_pad), (gst_element_remove_pad),
32245         (pad_compare_name), (gst_element_get_static_pad),
32246         (gst_element_request_pad), (gst_element_get_request_pad),
32247         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32248         (gst_element_class_get_pad_template_list),
32249         (gst_element_class_get_pad_template), (gst_element_error_func),
32250         (gst_element_get_random_pad), (gst_element_get_event_masks),
32251         (gst_element_send_event), (gst_element_seek),
32252         (gst_element_get_query_types), (gst_element_query),
32253         (gst_element_get_formats), (gst_element_convert),
32254         (gst_element_is_locked_state), (gst_element_set_locked_state),
32255         (gst_element_sync_state_with_parent), (gst_element_change_state),
32256         (gst_element_finalize), (gst_element_yield),
32257         (gst_element_interrupt), (gst_element_set_scheduler),
32258         (gst_element_get_scheduler), (gst_element_set_loop_function):
32259         * gst/gstelement.h:
32260         * gst/gstevent.h:
32261         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32262         (gst_format_get_by_nick), (gst_format_get_details),
32263         (gst_format_iterate_definitions):
32264         * gst/gstformat.h:
32265         * gst/gstindex.c: (gst_index_gtype_resolver):
32266         * gst/gstinfo.c:
32267         * gst/gstinfo.h:
32268         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32269         (gst_mem_chunk_free):
32270         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32271         (gst_object_ref), (gst_object_unref), (gst_object_sink),
32272         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32273         (gst_object_dispatch_properties_changed),
32274         (gst_object_set_name_default), (gst_object_set_name),
32275         (gst_object_get_name), (gst_object_set_name_prefix),
32276         (gst_object_get_name_prefix), (gst_object_set_parent),
32277         (gst_object_get_parent), (gst_object_unparent),
32278         (gst_object_check_uniqueness), (gst_object_save_thyself),
32279         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32280         (gst_object_set_property), (gst_object_get_property),
32281         (gst_object_get_path_string):
32282         * gst/gstobject.h:
32283         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32284         (gst_real_pad_init), (gst_real_pad_get_property),
32285         (gst_pad_custom_new), (gst_pad_get_direction),
32286         (gst_pad_set_active), (gst_pad_is_active),
32287         (gst_pad_set_event_function), (gst_pad_is_linked),
32288         (gst_pad_link_free), (gst_pad_link_intersect),
32289         (gst_pad_link_fixate), (gst_pad_set_caps),
32290         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32291         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32292         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32293         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32294         (gst_pad_get_caps), (gst_pad_peer_get_caps),
32295         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32296         (gst_pad_realize), (gst_pad_get_allowed_caps),
32297         (gst_real_pad_dispose), (gst_real_pad_finalize),
32298         (gst_pad_collectv), (gst_pad_collect_valist),
32299         (gst_pad_template_dispose), (gst_pad_template_new),
32300         (gst_pad_get_internal_links):
32301         * gst/gstpad.h:
32302         * gst/gstpipeline.c: (gst_pipeline_dispose),
32303         (gst_pipeline_change_state):
32304         * gst/gstpipeline.h:
32305         * gst/gstplugin.c:
32306         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32307         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32308         * gst/gstpluginfeature.h:
32309         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32310         * gst/gstquery.c: (_gst_query_type_initialize),
32311         (gst_query_type_register), (gst_query_type_get_by_nick),
32312         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32313         * gst/gstquery.h:
32314         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32315         * gst/gstscheduler.c: (gst_scheduler_add_element),
32316         (gst_scheduler_factory_create):
32317         * gst/gststructure.c: (gst_structure_set_parent_refcount),
32318         (gst_structure_free), (gst_structure_set_name),
32319         (gst_structure_id_set_value), (gst_structure_set_value),
32320         (gst_structure_set_valist), (gst_structure_remove_field),
32321         (gst_structure_remove_fields),
32322         (gst_structure_remove_fields_valist),
32323         (gst_structure_remove_all_fields), (gst_structure_foreach),
32324         (gst_structure_map_in_place),
32325         (gst_caps_structure_fixate_field_nearest_int),
32326         (gst_caps_structure_fixate_field_nearest_double):
32327         * gst/gststructure.h:
32328         * gst/gstsystemclock.c: (gst_system_clock_class_init),
32329         (gst_system_clock_init), (gst_system_clock_dispose),
32330         (gst_system_clock_async_thread),
32331         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32332         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32333         * gst/gstsystemclock.h:
32334         * gst/gsttag.c: (gst_tag_list_add_value_internal),
32335         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32336         * gst/gsttaginterface.c:
32337         * gst/gstthread.c: (gst_thread_dispose),
32338         (gst_thread_release_children_locks), (gst_thread_change_state),
32339         (gst_thread_main_loop):
32340         * gst/gsttrashstack.h:
32341         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32342         * gst/gsttypes.h:
32343         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32344         (gst_element_request_pad), (gst_element_get_pad_from_template),
32345         (gst_element_request_compatible_pad),
32346         (gst_element_get_compatible_pad_filtered),
32347         (gst_element_get_compatible_pad), (gst_element_state_get_name),
32348         (gst_element_link_pads_filtered), (gst_element_link_filtered),
32349         (gst_element_link_many), (gst_element_link),
32350         (gst_element_link_pads), (gst_element_unlink_pads),
32351         (gst_element_unlink_many), (gst_element_unlink),
32352         (gst_pad_can_link_filtered), (gst_pad_can_link),
32353         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32354         (gst_object_default_error), (gst_bin_add_many),
32355         (gst_bin_remove_many), (gst_element_populate_std_props),
32356         (gst_element_class_install_std_props), (gst_buffer_merge),
32357         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32358         (link_fold_func), (gst_pad_proxy_setcaps):
32359         * gst/gstutils.h:
32360         * gst/gstvalue.c: (gst_value_deserialize_string):
32361         * gst/parse/grammar.y:
32362         * gst/schedulers/gstbasicscheduler.c:
32363         (gst_basic_scheduler_cothreaded_chain),
32364         (gst_basic_scheduler_chain_recursive_add),
32365         (gst_basic_scheduler_pad_link):
32366         * gst/schedulers/gstoptimalscheduler.c:
32367         (get_group_schedule_function),
32368         (gst_opt_scheduler_state_transition),
32369         (gst_opt_scheduler_add_element), (element_get_reachables_func):
32370         * libs/gst/bytestream/bytestream.c:
32371         * libs/gst/dataprotocol/dataprotocol.c:
32372         (gst_dp_header_from_buffer):
32373         * po/nb.po:
32374         * po/ru.po:
32375         * tests/threadstate/threadstate2.c: (eos):
32376         * tools/gst-compprep.c: (main):
32377         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32378         (print_pad_info), (print_children_info):
32379         * tools/gst-launch.c: (idle_func), (main):
32380         * tools/gst-md5sum.c: (idle_func), (main):
32381         * tools/gst-xmlinspect.c: (print_element_info):
32382         First THREADED backport attempt, focusing on adding locks and
32383         making sure the API is threadsafe. Needs more work. More docs
32384         follow this week.
32385
32386 2005-02-24  Andy Wingo  <wingo@pobox.com>
32387
32388         * tests/bench-complexity.scm:
32389         * tests/complexity.gnuplot: New files, good for running complexity
32390         benchmarks.
32391
32392         * tests/Makefile.am:
32393         * tests/complexity.c: New test, sets up N elements, at each level
32394         teeing into M streams per element. Eeeenteresting.
32395
32396         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32397         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32398         running bench-mass_elements.scm.
32399
32400         * tests/bench-mass_elements.scm: New script, runs mass_elements
32401         for various numbers of identities, outputting the results to a
32402         file. Requires guile 1.6. Just for testing.
32403
32404 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32405
32406         * gst/schedulers/fairscheduler.c:
32407           compile with debug disabled
32408
32409 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
32410
32411         * configure.ac:
32412           hunting season on 0.9 is now OPEN