gst/gstbus.c: Fix order of members in GstBusSource structure - the first member must...
[platform/upstream/gstreamer.git] / ChangeLog
1 2009-01-17  Tim-Philipp Müller  <tim.muller at collabora co uk>
2
3         * gst/gstbus.c: (gst_bus_set_main_context), (gst_bus_create_watch):
4           Fix order of members in GstBusSource structure - the first member
5           must be the parent structure ie. GSource. Should make bus sources
6           attached to non-default main contexts work in all cases now (ie.
7           primarily in cases where the callback has a non-NULL user data
8           argument). Fixes #562170.
9
10         * tests/check/gst/gstbus.c: (test_custom_main_context):
11           Add unit test for the above, based on code by
12           Justin Karneges <justin at affinix com>.
13
14 2009-01-15  Wim Taymans  <wim.taymans@collabora.co.uk>
15
16         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
17
18         * gst/gstpad.h:
19         A small documentation fix.
20
21 2009-01-11  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
22
23         * gst/gstutils.h:
24         Initialize g_once_init* data with 0. Fixes bug #567225.
25
26 2009-01-09  Jan Schmidt  <jan.schmidt@sun.com>
27
28         * configure.ac:
29         pre-release 0.10.21.3
30
31 2009-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
32
33         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
34         (gst_base_sink_wait_clock):
35         * libs/gst/base/gstbasesink.h:
36         Fix documentation for the wait_clock method, rename basesink -> sink
37         for consistency.
38
39 2009-01-08  Stefan Kost  <ensonic@users.sf.net>
40
41         * gst/gst.c:
42           Create a registry if there is none also when the option for
43           gst-disable-registry-update has been selected. Fixes #567002
44
45 2009-01-06  Tim-Philipp Müller  <tim.muller at collabora co uk>
46
47         * gst/gst.c: (init_post):
48           Ref new enum type in gst_init.
49
50         * win32/common/libgstreamer.def:
51           Add recently-added API.
52
53 2009-01-06  Tim-Philipp Müller  <tim.muller at collabora co uk>
54
55         * docs/gst/gstreamer-sections.txt::
56         * gst/gst_private.h: (GstPluginDep), (_GstPluginPrivate):
57         * gst/gstplugin.c: (gst_plugin_init), (gst_plugin_finalize),
58           (gst_plugin_class_init), (gst_plugin_list_free),
59           (gst_plugin_ext_dep_get_env_vars_hash),
60           (_priv_plugin_deps_env_vars_changed),
61           (gst_plugin_ext_dep_extract_env_vars_paths),
62           (gst_plugin_ext_dep_get_hash_from_stat_entry),
63           (gst_plugin_ext_dep_direntry_matches),
64           (gst_plugin_ext_dep_scan_dir_and_match_names),
65           (gst_plugin_ext_dep_scan_path_with_filenames),
66           (gst_plugin_ext_dep_get_stat_hash),
67           (_priv_plugin_deps_files_changed), (gst_plugin_ext_dep_free),
68           (gst_plugin_ext_dep_strv_equal), (gst_plugin_ext_dep_equals),
69           (gst_plugin_add_dependency), (gst_plugin_add_dependency_simple):
70         * gst/gstplugin.h: (GstPluginPrivate), (GstPluginFlags),
71           (GST_PLUGIN_DEPENDENCY_FLAG_NONE),
72           (GST_PLUGIN_DEPENDENCY_FLAG_RECURSE),
73           (GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY),
74           (GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX),
75           (GstPluginDependencyFlags), (GstPluginFilter):
76         * gst/gstregistry.c: (gst_registry_scan_path_level):
77         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
78           (gst_registry_binary_save_plugin_dep),
79           (gst_registry_binary_save_plugin),
80           (gst_registry_binary_load_feature),
81           (gst_registry_binary_load_plugin_dep_strv),
82           (gst_registry_binary_load_plugin_dep),
83           (gst_registry_binary_load_plugin):
84         * gst/gstregistrybinary.h: (GST_MAGIC_BINARY_VERSION_STR),
85           (GstBinaryPluginElement), (_GstBinaryDep), (GstBinaryDep):
86         * gst/gstregistryxml.c: (gst_registry_xml_save_plugin):
87           Add API for making a GStreamer plugin 'dependent' on external files,
88           directories or environment variables, so that GStreamer knows when
89           it needs to re-load GStreamer plugins that wrap other plugin systems.
90           Fixes bug #350477.
91           API: add gst_plugin_add_dependency()
92           API: add gst_plugin_add_dependency_simple()
93
94 2009-01-06  Tim-Philipp Müller  <tim.muller at collabora co uk>
95
96         * docs/faq/gst-uninstalled:
97           Add libgstapp-0.10 from -base to search path and remove the old
98           lib from -bad from the search path.
99
100 2009-01-05  Wim Taymans  <wim.taymans@collabora.co.uk>
101
102         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position_last),
103         (gst_base_sink_get_position_paused), (gst_base_sink_get_position):
104         Release the object lock before calling the query convert pad functions
105         to avoid deadlocks.
106
107 2009-01-05  Wim Taymans  <wim.taymans@collabora.co.uk>
108
109         * gst/gstbus.c: (gst_bus_wakeup_main_context):
110         The lock order should be maincontext > OBJECT_LOCK so we need to release
111         the object lock when waking up the mainloop to avoid deadlocks.
112
113 2009-01-05  Wim Taymans  <wim.taymans@collabora.co.uk>
114
115         * gst/gstbin.c: (gst_bin_set_index_func), (gst_bin_set_clock_func),
116         (gst_bin_change_state_func):
117         Use an iterator to set the clock and the index so that we can release
118         the object lock appropriately. Fixes #566393.
119
120 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
121
122         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_available):
123         Use the name of the pads instead of a pointer, helps in debugging.
124
125 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
126
127         * gst/gstindex.c: (gst_index_get_type):
128         Add a debugging category for GstIndex, first little step in making
129         indexing top-notch.
130
131 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
132
133         * gst/gstelement.c: (gst_element_message_full),
134         (gst_element_pads_activate):
135         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
136         * gst/gstutils.c: (gst_pad_proxy_getcaps), (gst_pad_proxy_setcaps),
137         (gst_pad_add_data_probe_full), (gst_pad_add_event_probe_full),
138         (gst_pad_add_buffer_probe_full), (gst_pad_remove_data_probe),
139         (gst_pad_remove_event_probe), (gst_pad_remove_buffer_probe):
140         Assign debug statements to relevant categories instead of the 'default'
141         category so they don't get lost in debugging.
142
143 2009-01-01  Stefan Kost  <ensonic@users.sf.net>
144
145         * gst/gstdebugutils.c:
146           Add some ideas, how to make the graph smaller.
147
148         * gst/gstutils.c:
149           Add a comment from a debug session.
150
151         * libs/gst/base/gstbasetransform.c:
152           Log more context.
153
154         * libs/gst/controller/gstinterpolationcontrolsource.c:
155           Indet.
156
157         * plugins/elements/gstcapsfilter.c:
158           Fix typo in docs.
159
160 2008-12-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
161
162         * gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
163           (gst_bus_wakeup_main_context), (gst_bus_set_main_context),
164           (gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
165           (gst_bus_create_watch):
166           Make GstBusSource work with non-default main contexts (#562170).
167
168         * tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
169           (test_watch), (test_watch_with_custom_context), (gst_bus_suite):
170           Add test case for GstBusSource with a non-default main context.
171
172         * tests/check/libs/.cvsignore:
173           Ignore more.
174
175 2008-12-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
176
177         * gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
178           (unpack_string)::
179           Wrap multi-line macros in G_STMT_{START|END}.
180
181 2008-12-20  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
182
183         * docs/gst/gstreamer-sections.txt:
184         * gst/gstquark.c:
185         * gst/gstquark.h:
186         * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
187         (gst_query_parse_uri):
188         * gst/gstquery.h:
189         API: Add URI query type. This is useful to query the URI
190         of a sink/source element and can be used by demuxers that
191         need to get data from other files.
192         This query should go upstream by default.
193         Fixes bug #562949.
194         * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
195         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
196         (gst_fd_src_query):
197         * plugins/elements/gstfilesink.c: (gst_file_sink_query):
198         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
199         (gst_file_src_query):
200         Implement URI query.
201
202 2008-12-19  Alessandro Decina <alessandro.decina@collabora.co.uk>
203
204         * gst/gstghostpad.c:
205         * tests/check/gst/gstghostpad.c:
206         Don't forward gst_pad_set_caps() on a source ghostpad to its target.
207         That would cause the ghostpad to emit notify::caps two times (fist
208         from gst_pad_set_caps() and after from on_src_target_notify()).
209
210 2008-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
211
212         * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
213         (GST_START_TEST):
214         Add some more unit-tests for the ghostpad notify signal, one of which
215         currently fails.
216
217 2008-12-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
218
219         * win32/common/libgstreamer.def:
220         Add gst_tag_setter_reset_tags to the list of exported symbols.
221
222 2008-12-17  Alessandro Decina  <alessandro.decina@collabora.co.uk>
223
224         * gst/gstghostpad.c:
225         * tests/check/gst/gstghostpad.c:
226         In a source ghostpad, when caps are changed in the target pad, the
227         change needs to be reflected in the ghostpad.
228         Fixes #564863.
229
230 2008-12-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
231
232         * gst/gstutils.c: (gst_element_found_tags_for_pad):
233         Add FIXME for 0.11 to set the pad as message source and not
234         the element. Otherwise it's impossible to detect for which
235         pad the tags were found without adding an event probe
236         or something similar to the pad.
237
238 2008-12-16  Wim Taymans  <wim.taymans@collabora.co.uk>
239
240         * docs/faq/general.xml:
241         Update the faq.
242
243 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
244
245         * docs/gst/gstreamer-sections.txt:
246         * gst/gsttagsetter.c:
247         * gst/gsttagsetter.h:
248           Rename api added in previous commit and add since tag to docs.
249           API: gst_tag_setter_reset_tags()
250
251 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
252
253         * docs/gst/gstreamer-sections.txt:
254         * gst/gsttagsetter.c:
255         * gst/gsttagsetter.h:
256           Add function to reset tagsetter for element reuse.
257
258 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
259
260         * gst/gsttaglist.c:
261           Avoid copy of empty taglist.
262
263 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
264
265         * gst/gsttaglist.c:
266         * tests/check/gst/gsttag.c:
267           More complete unit tests. Fix handling of empty taglists (they were
268           not merged before).
269
270 2008-12-15  Stefan Kost  <ensonic@users.sf.net>
271
272         * gst/gsttaglist.h:
273         * gst/gsttagsetter.c:
274           Update GstTagSetter and GstTagMergeMode documentation. Mention
275           that tags can come from events and from application. Fix example.
276
277 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
278
279         * docs/design/part-TODO.txt:
280         Remove the seqnum entry that we implemented in 0.10 already.
281         Add entry about removing the format return value for queries.
282
283 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
284
285         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
286         (gst_base_sink_init), (gst_base_sink_set_property),
287         (gst_base_sink_get_property):
288         Expose the render-delay as a property so things like appsink can use it
289         to tweak the synchronisation.
290
291 2008-12-10  Peter Kjellerstedt  <pkj@axis.com>
292
293         * libs/gst/check/gstcheck.h: Allow check tests to use
294         MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
295         CK_FORK=no to be used with multiple check test that use threads.
296
297 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
298
299         * gst/gstutils.c: (gst_element_get_compatible_pad):
300         Fix a caps memory leak introduced by the last change.
301
302 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
303
304         * gst/gstutils.c: (gst_element_get_compatible_pad):
305         Check if the caps of the pads are compatible before returning
306         a pad and claiming it is compatible. This, among other things,
307         fixes a bug with gst-launch where an incompatible pad is chosen
308         and linking fails. Fixes bug #544003.
309
310 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
311
312         * libs/gst/check/gstcheck.c: (gst_check_init):
313         Revert accidentially commited patch for bug #404631 which
314         tries to print a backtrace if a testcase is terminated by
315         a signal. This code was never activated as the corresponding
316         configure.ac change wasn't committed.
317
318 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
319
320         * tests/check/libs/controller.c: (GST_START_TEST):
321         This test should return TRUE now as syncing an uncontrolled
322         object will succeed now (there's nothing to sync).
323
324 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
325
326         * libs/gst/controller/gstcontroller.c:
327           Aggregate return value for gst_controller_sync_values(). More info in
328           logging. Always set values on first sync-call.
329
330         * libs/gst/controller/gstcontrolsource.c:
331           Microoptimizations.
332
333         * libs/gst/controller/gsthelper.c:
334           Fix return code and comment.
335
336 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
337
338         * tools/gst-launch.1.in:
339           Fix description of how to specify a type in caps. Fixes #553873.
340           Also ranges and list contain values and not property-assignments.
341
342 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
343
344         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
345         Check for changed pads-list before checking the last returned
346         GstFlowReturn because the pad could have been removed and we
347         need to ignore the value in that case.
348
349 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
350
351         * libs/gst/base/gstbasetransform.c:
352         (gst_base_transform_prepare_output_buffer),
353         (gst_base_transform_getrange), (gst_base_transform_chain):
354         * libs/gst/base/gstbasetransform.h:
355         Add vmethod that is called before we start the transform and which can
356         be used to configure the transform, such as dynamic properties.
357
358 2008-12-05  David Schleef  <ds@schleef.org>
359
360         * gst/gst.c:
361         Search for plugins on win32 based on the location of the
362         gstreamer DLL.  Fixes #548786
363
364 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
365
366         * configure.ac:
367         Apparently AC_CONFIG_MACRO_DIR breaks when using more
368         than one macro directory, reverting last change.
369
370 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
371
372         * configure.ac:
373         Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
374         our M4 macros.
375
376 2008-11-29  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
377
378         Patch by: Cygwin Ports maintainer
379                   <yselkowitz at users dot sourceforge dot net>
380
381         * autogen.sh:
382         * configure.ac:
383         Require gettext 0.17 because older versions don't mix with libtool
384         2.2. At build time an older gettext version will still work.
385         Fixes bug #556091.
386
387 2008-11-27  Wim Taymans  <wim.taymans@collabora.co.uk>
388
389         Patch by: 이문형 <iwings at gmail dot com>
390
391         * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
392         Adds support for FD_CONNECT event (win32). See #562258.
393
394 2008-11-24  Stefan Kost  <ensonic@users.sf.net>
395
396         * libs/gst/base/gstbasesink.c:
397           Turn comment into gtk-doc comment.
398
399 2008-11-24  Wim Taymans  <wim.taymans@collabora.co.uk>
400
401         * libs/gst/base/gstbasetransform.c:
402         (gst_base_transform_acceptcaps):
403         Revert quick accepcaps attempt, it's not fully equivalent to the old
404         behaviour and thus causes regressions.
405
406 2008-11-24  Edward Hervey  <edward.hervey@collabora.co.uk>
407
408         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
409         Fix memory leak.
410
411 2008-11-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
412
413         Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
414
415         * gst/gstregistry.c: (gst_registry_scan_path_level):
416         Reduce the number of stat() calls for every file from three times
417         to one time. Fixes bug #560360.
418
419 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
420
421         * libs/gst/base/gstbasetransform.c:
422         (gst_base_transform_acceptcaps):
423         Rename a variable to make the code clearer.
424
425 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
426
427         * plugins/elements/gstidentity.c:
428         Don't warning on offset==-1. Taken from _check_imperfect_offset().
429
430 2008-11-21  Michael Smith <msmith@songbirdnest.com>
431
432         * plugins/elements/gstfilesrc.c:
433           Check for localhost in URI was backwards, fix it. Fixes unit test.
434
435 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
436
437         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
438         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
439         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
440         Add beginnings of a more optimized acceptcaps function than the default
441         core one.
442
443 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
444
445         * gst/gstpad.c: (gst_pad_accept_caps):
446         Avoid getting the acceptcaps function too early.
447
448 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
449
450         * tools/gst-launch.c: (event_loop):
451         Make gst-launch handle LATENCY messages and make it recalculate the
452         latency.
453
454 2008-11-20  Michael Smith <msmith@songbirdnest.com>
455
456         * plugins/elements/gstfilesrc.c:
457           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
458           out own slightly incorrect version. Fixes use of some paths on
459           win32.
460
461 2008-11-20  Michael Smith <msmith@songbirdnest.com>
462
463         * gst/gstregistrybinary.c:
464           In win32 codepath, if we fail to write the registry, create the
465           directory for it and try again, matching the behaviour in non-win32
466           codepaths.
467
468 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
469
470         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
471         Changing the render delay changes the latency and so we must post a
472         latency message.
473
474 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
475
476         * gst/gstquery.c:
477         * gst/gstquery.h:
478         Add GstQueryType for custom queries instead of having to use the
479         not-so-very-convenient registration infrastructure to register new
480         types.
481
482 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
483
484         Patch by: Andrew Feren <acferen at yahoo dot com>
485
486         * gst/gstobject.c: (gst_object_default_deep_notify):
487         Unref the GEnumClass after usage again. Fixes bug #561501.
488
489 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
490
491         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
492         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
493         (gst_bin_change_state_func):
494         * gst/gstbin.h:
495         Add do-latency signal with the old default fallback implementation. This
496         allows for custom latency calculations for when the default is not
497         sufficient.
498         API: GstBin::do-latency signal.
499
500 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
501
502         * win32/common/libgstreamer.def:
503         Add new symbols to .def file.
504
505 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
506
507         * docs/gst/gstreamer-sections.txt:
508         * gst/gstbin.c: (gst_bin_recalculate_latency),
509         (gst_bin_change_state_func):
510         * gst/gstbin.h:
511         Add method to recalculate and redistribute the latency on a bin.
512         API: gst_bin_recalculate_latency().
513
514 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
515
516         * gst/gstbuffer.h:
517         Document the free_func.
518
519 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
520
521         * libs/gst/controller/gstinterpolation.c:
522         * libs/gst/controller/gstlfocontrolsource.c:
523         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
524         as it is mapped to a cast on non-win32 platforms.
525
526 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
527
528         * libs/gst/controller/gstcontroller.c:
529         * libs/gst/controller/gstcontrollerprivate.h:
530           Keep last-value and only call set_property if value has changed. This
531           supresses all the g_object_notifies we would trigger otherwise. It
532           also allows the user to chage the value while there is no controller
533           change.
534
535 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
536
537         * gst/gstvalue.c:
538           Don't crash if either of the string GValues is empty.
539
540 2008-11-17  Andy Wingo  <wingo@pobox.com>
541
542         * tools/gst-inspect.c (print_all_uri_handlers): New function,
543         prints a summary of what URI schemes are supported by what
544         elements.
545         (main): Plumb in support for --uri-handlers or -u, and fix the
546         argc check for -a and -u.
547
548 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
549
550         * gst/gstutils.h:
551         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
552         conversion functions.
553
554 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
555
556         * gst/gstbuffer.c: (gst_buffer_finalize):
557         Avoid costly typechecking for trivially correct pointers.
558
559         * gst/gstpoll.c: (gst_poll_wait):
560         Add some G_LIKELY here and there.
561
562         * libs/gst/base/gstadapter.c: (gst_adapter_push):
563         Add some debug info.
564
565 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
566
567         * docs/random/wtay/poll-timeout:
568         Small tweaks.
569
570 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
571
572         * tests/old/testsuite/caps/intersection.c: (main):
573         * tests/old/testsuite/plugin/loading.c: (main):
574         Remove references to deprecated API g_mem_chunk*.
575         Fixes #560442.
576
577 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
578
579         * tools/gst-inspect.c: (main):
580         Add --plugin option. Fixes #560301.
581
582 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
583
584         * docs/random/wtay/poll-timeout:
585         Quick braindump for a possible (not totally verified) atomic case.
586
587 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
588
589         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
590         (gst_registry_binary_initialize_magic),
591         (gst_registry_binary_write_cache),
592         (gst_registry_binary_check_magic):
593         * gst/gstregistrybinary.h:
594         Don't write and check a CRC for the binary registry file. It's
595         guaranteed that the registry is completely written (it's first written
596         to a temporary file and then moved) and if the registry was corrupted
597         by some hardware failure we would have bigger problems.
598
599         Bump binary registry version to 0.10.21.1 for this as it's an
600         incompatible change and to ensure that the registry gets rebuild
601         after the update.
602
603         This saves some milliseconds for reading/writing the registry.
604         Fixes bug #560399.
605
606 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
607
608         * docs/random/wtay/poll-timeout:
609         Some pseudo code for how we could implement clock timeouts with GstPoll.
610
611 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
612
613         * plugins/elements/gstfilesink.c:
614           Update Author string to match others.
615
616 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
617
618         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
619         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
620         being fixed and inline the trivial check.
621
622 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
623
624         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
625         (gst_caps_merge_structure), (gst_caps_get_structure),
626         (gst_caps_copy_nth), (gst_caps_set_simple),
627         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
628         (gst_caps_is_equal_fixed), (gst_caps_intersect),
629         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
630         (gst_caps_to_string):
631         Callgrind micro optimisations.
632         Avoid array bounds checks and force inline of trivial function.
633
634         * gst/gstobject.c: (gst_object_set_name_default):
635         -1 is equivalent to letting glib to the strlen but then there is more
636         room for optimisations and it's not our fault.
637
638         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
639         no need to clear the array, we're cool.
640
641         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
642         The most common _is_fixed() check is done on fundamental glib base
643         types so we check this first instead of doing a huge amount of
644         useless GST_TYPE_ARRAY calls.
645
646 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
647
648         * gst/gstevent.h:
649         Add a SKIP seek flag for use with advanced trickmodes.
650         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
651
652 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
653
654         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
655         No need to memset, we can clear the value ourselves.
656
657         * gst/gstvalue.c: (gst_type_is_fixed),
658         (gst_value_get_compare_func):
659         Some optimisations from a few callgrind sessions:
660         When checking if a type is fixed, check for trivial fundamental types
661         first before checking types for which we need to get the type followed
662         by the heavy duty type checks, this reduces the amount of
663         g_type_fundamental() calls a lot.
664         When getting the compare function, first check for our registered types.
665         If that fails, do the heavy duty g_type_is_a() checks, reduces the
666         amount of g_type_is_a() considerably.
667
668 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
669
670         * docs/design/part-TODO.txt:
671         Mumble something about removing GstXML.
672
673 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
674
675         * gst/gstbin.c: (gst_bin_handle_message_func):
676         Get the seqnum before we dispose the message.
677
678 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
679
680         * docs/design/part-TODO.txt:
681         Refer to the framestepping document.
682
683 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
684
685         * gst/gstbin.c: (bin_handle_async_start),
686         (gst_bin_handle_message_func), (gst_bin_query):
687         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
688         (gst_base_sink_event), (gst_base_sink_change_state):
689         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
690         (gst_base_src_loop), (gst_base_src_change_state):
691         Copy seqnums from events to messages so that they can all be related
692         back to eachother.
693
694 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
695
696         * tools/gst-launch.c: (event_loop):
697         Print the message seqnums.
698
699 2008-11-04  Andy Wingo  <wingo@pobox.com>
700
701         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
702
703 2008-11-04  Andy Wingo  <wingo@pobox.com>
704
705         Add sequence numbers to events and messages. See #559250.
706
707         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
708         API: New functions.
709
710         * gst/gstevent.h:
711         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
712         events with a new sequence number, and copy it when copying.
713         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
714         an event's sequence number.
715
716         * gst/gstmessage.h:
717         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
718         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
719         so with messages.
720
721         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
722
723 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
724
725         * docs/manual/advanced-position.xml:
726         * docs/manual/basics-bins.xml:
727         * docs/manual/basics-bus.xml:
728         * docs/manual/basics-pads.xml:
729         * docs/manual/intro-gstreamer.xml:
730         * docs/manual/intro-preface.xml:
731         Some Application Development Manual fixes thanks to
732         Andrew Feren. Fixes #558459.
733
734 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
735
736         * gst/gstregistrybinary.c:
737           Don't bother with the GTimer if we don't output the results.
738
739 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
740
741         Patch by: David Schleef  <ds@schleef.org>
742
743         * libs/gst/net/Makefile.am:
744         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
745
746 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
747
748         * gst/gstregistrybinary.c:
749           Oh my, studip, stupid me. Remove double stat() call.
750
751 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
752
753         * gst/gstpreset.c:
754           Use g_unlink instead of unlink.
755
756         * gst/gststructure.c:
757           Use glib type.
758
759         * gst/gstutils.c:
760           Add a FIXME:.
761
762         * gst/gsttaglist.c:
763         * gst/gsttypefind.c:
764         * gst/gstvalue.c:
765           Formatting & whitespaces.
766
767 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
768
769         * plugins/elements/gstidentity.c:
770           Doc typo. Use return value of parent_class->event.
771   
772         * plugins/elements/gsttypefindelement.c:
773           Chain up at the end for consistency.
774   
775 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
776
777         * docs/Makefile.am:
778         * docs/gst/gstreamer-docs.sgml:
779         * docs/gst/gstreamer-sections.txt:
780         * docs/gst/running.xml:
781         * docs/libs/gstreamer-libs-docs.sgml:
782           Change to xinclude based build - its faster and easier to maintain.
783
784 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
785
786         * gst/gstregistrybinary.c:
787         * gst/gstregistryxml.c:
788           Use g_unlink() as none of these are directories.
789
790 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
791
792         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
793         Some more comments.
794
795 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
796
797         * libs/gst/base/gstbasetransform.c:
798         (gst_base_transform_find_transform), (gst_base_transform_getrange):
799         If we have a fixate function, call it even if we already have fixed caps
800         because the subclass might add some caps. Makes audioconvert add a
801         default channel layout.
802
803 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
804
805         * libs/gst/base/gstbasetransform.c:
806         (gst_base_transform_prepare_output_buffer),
807         (gst_base_transform_getrange):
808         Clear the output buffer variable.
809         Cleanups to the error path in the getrange function.
810         Fixes #557649.
811
812 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
813
814         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
815         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
816         Use gst_buffer_try_new_and_alloc() and handle errors instead of
817         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
818         be allocated.
819
820 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
821
822         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
823         Set the last_stop to a more meaningful position when configuring the
824         segment. ie. the start/stop of the segment or clipped against the
825         updated segment boundaries.
826
827         * tests/check/gst/gstsegment.c: (GST_START_TEST):
828         Add some unit tests for the last_stop.
829
830 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
831
832         * libs/gst/base/gstbytereader.c:
833         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
834         copies of them.
835
836 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
837
838         * docs/gst/gstreamer-sections.txt:
839         * gst/gstutils.h:
840         API: Move float endianness conversion macros from libgstfloatcast
841         to core as it's useful in general, even in core. Fixes bug #555196.
842         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
843         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
844         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
845
846         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
847         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
848         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
849         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
850
851 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
852
853         * docs/libs/gstreamer-libs-sections.txt:
854         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
855         (gst_byte_reader_peek_data):
856         * libs/gst/base/gstbytereader.h:
857         * win32/common/libgstbase.def:
858         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
859         to get a pointer to the data at the current position and have
860         a guaranteed size.
861
862 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
863
864         * configure.ac:
865         Fix a bug in the output of the configure script summary
866         when --gst-disable-registry is supplied
867
868 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
869
870         * libs/gst/base/gstbitreader.c:
871         * libs/gst/base/gstbytereader.c:
872         Fix the names of 2 functions in the docs strings.
873
874 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
875
876         * libs/gst/base/gstbasetransform.c:
877         (gst_base_transform_prepare_output_buffer),
878         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
879         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
880         refcount problems as seen in banshee and maybe also in farsight2.
881         Remove atomic int now that we need to take the lock anyways.
882
883 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
884
885         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
886         (gst_base_sink_default_prepare_seek_segment),
887         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
888         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
889         (gst_base_sink_query):
890         Implement more seeking in pull mode.
891         Use pad convert functions to convert position to the requested format.
892         Fix position/duration reporting in pull mode.
893         Implement position and duration reporting in other formats than time.
894
895         * libs/gst/base/gstbasesink.h:
896         Add member to keep track of when the segment is playing.
897
898 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
899
900         * gst/gstpad.c: (gst_pad_configure_src):
901         When we use gst_pad_alloc_buffer() without wanting to set the caps we
902         also don't need to check if the caps are compatible because the caller
903         presumably is going to perform its own custom checks. Fixes some cases
904         where basetransform elements would error out when it was not needed.
905
906 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
907
908         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
909         Update comment.
910
911         * libs/gst/base/gstbasetransform.c:
912         (gst_base_transform_handle_buffer),
913         (gst_base_transform_reconfigure):
914         Add some debug info.
915
916         * win32/common/libgstbase.def:
917         Add new method.
918
919 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
920
921         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
922           Remove duplicated assignment and log a message in failure case.
923
924 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
925
926         Patch by: Dig Ge <dig.ge.cn at gmail com>
927
928         * tests/examples/helloworld/helloworld.c: (main):
929           Fix copy'n'paste bug in hello world example (#556900).
930
931 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
932
933         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
934         (gst_base_sink_query):
935         Query the total number of bytes when activating the pad in pull mode.
936         Implement duration query in pull mode by using the installed pad convert
937         function to convert from bytes to the requested format.
938
939 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
940
941         * docs/libs/gstreamer-libs-sections.txt:
942         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
943         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
944         (gst_base_sink_event), (gst_base_sink_perform_seek),
945         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
946         (gst_base_sink_send_event), (gst_base_sink_change_state):
947         * libs/gst/base/gstbasesink.h:
948         Add method to commit the state in subclasses.
949         Refactor the flush_start and flush_stop code because we need it for
950         flushing while seeking too.
951         Implement the beginnings of seeking in pull mode.
952         Use the segment last_stop field for the pulling offset.
953         Fix the pause method in pull mode.
954         Configure the segment to BYTES for pull mode.
955         API: GstBaseSink::gst_base_sink_do_preroll()
956
957 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
958
959         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
960         Update some docs.
961
962 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
963
964         * gst/gstquark.c: (_priv_gst_quarks_initialize):
965           Fix printf format warning.
966
967 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
968
969         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
970         Fix flow aggregation of tee. Error out immediately for all flow returns
971         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
972         and return OK if at least one pad is linked.
973
974         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
975         and otherwise returned the flow return of the last pad, which is wrong.
976         
977         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
978         (GST_START_TEST), (tee_suite):
979         Add unit tests for the flow aggregation.
980
981 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
982
983         * docs/design/part-TODO.txt:
984         Remove item from the todo list because it was fixed with the latency
985         state change rewrites.
986
987         * docs/design/part-seeking.txt:
988         * docs/design/part-segments.txt:
989         Update some docs.
990
991         * gst/gstevent.c: (gst_event_new_new_segment_full),
992         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
993         (gst_event_parse_buffer_size), (gst_event_new_qos),
994         (gst_event_parse_qos), (gst_event_new_seek),
995         (gst_event_parse_seek), (gst_event_new_latency),
996         (gst_event_parse_latency):
997         Use quarks to construct and parse events.
998
999         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1000         * gst/gstquark.h:
1001         Add some more quarks to the table.
1002         Emit a warning when the quark tables are not in sync.
1003
1004         * tests/check/gst/gstbus.c: (GST_START_TEST):
1005         Add an assert.
1006
1007 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
1008
1009         * plugins/elements/Makefile.am:
1010         * plugins/indexers/Makefile.am:
1011           Don't install static libs for plugins. Fixes #550851 for core.
1012
1013 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
1014
1015         * gst/gstbus.c: (gst_bus_source_finalize),
1016         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
1017         (gst_bus_enable_sync_message_emission),
1018         (gst_bus_disable_sync_message_emission),
1019         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
1020         Fix deadlock, g_source_get_id() cannot be called in finalize.
1021         Keep track of the watch source by keeping a pointer to the source object
1022         instead.
1023         Use the bus lock to protect access to the pointer to the current
1024         watch source.
1025
1026 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1027
1028         Base on Patch by: Olivier Crete <tester at tester dot ca>
1029
1030         * gst/gstbus.c: (gst_bus_source_finalize),
1031         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
1032         Only allow one bus watch to be set at a time. This is necessary
1033         because the dispatcher pops the message from the bus and the second
1034         watcher will then get NULL or the next message (and the first won't
1035         get this next message then, etc). If more than one "watcher" is
1036         required signal watches should be used. Fixes bug #526044.
1037
1038 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
1039
1040         * tools/gst-launch.c:
1041         Change the printing of the 'buffering...' output to avoid putting
1042         a \r in a translateable string (flagged by the TP).
1043
1044 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1045
1046         * gst/gstxml.c:
1047         Clarify that the save_thyself() and restore_thyself() virtual
1048         functions of GstObject need to be overriden, not
1049         gst_object_(save|restore)_thyself() which is impossible.
1050         Fixes bug #555700.
1051
1052 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
1053
1054         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
1055         Revert a patch from 21 months ago that broke caps negotiation in pull
1056         mode. Basically, having a buffer pass over a pad will trigger the
1057         setcaps function when caps change, just like in push mode.
1058
1059 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
1060
1061         * docs/design/part-negotiation.txt:
1062         Update the docs some more.
1063
1064         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1065         If we pull a buffer with non-trivial caps, suggest those caps with the
1066         max probability.
1067
1068 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
1069
1070         * docs/design/part-TODO.txt:
1071         Add another limitation of pad-blocking with segment seeks not pushing
1072         EOS events.
1073
1074 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
1075
1076         * win32/common/libgstbase.def:
1077         * win32/common/libgstreamer.def:
1078         Add new symbols to the win32 defs files
1079
1080 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
1081
1082         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
1083         (gst_bin_handle_message_func):
1084         The message src can be NULL, don't try to print the object names in that
1085         case.
1086
1087         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
1088         Add some more debug info.
1089
1090         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
1091         (GST_START_TEST):
1092         Add some debug.
1093         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
1094         scheduling modes.
1095
1096 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
1097
1098         * docs/design/part-negotiation.txt:
1099         Small doc update.
1100
1101         * docs/libs/gstreamer-libs-sections.txt:
1102         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1103         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
1104         (gst_base_sink_init), (gst_base_sink_set_blocksize),
1105         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
1106         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
1107         (gst_base_sink_loop), (gst_base_sink_pad_activate),
1108         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1109         (gst_base_sink_change_state):
1110         * libs/gst/base/gstbasesink.h:
1111         Add blocksize property and methods to control the amount of data
1112         to pull.
1113         Negotiate first before activating upstream in pull mode so that they can
1114         negotiate themselves.
1115         When we operate in pull mode, we only accept the caps that we
1116         negotiated.
1117         Make the sink go ASYNC to PAUSED, like all other sinks.
1118         API: GstBaseSink::gst_base_sink_set_blocksize()
1119         API: GstBaseSink::gst_base_sink_get_blocksize()
1120         API: GstBaseSink::blocksize
1121
1122         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1123         (gst_base_src_set_live), (gst_base_src_is_live),
1124         (gst_base_src_set_format), (gst_base_src_query_latency),
1125         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
1126         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
1127         (gst_base_src_set_property), (gst_base_src_get_property):
1128         * libs/gst/base/gstbasesrc.h:
1129         Add typechecking in public API functions.
1130         Add methods to control the blocksize in subclasses.
1131         API: GstBaseSrc::gst_base_src_set_blocksize()
1132         API: GstBaseSrc::gst_base_src_get_blocksize()
1133
1134 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
1135
1136         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
1137         (buffer_probe), (event_probe), (GST_START_TEST):
1138         We now see 3 events go through our pad, since basesink now sends
1139         upstream latency events.
1140
1141 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1142
1143         * gst/gstpipeline.c: (gst_pipeline_change_state):
1144         Release the object lock before trying to flush the bus.
1145
1146 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1147
1148         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1149         Forward LATENCY events upstreams so that elements know about the total
1150         pipeline latency. Fixes #555307.
1151
1152 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
1153
1154         * plugins/elements/gstqueue.c:
1155         Allow through queries when we don't know how
1156         to adjust them (not TIME or BYTES), as otherwise it's
1157         not possible to query the current position in order
1158         to seek in other formats at all.
1159
1160 2008-10-08  Andy Wingo  <wingo@pobox.com>
1161
1162         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
1163
1164 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1165
1166         * gst/gstghostpad.c:
1167         * gst/gstghostpad.h:
1168         Unbreak -good build, private is a reserved c++ keyword.
1169
1170 2008-10-08  Andy Wingo  <wingo@pobox.com>
1171
1172         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
1173         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
1174         removal: re-add GST_GHOST_PAD_CAST to the header.
1175
1176         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
1177         (GstGhostPadClass): Publically expose these structures so as to
1178         allow easy subclassing from C. Hide the member data behind a
1179         private opaque data pointer.
1180
1181         * gst/gstghostpad.c: Adapt to store instance data in the type
1182         instance's private data region, not in the public struct.
1183
1184 2008-10-08  Andy Wingo  <wingo@pobox.com>
1185
1186         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1187         template via g_object_get(), be sure to unref it.
1188
1189         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1190
1191 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1192
1193         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1194         If we can't get a cache file don't try to save something to it.
1195         Dereferencing NULL pointers usually isn't a good idea.
1196
1197 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1198
1199         * tests/check/Makefile.am:
1200         * tests/check/gst/gstabi.c:
1201         * tests/check/gst/struct_sparc.h:
1202         * tests/check/libs/libsabi.c:
1203         * tests/check/libs/struct_sparc.h:
1204         Add Sparc ABI checks
1205
1206         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1207         Cast signed integer to unsigned to avoid a compiler warning.
1208
1209 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1210
1211         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1212         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1213         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1214         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1215         (gst_byte_reader_peek_int24_be):
1216         Use new GST_READ_UINT24_(LE|BE) macros.
1217
1218 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1219
1220         * docs/gst/gstreamer-sections.txt:
1221         * gst/gstutils.h:
1222         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1223         as it's too easy to break the ISO C strict aliasing rules with simple
1224         casts to the corresponding type and this would introduce hard to debug
1225         bugs. Fixes bug #545714.
1226
1227         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1228
1229 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1230
1231         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1232         * gst/gstghostpad.c: (gst_ghost_pad_construct):
1233           Add 'Since' bits to gtk-doc chunks for new API.
1234
1235 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
1236
1237         * docs/gst/gstreamer-sections.txt:
1238         Fix documentation
1239
1240 2008-10-06  Andy Wingo  <wingo@pobox.com>
1241
1242         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1243         that will be called on the malloc_data to free it. Basically a way
1244         to avoid subclassing when all you need is a different free
1245         function, i.e. free() instead of g_free().
1246
1247         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1248         calling the free function.
1249         (gst_buffer_init): Initialize the free function to g_free.
1250
1251 2008-10-06  Andy Wingo  <wingo@pobox.com>
1252
1253         * gst/gstghostpad.h:
1254         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1255         finishes the initialization of ghost pad. Useful for language
1256         bindings and subclassers of GstGhostPad. Fixes #539108.
1257         (gst_ghost_pad_new_full): Use the new constructor.
1258
1259 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1260
1261         Base on Patch by: Olivier Crete <tester at tester dot ca>
1262
1263         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1264         (gst_bin_remove_func), (update_degree),
1265         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1266         Keep track of pads that are being linked/unlinked and resync the state
1267         changes.
1268
1269         * gst/gstpad.c: (gst_pad_get_direction),
1270         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1271         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1272         (gst_pad_link_prepare), (gst_pad_link),
1273         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1274         (gst_pad_check_pull_range), (gst_pad_get_range),
1275         (gst_pad_pull_range):
1276         Some code cleanups, use macros to check pad direction.
1277         Don't need to take the lock on the pad direction.
1278         Post structure change when pads are linked/unlinked.
1279         Change some checks into _return_if_fail().
1280
1281         * tests/check/gst/gstbin.c:
1282         (test_link_structure_change_state_changed_sync_cb),
1283         (GST_START_TEST), (gst_bin_suite):
1284         Add testcase for pad link/unlinke resync during a state change.
1285         Fixes #510354.
1286
1287 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1288
1289         * docs/gst/gstreamer-sections.txt:
1290         * gst/gstmessage.c: (gst_message_new_structure_change),
1291         (gst_message_parse_structure_change):
1292         * gst/gstmessage.h:
1293         Implement STRUCTURE_CHANGED messages. These messages will be used to
1294         signal the parent bin of link/unlink operations that could require a
1295         resync when doing a state change. See ##510354.
1296         API: gst_message_new_structure_change()
1297         API: gst_message_parse_structure_change()
1298
1299 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1300
1301         * gst/gstquark.c:
1302         * gst/gstquark.h:
1303         Add some more quarks for new message. See #510354.
1304
1305 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1306
1307         * docs/libs/gstreamer-libs-docs.sgml:
1308         * docs/libs/gstreamer-libs-sections.txt:
1309         * libs/gst/base/Makefile.am:
1310         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1311         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1312         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1313         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1314         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1315         (gst_bit_reader_skip_to_byte):
1316         * libs/gst/base/gstbitreader.h:
1317         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1318         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1319         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1320         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1321         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1322         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1323         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1324         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1325         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1326         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1327         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1328         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1329         * libs/gst/base/gstbytereader.h:
1330         * tests/check/Makefile.am:
1331         * tests/check/libs/bitreader.c: (GST_START_TEST),
1332         (gst_bit_reader_suite):
1333         * tests/check/libs/bytereader.c: (GST_START_TEST),
1334         (gst_byte_reader_suite):
1335         API: Add bit reader and byte reader classes, including documentation
1336         and an extensive unit test suite. Fixes bug #553554.
1337
1338 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1339
1340         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1341         (gst_base_sink_query):
1342         Improve position reporting while flushing and other intermediate state
1343         changes. Fixes #553874.
1344
1345 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1346
1347         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1348
1349         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1350         Original patch by : Simon Descaries
1351         Fix small refount leak in caps compatibility check.
1352         Fixes #551676.
1353
1354 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1355
1356         * docs/pwg/advanced-request.xml:
1357           Fix 0.8 api usage in example. Fixes #554561
1358
1359         * docs/pwg/appendix-porting.xml:
1360           Change 0.9 to 0.10 here.
1361
1362 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1363
1364         * docs/manual/basics-data.xml:
1365           Change "event-event interaction" to "element-element interaction".
1366           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1367           updates.
1368
1369 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
1370
1371         * configure.ac:
1372         Back to development -> 0.10.21.1
1373
1374 === release 0.10.21 ===
1375
1376 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
1377
1378         * configure.ac:
1379           releasing 0.10.21, "Take These Things From Me"
1380
1381 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1382
1383         * configure.ac:
1384         0.10.20.4 pre-release
1385
1386 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1387
1388         * libs/gst/base/gstbasetransform.c:
1389         * plugins/elements/gstcapsfilter.c:
1390         * tests/check/Makefile.am:
1391         * tests/check/elements/.cvsignore:
1392         * tests/check/elements/capsfilter.c:
1393         Fix assertion in basetransform when the subclass chooses not to
1394         allocate a buffer in prepare_buffer(), and make capsfilter error out
1395         cleanly if requested to apply caps that don't completely specify the
1396         buffer. Fixes #551509
1397
1398 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1399
1400         * libs/gst/base/gstbasetransform.c:
1401         (gst_base_transform_prepare_output_buffer):
1402         Take new caps ref because our old one might have been gone when the
1403         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1404
1405 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
1406
1407         * configure.ac:
1408           Do not probe availability of check unit test library when cross
1409           compiling, as test would not work anyway. Also cleanup verbose output
1410           of the check test. Fixes #551952.
1411
1412 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1413
1414         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1415
1416         * gst/gstelement.c: (gst_element_sync_state_with_parent):
1417         Avoid leaking the parent ref when we fail changing the state of the
1418         element using gst_element_sync_state_with_parent(). Fixes #551978.
1419
1420 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1421
1422         * docs/manual/intro-motivation.xml::
1423           Remove some bits that no longer apply, update others (#551642).
1424
1425 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1426
1427         * configure.ac:
1428         0.10.20.2 pre-release
1429
1430         * po/LINGUAS:
1431         * po/id.po:
1432         * po/pt_BR.po:
1433
1434         New translations.
1435
1436 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1437
1438         * win32/common/config.h.in:
1439           Add GST_DATADIR, hard-code cpu to x86.
1440
1441         * win32/common/libgstreamer.def:
1442           Spaces to tabs.
1443
1444 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1445
1446         * gst/gsttaglist.h:
1447           Fix Since: markers for new geo tags.
1448
1449 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1450
1451         * gst/gsttaglist.h:
1452           Fix actual tag name define after renaming from altitude to elevation.
1453
1454 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1455
1456         * gst/gstpad.c: (add_unref_pad_to_list),
1457         (gst_pad_get_internal_links_default):
1458         Add fallback when calling the deprecated function on an element that
1459         implements the new internal_link handler.
1460
1461 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1462
1463         * docs/gst/gstreamer-sections.txt:
1464         * gst/gsttaglist.c:
1465         * gst/gsttaglist.h:
1466           Add new tags for geo location and clarify purpose of existing location
1467           tag. Fixes #481169
1468
1469 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1470
1471         Patch by: Olivier Crete <tester at tester dot ca>
1472
1473         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1474         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1475         Use thread-safe internal links iterator. Fixes #549504.
1476
1477 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1478
1479         Based on patch by: Olivier Crete <tester at tester dot ca>
1480
1481         * docs/gst/gstreamer-sections.txt:
1482         * win32/common/libgstreamer.def:
1483         * gst/gstpad.c: (gst_pad_init),
1484         (gst_pad_set_iterate_internal_links_function),
1485         (int_link_iter_data_free), (iterate_pad),
1486         (gst_pad_iterate_internal_links_default),
1487         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1488         * gst/gstpad.h:
1489         Add threadsafe replacement functions for getting internal links of an
1490         element. Deprecate the old internal links functions.
1491         API:GstPad::gst_pad_set_iterate_internal_links_function()
1492         API:GstPad::GstPadIterIntLinkFunction
1493         API:GstPad::gst_pad_iterate_internal_links()
1494         API:GstPad::gst_pad_iterate_internal_links_default()
1495
1496         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1497         (gst_proxy_pad_init):
1498         Implement threadsafe internal links.
1499
1500         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1501         Unit test for internal links on tee. See #549504.
1502
1503 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1504
1505         * tests/check/Makefile.am:
1506         libs/transform1 test requires libs/test_transform.c
1507
1508 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1509
1510         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1511         Die evil deadlock, die !
1512
1513 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1514
1515         * gst/gstutils.c: (gst_element_get_compatible_pad):
1516         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1517         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1518         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1519         not steal the refcount of the given caps as stated.
1520
1521         REVERT THIS COMMIT ONCE FIXED !
1522         REVERT THIS COMMIT ONCE FIXED !
1523         REVERT THIS COMMIT ONCE FIXED !
1524         REVERT THIS COMMIT ONCE FIXED !
1525         REVERT THIS COMMIT ONCE FIXED !
1526         REVERT THIS COMMIT ONCE FIXED !
1527
1528 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1529
1530         * gst/gstiterator.c:
1531         * gst/gstiterator.h:
1532         After 3 years it's about time to revise the documentation of the
1533         iterator objects.
1534
1535 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1536
1537         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1538         Make the internal links function less thread-unsafe and add some
1539         comments, dunno why.
1540
1541 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1542
1543         * gst/gst_private.h:
1544           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1545           build with --disable-gst-debug.
1546
1547 2008-08-28  David Schleef  <ds@schleef.org>
1548
1549         * gst/gstpadtemplate.c: Revert last change, since it breaks
1550           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1551           but shouldn't be enabled until we've released fixed versions
1552           of -good and -ffmpeg.
1553
1554 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1555
1556         * gst/gstobject.c:
1557           Put the gst_object_get_name() back in.
1558
1559 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1560
1561         * gst/gstpadtemplate.c:
1562           The old behaviour was that gst_pad_template_new() takes ownership of
1563           the caps. As we now call g_object_new() which calls g_object_set() and
1564           which copies the caps, we have to unref them to not leak them. Fixes
1565           make valgrid for me.
1566
1567 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1568
1569         * gst/gsturi.c:
1570           Don't segfault on input like "tel:+1-123-555-1234".
1571
1572 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1573
1574         * gst/gstobject.c:
1575           Due to popular request also include ObjectType in
1576           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1577
1578 2008-08-26  David Schleef  <ds@schleef.org>
1579
1580         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1581           src_val must be positive, because that's not a requirement.
1582           This causes problems with converting negative granulepos
1583           values for Dirac.
1584         * gst/gstquery.c: Same, gst_query_new_convert().
1585
1586 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1587
1588         * gst/gstclock.c: (gst_clock_add_observation):
1589         Add some more debugging to the clock slaving code.
1590
1591         * win32/common/libgstbase.def:
1592         Add new basetransform method.
1593
1594 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1595
1596         * gst/gstbin.c: (gst_bin_element_set_state):
1597         Take the (recursive) state lock between getting the locked state of an
1598         element and changing the element state. This allows the application to
1599         lock an element's state and then change its state without races.
1600
1601 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1602
1603         * gst/gstbin.c: (gst_bin_element_set_state):
1604         When an element is in the locked state we still want to update the
1605         base_time of the element.
1606
1607 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1608
1609         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1610         Use the result from gst_pad_set_caps() instead of assuming the element
1611         always accepted the caps computed by the default negotiate function.
1612
1613 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1614
1615         * docs/libs/gstreamer-libs-sections.txt:
1616         * libs/gst/base/gstbasetransform.c:
1617         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1618         (gst_base_transform_chain), (gst_base_transform_suggest),
1619         (gst_base_transform_reconfigure):
1620         * libs/gst/base/gstbasetransform.h:
1621         Implement method for reconfiguring basetransform.
1622         API: GstBaseTransform::gst_base_transform_reconfigure()
1623
1624 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1625
1626         patch by: Murray Cumming <murrayc@murrayc.com>
1627
1628         * gst/gstutils.c:
1629           Mention that this is just like gst_buffer_merge() but with extra
1630           unreffing for C coders. Advise language bindings not to wrap it.
1631           Fixes Bug #533856.
1632           
1633           Also fix file comment.
1634
1635 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1636
1637         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1638
1639         * plugins/elements/gstfakesink.c:
1640         * plugins/elements/gstfakesrc.c:
1641           Call super::event() when not handling it. Fixes #544855.
1642
1643 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1644
1645         Patch by: Alessandro Decina <alessandro@nnva.org>
1646         * plugins/elements/gstfilesrc.c:
1647           Use 64 bit variants of stat functions on win32, to enable support
1648           of large files there.
1649           Fixes #547277.
1650
1651 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1652
1653         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1654         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1655         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1656         (gst_base_sink_get_position), (gst_base_sink_change_state):
1657         Improve position reporting in the flushing state.
1658         Also report the position when we are not yet prerolled but we
1659         have a newsegment event. Fixes #543444.
1660         Improve the pull-based negotiation code.
1661
1662         * tests/check/elements/fakesink.c: (GST_START_TEST),
1663         (fakesink_suite):
1664         Add testcase for position reporting while flushing in PAUSED and
1665         PLAYING.
1666
1667         * tests/check/generic/sinks.c: (GST_START_TEST):
1668         Update unit-test, we can now query the position as soon as we receive a
1669         NEWSEGMENT event.
1670
1671 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1672
1673         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1674
1675         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1676         When the subclass event handler releases the PREROLL_LOCK, we could be
1677         in the flushing state and we have to ignore the event. Fixes #548394.
1678
1679 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1680
1681         * tools/gst-launch.1.in:
1682           Document GST_REGISTRY_UPDATE environment variable.
1683
1684 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1685
1686         * libs/gst/base/gstbasetransform.c:
1687         (gst_base_transform_prepare_output_buffer):
1688         If the element is configured in passthrough mode but the
1689         prepare_output_buffer gave us a new output buffer, discard that buffer
1690         and reuse the input buffer.
1691
1692 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1693
1694         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1695
1696         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1697         (gst_tee_request_new_pad), (gst_tee_release_pad),
1698         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1699         * plugins/elements/gsttee.h:
1700         Protect pad_alloc with a new lock so that we can be sure that nothing is
1701         performing a pad_alloc when removing the pad. Fixes #547835.
1702
1703         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1704         (buffer_alloc_harness_teardown), (app_thread_func),
1705         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1706         Added testcase for shutdown race.
1707
1708 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1709
1710         * gst/gstpad.h:
1711         Add doc
1712
1713 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1714
1715         * libs/gst/base/gstbasetransform.c:
1716         (gst_base_transform_prepare_output_buffer),
1717         (gst_base_transform_buffer_alloc):
1718         Go over the buffer_alloc function again and make sure we always end up
1719         allocating a buffer.
1720         Add some more docs.
1721         Avoid doing pad alloc when we have a pending suggestion because we
1722         cannot yet deal with changing caps in that case. Fixes #547728
1723
1724 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1725
1726         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1727
1728         * docs/manual/advanced-clocks.xml:
1729         * docs/manual/clocks.png:
1730         * docs/manual/diagrams-clocks.svg:
1731           Add one more image showing different times together with a describing
1732           paragraph. Fixes #547729.
1733
1734 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1735
1736         * win32/common/libgstbase.def:
1737         Add new method.
1738
1739 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1740
1741         * libs/gst/base/gstbasetransform.c:
1742         (gst_base_transform_transform_caps),
1743         (gst_base_transform_prepare_output_buffer),
1744         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1745         Don't overwrite the outsize when calculating the expected size of a new
1746         buffer because we still need it in case we cannot process the new
1747         buffer.
1748         When converting the size of the new buffer to an upstream size, actually
1749         use the expected size of the buffer, not some other random value.
1750         Use an atomic int to signal that a new upstream caps suggestion is
1751         available.
1752         When we can convert the current buffer to a new format, check if the
1753         buffer size is of the expected size and allocate a new buffer of the
1754         expected size when this is not the case. Fixes #546883.
1755
1756         * tests/check/libs/transform1.c: (GST_START_TEST):
1757         remove ifdeffed code from the unit test.
1758
1759 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1760
1761         * pkgconfig/gstreamer-uninstalled.pc.in:
1762         * pkgconfig/gstreamer.pc.in:
1763           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1764           called gstcontroller-0.10.
1765
1766 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1767
1768         * gst/gstchildproxy.h:
1769         * gst/gstpreset.h:
1770           Remove double interface from doc-string.        
1771
1772 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1773
1774         * libs/gst/base/gstbasesrc.c:
1775         * libs/gst/base/gstbasetransform.c:
1776           Fix headings in docs and gtk-doc warnings.
1777
1778 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1779
1780         * gst/gstregistrybinary.c:
1781           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1782           libc.
1783           Fixes #544776.
1784
1785 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1786
1787         * libs/gst/base/gstbasetransform.c:
1788         (gst_base_transform_buffer_alloc):
1789         Fix a "may be used unitialized" warning.
1790
1791 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1792
1793         * docs/gst/gstreamer-sections.txt:
1794         * gst/gstpreset.h:
1795           Document preset-iface vmethods.
1796
1797 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1798
1799         * docs/manual/advanced-interfaces.xml:
1800           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1801           only used to discover devices.
1802
1803 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1804
1805         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1806
1807         * gst/gst.c: (init_pre):
1808         Make sure gettext returns translations in UTF-8 encoding rather
1809         than in the current locale encoding (#546822).
1810
1811 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1812
1813         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1814         Fix subset test.
1815
1816         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1817         Improve unit test subset tests and add a testcase for the subset failure
1818         cases.
1819
1820         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1821         Improve subtraction unit test.
1822
1823 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1824
1825         * plugins/elements/gsttee.c:
1826           Unlock, instead of locking again.
1827
1828 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1829
1830         * gst/gstpad.h:
1831         Clarify the docs a bit more.
1832
1833 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1834
1835         * tests/examples/metadata/read-metadata.c:
1836           Don't leak old taglist.
1837
1838 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1839
1840         Patch by: Olivier Crete <tester at tester dot ca>
1841
1842         * gst/gststructure.c:
1843         (gst_structure_fixate_field_nearest_fraction):
1844         Avoid overflows in fixation code when dealing with MAXINT values, which
1845         v4l2src seems to do.
1846         Fixes #546328.
1847
1848         * tests/check/gst/gststructure.c: (GST_START_TEST):
1849         Make a unit test to check the fix. 
1850
1851 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1852
1853         * plugins/elements/gstcapsfilter.c: (copy_func),
1854         (gst_capsfilter_set_property):
1855         Use new caps suggestion feature of basetransform to request a caps
1856         negotiation upstream.
1857
1858 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1859
1860         * docs/libs/gstreamer-libs-sections.txt:
1861         Add new function:
1862         API: GstBaseTransform::gst_base_transform_suggest()
1863
1864         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1865         (gst_base_transform_init), (gst_base_transform_transform_caps),
1866         (gst_base_transform_transform_size),
1867         (gst_base_transform_configure_caps),
1868         (gst_base_transform_can_transform),
1869         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1870         (gst_base_transform_prepare_output_buffer),
1871         (gst_base_transform_buffer_alloc),
1872         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1873         (gst_base_transform_chain), (gst_base_transform_activate),
1874         (gst_base_transform_set_passthrough),
1875         (gst_base_transform_is_passthrough),
1876         (gst_base_transform_set_in_place),
1877         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1878         (gst_base_transform_set_qos_enabled),
1879         (gst_base_transform_is_qos_enabled),
1880         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1881         (gst_base_transform_reconfigure):
1882         * libs/gst/base/gstbasetransform.h:
1883         Rewrite of basetransform to perform negotiation outside of the
1884         buffer_alloc functions.  Fixes #545853.
1885
1886         * tests/check/libs/transform1.c: (GST_START_TEST),
1887         (buffer_alloc_ct2):
1888         Update unit test.
1889
1890 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1891
1892         * tests/check/gst/gstpreset.c:
1893           Only run preset tests when $HOME is writable. Preliminary fix for
1894           #545433.
1895
1896 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1897
1898         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1899         (gst_bin_change_state_func), (bin_handle_async_done),
1900         (gst_bin_handle_message_func):
1901         Fix race for bins that simulate ASYNC state changes by inserting
1902         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1903         pending ASYNC messages even when the bin does not have ASYNC children.
1904         We note detect this behaviour because we will receive an ASYNC message
1905         that is originating from the bin itself. 
1906         Fixes races with decodebin2 state changes.
1907
1908         * tests/check/gst/gstbin.c: (GST_START_TEST):
1909         Add some more debug.
1910
1911 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1912
1913         * gst/gsttaglist.c: (_gst_tag_initialize):
1914           Fix typo.
1915
1916 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1917
1918         * gst/gsttaglist.c:
1919           Argh. actually save the text before committing. Now adds
1920           gst_tag_merge_strings_with_comma() to gst_tag_register().
1921
1922 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1923
1924         * gst/gsttaglist.c:
1925         * gst/gsttaglist.h:
1926           Do as tim pointed out and actually register the new tag. Also improve
1927           te docs and use gst_tag_merge_strings_with_comma() method to allow
1928           retriving all keywords merged in one list.
1929
1930 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1931
1932         * configure.ac:
1933         * docs/gst/gstreamer.types:
1934           Revert 'accidential' change of the configure option removal. We still
1935           need to generate the types file in configure --disable-load-save.
1936
1937 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1938
1939         * docs/gst/gstreamer-sections.txt:
1940         * gst/gsttaglist.h:
1941           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1942
1943 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1944
1945         * gst/gstpadtemplate.c:
1946           (gst_pad_template_class_init), (gst_static_pad_template_get),
1947           (gst_pad_template_new), (gst_pad_template_pad_created),
1948           (gst_pad_template_set_property), (gst_pad_template_get_property):
1949           Add "name-template", "direction", "presence" and "caps" properties,
1950           so that gst_pad_template_new() is just a thin wrapper around
1951           g_object_new(), which is better for bindings. (Fixes: #539772)
1952
1953 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1954
1955         * gst/gsturi.c:
1956           Be more liberal in what URIs we accept.
1957           Do not unescape bits of the URI for no apparent reason before passing to
1958           the element. Fixes #545352.
1959
1960 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1961
1962         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1963
1964         * gst/gst.c:
1965         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1966
1967 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1968
1969         * configure.ac:
1970         * docs/gst/gstreamer-sections.txt:
1971         * docs/gst/gstreamer.types:
1972         * docs/gst/gstreamer.types.in:
1973         * gst/Makefile.am:
1974         * gst/gst.c:
1975         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1976         * gst/gstconfig.h.in:
1977         * gst/gstelement.c: (gst_element_get_index):
1978         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1979         (gst_registry_binary_load_feature),
1980         (gst_registry_binary_read_cache):
1981         * gst/gstregistryxml.c: (load_feature),
1982         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1983         * plugins/Makefile.am:
1984         * tools/gst-indent:
1985         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1986         (print_plugin_features), (print_element_features):
1987         * tools/gst-xmlinspect.c: (print_event_masks),
1988         (print_element_info):
1989         * win32/common/gstconfig.h:
1990         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1991
1992         Disabling the indexers and URI handler code will only reduce the
1993         required amount of memory by a very small amount but on the other hand
1994         requires much more maintaince work. Apart from that many places of
1995         code are broken when disabling them.
1996
1997         Disabling the enum types doesn't reduce the required amount of memory
1998         by more than a few bytes and makes it hard to fix bugs like #539772,
1999         i.e. use the enums as GObject properties.
2000
2001 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
2002
2003         * docs/design/part-TODO.txt:
2004         Add some thoughts and problems with upstream renegotiation.
2005
2006 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
2007
2008         * gst/gstpad.c: (gst_pad_acceptcaps_default),
2009         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
2010         Remove silly redundant debug.
2011         Add some more debug info.
2012         Clarify the docs regarding new caps received from pad_alloc.
2013
2014 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
2015
2016         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
2017         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
2018         Make setting the caps more threadsafe.
2019
2020 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
2021
2022         * docs/design/part-element-transform.txt:
2023         Update docs.
2024
2025 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
2026
2027         * plugins/elements/gstqueue.c: (gst_queue_init),
2028         (gst_queue_acceptcaps):
2029         Add and use a custom acceptcaps function instead of falling back to the
2030         potentially less optimized default implementation.
2031
2032 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
2033
2034         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2035           Only sanity-check the buffer size if requested_caps == buffer_caps
2036           (ie. don't take pad caps into account, they're not relevant here)
2037
2038 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
2039
2040         * plugins/elements/gsttee.c:
2041         * plugins/elements/gsttee.h:
2042           Reverting as not everything is clear yet. Needs some general design
2043           work.
2044
2045 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
2046
2047         * ChangeLog:
2048           ChangeLog surgery for tee commit.
2049
2050 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
2051
2052         * docs/gst/gstreamer-sections.txt:
2053           Cleanup section-file.
2054
2055 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
2056
2057         * plugins/elements/gsttee.c:
2058         * plugins/elements/gsttee.h:
2059           Relay tag events in tee. Fixes parts of #474016.
2060           Downgrades 3 reoccurring debugs to log.
2061
2062 2008-07-28  Michael Smith <msmith@songbirdnest.com>
2063
2064         * configure.ac:
2065         * libs/gst/Makefile.am:
2066           Build the net library if we have winsock2.
2067
2068 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
2069
2070         patch by: Luc Pionchon <luc.pionchon@nokia.com>
2071
2072         * docs/manual/advanced-threads.xml:
2073         * docs/manual/diagrams-pipelines.svg:
2074         * docs/manual/hello-world.png:
2075         * docs/manual/linked-elements.png:
2076         * docs/manual/mime-world.png:
2077         * docs/manual/queue.png:
2078         * docs/manual/thread-buffering.png:
2079         * docs/manual/thread-synchronizing.png:
2080           Replace one diagram with two separate ones and updates others.
2081           Fixes #542401.
2082
2083 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2084
2085         * gst/gstelement.h:
2086         Fix link in documentation.
2087
2088 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
2089
2090         * gst/gstmessage.c:
2091         Fix confusing documentation.
2092
2093 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
2094
2095         * libs/gst/base/gstbasesrc.h:
2096         revert the changes to the header file for the ABI.
2097
2098 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
2099
2100         * libs/gst/base/gstbasesrc.c:
2101         * libs/gst/base/gstbasesrc.h:
2102         Don't cache the seekable status.
2103         Fixes bug #544174
2104
2105 2008-07-24  Rene Stadler  <mail@renestadler.de>
2106
2107         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
2108         code to close the pipeline graph.  This prevents the program from
2109         printing internal data flow errors.
2110
2111 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2112
2113         * docs/manual/basics-bus.xml:
2114         Correct typo. Fixes bug #544320.
2115
2116 2008-07-22  Michael Smith <msmith@songbirdnest.com>
2117
2118         * configure.ac:
2119           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
2120           Add check (taken from -base) for winsock, adds WIN32_LIBS
2121         * gst/Makefile.am:
2122           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
2123           winsock.
2124           Define GST_EXPORTS when building libgstreamer (only used on win32)
2125         * gst/gst_private.h:
2126         * gst/gstinfo.h:
2127           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
2128           for symbols that we need to export in both these files.
2129         * gst/gstpoll.c:
2130           Include gst_private.h higher up to avoid some compile problems on win32.
2131
2132 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2133
2134         * gst/gstvalue.c:
2135         Fix typos.
2136
2137 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2138
2139         * gst/gstcaps.c:
2140         Previous commit was wrong NULL caps does not exist
2141         and indicate an error, so also add a FIXME to
2142         gst_caps_is_equal where NULL caps are accepted.
2143
2144 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2145
2146         * gst/gstcaps.c:
2147         Allow passing of NULL to gst_caps_union
2148
2149 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2150
2151         * gst/gstghostpad.c:
2152         Add in doc that gst_ghost_pad_set_target can accept
2153         NULL to clear target
2154
2155 2008-07-15  Michael Smith <msmith@songbirdnest.com>
2156
2157         * gst/gstplugin.c:
2158         * gst/gstregistry.c:
2159           GstRegistryPool doesn't exist; don't refer to it in docs.
2160           Don't refer to functions that don't exist in docs, it's
2161           unhelpful.
2162
2163 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2164
2165         * gst/gst.c:
2166         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
2167
2168 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2169
2170         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
2171
2172         * docs/pwg/building-testapp.xml:
2173         Don't use an undeclared variable in the example program.
2174         Fixes bug #542573.
2175
2176 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
2177
2178         * gst/gstdebugutils.c:
2179           Squeeze ghost-pad links and remove <> from classname labels to save
2180           more horizontal space.
2181
2182 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
2183
2184         * gst/gstdebugutils.c:
2185           Give request and sometimes pads a different shpe style. Condense the
2186           graphs a little more.
2187
2188 2008-07-09  Michael Smith <msmith@songbirdnest.com>
2189
2190         * configure.ac:
2191           Don't require flex and bison if the parser is disabled.
2192
2193 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2194
2195         * libs/gst/controller/gstinterpolationcontrolsource.c:
2196         (_list_find_sorted_custom):
2197         Don't use declarations after statements.
2198
2199 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2200
2201         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2202         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2203         of the the child-added / -removed signals as GstChildProxy
2204         only supports GstObjects.
2205
2206 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
2207
2208         * gst/gstdebugutils.c:
2209         Fix memleak
2210
2211 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2212
2213         Patch by: Alessandro Decina <alessandro at nnva dot org>
2214
2215         * gst/gstpoll.c:
2216         Fix "ignored return value" compiler warning with newer glibc.
2217
2218 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2219
2220         * gst/gstchildproxy.c:
2221         Fix copy&paste error in gst_child_proxy_removed() documentation.
2222
2223 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
2224
2225         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2226           Print error debug message if plugin description fields that should
2227           be set are NULL.
2228
2229         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2230           Don't crash if the string to serialise is NULL (it really should
2231           not be, but apparently this used to work with the xml registry ...).
2232
2233 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
2234
2235         * tools/gst-plot-timeline.py:
2236         Fix parsing of log messages
2237
2238 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
2239
2240         * win32/common/libgstbase.def::
2241           Sort alphabetically so make check-exports doesn't barf.
2242
2243 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
2244
2245         * gst/gstevent.c:
2246           Use gst_format_get_name() to improve debug output.
2247
2248         * gst/gstpreset.c:
2249           Remove #ifdef'ed code. Add TODO comment.
2250
2251         * gst/gstsegment.c:
2252           Add debug output to ease spotting format != segment.format assertions.
2253
2254 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2255
2256         * tests/check/libs/gdp.c: (gst_dp_suite):
2257         Also enable the GDP unit test again on PPC now that the bug
2258         is fixed.
2259
2260 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2261
2262         * libs/gst/dataprotocol/dataprotocol.c:
2263         Don't write to the same region of memory as a uint64 and uint16
2264         as this breaks strict aliasing rules and apparantly breaks on PPC
2265         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2266
2267 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2268
2269         * libs/gst/controller/gstinterpolationcontrolsource.c:
2270           Optimize list handling. Use own find function. Exploit that fact that
2271           the list is sorted. Also pass back the node before, so that we can
2272           insert quickly. Have a fast path for append.
2273
2274 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2275
2276         * docs/design/draft-framestep.txt:
2277         * docs/design/part-negotiation.txt:
2278           Fix two typos.
2279
2280 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2281
2282         * configure.ac:
2283           Show configuration sumary after configure run. Based on patch by
2284           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2285
2286 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2287
2288         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2289
2290         * docs/manual/advanced-autoplugging.xml:
2291         * docs/manual/advanced-threads.xml:
2292         * docs/manual/basics-bins.xml:
2293         * docs/manual/basics-elements.xml:
2294         * docs/manual/basics-helloworld.xml:
2295         * docs/manual/basics-pads.xml:
2296           Add scale factor for pdf output.
2297
2298         * docs/manual/intro-basics.xml:
2299           Switched sections "pads" and "bins" and added a pipeline diagram.
2300
2301         * docs/manual/intro-gstreamer.xml:
2302           Added more info on gstreamer.
2303
2304         * docs/manual/intro-motivation.xml:
2305           Commented out the whole section "current problem", which sounds
2306           historical and somehow osolete; it could be turned in a positive
2307           way and reused to improve the design principles.
2308
2309         * docs/manual/intro-preface.xml:
2310           - Update URLs to library.gnome.org. 
2311           - Do not mention GTK+ in preliminary reading (irrelevant). 
2312           - Mention Plugin Writer's Manual and further reading only in the
2313             previous section.
2314           - Added a list of most relevant GObject/glib topics.
2315
2316         * docs/manual/Makefile.am:
2317         * docs/manual/bin-element-ghost.fig:
2318         * docs/manual/bin-element-ghost.png:
2319         * docs/manual/bin-element-noghost.fig:
2320         * docs/manual/bin-element-noghost.png:
2321         * docs/manual/bin-element.fig:
2322         * docs/manual/bin-element.png:
2323         * docs/manual/filter-element-multi.fig:
2324         * docs/manual/filter-element-multi.png:
2325         * docs/manual/filter-element.fig:
2326         * docs/manual/filter-element.png:
2327         * docs/manual/gstreamer-overview.png:
2328         * docs/manual/hello-world.fig:
2329         * docs/manual/hello-world.png:
2330         * docs/manual/linked-elements.fig:
2331         * docs/manual/linked-elements.png:
2332         * docs/manual/mime-world.fig:
2333         * docs/manual/mime-world.png:
2334         * docs/manual/queue.fig:
2335         * docs/manual/queue.png:
2336         * docs/manual/simple-player.png:
2337         * docs/manual/sink-element.fig:
2338         * docs/manual/sink-element.png:
2339         * docs/manual/src-element.fig:
2340         * docs/manual/src-element.png:
2341         * docs/manual/diagrams-general.svg:
2342         * docs/manual/diagrams-pipelines.svg:
2343           Removed .fig, added .png counterpart.
2344           
2345           Fixes: #539137
2346
2347 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
2348
2349         * plugins/elements/gstmultiqueue.c:
2350         * plugins/elements/gstmultiqueue.h:
2351         revert extra-size-buffers stuff, caused some race conditions
2352         and extra-size-buffers is not used anymore. Docs needs some updates
2353
2354 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2355
2356         * win32/common/config.h:
2357         * win32/common/gstenumtypes.c:
2358         * win32/common/gstenumtypes.h:
2359         * win32/common/gstversion.h:
2360           Update win32 files.
2361
2362 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2363
2364         * gst/gstdebugutils.h: (GstDebugGraphDetails),
2365           (GST_DEBUG_BIN_TO_DOT_FILE):
2366           Add missing Since' markers to gtk-doc blurbs.
2367
2368 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
2369
2370         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2371         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2372         (set_caps_1), (set_caps_ct1), (transform_ct1),
2373         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2374         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2375         (transform_size_ct2), (buffer_alloc_ct2):
2376         Add some more tests with switching caps in buffer_alloc.
2377
2378 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2379
2380         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2381         (gst_test_trans_class_init), (result_sink_chain),
2382         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2383         (gst_test_trans_push), (gst_test_trans_pop):
2384         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2385         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2386         (set_caps_1), (set_caps_ct1), (transform_ct1),
2387         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2388         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2389         (transform_size_ct2), (buffer_alloc_ct2),
2390         (gst_basetransform_suite):
2391         More tests, prepare for tests with switching caps in buffer_alloc.
2392
2393 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2394
2395         * plugins/elements/gstmultiqueue.c:
2396         * plugins/elements/gstmultiqueue.h:
2397         Fix dead-lock in underrun_cb
2398
2399 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2400
2401         * docs/design/part-states.txt:
2402         Fix device open/close docs.
2403
2404 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2405
2406         * ChangeLog:
2407           Mention bugnumber for last commit.
2408
2409 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2410
2411         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2412
2413         * docs/manual/manual.xml:
2414         - Reorganised the previous "introduction" bundle into Foreword,
2415         Introduction, and About GStreamer. The two first are <preface>
2416         docbook elements. The later is the first part of the book.
2417         - added intro-gstreamer.xml (content partially from
2418         intro-preface.xml)
2419         - moved appendix-win32.xml into appendix-integration.xml
2420
2421         * docs/manual/intro-preface.xml: gstreamer section moved...
2422         * docs/manual/intro-gstreamer.xml: ...here. new file.
2423
2424         * docs/manual/appendix-win32.xml: removed file. Content moved...
2425         * docs/manual/appendix-integration.xml: ...here.
2426         
2427         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2428         * docs/manual/appendix-checklist.xml: ...here.
2429         
2430         Fixes: 538764
2431
2432 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2433
2434         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2435
2436         * docs/manual/basics-helloworld.xml:
2437         * docs/manual/hello-world.fig:
2438           - Explicitely include glib.h.
2439           - Do not use global variables.
2440           - Use g_printerr() instead of g_print().
2441           - Minor formating/renaming to increase readibility.
2442           - Renamed new_pad() to on_pad_added()
2443           - Improved explenatory comments.
2444           - renamed ogg parser to ogg demuxer
2445           - Use "autoaudiosink" instead of "alsasink".
2446           Fixes: #538619
2447
2448 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2449
2450         * ChangeLog:
2451           Remove cvs conflict marker.
2452
2453 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2454
2455         * docs/README:
2456           Document that for plgin-docs we extraxt he short-desc from the element
2457           details.
2458
2459         * docs/design/part-states.txt:
2460           Tell that devices should be closed in PAUSED -> READY.
2461
2462         * docs/manual/README:
2463           Document how tests in the manual are handled.
2464
2465         * docs/manuals.mak:
2466           Typo in comment.
2467
2468 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2469
2470         * gst/gstbin.c: (bin_query_latency_fold):
2471         Only care about latency min and max when the sink is actually a live
2472         sink.
2473
2474 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2475
2476         * docs/design/part-block.txt:
2477         Fix typo.
2478
2479         * docs/design/part-element-transform.txt:
2480         Add notes about why transform needs to know input/output sizes.
2481         Add some issues that need to be solved.
2482         Add some more use cases.
2483
2484         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2485         (gst_test_trans_class_init), (result_sink_chain),
2486         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2487         (gst_test_trans_push), (gst_test_trans_pop):
2488         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2489         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2490         (set_caps_1), (set_caps_ct1), (transform_ct1),
2491         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2492         (gst_basetransform_suite):
2493         Add suport for different pad templates and buffer-alloc.
2494         Add more checks for caps and buffer-alloc.
2495         Add checks for proxy buffer alloc.
2496         Add unit test for copy transform.
2497
2498 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2499
2500         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2501
2502         * docs/manual/appendix-integration.xml:
2503         * docs/manual/appendix-licensing.xml:
2504         * docs/manual/basics-elements.xml:
2505         * docs/manual/basics-helloworld.xml:
2506         * docs/manual/basics-pads.xml:
2507         * docs/manual/highlevel-components.xml:
2508         * docs/manual/highlevel-xml.xml:
2509         * docs/manual/intro-basics.xml:
2510         * docs/manual/intro-preface.xml:
2511           Typo and formatting fixes (#538594).
2512
2513 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2514
2515         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2516         Fix some memory leaks and uses of object instances that we don't
2517         actually own.
2518
2519 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2520
2521         * plugins/elements/gstmultiqueue.c:
2522         Add functionality to extra-size-buffers property.
2523
2524 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2525
2526         * plugins/elements/gstmultiqueue.c:
2527         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2528         activate the pads if they are added in STATE_NULL.
2529
2530 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2531
2532         * docs/libs/gstreamer-libs-sections.txt:
2533         Add new API to doc
2534         * libs/gst/check/gstcheck.c:
2535         * libs/gst/check/gstcheck.h:
2536         API: gst_check_teardown_pad_by_name
2537
2538 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2539
2540         * libs/gst/check/gstcheck.c:
2541         * libs/gst/check/gstcheck.h:
2542         Also setup request pads and allow setup pads by name (#537812)
2543         API: gst_check_setup_src_pad_by_name
2544         API: gst_check_setup_sink_pad_by_name
2545
2546 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2547
2548         * tests/check/gst/gstbuffer.c:
2549         * tests/check/pipelines/parse-launch.c:
2550           Use HAVE_VALGRIND_H some more.
2551
2552 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2553
2554         * scripts/cvs-update.sh:
2555           Pass arguments to make.
2556           Run autoregen.sh if Makefile is not there.
2557
2558 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2559
2560         * configure.ac:
2561         * gst/gstinfo.c:
2562           Don't assume that <valgrind/valgrind.h> exists just because
2563           the binary is there.
2564
2565 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2566
2567         * tests/check/Makefile.am:
2568         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2569         (gst_test_trans_class_init), (gst_test_trans_init),
2570         (gst_test_trans_set_data), (result_sink_chain),
2571         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2572         (gst_test_trans_pop):
2573         * tests/check/libs/transform1.c: (GST_START_TEST),
2574         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2575         Add some test basetransform element and the beginnings of various
2576         unit tests for it.
2577
2578 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2579
2580         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2581         Increase code readability.
2582         Don't try to compare buffer offsets when ther are invalid.
2583
2584 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2585
2586         * docs/design/Makefile.am:
2587           Dist some more design docs.
2588
2589         * docs/random/moving-plugins:
2590           Small addition: good plugins mustn't have functional code
2591           within assertion macros.
2592
2593 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2594
2595         * docs/design/draft-framestep.txt:
2596         Some ideas about a framestep API
2597
2598         * docs/design/part-element-transform.txt:
2599         Start design and use cases for basetransform in order to get it
2600         fixed soon.
2601
2602 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2603
2604         * gst/gsttaglist.h:
2605           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2606           be in UTF-8 encoding.
2607
2608 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2609
2610         * gst/gstbus.c:
2611           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2612
2613 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2614
2615         * plugins/elements/gstcapsfilter.c:
2616         * plugins/elements/gstfakesink.c:
2617         * plugins/elements/gstfakesrc.c:
2618         * plugins/elements/gstfdsink.c:
2619         * plugins/elements/gstfdsrc.c:
2620         * plugins/elements/gstfilesink.c:
2621         * plugins/elements/gstfilesrc.c:
2622         * plugins/elements/gstidentity.c:
2623         * plugins/elements/gstmultiqueue.c:
2624         * plugins/elements/gstqueue.c:
2625         * plugins/elements/gsttee.c:
2626         * plugins/elements/gsttypefindelement.c:
2627           Remove short_description. Add basic docs for gsttypefindelement.
2628           Simplify markup for fakesrc/fdsrc.
2629
2630 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2631
2632         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2633         Added Since doc.
2634
2635 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2636
2637         Patch by: Joel Larsson <tilljoel at gmail dot com>
2638
2639         * docs/plugins/gstreamer-plugins.args:
2640         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2641         (gst_fd_src_init), (gst_fd_src_update_fd),
2642         (gst_fd_src_set_property), (gst_fd_src_get_property),
2643         (gst_fd_src_create):
2644         * plugins/elements/gstfdsrc.h:
2645         Add timeout property like udpsrc. Fixes #538628.
2646         Add some more docs and example pipelines.
2647
2648 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2649
2650         * docs/libs/gstreamer-libs-sections.txt:
2651         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2652         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2653         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2654         (gst_base_sink_do_sync):
2655         * libs/gst/base/gstbasesink.h:
2656         * win32/common/libgstbase.def:
2657         Add method to allow sinks to specify additional delay between the sync
2658         times and the actual rendering of the data.
2659         API: gst_base_sink_set_render_delay()
2660         API: gst_base_sink_get_render_delay()
2661
2662 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2663
2664         * configure.ac:
2665         Bump version number back to dev -> 0.10.20.1
2666
2667 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2668
2669         * docs/gst/gstreamer-sections.txt:
2670         * gst/gsttaglist.c: (_gst_tag_initialize):
2671         * gst/gsttaglist.h:
2672         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2673         Fixes bug #538568.
2674
2675 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2676
2677         * libs/gst/controller/gstcontroller.c:
2678           Revert one change, that make ret value possible uninitialized.
2679
2680 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2681
2682         * libs/gst/controller/gstcontroller.c:
2683           Use freeze/thaw notify to sync notify emission a bit (its also more
2684           efficient). Move debug output to LOG (is called a lot in a loop).
2685           Always unset g_values if the have been initialized.
2686
2687 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2688
2689         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2690         (gst_base_sink_wait_eos), (gst_base_sink_event):
2691         If we have not seen a buffer before EOS, use the segment values to
2692         report the current position instead of invalid positions.
2693
2694 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2695
2696         * docs/plugins/tmpl/.cvsignore:
2697         * tests/check/gst/.cvsignore:
2698           Ignore more.
2699
2700 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2701
2702         * libs/gst/controller/gstinterpolation.c:
2703         * libs/gst/controller/gstinterpolationcontrolsource.c:
2704         * tests/check/libs/controller.c:
2705           Rewrite handling of default values. Fix overflow with unsigned types
2706           in linear interpolation. Remove now obsolete _first_value() function.
2707           Add more tests. Fixes #538201.
2708
2709 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2710
2711         * libs/gst/base/gstbasetransform.c:
2712         (gst_base_transform_class_init), (gst_base_transform_init),
2713         (gst_base_transform_transform_caps),
2714         (gst_base_transform_prepare_output_buffer):
2715         Add debug info.
2716         When a buffer is writable, its metadata is also writable so we don't
2717         need to subbuffer (which then makes the buffer not-writable anymore).
2718
2719 === release 0.10.20 ===
2720
2721 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2722
2723         * configure.ac:
2724           releasing 0.10.20, "You Crazy Diamond"
2725
2726 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2727
2728         * configure.ac:
2729         0.10.19.3 pre-release
2730
2731 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2732
2733         * configure.ac:
2734         * gst/gstpreset.c:
2735         Rename DATADIR to GST_DATADIR to avoid build problems
2736         on win32. Patch By: David Schleef <ds@schleef.org>
2737         Fixes: #536857
2738
2739 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2740
2741         * configure.ac:
2742         Explicitely link with -ldl if dladdr() is found there. Before it was
2743         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2744         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2745
2746 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2747
2748         * gst/gsterror.c: (_gst_stream_errors_init):
2749           Fix typo (spotted by Fabricio Godoy, #536723).
2750
2751 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2752
2753         * configure.ac:
2754         0.10.19.2 pre-release
2755
2756 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2757
2758         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2759         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2760         Add some debug.
2761         Make sure we don't generate invalid QoS messages.
2762
2763 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2764
2765         * gst/gstevent.c: (gst_event_new_qos):
2766         Add some assert and docs for invalid input to the qos function.
2767
2768 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2769
2770         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2771         (gst_base_sink_get_position):
2772         The reported position must always be smaller than the last seen
2773         timestamps (or timestamp + duration for reverse).
2774
2775 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2776
2777         Patch by: Rob Bradford <rob at robster dot org dot uk>
2778
2779         * gst/gstregistry.c: (gst_registry_scan_path_level):
2780         Don't recurse into .debug directories as some distros install
2781         the debugging symbols next to the plugins in .debug directories
2782         and dlopen() crashes on them sometimes. Fixes bug #508070.
2783
2784         Add FIXME for 0.11 to not recurse into directories at all because
2785         it's very inconsistent to the behaviour of other PATH environment
2786         variables.
2787
2788 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2789
2790         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2791         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2792         Fix position query range checks in reverse playback.
2793
2794 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2795
2796         * gst/gstelement.c:
2797         * gst/gstelement.h:
2798         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2799         clear of the reference to the resulting pad must be released later
2800         or not, resulting in possible leaks. Fixes bug #533865.
2801
2802 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2803
2804         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2805
2806         * gst/gstelementfactory.c:
2807         Small doc fix. Fixes #535285.
2808
2809 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2810
2811         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2812
2813         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2814         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2815         (gst_base_src_loop), (gst_base_src_set_flushing),
2816         (gst_base_src_change_state):
2817         Make sending an EOS event to the basesrc non-blocking even if the
2818         implementation does blocking waits in the create function. This is done
2819         by unlocking the create function when EOS is sent.
2820         Fixes #535218.
2821
2822 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2823
2824         * tools/gst-inspect.c: (print_element_properties_info):
2825         If possible print the element type of GValueArray properties.
2826
2827 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2828
2829         * gst/gstiterator.c:
2830         Remove an unused field from the private GstListIterator struct.
2831
2832 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2833
2834         * libs/gst/controller/gstcontroller.c:
2835           Add parameter guards.
2836
2837 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2838
2839         * tests/check/gst/gstpipeline.c:
2840           Revert test change and add comment why it should not work.
2841
2842 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2843
2844         * tests/check/gst/gstpipeline.c:
2845           Extending the test a little to verify that we also get the NULL state-
2846           change message.
2847
2848 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2849
2850         * gst/gstpreset.c: (gst_preset_default_get_meta),
2851           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2852           (gst_preset_load_preset), (gst_preset_save_preset),
2853           (gst_preset_rename_preset), (gst_preset_delete_preset),
2854           (gst_preset_set_meta):
2855           Add Since: markers to docs blurbs.
2856
2857         * win32/common/libgstreamer.def:
2858           Add recently-added API.
2859
2860 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2861
2862         Patch by: Stefan Kost  <ensonic@users.sf.net>
2863
2864         * configure.ac:
2865         Add DATADIR for storing presets.
2866
2867         * docs/gst/gstreamer-docs.sgml:
2868         * docs/gst/gstreamer-sections.txt:
2869         * docs/gst/gstreamer.types.in:
2870         Add GstPreset to docs.
2871
2872         * gst/Makefile.am:
2873         * gst/gst.h:
2874         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2875         (preset_open_and_parse_header), (preset_parse_version),
2876         (preset_merge), (preset_get_keyfile),
2877         (gst_preset_default_get_preset_names),
2878         (gst_preset_default_get_property_names),
2879         (gst_preset_default_load_preset),
2880         (gst_preset_default_save_presets_file),
2881         (gst_preset_default_save_preset),
2882         (gst_preset_default_rename_preset),
2883         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2884         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2885         (gst_preset_default_reset), (gst_preset_get_preset_names),
2886         (gst_preset_get_property_names), (gst_preset_load_preset),
2887         (gst_preset_save_preset), (gst_preset_rename_preset),
2888         (gst_preset_delete_preset), (gst_preset_set_meta),
2889         (gst_preset_get_meta), (gst_preset_class_init),
2890         (gst_preset_base_init), (gst_preset_get_type):
2891         * gst/gstpreset.h:
2892         Add GstPreset to core. Fixes #396779
2893
2894         * tests/check/Makefile.am:
2895         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2896         (gst_preset_test_set_property), (gst_preset_test_class_init),
2897         (gst_preset_test_base_init), (gst_preset_test_get_type),
2898         (gst_preset_test_plugin_init), (GST_START_TEST),
2899         (remove_preset_file), (test_setup), (test_teardown),
2900         (gst_preset_suite):
2901         Add GstPreset unit tests.
2902
2903 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2904
2905         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2906         The default event function on a sinkpad should return TRUE when
2907         there are no internal links but should collect the return values from
2908         the internal links otherwise.
2909
2910 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2911
2912         * plugins/elements/gsttypefindelement.c:
2913         (gst_type_find_element_src_event),
2914         (gst_type_find_element_handle_event):
2915         Use faster and safer _pad_push_event().
2916
2917 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2918
2919         * docs/gst/gstreamer-sections.txt:
2920         * gst/gstutils.c: (element_find_unlinked_pad),
2921           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2922         * gst/gstutils.h:
2923           API: add gst_bin_find_unlinked_pad()
2924           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2925
2926 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2927
2928         * gst/gstclock.c:
2929         * gst/gstclock.h:
2930         * gst/gsttask.c:
2931         * gst/gsttask.h:
2932         Fixed a bunch of typos.
2933
2934 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2935
2936         * gst/gstpad.h:
2937         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2938           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2939           (gst_parse_bin_from_description_full):
2940         * gst/gstutils.h:
2941           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2942
2943 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2944
2945         * docs/pwg/advanced-tagging.xml:
2946           Small docs update, can't be bothered to rewrite the nonsensical
2947           examples right now.
2948
2949 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2950
2951         * gst/gstevent.h:
2952           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2953
2954 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2955
2956         * gst/parse/grammar.y:
2957           Remove unneeded casts.
2958
2959 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2960
2961         * gst/parse/grammar.y:
2962         * tests/check/pipelines/parse-launch.c:
2963           Get all missing elements from a parse launch string if possible
2964           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2965
2966 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2967
2968         * tests/check/Makefile.am:
2969         * tests/check/pipelines/parse-launch.c:
2970           Add some unit tests for the new gst_parse_launch*_full() API.
2971           (Exposes a previously-existing memory leak in the error code
2972           path, so adding to VALGRIND_TO_FIX for now).
2973
2974 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2975
2976         * docs/gst/gstreamer-sections.txt:
2977         * gst/gst.c: (init_post):
2978         * gst/gst_private.h: (_GstParseContext):
2979         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2980           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2981           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2982           (gst_parse_launch_full):
2983         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2984           (GstParseFlags), (GstParseContext):
2985         * gst/gstutils.c: (gst_parse_bin_from_description),
2986           (gst_parse_bin_from_description_full):
2987         * gst/gstutils.h:
2988         * gst/parse/grammar.y:
2989         * gst/parse/types.h:
2990         * win32/common/libgstreamer.def:
2991           Add new gst_parse_*_full API (#528178):
2992           API: gst_parse_launch_full()
2993           API: gst_parse_launchv_full()
2994           API: gst_parse_bin_from_description_full()
2995           API: gst_parse_context_new()
2996           API: gst_parse_context_free()
2997           API: gst_parse_context_get_missing_elements()
2998
2999 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
3000
3001         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
3002
3003         * docs/faq/gst-uninstalled:
3004           Also support ffmpeg in gst-uninstalled.
3005
3006 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
3007
3008         * configure.ac:
3009         After discussion on IRC use the binary registry as default
3010         but allow to disable it with --disable-binary-registry.
3011
3012         * win32/common/libgstreamer.def:
3013         Add the two new symbols for the binary registry.
3014
3015 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
3016
3017         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
3018         * gst/gstutils.c: (gst_parse_bin_from_description):
3019         * gst/parse/grammar.y: (graph):
3020           More guards against bad input; typo fix; some minor clean-ups.
3021
3022 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
3023
3024         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3025
3026         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3027         If nothing else can be used, use the last buffer's start time as
3028         the segment's last stop. Fixes bug #534258.
3029
3030 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
3031
3032         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3033           Move size sanity check to the right place: downstream may return
3034           a buffer with a smaller size if the buffer caps are different than
3035           the requested ones, as may happen when doing reverse negotiation.
3036
3037 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3038
3039         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
3040         (gst_file_sink_render):
3041         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
3042         (gst_file_src_start):
3043         Small cleanups. Add note adbout g_fopen() on windows and why we don't
3044         use it yet.
3045
3046 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3047
3048         * gst/gstpad.c: (gst_pad_load_and_link):
3049         * gst/gstutils.c: (gst_element_link_pads),
3050         (gst_element_unlink_pads):
3051         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3052         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3053         (gst_check_teardown_sink_pad),
3054         (gst_check_element_push_buffer_list):
3055         * tests/check/elements/fakesink.c: (GST_START_TEST):
3056         * tests/check/elements/filesink.c:
3057         * tests/check/elements/filesrc.c: (GST_START_TEST):
3058         * tests/check/elements/multiqueue.c: (setup_multiqueue),
3059         (mq_sinkpad_to_srcpad):
3060         * tests/check/elements/tee.c: (GST_START_TEST):
3061         * tests/check/generic/sinks.c: (GST_START_TEST):
3062         * tests/check/gst/gstbin.c: (GST_START_TEST):
3063         * tests/check/gst/gstevent.c: (GST_START_TEST):
3064         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3065         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
3066         * tests/check/gst/gstquery.c: (GST_START_TEST):
3067         * tests/check/gst/gstutils.c: (GST_START_TEST):
3068         * tests/check/libs/basesrc.c: (GST_START_TEST):
3069         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
3070         (gst_parse_test_element_change_state):
3071         Don't use gst_element_get_pad().
3072
3073 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
3074
3075         * docs/Makefile.am:
3076         Fix installing plugin documentation when gtk-doc is disabled.
3077
3078 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3079
3080         * docs/manual/advanced-autoplugging.xml:
3081         * docs/manual/basics-helloworld.xml:
3082         * docs/manual/basics-pads.xml:
3083         * docs/manual/highlevel-components.xml:
3084         Avoid using a bad function in the example code.
3085
3086 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3087
3088         * gst/gstclock.c: (gst_clock_set_calibration):
3089         Fix debug of the new clock rate.
3090
3091 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3092
3093         * win32/common/libgstbase.def:
3094         Add gst_base_sink_wait_clock() to the exported symbols.
3095
3096 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
3097
3098         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
3099
3100         * libs/gst/base/gstbasetransform.c:
3101         (gst_base_transform_sink_event):
3102         Unref events that the GstBaseTransform::event vfunc didn't want to
3103         have forwarded by the base class. Closes a leak in identity.
3104         Fixes bug #446763.
3105
3106 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3107
3108         * docs/libs/gstreamer-libs-sections.txt:
3109         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
3110         * libs/gst/base/gstbasesink.h:
3111         Expose a method that was previously used internally to synchronize
3112         against the clock because it can be useful for subclasses too.
3113         API: GstBaseSink::gst_base_sink_wait_clock()
3114
3115 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3116
3117         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3118           Add sanity check to make sure we don't get smaller buffers
3119           than requested (and fallback to normal buffer alloc if we do).
3120
3121 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3122
3123         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
3124         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
3125         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
3126         Refactor adjusting the running_time with latency and offset into a
3127         separate method.
3128         When doing clipping, we still want to use the subclass get_times method,
3129         just in case the DURATION or TIMESTAMP are not set.
3130
3131 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3132
3133         * docs/gst/gstreamer-sections.txt:
3134         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
3135         * gst/gsttypefind.h:
3136         * win32/common/libgstreamer.def:
3137           API: add gst_type_find_suggest_simple(), #533740.
3138
3139 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3140
3141         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
3142           Use right error code when typefinding fails, so we can use
3143           the default (translated) error messages.
3144
3145 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3146
3147         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3148         (gst_base_src_start):
3149         When the subclass did not set caps on outgoing buffers, configure the
3150         caps we negotiated on the source pad.
3151         When the typefind helper does not find caps, error out properly instead
3152         of doing things with NULL caps.
3153
3154 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3155
3156         * gst/gsttypefind.h:
3157           Tabs to spaces, oh yes!
3158
3159 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3160
3161         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
3162           Add David's and Benjamin's tests for array intersection to the
3163           unit test suite (#147931).
3164
3165 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3166
3167         * gst/gstevent.c:
3168           Document that gst_event_new_tag() and gst_event_new_navigation()
3169           take ownership of the taglist/structure passed to them. (#533635).
3170
3171 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
3172
3173         * docs/Makefile.am:
3174         Don't descend into the plugins dir if plugin docs building
3175         is disabled.
3176
3177         * docs/README:
3178         Add a note about the new type:GTypeName syntax for the plugin
3179         documentation .types file.
3180
3181 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3182
3183         * gst/gstmessage.c: (gst_message_new_error),
3184         (gst_message_new_warning), (gst_message_new_info):
3185         * gst/gstmessage.h:
3186         Mark the debug string parameters as const. Fixes bug #533490.
3187
3188 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
3189
3190         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3191         Sort buffer cache list by end offsets. This makes sure that we don't
3192         stop to search for a cached buffer that contains the requested data
3193         too early.
3194         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3195         more efficient. Fixes bug #459862.
3196
3197 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
3198
3199         * gst/gstinfo.c:
3200           Explain why we copy the list.
3201
3202         * gst/gstpipeline.c:
3203           Improve docs.
3204
3205         * gst/gstutils.c:
3206           Add one debug-log statement to help tracing probelms with linking pads.
3207
3208 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
3209
3210         * tests/check/gst/gstinfo.c:
3211         Add a test for removing the default log handler. Seems to fail under
3212         windows.
3213
3214 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3215
3216         * gst/gstpad.c: (gst_pad_peer_accept_caps):
3217         Release pad lock before calling out to avoid a possible deadlock.
3218
3219 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3220
3221         * gst/parse/grammar.y:
3222         Remove unneeded value unset.
3223
3224         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3225         Add unit test for de/serialization of caps.
3226
3227 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3228
3229         * plugins/elements/gstfakesink.c:
3230         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3231         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3232         (gst_fake_src_class_init):
3233         Use custom marshalers that take GstMiniObject as first parameter.
3234         Using OBJECT as parameter while a GstMiniObject is given will lead
3235         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3236
3237 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3238
3239         * plugins/elements/gsttypefindelement.c:
3240         (gst_type_find_element_handle_event),
3241         (gst_type_find_element_send_cached_events),
3242         (gst_type_find_element_change_state):
3243         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3244         immediately.
3245
3246 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3247
3248         * plugins/elements/gsttypefindelement.c:
3249         (gst_type_find_handle_src_query), (stop_typefinding),
3250         (gst_type_find_element_handle_event),
3251         (gst_type_find_element_send_cached_events),
3252         (gst_type_find_element_change_state):
3253         Forward FLUSH_START events immediately and clean up instead of
3254         caching them.
3255
3256 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3257
3258         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3259
3260         * libs/gst/base/gstbasetransform.c:
3261         (gst_base_transform_buffer_alloc):
3262         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3263         fall back to default negotiation in the chain function if the caps
3264         are different from what was requested. Fixes bug #526768.
3265
3266 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3267
3268         * gst/gstsegment.c:
3269         * tests/check/gst/gstsegment.c:
3270           No, let's not use g_slice_{dup|copy} here, since they only exist
3271           since GLib 2.14 and we still depend only on >= 2.12. Also add
3272           unit test for gst_segment_copy().
3273
3274 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3275
3276         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3277           Try to fix 'dereferencing type-punned pointer will break strict
3278           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3279           changed the default GType typedef from gulong to gsize at some point,
3280           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3281           g_once_* functions all take a gsize * though, so work around the type
3282           mismatch for C++ by doing everything in gsize and casting to GType
3283           later.
3284
3285 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
3286
3287         * plugins/elements/gstmultiqueue.c:
3288         Add documentation for the signals to push our core plugin docs
3289         coverage back up to 100%.
3290
3291 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3292
3293         * gst/gstinfo.h (GST_FUNCTION):
3294           Reverted GST_FUNCTION to the old version as we don't want the
3295           full signature in C++ code. Also added support for MSVC.
3296
3297 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3298
3299         * gst/gstutils.h:
3300         Intern the type name string, similar to what G_DEFINE_TYPE does.
3301
3302 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3303
3304         * gst/gstutils.h:
3305         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3306
3307 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3308
3309         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3310
3311         * libs/gst/base/gstbasetransform.c:
3312         (gst_base_transform_buffer_alloc):
3313         Don't passthrough buffer allocation too easily if the caps change.
3314         This breaks when working in passthrough mode and upstream changes
3315         it's caps. Fixes bug #526768.
3316
3317 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3318
3319         * gst/gstinfo.c (gst_debug_log_valist):
3320           Improved the __FILE__ part of debug output for MSVC.
3321
3322 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3323
3324         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3325           Declaration after statement fix for compilers like MSVC.
3326
3327 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3328
3329         * win32/common/config.h.in:
3330           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3331           use the real thing than having "???" unconditionally.
3332
3333 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3334
3335         * gst/gstinfo.h (GST_FUNCTION):
3336           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3337
3338 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3339
3340         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3341         Small code cleanup.
3342
3343         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3344         (gst_base_sink_set_flushing):
3345         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3346         Fix some comments.
3347
3348 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3349
3350         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3351         (gst_fake_src_init), (gst_fake_src_set_property),
3352         (gst_fake_src_get_property), (gst_fake_src_start):
3353         * plugins/elements/gstfakesrc.h:
3354         Added format property to control the format of the newsegment events.
3355         API: GstFakeSrc:format
3356
3357 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3358
3359         * win32/common/libgstreamer.def:
3360         Add gst_pad_has_name() to the exported symbols.
3361
3362 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3363
3364         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3365         * libs/gst/base/gstbasetransform.c:
3366         (gst_base_transform_prepare_output_buffer):
3367         Don't allow negative sizes when allocating new buffers.
3368         Fixes bug #461253.
3369
3370 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3371
3372         Patch by: Sjoerd Simons <sjoerd at luon net>
3373
3374         * gst/gstbus.c: (gst_bus_source_dispatch):
3375           Don't print a warning if the queue is empty when we try to pop
3376           here. That could happen if another thread or callback set the
3377           bus to flushing between the source's check/prepare and the
3378           dispatch being called (#531538).
3379
3380 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3381
3382         * plugins/elements/gstmultiqueue.c:
3383           Small docs fix.
3384         
3385 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
3386
3387         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3388         Add unit test for deserializing uint64s and check some really large
3389         numbers in the int64 test.
3390
3391 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3392
3393         * tools/gst-inspect.c: (n_print), (print_hierarchy),
3394         (print_interfaces), (print_element_properties_info),
3395         (print_signal_info):
3396         Use "%s" as format string instead of printing strings directly.
3397
3398 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3399
3400         * gst/gstclock.c: (gst_clock_set_calibration):
3401         Make some checks actually useful.
3402
3403         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3404         Remove some unused code. Unsigned integers tend to be >= 0.
3405
3406 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3407
3408         * gst/gstminiobject.c: (gst_value_get_mini_object):
3409           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3410           function was not in the unscheduled 0.10.19 release.
3411
3412 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3413
3414         * gst/gstregistry.c: (gst_registry_scan_path_level):
3415           Only print one log message per non-plugin file.
3416
3417 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3418
3419         * gst/gstinfo.c: (gst_debug_log_default):
3420           Fix alignment of debug log columns on 64-bit.
3421
3422 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3423
3424         * docs/libs/Makefile.am:
3425         * docs/libs/gstreamer-libs-sections.txt:
3426           Ignore private controller headers for docs.
3427
3428 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3429
3430         * libs/gst/controller/gstcontrollerprivate.h:
3431         * libs/gst/controller/gsthelper.c:
3432         * libs/gst/controller/gstinterpolation.c:
3433         * libs/gst/controller/gstinterpolationcontrolsource.c:
3434         (gst_interpolation_control_source_set_interpolation_mode):
3435         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3436         * libs/gst/controller/lib.c:
3437         Move some private declarations into private headers.
3438
3439 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3440
3441         * gst/gstdebugutils.c: (debug_dump_element_pad):
3442         Remove some code that is unused after Stefan's refactoring and uses
3443         uninitialized variables now, resulting in a compiler warning.
3444
3445 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3446
3447         * gst/gstregistry.c: (gst_registry_scan_path_level):
3448           Run g_str_has_suffix() only on the file name, not the
3449           entire file path.
3450
3451 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3452
3453         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3454           Since we're not called only from the chain function any longer,
3455           we can't assume that there's always data in the queue, so move
3456           the is_full check to the beginning of the loop (otherwise we'd
3457           hit the assert when changing the limit properties while the
3458           queue is empty or not running yet).
3459           Also, only set a discont if items were actually removed from
3460           the queue.
3461
3462         * tests/check/elements/queue.c: (test_leaky_downstream):
3463           Test case for the above.
3464
3465 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3466
3467         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3468
3469         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3470         (gst_queue_chain), (queue_capacity_change),
3471         (gst_queue_set_property):
3472         When changing thr max capacity of a leaky queue, immediatly drop buffers
3473         instead of waiting for a push on the sinkpad. Fixes #530637.
3474
3475 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3476
3477         * gst/gstdebugutils.c:
3478           Refactor code and fix handling of ghostpads and their proxypads.
3479
3480 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3481
3482         * docs/gst/gstreamer-sections.txt:
3483         * gst/gstevent.c: (gst_event_has_name):
3484         * gst/gstevent.h:
3485         * tests/check/gst/gstevent.c: (GST_START_TEST):
3486         Add method to conveniently check the name of a custom event with
3487         gst_event_has_name().
3488         Reformat the event docs so that related methods are put together instead
3489         of the default alphabetical sort.
3490         Update unit test with new method.
3491         API: GstEvent::gst_event_has_name()
3492
3493 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3494
3495         * libs/gst/check/Makefile.am:
3496           Don't add an explicit link to libgstreamer-0.10.la; it's already
3497           included in GST_OBJ_LIBS.
3498
3499 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3500
3501         * gst/gst.c:
3502         Register GstClock type from a type-safe context. Fixes bug #530317.
3503
3504 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3505
3506         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3507         * tools/gst-run.c:
3508           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3509
3510 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3511
3512         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3513         (gst_bin_dispose):
3514         Use the GLib stuff to create a private structure.
3515         Add some locking around some dispose methods to make them a little
3516         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3517
3518 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3519
3520         * libs/gst/base/gstbasesink.h:
3521         * libs/gst/base/gstbasesrc.h:
3522         * libs/gst/base/gstbasetransform.h:
3523         * libs/gst/base/gstcollectpads.h:
3524           Fix doc typos and unify caps a bit.
3525
3526 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3527
3528         * tools/gst-launch.1.in:
3529           Forgot to also add the envvar docs here.
3530
3531 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3532
3533         * gst/gst.c: (init_post), (gst_deinit):
3534         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3535           (test_concurrent_create), (gst_pipeline_suite):
3536           Ref some more classes in gst_init() to work around thread-safety
3537           issues in pre-2.16 GLibs, and add basic unit test.
3538
3539 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3540
3541         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3542         (gst_base_sink_send_event):
3543         Rearrange the latency query code. We always want to do the upstream
3544         query, even if we are not live so that the upstream elements can get the
3545         latency results too. If we fail doing the query and we are live, we
3546         return TRUE afterwards.
3547
3548 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3549
3550         patch by: Jason Zhao <e3423c@motorola.com>
3551
3552         * docs/gst/running.xml:
3553         * gst/gst.c:
3554           Enable/disable scan_and_update_registry() based on commandline switch
3555           or environment variable. Fixes #520468.
3556           
3557         * ChangeLog:
3558           Fix typo in my previous commit.
3559
3560 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3561
3562         * gst/gstregistrybinary.c:
3563           Add a warning if we hit unhandled factories when saving.
3564           More debug logging detail, but move to LOG category.
3565
3566 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3567
3568         * gst/gstregistry.c:
3569           Tell the *truth* when improving the documentation.
3570
3571 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3572
3573         * gst/gstelementfactory.c: (gst_element_factory_make):
3574         Unref the factory after it was used the last time, not before.
3575
3576         * gst/gstindexfactory.c: (gst_index_factory_make):
3577         Improve debugging a bit and don't leak a ref to the index factory with
3578         each call.
3579
3580 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3581
3582         * gst/gstregistry.c:
3583           Improve the documentation.
3584
3585 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3586
3587         * gst/gstsegment.c:
3588           The glib macro seems to be borked. Use g_slice_copy directly and cast
3589           in the hope that this fixes the warning on 64bit.
3590
3591 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3592
3593         * gst/gstsegment.c:
3594           Document the new function. Use g_slice_dup() (no need for
3595           gst_segment_init()).    
3596
3597 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3598
3599         * docs/gst/gstreamer-sections.txt:
3600           Move GParamSepc macros to standart section.
3601   
3602         * gst/gstbin.c:
3603           Dn't document _get_type - its in private section in docs anyway and
3604           this doc-blob was incomplete.
3605
3606         * gst/gstclock.h:
3607           Fix wrong symbol names in docs.
3608
3609         * gst/gstmacros.h:
3610           Add once doc sentence.
3611
3612         * tests/check/gst/.cvsignore:
3613           Ignore more.
3614
3615 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3616
3617         * docs/gst/Makefile.am:
3618           And remove those libs here.
3619
3620 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3621
3622         * docs/libs/Makefile.am:
3623           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3624
3625 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3626
3627         Patch by: Olivier Crete <tester at tester dot ca>
3628
3629         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3630         Add the min-threshold to the min latency if possible. Fixes #529148.
3631
3632 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3633
3634         * docs/gst/gstreamer.types.in:
3635           Stupid editor, I removed that line as it should go in yet.
3636
3637 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3638
3639         * docs/gst/gstreamer.types.in:
3640         * docs/libs/gstreamer-libs.types:
3641           Remove library types fro core docs and have them in libs docs.
3642           Reformat and cleanup. Add comment for miniobject types.
3643
3644 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3645
3646         * gst/gsturi.c: (gst_uri_get_protocol):
3647           Fix leak: g_strdown operates on the string in place, while
3648           g_ascii_strdown() returns a newly-allocated string.
3649
3650 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3651
3652         * tools/gst-inspect.c: (print_uri_handler_info),
3653         (print_element_info):
3654         Print the URI protocols and the URI type supported by the element.
3655
3656 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3657
3658         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3659         Use g_value_take_string() instead of the deprecated
3660         g_value_set_string_take_ownership().
3661
3662 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3663
3664         * gst/gstregistrybinary.c: (_gst_crc32):
3665         Return the old CRC instead of 0 if we give a NULL buffer
3666         or a buffer with a length of 0.
3667
3668 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3669
3670         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3671         (gst_uri_get_protocol), (gst_uri_has_protocol),
3672         (gst_uri_construct), (gst_uri_handler_set_uri):
3673         A valid URI scheme can also include '+', '-' and '.' additional
3674         to alphanumeric characters as per RFC 3986 Section 3.1.
3675
3676         Handle URI schemes case insensitive in all places and convert
3677         to lower-case when constructing an URI or setting an URI with
3678         the GstURIHandler interface. Fixes bug #528868.
3679         All elements can still assume (as before) that they will
3680         get passed URIs with a lower-case URI scheme by the GstURIHandler
3681         interface.
3682
3683 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3684
3685         * gst/gstcaps.c: (gst_static_caps_get):
3686         * gst/gstclock.c: (gst_clock_entry_new):
3687           Don't use g_atomic_set_int where it's not needed.
3688
3689 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3690
3691         * gst/gstvalue.c: (gst_value_deserialize_caps):
3692         * gst/parse/grammar.y:
3693         Fix 2 caps leaks.
3694
3695 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3696
3697         * gst/gstutils.c: (gst_atomic_int_set):
3698         Use g_atomic_int_set() here too instead of assignment +
3699         g_atomic_int_get().
3700
3701 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3702         
3703         * gst/gstutils.c:
3704         * gst/gstutils.h:
3705         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3706         now that we depend on new enough GLib.
3707
3708         * gst/gstcaps.c: (gst_static_caps_get):
3709         * gst/gstclock.c: (gst_clock_entry_new):
3710         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3711         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3712         (gst_debug_category_set_threshold):
3713         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3714         (gst_base_sink_set_qos_enabled):
3715         * libs/gst/net/gstnettimeprovider.c:
3716         (gst_net_time_provider_set_property):
3717         Use g_atomic_int_set() instead of gst_atomic_int_set().
3718
3719 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3720
3721         * gst/gstquery.c:
3722           Also use G_GINT64_CONSTANT for the queries.
3723
3724 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3725
3726         * gst/gstmessage.c:
3727           Use G_GINT64_CONSTANT in varargs function.
3728
3729 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3730
3731         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3732         Initialize the registry magic with zeroes.
3733
3734 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3735
3736         * gst/gstregistrybinary.c: (_gst_crc32),
3737         (gst_registry_binary_write),
3738         (gst_registry_binary_initialize_magic),
3739         (gst_registry_binary_write_cache),
3740         (gst_registry_binary_check_magic),
3741         (gst_registry_binary_read_cache):
3742         * gst/gstregistrybinary.h:
3743         Add crc32 checksum to the binary registry file and check this before
3744         accepting a registry file.
3745
3746         Also free the data list when writing to the registry file fails.
3747
3748 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3749
3750         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3751         (gst_registry_binary_load_feature),
3752         (gst_registry_binary_load_plugin):
3753         If an element supports the Uri interface, returns a valid pointer
3754         to the supported URI protocols but this pointer contains nothing
3755         don't try to save that as it will corrupt the registry.
3756
3757         Don't unref the plugin if we added it to the registry already but
3758         fail to load a feature as gst_registry_add_plugin() takes ownership
3759         of the plugin.
3760
3761         Improve debugging a bit.
3762
3763 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3764
3765         * gst/gsttaglist.h:
3766           Clarify some tag item docs after discussion on irc.
3767
3768 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3769
3770         * docs/gst/gstreamer-docs.sgml:
3771           Remove commented out plugins (they have their own docs). Update
3772           comments.
3773
3774 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3775
3776         * docs/gst/gstreamer-docs.sgml:
3777         * docs/gst/gstreamer-sections.txt:
3778         * gst/gstparamspecs.c:
3779         * gst/gstparamspecs.h:
3780           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3781           docs to own section.
3782
3783         * gst/gstvalue.c:
3784           This now only documents GValue.
3785           
3786         * docs/libs/gstreamer-libs-sections.txt:
3787         * libs/gst/controller/gstcontroller.h:
3788           Remove GST_PARAM_CONTROLLABLE.
3789
3790 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3791
3792         * docs/README:
3793           Correct file path. Tell about how to use -overrides.txt.
3794         * docs/design/draft-tagreading.txt:
3795           Small design update.
3796
3797 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3798
3799         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3800         (gst_registry_binary_load_plugin):
3801         Fix a typo in a debug message and revert change from yesterday as
3802         gst_registry_add_plugin() will only fail if something is really wrong
3803         already and we can't survive it anyway.
3804
3805 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3806
3807         * gst/gst.c: (init_post), (gst_deinit):
3808           Pre-register GstGError GType from a thread-safe context
3809           (fixes #527967); unref enum type classes in deinit.
3810
3811 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3812
3813         Patch by: Rene Stadler <mail at renestadler de>
3814
3815         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3816           Merging an empty list with another list in KEEP_ALL mode should
3817           yield an empty list as result and not the second list (#512578).
3818
3819         * tests/check/gst/gsttagsetter.c:
3820           Add unit test for tag merge modes and the aforementioned bug.
3821
3822 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3823
3824         Patch by: Rene Stadler <mail at renestadler de>
3825
3826         * gst/gsttaglist.h:
3827           Fix description to match the order in the table (#512577).
3828   
3829 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3830
3831         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3832
3833         * libs/gst/net/gstnettimepacket.h:
3834         * docs/libs/gstreamer-libs-sections.txt:
3835           Define socklen_t as int if it's not defined yet. Fixes compilation
3836           with MSVC6 and other versions where socklen_t is not defined in
3837           the windows headers (#518022).
3838
3839 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3840
3841         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3842         If gst_registry_add_plugin() fails our reference to the plugin is
3843         invalid so don't try to use it anymore and instead error out.
3844
3845 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3846
3847         * tools/gst-xmlinspect.c: (print_element_info), (main):
3848           De-cruft a bit. If no argument is specified, print all elements in
3849           XML syntax rather than a freestyle list of elements like gst-inspect.
3850           Also, don't print XML header chunk unless we actually have something
3851           to print (ie. don't print it before an error message); print error
3852           message to stderr not stdout. Remove support for printing plugin
3853           info (it would just output something freestyle along the lines of
3854           gst-inspect so far), which fixes #514507. Also add license header.
3855
3856 2008-04-11  Julien Moutte  <julien@fluendo.com>
3857
3858         Mac OS X love...
3859         * configure.ac: Merge platform specific defines, introduce a new
3860         define on OS X to remember that forking when updating registry is
3861         unsafe.
3862         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3863         module.
3864         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3865         is defined.
3866         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3867         condition that leads to absolutely no plugins being registered on
3868         OS X.
3869
3870 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3871
3872         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3873
3874         * gst/gstutils.c: (gst_pad_add_data_probe),
3875           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3876           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3877           (gst_pad_add_buffer_probe_full):
3878         * gst/gstutils.h:
3879         * docs/gst/gstreamer-sections.txt:
3880         * win32/common/libgstreamer.def:
3881           Add gst_pad_add_*_probe_full() functions with a notify callback that
3882           lets the caller free the data it passes to the probe functions. This
3883           is useful for bindings such as gst-python or gstreamermm (#526814).
3884           API: gst_pad_add_data_probe_full
3885           API: gst_pad_add_buffer_probe_full
3886           API: gst_pad_add_event_probe_full
3887
3888         * tests/check/gst/gstutils.c:
3889           Add minimal unit test to make sure freeing the data actually works
3890           as expected.
3891
3892         * tests/benchmarks/.cvsignore:
3893           Random cvsignore addendum.
3894
3895 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3896
3897         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3898           (GST_DEBUG_BIN_TO_DOT_FILE):
3899           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3900           to it in the docs (since these are macros the types of the arguments
3901           won't be shown in the docs otherwise).
3902
3903 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3904
3905         * gst/gstpad.c:
3906           Do not abort on out of memory for pad_alloc_buffer.
3907
3908 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3909
3910         * libs/gst/check/gstcheck.c:
3911           Remove blank line between symbol name ad parameters to fix gtkdoc
3912           warning.
3913
3914 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3915
3916         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3917
3918         * docs/gst/gstreamer-sections.txt:
3919         * gst/gstsegment.c:
3920         * gst/gstsegment.h:
3921         * win32/common/libgstreamer.def:
3922           Expose gst_segment_copy() to make things easier for the c++ bindings.
3923           Fixes #518932.
3924           API: gst_segment_copy()
3925
3926 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3927
3928         * gst/gst.c: (gst_init_get_option_group), (init_post):
3929           Fix const position; ref GType classes for enum types to work
3930           around thread-safety issues in GLib versions < 2.16.
3931
3932 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3933
3934         * docs/design/part-buffering.txt:
3935         Fix some typos and set the estimated total for push mode to -1.
3936
3937         * gst/gstquery.c: (gst_query_new_buffering):
3938         Set buffering-left to 0 as we're not buffering by default.
3939
3940         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3941         Implement BUFFERING query.
3942
3943 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3944
3945         Based on patch by: Milosz Derezynski <internalerror gmail com>
3946
3947         * gst/gsterror.c: (_gst_stream_errors_init):
3948         * gst/gsterror.h:
3949           Add two new error codes for encrypted content. Fixes #524659.
3950           API: GST_STREAM_ERROR_DECRYPT
3951           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3952
3953 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3954
3955         * gst/gstquery.h:
3956           Fix typo.
3957
3958         * win32/common/libgstreamer.def:
3959           Add new functions.
3960
3961 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3962
3963         * plugins/elements/gstidentity.c: (gst_identity_event),
3964         (gst_identity_start):
3965         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3966         event after processing some data. Fixes bug #526042.
3967
3968 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3969
3970         * docs/gst/gstreamer-sections.txt:
3971         * gst/gstquery.c: (gst_query_parse_latency),
3972         (gst_query_set_buffering_percent),
3973         (gst_query_parse_buffering_percent),
3974         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3975         * gst/gstquery.h:
3976         Rename _avail -> _range
3977         API: gst_query_set_buffering_range
3978         API: gst_query_parse_buffering_range
3979
3980 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3981
3982         * docs/design/part-buffering.txt:
3983         * gst/gstquark.c:
3984         * gst/gstquark.h:
3985         * gst/gstquery.c: (gst_query_parse_latency),
3986         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3987         (gst_query_parse_buffering_percent):
3988         * gst/gstquery.h:
3989         Add busy field and quark for the buffering query so that the app can
3990         only use the query to see if buffering is in progress.
3991
3992 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3993
3994         * docs/gst/gstreamer-sections.txt:
3995         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3996         (gst_message_parse_buffering_stats):
3997         * gst/gstmessage.h:
3998         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3999         (gst_query_parse_latency), (gst_query_new_buffering),
4000         (gst_query_set_buffering_percent),
4001         (gst_query_parse_buffering_percent),
4002         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
4003         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
4004         * gst/gstquery.h:
4005         Reorder the message docs and headers for clarity.
4006         Add aditional buffering stats API for messages.
4007         Add buffering query.
4008         Convert some leftover queries to use GstQuark.
4009         API: gst_message_set_buffering_stats
4010         API: gst_message_parse_buffering_stats
4011         API: GST_QUERY_BUFFERING
4012         API: GstBufferingMode
4013         API: gst_query_new_buffering
4014         API: gst_query_set_buffering_percent
4015         API: gst_query_parse_buffering_percent
4016         API: gst_query_set_buffering_stats
4017         API: gst_query_parse_buffering_stats
4018
4019 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
4020
4021         * gst/gstmessage.c: (gst_message_new_error),
4022         (gst_message_new_warning), (gst_message_new_info),
4023         (gst_message_new_buffering), (gst_message_new_state_changed),
4024         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
4025         (gst_message_new_new_clock), (gst_message_new_segment_start),
4026         (gst_message_new_segment_done), (gst_message_new_duration),
4027         (gst_message_new_async_start), (gst_message_parse_buffering),
4028         (gst_message_parse_state_changed),
4029         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4030         (gst_message_parse_new_clock), (gst_message_parse_error),
4031         (gst_message_parse_warning), (gst_message_parse_info),
4032         (gst_message_parse_segment_start),
4033         (gst_message_parse_segment_done), (gst_message_parse_duration),
4034         (gst_message_parse_async_start):
4035         Use GstQuark for messages.
4036
4037 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
4038
4039         * gst/gstquark.c: (_priv_gst_quarks_initialize):
4040         * gst/gstquark.h:
4041         Add some more quarks needed for messages and queries.
4042
4043 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
4044
4045         * docs/design/part-buffering.txt:
4046         Remove the "none" buffering mode, STREAM is a good default.
4047         Move estimated-time to the avail query, that's when it will be needed.
4048         Other small typo fixes and updates.
4049
4050 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
4051
4052         * gst/gstindex.c: (gst_index_resolver_get_type):
4053           Don't put descriptions into the nick field of a GEnumValue: it's not
4054           meant for that and some language bindings rely on the nick field to
4055           construct constants and the like. Fixes #526705.
4056
4057 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
4058
4059         * NEWS:
4060         * RELEASE:
4061         * gstreamer.doap:
4062           Merge other changes from 0.10.19 release branch.
4063
4064 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
4065
4066         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
4067
4068         * configure.ac:
4069         Actually build dlls when cross-compiling with mingw32.
4070         Fixes bug #526247.
4071
4072 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
4073
4074         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
4075
4076         * gst/gstpoll.c:
4077         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
4078
4079 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
4080
4081         * docs/design/draft-latency.txt:
4082         Fix typo.
4083
4084         * docs/design/part-buffering.txt:
4085         Update design docs with more buffering ideas.
4086
4087 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
4088
4089         * configure.ac:
4090           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
4091
4092 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
4093
4094         * configure.ac:
4095           Revert part that belongs to the preset patch.
4096
4097 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
4098
4099         * configure.ac:
4100           Add qoutes to the define. Fixes # 525961.
4101
4102 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
4103
4104         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
4105         (gst_file_index_load), (gst_file_index_add_id),
4106         (gst_file_index_get_assoc_entry):
4107         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
4108         (gst_mem_index_free_id), (gst_mem_index_add_id),
4109         (gst_mem_index_index_format):
4110         Use GSlice when possible.
4111
4112 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
4113
4114         * libs/gst/controller/gstinterpolationcontrolsource.c:
4115         (gst_control_point_free),
4116         (gst_interpolation_control_source_set_internal):
4117         Use GSlice for allocating the control points.
4118
4119 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
4120
4121         * plugins/elements/gsttypefindelement.c:
4122         (gst_type_find_element_class_init),
4123         (gst_type_find_element_set_property),
4124         (gst_type_find_element_get_property),
4125         (gst_type_find_element_activate):
4126         * plugins/elements/gsttypefindelement.h:
4127         Cleanup properties.
4128         Fix pad leak when peer query fails.
4129         We can still typefind when the peer returns -1.
4130         Add property to force caps and bypass typefinding. This will be used in
4131         uridecodebin.
4132         API::force-caps
4133
4134 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
4135
4136         * configure.ac:
4137         Require GLib 2.12.
4138
4139         * gst/glib-compat-private.h:
4140         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
4141         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4142         Unconditionally use GSlice for allocation.
4143
4144         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
4145         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
4146         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
4147         (gst_structure_free):
4148         Use GSlice for allocation.
4149
4150 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
4151
4152         * gst/parse/Makefile.am:
4153         * gst/parse/grammar.tab.pre.c:
4154         * gst/parse/grammar.tab.pre.h:
4155         * gst/parse/lex._gst_parse_yy.pre.c:
4156         Require a new enough flex and bison and remove the parser hacks to use
4157         a pre-regenerated version.
4158
4159 2008-04-01  Julien Moutte  <julien@fluendo.com>
4160
4161         patch by: Jason Zhao <E3423C@motorola.com>
4162
4163         * configure.ac: Add a configure switch to disable option parsing
4164         in gst_init.
4165         Fixes #522882.
4166
4167 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4168
4169         * configure.ac:
4170         * gst/gstregistry.c:
4171           MacOS has plugins under .so or under .dylib. Add detection for MacOS
4172           and handle this case.
4173
4174         * gst/gst.c:
4175           Add a comment here describing, why we stat each plugin and not try to
4176           be smart.
4177
4178 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
4179
4180         * libs/gst/base/gstbasetransform.c:
4181         (gst_base_transform_prepare_output_buffer):
4182         Also unset the GAP flag on buffers if we're working inplace but
4183         the element is not GAP-aware.
4184
4185         Mark a comment as FIXME 0.11.
4186
4187 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4188
4189         * gst/gst.c:
4190           Fix type in log message and add one to ease seeing how long registry
4191           cache verification takes.
4192
4193         * gst/gstregistry.c:
4194           Only test plugin filenames against G_MODULE_SUFFIX.
4195
4196 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4197
4198         * gst/gstdebugutils.c:
4199           Improve handling ghost/proxy pads.
4200
4201 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
4202
4203         * docs/gst/gstreamer-sections.txt:
4204         * gst/gstpad.c:
4205         * gst/gstpad.h:
4206           Expose macro to docs and fix link to it.
4207
4208 2008-03-27  Michael Smith <msmith@fluendo.com>
4209
4210         * libs/gst/dataprotocol/dataprotocol.c:
4211         (gst_dp_packet_from_event_1_0):
4212           When calculating GDP body CRC, use the correct pointer. 
4213           Fixes part of #522401.
4214
4215 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4216
4217         Patch by: Mark Nauwelaerts <manauw at skynet be>
4218
4219         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4220         (gst_identity_init), (gst_identity_prepare_output_buffer):
4221         Identity is not always a passthrough element, it can modify the buffer
4222         timestamps when it has a datarate and operates in single-segment mode.
4223         We therefore make it an in_place filter with a custom buffer prepare
4224         function that conditionally makes the input buffer metadata writable
4225         when needed.  Fixes #523985.
4226
4227 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4228
4229         Patch by: Mark Nauwelaerts <manauw at skynet be>
4230
4231         * gst/gstclock.h:
4232         * libs/gst/base/gstbasesrc.h:
4233         * libs/gst/base/gstbasetransform.c:
4234         * libs/gst/check/gstcheck.c:
4235         Small documentation fixes. Fixes #523978.
4236
4237 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4238
4239         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4240         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4241         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4242
4243 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4244
4245         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4246         (single_queue_underrun_cb):
4247         When trying to make room in the queue, bump the max allowed buffers
4248         bigger than the current amount of buffers in the queue. this fixes some
4249         nasty deadlocks in multiqueue when dynamically changing the limits of
4250         the queue.
4251
4252 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4253
4254         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
4255
4256         * gst/gstcaps.c: (gst_caps_set_simple),
4257         (gst_caps_set_simple_valist), (gst_caps_intersect):
4258         * gst/gstcaps.h:
4259         Constify the field gchar * params in set_simple and friends.
4260         Fixes #522326.
4261
4262 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4263
4264         * gst/gstvalue.c: (gst_value_transform_object_string):
4265         Transform a GstObject to a more meaningfull string that includes the
4266         object type in addition to its name.
4267
4268 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
4269
4270         * ChangeLog:
4271           ChangeLog surgery to add bugnumber to commit.
4272
4273 2008-03-23  Rene Stadler  <mail@renestadler.de>
4274
4275         * libs/gst/base/gstbasetransform.c:
4276         (gst_base_transform_set_gap_aware): Fix confusing documentation.
4277
4278 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4279
4280         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4281         Rename constant everywhere and don't forget one occurence.
4282
4283 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4284
4285         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4286         Align memory to the pointer size even if the architecture allows
4287         unaligned memory access. Unaligned memory access usually comes with
4288         performance penality.
4289
4290 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4291
4292         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4293         (gst_registry_binary_check_magic),
4294         (gst_registry_binary_load_pad_template),
4295         (gst_registry_binary_load_feature),
4296         (gst_registry_binary_load_plugin):
4297         Align memory to the pointer size instead of always 32 bit. Fixes
4298         unaligned memory accesses on ia64 and friends.
4299
4300         * gst/gstregistrybinary.h:
4301         Bump binary registry format version for this as it changes the
4302         format on those architectures that don't have unaligned access
4303         and 64 bit pointers.
4304
4305 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4306
4307         * docs/pwg/advanced-dparams.xml:
4308         * docs/pwg/building-props.xml:
4309         * docs/pwg/other-source.xml:
4310         * gst/glib-compat.h:
4311         * gst/gstbin.c: (gst_bin_class_init):
4312         * gst/gstclock.c: (gst_clock_class_init):
4313         * gst/gstindex.c: (gst_index_class_init):
4314         * gst/gstobject.c: (gst_object_class_init):
4315         * gst/gstpad.c: (gst_pad_class_init):
4316         * gst/gstpipeline.c: (gst_pipeline_class_init):
4317         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4318         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4319         * libs/gst/base/gstbasetransform.c:
4320         (gst_base_transform_class_init):
4321         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4322         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4323         (_gst_check_fault_handler_sighandler),
4324         (_gst_check_fault_handler_setup), (gst_check_init):
4325         * libs/gst/controller/gstcontroller.c:
4326         (_gst_controller_class_init):
4327         * libs/gst/controller/gstlfocontrolsource.c:
4328         (gst_lfo_control_source_class_init):
4329         * libs/gst/net/gstnetclientclock.c:
4330         (gst_net_client_clock_class_init):
4331         * libs/gst/net/gstnettimeprovider.c:
4332         (gst_net_time_provider_class_init):
4333         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4334         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4335         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4336         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4337         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4338         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4339         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4340         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4341         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4342         * plugins/elements/gstqueue.c: (gst_queue_class_init):
4343         * plugins/elements/gsttee.c: (gst_tee_class_init):
4344         * plugins/elements/gsttypefindelement.c:
4345         (gst_type_find_element_class_init):
4346         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4347         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4348         use it everywhere for GParamSpecs that use static strings (i.e. all).
4349         This gives us less memory usage, fewer allocations and thus less
4350         memory defragmentation. Fixes bug #523806.
4351
4352 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4353
4354         * gst/gstminiobject.c: (gst_value_dup_mini_object),
4355         (gst_param_spec_mini_object):
4356         * gst/gstminiobject.h:
4357         * win32/common/libgstreamer.def:
4358         * docs/gst/gstreamer-sections.txt:
4359         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4360         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4361         GstParamSpecMiniObject into a public header for this.
4362
4363         This make GstMiniObject a bit more consistent with GObject and makes
4364         it possible to extend the param specs.
4365
4366         gst_value_dup_mini_object is mainly useful for set_property methods.
4367
4368         Fixes bug #523798.
4369
4370         * tools/gst-inspect.c: (print_element_properties_info):
4371         Print something useful for GstMiniObject properties and not just
4372         "unknown type".
4373
4374 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4375
4376         * docs/gst/gstreamer-sections.txt:
4377         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4378         (gst_registry_binary_check_magic):
4379         * gst/gstregistrybinary.h:
4380         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4381         and add it to the (private part) of the docs to fix the build.
4382
4383 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4384
4385         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4386         (gst_registry_binary_check_magic),
4387         (gst_registry_binary_read_cache):
4388         * gst/gstregistrybinary.h:
4389         Don't use GST_MAJORMINOR for the binary registry version. Instead
4390         hardcode a value that must be changed whenever the format changes
4391         in an incompatible way.
4392         Also don't GST_ERROR when there is a version mismatch, just
4393         regenerate the registry silently.
4394
4395 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
4396
4397         * configure.ac:
4398         Back to development - 0.10.18.1
4399
4400 === release 0.10.18 ===
4401
4402 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
4403
4404         * configure.ac:
4405           releasing 0.10.18, "So far away"
4406
4407 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
4408
4409         * configure.ac:
4410         * win32/common/config.h:
4411         0.10.17.4 pre-release
4412
4413 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
4414
4415         Patch by: Ole André Vadla Ravnås
4416             <ole dot andre dot ravnas at tandberg dot com>
4417
4418         * docs/gst/gstreamer-sections.txt:
4419         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4420         (gst_poll_update_winsock_event_mask),
4421         (gst_poll_prepare_winsock_active_sets),
4422         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4423         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4424         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4425         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4426         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4427         * gst/gstpoll.h:
4428         * win32/common/libgstreamer.def:
4429         Add new function gst_poll_fd_ignored() for improved Windows
4430         compatibility.
4431         Various minor fixes and cleanups. See #520808.
4432
4433 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4434
4435         * gst/gstindex.c: (gst_index_entry_free):
4436         * gst/gstindex.h:
4437           Don't free key strings which we don't own. Fixes crash in
4438           gst_index_entry_free() (#522741).
4439
4440         * tests/check/Makefile.am:
4441         * tests/check/gst/.cvsignore:
4442         * tests/check/gst/gstindex.c: (test_index_entries),
4443           (gst_index_suite), (gst_index):
4444           Add unit test for the above.
4445
4446 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4447
4448         * win32/common/libgstreamer.def:
4449         Remove symbols that were removed recently. Fixes bug #521740.
4450
4451 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4452
4453         * configure.ac:
4454         * win32/common/config.h:
4455         0.10.17.3 pre-release
4456
4457 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4458
4459         Patch by: Ole André Vadla Ravnås
4460             <ole dot andre dot ravnas at tandberg dot com>
4461
4462         * docs/gst/gstreamer-sections.txt:
4463         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4464         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4465         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4466         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4467         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4468         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4469         (gst_poll_fd_can_write), (gst_poll_wait),
4470         (gst_poll_set_controllable), (gst_poll_restart),
4471         (gst_poll_set_flushing):
4472         * gst/gstpoll.h:
4473         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4474         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4475         (gst_net_time_provider_new):
4476         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4477         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4478         * tests/benchmarks/gstpollstress.c: (main):
4479         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4480         Remove GstPollMode from the API, it does not make sense to let the
4481         application control this.
4482         Add support for Win32.
4483         Fix the testsuite. Fixes #520671.
4484
4485 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4486
4487         Patch by: Ole André Vadla Ravnås
4488             <ole dot andre dot ravnas at tandberg dot com>
4489
4490         * gst/gstregistrybinary.c:
4491         Include io.h for write() and close() when building with MSVC. Fixes
4492         bug #520877.
4493
4494 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4495
4496         * configure.ac:
4497         * gst/gst_private.h:
4498         * gst/gstconfig.h.in:
4499         * gst/gstregistry.h:
4500         * gst/gstregistrybinary.c:
4501         * win32/common/gstconfig.h:
4502           Move registry backend API to private headers where we can. Add
4503           fixme-0.11 comments for the others. Add stubs for the xml backend when
4504           using the binary to ensure they functions exists (they should not be
4505           used though). Fixes #520756.
4506
4507 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4508
4509         * configure.ac:
4510         * win32/common/config.h:
4511         0.10.17.2 prelease
4512
4513 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4514
4515         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4516         (gst_registry_binary_read_cache):
4517         * gst/gstregistryxml.c: (gst_registry_save):
4518         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4519         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4520         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4521         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4522         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4523         Fixes #520152
4524
4525 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4526
4527         * gst/gstminiobject.c:
4528         Import gst_private.h before any other header that might include other
4529         glib headers. This fixes the build on windows using native compilers.
4530
4531 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4532
4533         * win32/common/gstconfig.h:
4534           Add here too, just for completeness.
4535
4536 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4537
4538         * configure.ac:
4539         * gst/gstconfig.h.in:
4540         * gst/gstregistry.h:
4541           Fix broken use of config.h-defined preprocessor directive in a public
4542           header file. Add a corresponding define to gstconfig.h, since we can't
4543           really remove those function declarations from the header file now
4544           (or can we? and why are they there in the first place?).
4545
4546 2008-03-03  Andy Wingo  <wingo@pobox.com>
4547
4548         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4549         the new warning.
4550
4551         * gst/gststructure.c (gst_structure_from_string): Warn if
4552         structure_from_string didn't consume the whole string, but the
4553         caller did not provide an end pointer.
4554
4555 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4556
4557         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4558
4559         * gst/gstregistryxml.c: (read_string), (load_feature):
4560           Strings allocated by libxml2 should be freed with xmlFree(), not
4561           with g_free(). Fixes issues on windows in certain contexts (#519698).
4562
4563 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4564
4565         * gst/gstinterface.c: (gst_element_implements_interface):
4566           Don't crash if the element supports the interface queried, but does
4567           not implement GstImplementsInterface. Fixes #519584.
4568
4569         * tests/check/Makefile.am:
4570         * tests/check/gst/.cvsignore:
4571         * tests/check/gst/gstinterface.c:
4572           Add unit test for the above.
4573
4574 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4575
4576         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4577         Small doc update.
4578
4579 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4580
4581         * gst/gstsegment.c: (gst_segment_set_seek),
4582         (gst_segment_to_stream_time):
4583         Improve some comment.
4584         Update variables where it makes more sense.
4585
4586 2008-02-29  Rene Stadler  <mail@renestadler.de>
4587
4588         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4589         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4590         URIHandlers implemented using language bindings.
4591
4592 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4593
4594         * gst/gstelementfactory.h:
4595         * tests/check/elements/fakesink.c:
4596         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4597         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4598         * tests/check/elements/filesink.c: (setup_filesink):
4599         * tests/check/elements/filesrc.c: (setup_filesrc):
4600         * tests/check/elements/identity.c: (setup_identity):
4601         * tests/check/elements/tee.c:
4602         * tests/check/generic/sinks.c:
4603         * tests/check/generic/states.c: (setup), (teardown):
4604         * tests/check/gst/gst.c:
4605         * tests/check/gst/gstabi.c:
4606         * tests/check/gst/gstbin.c:
4607         * tests/check/gst/gstbus.c: (pull_messages):
4608         * tests/check/gst/gstcaps.c:
4609         * tests/check/gst/gstelement.c:
4610         * tests/check/gst/gstevent.c:
4611         * tests/check/gst/gstghostpad.c:
4612         * tests/check/gst/gstiterator.c:
4613         * tests/check/gst/gstmessage.c:
4614         * tests/check/gst/gstminiobject.c: (my_foo_init):
4615         * tests/check/gst/gstobject.c: (thread_name_object),
4616         (gst_object_suite):
4617         * tests/check/gst/gstpad.c:
4618         * tests/check/gst/gstplugin.c:
4619         * tests/check/gst/gstpoll.c:
4620         * tests/check/gst/gstquery.c:
4621         * tests/check/gst/gstsegment.c:
4622         * tests/check/gst/gststructure.c:
4623         * tests/check/gst/gstsystemclock.c:
4624         * tests/check/gst/gsttask.c:
4625         * tests/check/gst/gstutils.c:
4626         * tests/check/gst/gstvalue.c:
4627         * tests/check/gst/struct_hppa.h:
4628         * tests/check/gst/struct_i386.h:
4629         * tests/check/gst/struct_ppc32.h:
4630         * tests/check/gst/struct_ppc64.h:
4631         * tests/check/gst/struct_x86_64.h:
4632         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4633         * tests/check/libs/basesrc.c:
4634         * tests/check/libs/controller.c: (GST_START_TEST):
4635         * tests/check/libs/gdp.c:
4636         * tests/check/libs/gstnetclientclock.c:
4637         * tests/check/libs/gstnettimeprovider.c:
4638         * tests/check/libs/libsabi.c:
4639         * tests/check/libs/struct_hppa.h:
4640         * tests/check/libs/struct_i386.h:
4641         * tests/check/libs/struct_ppc32.h:
4642         * tests/check/libs/struct_ppc64.h:
4643         * tests/check/libs/struct_x86_64.h:
4644         * tests/check/pipelines/cleanup.c:
4645         * tests/check/pipelines/simple-launch-lines.c:
4646         * tests/check/pipelines/stress.c:
4647         And correct even more valid sparse warnings.
4648
4649         * win32/common/libgstreamer.def:
4650         Add gst_poll_fd_init to the list of symbols.
4651
4652 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4653
4654         * gst/gstconfig.h.in:
4655         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4656         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4657         (gst_check_log_critical_func), (gst_check_drop_buffers),
4658         (gst_check_element_push_buffer_list):
4659         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4660         (gst_controller_get_type):
4661         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4662         (gst_object_get_controller), (gst_object_get_control_source):
4663         * libs/gst/controller/gstinterpolationcontrolsource.c:
4664         (gst_interpolation_control_source_new):
4665         * libs/gst/controller/gstlfocontrolsource.c:
4666         (gst_lfo_control_source_new):
4667         * libs/gst/dataprotocol/dataprotocol.c:
4668         (gst_dp_event_from_packet_0_2):
4669         * plugins/elements/gstfdsrc.c:
4670         * plugins/elements/gstmultiqueue.c:
4671         * plugins/elements/gsttee.c:
4672         * plugins/elements/gsttypefindelement.c:
4673         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4674         (gst_file_index_add_association):
4675         * plugins/indexers/gstmemindex.c:
4676         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4677         * tests/check/elements/queue.c: (setup_queue):
4678         * tests/check/gst/gstpipeline.c:
4679         * tests/check/libs/collectpads.c: (setup), (teardown),
4680         (gst_collect_pads_suite):
4681         * tests/examples/adapter/adapter_test.c:
4682         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4683         * tests/examples/xml/createxml.c:
4684         * tests/examples/xml/runxml.c:
4685         * tools/gst-inspect.c:
4686         * tools/gst-run.c:
4687         Correct all relevant warnings found by the sparse semantic code
4688         analyzer. This include marking several symbols static, using
4689         NULL instead of 0 for pointers, not using variable sized arrays
4690         on the stack, moving variable declarations to the beginning of
4691         a block and using "foo (void)" instead of "foo ()" for declarations.
4692
4693 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4694
4695         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4696         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4697         Don't reset GstPollFDs, this is not necessary at all.
4698
4699         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4700         (delayed_restart), (delayed_control):
4701         Use GST_POLL_FD_INIT.
4702
4703 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4704
4705         * gst/gstpoll.c: (gst_poll_fd_init):
4706         * gst/gstpoll.h:
4707         Added Since tags.
4708
4709         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4710         Use some more init macros.
4711
4712 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4713
4714         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4715         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4716         Use init macros and functions.
4717
4718 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4719
4720         * docs/gst/gstreamer-sections.txt:
4721         * gst/gstpoll.c: (gst_poll_fd_init):
4722         * gst/gstpoll.h:
4723         Add INIT macro and _init method for initializing the GstPollFD.
4724
4725 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4726
4727         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4728         (gst_fd_sink_update_fd):
4729         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4730         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4731         (delayed_restart), (delayed_control):
4732         Initialize some uninitialized variables as spotted by valgrind.
4733
4734 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4735
4736         * tests/benchmarks/Makefile.am:
4737         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4738         (main):
4739         Add poll stress test.
4740
4741 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4742
4743         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4744
4745         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4746         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4747         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4748         * plugins/elements/gstfdsink.h:
4749         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4750         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4751         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4752         (gst_fd_src_uri_set_uri):
4753         * plugins/elements/gstfdsrc.h:
4754         Port to GstPoll. See #505417.
4755
4756 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4757
4758         * win32/common/libgstreamer.def:
4759         Add new gst_poll_ symbols to win32 defs.
4760
4761 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4762
4763         * docs/libs/gstreamer-libs-sections.txt:
4764         * libs/gst/net/gstnetclientclock.c:
4765         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4766         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4767         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4768         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4769         * libs/gst/net/gstnetclientclock.h:
4770         * libs/gst/net/gstnettimeprovider.c:
4771         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4772         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4773         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4774         (gst_net_time_provider_new):
4775         * libs/gst/net/gstnettimeprovider.h:
4776         Use a private stuct to not break ABI.
4777
4778 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4779
4780         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4781
4782         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4783         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4784         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4785         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4786         * libs/gst/net/gstnetclientclock.h:
4787         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4788         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4789         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4790         (gst_net_time_provider_new):
4791         * libs/gst/net/gstnettimeprovider.h:
4792         Massive code removal and cleanups because of GstPoll.
4793         Fixes #505417.
4794
4795 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4796
4797         * configure.ac:
4798         Add checks for poll, ppoll and pselect.
4799
4800         * docs/gst/gstreamer-docs.sgml:
4801         * docs/gst/gstreamer-sections.txt:
4802         Add docs for GstPoll.
4803
4804         * gst/Makefile.am:
4805         * gst/gst.h:
4806         * gst/gstpoll.c: (find_index), (selectable_fds),
4807         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4808         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4809         (gst_poll_set_mode), (gst_poll_get_mode),
4810         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4811         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4812         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4813         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4814         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4815         (gst_poll_fd_can_write), (gst_poll_wait),
4816         (gst_poll_set_controllable), (gst_poll_restart),
4817         (gst_poll_set_flushing):
4818         * gst/gstpoll.h:
4819         Add generic poll abstraction. We ideally don't want to have this in core
4820         here but in glib intead...
4821         This code will be used in various network elements and ultimately for
4822         the nanosecond precision monotonic clock (that's why it's here in core).
4823         It'll allow us to implement cancelable socket operations for windows too.
4824
4825         * tests/check/Makefile.am:
4826         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4827         (delayed_stop), (delayed_restart), (delayed_flush),
4828         (delayed_control), (gst_poll_suite):
4829         Add GstPoll unit test.
4830
4831 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4832
4833         * gst/gstfilter.c:
4834           Improve documentation of gst_filter_run(). Fixes #518627.
4835
4836 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4837
4838         * docs/README:
4839           Add a few lines about the new 'check-inspected-versions' target.
4840
4841 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4842
4843         * tests/check/gst/gstevent.c:
4844           Add qos to the event test. Rename tcase/tsuite; is not only about
4845           custom events.
4846
4847 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4848
4849         * plugins/elements/gstqueue.c:
4850           Ensure that buffer metadata is writeable, before modifying. Spotted by
4851           Mike.
4852
4853 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4854
4855         * plugins/elements/gstqueue.c:
4856         * plugins/elements/gstqueue.h:
4857           When dropping buffers in leaky modes, mark next buffers we sent as
4858           DISCONT.
4859
4860 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4861
4862         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4863           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4864
4865 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4866
4867         * plugins/elements/Makefile.am:
4868         * plugins/elements/gstbufferstore.c:
4869         * plugins/elements/gstbufferstore.h:
4870         * plugins/elements/gsttypefindelement.h:
4871           Remove GstBufferStore, no idea why we were still building it.
4872           It's not used anywhere and superseded by GstAdapter.
4873
4874         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4875           (gst_file_src_create_mmap):
4876         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4877           Printf format fixes for 64-bit integers.
4878
4879 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4880
4881         * configure.ac:
4882         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4883         We're not in 0.8 times anymore.
4884
4885 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4886
4887         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4888         (gst_check_element_push_buffer_list):
4889         * libs/gst/check/gstcheck.h:
4890         Make the declaration in the header for
4891         gst_check_element_push_buffer_list match the implementation.
4892
4893         Fix up spelling, grammar and wording of the documentation in a few
4894         places, and add the Since keyword to new API functions.
4895         Use g_list_delete_link instead of g_list_remove in
4896         gst_check_drop_buffers, since it's immeasurably more efficient.
4897
4898         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4899         Use new gst_check_drop_buffers function where appropriate.
4900
4901         * win32/common/libgstbase.def:
4902         * win32/common/libgstreamer.def:
4903         Add new symbols gst_collect_pads_take_buffer, 
4904         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4905         exports
4906
4907         Changelog surgery to add API keyword to new gst_check API.
4908
4909 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4910
4911         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4912         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4913         Update pre-generated flex files with flex 2.3.34.
4914
4915 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4916
4917         * gst/gstminiobject.c:
4918           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4919           friendly to subclasses and not require them to know all internals
4920           of their parent class.
4921
4922 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4923
4924         * docs/libs/gstreamer-libs-sections.txt:
4925         * libs/gst/base/gstcollectpads.c:
4926         * libs/gst/base/gstcollectpads.h:
4927           Add sub-buffer functions to collectpads. Fixes #516187.
4928           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4929
4930 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4931
4932         * gst/gstbuffer.c:
4933           Copy selected buffer-flags when creating subbuffers.
4934           Fixes #516395.
4935
4936 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4937
4938         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4939         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4940         * gst/gstmessage.c: (gst_message_class_init),
4941         (gst_message_finalize):
4942         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4943         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4944         (gst_mmap_buffer_finalize):
4945         Properly chain up finalize functions to the parent class.
4946
4947 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4948
4949         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4950
4951         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4952         (gst_index_set_resolver_full):
4953         * gst/gstindex.h:
4954         Add new function with option to dispose of user_data in resolver.
4955         Actually call the dispose function when finalizing the object and not
4956         just when changing the resolver/filter.
4957         API: GstIndex::gst_index_set_resolver_full()
4958
4959         * docs/gst/gstreamer-sections.txt:
4960         Add new function to docs. Fixes #515469.
4961
4962 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4963
4964         * gst/gstindex.c: (gst_index_finalize):
4965         Chain up finalize to the parent class. Fixes leaking the GstObject
4966         name and other things.
4967
4968 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4969
4970         * configure.ac:
4971         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4972         pre-releases or releases.
4973
4974         * docs/faq/gst-uninstalled:
4975         Add gst-plugins-gl
4976
4977         * docs/random/release:
4978         Change one of the steps - we only upload core & base to Gnome FTP
4979
4980 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4981
4982         * gst/gstconfig.h.in:
4983           Add 'id' for example.
4984
4985         * gst/gstpad.c:
4986         * gst/gstutils.c:
4987         * plugins/elements/gstfdsink.c:
4988           Link to signals. Doc and comment fixes.
4989
4990 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4991
4992         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4993         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4994           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4995           unused and unimplemented; finally, it is plugin features, not
4996           plugins, that have ranks.
4997           
4998 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4999
5000         * gst/gstpluginfeature.h:
5001           Clarify GstRank range docs.
5002
5003 2008-02-05  David Schleef  <ds@schleef.org>
5004
5005         * gst/gst.c: Add a separate gst_deinitialized that prevents
5006           gst_init() from being called after gst_deinit().  Fixes #509559
5007
5008 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
5009
5010         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
5011         (gst_bin_class_init):
5012         * gst/gstelement.c: (gst_element_base_class_init),
5013         (gst_element_class_add_pad_template):
5014         * gst/gstpadtemplate.c: (gst_pad_template_init):
5015         * gst/gstpipeline.c: (gst_pipeline_get_type),
5016         (gst_pipeline_base_init), (gst_pipeline_class_init):
5017         * libs/gst/base/gstbasesink.c:
5018         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
5019         (gst_base_src_base_init), (gst_base_src_class_init):
5020         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
5021         (gst_capsfilter_class_init):
5022         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
5023         (gst_fake_sink_class_init):
5024         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
5025         (gst_fake_src_class_init):
5026         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
5027         (gst_fd_sink_class_init):
5028         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
5029         (gst_fd_src_class_init):
5030         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
5031         (gst_file_sink_class_init):
5032         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
5033         (gst_file_src_class_init):
5034         * plugins/elements/gstidentity.c: (gst_identity_base_init),
5035         (gst_identity_class_init):
5036         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5037         (gst_multi_queue_class_init):
5038         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5039         (gst_queue_class_init):
5040         * plugins/elements/gsttee.c: (gst_tee_base_init),
5041         (gst_tee_class_init):
5042         * plugins/elements/gsttypefindelement.c:
5043         (gst_type_find_element_base_init),
5044         (gst_type_find_element_class_init):
5045         * tests/check/gst/gstelement.c: (gst_element_suite):
5046         Revert previous changes to the behaviour of GstPadTemplates, etc
5047         and the possiblity to call them in class_init as it breaks too
5048         many elements. Reopens bug #491501.
5049
5050         Should be applied again for 0.11, thus added a few FIXME 0.11 at
5051         several places.
5052
5053 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
5054
5055         * tools/gst-launch.c:
5056         Dump one graph per pipeline state-change and state change name
5057         (if GST_DEBUG_DUMP_DOT_DIR is set).
5058
5059 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
5060
5061         * gst/gstpad.c:
5062         * tests/check/gst/gstpad.c:
5063         Be sure that we have a new copy of the caps and not
5064         reffed caps from a template
5065
5066 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
5067
5068         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5069         * gst/gstpipeline.c: (gst_pipeline_get_type),
5070         (gst_pipeline_class_init):
5071         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5072         (gst_base_sink_class_init):
5073         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
5074         (gst_base_src_class_init):
5075         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
5076         (gst_base_transform_class_init):
5077         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
5078         (gst_collect_pads_class_init):
5079         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
5080         * libs/gst/net/gstnettimeprovider.c:
5081         (gst_net_time_provider_base_init),
5082         (gst_net_time_provider_class_init):
5083         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
5084         (gst_capsfilter_class_init):
5085         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
5086         (gst_fake_sink_class_init):
5087         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
5088         (gst_fake_src_class_init):
5089         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
5090         (gst_fd_sink_class_init):
5091         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
5092         (gst_fd_src_class_init):
5093         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
5094         (gst_file_sink_class_init):
5095         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
5096         (gst_file_src_class_init):
5097         * plugins/elements/gstidentity.c: (gst_identity_base_init),
5098         (gst_identity_class_init):
5099         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5100         (gst_multi_queue_class_init):
5101         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5102         (gst_queue_class_init):
5103         * plugins/elements/gsttee.c: (gst_tee_base_init),
5104         (gst_tee_class_init):
5105         * plugins/elements/gsttypefindelement.c:
5106         (gst_type_find_element_base_init),
5107         (gst_type_find_element_class_init):
5108         Don't use base_init where not absolutely necessary. For example it's
5109         not necessary anymore for adding pad templates or setting element
5110         details.
5111
5112         Leave empty base_init functions in several places as GST_BOILERPLATE
5113         still defines and uses them.
5114
5115 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
5116
5117         * gst/gstelement.c: (gst_element_base_class_init),
5118         (gst_element_class_add_pad_template):
5119         * gst/gstpadtemplate.c:
5120         Make it possible (and recommended) to set element details and add
5121         pad templates in the class_init functions by copying the details/pad
5122         templates in GstElement's base_init.
5123
5124         Also make it possible to replace existing pad templates by adding
5125         a new one with the same name. This was done in a hackish fashion
5126         in same elements before already.
5127
5128         Don't reference pad templates that are added a second time. A
5129         new pad template has a refcount of one and is not floating anymore
5130         and to be owned by the element's class. Make this more explicit by
5131         mentioning it in the docs of gst_element_class_add_pad_template().
5132
5133         These changes are backwards compatible. Fixes bug #491501.
5134
5135         * tests/check/gst/gstelement.c:
5136         Add unit test for setting element details, adding pad templates and
5137         replacing them in a subclass.
5138
5139 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
5140
5141         * tools/gst-inspect.c: (print_interfaces),
5142         (print_element_properties_info), (print_pad_info),
5143         (print_signal_info), (print_element_info):
5144         Fix a few memory leaks.
5145
5146 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5147
5148         * docs/libs/gstreamer-libs-sections.txt:
5149         * libs/gst/check/gstcheck.c:
5150         * libs/gst/check/gstcheck.h:
5151         Add more functions for unit testing: gst_check_drop_buffers,
5152         gst_check_caps_equal, gst_check_element_push_buffer_list,
5153         gst_check_element_push_buffer
5154         API: gst_check_drop_buffers
5155         API: gst_check_caps_equal
5156         API: gst_check_element_push_buffer_list
5157         API: gst_check_element_push_buffer
5158
5159 2008-02-01  Julien Moutte  <julien@fluendo.com>
5160
5161         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
5162         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
5163         (gst_index_finalize), (gst_index_entry_free),
5164         (gst_index_add_association): Fix memory leaks.
5165         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
5166         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
5167         (gst_mem_index_free_format), (gst_mem_index_free_id),
5168         (gst_mem_index_finalize): Fix memory leaks.
5169         * win32/common/config.h: Updated to CVS HEAD.
5170
5171 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
5172
5173         * docs/README:
5174           Some more details about how the plugin docs works.
5175
5176         * docs/plugins/gstreamer-plugins-sections.txt:
5177           Whitespace cleanup.
5178
5179 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
5180
5181         * gst/parse/grammar.tab.pre.c:
5182         * gst/parse/grammar.tab.pre.h:
5183         * gst/parse/grammar.y:
5184         * gst/parse/lex._gst_parse_yy.pre.c:
5185           Add delayed set-property. This allows to set properties on dynamicaly
5186           created objects (pads in videomxer). Fixes #509391.
5187
5188 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5189
5190         * gst/gstutils.c:
5191         Check if caps are not NULL (fix bug #510194)
5192
5193 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5194
5195         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5196         (gst_base_sink_get_position_paused):
5197         Add fixme regarding EOS in pull mode.
5198         Fix position reporting in PAUSED for negative rates.
5199
5200 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5201
5202         * gst/gstminiobject.c: (gst_mini_object_replace):
5203         When replacing a miniobject, do a quick equality check first so that we
5204         can avoid a ref/unref pair.
5205
5206 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5207
5208         * docs/design/part-synchronisation.txt:
5209         Update some docs.
5210
5211         * docs/plugins/Makefile.am:
5212         * docs/plugins/gstreamer-plugins-docs.sgml:
5213         * docs/plugins/gstreamer-plugins-sections.txt:
5214         * plugins/elements/gstmultiqueue.c:
5215         Add multiqueue to the docs.
5216
5217 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5218
5219         * configure.ac:
5220           Back to CVS
5221
5222 === release 0.10.17 ===
5223
5224 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
5225
5226         * configure.ac:
5227           releasing 0.10.17, "Due Negligence"
5228
5229 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5230
5231         * gst/gstutils.c:
5232         Revert caps != NULL check temporarily for 0.10.17 release.
5233
5234 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5235
5236         * gst/gstutils.c:
5237         Check if caps are not NULL (fix bug #510194)
5238
5239 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5240
5241         * gst/gstutils.c:
5242         Fix compilation on systems that have posix timers but no
5243         monotonic clock.
5244         Fixes: #512715
5245         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5246         dot net>
5247
5248 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5249
5250         * tools/gst-inspect.c:
5251         Revert previous commit in preparation for an impromptu 0.10.17 release
5252
5253 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
5254
5255         * tools/gst-inspect.c: (print_interfaces),
5256         (print_element_properties_info), (print_pad_info),
5257         (print_signal_info), (print_element_info):
5258         Fix a few memory leaks.
5259
5260 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
5261
5262         * configure.ac:
5263         Back to CVS
5264
5265 === release 0.10.16 ===
5266
5267 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
5268
5269         * configure.ac:
5270           releasing 0.10.16, "Special Dispensation"
5271
5272 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
5273
5274         * configure.ac:
5275           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5276           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5277           not fail when trying to crosscompile on OpenEmbedded (#511750).
5278
5279 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
5280
5281         * docs/manuals.mak:
5282         Use $(MAKE) instead of make to fix the build if GNU make is
5283         called different. Fixes bug #510747.
5284
5285 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5286
5287         * gst/gstplugin.c: (_gst_plugin_initialize):
5288           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5289           again, which I broke two commits ago when changing the API
5290           of gst_plugin_register_static(): the g_list_foreach() in
5291           _gst_plugin_register_static still assumed the old function
5292           signature and would therefore fail (re-fixes #510187).
5293
5294         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5295           (_gst_plugin_register_static), (gst_plugin_register_static):
5296           Revert the (technically correct) change to call g_thread_init() from
5297           the pre-main() constructor. This will break programs which call
5298           g_thread_init() without an if (!g_thread_supported()) guard in their
5299           main function. We could just blame it on GLib or the application, but
5300           it's probably best to just avoid this altogether and simply not use
5301           any GLib functions here and use plain old malloc() with a simple
5302           array to store the plugins to register later when gst_init() is
5303           finally called (re-fixes #510187).
5304
5305         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5306           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5307           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5308           (GST_START_TEST), (gst_plugin_suite):
5309           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5310           works.
5311
5312 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5313
5314         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5315           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5316           This makes gtk-doc complain, but results in slightly better
5317           compiler errors. The old _gst_plugin_register_static() is
5318           still guarded, so there'll be a compiler warning about that
5319           instead. Fixes #510187 too.
5320
5321 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5322
5323         * gst/gst.c: (init_post):
5324         * gst/gstplugin.c: (_gst_plugin_register_static),
5325           (gst_plugin_register_static), (_gst_plugin_initialize):
5326         * gst/gstplugin.h: (GstPluginFilter):
5327           Change API of gst_plugin_register_static() to not take
5328           a GstPluginDesc, but rather just take all the arguments
5329           in a GstPluginDesc directly. This is more intuitive and
5330           avoids certain mistakes when porting code from
5331           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5332           Fixes #510187.
5333
5334         * tests/check/gst/gstplugin.c:
5335           Fix up for changed API.
5336
5337 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5338
5339         * docs/faq/legal.xml:
5340           Update FAQ, Totem actually has an exception these days.
5341
5342 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
5343
5344         * win32/common/libgstreamer.def:
5345         Add new API declarations
5346
5347 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5348
5349         * gst/gstminiobject.c:
5350           Spelling fixes for the API docs.
5351
5352 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5353
5354         * libs/gst/base/gstbasetransform.c:
5355           Fix long property description for QoS.
5356
5357 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
5358
5359         * gst/gst.c:
5360         _gst_trace_on is already provided by gsttrace.h, no need to declare
5361         it ourselves.
5362
5363         * docs/libs/gstreamer-libs-sections.txt:
5364         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5365         and remove strange tcase_add_test which is outputting a warning.
5366
5367         * libs/gst/check/gstcheck.c:
5368         * libs/gst/check/gstcheck.h:
5369         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5370         and define them in gstcheck.c instead of having every .c file whcih
5371         includes gstcheck.h be defining its own copy and relying on symbol
5372         interposing to marry them all, which doesn't work on Solaris.
5373
5374         * tests/check/elements/identity.c: (GST_START_TEST):
5375         Don't define 'buffers' locally, it comes from libgstcheck.
5376
5377         * tests/check/generic/sinks.c: (send_buffer):
5378         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5379
5380         * tests/check/gst/gststructure.c: (GST_START_TEST):
5381         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5382         * tests/check/gst/gstutils.c: (GST_START_TEST):
5383         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5384         Add a bunch of casts to make various constants fit the types
5385         they're being assigned to.
5386
5387 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
5388
5389         * gst/gstchildproxy.c:
5390           Improve docs and add some ideas for making this more general-purpose.
5391
5392 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5393
5394         * gst/gst_private.h: (GST_CAT_TYPES):
5395           Add GST_CAT_TYPES, for consistency, and so that the other
5396           debug categories don't make fun of it. Spotted by Saur on IRC.
5397
5398 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5399
5400         * gst/parse/Makefile.am:
5401           Move types.h from EXTRA_DIST to noinst_HEADERS.
5402
5403 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5404
5405         * autogen.sh:
5406           Add -Wno-portability to the automake parameters to stop warnings
5407           about GNU make extensions being used. We require GNU make in almost
5408           every Makefile anyway.
5409
5410         * configure.ac:
5411           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5412           at the same time is required for per target flags.
5413
5414 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5415
5416         * gst/gstmacros.h:
5417           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5418           __GNUC__ is defined before using it.
5419
5420 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5421
5422         * docs/gst/gstreamer-sections.txt:
5423         * gst/gst.c: (init_post):
5424         * gst/gstplugin.c: (_gst_plugin_register_static),
5425           (gst_plugin_register_static), (_gst_plugin_initialize),
5426           (gst_plugin_register_func):
5427         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5428           API: add gst_plugin_register_static() and deprecate
5429           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5430           (#498924).
5431           Also, in _gst_plugin_register_static(), make sure to call
5432           g_thread_init() before calling GLib functions such as
5433           g_list_append() if we're not initialised yet, since that
5434           may lead to random crashes with older GSlice/GLib versions.
5435
5436         * tests/check/gst/gstplugin.c:
5437           Adapt unit test to above changes.
5438
5439 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5440
5441         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5442         * gst/gstcaps.c: (gst_caps_to_string):
5443         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5444           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5445           Yet another gratuitous GString micro-optimisation: add a (private)
5446           function that serialises a structure appending to an existing
5447           GString, so that when we serialise caps we don't need to alloc+free
5448           a throwaway GString for each structure (each of which also entailing
5449           multiple reallocs on the way); also use g_string_sized_new() in
5450           various places with an approximate string length to avoid reallocs
5451           within GString. See #500143.
5452
5453 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5454
5455         * gst/gststructure.c: (gst_structure_id_set_value):
5456           Always check UTF-8 conformance of structure strings and not only
5457           if the debugging system is enabled; reasoning: the behaviour of
5458           the actual code shouldn't really change depending on whether the
5459           debugging system is enabled or not (#508291).
5460
5461 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5462
5463         * Makefile.am:
5464           Remove old coverage target in favour of "make lcov".
5465
5466 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5467
5468         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5469         (gst_base_src_loop):
5470         The start segment for reverse playback goes from start to last_stop.
5471
5472 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5473
5474         Patch by: Peter Kjellerstedt <pkj axis com>
5475
5476         * gst/gstclock.h:
5477         Cast the results from the timeval/spec_to_time macros to what the
5478         docs say it casts to, a GstClockTime. fixes #508175.
5479
5480 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5481
5482         * gst/gstbuffer.c:
5483         Update some comments.
5484
5485         * tools/gst-inspect.c: (print_element_properties_info):
5486         Improve printing of flags.
5487
5488 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5489
5490         * libs/gst/base/gstbasetransform.c:
5491           (gst_base_transform_transform_size):
5492           Print element name with g_warning() if there's a problem
5493           with the unit size.
5494
5495 2008-01-07  David Schleef  <ds@schleef.org>
5496
5497         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5498
5499         * libs/gst/controller/gstcontroller.h:
5500         * libs/gst/controller/gstcontrolsource.h:
5501         * libs/gst/controller/gstinterpolationcontrolsource.h:
5502         * libs/gst/controller/gstlfocontrolsource.h:
5503         * libs/gst/dataprotocol/dataprotocol.h:
5504           Fix empty prototypes.  Fixes bug #507957.
5505
5506 2008-01-07  David Schleef  <ds@schleef.org>
5507
5508         * docs/faq/dependencies.xml: Fix typo.
5509
5510 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5511
5512         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5513         (gst_base_src_loop):
5514         Don't update the last_stop position in do_seek, that's the position we
5515         did a seek to.
5516         Read backwards when we have a negative rate.
5517
5518         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5519         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5520         (filesrc_suite):
5521         Add check for reverse reading.
5522
5523 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5524
5525         Patch by: Alexis Ballier <aballier at gentoo org>
5526
5527         * tests/check/gst/gstabi.c:
5528         * tests/check/gst/struct_ppc64.h:
5529         * tests/check/libs/libsabi.c:
5530         * tests/check/libs/struct_ppc64.h:
5531           Decide which header to include based on the userland ABI target
5532           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5533           for 64-bit userland (#503590).  Might need something similar for
5534           x86 too.
5535
5536 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5537
5538         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5539           Log the reason why fopen fails in addition to the fact that it failed.
5540           
5541 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5542
5543         * gst/parse/parse.l:
5544         Use "%option never-interactive" to prevent useless calls to isatty()
5545         on every input when parsing. Also use "%option noinput" to not define
5546         the static input/yyinput functions which we don't use anyway. This
5547         removes a compiler warning with gcc 4.3 and saves some bytes in the
5548         library.
5549         
5550         * gst/parse/lex._gst_parse_yy.pre.c:
5551         Regenerated for the above change.
5552
5553 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5554
5555         * gst/gstpad.c: (fixate_value):
5556         Don't crash when trying to fixate and empty list.
5557         Fixes #506643.
5558
5559 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5560
5561         * docs/faq/gst-uninstalled:
5562         Clarify the comments to make the usage of this script and what it
5563         does easier to understand.
5564
5565 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5566
5567         * tools/gst-plot-timeline.py:
5568         Add more options to gst-plot-timeline
5569
5570 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5571
5572         * docs/design/part-synchronisation.txt:
5573         Some more info on how the stream_time in GstBaseSink is done.
5574
5575 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5576
5577         * tests/check/generic/sinks.c: (gst_sinks_suite):
5578           Put back the tcase_set_timeout(), apparently it's needed after
5579           all; fix it up in a way that makes things work with valgrind too.
5580
5581 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5582
5583         * gst/gstdebugutils.c:
5584           Add warning when failed to open file for writing.
5585
5586 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5587
5588         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5589
5590         * gst/gstvalue.c: (gst_value_is_fixed):
5591           Optimisation: bail out of the loop as early as possible (#500143).
5592
5593 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5594
5595         * gst/gstcaps.c: (gst_caps_to_string):
5596         * gst/gstinfo.c: (gst_debug_construct_term_color):
5597         * gst/gstparse.c: (gst_parse_launchv):
5598         * gst/gstutils.c: (gst_util_dump_mem):
5599         * gst/gstvalue.c: (gst_value_serialize_any_list),
5600           (gst_value_transform_any_list_string):
5601           Bunch of gratuitous nano-optimisations.
5602
5603 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5604
5605         * tests/check/generic/sinks.c: (async_done_func),
5606           (async_done_eos_func):
5607           Fix leak in unit test (bus sync handler must unref the message
5608           if it returns GST_BUS_DROP). Don't fiddle with the default test
5609           timeout, this is smaller than the current preconfigured value
5610           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5611           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5612
5613 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5614
5615         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5616
5617         * configure.ac:
5618         Check for stdio_ext.h for the filesink changes.
5619
5620         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5621         (gst_file_sink_class_init), (gst_file_sink_init),
5622         (gst_file_sink_dispose), (gst_file_sink_set_property),
5623         (gst_file_sink_get_property), (gst_file_sink_open_file),
5624         (gst_file_sink_close_file):
5625         * plugins/elements/gstfilesink.h:
5626         Add two properties to control the buffering mode and size.
5627         API: GstFileSink::buffer-mode
5628         API: GstFileSink::buffer-size
5629         Fixes #500150.
5630
5631 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5632
5633         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5634         Add some more docs to explain why a FIXME was wrongly added. 
5635
5636 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5637
5638         * gst/gstobject.c:
5639           Fix typo in the gst_object_{ref,unref} documentation.
5640
5641 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5642
5643         * tests/check/libs/controller.c:
5644         * tests/check/libs/typefindhelper.c:
5645         * tests/check/pipelines/parse-launch.c:
5646           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5647           going to be deprecated (see #498924).
5648
5649 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5650
5651         * gst/gsttypefind.c: (gst_type_find_register):
5652           Make gst_type_find_register work for static typefind functions,
5653           ie. allow passing plugin == NULL (prerequisite for #498924).
5654
5655         * gst/gstelementfactory.c: (gst_element_register):
5656           Small docs addition.
5657
5658 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5659
5660         * gst/gstpad.c: (gst_pad_dispose):
5661         Really unlink the peer pad instead of setting the peer pointer to NULL
5662         when we dispose the pad.
5663         This correctly calls the unlink functions and makes sure that the peer
5664         does not have a handle to invalid memory. See #504671.
5665
5666         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5667         Add testsuite for above case.
5668
5669 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5670
5671         Patch by: Peter Kjellerstedt <pkj axis com>
5672
5673         * libs/gst/check/gstcheck.h:
5674           Fix detection of the check version we're compiling against (would
5675           otherwise break if check goes v0.10.0); correctly report the
5676           name of the failed test again in case of failure, instead of
5677           just 'tf' (fixes #504499).
5678
5679 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5680
5681         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5682         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5683         (gst_base_src_loop), (gst_base_src_set_flushing),
5684         (gst_base_src_change_state):
5685         Allow sending EOS to the source to make it send out an EOS event from
5686         the streaming thread.
5687         Update docs and deprecate the old NULL/READY shutdown method.
5688
5689         * tests/check/libs/basesrc.c: (GST_START_TEST),
5690         (gst_basesrc_suite):
5691         Add unit test for controlled shutdown.
5692
5693 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5694
5695         * docs/design/part-synchronisation.txt:
5696         Small updates.
5697
5698         * gst/gstsegment.c: (gst_segment_set_seek),
5699         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5700         (gst_segment_to_running_time):
5701         The seek format can be different from the segment format when the start
5702         and stop values are not to be updated, when we only do a rate change for
5703         example.
5704
5705         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5706         (gst_segment_suite):
5707         Add a testcase for the rate-only seeks, checking that the format is
5708         correctly ignored when start and stop are not updated.
5709
5710 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5711
5712         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5713
5714         * win32/vs8/grammar.vcproj:
5715         * win32/vs8/libgstcontroller.vcproj:
5716         * win32/vs8/libgstreamer.vcproj:
5717         Fix compilation with VS8 and include some missing files.
5718
5719 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5720
5721         * gst/gsttaglist.c:
5722           Small docs addition: mention that the strings returned by
5723           gst_tag_list_get_string*() are in UTF-8 encoding.
5724
5725 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5726
5727         * Makefile.am:
5728           The check-exports stuff moved to common/win32.mak, so include that.
5729
5730 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5731
5732         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5733         (gst_base_src_perform_seek), (gst_base_src_get_range),
5734         (gst_base_src_set_playing), (gst_base_src_change_state):
5735         Make _wait_playing() not check any variables so that we can call this
5736         function from subclasses. Move the checks elsewhere similar to
5737         _wait_preroll() in basesink.
5738         Add some debugging.
5739         Only signal the LIVE cond when we are going back to PLAYING.
5740
5741 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5742
5743         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5744           Use g_remove() and g_rename(). Check result of g_rename(), and
5745           don't leak the open file descriptor if we error out when writing.
5746
5747         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5748           Must check the return value of close() after writing out the new
5749           registry file.  Sometimes write problems such as out-of-diskspace
5750           are only reported when the file is closed and not already during
5751           the write.  This may have caused partial/broken registry files in
5752           some rare circumstances. Should fix #503675.
5753
5754 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5755
5756         * docs/gst/.cvsignore:
5757         * docs/libs/.cvsignore:
5758         * docs/plugins/.cvsignore:
5759         Ignore files generated by new common/* modifications
5760
5761 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5762
5763         * win32/common/libgstbase.def:
5764           Yes, you can also have a <TAB> if you want.
5765
5766 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5767
5768         * win32/common/libgstbase.def:
5769           Add new basetransform API to win export file.
5770
5771 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5772
5773         * tests/check/gst/gstbin.c:
5774           Adjust the test to the refcount change two days ago.
5775
5776 2007-12-14  David Schleef  <ds@schleef.org>
5777
5778         * docs/faq/getting.xml: Fix typo.
5779
5780 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5781
5782         * docs/libs/gstreamer-libs-sections.txt:
5783         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5784           (gst_base_transform_prepare_output_buffer),
5785           (gst_base_transform_set_gap_aware):
5786         * libs/gst/base/gstbasetransform.h:
5787           API: Add gst_base_transform_set_gap_aware() to control whether
5788           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5789           get buffers with this flag at all. Fixes #503231.
5790
5791 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5792
5793         * libs/gst/base/gstbasesink.c:
5794         * libs/gst/base/gstbasesrc.c:
5795         * libs/gst/base/gstbasetransform.c:
5796           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5797           thread. Correct log message in gstbasesrc.c.
5798
5799 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5800
5801         * gst/gstutils.c: (element_find_unconnected_pad):
5802           Fix possible compiler warning (#503417).
5803
5804 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5805
5806         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5807           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5808
5809 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5810
5811         * tools/gst-inspect.c: (print_element_properties_info):
5812           Add support for GstFraction properties.
5813
5814 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5815
5816         * Makefile.am:
5817           Add check-exports target and run it as part of 'make check'
5818           (see #499140 and #493983).
5819
5820         * gst/gst_private.h:
5821         * gst/gstelementfactory.h:
5822         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5823         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5824           (_priv_gst_in_valgrind):
5825         * gst/gstinfo.h: (GstLogFunction):
5826         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5827           (gst_type_find_register):
5828         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5829           (gst_type_find_factory_get_type):
5830         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5831           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5832           (gst_controller_new_valist), (gst_controller_new_list),
5833           (_gst_controller_dispose), (_gst_controller_class_init):
5834         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5835         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5836           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5837           (gst_object_get_controller), (gst_object_set_controller),
5838           (gst_object_suggest_next_sync), (gst_object_sync_values),
5839           (gst_object_set_control_source), (gst_object_get_control_source),
5840           (gst_object_get_value_arrays), (gst_object_get_value_array),
5841           (gst_object_get_control_rate), (gst_object_set_control_rate):
5842         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5843         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5844           Make some functions that should be static static; rename some
5845           private symbols so that they don't get exported; add some FIXME
5846           comments so we can move accidentally exported functions into
5847           our private section in 0.11.
5848
5849         * win32/common/libgstreamer.def:
5850           Add gst_utils_get_timestamp().
5851
5852 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5853
5854         * gst/gstvalue.c:
5855         * gst/gstvalue.h:
5856           Add more missing "Since:" tags to docs.
5857
5858 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5859
5860         * gst/gstutils.c:
5861           Add mising "Since:" to docs.
5862
5863 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5864
5865         * gst/gstplugin.c:
5866           Include "glib-compat-private.h" to fix the build on system with
5867           glib < 2.10. Fixes #503131.
5868
5869 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5870
5871         * gst/gstutils.c:
5872         * gst/gstutils.h:
5873           Actually its not PURE as it gets the time from elsewhere.
5874
5875 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5876
5877         * docs/gst/gstreamer-sections.txt:
5878         * gst/gstclock.h:
5879         * gst/gstdebugutils.c:
5880         * gst/gstinfo.c:
5881         * gst/gstutils.c:
5882         * gst/gstutils.h:
5883         * libs/gst/base/gstbasesink.c:
5884         * tools/gst-launch.c:
5885           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5886           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5887           Thanks Tim for spotting.
5888           API: gst_util_get_timestamp
5889
5890 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5891
5892         * configure.ac:
5893           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5894
5895 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5896
5897         * gst/gststructure.c: (gst_structure_validate_name),
5898           (gst_structure_new_valist), (gst_structure_parse_value),
5899           (gst_structure_from_string):
5900           Don't crash in _from_string() if the structure name is not valid
5901           (fixes #501560).  Allow structure names to start with a number
5902           again (this apparently broke the ubuntu codec installer).
5903
5904         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5905           (GST_START_TEST):
5906           Add unit test for the crash; update unit tests for new behaviour.
5907
5908 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5909
5910         * gst/gstutils.c:
5911         Clarify gst_element_get_compatible_pad() documentation.
5912         Fixes #500919.
5913
5914 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5915
5916         * tests/check/Makefile.am:
5917           Don't forget to dist {gst,libs}/struct_hppa.h.
5918
5919 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5920
5921         * libs/gst/base/gstbasesink.c:
5922           Use new API to get elapsed time.
5923
5924 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5925
5926         * gst/gstdebugutils.c:
5927         * gst/gstinfo.c:
5928           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5929
5930         * tools/gst-launch.c:
5931           Use new API to get elapsed time.
5932
5933 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5934
5935         * docs/gst/gstreamer-sections.txt:
5936         * gst/gstclock.h:
5937         * gst/gstdebugutils.c:
5938         * gst/gstinfo.c:
5939           Rename new API + ChangeLog surgery to remove old name from last entry..
5940
5941 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5942
5943         * docs/gst/gstreamer-sections.txt:
5944         * gst/gstclock.h:
5945         * gst/gstdebugutils.c:
5946         * gst/gstinfo.c:
5947           Now hide the different clock stuff behind a macro.
5948
5949 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5950
5951         * configure.ac:
5952         * gst/gstdebugutils.c:
5953         * gst/gstinfo.c:
5954           Apply the posix-timer check from #361155. Conditionally use the posix
5955           timer for logging. This gives better timestamp precission, less
5956           overhead and no ntp jitter.
5957
5958 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5959
5960         * gst/gstminiobject.c: (gst_mini_object_get_type),
5961         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5962         (gst_mini_object_finalize), (gst_mini_object_copy),
5963         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5964         (gst_mini_object_replace), (param_mini_object_validate),
5965         (gst_param_spec_mini_object_get_type):
5966         Some cleanup and checking against invalid function parameters.
5967
5968 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5969
5970         * docs/gst/gstreamer-sections.txt:
5971         * gst/gstclock.h:
5972         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5973         (gst_systemclock_suite):
5974         Start merging in the easy bits of #361155, the monotonic clock patch.
5975         This one adds a few handy macros with docs and a testsuite.
5976
5977 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5978
5979         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5980         Be a bit smarter when seeking, like, don't try to do a seek when it's
5981         not needed. This avoids errors when the file is not seekable.
5982         Fixes #499771.
5983
5984 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5985
5986         * docs/gst/gstreamer-docs.sgml:
5987         * docs/gst/gstreamer-sections.txt:
5988         * docs/gst/gstreamer.types.in:
5989         * gst/Makefile.am:
5990         * gst/gst.h:
5991         * gst/gstpreset.c:
5992         * gst/gstpreset.h:
5993         * plugins/elements/gstqueue.c:
5994           Due to popular request remove preset interface again. :-(.
5995
5996 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5997
5998         * tools/gst-inspect.c:
5999           Print 'default value' for enums and flags too.
6000
6001 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
6002
6003         * docs/random/ensonic/profiling.txt:
6004           More ideas.
6005
6006         * gst/gstbin.c:
6007           Fix typo and give better log output.
6008
6009         * gst/gstdebugutils.c:
6010         * gst/gstdebugutils.h:
6011           More ideas, make graphs a bit smaller and fix param name in macro.
6012
6013 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
6014
6015         * gst/gstpreset.c:
6016           Try harder to use the return value from fgets().
6017
6018 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
6019
6020         * gst/gstpreset.c:
6021           For theses two fgets we handle the error below.
6022
6023 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
6024
6025         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
6026         Only send upstream events upstream. Fixes #498746.
6027
6028 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
6029
6030         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
6031
6032         * plugins/elements/gstidentity.c: (gst_identity_class_init),
6033         (gst_identity_init), (gst_identity_transform_ip),
6034         (gst_identity_set_property), (gst_identity_get_property):
6035         * plugins/elements/gstidentity.h:
6036         Add property to disable handoff signal emission. Fixes #498694.
6037         API: GstIdentity::signal-handoffs
6038
6039 2007-11-21  Julien Moutte  <julien@fluendo.com>
6040
6041         * docs/faq/gst-uninstalled: Yet another missing library for the
6042         uninstalled script (fft)
6043
6044 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
6045
6046         * docs/faq/developing.xml:
6047         Add a question about how to submit new translations.
6048
6049         * docs/random/release:
6050         Update the contact email address for the Translation Project
6051
6052         * plugins/elements/gstfdsrc.c:
6053         The parent_class for fdsrc is pushsrc, not GstElement.
6054
6055 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
6056
6057         * gst/gstpreset.c:
6058           Plug a leak and fix saving.
6059
6060 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
6061
6062         * docs/gst/gstreamer-sections.txt:
6063         Add new gst_preset__get_property_names() function to the docs
6064         to fix the build.
6065
6066 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
6067
6068         * gst/gstpreset.c:
6069         * gst/gstpreset.h:
6070           Change _get_preset_names API to return a strv with copies. Add
6071           _get_property_names to allow implementations to filter and provide
6072           good default implementation.
6073
6074 2007-11-20  Julien MOUTTE  <julien@moutte.net>
6075
6076         * docs/faq/gst-uninstalled: Add another library to the uninstalled
6077         script (sdp).
6078
6079 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
6080
6081         * gst/gstpreset.c:
6082           More cleanups, docs, and TODOs from comments that now slowly come in.
6083
6084 2007-11-19  Julien MOUTTE  <julien@moutte.net>
6085
6086         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
6087         search path.
6088
6089 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
6090
6091         * gst/gstpreset.c:
6092           Fix bogus warning and make the property type specific code more
6093           similar.
6094
6095 2007-11-19  Julien MOUTTE  <julien@moutte.net>
6096
6097         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
6098         it build on OS X.
6099
6100 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
6101
6102         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6103         (gst_bin_add_func), (gst_bin_remove_func),
6104         (gst_bin_change_state_func), (gst_bin_continue_func):
6105         Change email, cleanups add some more debug and comments.
6106         Also set bus and clock on new elements when the pipeline was in error.
6107
6108 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
6109
6110         * gst/gstbin.c:
6111         * gst/gstdebugutils.c:
6112           Fix build with --disable-gst-debug. Fixes #497859.
6113           Spotted by Sameer Naik.
6114
6115 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6116
6117         * gst/gstevent.c:
6118           Little documentation improvment.
6119
6120         * gst/gstpreset.c:
6121           More TODO cleanups. Remove c++ comments.
6122
6123         * libs/gst/controller/gstcontroller.c:
6124           Add TODO and use quark from static string.
6125
6126         * tests/check/gst/gstmessage.c:
6127         * tests/check/gst/gststructure.c:
6128           Use quark from static string.
6129
6130 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6131
6132         * gst/gstpreset.c:
6133           Add some comments and TODOs.
6134
6135         * gst/gstpreset.h:
6136           Add padding for future changes.
6137
6138         * plugins/elements/gstqueue.c:
6139           Implement the iface.    
6140
6141 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6142
6143         * docs/gst/gstreamer-docs.sgml:
6144         * docs/gst/gstreamer-sections.txt:
6145         * docs/gst/gstreamer.types.in:
6146         * gst/Makefile.am:
6147         * gst/gst.h:
6148         * gst/gstpreset.c:
6149         * gst/gstpreset.h:
6150           Add the preset interface (Fixes #396779). Do some doc cleanups along.
6151
6152 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
6153
6154         * configure.ac:
6155
6156         Back to CVS
6157
6158 === release 0.10.15 ===
6159
6160 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
6161
6162         * configure.ac:
6163           releasing 0.10.15, "October"
6164
6165 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
6166
6167         * win32/vs6/libgstreamer.dsp:
6168         Convert line endings back to DOS.
6169
6170 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
6171
6172         * docs/design/draft-tagreading.txt:
6173         * docs/random/ensonic/profiling.txt:
6174         Update fast tagreading draft and performance profiling ideas.
6175
6176 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
6177
6178         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
6179         Don't hold the object lock when unreffing a buffer because it could
6180         cause a deadlock when the finalize function wants to grab the object
6181         lock too. Fixes #495133.
6182
6183 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
6184
6185         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6186         (gst_segment_to_stream_time), (gst_segment_to_running_time):
6187         Also accumulate time correctly when doing reverse playback. Fixes
6188         #488201,
6189         When converting to running and stream time, use default values for
6190         start/stop/time/accum when comparing different formats. Fixes #494245.
6191
6192         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6193         Do running/stream time in TIME format.
6194
6195         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6196         (gst_segment_suite):
6197         2 new unit tests for segment accumulation.
6198
6199 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
6200
6201         * gst/gst.c: (init_pre):
6202         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6203           (_gst_debug_bin_to_dot_file):
6204           Move getenv() back into gst_init, so everyone can live happily
6205           ever after. Make sure the symbol isn't exported though.
6206
6207 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6208
6209         Patch by: Sebastien Moutte  <sebastien moutte net>
6210
6211         * win32/common/gstenumtypes.c:
6212         * win32/common/gstenumtypes.h:
6213           Update enum types.
6214
6215         * win32/vs6/libgstreamer.dsp:
6216           Update vs6 project files (#494343).
6217
6218 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6219
6220         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6221         (gst_base_src_perform_seek), (gst_base_src_default_event),
6222         (gst_base_src_set_flushing), (gst_base_src_activate_push),
6223         (gst_base_src_activate_pull):
6224         Unify flushing code, remove some old unlock code that is no longer used.
6225         Take the streaming lock when seeking to avoid races. Fixes #492729.
6226         Added some more comments.
6227
6228 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6229
6230         * gst/gst.c: (_gst_disable_segtrap):
6231           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
6232           we can use gst_segtrap_is_enabled() there now that we have that API.
6233           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6234           to do the getenv here (and export the variable).
6235
6236         * gst/gstdebugutils.c: (debug_dump_element),
6237           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6238           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6239
6240         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6241           (gst_debug_log_default):
6242           Rename _gst_info_start_time to priv_gst_info_start_time so it
6243           doesn't get exported (was never in any header).
6244
6245         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6246           (gst_plugin_loading_mutex):
6247           Make static mutex gst_plugin_loading_mutex really static (was never
6248           in any header), and use gst_segtrap_is_enabled() instead of
6249           _gst_disable_segtrap.
6250
6251         * gst/gsttrace.c: (_gst_trace_default):
6252           Make local _gst_trace_default static (was never in any header).
6253
6254 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6255
6256         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6257
6258         * win32/common/libgstbase.def:
6259         * win32/common/libgstcontroller.def:
6260         * win32/common/libgstdataprotocol.def:
6261         * win32/common/libgstnet.def:
6262         * win32/common/libgstreamer.def:
6263           Add more missing symbols, remove some duplicates, and sort
6264           as the 'sort' command sorts it (partially fixes #493983).
6265
6266 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6267
6268         * gst/gstelement.c: (gst_element_set_state_func):
6269         Only change the state cookie if a different state was set on the
6270         element. See #492729.
6271
6272 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6273
6274         * gst/gstvalue.c:
6275           Remove unused and uninitialised type variables that were still
6276           exported for some reason (they were never in any header files
6277           though).
6278
6279 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6280
6281         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6282         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6283         (gst_base_sink_event), (gst_base_sink_get_position_last),
6284         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6285         (gst_base_sink_change_state):
6286         Don't try to report a 0 position when we don't know, return -1 and FALSE
6287         instead. This mostly happens when we are prerolling.
6288         Make sure we can report the right position before we post the ASYNC_DONE
6289         message so that a message handler can query position without races.
6290
6291         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6292         (async_done_handoff), (async_done_func), (send_buffer),
6293         (async_done_eos_func), (gst_sinks_suite):
6294         Add two tests for the above.
6295
6296 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6297
6298         * MAINTAINERS:
6299         Update with new email address.
6300
6301         * docs/design/part-TODO.txt:
6302         Add some more info about future pad-block and negotiation changes.
6303
6304         * docs/design/part-buffering.txt:
6305         Add some ideas about buffering reporting.
6306
6307 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
6308
6309         * tests/check/gst/gstobject.c:
6310         Disable silly racy test that always fails on this combination of CPU
6311         and kernel.
6312
6313 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
6314
6315         Patch by: Murray Cumming  <murrayc@murrayc.com>
6316
6317         * gst/gstobject.c:
6318           Corrected the registration of the parent-set and parent-unset
6319           signals: The parameter is a GstObject, not a GObject (#493134).
6320
6321 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6322
6323         * gst/gst_private.h:
6324         * gst/gstbuffer.h:
6325         * gst/gstevent.h:
6326         * gst/gstformat.h:
6327         * gst/gstmessage.h:
6328         * gst/gstplugin.h:
6329         * gst/gstquery.h:
6330         * gst/gsttaglist.h:
6331         * gst/gstvalue.h:
6332           Move declaration of private _gst_foo_initialize() functions into
6333           our private header file where they should have been all along.
6334
6335 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6336
6337         * docs/plugins/gstreamer-plugins-sections.txt:
6338         * gst/gstdebugutils.h:
6339         * gst/gstxml.h:
6340         * plugins/elements/gstqueue.c:
6341           gtk-doc fixes; trailing-comma-in-enum fix.
6342
6343 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6344
6345         * gst/gst.c: (gst_deinit):
6346           Clean up on deinit (not the external ones though, doesn't seem to be
6347           needed for some reason).
6348
6349 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6350
6351         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6352           Remove __declspec(dllimport) for MSVC that was copied over into core
6353           from a plugin, obviously without ever having been tested (note the
6354           single underscore in _declspec in the initial commit), and that doesn't
6355           really make sense.  See #492077.
6356
6357 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6358
6359         * gst/gst.c: (init_post):
6360         * gst/gstevent.c: (_gst_event_initialize):
6361         * gst/gstquery.c: (_gst_query_initialize):
6362         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6363           g_type_class_ref() other types as well, see #349410 and #64764.
6364
6365         * gst/gstbuffer.c: (_gst_buffer_initialize):
6366         * gst/gstmessage.c: (_gst_message_initialize):
6367           Simplify existing g_type_class_ref().
6368
6369 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6370
6371         * gst/gstformat.c: (_gst_format_initialize):
6372           g_type_class_ref() our GstFormat type to make sure we avoid the
6373           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6374           bug #64764. Should fix intermittent tee unit test failures (#474823).
6375
6376 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6377
6378         * tests/check/elements/tee.c: (test_num_buffers):
6379           Simplify, simplify, simplify - or not.  Rewrite unit test
6380           not to use gst_parse_launch(); allow N sub-streams. Increasing
6381           the number of sub-streams seems to reproduce #474823 more easily.
6382
6383 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6384
6385         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6386
6387         * gst/gsttrace.c:
6388         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6389         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6390         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6391           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6392           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6393           so use _pipe() directly (#492077).
6394
6395         * win32/common/dirent.c: (_treaddir):
6396           Add a couple of casts to make it build without warnings with MSVC.
6397
6398         * win32/common/libgstreamer.def:
6399           Add some more symbols that need to be exported.
6400
6401 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6402
6403         * tests/examples/metadata/read-metadata.c: (message_loop):
6404           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6405           arriving in a second or third tag message are added to
6406           the tag list as well.
6407
6408 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
6409
6410         * libs/gst/base/gstbasesrc.c:
6411           Its "Since:" and not "@Since:". And remove an superflous cast.
6412
6413 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
6414
6415         * docs/libs/gstreamer-libs-sections.txt:
6416         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6417         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6418         (gst_base_sink_get_property), (gst_base_sink_render_object),
6419         (gst_base_sink_preroll_object),
6420         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6421         (gst_base_sink_change_state):
6422         * libs/gst/base/gstbasesink.h:
6423         Add a new last-buffer property that contains the last buffer used in
6424         basesink for preroll or rendering. useful for making snapshots.
6425         API: gst_base_sink_get_last_buffer()
6426         API: GstBaseSink::last-buffer
6427
6428 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6429
6430         * docs/gst/running.xml:
6431         * gst/gst.c:
6432         * gst/gstdebugutils.c:
6433         * gst/gstdebugutils.h:
6434         * tools/gst-launch.c:
6435           Improve bin graph dumping, by using the envvar to specify a path.
6436           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6437
6438 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6439
6440         * plugins/elements/gsttypefindelement.c:
6441           (gst_type_find_element_handle_event),
6442           (gst_type_find_element_activate):
6443           Post special error message if we can't determine the type of a stream
6444           because it's empty.
6445
6446 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6447
6448         * docs/gst/running.xml:
6449         * gst/gstdebugutils.c:
6450           Document new env-var. Add one log-line after dumpng a graph.
6451
6452 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6453
6454         * configure.ac:
6455           Ugly hack to put the (recently removed and non-portable, apparently)
6456           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6457           GNU ld, because without that 'make check' fails miserably on my debian
6458           stable box.  Someone with more knowledge of linker intricacies and
6459           portability issues than me fix this properly please.
6460
6461 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6462
6463         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6464         Reset last seen position after flushing so that we don't report the old
6465         position anymore.
6466
6467 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6468
6469         * gst/gstelementfactory.c: (gst_element_register):
6470         * gst/gsturi.h:
6471         Patch from Alessandro Decina adding get_type_full and
6472         get_protocols_full private vfuncs to the URIHandler interface
6473         to allow bindings to support creating URI handlers. 
6474         Partially fixes: #339279
6475         API: GstURIHandlerInterface::get_type_full
6476         API: GstURIHandlerInterface::get_protocols_full
6477
6478 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6479
6480         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6481         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6482         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6483         Make it so that pads are considered linked until a buffer is pushed
6484         and discovered otherwise. This avoids problems with decodebin2 hanging
6485         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6486         case.
6487
6488         Make sure we lock the multiqueue when updating the max-size properties.
6489         
6490         Fix a crash on Solaris in a debug statement in get_request_pad that
6491         passes a NULL string to GST_DEBUG. 
6492
6493         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6494         (run_output_order_test):
6495         Fix the test to allow the first buffer on not-linked pads to come out
6496         of sequence while multiqueue discovers that they are not-linked.
6497
6498 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6499
6500         * configure.ac:
6501         * libs/gst/check/Makefile.am:
6502         Use a custom export symbol regex for libgstcheck, as it needs
6503         to export symbols that don't match the standard GStreamer gst_*
6504         pattern, and  --export-dynamic is not portable (only works on 
6505         GNU ld)
6506
6507         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6508         (gst_check_setup_sink_pad):
6509         Make sure to pass a message parameter to the fail_* macros.
6510
6511         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6512         Fix some compiler warnings.
6513
6514 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6515
6516         * tests/check/gst/gststructure.c: (test_to_string):
6517           Disable test that checks that white spaces are not allowed
6518           in structure names or field names, since we need to
6519           support that for now for backwards compatibility reasons.
6520
6521 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6522
6523         * docs/gst/gstreamer-sections.txt:
6524         * gst/gsttaglist.c:
6525         * gst/gsttaglist.h:
6526           API: add GST_TAG_ARTIST_SORTNAME
6527           API: add GST_TAG_ALBUM_SORTNAME
6528           API: add GST_TAG_TITLE_SORTNAME
6529           Add tag variants for sorting (#414539).
6530
6531 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6532
6533         * gst/gststructure.c:
6534           Also allow white space for names so we don't break
6535           backwards compatibility.
6536
6537 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6538
6539         * docs/design/part-TODO.txt:
6540         * docs/design/part-segments.txt:
6541         * docs/design/part-streams.txt:
6542         Small updates.
6543
6544 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6545
6546         * docs/gst/gstreamer-sections.txt:
6547          Fixed documentation from my previous commit (added new API add
6548          gst_value_set_structure(), add gst_value_get_structure() and
6549          GST_VALUE_HOLDS_STRUCTURE).
6550
6551 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6552
6553         * gst/gstdebugutils.c:
6554           Reflow code to fix uninitialized variable warning.
6555
6556 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6557
6558         * gst/gstcaps.c: (gst_caps_to_string),
6559         (gst_caps_from_string_inplace):
6560         * gst/gststructure.c: (gst_structure_get_abbrs),
6561         (gst_structure_to_string), (gst_structure_from_string):
6562         * gst/gstvalue.c: (gst_value_set_structure),
6563         (gst_value_get_structure), (gst_value_serialize_structure),
6564         (gst_value_deserialize_structure), (_gst_value_initialize):
6565         * gst/gstvalue.h:
6566         * tests/check/gst/gststructure.c: (GST_START_TEST),
6567         (gst_structure_suite):
6568         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6569          Added GstStructure to gst_value_table and its related functions.
6570          Changed gst_structure_to_string to print ';' in the end.
6571          Changed gst_caps_to_string to not print ';' beteween its
6572          fields (structures) anymore and remove the lastes ';' from latest
6573          structure. Now it is possible to have nested structures.
6574          In addition, backward compatibilty is assured by accepting '\0' as
6575          end delimiter. Fixes: #487969.
6576          API: add gst_value_set_structure()
6577          API: add gst_value_get_structure()
6578          API: add GST_VALUE_HOLDS_STRUCTURE
6579
6580 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6581
6582         * gst/gstbus.c:
6583           When no GSource callback has been set up, tell developer
6584           to use a function that actually exists.
6585
6586 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6587
6588         * docs/gst/gstreamer-sections.txt:
6589         * gst/Makefile.am:
6590         * gst/gst.c:
6591         * gst/gst.h:
6592         * gst/gstdebugutils.c:
6593         * gst/gstdebugutils.h:
6594         * gst/gstinfo.c:
6595         * gst/gstinfo.h:
6596         * tools/gst-launch.c:
6597           Allow dumping pipelines as dot graphs. Fixes #456573.
6598
6599 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6600
6601         * gst/gststructure.c:
6602           Allow '+' as well, it can be part of media or mime types
6603           such as image/svg+xml.
6604
6605 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6606
6607         * docs/gst/gstreamer-sections.txt:
6608         * gst/gstbus.c:
6609         * gst/gstbus.h:
6610           API: add gst_bus_pop_filtered
6611           API: add gst_bus_timed_pop_filtered
6612           Two new functions for waiting for specific message types on the
6613           bus for a specified amount of time without iterating any main
6614           loops or main contexts.
6615
6616         * tests/check/gst/gstbus.c:
6617           Some tests for the new functions.
6618
6619 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6620
6621         * docs/libs/gstreamer-libs-sections.txt:
6622           Make gtk-doc ignore stuff it should ignore.
6623
6624 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6625
6626         * libs/gst/check/gstcheck.c:
6627         * libs/gst/check/gstcheck.h:
6628           Allow runtime selection of unit tests to run via the GST_CHECKS
6629           environment variable (test case function names, comma-separated).
6630
6631 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6632
6633         * gst/gststructure.c:
6634         * tests/check/gst/gststructure.c:
6635           Revert serialisation change and constrain structure-names after
6636           consensus on irc. Update api documentation to reflect the change.
6637
6638 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6639
6640         * gst/gststructure.c:
6641           Improve serialization and fix tests.
6642
6643         * tests/check/gst/gststructure.c:
6644           Add another test that covers why I actually did the previous structure
6645           change.
6646
6647 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6648
6649         * tools/gst-inspect.c: (print_element_info):
6650         Don't crash when inspecting an element.
6651
6652 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6653
6654         * tests/check/gst/gststructure.c:
6655           Add unit test for escaping of structure name when serialising
6656           and deserialising to/from strings.
6657
6658 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6659
6660         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6661         (gst_single_queue_new):
6662         * plugins/elements/gstqueue.c: (gst_queue_init),
6663         (gst_queue_push_one):
6664         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6665         upstream is tricked into thinking it can suggest a format downstream
6666         while downstream does not support that format. The real problem is that
6667         core calls acceptcaps when pushing a buffer with new caps, for which we
6668         do a little workaround by setting the caps on the srcpad ourselves
6669         before pushing the buffer (until this is figured out). Fixes #486758.
6670
6671 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6672
6673         * gst/gststructure.c:
6674         * gst/gstvalue.c:
6675           Add some more comments and debug output. Quote structure name to fix
6676           deserialisation of some strings.
6677
6678 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6679
6680         * gst/gstbuffer.h:
6681           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6682           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6683
6684 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6685
6686         * tools/gst-inspect.c:
6687           Save approx. 400 1 byte allocs when printing. Use API to acces element
6688           details.
6689
6690         * tools/gst-run.c:
6691           Avoid a strdup.
6692
6693         * tools/gst-xmlinspect.c:
6694           Use API to acces element details.
6695
6696 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6697
6698         * gst/gstinfo.c:
6699           Fix some spelling errors.
6700
6701 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6702
6703         * gst/gstbin.c: (bin_handle_async_done):
6704         Correctly set the next state if all of our async children commited their
6705         state. This makes sure we can actually cancel the state change in
6706         progress. Fixes a regression in Rhythmbox when seeking.
6707
6708 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6709
6710         * gst/gstbin.c:
6711           Don't shadow local variable.
6712
6713         * gst/gstinfo.c:
6714           Don't shadow global function name.
6715
6716 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6717
6718         * gst/gstelementfactory.c:
6719         * gst/gstpluginfeature.c:
6720         * gst/gstpluginfeature.h:
6721         * gst/gstregistrybinary.c:
6722         * gst/gstregistryxml.c:
6723         * gst/gsttypefind.c:
6724           Use already-interned string for the private GstPluginFeature
6725           plugin_name field.
6726
6727 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6728
6729         * docs/libs/gstreamer-libs-sections.txt:
6730           Add new API to docs; fixes the build.
6731
6732 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6733         
6734         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6735
6736         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6737         (gst_base_sink_event):
6738         * libs/gst/base/gstbasesink.h:
6739         Add function to wait for EOS, subclasses can use this to correctly wait
6740         for devices to drain before performing the EOS logic. Fixes #485343.
6741         API: gst_base_sink_wait_eos()
6742
6743 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6744
6745         * gst/gstplugin.h:
6746           Cast description string constants in GST_PLUGIN_DEFINE macros
6747           to a (gchar*) to make C++ code using these macros compile
6748           without warning with g++-4.2 (see #462737).  Even if slightly
6749           ugly, this seems preferable to putting the description strings
6750           into the GLib quark table or making the structure member a
6751           const gchar * and doing casts in core code that allocs and
6752           frees these strings, or requiring a cast in the C++ code.
6753
6754 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6755
6756         * gst/gstinfo.h:
6757           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6758           to print the entire class/function signature into the log
6759           file for C++ code.  This only affects C++ code, for C code
6760           everything remains the same.
6761
6762 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6763
6764         * gst/gstbin.c: (remove_from_queue):
6765         Work around a problem with pipelines containing (semi)loops until a
6766         proper, more complicated solution is ready. See #475455.
6767
6768 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6769
6770         * gst/gstplugin.c:
6771         * gst/gstplugin.h:
6772         * gst/gstregistrybinary.c:
6773         * gst/gstregistryxml.c:
6774           Put more strings into the GLib quark table. No need to keep
6775           a hundred-something copies of identical version strings,
6776           license strings, package name strings and package origin
6777           strings around. 
6778
6779 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6780
6781         * docs/manual/advanced-dataaccess.xml:
6782           Don't imply that it's okay to unconditionally change
6783           buffer data or buffer metadata in a pad probe callback,
6784           and a bunch of other comments. Fixes #430031.
6785
6786 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6787
6788         * win32/common/gstenumtypes.c:
6789         * win32/common/gstenumtypes.h:
6790         * win32/common/gstversion.h:
6791           Update generated files.
6792
6793 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6794
6795         * docs/manual/advanced-autoplugging.xml:
6796           Prefix section with broken code with a warning (see #342432).
6797
6798 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6799
6800         * docs/manual/appendix-integration.xml:
6801         * docs/manual/basics-init.xml:
6802           Call g_thread_init() before g_option_context_new() to
6803           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6804
6805 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6806
6807         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6808         (gst_base_sink_queue_object_unlocked),
6809         (gst_base_sink_queue_object), (gst_base_sink_event),
6810         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6811         When we received EOS and are waiting for when to post the EOS message,
6812         our state is prerolled and we should not return ASYNC.
6813         Reorganize some code paths to implement this behavior.
6814
6815         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6816         (gst_sinks_suite):
6817         Add unit test to verify above EOS fix.
6818
6819 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6820
6821         * plugins/elements/gsttypefindelement.c:
6822         (gst_type_find_element_have_type), (gst_type_find_element_init),
6823         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6824         Move detecting the input caps of the sinkpad to the setcaps function.
6825         This allows us to update the output caps when we receive new input caps
6826         instead of always using the first detected caps.
6827
6828 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6829
6830         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6831         (gst_base_sink_get_position):
6832         Don't try to preroll non-async elements after a flush.
6833         Subtract latency form clock times when reporting position.
6834
6835 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6836
6837         * gst/gstpad.c: (gst_pad_pause_task):
6838         * gst/gstutils.c:
6839         Small comment and documentation update.
6840
6841 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6842
6843         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6844         (gst_base_src_set_live), (gst_base_src_is_live),
6845         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6846         (gst_base_src_default_event), (gst_base_src_wait),
6847         (gst_base_src_do_sync), (gst_base_src_get_range),
6848         (gst_base_src_pad_get_range), (gst_base_src_loop),
6849         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6850         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6851         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6852         (gst_base_src_change_state):
6853         Rework the locking of basesrc in a similar fashion to basesink. We
6854         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6855         us to handle live sources and semi live ones much better.
6856         Simplify flushing.
6857         Fix unlocking when seeking, shutting down and pausing in live sources.
6858
6859 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6860
6861         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6862         Fix compilation again.
6863
6864 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6865
6866         * gst/gstelement.c:
6867           Use meaningful categories for the logs to clean the default one.
6868
6869 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6870
6871         * tests/check/pipelines/cleanup.c:
6872           Print message name and not just number.
6873
6874 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6875
6876         * docs/design/draft-tagreading.txt:
6877           Add some more thoughts.
6878
6879 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6880
6881         * tests/check/pipelines/simple-launch-lines.c:
6882           Print message name and not just number.
6883
6884 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6885
6886         * libs/gst/base/gsttypefindhelper.c:
6887           Speedup typefinding. This is work in progress (see #459862).
6888
6889 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6890
6891         * gst/gstplugin.c:
6892           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6893           Spotted by Josep Torra Valles <josep@fluendo.com>.
6894
6895 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6896
6897         * gst/gstclock.h:
6898           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6899           field has moved to GstObject.
6900
6901 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6902
6903         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6904         (gst_base_src_get_range), (gst_base_src_change_state):
6905         Call unlock for live sources so that they can't get stuck in _create and
6906         produce a buffer before they are set back to PLAYING.
6907
6908 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6909
6910         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6911         (gst_queue_locked_dequeue):
6912         Comment the segment-related code... in the PROPER function.
6913         See #482147 and my commit from yesterday.
6914
6915 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6916
6917         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6918         Also initialize the counter that calculates the first timestamp on a
6919         buffer correctly for non-live sources.
6920
6921 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6922
6923         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6924         Disable code that's breaking the current-time-level reporting.
6925         See #482147
6926
6927 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6928
6929         * docs/gst/gstreamer-sections.txt:
6930         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6931         as they shouldn't show up. Fixes the docs build.
6932
6933 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6934         
6935         * gst/gstinfo.h:
6936         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6937         Define M_PI which is used in files which are including gstinfo.h. 
6938         VS6 includes doesn't define it.
6939         * win32/common/libgstbase.def:
6940         * win32/common/libgstcontroller.def:
6941         * win32/common/libgstreamer.def:
6942         Add new exported functions and variables.
6943         * win32/vs6/libgstcontroller.dsp:
6944         * win32/vs6/libgstreamer.dsp:
6945         Update the list of files to build.
6946         
6947 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6948
6949         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6950
6951         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6952         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6953         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6954         Improve debugging. Fixes #480858.
6955
6956 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6957
6958         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6959
6960         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6961         First patch of code cleanups, use the macros and right arguments in the
6962         macros to signal and lock the queue. See #480858.
6963
6964 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6965
6966         * gst/gstbus.c: (poll_func):
6967         Improve debugging when dealing with _poll().
6968
6969 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6970
6971         * gst/gstregistryxml.c:
6972           Fix memory leak I introduced a few days ago.
6973
6974 2007-09-26  Michael Smith <msmith@fluendo.com>
6975
6976         * gst/gstbuffer.c: (gst_buffer_finalize):
6977           Make it once again possible to free GstBuffers in the default
6978           build.
6979           The poisoning scribbles on parts of the miniobject we need in
6980           order to free it.
6981           Fixes #480341
6982
6983 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6984
6985         * docs/gst/gstreamer-sections.txt:
6986         * gst/gsttaglist.c:
6987         * gst/gsttaglist.h:
6988         API: add GST_TAG_COMPOSER, fixes #459809.
6989
6990 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6991
6992         * gst/gstplugin.c:
6993         * gst/gstplugin.h:
6994         Add the 3-clause BSD license and the MIT/X11 license to the license
6995         list. Fixes #479784.
6996
6997 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6998
6999         * docs/faq/getting.xml:
7000           Add Q+A about different GStreamer versions (#364056).
7001
7002 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
7003
7004         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7005         (gst_base_sink_event), (gst_base_sink_change_state):
7006         Return correct gboolean from query function.
7007
7008 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
7009
7010         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7011         (gst_base_sink_event), (gst_base_sink_query),
7012         (gst_base_sink_change_state):
7013         Simplify latency query.
7014         When not synchronizing, we can report latency without querying the peer
7015         element.
7016
7017 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
7018
7019         * gst/gstobject.h:
7020         * gst/gstvalue.c:
7021         Fix small typos in the docs.
7022
7023 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
7024
7025         * docs/design/draft-latency.txt:
7026         * docs/design/draft-push-pull.txt:
7027         * docs/design/draft-tagreading.txt:
7028         * docs/design/part-MT-refcounting.txt:
7029         * docs/design/part-activation.txt:
7030         * docs/design/part-block.txt:
7031         * docs/design/part-element-source.txt:
7032         * docs/design/part-events.txt:
7033         * docs/design/part-gstbin.txt:
7034         * docs/design/part-gstelement.txt:
7035         * docs/design/part-gstobject.txt:
7036         * docs/design/part-gstpipeline.txt:
7037         * docs/design/part-messages.txt:
7038         * docs/design/part-preroll.txt:
7039         * docs/design/part-push-pull.txt:
7040         * docs/design/part-qos.txt:
7041         * docs/design/part-query.txt:
7042         * docs/design/part-scheduling.txt:
7043         * docs/design/part-seeking.txt:
7044         * docs/design/part-segments.txt:
7045         * docs/design/part-states.txt:
7046         Documentation updates and typo fixes.
7047
7048 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
7049
7050         * plugins/elements/gstfakesink.c:
7051           Add some debug text to error message to indicate that
7052           we errored out on request.
7053
7054         * tools/gst-launch.c:
7055           When the state change to PLAYING fails, check for an
7056           error message on the bus and print it.
7057
7058 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7059
7060         translated by: Jorge González González <aloriel@gmail.com>
7061
7062         * po/LINGUAS:
7063         * po/es.po:
7064           Added Spanish translation.
7065
7066 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
7067
7068         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7069         Fix printf arguments.
7070
7071 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
7072
7073         * tests/check/generic/states.c:
7074           Improved state change unit test.
7075
7076 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
7077
7078         * gst/gstbin.h:
7079           Move priv to the right place.
7080
7081         * gst/gstsystemclock.c:
7082           Add FIXME: and improve log.
7083
7084         * tests/check/Makefile.am:
7085         * tests/examples/manual/Makefile.am:
7086           Work with all types of registries.
7087
7088 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
7089
7090         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7091         Don't unref the event after pushing it. Fixes #478401.
7092
7093 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
7094
7095         * .cvsignore:
7096         * tests/examples/manual/.cvsignore:
7097           Ignore registries in any format.
7098
7099 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
7100
7101         * gst/glib-compat-private.h:
7102           Add compatibility macro for g_intern_string() for
7103           GLib-2.8 (any reason we can't just bump the
7104           requirement to at least 2.10?)
7105
7106         * gst/gstpadtemplate.h:
7107         * gst/gstelementfactory.c:
7108         * gst/gstregistryxml.c:
7109         * gst/gstregistrybinary.c:
7110           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
7111           up the internal code accordingly.  This shouldn't be a problem, since
7112           there is no reason external code could ever assume the string in such
7113           a structure is dynamically allocated unless it did that itself;  the
7114           use of g_strdup() is private to element factories.  The new code also
7115           saves some memory by putting pad template name strings into the GLib
7116           quark table instead of allocating them dynamically.
7117           Declaring this field constant fixes warnings with g++-4.2 when using
7118           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
7119
7120 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
7121
7122         * gst/gstelementfactory.c:
7123           Release static caps. Fixes #475723.
7124
7125 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
7126
7127         * gst/gstinfo.c:
7128         * gst/gstinfo.h:
7129           Make some internal API take const gchar * instead of just
7130           gchar * to avoid compiler warnings with g++-4.2.2 when
7131           passing string constants (partially fixes #478092).
7132
7133 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
7134
7135         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
7136         A latency query fails when one of the sinks fail.
7137
7138         * gst/gstelement.c: (gst_element_set_base_time):
7139         Improve debugging.
7140
7141 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
7142
7143         * gst/gstbin.c: (gst_bin_continue_func):
7144         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7145         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
7146         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
7147
7148         Fix minor compilation warnings shown with Forte.
7149
7150 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
7151
7152         * plugins/elements/gstqueue.c: (apply_buffer),
7153         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
7154         Measure queue level based on the diff between head and tail timestamps
7155         even when pushing the first buffer.
7156
7157 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7158
7159         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7160         (gst_base_sink_event), (gst_base_sink_change_state):
7161         Sinks that don't preroll can always be queried for the latency.
7162         Don't post ASYNC start when we are not async.
7163
7164 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7165
7166         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
7167         (gst_queue_handle_sink_event), (gst_queue_chain),
7168         (gst_queue_push_one), (gst_queue_handle_src_query),
7169         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
7170         * plugins/elements/gstqueue.h:
7171         When downstream returns UNEXPECTED from pushing a buffer, don't try to
7172         push more buffers but allow pushing of EOS and NEWSEGMENT.
7173         Add some more debug info here and there. Fixes #476514.
7174
7175 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7176
7177         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7178         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
7179         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7180         (gst_base_sink_set_flushing), (gst_base_sink_query),
7181         (gst_base_sink_change_state):
7182         Latency query is allowed after we are prerolled. Introduce a new flag
7183         for this and stop abusing other variables.
7184
7185 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7186
7187         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7188         Push OOB events downstream when we get them in send_event. This allows
7189         the application to insert events in the pipeline.
7190         Add some more comments.
7191
7192 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7193
7194         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7195         (do_bin_latency), (gst_bin_change_state_func):
7196         * gst/gstpipeline.c: (gst_pipeline_change_state):
7197         Move latency query from GstPipeline to GstBin so that we can also
7198         use it when async-handling is enabled on bins.
7199
7200 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7201
7202         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7203         (gst_base_src_do_sync), (gst_base_src_change_state):
7204         Update docs.
7205         Clean up the timestamping and syncing code for pseudo live sources.
7206
7207 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
7208
7209         Patch by: Steve Fink  <sphink gmail com>
7210
7211         * docs/manual/appendix-checklist.xml:
7212           Mention less -R switch in the section about debug output (#474055).
7213
7214 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7215
7216         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7217         Queue can latency to the pipeline up to the configured max size in time.
7218         Report this fact in the latency query.
7219
7220 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7221
7222         Patch by: Sebastien Moutte <sebastien at moutte dot net>
7223
7224         * libs/gst/controller/gstinterpolation.c:
7225         * libs/gst/controller/gstlfocontrolsource.c:
7226         Use gst_guint64_to_gdouble() when converting from a uint64 or
7227         GstClockTime to double to fix the build on win32. Fixes #474371.
7228
7229 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7230
7231         * gst/gstbuffer.c: (gst_buffer_finalize):
7232         Implement poisoning for GstBuffer if --enable-poisoning is specified.
7233         When finalizing a buffer the complete struct is filled with 0xff,
7234         thus making a use of the buffer after the final unref impossible.
7235
7236 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7237
7238         * tests/check/libs/controller.c: (GST_START_TEST):
7239         Use fail_unless_equals_int(a, b) instead of
7240         fail_unless_equals (a == b) to get better output on failures.
7241
7242 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7243
7244         * tests/check/gst/gsturi.c:
7245           Also check for the other file URI variant on win32.
7246
7247 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7248
7249         * gst/gsturi.c: (gst_uri_get_location):
7250           If there's no hostname, we want to return 'c:/foo/bar.txt'
7251           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7252
7253         * tests/check/gst/gsturi.c:
7254           Unit test for the above and a few more things.
7255
7256 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7257
7258         * docs/design/part-live-source.txt:
7259         Add docs on how live sources should timestamp.
7260
7261         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7262         Add some more debug info.
7263         For subclasses that are live and like to sync, add aditional startup
7264         latency to sync time and timestamps so that we timstamp according to the
7265         design doc.
7266
7267 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7268
7269         * gst/gstbuffer.c:
7270           Also do a g_type_class_ref() for the subbuffer type in
7271           the init function.
7272
7273 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7274
7275         * docs/gst/gstreamer-sections.txt:
7276         * gst/gstpad.c: (gst_pad_peer_query):
7277         * gst/gstpad.h:
7278         Add function to perform a query on the peer of a pad.
7279         API: gst_pad_peer_query()
7280
7281 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
7282
7283         * tests/check/gst/gstsystemclock.c:
7284           Cleanup the test a little (use gst-logging and not g_message). Improve
7285           test to check if a wait reached the target.
7286
7287 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7288
7289         * docs/libs/gstreamer-libs-sections.txt:
7290           Add new API to docs and fix the build.
7291
7292 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
7293
7294         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7295         (gst_base_src_init), (gst_base_src_set_do_timestamp),
7296         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7297         (gst_base_src_get_property), (gst_base_src_do_sync):
7298         * libs/gst/base/gstbasesrc.h:
7299         Add property to make the basesrc timestamp buffers based on the current
7300         running time.
7301         API: GstBaseSrc::do-timestamp
7302         API: gst_base_src_set_do_timestamp()
7303         API: gst_base_src_get_do_timestamp()
7304
7305 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
7306
7307         * docs/random/release:
7308           Really make sure translations are up-to-date before
7309           a release (#465010).
7310
7311 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
7312
7313         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7314         Always destroy the timer, also in error cases.
7315
7316 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7317
7318         * docs/manual/highlevel-xml.xml:
7319         Fix XML example code. Fixes #472714.
7320
7321 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7322
7323         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7324         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7325         (gst_base_sink_query):
7326         Protect eos and have_preroll with the OBJECT lock so we don't need to
7327         take the PREROLL lock when querying the latency. Fixes #473846.
7328
7329 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
7330
7331         * gst/gstelement.c:
7332           Give some log-messages a category.
7333
7334 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
7335
7336         * gst/gststructure.c:
7337         (gst_structure_fixate_field_nearest_fraction):
7338         Fix fraction list fixation code. Take the fraction with the smallest
7339         difference with the target instead of the first one in the list.
7340
7341         * tests/check/gst/gststructure.c: (GST_START_TEST),
7342         (gst_structure_suite):
7343         Added test to verify correct fraction list fixation behaviour.
7344
7345 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
7346
7347         * win32/common/libgstreamer.def:
7348           Export gst_bus_add_signal_watch too.
7349
7350 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
7351
7352         * docs/libs/gstreamer-libs-sections.txt:
7353         Add new methods to docs.
7354
7355         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7356         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7357         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7358         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7359         * libs/gst/base/gstbasesink.h:
7360         Add ts-offset property to fine-tune the synchronisation.
7361         API: GstBaseSink::ts-offset property
7362         API: gst_base_sink_set_ts_offset()
7363         API: gst_base_sink_get_ts_offset()
7364
7365 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
7366
7367         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7368         (gst_base_sink_init), (gst_base_sink_set_sync),
7369         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7370         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7371         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7372         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7373         (gst_base_sink_get_property), (gst_base_sink_change_state):
7374         * libs/gst/base/gstbasesink.h:
7375         Add async property to instruct the sink never to inform the parent about
7376         ASYNC state changes, update docs.
7377         Check argument with g_return_* for the public functions.
7378         API: GstBaseSink::async property
7379         API: gst_base_sink_set_async_enabled()
7380         API: gst_base_sink_is_async_enabled()
7381
7382 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
7383
7384         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7385         Improve debugging.
7386
7387         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7388         (gst_base_src_default_query), (gst_base_src_wait),
7389         (gst_base_src_do_sync), (gst_base_src_change_state):
7390         Rearrange some code so that we can add support for measuring the 
7391         startup latency.
7392
7393 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
7394
7395         * docs/random/ensonic/dynlink.txt:
7396           More thoughs on this.
7397
7398         * plugins/elements/gstcapsfilter.c:
7399           Add bugzilla ticket number to FIXME comment.
7400
7401 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
7402
7403         * docs/design/part-TODO.txt:
7404         * docs/design/part-block.txt:
7405         Update some docs.
7406
7407 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7408
7409         * gst/Makefile.am:
7410           Revert patch which uses $(gst_headers) instead of $^ because it
7411           breaks make dist.
7412
7413 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7414
7415         * tests/check/gst/gstbin.c: (GST_START_TEST):
7416           Fix leaks in the new unit test.
7417
7418 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7419
7420         * gst/gst.c:
7421           Don't use GST_INFO before the debug system is actually initialised
7422           (shouldn't do any harm, but won't print anything either, so we can
7423           just as well remove it).
7424
7425         * gst/gstinfo.h:
7426           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7427           compilers that don't support variadic macros (such as MSVC), should
7428           check for debug_level <= __gst_debug_min as well, since that's the
7429           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7430           inline helper functions. Should improve performance a bit, but also
7431           makes sure uses of GST_INFO et.al are ignored if the debugging
7432           system isn't initialised yet (instead of printing an assertion
7433           failure).
7434
7435 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7436
7437         patch by: David Nečas <yeti@physics.muni.cz>
7438
7439         * gst/Makefile.am:
7440           Replace some non portable makefile constructs.
7441
7442 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7443
7444         * common/gtk-doc-plugins.mak:
7445           Grrrrr. Don't remove the types file on make clean.
7446
7447 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7448
7449         * tools/gst-launch.1.in:
7450         Add colorspace to example pipeline. Fixes #458274.
7451
7452 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7453
7454         * docs/random/release:
7455           The release manager should run 'make download-po' before making a
7456           release to make sure translations are up-to-date.
7457
7458         * po/LINGUAS:
7459         * po/be.po:
7460         * po/pl.po:
7461         * po/rw.po:
7462           Add some new translations.
7463
7464 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7465
7466         * tools/gst-launch.c: (event_loop), (main):
7467         Don´t try to do any state management when a live pipeline posts
7468         buffering messages.
7469         Also make the buffering string translatable.
7470
7471 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7472
7473         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7474         (bin_handle_async_start), (gst_bin_handle_message_func):
7475         Improve debugging.
7476         When adding elements, insert messages into the bus of the newly added
7477         element and make sure the element is the source of the message. This
7478         allows the parent bin to intercept the message and do the
7479         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7480         messages to the app (which is not allowed).
7481         Update some docs.
7482
7483         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7484         Fix testsuite so that is does not work around messages that should not
7485         have been posted in the first place.
7486
7487 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7488
7489         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7490         (update_degree), (gst_bin_sort_iterator_next):
7491         Fix annoying bug in the sorted iterator where a sink that is not really
7492         a sink (when it has downstream links) screwed up the iterator.
7493
7494         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7495         Unit test to verify the fix.
7496
7497 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7498
7499         * gst/gstmessage.h:
7500         Add some more docs for the messages.
7501
7502         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7503         (gst_base_sink_query):
7504         Add some more debugging.
7505
7506         * tools/gst-launch.c: (event_loop):
7507         When interrupting, don't try to set pipeline to PAUSED twice.
7508
7509 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7510
7511         
7512         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7513         (bin_handle_async_start), (gst_bin_handle_message_func):
7514         Move ASYNC_START message posting to where it belongs, similar to
7515         async_done. 
7516         Don't post ASYNC_START when we are in error. 
7517         Post ASYNC_START when we added an async element to a bin.
7518
7519 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7520
7521         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7522         generation from vargs. Fixes #466595.
7523
7524 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7525
7526         * gst/gstbin.c: (gst_bin_element_set_state):
7527         Always change the state of a NO_PREROLL element even if it has ASYNC
7528         elements inside (in case of a bin).
7529
7530         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7531         Unit test for this case.
7532
7533 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7534
7535         * libs/gst/check/gstbufferstraw.c:
7536         * libs/gst/check/gstcheck.h:
7537         * libs/gst/controller/gstcontroller.c:
7538         * libs/gst/controller/gstcontrolsource.h:
7539         * libs/gst/controller/gstlfocontrolsource.h:
7540         * plugins/elements/gstcapsfilter.h:
7541         * plugins/elements/gstfdsink.h:
7542         * plugins/elements/gstfdsrc.h:
7543           Add more missing docs.
7544
7545 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7546
7547         * gst/gststructure.c:
7548         Add Since tag to docs.
7549
7550 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7551
7552         * docs/gst/gstreamer-sections.txt:
7553         * gst/gststructure.c: (gst_structure_get_uint):
7554         * gst/gststructure.h:
7555         Add function to get uint from a structure.
7556         API: gst_structure_get_uint()
7557
7558 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7559
7560         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7561         (gst_caps_intersect):
7562         Fix proper check for simple caps.
7563
7564 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7565
7566         * docs/gst/Makefile.am:
7567         * docs/libs/Makefile.am:
7568           Remove cruft and do some cleanups.
7569
7570         * docs/gst/gstreamer-docs.sgml:
7571         * docs/libs/gstreamer-libs-docs.sgml:
7572           Prepare for comming gtkdoc features (rebase against online docs).
7573
7574 2007-08-10  Michael Smith <msmith@fluendo.com>
7575
7576         * docs/gst/gstreamer-sections.txt:
7577           Add gst_registry_add_path to docs.
7578
7579 2007-08-10  Michael Smith <msmith@fluendo.com>
7580
7581         * gst/gstregistry.h:
7582           Add gst_registry_add_path, which was missing from this header.
7583
7584 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7585
7586         * libs/gst/controller/gstlfocontrolsource.c:
7587           Printf format fix.
7588
7589 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7590
7591         * libs/gst/base/gstbasesink.c:
7592           Don't send an async_start message during downwards state change if 
7593           target state is less than READY
7594
7595 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7596
7597         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7598
7599         * po/LINGUAS:
7600         * po/hu.po:
7601           Added Hungarian translation.
7602
7603 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7604
7605         * po/fi.po:
7606         * po/it.po:
7607         * po/nl.po:
7608         * po/sv.po:
7609         * po/uk.po:
7610           Updated translations.
7611
7612 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7613
7614         * libs/gst/controller/Makefile.am:
7615         Dist gstlfocontrolsourceprivate.h
7616
7617 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7618
7619         * docs/libs/gstreamer-libs.types:
7620         Don't register the enum type gst_lfo_waveform_get_type() in the
7621         .types file - only GObject derived types belong.
7622
7623 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7624
7625         Patch by: <arenevier at fdn dot fr>
7626
7627         * gst/gstbuffer.h:
7628         Remove comma from last element in enum to avoid compile errors when
7629         using -pendantic. Fixes #464366.
7630
7631 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7632
7633         * docs/design/part-TODO.txt:
7634         Add some more TODO items
7635
7636         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7637         Improve debugging.
7638
7639         * gst/gstcaps.c: (gst_caps_intersect):
7640         Optimize trivial intersection case between identical caps pointers.
7641
7642         * gst/gstelement.c: (gst_element_continue_state),
7643         (gst_element_set_state_func):
7644         * gst/gstpad.c:
7645         Fix spelling and grammar mistakes.
7646
7647 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7648
7649         * po/POTFILES.in:
7650         * po/POTFILES.skip:
7651           Update POTFILES. Fixes #461599.
7652
7653 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7654
7655         * gst/gst.c:
7656         Fix confusing typo in debug output.
7657
7658 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7659
7660         reviewed by: Stefan Kost <ensonic@users.sf.net>
7661
7662         * libs/gst/controller/Makefile.am:
7663         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7664         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7665         (gst_lfo_control_source_new),
7666         (gst_lfo_control_source_set_waveform),
7667         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7668         (gst_lfo_control_source_finalize),
7669         (gst_lfo_control_source_dispose),
7670         (gst_lfo_control_source_set_property),
7671         (gst_lfo_control_source_get_property),
7672         (gst_lfo_control_source_class_init):
7673         * libs/gst/controller/gstlfocontrolsource.h:
7674         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7675         API: Add GstLFOControlSource, a control source that gives values
7676         for specific timestamps based on several periodic waveforms.
7677         Fixes #459717.
7678
7679         * tests/check/libs/controller.c: (GST_START_TEST),
7680         (gst_controller_suite):
7681         * docs/libs/gstreamer-libs-docs.sgml:
7682         * docs/libs/gstreamer-libs-sections.txt:
7683         * docs/libs/gstreamer-libs.types:
7684         Add documentation and unit tests for GstLFOControlSource.
7685
7686 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7687
7688         * configure.ac:
7689         Back to CVS
7690
7691 === release 0.10.14 ===
7692
7693 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7694
7695         * configure.ac:
7696           releasing 0.10.14, "Breathing Vacuum"
7697
7698 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7699
7700         * gst/gstelement.c: (gst_element_class_set_details_simple):
7701         * gst/gstelement.h:
7702           Make strings passed to gst_element_class_set_details_simple()
7703           constant, as they should be (#462752).
7704
7705 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7706
7707         * gst/gstbin.c: (gst_bin_change_state_func),
7708         (bin_handle_async_done), (gst_bin_handle_message_func):
7709         Don't forget about the fact that some element went ASYNC even after a
7710         resync. This makes us post the ASYNC_DONE message correctly.
7711         Fixes #462558.
7712
7713 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7714
7715         * gst/gstregistry.c: (gst_registry_add_feature):
7716         When replacing an existing feature in the registry, make sure to
7717         continue holding a reference until we've replaced the name string
7718         within our feature hash table. Make sure to use g_hash_table_replace
7719         instead of g_hash_table_insert to ensure the new name string is used
7720         as a key instead of the old one that we're about to free.
7721         Fixes: #462085
7722
7723 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7724
7725         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7726         (gst_plugin_feature_set_name):
7727         Revert patch from #459466 until after the release and we can work
7728         out exactly what the problem is (if any).
7729
7730 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7731
7732         * docs/gst/gstreamer-sections.txt:
7733         * gst/gsttaglist.c:
7734         * gst/gsttaglist.h:
7735           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7736
7737 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7738
7739         * docs/libs/Makefile.am:
7740         Include our build-prefix libs and includes before the generic ones to
7741         avoid linking against the installed libs when we want the build-tree
7742         ones.
7743
7744 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7745
7746         Patch by: Steve Fink  <sphink gmail com>
7747
7748         * docs/pwg/building-testapp.xml:
7749           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7750           if people try to build or install the example from the plugin
7751           template against a GStreamer from package using the configure
7752           defaults.
7753
7754 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7755
7756         Patch by: Steve Fink  <sphink gmail com>
7757
7758         * tools/gst-inspect.1.in:
7759           Document --print-all and --print-plugin-auto-install-info command
7760           line options in man page.
7761
7762 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7763
7764         * docs/gst/gstreamer-sections.txt:
7765         Add docs for new api function.
7766
7767 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7768
7769         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7770         * gst/gstelementfactory.h:
7771         API: gst_element_factory_has_interface()
7772         Added method to check if an element factory implements a named
7773         interface.
7774
7775 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7776
7777         * configure.ac:
7778         * docs/gst/gstreamer.types.in:
7779           Another conditional doc check.
7780
7781         * gst/gstmessage.c:
7782         * gst/gstparamspecs.h:
7783         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7784         * gst/gstvalue.c:
7785         * gst/gstxml.h:
7786           API-doc fixes.
7787
7788 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7789
7790         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7791         (gst_registry_binary_load_feature),
7792         (gst_registry_binary_load_plugin),
7793         (gst_registry_binary_read_cache):
7794           Print error just once and with additional info.
7795
7796 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7797
7798         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7799         (helper_find_suggest), (helper_find_get_length),
7800         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7801         (gst_type_find_helper_for_buffer):
7802           Cleanup the typefindhelper code and add private doc comments.
7803
7804 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7805
7806         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7807         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7808         Fix capsfilter for cases where the caps set on capsfilter will provide
7809         additional information.
7810         Fixes #449197
7811
7812 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7813
7814         * gst/gsttypefindfactory.c:
7815           Fix docs that recommened wrong function to use.
7816
7817 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7818
7819         * tools/gst-inspect.c: (print_plugin_features):
7820           Also give media-type for typefinders in element output.
7821
7822 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7823
7824         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7825         (gst_registry_remove_features_for_plugin_unlocked),
7826         (gst_registry_add_feature), (gst_registry_remove_feature),
7827         (gst_registry_lookup_feature_locked):
7828         * gst/gstregistry.h:
7829           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7830           Fixes #459501.
7831
7832 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7833
7834         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7835         (gst_plugin_feature_set_name):
7836           Avoid double memory usage for pluginfeature names. Fixes #459466.
7837
7838 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7839
7840         * gst/gstpad.h:
7841           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7842           driving the pipeline may need to explicitly check for NOT_LINKED as
7843           well, since IS_FATAL doesn't cover that.
7844
7845 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7846
7847         * docs/pwg/advanced-types.xml:
7848           Fix typo and duplicate entry in video formats list.
7849
7850 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7851
7852         * libs/gst/controller/gstinterpolation.c:
7853         Also round to the nearest int when using cubic interpolation.
7854
7855 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7856
7857         * libs/gst/controller/gstinterpolation.c:
7858         When linearly interpolating integer types, round to the nearest int
7859         by adding 0.5. Don't do it for float/double types.
7860         Fixes the failing controller test on my machine, which is somehow
7861         rounding differently than on the buildbots.
7862
7863 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7864
7865         * tools/gst-plot-timeline.py:
7866           Better log parsing (categories can have -). Adjust text vs. lines, so
7867           that they span the same y-range.        
7868
7869 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7870
7871         * docs/random/ensonic/audiobaseclasses.txt:
7872         * docs/random/ensonic/dynlink.txt:
7873         * docs/random/ensonic/profiling.txt:
7874           Save my thoughts.
7875
7876         * docs/random/moving-plugins:
7877           Add note to use g_assert type macros.
7878
7879 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7880
7881         * configure.ac:
7882         * libs/gst/check/Makefile.am:
7883           Add libm check as we use in for plugins.
7884
7885 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7886
7887         * gst/gstbin.c: (gst_bin_continue_func):
7888         Check that the state_cookie hasn't changed since the continue_func
7889         was scheduled. Avoids problems where the state changes back to
7890         something it shouldn't be because it was changed in the meantime.
7891
7892 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7893
7894         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7895         (gst_registry_binary_save_string),
7896         (gst_registry_binary_save_pad_template),
7897         (gst_registry_binary_save_feature),
7898         (gst_registry_binary_save_plugin),
7899         (gst_registry_binary_load_feature),
7900         (gst_registry_binary_load_plugin),
7901         (gst_registry_binary_read_cache):
7902           Fix memory leak. Be less verbose in the log.
7903
7904 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7905
7906         * tests/check/elements/.cvsignore:
7907         Add file to cvsignore as commanded.
7908
7909 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7910
7911         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7912         (mq_dummypad_event), (run_output_order_test):
7913         Use a GStaticMutex to protect all cases where libcheck
7914         fail_if/fail_unless macros might be called from multiple threads
7915         simultaneously to avoid errors like:
7916           "check_pack.c:107: :-1081725400:Bad message type arg"
7917
7918 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7919
7920         * tests/check/pipelines/stress.c: (GST_START_TEST):
7921         Make sure we set the pipeline back to the NULL state before
7922         dropping our final reference.
7923
7924 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7925
7926         * tests/check/elements/tee.c: (GST_START_TEST):
7927         Make the tee stress-test a little less stressful so it doesn't just
7928         time out on slow-machines, and remove a small race when it's starting 
7929         up by adding a get_state() call.
7930
7931 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7932
7933         * gst/gst.c:
7934           Avoid reading registry twice on startup. Fixes #457322.
7935
7936 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7937
7938         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7939         * pkgconfig/gstreamer-check.pc.in:
7940         Substitute the CFLAGS for libcheck into our .pc file too so that
7941         dependent modules will pick it up properly if libcheck is installed
7942         into some other prefix.
7943
7944 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7945
7946         * configure.ac:
7947         Revert the pkg-config check for libcheck, since it pulls in the
7948         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7949         a proper solution, either from the check project, or something else.
7950
7951 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7952
7953         * configure.ac:
7954           Use pkg-config to locate check.
7955
7956 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7957
7958         * gst/gsttaglist.c:
7959           Fix doc syntax.
7960
7961         * gst/gstutils.c:
7962         * gst/gstutils.h:
7963           Add deprecation guards.
7964
7965         * libs/gst/base/gstcollectpads.h:
7966           Don't document object (this is implicitly private).
7967
7968 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7969
7970         * gst/gststructure.c: (gst_structure_parse_value):
7971           When deserialising foo=bar without a type cast, check if it's a
7972           boolean before falling back to a string type, otherwise things like
7973           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7974           because the filtercaps end up having a signed=(string)true field,
7975           which causes problems later when intersection caps.
7976
7977         * tests/check/gst/gststructure.c: (GST_START_TEST):
7978           Add a unit test for this.
7979
7980 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7981
7982         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7983
7984         * libs/gst/controller/Makefile.am:
7985         * libs/gst/controller/gstcontroller.c:
7986         (gst_controlled_property_add_interpolation_control_source),
7987         (gst_controlled_property_new), (gst_controlled_property_free),
7988         (gst_controller_find_controlled_property),
7989         (gst_controller_new_valist), (gst_controller_new_list),
7990         (gst_controller_new), (gst_controller_remove_properties_valist),
7991         (gst_controller_remove_properties_list),
7992         (gst_controller_remove_properties),
7993         (gst_controller_set_property_disabled),
7994         (gst_controller_set_disabled), (gst_controller_set_control_source),
7995         (gst_controller_get_control_source), (gst_controller_get),
7996         (gst_controller_sync_values), (gst_controller_get_value_array),
7997         (_gst_controller_dispose), (gst_controller_get_type),
7998         (gst_controlled_property_set_interpolation_mode),
7999         (gst_controller_set), (gst_controller_set_from_list),
8000         (gst_controller_unset), (gst_controller_unset_all),
8001         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
8002         * libs/gst/controller/gstcontroller.h:
8003         * libs/gst/controller/gstcontrollerprivate.h:
8004         * libs/gst/controller/gstcontrolsource.c:
8005         (gst_control_source_class_init), (gst_control_source_init),
8006         (gst_control_source_get_value),
8007         (gst_control_source_get_value_array), (gst_control_source_bind):
8008         * libs/gst/controller/gstcontrolsource.h:
8009         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
8010         (gst_object_get_control_source):
8011         * libs/gst/controller/gstinterpolation.c:
8012         (gst_interpolation_control_source_find_control_point_node),
8013         (gst_interpolation_control_source_get_first_value),
8014         (_interpolate_none_get), (interpolate_none_get),
8015         (interpolate_none_get_boolean_value_array),
8016         (interpolate_none_get_enum_value_array),
8017         (interpolate_none_get_string_value_array),
8018         (_interpolate_trigger_get), (interpolate_trigger_get),
8019         (interpolate_trigger_get_boolean_value_array),
8020         (interpolate_trigger_get_enum_value_array),
8021         (interpolate_trigger_get_string_value_array):
8022         * libs/gst/controller/gstinterpolationcontrolsource.c:
8023         (gst_control_point_free), (gst_interpolation_control_source_reset),
8024         (gst_interpolation_control_source_new),
8025         (gst_interpolation_control_source_set_interpolation_mode),
8026         (gst_interpolation_control_source_bind),
8027         (gst_control_point_compare), (gst_control_point_find),
8028         (gst_interpolation_control_source_set_internal),
8029         (gst_interpolation_control_source_set),
8030         (gst_interpolation_control_source_set_from_list),
8031         (gst_interpolation_control_source_unset),
8032         (gst_interpolation_control_source_unset_all),
8033         (gst_interpolation_control_source_get_all),
8034         (gst_interpolation_control_source_get_count),
8035         (gst_interpolation_control_source_init),
8036         (gst_interpolation_control_source_finalize),
8037         (gst_interpolation_control_source_dispose),
8038         (gst_interpolation_control_source_class_init):
8039         * libs/gst/controller/gstinterpolationcontrolsource.h:
8040         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
8041         API: Refactor GstController into the core controller which can take
8042         a GstControlSource for providing actual values for timestamps.
8043         Implement a interpolation control source and use this for backward
8044         compatibility, deprecate a bunch of functions that are now handled
8045         by GstControlSource or GstInterpolationControlSource.
8046         Make it possible to disable the controller completely or only for
8047         specific properties. Fixes #450711.
8048         * docs/libs/gstreamer-libs-docs.sgml:
8049         * docs/libs/gstreamer-libs-sections.txt:
8050         * docs/libs/gstreamer-libs.types:
8051         Add new functions and classes to the docs.
8052         * tests/check/libs/controller.c: (GST_START_TEST),
8053         (gst_controller_suite):
8054         * tests/examples/controller/audio-example.c: (main):
8055         Port unit test and example to the new API and add some new
8056         unit tests.
8057
8058 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
8059
8060         Patch by: Mark Nauwelaerts <manauw at skynet be>
8061
8062         * plugins/elements/gstmultiqueue.c:
8063         (gst_multi_queue_get_internal_links), (apply_buffer),
8064         (single_queue_overrun_cb), (gst_single_queue_new):
8065         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
8066         the pipeline layout can be tracked correctly. Fixes #453732.
8067
8068 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
8069
8070         * docs/gst/Makefile.am:
8071         * docs/libs/Makefile.am:
8072         * docs/plugins/Makefile.am:
8073           Simplify --extra-dir as gtkdoc scans recursively.
8074
8075 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
8076
8077         * tools/gst-launch.c: (main):
8078         When we got an error, there is no point in waiting for preroll when
8079         shutting down.
8080
8081 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
8082
8083         * plugins/elements/gsttee.c: (gst_tee_base_init),
8084         (gst_tee_request_new_pad), (gst_tee_release_pad),
8085         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
8086         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
8087         (gst_tee_chain):
8088         Be a lot smarter when deciding what srcpad to use for proxying
8089         the buffer_alloc. Also handle pad added/removed when doing so.
8090         Fixes #357959.
8091         Keep track of what pads we already pushed on in case we have pads
8092         added/removed while pushing. Fixes #374639 
8093
8094         * tests/check/Makefile.am:
8095         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
8096         (tee_suite):
8097         Added unit test for pad resync.
8098
8099 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8100
8101         * po/nl.po:
8102         * po/sv.po:
8103           Updated translations.
8104
8105 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8106
8107         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
8108
8109         * po/LINGUAS:
8110         * po/fi.po:
8111           Added new Finnish translation.
8112
8113 2007-06-28  Wim Taymans  <wim@fluendo.com>
8114
8115         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8116         (single_queue_overrun_cb):
8117         When figuring out when a queue is filled, use our internal time estimate
8118         based on segments, just like check_full does.
8119
8120 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
8121
8122         * gst/gstminiobject.c: (gst_mini_object_get_type):
8123           Remove 3 do-nothing methods.
8124
8125 2007-06-27  Wim Taymans  <wim@fluendo.com>
8126
8127         Patch by: Tim Angus <tim at ngus dot net>
8128
8129         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8130         (gst_capsfilter_set_property):
8131         Take a reference instead of a copy when setting "caps".
8132         Fix documentation to clarify this behaviour. Fixes #449414.
8133
8134 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
8135
8136         * gst/gstindexfactory.c: (gst_index_factory_get_type):
8137         * gst/gstplugin.c: (gst_plugin_init):
8138         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
8139         * gst/gstquery.c: (gst_query_get_type):
8140         * gst/gstregistry.c: (gst_registry_init):
8141         * gst/gsturi.c: (gst_uri_handler_base_init):
8142           Remove empty instance_init() functions to save relocs and lessen the
8143           noise. Remove some of the function prototypes that are doubled by
8144           G_DEFINE_TYPE.
8145           
8146 2007-06-27  Wim Taymans  <wim@fluendo.com>
8147
8148         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
8149
8150         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
8151         Add peer and direction in the XML serialisation of ghostpads.
8152         Fixes #449226.
8153
8154 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
8155
8156         * configure.ac:
8157           Preserve useful information, thanks Tim.
8158
8159 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
8160
8161         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8162         (gst_single_queue_flush), (apply_segment), (apply_buffer),
8163         (gst_single_queue_push_one), (gst_multi_queue_loop),
8164         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8165         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
8166         (compute_high_id), (gst_single_queue_new):
8167         * plugins/elements/gstmultiqueue.h:
8168         Take the multiqueue lock when updating the fill level so we don't get
8169         confused. 
8170
8171         After applying a buffer or event on the src pad segment, make sure to
8172         call gst_data_queue_limits_changed() to get the data queue to unblock
8173         and check the filled state again.
8174         
8175         Rework the not-linked pad handling so the logic is that not-linked 
8176         pads can push as fast as they like, but only so they never get 
8177         ahead of any linked pads.
8178
8179         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8180         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8181         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8182
8183         Add a test to check that not-linked pads always stay behind
8184         linked pads.
8185
8186         Fixes: #430682
8187
8188 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
8189
8190         * docs/random/release:
8191           Some updates to the release procedure.
8192
8193 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
8194
8195         * gst/gstelementfactory.c: (__gst_element_details_clear):
8196           Microoptimization that saves stunning 80 bytes.
8197
8198 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
8199
8200         * docs/plugins/gstreamer-plugins.args:
8201         * docs/plugins/inspect/plugin-coreelements.xml:
8202         * docs/plugins/inspect/plugin-coreindexers.xml:
8203           Update docs with caps info.
8204
8205 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8206
8207         * po/it.po:
8208           Updated Italian translation.
8209
8210 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8211
8212         * ChangeLog:
8213         * po/vi.po:
8214           Update Vietnamese translations.
8215
8216 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8217
8218         * libs/gst/base/gstbasesink.c:
8219           Remove unused signal enum.
8220
8221 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8222
8223         * docs/gst/gstreamer-sections.txt:
8224         * gst/gstelement.c:
8225         * gst/gstutils.c: (gst_type_register_static_full):
8226         Beef up and include the docs for gst_type_register_static_full and
8227         gst_element_class_set_details_simple and add the API keyword
8228         in the ChangeLog.
8229
8230 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8231
8232         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8233         (update_time_level), (gst_single_queue_push_one),
8234         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8235         (single_queue_overrun_cb), (single_queue_underrun_cb),
8236         (single_queue_check_full):
8237         Fix setting max-* properties after adding queues.
8238         Use IS_FILLED for checking visible items.
8239         Signal overrun if multiple queues overrun.
8240         Add extra debug output.
8241         Patch by: Wim Taymans <wim@fluendo.com>
8242
8243 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
8244
8245         * gst/gstelement.c: (gst_element_class_set_details_simple):
8246         * gst/gstelement.h:
8247         * gst/gstutils.c: (gst_type_register_static_full):
8248         * gst/gstutils.h:
8249         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8250         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8251         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8252         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8253         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8254         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8255         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8256         * plugins/elements/gstidentity.c: (gst_identity_base_init):
8257         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8258         * plugins/elements/gstqueue.c: (gst_queue_base_init),
8259         (apply_buffer), (gst_queue_chain):
8260         * plugins/elements/gsttee.c: (gst_tee_base_init):
8261         * plugins/elements/gsttypefindelement.c:
8262         (gst_type_find_element_base_init),
8263         (gst_type_find_element_class_init):
8264           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8265           API: add gst_type_register_static_full
8266           API: add gst_element_class_set_details_simple
8267
8268 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8269
8270         * docs/pwg/advanced-types.xml:
8271           Fix typo in iana.org URI.
8272
8273 2007-06-19  Andy Wingo  <wingo@pobox.com>
8274
8275         * tests/check/pipelines/simple-launch-lines.c
8276         (test_state_change_returns): Enable pull-mode tests now that
8277         basesink has been fixed.
8278
8279         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8280         Changed from gst_base_sink_is_prerolled, reversing the sense of
8281         the return value. Returns FALSE also if the sink is in pull mode,
8282         in which case it needs no preroll.
8283         (gst_base_sink_query, gst_base_sink_change_state): Update for
8284         needs_preroll change.
8285         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8286         chaining up, in which we return SUCCESS directly if we activated
8287         in pull mode instead of ASYNC. Involves countering an async_start
8288         message sent before chaining up; not sure if this is correct, in
8289         an ideal world we only send async-start when activating in push
8290         mode.
8291
8292         * tests/check/pipelines/simple-launch-lines.c
8293         (test_state_change_returns): New test, partially disabled until
8294         basesink is fixed.
8295
8296 2007-06-19  Wim Taymans  <wim@fluendo.com>
8297
8298         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8299         (gst_multi_queue_sink_event):
8300         Fix event leak.
8301
8302 2007-06-19  Wim Taymans  <wim@fluendo.com>
8303
8304         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8305         (gst_bin_change_state_func), (bin_push_state_continue),
8306         (bin_handle_async_start), (bin_handle_async_done),
8307         (gst_bin_handle_message_func):
8308         Move the common code for posting state-change messages into
8309         one function.
8310         Broadcast the state signal after we posted the messages.
8311         Mark the bin as busy when it's doing a state-change.
8312         Make sure async-start/done messages don't interfere with the bin's
8313         state when it's busy.
8314         After the state change, let the bin check which elements completed the
8315         state change while it was busy so that it can update its state.
8316
8317 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
8318
8319         * docs/random/release:
8320         Add a note about updating the doap file to the release checklist
8321
8322 2007-06-18  Wim Taymans  <wim@fluendo.com>
8323
8324         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8325         (gst_single_queue_push_one), (gst_multi_queue_chain),
8326         (gst_multi_queue_sink_event):
8327         Make sure we don't reference the buffer/event after we have given away
8328         ownership in the queue.
8329
8330 2007-06-18  Wim Taymans  <wim@fluendo.com>
8331
8332         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8333         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8334         Update queue state _after_ adding the item in the queue because else we
8335         could end up being full without the element added yet.
8336
8337 2007-06-18  Wim Taymans  <wim@fluendo.com>
8338
8339         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8340         (gst_bin_remove_func), (gst_bin_get_state_func),
8341         (gst_bin_element_set_state), (gst_bin_continue_func),
8342         (bin_push_state_continue), (bin_handle_async_start),
8343         (bin_handle_async_done), (gst_bin_handle_message_func):
8344         * gst/gstbin.h:
8345         Immediatly commit the toplevel bin state when receiving an async-done
8346         message. This enables us to avoid spawning a thread to commit the state
8347         in some common cases and it also avoids some races.
8348         Avoid spawning a state thread when adding/removing async elements to a
8349         toplevel bin. Instead we immediatly update the bin state.
8350         Get rid of iterating all the children when getting the state in the bin
8351         because it is now always up-to-date.
8352         Fix bug where locked elements would always return _SUCCESS even it they
8353         returned NO_PREROLL before being locked.
8354         Fix the order of the state_change, async-start/done messages that was
8355         sometimes incorrect.
8356         Mark the state_dirty field as deprecated, we don't need it anymore as we
8357         are always up-to-date.
8358
8359         * gst/gstelement.c: (gst_element_get_state_func),
8360         (gst_element_continue_state):
8361         Small debug inprovements.
8362         Return the previous element state return when nothing is pending instead
8363         of blindly returning SUCCESS.
8364
8365         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8366         (gst_sinks_suite):
8367         Add a whole bunch of new testcases.
8368
8369 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8370
8371         * po/uk.po:
8372         * po/vi.po:
8373           Update translations.
8374
8375 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
8376
8377         * gst/gstpad.c:
8378         Fix typo in the docs.
8379
8380 2007-06-15  Wim Taymans  <wim@fluendo.com>
8381
8382         * docs/libs/gstreamer-libs-sections.txt:
8383         Add docs for new methods.
8384
8385 2007-06-15  Wim Taymans  <wim@fluendo.com>
8386
8387         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8388         (gst_multi_queue_item_new):
8389         Don't use GSlice because we don't depend on >= 2.10 yet.
8390
8391 2007-06-15  Wim Taymans  <wim@fluendo.com>
8392
8393         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8394         (update_time_level), (apply_segment), (apply_buffer),
8395         (gst_single_queue_push_one), (gst_multi_queue_item_new),
8396         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8397         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8398         (single_queue_underrun_cb), (single_queue_check_full):
8399         Remove debug printf.
8400
8401 2007-06-15  Wim Taymans  <wim@fluendo.com>
8402
8403         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8404         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8405         (gst_data_queue_set_flushing), (gst_data_queue_push),
8406         (gst_data_queue_pop), (gst_data_queue_drop_head),
8407         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8408         * libs/gst/base/gstdataqueue.h:
8409         Various cleanups.
8410         Added methods to get the current levels and to inform the queue that the
8411         'full' limits changed.
8412
8413         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8414         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8415         (gst_single_queue_flush), (update_time_level), (apply_segment),
8416         (apply_buffer), (gst_single_queue_push_one),
8417         (gst_multi_queue_item_steal_object),
8418         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8419         (gst_multi_queue_loop), (gst_multi_queue_chain),
8420         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8421         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8422         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8423         (single_queue_underrun_cb), (single_queue_check_full),
8424         (gst_single_queue_new):
8425         Keep track of time in the queue by measuring the difference between
8426         running_time on input and output. This gives more accurate results and
8427         can compensate for segments correctly.
8428         Make a queue by default only 5 buffers deep. We will now increase the
8429         buffer size depending on the filledness of the other queues.
8430         Factor out commong flush code.
8431         Make sure we don't add additional refcounts to buffers when we can avoid
8432         it.
8433         Propagate GstFlowReturn differently.
8434         Use GSlice for intermediate GstMultiQueueItems.
8435         Keep track of EOS.
8436         Resize queues on over and underruns based on filled level of other
8437         queues.
8438         When checking if the queue is filled, prefer to measure in time if we
8439         can and fall back to bytes when no time is known.
8440
8441         * plugins/elements/gstqueue.c:
8442         Fix return value.
8443
8444 2007-06-15  Wim Taymans  <wim@fluendo.com>
8445
8446         * libs/gst/base/gstbasetransform.c:
8447         (gst_base_transform_sink_event):
8448         Work around the brokenness of the event vmethod in basetransform. Prefer
8449         to return TRUE when the subclass returned FALSE (meaning don't forward
8450         the event). 
8451
8452         * libs/gst/base/gstbasetransform.h:
8453         Clarify the docs.
8454
8455 2007-06-15  Wim Taymans  <wim@fluendo.com>
8456
8457         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8458         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8459         (gst_base_src_default_query), (gst_base_src_get_range),
8460         (gst_base_src_start):
8461         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8462         Improve debugging.
8463
8464 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8465
8466         * docs/pwg/advanced-types.xml:
8467           Added more formats to caps table.
8468
8469 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8470
8471         * tools/gst-launch.c: (main):
8472           Remove crufy code. GOption does not need this workaround.
8473
8474 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8475
8476         * libs/gst/controller/gstcontroller.c:
8477         (gst_controlled_property_set_interpolation_mode):
8478           Fix wrong getter for enums in controller.
8479
8480 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8481
8482         * libs/gst/check/gstcheck.c: (gst_check_init):
8483           Intercept criticals and warnings in the Gst-Phonon log domain, so
8484           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8485           well.
8486         
8487 2007-06-14  Edward Hervey  <edward@fluendo.com>
8488
8489         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8490         Since this file doesn't include "gst.h" it will not go through the
8491         macros that disable GST_LOG if debugging was disabled.
8492
8493 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8494
8495         * libs/gst/check/Makefile.am:
8496         * libs/gst/check/gstcheck.h:
8497         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8498         * pkgconfig/gstreamer-check.pc.in:
8499           Ugly 'fix' for the controller unit test on the p5 bot: in
8500           fail_unless_equals_float() check whether the values are 'almost
8501           equal' by allowing a small absolute error, which should be good
8502           enough for our use cases (normal numbers and values close to 0).
8503           Proper fixage left to floating point arithmetic aficionados.
8504
8505 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8506
8507         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8508         (gst_base_sink_render_object), (gst_base_sink_get_position):
8509           Add two breaks thats where missing.
8510
8511 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8512
8513         * docs/libs/gstreamer-libs-sections.txt:
8514         * libs/gst/check/gstcheck.h:
8515           API: add fail_unless_equals_float() and assert_equals_float().
8516           Add documentation for some of the macros.
8517
8518         * tests/check/libs/controller.c: (GST_START_TEST):
8519           Use newly-added asserts.
8520
8521 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8522
8523         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8524           Show the caps change in the log to help spotting the case of not
8525           exactly matching caps.
8526
8527 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8528
8529         * docs/pwg/building-boiler.xml:
8530           Fix typos, spotted by Thijs Vermeir (#447190).
8531
8532 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8533
8534         * docs/plugins/tmpl/.cvsignore:
8535         Ignore file to keep the buildbots happy
8536
8537 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8538
8539         * docs/plugins/Makefile.am:
8540         * docs/plugins/gstreamer-plugins-docs.sgml:
8541         * docs/plugins/gstreamer-plugins-sections.txt:
8542         Pull fdsink into the docs too.
8543
8544 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8545
8546         * libs/gst/controller/gstinterpolation.c:
8547         Actually use the new functions with min/max checks for the trigger and
8548         none interpolation modes for get() and get_value_array() instead of
8549         just the latter.
8550
8551 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8552
8553         * libs/gst/controller/gstcontroller.c:
8554         (gst_controlled_property_free):
8555         Unset the minimum and maximum GValues when freeing the corresponding
8556         GstControllerProperty struct.
8557
8558 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8559
8560         * libs/gst/controller/gstcontroller.c:
8561         (gst_controlled_property_new):
8562         * libs/gst/controller/gstcontrollerprivate.h:
8563         * libs/gst/controller/gstinterpolation.c:
8564         (gst_controlled_property_find_control_point_node),
8565         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8566         (interpolate_none_get_string_value_array),
8567         (interpolate_trigger_get),
8568         (interpolate_trigger_get_enum_value_array),
8569         (interpolate_trigger_get_string_value_array):
8570         Protect against values larger or smaller than the minimum or maximum
8571         allowed value for the property when using values that can be compared.
8572
8573         Optimize trigger interpolator a bit by taking the last requested value
8574         into account instead of always looping through the complete list.
8575
8576         Fix coding style a bit, everywhere else we use "return foo" instead
8577         of "return (foo)".
8578         
8579         * tests/check/libs/controller.c: (GST_START_TEST),
8580         (gst_controller_suite):
8581         Add unit test for the protection against too large or too small
8582         values.
8583
8584 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8585
8586         * docs/random/slomo/controller.txt:
8587         Add some thoughts about the future of the controller.
8588
8589 2007-06-08  Wim Taymans  <wim@fluendo.com>
8590
8591         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8592         Don't overflow in retimestamping code.
8593
8594 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8595
8596         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8597         Use gst_util_guint64_to_gdouble for conversions.
8598         * win32/common/libgstreamer.def:
8599         Add new exported functions.
8600
8601 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8602
8603         * gst/gstutils.c:
8604           Small docs addition.
8605
8606 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8607
8608         * README:
8609           Remove that test line again.
8610
8611 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8612
8613         * README:
8614           Test commit mail sending.
8615
8616 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8617
8618         * configure.ac:
8619           Fix typo and test commit mail sending.
8620
8621 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8622
8623         * tests/examples/controller/audio-example.c:
8624           Improve comment and test commit mail sending.
8625
8626 2007-06-07  Wim Taymans  <wim@fluendo.com>
8627
8628         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8629         (gst_bin_remove_func), (gst_bin_element_set_state),
8630         (bin_handle_async_start), (bin_handle_async_done),
8631         (gst_bin_handle_message_func):
8632         Add helper function to find messages.
8633         Generate the async-done messages together with the state change
8634         messages.
8635         Small cleanups in handling toplevel bins.
8636
8637 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8638
8639         * libs/gst/base/gstdataqueue.c:
8640         * libs/gst/base/gstdataqueue.h:
8641         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8642         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8643         (gst_multi_queue_sink_event):
8644         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8645           Fix multiqueue leaking buffers and events when downstream or the
8646           queue are flushing. Make refcounting assumptions explicit and
8647           document them (shouldn't break existing code that uses it other than
8648           maybe leak miniobjects, but that already happens anyway). Add unit
8649           test for the most common flushing case. Fixes #423700.
8650           
8651 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8652
8653         * libs/gst/controller/gstcontroller.c:
8654         Clarify docs: The get_all, get_value_array(s) functions
8655         don't modify the GObject properties.
8656
8657 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8658
8659         * libs/gst/controller/gstcontroller.c:
8660         (gst_controlled_property_set_interpolation_mode),
8661         (gst_controlled_property_prepend_default),
8662         (gst_controlled_property_new), (gst_controller_set_unlocked),
8663         (gst_controller_set), (gst_controller_set_from_list),
8664         (gst_controller_unset), (gst_controller_unset_all):
8665         * libs/gst/controller/gstcontrollerprivate.h:
8666         * libs/gst/controller/gstinterpolation.c:
8667         Factor out the 'set' logic into gst_controller_set_unlocked for the
8668         gst_controller_set and gst_controller_set_from_list functions.
8669
8670         To make life of the interpolators easier always add a control point
8671         at timestamp zero with the default value.
8672
8673         In the linear interpolator make things more obvious by better variable
8674         naming (slope).
8675
8676         Implement cubic interpolation mode (by using a natural cubic spline)
8677         and map the quadratic interpolation mode to this too (as quadratic
8678         doesn't make much sense, see discussion on the list).
8679
8680         * tests/check/libs/controller.c: (GST_START_TEST),
8681         (gst_controller_suite):
8682         Add unit test for the cubic interpolation mode and check everywhere
8683         if the interpolation mode could be set as expected.
8684
8685 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8686
8687         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8688           Don't use GLib-2.10 functions, we still depend on
8689           GLib-how-old-is-it-again-2.8.
8690
8691 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8692
8693         * docs/gst/gstreamer-sections.txt:
8694         * gst/Makefile.am:
8695         * gst/gst.c:
8696         * gst/gst.h:
8697         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8698         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8699         (_gst_param_fraction_values_cmp),
8700         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8701         * gst/gstparamspecs.h:
8702         * gst/gstvalue.c:
8703         * tests/check/Makefile.am:
8704         * tests/check/gst/.cvsignore:
8705         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8706         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8707         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8708         (GST_START_TEST), (gst_param_spec_suite):
8709           API: add GstParamSpecFraction, so elements can have fraction
8710           properties without lots of painful string parsing (#444648).
8711
8712 2007-06-05  Wim Taymans  <wim@fluendo.com>
8713
8714         * gst/gstobject.c: (gst_object_class_init):
8715         Fix signal signature.
8716
8717         * gst/gstsegment.c:
8718         Add small clarification in the api docs.
8719
8720         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8721         States are protected with object lock.
8722
8723 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8724
8725         * AUTHORS:
8726         I should probably be listed as an author by now.
8727
8728         * docs/random/release:
8729         Update the release doc
8730
8731 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8732
8733         * gst/gstvalue.c:
8734           Make docs for gst_value_compare() mention return enums that
8735           actually exist.
8736
8737 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8738
8739         * configure.ac:
8740           Back to CVS
8741
8742 === release 0.10.13 ===
8743
8744 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8745
8746         * configure.ac:
8747           releasing 0.10.13, "With or without you"
8748
8749 2007-05-25  Wim Taymans  <wim@fluendo.com>
8750
8751         * gst/gstbin.c: (bin_handle_async_done):
8752         Make sure that the child bin stops after completing the async state
8753         change so that the parent can continue the state change to PLAYING.
8754         Fixes #441159.
8755
8756 2007-05-25  Wim Taymans  <wim@fluendo.com>
8757
8758         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8759         (unref_data), (gst_collect_pads_remove_pad),
8760         (gst_collect_pads_check_pads):
8761         Use additional refcounting to avoid crashes when dynamically adding and
8762         removing pads. Fixes #420206.
8763
8764 2007-05-24  Wim Taymans  <wim@fluendo.com>
8765
8766         * tools/gst-launch.c: (event_loop):
8767         When buffering goes from a two digit to a single digit number, make sure
8768         to remove the old second digit by writing a blank over it.
8769
8770 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8771
8772         * libs/gst/base/gstdataqueue.c:
8773           Eliminate tabs and trailing comma in enum list; fix some typos.
8774
8775 2007-05-24  Wim Taymans  <wim@fluendo.com>
8776
8777         * tests/check/gst/gstbin.c: (GST_START_TEST):
8778         Allow refcount of 3 and 4 because some state thread might still be busy
8779         with it.
8780
8781 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8782
8783         * plugins/elements/Makefile.am:
8784         * plugins/elements/gstmultiqueue.h:
8785         * plugins/elements/gstqueue.h:
8786           These are not installed headers, no need for padding.
8787
8788 2007-05-24  Wim Taymans  <wim@fluendo.com>
8789
8790         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8791         (gst_bin_continue_func):
8792         Enable latency for next release.
8793         Restore STATE_LOCK around recalc_state that was left out during the
8794         rewrite and could result in racy behaviour when _get_state and
8795         recalc_state are run concurrently. See #440463.
8796
8797 2007-05-23  Wim Taymans  <wim@fluendo.com>
8798
8799         * tests/check/gst/gstsystemclock.c: (store_callback),
8800         (GST_START_TEST):
8801         Improve test_async_order to also work when both timers are already
8802         expired when we get scheduled to check it.
8803
8804 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8805
8806         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8807         (gst_bin_set_property), (gst_bin_get_property),
8808         (gst_bin_remove_func), (gst_bin_handle_message_func):
8809         * gst/gstbin.h:
8810           'private' is a c++ keyword, let's not use that in header files,
8811           otherwise c++ compilers will throw a tantrum.
8812
8813 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8814
8815         * plugins/elements/gstelements.c:
8816         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8817         (gst_file_sink_get_current_offset):
8818         * plugins/indexers/gstindexers.c: (plugin_init):
8819           Use #ifdef for HAVE_XYZ for consistency.
8820
8821         * tests/check/Makefile.am:
8822         * tests/check/elements/.cvsignore:
8823         * tests/check/elements/filesink.c: (setup_filesink),
8824         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8825           Add some unit tests for filesink.
8826
8827 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8828
8829         Patch by: Mark Nauwelaerts <manauw at skynet be>
8830
8831         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8832         (gst_file_sink_query), (gst_file_sink_do_seek),
8833         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8834         * plugins/elements/gstfilesink.h:
8835           Fix position reporting; rename data_written member to current_pos to
8836           reflect its real meaning (fixes #412648).
8837
8838 2007-05-22  Edward Hervey  <edward@fluendo.com>
8839
8840         * docs/gst/gstreamer-sections.txt:
8841         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8842         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8843         (gst_bin_remove_func), (gst_bin_handle_message_func):
8844         * gst/gstbin.h:
8845         Add a property for bins that handle the state change of their childs.
8846         Fixes #435880
8847
8848 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8849
8850         * libs/gst/controller/gstinterpolation.c:
8851         Use an array of the correct type when using _get_value_array with
8852         linear interpolation.
8853
8854 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8855
8856         * gst/gstelement.c (gst_element_requires_clock,
8857           gst_element_provides_clock, gst_element_request_pad,
8858           gst_element_class_set_details, gst_element_class_set_details_simple,
8859           gst_element_default_send_event, gst_element_abort_state,
8860           gst_element_continue_state, gst_element_set_state,
8861           gst_element_set_state_func, iterator_activate_fold_with_resync):
8862         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8863           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8864           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8865           gst_pad_get_range, gst_pad_pull_range):
8866         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8867           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8868           GstPadActivateModeFunction, GstPadChainFunction,
8869           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8870           GstPadFixateCapsFunction, GstPadTemplate):
8871         * gst/gstpipeline.c (gst_pipeline_change_state,
8872           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8873           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8874           gst_pipeline_get_delay):
8875           Whitespace and docs fixes.
8876
8877 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8878
8879         * libs/gst/controller/gstinterpolation.c:
8880         (interpolate_trigger_get_enum_value_array),
8881         (interpolate_trigger_get_string_value_array):
8882         Add support for retrieving value arrays when using the trigger
8883         interpolation mode. 
8884
8885 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8886
8887         * libs/gst/controller/gstcontroller.c:
8888         (gst_controller_get_value_array):
8889         * libs/gst/controller/gstcontroller.h:
8890         Clarify the docs of gst_controller_get_value_array(): The array where
8891         the values should be written to must be allocated as there seems to be
8892         no way to get the size of a random GType. This doesn't change any
8893         behaviour. Also fix some typos all over the place and remove an unused,
8894         commented function that is not necessary as g_object_set() could be
8895         used instead.
8896         * tests/check/libs/controller.c: (GST_START_TEST),
8897         (gst_controller_suite):
8898         Add unit test for gst_controller_get_value_array().
8899
8900 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8901
8902         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8903
8904         Disable part of the gst_buffer_try_new_and_alloc test, because
8905         it can happily succeed on 64-bit systems where there's more address
8906         space available.
8907
8908 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8909
8910         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8911         Add unit test for the improved caps checking from bug #421543.
8912
8913 2007-05-21  Wim Taymans  <wim@fluendo.com>
8914
8915         * docs/design/part-synchronisation.txt:
8916         Small addition.
8917
8918         * gst/gstbin.c: (gst_bin_query):
8919         * plugins/elements/gstqueue.c: (apply_segment):
8920         Improve debugging.
8921
8922         * gst/gstmessage.h:
8923         Improve docs.
8924
8925 2007-05-21  Wim Taymans  <wim@fluendo.com>
8926
8927         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8928         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8929         (gst_pad_configure_src):
8930         Added simple version of improved caps checking. It was previously
8931         assumed that a setcaps function would check the validity of the caps but
8932         people prefer us to check caps against the template automatically. 
8933         Fixes #421543.
8934
8935 2007-05-21  Wim Taymans  <wim@fluendo.com>
8936
8937         * libs/gst/base/gstbasetransform.h:
8938         Fix macro for locking/unlocking the transform lock.
8939
8940 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8941
8942         * docs/plugins/tmpl/.cvsignore:
8943           Ignore more.
8944
8945 2007-05-18  Edward Hervey  <edward@fluendo.com>
8946
8947         * plugins/elements/gstqueue.c: (gst_queue_loop):
8948         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8949         for the subtle art of warning a potentially blocking thread that it
8950         should check the source pad return value, and relay the information
8951         upstream.
8952
8953 2007-05-18  Edward Hervey  <edward@fluendo.com>
8954
8955         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8956         Release the queue lock !
8957
8958 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8959
8960         * docs/libs/gstreamer-libs-sections.txt:
8961         Add the two new controller functions to the appropiate places.
8962
8963 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8964
8965         reviewed by: Stefan Kost <ensonic@users.sf.net>
8966
8967         * libs/gst/controller/gstcontroller.c:
8968         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8969         (_gst_controller_get_property), (_gst_controller_set_property),
8970         (_gst_controller_init), (_gst_controller_class_init):
8971         * libs/gst/controller/gstcontroller.h:
8972         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8973         (gst_object_get_control_rate), (gst_object_set_control_rate):
8974         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8975         Add API that provides sync suggestion timestamps for elements that
8976         call gst_object_sync_values() from which those elements can subdivide
8977         their processing loop to get the best results for the controlled
8978         properties. For now it just suggests last_sync + control_rate as
8979         new timestamp but this will be improved in the future.
8980
8981         While doing that change the control-rate property to a GstClockTime
8982         from guint and change it's meaning from samples to nanoseconds as
8983         the GstController doesn't know anything about sampling rate. Strictly
8984         speaking this breaks ABI but as the control-rate property didn't do
8985         anything in the past and as such couldn't be used this should be no
8986         problem.        
8987
8988 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8989
8990         reviewed by: Stefan Kost <ensonic@users.sf.net>
8991
8992         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8993         (gst_controller_unset_all):
8994         * libs/gst/controller/gstcontrollerprivate.h:
8995         * libs/gst/controller/gstinterpolation.c:
8996         (gst_controlled_property_find_control_point_node):
8997         Save last synced value from the list to continue searching from there
8998         in future syncs. This speeds everything up a bit.
8999         
9000 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
9001
9002         reviewed by: Stefan Kost <ensonic@users.sf.net>
9003
9004         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
9005         (gst_control_point_find), (gst_controlled_property_new),
9006         (gst_control_point_free), (gst_controlled_property_free),
9007         (gst_controller_set), (gst_controller_set_from_list),
9008         (gst_controller_unset), (gst_controller_unset_all),
9009         (gst_controller_sync_values):
9010         * libs/gst/controller/gstcontroller.h:
9011         * libs/gst/controller/gstcontrollerprivate.h:
9012         * libs/gst/controller/gstinterpolation.c:
9013         (gst_controlled_property_find_control_point_node),
9014         (interpolate_none_get), (interpolate_trigger_get):
9015         Add a new private GstControlPoint struct which "inherits" from
9016         GstTimedValue to allow different interpolators to store internal
9017         values next to each control point. From the outside everything is
9018         still a GstControlPoint so we don't loose binary compatibility.
9019         Also fixup all the GValue handling to not leak GValues or list nodes.
9020         * tests/check/libs/controller.c: (GST_START_TEST):
9021         Free the list nodes and GValues in the controller_misc test.
9022
9023 2007-05-17  Edward Hervey  <edward@fluendo.com>
9024
9025         * gst/gstsegment.c:
9026         Small doc fix.
9027
9028 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
9029
9030         * gst/gstplugin.c: (gst_plugin_load_file):
9031           If we fail to load a plugin because of unresolved symbols or missing
9032           libraries and spew a warning to stderr, we may just as well mention
9033           which plugin it was that failed to load.
9034
9035 2007-05-13  David Schleef  <ds@schleef.org>
9036
9037         * docs/Makefile.am: the gtk-doc makefile snippet correctly
9038           handles the case when ENABLE_GTK_DOC is false, and installs
9039           the prebuilt documentation.  So gtk-doc subdirs are 
9040           unconditionally enabled.  Fixes: #349099.
9041
9042 2007-05-13  David Schleef  <ds@schleef.org>
9043
9044         * gst/gstutils.h: Reword some documentation.
9045
9046 2007-05-12  David Schleef  <ds@schleef.org>
9047
9048         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
9049           do anything with the passed "module" parameter, so remove it.
9050           Allows removal of additional vestigal code.
9051
9052 2007-05-12  David Schleef  <ds@schleef.org>
9053
9054         * gst/gstplugin.c:
9055           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
9056           Switch to using g_stat() because it's more portable.
9057
9058 2007-05-12  David Schleef  <ds@schleef.org>
9059
9060         * gst/gst.c:
9061           Add GST_DISABLE_OPTION_PARSING, in order to disable option
9062           parsing for embedded systems.
9063         * gst/gstelementfactory.c:
9064           Allow gst_element_register() to be called with plugin==NULL.
9065           Did nobody notice that static elements were broken?
9066
9067 2007-05-12  Wim Taymans  <wim@fluendo.com>
9068
9069         * tools/gst-launch.c: (event_loop):
9070         Give more interesting info when buffering starts and stops.
9071         Fix case where buffering starts but we fail to update the buffering flag
9072         because the target state is not PLAYING.
9073
9074 2007-05-12  Wim Taymans  <wim@fluendo.com>
9075
9076         * plugins/elements/gstqueue.c: (gst_queue_init),
9077         (gst_queue_finalize), (update_time_level), (apply_segment),
9078         (apply_buffer), (gst_queue_locked_flush),
9079         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
9080         (gst_queue_handle_sink_event), (gst_queue_chain),
9081         (gst_queue_push_one), (gst_queue_loop):
9082         * plugins/elements/gstqueue.h:
9083         Refactor an cleanup queue a bit.
9084         Do better time level calculations that also work when the srcpad is not
9085         yet running.
9086         Remove some unneeded debug lines.
9087
9088         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
9089         Added testcase for time level measurement.
9090         Try to make some stuff more racefree.
9091
9092 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
9093
9094         * gst/gsturi.c: (gst_element_make_from_uri):
9095           Don't leak plugin feature.
9096
9097         * tests/check/Makefile.am:
9098         * tests/check/gst/.cvsignore:
9099         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
9100           Add brain-dead unit test.
9101
9102 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
9103
9104         Patch by: Jeroen Wouters <woutersj at gmail com>
9105
9106         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
9107           Treat protocol strings in a case-insensitive way (#437563).
9108
9109 2007-05-11  Michael Smith <msmith@fluendo.com>
9110
9111         * gst/gstplugin.c: (gst_plugin_load_file):
9112         * gst/gstregistry.c: (gst_registry_scan_path_level):
9113           Don't print a g_warning for any failure to load a shared object.
9114           Instead, push this down into gstplugin.c, and warn _only_ if we
9115           failed to open the module (i.e. failure to link).
9116           Avoids warnings on normal, working, non-plugin .so files.
9117
9118 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
9119
9120         * gst/gstplugin.c (gst_plugin_load_file):
9121         * gst/gstregistry.c (GST_CAT_DEFAULT,
9122           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
9123           Print a g_warning if there was an error when loading a plugins during
9124           registry scan. The shuld help beginners starting with gst-plugin
9125           template.
9126
9127 2007-05-10  Wim Taymans  <wim@fluendo.com>
9128
9129         * plugins/elements/gstqueue.c: (gst_queue_class_init),
9130         (update_time_level), (gst_queue_locked_flush),
9131         (gst_queue_handle_sink_event), (gst_queue_chain),
9132         (gst_queue_push_one), (gst_queue_loop):
9133         * plugins/elements/gstqueue.h:
9134         Be smarter when calculating the current amount of data in the queue by
9135         measuring the difference between start and end timestamps (in running
9136         time) inside the queue. Fixes #432876.
9137         API: GstQueue::pushing to notify elements that we are pushing data again
9138         since the running signal is rather broken for this purpose.
9139
9140 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
9141
9142         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
9143           gst_queue_base_init, gst_queue_init):
9144           use GST_BOILERPLATE
9145
9146 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
9147
9148         * win32/common/libgstreamer.def:
9149         Add new exported functions.
9150         * win32/vs6/grammar.dsp:
9151         Use grammar pre-generated files.
9152
9153 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9154
9155         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
9156
9157         * gst/Makefile.am:
9158         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
9159         * gst/gstparse.h:
9160         * gst/gstutils.c: (gst_parse_bin_from_description):
9161         * gst/gstutils.h:
9162           Maintain API and ABI when --disable-parse is used. Now that
9163           we have an appropriate error code, we can just return NULL and the
9164           appropriate error when gst_parse_launch() is used despite it having
9165           been disabled (#342564).
9166
9167         * tests/check/Makefile.am:
9168         * tests/check/pipelines/.cvsignore:
9169         * tests/check/pipelines/parse-disabled.c:
9170           Make sure these functions exist and return NULL plus a GError when
9171           --disable-parse is used.
9172
9173 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9174
9175         * tests/benchmarks/complexity.c: (main):
9176         * tests/benchmarks/mass-elements.c: (main):
9177           Set a good example and don't leak messages.
9178
9179 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
9180
9181         * docs/gst/Makefile.am:
9182         * docs/libs/Makefile.am:
9183           Correct fixxrefs options.
9184
9185         * docs/plugins/Makefile.am:
9186         * docs/plugins/gstreamer-plugins-docs.sgml:
9187         * docs/plugins/gstreamer-plugins-sections.txt:
9188         * plugins/elements/Makefile.am:
9189         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9190         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9191           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9192           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9193           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9194           _GstCapsFilterClass, trans_class):
9195         * plugins/elements/gstelements.c (name, rank, type, _elements):
9196         * plugins/elements/gstidentity.c
9197           (gst_identity_check_imperfect_timestamp,
9198           gst_identity_check_imperfect_offset):
9199           Document capsfilter and add doc-blurb to identity.
9200
9201 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9202
9203         * libs/gst/controller/gstcontroller.c:
9204         (gst_controlled_property_set_interpolation_mode):
9205         * libs/gst/controller/gstinterpolation.c:
9206           Don't crash if someone tries to set an interpolation mode that
9207           is invalid or that isn't supported yet. Fixes #422295.
9208
9209         * tests/check/libs/controller.c: (GST_START_TEST),
9210         (gst_controller_suite):
9211           Add a test case for the above.
9212
9213 2007-05-03  Edward Hervey  <edward@fluendo.com>
9214
9215         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9216         Properly set the last_stop position on GstSegment. This will only happen
9217         if there is a buffer to push out.
9218
9219 2007-05-03  Wim Taymans  <wim@fluendo.com>
9220
9221         * libs/gst/base/gstbasetransform.c:
9222         (gst_base_transform_buffer_alloc):
9223         always_in_place does not mean that the sink and source caps are the
9224         same! Make sure we don't blindly proxy the buffer_alloc in this case.
9225
9226 2007-05-03  Wim Taymans  <wim@fluendo.com>
9227
9228         * docs/libs/gstreamer-libs-sections.txt:
9229         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9230         (gst_base_src_default_query), (gst_base_src_get_range):
9231         * libs/gst/base/gstbasesrc.h:
9232         API: gst_base_src_query_latency(). Added method so that subclasses can
9233         easily get the latency values of the base source class.
9234
9235 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
9236
9237         * tools/gst-inspect.c (print_implementation_info):
9238         Remove 0.8 cruft.
9239
9240 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
9241
9242         * tools/Makefile.am:
9243         * tools/gst-launch.1.in:
9244           Don't create a customised man page based on the host architecture,
9245           describe the default registry path generically. That way the man
9246           page is the same for all architectures and packagers have one
9247           multilib issue less to deal with. Fixes #434926.
9248
9249 2007-05-02  Wim Taymans  <wim@fluendo.com>
9250
9251         * gst/gstpad.c:
9252         Fix documentation as spotted by rg on IRC. 
9253
9254 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
9255
9256         * gst/gstutils.c:
9257           Improve docs for gst_element_{link,unlink}.
9258
9259 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
9260
9261         * docs/design/part-events.txt:
9262         * docs/design/part-overview.txt:
9263         * gst/gstevent.c:
9264         * gst/gsturi.c:
9265         * gst/gsturi.h:
9266         * libs/gst/base/gstbasesink.c:
9267           Typo fixes; minor docs addition.
9268
9269 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9270
9271         * docs/gst/gstreamer-sections.txt:
9272         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9273         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9274         * gst/gsturi.h:
9275         API: Add gst_uri_protocol_is_supported(), which checks if a sink
9276         or src that supports a given URI protocol exists.
9277
9278 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9279
9280         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9281         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9282         Set the location to NULL if "file://" is set as URI. Otherwise
9283         some random previous URI would still be set if "file://" is
9284         set on an already used filesink/filesrc.
9285
9286 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9287
9288         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9289         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9290         Special case the "file://" URI as as this is used by some
9291         applications to test with gst_element_make_from_uri if there's
9292         an element that supports the URI protocol.
9293         Also move the g_path_is_absolute() check for the location part
9294         of the URI to also check this for "file://localhost/bla" URIs.
9295
9296 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
9297
9298         * docs/gst/gstreamer-sections.txt:
9299         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9300         * gst/gstbuffer.h:
9301         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9302         (gst_buffer_suite):
9303           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9304
9305 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
9306
9307         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9308         (gst_registry_binary_load_pad_template),
9309         (gst_registry_binary_load_plugin),
9310         (gst_registry_binary_read_cache):
9311         * gst/gstregistrybinary.h:
9312           Implement no-mmap alternative for registry reading. Do code cleanups.
9313           Add more comments about avoiding strdups for all text data. Comments
9314           welcome.
9315
9316 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9317
9318         * gst/gstregistrybinary.h (GstBinaryPluginElement,
9319           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9320           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9321           Comment structs and reformat to fix the build (that stuff should go
9322           into a priv. header).
9323
9324 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9325
9326         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9327         (gst_registry_binary_load_feature):
9328         * gst/gstregistrybinary.h:
9329           Refactor so that we can implement multiple features. Add support for
9330           TypeFindFactory features.
9331
9332 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
9333
9334         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9335
9336         * configure.ac:
9337           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9338
9339 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
9340
9341         * gst/gstbin.c: (gst_bin_element_set_state),
9342         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9343         (bin_handle_async_done), (gst_bin_handle_message_func):
9344           Fix build with --gst-disable-gst-debug
9345
9346 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
9347
9348         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9349           Make sure streaming has finished before calling the ::stop() vfunc,
9350           since that vfunc might clear state which is being used in the
9351           streaming thread. This fixes a race that caused crashes in
9352           audioresample when shutting down a pipeline (#420106).
9353
9354 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9355
9356         * docs/gst/gstreamer-sections.txt:
9357           That was one byte missing.
9358
9359 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9360
9361         * configure.ac:
9362         * docs/gst/gstreamer-sections.txt:
9363         * gst/Makefile.am:
9364         * gst/gstconfig.h.in:
9365         * gst/gstobject.c: (gst_object_class_init),
9366         (gst_signal_object_class_init):
9367         * gst/gstobject.h:
9368           2nd attempt to have a xml-less build as a joined effort of #413123
9369           and #421480.
9370
9371 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9372
9373         * docs/design/draft-tagreading.txt:
9374           Added open issues/thoughts to draft.
9375
9376 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9377
9378         * gst/parse/grammar.tab.pre.c:
9379         * gst/parse/grammar.tab.pre.h:
9380         * gst/parse/lex._gst_parse_yy.pre.c:
9381         Update the prebuild parser sources.
9382
9383 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9384
9385         * gst/parse/Makefile.am:
9386         And now fix the building of the flex sources. Now everything should
9387         work as expected.
9388
9389 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9390
9391         * gst/parse/Makefile.am:
9392         Now hopefully fix the build failures by setting proper rule
9393         dependencies and moving instead of copying.
9394
9395 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9396
9397         * tests/benchmarks/complexity.gnuplot:
9398         * tests/benchmarks/complexity.scm:
9399         * tests/benchmarks/mass-elements.gnuplot:
9400         * tests/benchmarks/mass-elements.scm:
9401           Total licensification.
9402
9403 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9404
9405         * gst/parse/Makefile.am:
9406           Fix the build by correcting the rule that gave wrong files to flex.
9407
9408 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9409
9410         * tests/benchmarks/complexity.c:
9411         * tests/benchmarks/mass-elements.c:
9412           Change licence to LGPL as granted by Benjamin and Andy.
9413
9414 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9415
9416         * gst/parse/Makefile.am:
9417         Add correct grammar.tab.h dependency if compiling without new enough
9418         flex. Fixes #431150.
9419
9420 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9421
9422         * gst/parse/Makefile.am:
9423         Fix typo and use outdated sources if the flex/bison sources are newer
9424         than the pregenerated ones but flex is too old. Print a warning in
9425         that case. This should fix the build on the build bot.
9426
9427 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9428
9429         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9430         * gst/parse/Makefile.am:
9431         * gst/parse/grammar.y:
9432         * gst/parse/parse.l:
9433         Make the parser reentrant and recursively callable. This requires flex
9434         >= 2.5.31, for older versions pregenerated sources are used as we
9435         can't bump the build dependency. Finally fixes #349180.
9436
9437         * gst/gstparse.c: (gst_parse_launch):
9438         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9439         now anyway.
9440
9441         * docs/gst/Makefile.am:
9442         * docs/gst/Makefile.am:
9443         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9444         (__gst_parse_strfree), (__gst_parse_link_new),
9445         (__gst_parse_link_free), (__gst_parse_chain_new),
9446         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9447         (gst_parse_element_set), (gst_parse_free_link),
9448         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9449         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9450         (_gst_parse_launch):
9451         * gst/parse/grammar.tab.pre.h:
9452         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9453         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9454         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9455         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9456         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9457         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9458         (_gst_parse_yypop_buffer_state),
9459         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9460         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9461         (yy_fatal_error), (_gst_parse_yyget_extra),
9462         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9463         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9464         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9465         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9466         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9467         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9468         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9469         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9470         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9471         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9472         (_gst_parse_yyfree):
9473         If the installed flex version is too old use pre-generated parser
9474         sources. These pre-generated parser sources are always updated when
9475         the actual flex/bison sources change but require everybody who wants
9476         to change something in the parser to have flex >= 2.5.31 installed.
9477
9478 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9479
9480         * common/m4/gst-gettext.m4:
9481         * gst/gst-i18n-lib.h:
9482           Make --disable-nls to work
9483
9484 2007-04-17  Wim Taymans  <wim@fluendo.com>
9485
9486         * gst/gstconfig.h.in:
9487         Revert previous change that broke the build.
9488
9489 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9490
9491         * configure.ac:
9492         * gst/Makefile.am:
9493         * gst/gstconfig.h.in:
9494           Drop libxml2 dependency when building with 
9495           --enable-binary-registry --disable-loadsave
9496
9497 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9498
9499         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9500         (gst_registry_binary_read_cache):
9501         * gst/gstregistrybinary.h:
9502           Remove unnecessary <sys/mman.h> include which broke the win32 build
9503           with MingW; move includes from header file to .c file, even if the
9504           header file isn't installed; use g_strerror() where UTF-8 strings
9505           are expected, such as in GST_DEBUG messages.
9506
9507 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9508
9509         * docs/libs/gstreamer-libs-sections.txt:
9510         Remove bogus addition for API I didn't end up keeping.
9511
9512         * libs/gst/base/gstbasesrc.h:
9513         Mention Since: 0.10.13 in the documentation.
9514
9515         Add the API keyword to the previous ChangeLog entry.
9516
9517 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9518
9519         * docs/libs/gstreamer-libs-sections.txt:
9520         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9521         (gst_base_src_default_prepare_seek_segment),
9522         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9523         * libs/gst/base/gstbasesrc.h:
9524         Allow basesrc derived classes to execute seeks in other formats
9525         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9526         to prepare the GstSegment in any format that their perform_seek method
9527         will be able to understand. The default implementation provides the
9528         old behaviour of attempting to convert the seek offsets to the 
9529         configured native format.
9530
9531         API: basesrc::prepare_seek_segment vmethod.
9532
9533 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9534
9535         * gst/gstelement.c: (gst_element_get_state_func):
9536         Don't output the same debug statement twice.
9537
9538         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9539         (gst_adapter_peek), (gst_adapter_take_buffer):
9540         Optimise the case where we have buffers at the head of the queue that
9541         can be joined quickly (because they're contiguous sub-buffers) by
9542         merging them together rather than copying data out into new memory.
9543
9544         * gst/parse/grammar.y:
9545         * tests/check/pipelines/parse-launch.c:
9546         Fix a leak in an error path for parse_launch, and add a check 
9547         for it to the testsuite.
9548
9549 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9550
9551         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9552           Don't deadlock when releasing a pad - gst_pad_set_active may try
9553           and take the multiqueue lock too.
9554
9555 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9556
9557         * gst/gsterror.c: (_gst_core_errors_init):
9558         * gst/gsterror.h:
9559           API: add GST_CORE_ERROR_DISABLED (#392804).
9560
9561 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9562
9563         * docs/faq/gst-uninstalled:
9564           don't get empty paths on the PATH variables
9565         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9566           Don't format for the uncommon terminal width of 84 characters.
9567
9568 2007-04-06  Wim Taymans  <wim@fluendo.com>
9569
9570         * gst/gstpipeline.c: (reset_stream_time),
9571         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9572         Only try to select a different pipeline clock when we went back to
9573         PAUSED and not when we merely got flushed.
9574
9575 2007-04-05  Michael Smith  <msmith@fluendo.com>
9576
9577         * tools/gst-launch.1.in:
9578           fractions are better supported in gstreamer than ractions, so
9579           suggest using those.
9580
9581 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9582
9583         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9584
9585         * po/LINGUAS:
9586         * po/da.po:
9587           Added Danish translation.
9588
9589 2007-04-05  Wim Taymans  <wim@fluendo.com>
9590
9591         * libs/gst/base/gstbasesink.c:
9592         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9593         Fix leak caused when refusing newsegment after EOS.
9594
9595         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9596         (gst_fake_sink_init), (gst_fake_sink_set_property),
9597         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9598         (gst_fake_sink_render), (gst_fake_sink_change_state):
9599         * plugins/elements/gstfakesink.h:
9600         Add num-buffers property to make the element generate EOS after a
9601         configurable amount of buffers.
9602         API: fakesink::num-buffers property.
9603
9604         * tests/check/elements/fakesink.c: (GST_START_TEST),
9605         (fakesink_suite):
9606         Fix GstBus leak in test.
9607         Test for fakesink num-buffers.
9608
9609 2007-04-05  Wim Taymans  <wim@fluendo.com>
9610
9611         * libs/gst/base/gstbasesink.c:
9612         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9613         (gst_base_sink_change_state):
9614         Don't accept anything after an EOS, return UNEXPECTED instead.
9615
9616         * tests/check/elements/fakesink.c: (GST_START_TEST),
9617         (fakesink_suite):
9618         Unit test for new EOS behaviour.
9619
9620 2007-04-05  Wim Taymans  <wim@fluendo.com>
9621
9622         * gst/gstelement.c: (gst_element_get_request_pad):
9623         Make padtemplates also work when they don't contain %s or %d.
9624
9625 2007-04-05  Wim Taymans  <wim@fluendo.com>
9626
9627         * docs/gst/gstreamer-sections.txt:
9628         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9629         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9630         * gst/gstclock.h:
9631         Improve _adjust_unlocked() so that it overflows less.
9632         Add gst_clock_unadjust_unlocked to convert from external time to
9633         internal time based on calibration.
9634         Add some more debug.
9635         API: GstClock::gst_clock_unadjust_unlocked()
9636
9637 2007-04-03  Wim Taymans  <wim@fluendo.com>
9638
9639         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9640
9641         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9642         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9643         when releasing sink pad. Fixes #425400.
9644
9645 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9646
9647         * docs/random/ensonic/dynlink.txt:
9648           More work on proposal for new core api.
9649
9650         * docs/libs/gstreamer-libs-sections.txt:
9651         * libs/gst/base/gstbasetransform.h:
9652           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9653           
9654         * libs/gst/controller/gstcontroller.c:
9655         (on_object_controlled_property_changed),
9656         (gst_controller_sync_values),
9657         (gst_controller_set_interpolation_mode):
9658         * libs/gst/controller/gstcontroller.h:
9659           Less verbose logging add docs for unimplemented parts and correctly
9660           return when using unavailable parts.
9661
9662 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9663
9664         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9665         Move all the debug to the CLOCK category, and associate it with
9666         the clock object.
9667
9668 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9669
9670         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9671         Make take_buffer a bit quicker by removing redundant checks
9672         caused by calling gst_adapter_take.
9673
9674 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9675
9676         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9677           Don't leak GCond.
9678
9679         * tests/check/Makefile.am:
9680         * tests/check/elements/.cvsignore:
9681         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9682         (GST_START_TEST), (multiqueue_suite):
9683           Add some dead simple unit tests for the 'multiqueue' element
9684           (some bits don't work yet and are disabled for now).
9685
9686 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9687
9688         * gst/gstelement.c: (gst_element_get_request_pad),
9689         (gst_element_class_get_request_pad_template):
9690           Make gst_element_get_request_pad() create request pads only for
9691           request pad templates and not for, say, sometimes pad templates.
9692
9693 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9694
9695         * docs/design/draft-klass.txt:
9696           Add example that needs more thinking.
9697         
9698         * docs/design/draft-missing-plugins.txt:
9699           More thoughts about wrapper plugins.
9700         
9701         * docs/random/ensonic/embedded.txt:
9702         * docs/random/ensonic/profiling.txt:
9703           More design work.
9704
9705 2007-03-25  Wim Taymans  <wim@fluendo.com>
9706
9707         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9708         (gst_base_src_loop):
9709         Only push the segment events in the PLAYING state for live sources.
9710
9711 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9712
9713         * gst/gstpipeline.c: (gst_pipeline_change_state):
9714         Modify the clock distribution path in PAUSED->PLAYING so that we 
9715         never attempt to choose a new clock unless we're actually leaving
9716         the PAUSED state for the first time. This prevents choosing a
9717         different clock when the state_change gets called for a 2nd time due
9718         to some element doing an async state change.
9719
9720 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9721
9722         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9723         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9724         (gst_pad_chain_unchecked), (gst_pad_push):
9725         Revert last commit. This needs some more thoughts.
9726
9727 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9728
9729         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9730         (gst_pad_chain_unchecked), (gst_pad_push):
9731         Check in set_caps if the caps are compatible with the pad and remove
9732         two functions that are redundant now. Fixes #421543.
9733
9734 2007-03-22  Wim Taymans  <wim@fluendo.com>
9735
9736         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9737         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9738         Unref some more to make valgrind happy.
9739
9740 2007-03-22  Wim Taymans  <wim@fluendo.com>
9741
9742         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9743         (gst_system_clock_id_wait_jitter),
9744         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9745         Fix anoying regression that survived a few releases. When adding an
9746         async entry while blocking on a sync entry, the sync entry will unblock
9747         but still be busy, so it should continue to wait instead of returning
9748         _BUSY to the app.
9749         Add some comments here and there.
9750
9751         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9752         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9753         Add testcase for this.
9754
9755 2007-03-22  Wim Taymans  <wim@fluendo.com>
9756
9757         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9758         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9759         WRONG_STATE and can silently pause the task. All other cases should
9760         error out.
9761
9762 2007-03-22  Wim Taymans  <wim@fluendo.com>
9763
9764         Patch by: Ville Syrjala <syrjala at sci dot fi>
9765
9766         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9767         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9768         Improve debugging.
9769
9770 2007-03-21  Michael Smith  <msmith@fluendo.com>
9771
9772         * docs/pwg/advanced-types.xml:
9773           Fix some errors in the typefinding docs pointed out on irc.
9774
9775 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9776
9777         * libs/gst/base/gstbasesrc.c:
9778         Clarify FIXME comment in the face of having added unlock_stop()
9779
9780 2007-03-21  Wim Taymans  <wim@fluendo.com>
9781
9782         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9783         Prepare for release where we warn against possible app breakage in the
9784         case of live pipelines along with an env var to enable/disable live
9785         preroll mode (GST_COMPAT=[no-]live-preroll).
9786
9787 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9788
9789         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9790         So we should use correct constants for checking for None offset.
9791
9792 2007-03-20  Wim Taymans  <wim@fluendo.com>
9793
9794         * docs/design/part-block.txt:
9795         Mention the fact that the newly switched element should be set to at
9796         least PAUSED.
9797
9798 2007-03-20  Wim Taymans  <wim@fluendo.com>
9799
9800         * gst/gst.c:
9801         Fix compilation with registry disabled as spotted by Saur.
9802
9803 2007-03-20  Wim Taymans  <wim@fluendo.com>
9804
9805         Patch by: Olivier Crete <tester at tester dot ca>
9806
9807         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9808         Look at the pending state too when syncing the element state to the
9809         parent. Fixes #420133.
9810
9811 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9812
9813         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9814         (gst_base_sink_change_state):
9815         * libs/gst/base/gstbasesink.h:
9816         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9817         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9818         (gst_base_src_deactivate):
9819         * libs/gst/base/gstbasesrc.h:
9820         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9821         for sub-classes to correctly clear any state they set trying to
9822         unlock, such as clearing out unlock commands from a command fd.
9823         API: basesrc::unlock_stop
9824         API: basesink::unlock_stop
9825
9826         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9827         (gst_fd_sink_render), (gst_fd_sink_unlock),
9828         (gst_fd_sink_unlock_stop):
9829         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9830         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9831         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9832
9833         Implement unlock_stop in fdsrc and fdsink.
9834         Implement seeking in fdsrc when a seekable fd is passed, as in
9835         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9836
9837 2007-03-19  Wim Taymans  <wim@fluendo.com>
9838
9839         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9840
9841         * gst/gstelement.c: (gst_element_class_init):
9842         Fix pad-added and pad-removed signal signatures so that the pad type is
9843         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9844
9845 2007-03-19  Wim Taymans  <wim@fluendo.com>
9846
9847         * docs/gst/gstreamer-sections.txt:
9848         Add new element field and method.
9849
9850         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9851         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9852         (gst_bin_recalc_state), (gst_bin_get_state_func),
9853         (gst_bin_element_set_state), (gst_bin_change_state_func),
9854         (gst_bin_continue_func), (bin_bus_handler),
9855         (bin_push_state_continue), (bin_handle_async_start),
9856         (bin_handle_async_done), (gst_bin_handle_message_func):
9857         Make async state changes a bit smarter by using new ASYNC_START and
9858         ASYNC_DONE messages. This reduces the number of times we run the state
9859         recalculation thread.
9860         Don't change state of element with a pending ASYNC_START message.
9861         Deprecate STATE_DIRTY messages.
9862         
9863         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9864         (gst_element_get_state_func), (gst_element_continue_state),
9865         (gst_element_lost_state), (gst_element_set_state_func),
9866         (gst_element_change_state):
9867         * gst/gstelement.h:
9868         Keep the state that was last set by the app in a new element field.
9869         Don't allow state changes when handling an element event.
9870         Post ASYNC_START and ASYNC_DONE messages.
9871         Change lost_state so that we go to PAUSED and wait for the parent to set
9872         us to PLAYING again (so latency calculation can be performed)
9873         Export gst_element_change_state() method so that subclasses can use it.
9874         API: gst_element_change_state()
9875         API: GST_STATE_TARGET
9876
9877         * gst/gstpipeline.c: (gst_pipeline_class_init),
9878         (reset_stream_time), (gst_pipeline_change_state),
9879         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9880         Using the new ASYNC_START message we can reset the base_time when
9881         needed. This can then be used to implement base_time redistribution in
9882         flushing seeks so that we can remove the explicit seek handling.
9883         Perform latency query and configuration when going to PLAYING.
9884
9885         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9886         (gst_base_sink_query), (gst_base_sink_change_state):
9887         Post new ASYNC_START/ASYNC_DONE messages.
9888
9889         * tests/check/generic/sinks.c: (GST_START_TEST):
9890         Fix test because the bin will not set the async element to PLAYING right
9891         away.
9892
9893         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9894         Make the message check a little stronger.
9895         Handle ASYNC messages.
9896
9897         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9898         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9899         Expect ASYNC_DONE messages.
9900
9901 2007-03-19  Wim Taymans  <wim@fluendo.com>
9902
9903         * docs/gst/gstreamer-sections.txt:
9904         * gst/gstmessage.c: (gst_message_new_async_start),
9905         (gst_message_new_async_done), (gst_message_parse_info),
9906         (gst_message_parse_async_start):
9907         * gst/gstmessage.h:
9908         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9909         support.
9910
9911 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9912
9913         * tools/gst-inspect.c:
9914         (print_plugin_automatic_install_info_codecs):
9915           Now that we don't check for the 'Codec' keyword any longer in the
9916           klass, we shouldn't spew a warning if the klass isn't a decoder or
9917           encoder (since it might be a Source/Network, for example).
9918
9919 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9920
9921         * tools/gst-inspect.c:
9922         (print_plugin_automatic_install_info_codecs):
9923           Don't require decoder/demuxer/depayloader elements or
9924           encoder/muxer/paylader elements to have 'Codec' as part of their
9925           factory class string when introspecting a plugin's capabilities.
9926           draft-klass.txt mentions that it might be removed in future, and
9927           flump3dec doesn't have it as part of its class string, so chances
9928           are others might also not have it.
9929
9930 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9931
9932         * po/af.po:
9933         * po/az.po:
9934         * po/bg.po:
9935         * po/ca.po:
9936         * po/cs.po:
9937         * po/de.po:
9938         * po/en_GB.po:
9939         * po/fr.po:
9940         * po/it.po:
9941         * po/nb.po:
9942         * po/nl.po:
9943         * po/ru.po:
9944         * po/sq.po:
9945         * po/sr.po:
9946         * po/sv.po:
9947         * po/tr.po:
9948         * po/uk.po:
9949         * po/vi.po:
9950         * po/zh_CN.po:
9951         * po/zh_TW.po:
9952           Update translations from translation project
9953
9954 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9955
9956         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9957         (gst_child_proxy_set_property):
9958           Invert precondition check to be alike the ones in the mimiced gobject
9959           api.
9960
9961 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9962
9963         * docs/design/draft-tagreading.txt:
9964         * docs/random/ensonic/audiobaseclasses.txt:
9965           Do some Architect work.
9966
9967         * gst/gstobject.c: (gst_object_set_name):
9968           Add a WARNING.
9969
9970         * gst/gstpad.c:
9971           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9972
9973 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9974
9975         * gst/gstsystemclock.c: (gst_system_clock_init),
9976         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9977         Defer starting the async system clock thread until the first async
9978         wait is scheduled. Fixes #414986.
9979
9980 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9981
9982         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9983         (gst_single_queue_free):
9984           Fix small leak (free GstSingleQueue structure too, not only contents).
9985
9986 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9987
9988         * gst/gstbin.c:(gst_bin_add):
9989         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9990         * win32/common/libgstbase.def:
9991         * win32/common/libgstreamer.def:
9992         Add new exported functions.
9993
9994 2007-03-09  Wim Taymans  <wim@fluendo.com>
9995
9996         * docs/plugins/gstreamer-plugins-sections.txt:
9997         Fix GstTee docs.
9998
9999 2007-03-09  Wim Taymans  <wim@fluendo.com>
10000
10001         * docs/gst/gstreamer-sections.txt:
10002         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
10003         * gst/gstbuffer.h:
10004         Add metadata copy functions. Fixes #393099.
10005         API: gst_buffer_copy_metadata()
10006
10007         * gst/gstutils.c: (gst_buffer_stamp):
10008         * libs/gst/base/gstbasetransform.c:
10009         (gst_base_transform_prepare_output_buffer):
10010         Use new metadata copy functions.
10011
10012 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10013
10014         * plugins/elements/gstidentity.c: (gst_identity_class_init),
10015         (gst_identity_init), (gst_identity_check_perfect),
10016         (gst_identity_check_imperfect_timestamp),
10017         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
10018         (gst_identity_set_property), (gst_identity_get_property):
10019         * plugins/elements/gstidentity.h:
10020         Separate out check-imperfect-timestamp and check-imperfect-offset.
10021         Put back check-perfect as it was to keep compatibility.
10022
10023 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
10024
10025         * gst/gstelement.c: (gst_element_dispose):
10026         There's no need to warn if VOID_PENDING is not NONE here, as
10027         long as the state is NULL it's ok, and that's checked immediately
10028         above.
10029
10030 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10031
10032         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10033         Fix check for perfect stream to ignore buffers with -1 
10034         offsets/offset ends when checking data contiguity.
10035
10036 2007-03-08  Wim Taymans  <wim@fluendo.com>
10037
10038         * tools/gst-launch.c: (event_loop):
10039         Print INFO messages.
10040
10041 2007-03-08  Wim Taymans  <wim@fluendo.com>
10042
10043         * libs/gst/base/gstbasetransform.c:
10044         (gst_base_transform_sink_eventfunc),
10045         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10046         (gst_base_transform_activate):
10047         * libs/gst/base/gstbasetransform.h:
10048         Add support for dropping buffers with custom GstFlowReturn.
10049         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
10050         buffers or dropped buffers.
10051
10052         * docs/libs/gstreamer-libs-sections.txt:
10053         docs for new custom return code.
10054
10055         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10056         Use drop support in base class to implement drop-probability.
10057
10058 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
10059
10060         * gst/gst.c: (load_plugin_func):
10061         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
10062         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10063         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
10064           Remove newlines at end of debug log strings.
10065
10066 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10067
10068         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10069         Only post bus message at max, once per buffer received.
10070
10071 2007-03-07  Wim Taymans  <wim@fluendo.com>
10072
10073         * docs/design/Makefile.am:
10074         * docs/design/part-synchronisation.txt:
10075         Add doc about synchronisation
10076
10077         * docs/design/draft-latency.txt:
10078         * docs/design/part-TODO.txt:
10079         * docs/design/part-clocks.txt:
10080         * docs/design/part-events.txt:
10081         * docs/design/part-gstbus.txt:
10082         * docs/design/part-gstpipeline.txt:
10083         * docs/design/part-live-source.txt:
10084         * docs/design/part-messages.txt:
10085         * docs/design/part-overview.txt:
10086         * docs/design/part-streams.txt:
10087         * docs/design/part-trickmodes.txt:
10088         Documentation updates.
10089
10090 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
10091
10092         * gstreamer.doap:
10093         Update the doap file.
10094
10095 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10096
10097         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10098         Rename non-perfect to imperfect for Mike and for the sanctity of the
10099         language.
10100         Also make sure bus message gets emitted for data-incontiguities.
10101
10102 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10103
10104         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
10105         (gst_identity_start):
10106         * plugins/elements/gstidentity.h:
10107         Emit bus message if check-perfect is true and we encounter a
10108         non-perfect stream between 2 consecutive buffers.
10109         Fixes #415394.
10110
10111 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
10112
10113         * configure.ac:
10114         Back to CVS
10115
10116 === release 0.10.12 ===
10117
10118 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
10119
10120         * configure.ac:
10121           releasing 0.10.12, "Inevitable Demise"
10122
10123 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
10124
10125         * configure.ac:
10126          Version 0.10.11.2 (0.10.12 pre-release)
10127          Bump libtool versioning.
10128
10129 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
10130
10131         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10132           Log flow-names and not numbers.
10133
10134 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10135
10136         * configure.ac:
10137           Convert to new AG_GST style.
10138
10139 2007-02-28  Wim Taymans  <wim@fluendo.com>
10140
10141         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
10142         Don't unref query twice.
10143
10144 2007-02-28  Wim Taymans  <wim@fluendo.com>
10145
10146         * gst/gstvalue.c: (gst_value_transform_object_string),
10147         (_gst_value_initialize):
10148         Implement GstObject -> string transform so we print object names
10149         when serializing GValues containing GstObjects.
10150
10151 2007-02-28  Wim Taymans  <wim@fluendo.com>
10152
10153         * docs/gst/gstreamer-sections.txt:
10154         Add new stuff to docs.
10155
10156 2007-02-28  Wim Taymans  <wim@fluendo.com>
10157
10158         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
10159         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
10160         (gst_base_sink_change_state):
10161         Improve latency query code.
10162         Don't leak latency events.
10163
10164         * tests/check/gst/gstbin.c: (GST_START_TEST):
10165         Improve debugging.
10166
10167 2007-02-28  Wim Taymans  <wim@fluendo.com>
10168
10169         * gst/gstelement.c: (gst_element_message_full),
10170         (gst_element_get_state_func):
10171         * gst/gstelement.h:
10172         Improve docs a little. Added Since: for new macro.
10173
10174         * gst/gstobject.c: (gst_object_sink):
10175         * gst/gstpipeline.c: (gst_pipeline_change_state),
10176         (gst_pipeline_set_new_stream_time):
10177         * gst/gstpipeline.h:
10178         Improve debugging and docs.
10179
10180         * gst/gstutils.c: (gst_element_state_change_return_get_name):
10181         Improve debugging.
10182
10183 2007-02-28  Wim Taymans  <wim@fluendo.com>
10184
10185         * gst/gstelement.c: (gst_element_message_full),
10186         (gst_element_set_locked_state), (gst_element_get_state_func),
10187         (gst_element_change_state):
10188         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10189         Documentation updates.
10190         Small code cleanups.
10191
10192         * gst/gstmessage.c: (gst_message_new_info),
10193         (gst_message_parse_info):
10194         * gst/gstmessage.h:
10195         API: gst_message_new_info()
10196         API: gst_message_parse_info()
10197         Add INFO message create and parse code.
10198
10199 2007-02-28  Wim Taymans  <wim@fluendo.com>
10200
10201         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10202         (bin_query_latency_done):
10203         Also report the live parameter of a latency query.
10204
10205 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10206
10207         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10208           Copy the current generic/states example from -base and adapt so
10209           we can use the exact same code everywhere.
10210           Check a STATES_IGNORE_ELEMENTS env var which can be used
10211           to ignore certain element factories for this test, which is
10212           what is being done in -base
10213         * tests/check/Makefile.am:
10214           Mention this environment variable.
10215
10216 2007-02-27  Wim Taymans  <wim@fluendo.com>
10217
10218         * docs/gst/gstreamer-sections.txt:
10219         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10220         (gst_bus_timed_pop), (gst_bus_pop):
10221         * gst/gstbus.h:
10222         API: gst_bus_timed_pop()
10223         Implement gst_bus_timed_pop() to do a blocking timed wait for a
10224         message to arrive on the bus.
10225
10226         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10227         (gst_bus_suite):
10228         Two unit tests for new _timed_pop() function.
10229
10230 2007-02-23  Wim Taymans  <wim@fluendo.com>
10231
10232         * gst/gstpipeline.c: (gst_pipeline_change_state),
10233         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10234         Don't ref a NULL clock in _provide_clock_func().
10235         Don't allow an INVALID delay.
10236         Don't try to calculate base_time with an invalid start_time.
10237         Also distribute and notify a NULL clock when it was selected.
10238
10239         * tools/gst-launch.c: (event_loop):
10240         Don't crash when a NULL clock was selected in the pipeline.
10241
10242 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10243
10244         * docs/design/Makefile.am:
10245         * docs/design/draft-missing-plugins.txt:
10246         * docs/random/draft-missing-plugins.txt:
10247           Some small updates: update plugin system identifier prefix
10248           ('gstreamer.net' to 'gstreamer'), mention our new install
10249           API in libgstbaseutils rather than libgimme-codec, add
10250           reference to the online docs.
10251
10252 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10253
10254         * win32/common/config.h:
10255           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
10256           use moap cl ci to only check in what is mentioned in the ChangeLog.
10257
10258 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10259
10260         * docs/gst/gstreamer-sections.txt:
10261         * gst/gstelement.h:
10262           Fix up documentation to link to the correct GstGError section.
10263           Add GST_ELEMENT_INFO macro since someone else added a Info message.
10264
10265 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10266
10267         * tools/gst-launch.c: (event_loop):
10268           Make sure that we actually show the important message part of a
10269           warning message.
10270           No need to check if the gerror is not NULL to free; first of all
10271           g_free accepts NULL; and second the default error handler would
10272           segfault if gerror was NULL.
10273
10274 2007-02-21  Wim Taymans  <wim@fluendo.com>
10275
10276         * docs/gst/gstreamer-sections.txt:
10277         Removed docs as well.
10278
10279 2007-02-21  Wim Taymans  <wim@fluendo.com>
10280
10281         * gst/gstmessage.c: (gst_message_parse_duration):
10282         * gst/gstmessage.h:
10283         Remove new messages for release.
10284
10285 2007-02-20  Wim Taymans  <wim@fluendo.com>
10286
10287         * docs/design/part-gstghostpad.txt:
10288         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10289         (gst_ghost_pad_new_full):
10290         Make the ghostpad a parent of the internal pad again for better backward
10291         compatibility. Don't write code that relies on this however.
10292
10293         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10294         (gst_pad_link_check_hierarchy):
10295         Require that parents should be GstElements in the hierarchy check.
10296
10297 2007-02-20  Wim Taymans  <wim@fluendo.com>
10298
10299         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10300         (gst_bin_change_state_func), (bin_query_min_max_init),
10301         (bin_query_latency_fold), (bin_query_latency_done),
10302         (gst_bin_query):
10303         Improve debug info.
10304         Implement latency query.
10305
10306 2007-02-20  Wim Taymans  <wim@fluendo.com>
10307
10308         * docs/design/part-gstghostpad.txt:
10309         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10310         (gst_ghost_pad_internal_do_activate_push),
10311         (gst_ghost_pad_internal_do_activate_pull),
10312         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10313         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10314         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10315         Do not set the internal pad as a parent anymore so we can avoid
10316         hierarchy linking errors when the ghostpad has no parent yet. This also
10317         fixes failed activation because of unlinked internal pads, which in
10318         turn fixes the impossible case where you have to activate a pad before
10319         you can add it to a running element.
10320         Also fix the docs.
10321
10322         * gst/gstpad.c: (pre_activate), (post_activate),
10323         (gst_pad_set_active), (gst_pad_activate_pull),
10324         (gst_pad_activate_push), (gst_pad_check_pull_range):
10325         Add some more debug info.
10326         Mark activation mode in pre_activate so that we don't try to activate in
10327         endless loops. Fixes #385084.
10328
10329 2007-02-19  Wim Taymans  <wim@fluendo.com>
10330
10331         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10332         (gst_base_transform_check_get_range):
10333         Implement a checkgetrange function instead of relying on the default
10334         core behaviour that assumes we can operate in pull mode if we have a
10335         getrange function. First step at fixing #385084.
10336
10337 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
10338
10339         * gst/gstchildproxy.h:
10340         * libs/gst/base/gstbasesink.h:
10341         * libs/gst/base/gstbasesrc.h:
10342         * libs/gst/base/gstbasetransform.h:
10343         More docs coverage and some ChangeLog surgery (add missing names)
10344
10345 2007-02-15  Wim Taymans  <wim@fluendo.com>
10346
10347         * docs/design/part-TODO.txt:
10348         * docs/design/part-activation.txt:
10349         * docs/design/part-block.txt:
10350         * docs/design/part-buffering.txt:
10351         * docs/design/part-clocks.txt:
10352         * docs/design/part-element-source.txt:
10353         * docs/design/part-events.txt:
10354         * docs/design/part-gstbin.txt:
10355         * docs/design/part-gstbus.txt:
10356         * docs/design/part-gstpipeline.txt:
10357         * docs/design/part-live-source.txt:
10358         * docs/design/part-messages.txt:
10359         * docs/design/part-overview.txt:
10360         * docs/design/part-qos.txt:
10361         * docs/design/part-query.txt:
10362         * docs/design/part-states.txt:
10363         * docs/design/part-trickmodes.txt:
10364         Some doc updates. Start renaming from stream_time to running_time where
10365         it was used wrongly.
10366
10367 2007-02-15  Wim Taymans  <wim@fluendo.com>
10368
10369         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10370         Answer LATENCY query.
10371
10372 2007-02-15  Wim Taymans  <wim@fluendo.com>
10373
10374         * tests/check/gst/gstevent.c: (event_probe), (test_event),
10375         (GST_START_TEST):
10376         Improve debugging.
10377
10378 2007-02-15  Wim Taymans  <wim@fluendo.com>
10379
10380         * gst/gstpad.c: (gst_pad_get_internal_links_default),
10381         (gst_pad_dispatcher):
10382         Improve debugging of default pad dispatcher and query functions.
10383
10384 2007-02-15  Wim Taymans  <wim@fluendo.com>
10385
10386         * docs/gst/gstreamer-sections.txt:
10387         Remove old unused method.
10388
10389 2007-02-13  Wim Taymans  <wim@fluendo.com>
10390
10391         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10392         Fix check
10393
10394 2007-02-13  Wim Taymans  <wim@fluendo.com>
10395
10396         * docs/design/part-seeking.txt:
10397         Some small update.
10398
10399         * gst/gstsegment.c: (gst_segment_set_seek):
10400         Revert old bogus change that should make seeking work again.
10401
10402 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10403
10404         * docs/random/ensonic/dynlink.txt:
10405         * docs/random/ensonic/interfaces.txt:
10406         * docs/random/ensonic/receipies.txt:
10407           Possible dynamic reconnection api, plus some type fixes the other two
10408           docs.
10409
10410 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
10411
10412         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10413         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10414         Also check for an absolute path following file:// in the filesrc
10415         element. Remove redundant check and call g_path_is_absolute() on the
10416         unescaped location.
10417
10418 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10419
10420         * docs/design/draft-klass.txt:
10421           Add existing category analysis.
10422           
10423         * gst/gstcaps.c:
10424           Fix doc example, framerate is a fraction.
10425
10426 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10427
10428         * configure.ac:
10429         * docs/gst/Makefile.am:
10430         * docs/gst/gstreamer-sections.txt:
10431         * docs/libs/Makefile.am:
10432           Erm, forgot a bunch of --extra-dir.
10433
10434 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10435
10436         * configure.ac:
10437         * docs/gst/Makefile.am:
10438         * docs/libs/Makefile.am:
10439         * docs/plugins/Makefile.am:
10440           Add crossreferences to glib/gobject docs.
10441
10442 2007-02-12  Wim Taymans  <wim@fluendo.com>
10443
10444         * docs/design/draft-latency.txt:
10445         Small update.
10446
10447         * docs/libs/gstreamer-libs-sections.txt:
10448         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10449         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10450         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10451         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10452         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10453         (gst_base_sink_get_position), (gst_base_sink_query),
10454         (gst_base_sink_change_state):
10455         * libs/gst/base/gstbasesink.h:
10456         API: gst_base_sink_query_latency() to let subclasses query the upstream
10457         latency.
10458         API: gst_base_sink_get_latency() to let subclasses query the configured
10459         latency in the sink.
10460         Implement query and set latency.
10461         Update some docs.
10462         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10463         don't continue preroll when we are flushing. Fixes #405284.
10464
10465         * tests/check/pipelines/stress.c: (change_state_timeout),
10466         (quit_timeout), (GST_START_TEST), (stress_suite):
10467         Test for #405284.
10468
10469 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10470
10471         Patch by: René Stadler <mail at renestadler de>
10472
10473         * docs/gst/gstreamer-sections.txt:
10474         * gst/gsttaglist.c: (_gst_tag_initialize):
10475         * gst/gsttaglist.h:
10476           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10477
10478 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10479
10480         * docs/libs/Makefile.am:
10481           Fix path to core docs.
10482
10483         * gst/gstbin.c: (gst_bin_get_by_interface),
10484         (gst_bin_iterate_all_by_interface):
10485           Refix docs by also renaming 'interface' to 'iface' in implementation.
10486
10487         * docs/gst/gstreamer-sections.txt:
10488         * gst/gstcaps.c:
10489         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10490         * gst/gstchildproxy.h:
10491         * gst/gstelementfactory.c:
10492         * gst/gstpadtemplate.h:
10493         * libs/gst/controller/gstcontroller.c:
10494         (gst_controlled_property_new):
10495           Document more.
10496
10497 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10498
10499         * gst/gstbin.h:(gst_bin_get_by_interface),
10500         (gst_bin_iterate_all_by_interface):
10501         Replace interface parameter name by iface as interface is 
10502         a reserved keyword in Visual Studio for C++ projects so it removes
10503         a build error for application developpers using VS.
10504         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10505         Fix a bug on Windows in uri format check. Now the prefix checked
10506         is file:// and next we check if the path after file:// is absolute.
10507         * win32/common/libgstbase.def:
10508         * win32/common/libgstdataprotocol.def:
10509         * win32/common/libgstgstreamer.def:
10510         Add new exported functions.
10511
10512 2007-02-09  Andy Wingo  <wingo@pobox.com>
10513
10514         * tests/check/pipelines/simple-launch-lines.c
10515         (simple_launch_lines_suite, test_tee): Disable tee test until I
10516         have time to fix it :-(
10517
10518         * tests/check/Makefile.am (noinst_HEADERS): 
10519         * tests/check/libs/libsabi.c: 
10520         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10521         * tests/check/gst/gstabi.c: 
10522         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10523
10524         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10525         tests for push and pull tee behavior.
10526
10527         * plugins/elements/gsttee.h: 
10528         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10529         mark as deprecated as well as unimplemented. It was a crack idea.
10530         Add support for tee operating in pull mode, off by default.
10531
10532         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10533         normal-case logs down to LOG, raise errors to WARNING.
10534         (gst_registry_xml_read_cache): Don't log before calling a function
10535         that logs.
10536
10537         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10538         exit (registry finalize).
10539         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10540         DEBUG log when we emit signals that people don't even have the
10541         chance to connect to.
10542         (gst_registry_scan_path_level): Less logging in the normal case.
10543
10544 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10545
10546         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10547
10548         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10549         Correctly generate EOS for non-seekable files. We don't have a total
10550         length for them and would get an unexpected end of file if we only
10551         special-cased for regular files. (Fixes: #404569)
10552
10553 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10554
10555         * tests/check/elements/filesrc.c: (GST_START_TEST),
10556         (filesrc_suite):
10557         Add unit test for the GstURIHandler interface in filesrc. This also
10558         tests the newly added file://localhost/foo/bar support.
10559
10560 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10561
10562         * gst/gstelementfactory.h:
10563           The klass string is not a hierarchy. Add reference to the design doc
10564           for more information and common types.
10565
10566 2007-02-02  Wim Taymans  <wim@fluendo.com>
10567
10568         * gst/gstquery.c: (gst_query_new_latency):
10569         Remove old structure field.
10570
10571 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10572
10573         * tools/gst-launch.1.in:
10574           Give example for network streaming (#351998)
10575
10576 2007-02-02  Wim Taymans  <wim@fluendo.com>
10577
10578         * docs/gst/gstreamer-sections.txt:
10579         Add docs for new methods.
10580
10581         * gst/gstevent.c: (gst_event_new_latency),
10582         (gst_event_parse_latency):
10583         * gst/gstevent.h:
10584         Add new LATENCY event to configure latency in a pipeline.
10585         API: gst_event_new_latency
10586         API: gst_event_parse_latency
10587
10588         * gst/gstmessage.c: (gst_message_new_buffering),
10589         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10590         (gst_message_new_latency), (gst_message_parse_buffering),
10591         (gst_message_parse_lost_preroll):
10592         * gst/gstmessage.h:
10593         Added messages used in draft-latency.
10594         API: gst_message_new_lost_preroll
10595         API: gst_message_parse_lost_preroll
10596         API: gst_message_new_prerolled
10597         API: gst_message_new_latency
10598
10599         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10600         (gst_query_parse_latency):
10601         * gst/gstquery.h:
10602         Implemented new latency query as in design doc.
10603         API: gst_query_new_latency
10604         API: gst_query_set_latency
10605         API: gst_query_parse_latency
10606
10607 2007-02-02  Wim Taymans  <wim@fluendo.com>
10608
10609         * docs/design/draft-latency.txt:
10610         Slight redesign to allow for dynamic latency adjustments.
10611
10612         * docs/design/part-negotiation.txt:
10613         Fix some typos.
10614
10615 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10616
10617         reviewed by: Wim Taymans <wim@fluendo.com>
10618
10619         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10620         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10621         Allow file://localhost/foo/bar URLs and correctly fail for every other
10622         hostname that one sets. This was gnomevfssrc is linked for those if
10623         installed as it can handle it (#403172)
10624
10625 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10626
10627         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10628
10629         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10630         (unref_data), (gst_collect_pads_add_pad_full):
10631         * libs/gst/base/gstcollectpads.h:
10632         Don't put the previously added destroy notify in the GstCollectData
10633         struct as all it's padding is already used and we don't want to break
10634         ABI. Instead put in the pad's GObject data for now. This should be
10635         cleaned up for 0.11 (#402393).
10636
10637 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10638
10639         reviewed by: Wim Taymans <wim@fluendo.com>
10640
10641         * docs/libs/gstreamer-libs-sections.txt:
10642         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10643         (unref_data), (gst_collect_pads_add_pad),
10644         (gst_collect_pads_add_pad_full):
10645         * libs/gst/base/gstcollectpads.h:
10646         API: Add function to specify a destroy notification for custom
10647         GstCollectData when adding new pads in GstCollectPads (#402393).
10648
10649 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10650
10651         * po/sv.po:
10652           Update Swedish translation (#378255).
10653
10654 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10655
10656         * docs/design/draft-klass.txt:
10657           Fix the previous change, this is a list of categories and not a hierarchy.
10658
10659 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10660
10661         * docs/design/draft-klass.txt:
10662           Add info about how to get a list of used classes.
10663
10664 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10665
10666         * plugins/elements/gsttypefindelement.c:
10667         (gst_type_find_element_chain_do_typefinding),
10668         (gst_type_find_element_change_state):
10669           Don't leak found caps in chain function (no idea why that never
10670           showed up as a leak anywhere).
10671
10672 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10673
10674         * gst/gstplugin.h:
10675           Fix and expand GstPluginDesc API docs.
10676
10677 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10678
10679         * gst/gstcaps.c:
10680         * gst/gstelementfactory.c:
10681         * gst/gstpadtemplate.h:
10682           api doc fixes
10683
10684         * libs/gst/controller/gstcontroller.c:
10685         (gst_controlled_property_new):
10686         * tests/examples/controller/audio-example.c:
10687           comment fixes
10688
10689 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10690
10691         * configure.ac:
10692           comment about refining the xml deps
10693
10694         * docs/manuals.mak:
10695           comments about moving away from jade for docs
10696         
10697         * gst/gst.c:
10698           recommit the ifdefs to use the binary registry
10699         
10700         * gst/gstbin.c: (gst_bin_change_state_func):
10701           this break is obsolete
10702
10703         * gst/gstelementfactory.h:
10704           better GST_ELEMENT_DETAILS docs, add comment about translation
10705
10706         * gst/gstinfo.h:
10707           remove eol slash
10708
10709         * gst/gstobject.c: (gst_signal_object_get_type):
10710           add G_UNLIKELY as usual
10711
10712         * gst/gstpad.c: (gst_pad_event_default):
10713           add fall trhu comment
10714
10715         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10716         (gst_registry_binary_initialize_magic),
10717         (gst_registry_binary_save_string),
10718         (gst_registry_binary_save_pad_template),
10719         (gst_registry_binary_save_feature),
10720         (gst_registry_binary_save_plugin),
10721         (gst_registry_binary_write_cache),
10722         (gst_registry_binary_check_magic),
10723         (gst_registry_binary_load_pad_template),
10724         (gst_registry_binary_load_feature),
10725         (gst_registry_binary_load_plugin),
10726         (gst_registry_binary_read_cache):
10727           comment typo and formatting
10728
10729         * gst/gstutils.c: (gst_element_state_get_name),
10730         (gst_element_state_change_return_get_name):
10731           remove obsolete breaks
10732
10733         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10734           add FIXME 0.11 and remove cpp comment
10735
10736 2007-01-29  Edward Hervey  <edward@fluendo.com>
10737
10738         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10739         Fix print statement in an even more portable way.
10740
10741 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10742
10743         * docs/gst/gstreamer-sections.txt:
10744         * gst/gstutils.h:
10745           API: add GST_ROUND_DOWN_* macros (#401781).
10746
10747 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10748
10749         * docs/gst/gstreamer.types.in:
10750         * gst/gstregistry.c: (gst_registry_class_init):
10751           Document registry signals and make gtk-doc pick them up (#401381).
10752
10753 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10754
10755         * docs/pwg/building-testapp.xml:
10756           Add some audioconverts and audioresample to the pipeline, and some
10757           more comments and error handling.
10758
10759 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10760
10761         * docs/manual/manual.xml:
10762         * docs/pwg/pwg.xml:
10763           Fix typo (#400987).
10764
10765 2007-01-26  Wim Taymans  <wim@fluendo.com>
10766
10767         * gst/gstcaps.c: (gst_static_caps_get):
10768         Init caps flags too.
10769
10770 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10771
10772         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10773
10774         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10775         If not using mmap'ed files try to seek to the end instead of the
10776         start to determine whether we can seek at all. This fixes the case
10777         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10778         seeks for everything afterwards fail. Fixes #400656
10779
10780 2007-01-25  Wim Taymans  <wim@fluendo.com>
10781
10782         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10783         Add some refcount debugging.
10784         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10785         in multiple streaming threads.
10786
10787 2007-01-25  Wim Taymans  <wim@fluendo.com>
10788
10789         Patch by: David Schleef <ds at schleef dot org>
10790
10791         * docs/libs/gstreamer-libs-sections.txt:
10792         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10793         * libs/gst/base/gstadapter.h:
10794         API: gst_adapter_copy() that can reduce the amount of memcpy when
10795         getting data from the adapter. Fixes #388201.
10796
10797 2007-01-25  Edward Hervey  <edward@fluendo.com>
10798
10799         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10800         In print statements, "%x" is for guint. Fixes build on macosx.
10801
10802 2007-01-24  Edward Hervey  <edward@fluendo.com>
10803
10804         * plugins/elements/gstmultiqueue.c:
10805         (gst_multi_queue_loop):
10806         Small fix.
10807         (single_queue_overrun_cb), (single_queue_underrun_cb),
10808         (single_queue_check_full), (gst_single_queue_new):
10809         Implement single queue growth system.
10810         This uses the extra-size properties, and will grow single queues by
10811         that much if one goes full whereas there are others empty. This is
10812         called extra-mode in the code.
10813         When a single queue's levels go back below the initial max-size
10814         limits, it is no longer in extra-mode. This is to ensure we don't
10815         consume too much memory.
10816         Fixes #399875
10817
10818 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10819
10820         * gst/gst.c: (gst_init_get_option_group):
10821           Make warning about late g_thread_init() calls a bit more explicit,
10822           so that it's more obvious to application developers what they need
10823           to do if a user files a bug against their application.
10824
10825 2007-01-22  Edward Hervey  <edward@fluendo.com>
10826
10827         * plugins/elements/gstmultiqueue.c:
10828         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10829         Remove previous hack of unsetting the flushing flag for the source pad
10830         instead of activating it. Instead, fix the source pad activate function
10831         so that it no longer depends on having a parent set or not.
10832
10833 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10834
10835         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10836
10837         * docs/manual/basics-bus.xml:
10838           Fix example code, gst_element_unref() doesn't exist any longer.
10839
10840 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10841
10842         Patch by: Mark Nauwelaerts <manauw at skynet be>
10843
10844         * gst/gstpad.c:
10845           Fix two docs typoes (#399094).
10846
10847 2007-01-19  Edward Hervey  <edward@fluendo.com>
10848
10849         * docs/faq/gst-uninstalled:
10850         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10851         depending on libgstbaseutils can work in uninstalled environment.
10852
10853 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10854
10855         * gst/gsttaglist.h:
10856         * gst/gsttagsetter.c:
10857         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10858         statement for new tag.
10859
10860 2007-01-17  Edward Hervey  <edward@fluendo.com>
10861
10862         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10863         When dynamically creating single queues, activate sinkpad before adding
10864         it.
10865         We should be doing the same thing for the source pad, but we can't
10866         since it would call a method which needs the parent to be set in order
10867         to work propertly. Instead of activating the source pad, we just unset
10868         the flushing flag, which is the minimal requirement for adding a pad
10869         to an element in a state greater than READY.
10870
10871 2007-01-17  Edward Hervey  <edward@fluendo.com>
10872
10873         * docs/faq/gst-uninstalled:
10874         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10875         Mac OS X.
10876
10877 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10878
10879         * tests/check/gst/gstabi.c:
10880         * tests/check/gst/struct_hppa.h:
10881         * tests/check/libs/libsabi.c:
10882         * tests/check/libs/struct_hppa.h:
10883           Add ABI structs for HPPA (see #393796).
10884
10885 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10886
10887         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10888           Actually write ABI structs to the file specified in the GST_ABI
10889           environment variable, as the message we print claims we would.
10890
10891 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10892
10893         * tests/check/gst/gsttask.c:
10894           Fix header comment.
10895
10896 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10897
10898         * gst/gsttaglist.c: (_gst_tag_initialize):
10899           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10900           previous two entries.
10901
10902 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10903
10904         * docs/gst/gstreamer-sections.txt:
10905         * gst/gsttaglist.c: (_gst_tag_initialize):
10906         * gst/gsttaglist.h:
10907           Add tag support for beat-per-minute.
10908
10909 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10910
10911         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10912         (gst_registry_binary_initialize_magic),
10913         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10914         (gst_registry_binary_save_pad_template),
10915         (gst_registry_binary_save_feature),
10916         (gst_registry_binary_save_plugin),
10917         (gst_registry_binary_write_cache),
10918         (gst_registry_binary_check_magic),
10919         (gst_registry_binary_load_pad_template),
10920         (gst_registry_binary_load_feature),
10921         (gst_registry_binary_load_plugin),
10922         (gst_registry_binary_read_cache):
10923         * gst/gstregistrybinary.h:
10924           Use glib types, cleanup comments, impement interfaces and uri-types.
10925
10926 2007-01-13  Andy Wingo  <wingo@pobox.com>
10927
10928         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10929         getrange() to return buffers with other caps, while we fix
10930         demuxers and typefind, or otherwise change part-negotiation.txt.
10931
10932 2007-01-12  Andy Wingo  <wingo@pobox.com>
10933
10934         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10935         Factor start/stop into this private function instead of partially
10936         in activate functions and partially in the change_state function.
10937         Fixes setup before the element has changed from READY->PAUSED, as
10938         is the case in pull-mode pipelines.
10939         (gst_base_transform_sink_activate_push)
10940         (gst_base_transform_src_activate_pull): Refactor to use
10941         gst_base_transform_activate().
10942         (gst_base_transform_change_state): Removed, not needed any more.
10943
10944         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10945         Truncate before fixating.
10946         
10947         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10948         Don't set_caps() if the result of fixating is ANY, as it's not
10949         supported, and not necessary in the case of a link with no
10950         template caps on either side. Fixes tests/check/libs/basesrc in
10951         some pull-mode tests.
10952
10953         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10954         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10955         (gst_base_transform_src_activate_pull): 
10956         Track the activation mode.
10957         (gst_base_transform_setcaps): In pull mode, when activating the
10958         src pad, after activating the sink pad, activate the sink pad's
10959         peer, as discussed in part-negotiation.txt.
10960
10961         * libs/gst/base/gstbasesrc.h: 
10962         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10963         vmethod, as in basesink.
10964
10965         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10966
10967         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10968         mode, first proxy the setcaps to the peer pad.
10969         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10970         new fixate vmethod.
10971         (gst_base_sink_default_activate_pull): Rename from
10972         gst_base_sink_activate_pull.
10973         (gst_base_sink_negotiate_pull): New function, performs negotiation
10974         in pull mode before calling ::activate_pull().
10975         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10976         vmethod instead of the default implementation. I have no idea how
10977         this worked before. Negotiate before calling activate_pull.
10978
10979         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10980         sink pads in pull mode. In addition to being correct, fixes
10981         filesrc ! decodebin ! identity ! fakesink.
10982         (gst_pad_get_range, gst_pad_pull_range): Don't call
10983         gst_pad_set_caps() if the caps changes; instead error out with
10984         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10985
10986 2007-01-12  Andy Wingo  <wingo@pobox.com>
10987
10988         * docs/design/part-negotiation.txt: Update with more policy.
10989
10990 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10991
10992         * libs/gst/check/gstbufferstraw.h:
10993         * libs/gst/check/gstcheck.h:
10994           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10995           belongs.
10996
10997 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10998
10999         * tests/check/Makefile.am:
11000         * tests/check/gst/.cvsignore:
11001         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
11002         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
11003         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
11004         (GST_START_TEST), (gst_tag_setter_suite):
11005           Add minimal unit test for beforementioned GstTagSetter bug.
11006
11007 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
11008
11009         Patch by: René Stadler <mail at renestadler dot de>
11010
11011         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
11012           gst_tag_list_merge() returns a new list, so it's not the best idea
11013           to ingore its return value. Effectively meant that tags could only
11014           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
11015           Also add function guard to require a non-NULL taglist as input (has
11016           always been so due to gst_tag_list_copy(), just making it explicit).
11017
11018 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
11019
11020         * docs/random/draft-missing-plugins.txt:
11021           Some additions: mention new API that is supposed to be used at the
11022           various stages; short blob about new gst-inspect introspection
11023           option; mention potential future problem with plugins that have
11024           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
11025
11026 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
11027
11028         * tools/gst-inspect.c:
11029         (print_plugin_automatic_install_info_codecs),
11030         (print_plugin_automatic_install_info_protocols),
11031         (print_plugin_automatic_install_info), (main):
11032         Add --print-plugin-auto-install-info option to gst-inspect, so we can
11033         introspect plugin files and get machine-parsable output that corresponds
11034         to the last bit of the missing-plugin installer string (small gotcha:
11035         doesn't take into account ranks).
11036
11037 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
11038
11039         * configure.ac:
11040         * docs/gst/gstreamer-sections.txt:
11041         * gst/Makefile.am:
11042         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
11043         (gst_registry_lookup_locked):
11044         * gst/gstregistry.h:
11045         * gst/gstregistrybinary.c: (gst_registry_binary_write),
11046         (gst_registry_binary_initialize_magic),
11047         (gst_registry_binary_save_string),
11048         (gst_registry_binary_save_pad_template),
11049         (gst_registry_binary_save_feature),
11050         (gst_registry_binary_save_plugin),
11051         (gst_registry_binary_write_cache),
11052         (gst_registry_binary_check_magic),
11053         (gst_registry_binary_load_pad_template),
11054         (gst_registry_binary_load_feature),
11055         (gst_registry_binary_load_plugin),
11056         (gst_registry_binary_read_cache):
11057         * gst/gstregistrybinary.h:
11058         * gst/gstregistryxml.c: (load_feature),
11059         (gst_registry_xml_read_cache):
11060           commit binary registry (disabled by default, see #359653)
11061
11062 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
11063
11064         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
11065           Fix 'make check' too.
11066
11067 2007-01-10  Andy Wingo  <wingo@pobox.com>
11068
11069         * docs/design/part-negotiation.txt: Fix a typo, add a couple
11070         notes.
11071         
11072         * docs/design/part-negotiation.txt: Update with, um, one way that
11073         pull-mode negotiation might work?
11074
11075         * gst/gstpad.h: 
11076         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
11077         that the pad must be a src pad; makes sense to call it the other
11078         way in pull mode, and the logic is symmetric anyway.
11079
11080 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
11081
11082         * plugins/elements/gstfilesink.c:
11083           Include <stdio.h> for fseeko().
11084
11085 2007-01-10  Wim Taymans  <wim@fluendo.com>
11086
11087         * gst/gstevent.c:
11088         * gst/gstevent.h:
11089         Reserve LATENCY event.
11090
11091 2007-01-09  Wim Taymans  <wim@fluendo.com>
11092
11093         * docs/design/draft-latency.txt:
11094         Updates.
11095
11096 2007-01-09  Wim Taymans  <wim@fluendo.com>
11097
11098         * docs/design/draft-latency.txt:
11099         Updates.
11100
11101         * gst/gstelement.h:
11102         * gst/gststructure.c:
11103         * gst/gsttrace.c:
11104         Small typo fixes.
11105
11106 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
11107
11108         * tests/check/.cvsignore:
11109           Ignore test-registry.xml as well.
11110
11111 2007-01-09  Wim Taymans  <wim@fluendo.com>
11112
11113         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
11114         unref data at the end when we are done with the pad.
11115
11116 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
11117
11118         * docs/gst/gstreamer-sections.txt:
11119         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
11120         (init_post), (gst_deinit), (gst_update_registry):
11121         * gst/gst.h:
11122           API: add gst_update_registry() (#391296).
11123
11124         * tests/check/Makefile.am:
11125         * tests/check/gst/gstregistry.c:
11126         * tests/check/gst/.cvsignore:
11127           Simple unit test for the above.
11128
11129 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
11130
11131         * gst/gstregistry.c: (gst_registry_scan_path_level):
11132           Plugin extension on HP-UX is .sl, add that to the list of approved
11133           plugin extensions (see #393796).
11134
11135         * tests/check/gst/gstpad.c: (GST_START_TEST):
11136           ulong => gulong. Fixes compilation with HP-UX compiler.
11137
11138         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11139           Fix compilation if valgrind headers are not available.
11140
11141 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
11142
11143         * win32/common/libgstreamer.def: 
11144           Add new exported function.
11145         * win32/vs6/libgstbase.dsp: 
11146           Add gstdataqueue.c to the build.
11147         * win32/vs6/libgstcoreelements.dsp:
11148           Add gstmultiqueue.c to the build.
11149         
11150 2007-01-06  Andy Wingo  <wingo@pobox.com>
11151
11152         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
11153         activate_pull(), providing for a way to specialize the process of
11154         spawning a thread to pull on the sink pad. There is a default
11155         implementation.
11156
11157         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
11158         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
11159         (gst_base_sink_init): Renamed pad activation functions (inserting
11160         "_pad" in their names). Refactor to use the new activate_pull
11161         vmethod, as appropriate.
11162         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
11163         default activate_pull function to start a task pulling from the
11164         sink pad, as before.
11165
11166         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
11167         on the pads if necessary, as in push()/chain(). Update docs.
11168         Shouldn't affect existing pull() usage as it is currently only
11169         being used on buffers without caps.
11170
11171 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11172
11173         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11174         (init_pre):
11175           Call g_thread_init() first thing in gst_init() / gst_check_init().
11176           When initialisation is done via gst_init_get_option_group() and
11177           GOption parsing, issue a warning if the GLib thread system has not
11178           been initialised yet by the time gst_init_get_option_group() is
11179           called, as it's quite likely other GLib functions such as
11180           g_option_context_new() have been called already then, and
11181           g_thread_init() must be called before any other GLib function. The
11182           application in question must be fixed in that case, since memory
11183           corruption might happen otherwise.
11184           We issue the warning because even if the GLib folks decide to work
11185           around the problem on their end in future, this is still an issue
11186           with all GLib versions >= 2.10.0, so we should warn until we depend
11187           on a GLib version we know to be safe.
11188           Update documentation as well.
11189           Closes bug #391278.
11190
11191 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11192
11193         * tools/gst-inspect.c: (main):
11194         * tools/gst-launch.c: (main):
11195         * tools/gst-typefind.c: (main):
11196         * tools/gst-xmlinspect.c: (main):
11197           Call g_thread_init() really really early, before any other GLib
11198           function (see #342564 and recent discussion on gtk-devel-list).
11199
11200 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11201
11202         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
11203
11204         * gst/gst_private.h:
11205         * gst/gstconfig.h.in:
11206         * gst/gstinfo.h:
11207           On win32, all the __declspec stuff for symbol exporting is
11208           apparently only needed with MSVC, but doesn't work with MingW.
11209           Fixes compilation with MingW and #391909.
11210
11211 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11212
11213         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11214           Change some GST_ERROR_OBJECT that aren't really errors to
11215           GST_WARNING_OBJECT in order to reduce terminal spam.
11216
11217 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11218
11219         * tests/check/Makefile.am:
11220           disable test again, as there seem to be still race problems
11221
11222 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11223
11224         * tests/check/Makefile.am:
11225         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11226         (GST_START_TEST), (queue_suite):
11227           enable queue test again, add tests for the leaky behaviour
11228
11229 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
11230
11231         * configure.ac:
11232         * tests/examples/Makefile.am:
11233           Compile adapter test/example only if the required headers are
11234           available (fixes #391915).
11235
11236 2007-01-01  David Schleef  <ds@schleef.org>
11237
11238         * gst/gstplugin.c:
11239           Restore the previous signal handler for SIGSEGV instead of
11240           setting to default, since we may have stolen it away from
11241           someone.  (i.e., Mono)
11242
11243 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11244
11245         * docs/random/draft-missing-plugins.txt:
11246           Some small additions and clarifications.
11247
11248 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11249
11250         * gst/gstregistryxml.c: (gst_registry_save_escaped):
11251           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11252           since that can lead to random memory corruptions and crashes
11253           (may or may not be related to #383244, #386711, and #386711).
11254
11255 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11256
11257         * tests/check/.cvsignore:
11258         * tests/check/Makefile.am:
11259           sync .cvsignome and CLEANFILES
11260
11261 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11262
11263         * tests/check/Makefile.am:
11264           fix distcheck
11265
11266 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11267
11268         * docs/design/part-states.txt:
11269           two tiny additional comments
11270         
11271         * gst/gststructure.c:
11272           doc fixing
11273
11274         * tests/check/Makefile.am:
11275         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11276         (GST_START_TEST):
11277           disable test for now, unless it gets fixed
11278
11279 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11280
11281         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11282         (GST_START_TEST):
11283           fix race in underrun test
11284
11285 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11286
11287         * tests/check/elements/.cvsignore:
11288           ignore more
11289
11290         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11291         (GST_START_TEST):
11292           try to narrow test failure
11293
11294 2006-12-21  David Schleef  <ds@schleef.org>
11295
11296         * plugins/elements/gstfakesrc.c:
11297           Use g_random_int_range(), since it produces better random
11298           numbers in a range than almost-correct floating point code.
11299
11300 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11301
11302         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11303         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11304         (gst_check_teardown_sink_pad):
11305           do not automatically (de)activate pads
11306
11307         * tests/check/Makefile.am:
11308         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11309         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11310           add new, yet simple tests for queue
11311
11312         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11313         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11314         * tests/check/elements/filesrc.c: (cleanup_filesrc),
11315         (GST_START_TEST):
11316         * tests/check/elements/identity.c: (cleanup_identity):
11317           consistent pad (de)activation
11318
11319 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
11320
11321         Patch by: Sebastian Dröge  <slomo ubuntu com>
11322
11323         * libs/gst/base/gstcollectpads.c:
11324           Fix two doc typos (#387866).
11325
11326 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11327
11328         * docs/manual/advanced-dparams.xml:
11329           Fix typo (g_object_control_properties() doesn't exist).
11330
11331 2006-12-19  Edward Hervey  <edward@fluendo.com>
11332
11333         * gst/gstsegment.c: (gst_segment_set_seek):
11334         Fine tune the cases where the segment start/stop values are really
11335         updated.
11336         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11337         Add tests for the return values of gst_segment_set_seek().
11338
11339 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11340
11341         * gst/gst.c:
11342           Docs typo fix.
11343
11344         * plugins/elements/gstqueue.c: (gst_queue_class_init),
11345         (gst_queue_init):
11346           Fix incorrect documentation and flesh it out a bit more.
11347           Set default values for the max properties on the GParamSpec as well,
11348           so it shows up correctly in gst-inspect.
11349
11350 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
11351
11352         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11353           Correct docs of queue, add more detail and crosslink it more.
11354
11355 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11356
11357         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11358           Print additional debug info when the stream isn't perfectly
11359           timestamped; don't try to use invalid durations.
11360
11361 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11362
11363         * docs/design/Makefile.am:
11364           Dist new design docs.
11365
11366 2006-12-16  Wim Taymans  <wim@fluendo.com>
11367
11368         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11369
11370         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11371         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11372         (gst_collect_pads_stop), (gst_collect_pads_event),
11373         (gst_collect_pads_chain):
11374         * libs/gst/base/gstcollectpads.h:
11375         Add refcounting to the collectpads data so we can track when it's safe
11376         to free the data. Fixes #383382.
11377
11378 2006-12-15  Wim Taymans  <wim@fluendo.com>
11379
11380         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11381         (gst_collect_pads_remove_pad):
11382         Automatically activate/deactivate pads when they are added to a
11383         started/stoped collectpads.
11384
11385 2006-12-15  Wim Taymans  <wim@fluendo.com>
11386
11387         * gst/gstelement.c: (gst_element_add_pad):
11388         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11389         * gst/gstpad.c: (gst_pad_init):
11390         Set pads to FLUSHING when they are created. Check, warn and fix when a
11391         demuxer adds an inactive pad to itself when running. Fixes #339326.
11392
11393 2006-12-15  Wim Taymans  <wim@fluendo.com>
11394
11395         * gst/gstelement.c: (gst_element_class_init),
11396         (gst_element_default_send_event), (gst_element_send_event),
11397         (gst_element_default_query), (gst_element_query):
11398         Expose default element send_event and query handling as vmethods that
11399         subclasses can chain up to.
11400
11401 2006-12-15  Wim Taymans  <wim@fluendo.com>
11402
11403         * gst/gstelement.c: (gst_element_set_state_func):
11404         Small documentation fixes.
11405
11406 2006-12-15  Wim Taymans  <wim@fluendo.com>
11407
11408         * docs/design/draft-latency.txt:
11409         Checked in draft for handling latency in pipelines.
11410
11411 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11412
11413         * Makefile.am:
11414         * gstreamer.doap:
11415         * gstreamer.spec.in:
11416           adding .doap file
11417
11418 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11419
11420         * gst/gst.c: (init_pre), (init_post):
11421           init_pre() and init_post() might be called via our GOptionGroup or
11422           from gst_init(), and we should skip both of them if we've already
11423           been initialised, otherwise we will init some things twice or add
11424           two default log functions.
11425
11426 2006-12-13  Edward Hervey  <edward@fluendo.com>
11427
11428         * docs/manual/basics-bus.xml:
11429         No, gst_main_loop does not exist. Its g_main_loop.
11430         Discovered by somebody who abused the copy-paste technique of coding :)
11431
11432 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11433
11434         * gst/gstghostpad.c:
11435           Log ghostpad debug stuff to the GST_PADS category as well rather
11436           than just to the default category.
11437
11438 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11439
11440         * configure.ac:
11441         * gst/gst.c: (init_pre):
11442           Add some basic system details such as OS and architecture
11443           to the debug output if possible, courtesy of uname().
11444
11445 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11446
11447         * docs/gst/running.xml:
11448           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11449           environment variables.
11450
11451 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11452
11453         * tests/check/gst/gstbin.c: (GST_START_TEST):
11454         It is acceptable to have a refcount of 2 or 3 at this point in the
11455         test, because the pipeline might be just posting its state_change
11456         message. The next line then waits for that message to appear using
11457         bus_poll, so that should be fine too.
11458
11459 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11460
11461         * gst/gst.c: (ensure_current_registry_forking):
11462         Ignore EINTR when reading from the child registry pipe.
11463         Explicitly ignore the return value from close, since it makes no
11464         difference.
11465
11466         * gst/gstminiobject.c: (gst_mini_object_ref),
11467         (gst_mini_object_unref):
11468         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11469
11470         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11471         When removing cached plugins, remove their features too, so they're
11472         not visible after they've disappeared.
11473
11474         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11475         In the unlikely case that we are linking pads with no parents, don't
11476         crash trying to get the non-existent parent bin.
11477
11478         * gst/parse/grammar.y:
11479         Output debug in the PIPELINE category
11480
11481 2005-03-08  Wim Taymans  <wim@fluendo.com>
11482
11483         Patch by: René Stadler <mail at renestadler dot de>
11484
11485         * gst/gstclock.c: (gst_clock_new_periodic_id):
11486         Reject invalid clock times for interval of periodic ids.
11487         Fixes ##383506.
11488
11489 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11490
11491         * gst/gstelementfactory.c: (gst_element_factory_create):
11492         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11493         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11494         * tools/gst-inspect.c: (print_element_info):
11495         Fix refcounting of gst_plugin_feature_load to match the docs. 
11496         Fixes: #380129
11497
11498 2006-12-07  Wim Taymans  <wim@fluendo.com>
11499
11500         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11501         (gst_base_sink_get_position):
11502         Improve debugging of events.
11503
11504 2006-12-07  Wim Taymans  <wim@fluendo.com>
11505
11506         Patch by: René Stadler <mail at renestadler dot de>
11507
11508         * gst/gstclock.c: (gst_clock_id_wait):
11509         Make period ids add the interval to the origial requested time instead
11510         of the possibly updated time which can be wrong when there are multiple
11511         waiters for the same id. Fixes #382592.
11512
11513         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11514         (gst_system_clock_id_wait_jitter_unlocked),
11515         (gst_system_clock_id_wait_jitter):
11516         Fix restart in the async notify thread when an async entry is added to
11517         the front of the list. Fixes #381492. 
11518
11519         * tests/check/gst/gstsystemclock.c: (store_callback),
11520         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11521         Added test for multiple async waits.
11522         Added test for async wait order.
11523
11524 2006-12-07  Wim Taymans  <wim@fluendo.com>
11525
11526         * gst/gstbin.c: (gst_bin_query):
11527         Add some more docs about the POSITION query.
11528
11529 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11530
11531         * configure.ac:
11532         Bump version nano - back to CVS.
11533
11534 === release 0.10.11 ===
11535
11536 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11537
11538         * configure.ac:
11539           releasing 0.10.11, "Love never runs on time"
11540
11541 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11542
11543         * win32/common/libgstbase.def:
11544         * win32/common/libgstreamer.def:
11545         * win32/vs8/libgstbase.vcproj:
11546         * win32/vs8/libgstcoreelements.vcproj:
11547         * win32/vs8/libgstreamer.vcproj:
11548         Fix compilation on win32 under VS8
11549         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11550         Partially fixes #381175
11551
11552 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11553
11554         * gst/gstvalue.c: (gst_value_compare_fraction):
11555         If someone is foolish enough to compare 2 fractions with denominator =
11556         0, return UNORDERED rather than aborting.
11557
11558 2006-11-28  Edward Hervey  <edward@fluendo.com>
11559
11560         * libs/gst/base/Makefile.am:
11561         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11562         (gst_data_queue_base_init), (gst_data_queue_class_init),
11563         (gst_data_queue_init), (gst_data_queue_new),
11564         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11565         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11566         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11567         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11568         (gst_data_queue_set_flushing), (gst_data_queue_push),
11569         (gst_data_queue_pop), (gst_data_queue_drop_head),
11570         (gst_data_queue_set_property), (gst_data_queue_get_property):
11571         * libs/gst/base/gstdataqueue.h:
11572         New GstDataQueue object for threadsafe queueing. Most useful for
11573         elements that need some queueing functionnality.
11574         * docs/libs/gstreamer-libs-docs.sgml:
11575         * docs/libs/gstreamer-libs-sections.txt:
11576         Insert documentation for GstDataQueue
11577         * plugins/elements/Makefile.am:
11578         * plugins/elements/gstelements.c:
11579         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11580         (gst_multi_queue_class_init), (gst_multi_queue_init),
11581         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11582         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11583         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11584         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11585         (gst_multi_queue_loop), (gst_multi_queue_chain),
11586         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11587         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11588         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11589         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11590         (wake_up_next_non_linked), (compute_next_non_linked),
11591         (single_queue_overrun_cb), (single_queue_underrun_cb),
11592         (single_queue_check_full), (gst_single_queue_new):
11593         * plugins/elements/gstmultiqueue.h:
11594         New multiqueue element, using GstDataQueue. Used for queuing multiple
11595         streams.
11596         Closes #344639 and #347785
11597
11598 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11599
11600         * docs/pwg/advanced-types.xml:
11601           add more missing type details
11602
11603         * tools/gst-run.c: (main):
11604           remove unused variable
11605
11606 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11607
11608         * docs/libs/Makefile.am:
11609         * docs/libs/gstreamer-libs.types:
11610           add types of base classes to enable gobject specific stuff in the docs
11611
11612         * docs/random/ensonic/embedded.txt:
11613           more ideas about isolating platform specific things
11614
11615 2006-11-20  Wim Taymans  <wim@fluendo.com>
11616
11617         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11618
11619         * libs/gst/check/gstcheck.h:
11620         Fix compilation and running against 0.9.4. Fixes #377332.
11621
11622 2006-11-20  Wim Taymans  <wim@fluendo.com>
11623
11624         * gst/gstsegment.c: (gst_segment_set_seek),
11625         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11626         (gst_segment_to_running_time):
11627         Fix boundary checking in to_running_time() and to_stream_time().
11628         Fixes #377183.
11629
11630         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11631         stream and running time can now be calculated for the complete
11632         clipped segment.
11633
11634 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11635
11636         * gst/gstpad.c: (gst_pad_push_event):
11637           Can't access event structure after giving away ownership of
11638           the event.
11639
11640 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11641
11642         * docs/random/ensonic/embedded.txt:
11643         * docs/random/ensonic/profiling.txt:
11644         * docs/random/ensonic/receipies.txt:
11645           more thinking
11646
11647 2006-11-13  Wim Taymans  <wim@fluendo.com>
11648
11649         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11650
11651         * gst/gstpad.c:
11652         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11653
11654 2006-11-13  Wim Taymans  <wim@fluendo.com>
11655
11656         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11657
11658         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11659         Store new length in segment duration so we don't keep on calling the
11660         potentially expensize get_size() call. Fixes #370865.
11661
11662 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11663
11664         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11665
11666         * win32/common/libgstreamer.def:
11667           Add two missing symbols (#366492).
11668
11669 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11670
11671         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11672         (gst_adapter_take_buffer):
11673         Fix format string to use all its arguments.
11674         Remove useless >= check on a guint
11675
11676 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11677
11678         * tests/examples/adapter/.cvsignore:
11679         Ignore build file as commanded by the build-bot
11680
11681 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11682
11683         * tests/examples/adapter/Makefile.am:
11684         * tests/examples/adapter/adapter_test.c: (run_test_take),
11685         (run_test_take_buffer), (run_tests), (main):
11686
11687         Add new files from the previous commit
11688
11689 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11690
11691         * Makefile.am:
11692         * configure.ac:
11693         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11694         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11695         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11696         * libs/gst/base/gstadapter.h:
11697         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11698         (GST_START_TEST), (gst_adapter_suite):
11699         * tests/examples/Makefile.am:
11700         Do some optimisation work in GstAdapter to avoid copies in more cases.
11701         It could still do slightly better by merging buffers when
11702         gst_buffer_is_span_fast is true, but is already faster. 
11703
11704         Also, avoid traversing a single-linked list to append each incoming 
11705         buffer inside the adapter.
11706
11707         Add simple test app that times the adapter behaviour in different
11708         situations, and extend the unit test to check that bytes enter and
11709         exit the adapter in their original order.
11710
11711 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11712
11713         * docs/random/draft-missing-plugins.txt:
11714           Update: use element message instead of adding a new message
11715           type to the core; don't provide GStreamer API to initiate the
11716           plugin download, just provide API to compose the strings needed
11717           and let an external libgimmestuff handle the rest.
11718
11719 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11720
11721         * tools/gst-inspect.c: (print_element_properties_info):
11722         Print a string instead of 'unknown type' for GValueArray properties
11723
11724 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11725
11726         * docs/random/draft-missing-plugins.txt:
11727         More small fixes.
11728
11729 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11730
11731         * tests/examples/typefind/typefind.c: (type_found), (main):
11732           Make typefind element example work again (#371894); add a
11733           license header.
11734
11735 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11736
11737         * docs/random/draft-missing-plugins.txt:
11738           Commit initial draft about how to deal with missing plugins,
11739           needs work (API too).
11740
11741 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11742
11743         * docs/pwg/advanced-types.xml:
11744           documents the new caps elements (see #363118)
11745
11746 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11747
11748         * gst/gstplugin.c: (gst_plugin_load_file):
11749         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11750         (gst_file_src_map_region), (gst_file_src_start):
11751         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11752         (gst_file_index_commit):
11753           Use g_strerror() instead of strerror() - we want UTF-8.
11754
11755 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11756
11757         Patch by: Peter Kjellerstedt <pkj at axis com>
11758
11759         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11760           Another printf fix (#371493).
11761
11762 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11763
11764         * tests/check/gst/gsttag.c:
11765           relicence (okay with author=company)
11766
11767 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11768
11769         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11770         (gst_pad_push_event):
11771           Enhance debug and improve docs
11772         
11773         * gst/gsturi.c:
11774           Fix docs
11775
11776 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11777
11778         * docs/random/ensonic/distributed.txt:
11779         * docs/random/ensonic/profiling.txt:
11780           more ideas
11781
11782 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11783
11784         * docs/gst/gstreamer-sections.txt:
11785           add new API and fix the build
11786           
11787         * gst/gstbin.c: (gst_bin_recalc_state):
11788         * gst/gstelement.c: (gst_element_message_full),
11789         (gst_element_get_state_func), (gst_element_set_state_func):
11790           use new API and improve logging
11791         
11792         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11793         * gst/gstutils.h:
11794           API: add function to get StateChangereturn names to improve logs 
11795
11796 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11797
11798         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11799           I'm considering shooting the next person to put strerror stuff
11800           in the translateable part of the message.
11801
11802 2006-11-03  Wim Taymans  <wim@fluendo.com>
11803
11804         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11805         Get the type and printf conversion specifiers right.
11806
11807 2006-11-03  Wim Taymans  <wim@fluendo.com>
11808
11809         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11810
11811         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11812         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11813         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11814         Some small cleanups. Improve debugging.
11815         * gst/gstpad.h:
11816         Signal all waiting threads with a broadcast instead of just one.
11817         Fixes #369942.
11818
11819 2006-11-03  Wim Taymans  <wim@fluendo.com>
11820
11821         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11822         (gst_fd_src_create):
11823         Add some debugging. 
11824         Only update fd when it's different from the old.
11825
11826 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11827
11828         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11829           Printf fixes for PPC/OSX, take two (#369366).
11830
11831 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11832
11833         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11834
11835         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11836         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11837         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11838           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11839           don't cast to long long for portability reasons, but use
11840           GLib's types instead.
11841
11842 2006-10-30  Michael Smith  <msmith@fluendo.com>
11843
11844         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11845           Get the arguments to lseek() the right way around.
11846           Fixes 367677.
11847
11848 2006-10-30  Wim Taymans  <wim@fluendo.com>
11849
11850         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11851
11852         * gst/gstinfo.h:
11853         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11854
11855 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11856
11857         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11858
11859         * docs/design/part-MT-refcounting.txt:
11860         * docs/random/wtay/capsnego2-docs:
11861         * gst/gstclock.c:
11862         * gst/gstxml.c:
11863           Typo fixes (#366212).
11864
11865 2006-10-28  Wim Taymans  <wim@fluendo.com>
11866
11867         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11868
11869         * gst/gst.c:
11870         * win32/common/libgstbase.def:
11871         * win32/common/libgstreamer.def:
11872         * win32/vs8/libgstbase.vcproj:
11873         * win32/vs8/libgstcontroller.vcproj:
11874         Add needed entries in .def files.
11875         Use HAVE_UNISTD_H.
11876         Rearrange def files in vs8 solutions. Fixes #366286.
11877
11878 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11879
11880         * win32/common/gstconfig.h:
11881           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11882           hand-made win32 gstconfig.h. Fixes #366321.
11883
11884 2006-10-27  Wim Taymans  <wim@fluendo.com>
11885
11886         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11887         (gst_ghost_pad_new_full):
11888         Make acceptcaps return TRUE when we don't have a target, just like
11889         setcaps does.
11890
11891 2006-10-27  Wim Taymans  <wim@fluendo.com>
11892
11893         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11894         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11895
11896 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11897
11898         * gst/gststructure.c: (gst_structure_id_set_value):
11899           If someone tries to set a non-UTF8 string field on a structure,
11900           don't just print a warning, but also ignore the request and do
11901           not change/add that field to the structure.
11902
11903         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11904           Test for the above.
11905
11906 2006-10-25  David Schleef  <ds@schleef.org>
11907
11908         * gst/gstinfo.c:
11909           g_hash_table_insert() needs a cast to a non-const pointer duh.
11910
11911 2006-10-25  David Schleef  <ds@schleef.org>
11912
11913         * gst/gstinfo.c:
11914         * gst/gstinfo.h:
11915           Change name parameter of _gst_debug_register_funcptr to const
11916           to reflect the constness of its use in the function as well
11917           as to quiet a gcc warning.
11918
11919 2006-10-25  Edward Hervey  <edward@fluendo.com>
11920
11921         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11922         Don't push the buffer if it's empty.
11923         Closes #363095
11924
11925 2006-10-24  Wim Taymans  <wim@fluendo.com>
11926
11927         * gst/gstevent.h:
11928         Add small comment.
11929
11930         * libs/gst/base/gstbasetransform.c:
11931         (gst_base_transform_sink_eventfunc):
11932         Debug segment values *after* updating them as this is more
11933         interesting.
11934
11935 2006-10-23  Wim Taymans  <wim@fluendo.com>
11936
11937         * docs/design/part-events.txt:
11938         Update some docs.
11939
11940         * docs/design/part-block.txt:
11941         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11942         (gst_pad_push_event):
11943         Revert BLOCKING patch, it tries to be smart without really having a
11944         clear idea what or how. So, now we discard all FLUSHING events again on
11945         a blocking pad. Should fix gnonlin again.
11946
11947 2006-10-23  Wim Taymans  <wim@fluendo.com>
11948
11949         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11950
11951         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11952         (gst_base_src_start), (gst_base_src_activate_push):
11953         Make sure size is always initialized. Fixes #364388.
11954
11955 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11956
11957         * docs/random/ensonic/distributed.txt:
11958           add some ideas about doing distributed processing
11959
11960         * docs/random/ensonic/profiling.txt:
11961           get_rusage look promising
11962
11963 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11964
11965         * docs/manual/basics-helloworld.xml:
11966           Add a cast in example to fix compile warning
11967
11968 2006-10-18  Wim Taymans  <wim@fluendo.com>
11969
11970         * gst/gstsegment.c: (gst_segment_set_last_stop),
11971         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11972         Relax arg checking again, -1 is allowed.
11973
11974 2006-10-18  Wim Taymans  <wim@fluendo.com>
11975
11976         * gst/gstsegment.c: (gst_segment_set_last_stop),
11977         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11978         _set_last_stop() must be with a value != -1
11979         A _TYPE_SET to -1 means seek to 0.
11980         Calc last_stop correctly for negative rates.
11981         Make sure we work with positive durations when updating a segment.
11982
11983 2006-10-18  Wim Taymans  <wim@fluendo.com>
11984
11985         * docs/design/part-live-source.txt:
11986         * gst/gstclock.h:
11987         Small docs fixes.
11988
11989 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11990
11991         * gst/gstbuffer.h:
11992           Add an explicit cast to GstBuffer** to keep old code that added an
11993           explicit cast to GstMiniObject** for gst_mini_object_replace()
11994           compiling without warning.
11995
11996 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11997
11998         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11999           check for validity of dates
12000
12001 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
12002
12003         * docs/gst/gstreamer-sections.txt:
12004           Forgot this one, makes gtk-doc shut up.
12005
12006 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
12007
12008         Patch by: Peter Kjellerstedt <pkj at axis com>
12009
12010         * gst/gstobject.h:
12011           Don't define xmlNodePtr to gpointer if the core was built with
12012           --disable-loadsave and --disable-registry, this will break
12013           applications that want to use libxml2 but are buildling against a
12014           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
12015           instead so we don't have to mess with the libxml2 namespace
12016           (#361675).
12017
12018 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
12019
12020         * gst/gstbuffer.h:
12021           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
12022           type-punned pointer warnings.
12023
12024 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
12025
12026         * gst/gstelement.h:
12027           Add casts to the correct return type to state <=> state transition
12028           macros.
12029
12030 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
12031
12032         * docs/design/part-live-source.txt:
12033           describe howto handle latency
12034         
12035         * docs/random/ensonic/profiling.txt:
12036           more ideas
12037
12038         * tools/gst-plot-timeline.py:
12039           fix log parsing for solaris, remove unused function
12040
12041 2006-10-16  Wim Taymans  <wim@fluendo.com>
12042
12043         * docs/design/part-trickmodes.txt:
12044         * gst/gstevent.c:
12045         Update some docs regarding reverse playback.
12046
12047 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
12048
12049         Patch by: Marcus Granado  <mrc dot gran at gmail com>
12050
12051         * win32/vs8/grammar.vcproj:
12052           Error out with a warning if glib-genmarshal.exe is not in path,
12053           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
12054
12055 2006-10-13  Wim Taymans  <wim@fluendo.com>
12056
12057         * gst/gstsegment.c: (gst_segment_set_seek):
12058         When seeking to stop -1, set last_stop (current position) to the
12059         duration of the segment.
12060
12061 2006-10-13  Wim Taymans  <wim@fluendo.com>
12062
12063         * gst/gstelement.h:
12064         Clarify _NO_PREROLL a bit more.
12065
12066         * gst/gstevent.c:
12067         Fix docs.
12068
12069         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
12070         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
12071         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
12072         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
12073         due to wrong locking order. Fixes #361769.
12074         Remove some redundant/misplaced checks in pad_block.
12075
12076         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12077         For negative rates, count backwards from the duration.
12078
12079 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
12080
12081         * gst/gsterror.c: (_gst_library_errors_init):
12082           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
12083           up with something better).
12084
12085 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
12086
12087         * win32/vs6/libgstreamer.dsp:
12088         * win32/vs7/libgstreamer.vcproj:
12089         * win32/vs8/libgstreamer.vcproj:
12090           Don't reference glib-compat.c which is currently not used and not
12091           disted; add gstquark.c which was recently added. Fixes #361730.
12092
12093 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
12094
12095         * win32/common/libgstbase.def:
12096         * win32/common/libgstcontroller.def:
12097         * win32/common/libgstreamer.def:
12098           Add gst_caps_merge() and a bunch of other recently-added functions.
12099           Fixes #361732.
12100
12101 2006-10-11  Wim Taymans  <wim@fluendo.com>
12102
12103         * docs/plugins/gstreamer-plugins.args:
12104         * docs/plugins/inspect/plugin-coreelements.xml:
12105         * docs/plugins/inspect/plugin-coreindexers.xml:
12106         Update element args.
12107
12108         * gst/gstsystemclock.c:
12109         Small comment update.
12110
12111         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12112         (gst_tee_request_new_pad), (gst_tee_release_pad),
12113         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
12114         (gst_tee_sink_activate_pull):
12115         * plugins/elements/gsttee.h:
12116         Some tee loving:
12117         Add default property defines.
12118         Implement release pad function.
12119         Give properties better blubs etc.
12120         Activate pads before adding them to a running tee.
12121         Do simple buffer_alloc on the first requested pad.
12122         Post error when activation fails.
12123
12124 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
12125
12126         * gst/gst.c: (ensure_current_registry_forking):
12127           Check return value of write() to make compiler happy.
12128
12129 2006-10-11  Wim Taymans  <wim@fluendo.com>
12130
12131         Patch by: Sjoerd Simons <sjoerd at luon dot net>
12132
12133         * plugins/elements/gstqueue.c: (gst_queue_chain):
12134         Recheck queue filledness after signalling the overrun when we're about
12135         to leak downstream because we released the lock when emitting the signal
12136         and the queue could be empty again. Fixes #352345.
12137
12138 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
12139
12140         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12141           Fix refcounting here too, just like we did for _new_valist() a few
12142           days ago (#357180) (thanks to René Stadler). Also remove all those
12143           'Since: 0.9' from the gtk-doc blobs.
12144
12145         * tests/check/libs/controller.c: (controller_refcount_new_list),
12146         (gst_controller_suite):
12147           Unit test for the above.
12148
12149 2006-10-10  Wim Taymans  <wim@fluendo.com>
12150
12151         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
12152
12153         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
12154         (gst_pad_save_thyself):
12155         Update some docs.
12156         Write pad direction in XML output. Fixes #345496.
12157
12158 2006-10-10  Wim Taymans  <wim@fluendo.com>
12159
12160         Patch by: René Stadler <mail at renestadler dot de>
12161
12162         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12163         (gst_controller_new_list), (_gst_controller_dispose),
12164         (_gst_controller_finalize), (_gst_controller_class_init):
12165         Take ref to controlled object so that it cannot disappear. 
12166         Fixes #357432.
12167
12168 2006-10-10  Wim Taymans  <wim@fluendo.com>
12169
12170         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
12171         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12172         (gst_check_teardown_sink_pad):
12173         Activate/deactivate pads in setup/teardown respectively.
12174
12175 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12176
12177         Patch by: Josep Torra Valles <josep@fluendo.com>
12178
12179         * gst/Makefile.am:
12180         Cast values when making gstenumtypes.h.  This pacifies Forte
12181         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12182         in the enumeration.
12183
12184 2006-10-09  Wim Taymans  <wim@fluendo.com>
12185
12186         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12187         Rename some more @cur to @start to fix docs. 
12188
12189         * gst/gstsegment.c: (gst_segment_set_seek):
12190         Fix typo.
12191         time and start must always stay in sync as defined in design doc.
12192
12193         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12194         Rename param to fix docs.
12195
12196         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12197         Check that start and time are in sync.
12198
12199         * tests/check/pipelines/parse-launch.c:
12200         (gst_parse_test_element_change_state):
12201         Activate pad before adding to the element.
12202
12203 2006-10-09  Wim Taymans  <wim@fluendo.com>
12204
12205         * docs/design/part-qos.txt:
12206         Fix typo.
12207
12208         * gst/gstevent.c:
12209         * gst/gstevent.h:
12210         Update seek event docs regarding negative rates.
12211         Rename @cur to @start. 
12212
12213         * gst/gstsegment.c: (gst_segment_set_seek):
12214         * gst/gstsegment.h:
12215         Update set_seek docs regarding negative rates.
12216         Correctly update last_stop to @stop when dealing with negative
12217         rates.
12218         Rename @cur to @start. 
12219
12220         * tests/check/gst/gstpad.c: (GST_START_TEST):
12221         Activate pads before trying to use them.
12222
12223         * tests/check/gst/gstsegment.c: (GST_START_TEST),
12224         (gst_segment_suite):
12225         Add simple check for segments and negative rates.
12226
12227 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
12228
12229         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12230         * gst/gsttaglist.h:
12231         * docs/gst/gstreamer-sections.txt:
12232           API: add gst_tag_list_is_empty() (#360467).
12233
12234         * tests/check/gst/gsttag.c: (GST_START_TEST):
12235           And a test case.
12236
12237 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12238
12239         * gst/gstmessage.h:
12240         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12241         a value that doesn't fit on enumeration.
12242
12243 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12244
12245         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12246         Remove local debugging system and use Gstreamer's instead.
12247
12248 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12249
12250         Patch by: Josep Torra Valles <josep@fluendo.com>
12251
12252         * common/m4/gst-error.m4:
12253         Disable warning of statement not reached on Forte.
12254         * gst/gstmessage.h:
12255         Fix warning on Forte (value doesn't fit on enumeration).
12256         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12257         Fix warning on Forte (value doesn't fit on enumeration).
12258         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12259         DEBUG macro says it takes minimum of 2 args and so Forte
12260         complains about the use with just 1 arg.
12261         * plugins/elements/gstfdsink.c:
12262         * plugins/elements/gstfdsrc.c:
12263         * plugins/elements/gstfilesink.c:
12264         * plugins/elements/gstfilesrc.c:
12265         Use correct return type for the uri handler implementations.
12266
12267         All these fix warnings in Forte.  Fixes bug #360860.
12268
12269 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
12270
12271         * gst/gstelement.h:
12272           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12273           format string, so don't use G_GNUC_PRINTF for those versions.
12274
12275 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12276
12277         * gst/gsttaglist.c: (gst_is_tag_list):
12278         * gst/gsttaglist.h:
12279           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12280
12281         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12282           Small test for the above.
12283
12284 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12285
12286         * gst/gsttaglist.h:
12287           Less tabs, more spaces.
12288
12289 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
12290
12291         * gst/gstinfo.h:
12292           Those two function declarations do actually belong there, revert
12293           commit from yesterday that turned them intro macros.
12294
12295 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12296
12297         Patch by: Josep Torra Valles <josep@fluendo.com>
12298
12299         * gst/gst.c: (gst_init_get_option_group):
12300         Fix empty declaration and type mismatch.
12301         * gst/gstbin.c: (gst_bin_change_state_func):
12302         Fix type mismatch.
12303         * gst/gstelement.c: (gst_element_continue_state),
12304         (gst_element_set_state_func), (gst_element_change_state),
12305         (gst_element_change_state_func):
12306         Fix type mismatches.
12307         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12308         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12309         Cast as appropriate.
12310         * gst/gstobject.c: (gst_class_signal_connect):
12311         Cast as appropriate.  The function pointer parameter really
12312         has the wrong type but would break API if we change it.
12313         * gst/gstquery.c:
12314         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12315         order of including string.h.
12316         * gst/gstutils.c: (gst_element_state_get_name):
12317         Remove unreachable line.
12318         * gst/gstxml.c: (gst_xml_parse_doc):
12319         Fix type mismatch.
12320         All these caught by Forte.
12321
12322 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12323
12324         Patch by: Josep Torra Valles <josep@fluendo.com>
12325
12326         * common/m4/gst-error.m4:
12327         Fixed bug #360151.
12328         We need to disable warnings on Forte for empty declarations
12329         due to gst-indent adding ;s to lines that just use macros
12330         where the macro actually doesn't need a ; at end to end
12331         statement.
12332
12333 2006-10-06  Wim Taymans  <wim@fluendo.com>
12334
12335         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12336         (gst_file_sink_close_file), (gst_file_sink_event),
12337         (gst_file_sink_render):
12338         Add some FIXME for the NEWSEGMENT handling.
12339
12340 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12341
12342         * gst/parse/grammar.y:
12343         Remove static function gst_parse_element_lock as all it does
12344         is return.  Looks like cruft from 0.8.
12345
12346 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12347
12348         Patch by: Josep Torra Valles <josep@fluendo.com>
12349
12350         * common/m4/gst-error.m4:
12351         * configure.ac:
12352         * libs/gst/net/Makefile.am:
12353         Fix a compilation issue with Forte on Solaris.  inet_aton is in
12354         libresolv.
12355
12356 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12357
12358         * gst/gstpad.c: (pre_activate):
12359         * gst/gstregistry.c: (gst_registry_scan_path_level):
12360         * gst/gstregistryxml.c: (load_plugin):
12361         * libs/gst/controller/gstcontroller.c:
12362         (gst_controlled_property_set_interpolation_mode):
12363         * libs/gst/dataprotocol/dataprotocol.c:
12364         (gst_dp_packet_from_event_1_0):
12365         * libs/gst/net/gstnetclientclock.c:
12366         (gst_net_client_clock_observe_times):
12367         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12368           Printf fixes.
12369
12370 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12371
12372         * configure.ac:
12373         * docs/gst/gstreamer-sections.txt:
12374         * gst/gstconfig.h.in:
12375         * gst/gstelement.h:
12376         * gst/gstinfo.h:
12377           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12378           whether we can use G_GNUC_PRINTF in other header files and at
12379           least check the printf format/arguments of debug messages and
12380           GST_ELEMENT_ERROR messages when the printf extension is not
12381           being used.
12382           Replace more tabs with spaces in gstinfo.h and remove two spurious
12383           function declarations in GST_DISABLE_DEBUG part with macros.
12384
12385 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
12386
12387         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12388           More docs for the sync-message signal (mention that it is not
12389           emitted by default); log message structures of messages posted on
12390           the bus as well.
12391
12392 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
12393
12394         * gst/gst.c: (ensure_current_registry_forking):
12395         Use a pipe pair to receive status results from the forked child, and
12396         ignore the result from waitpid. Fixes #355499
12397
12398 2006-10-02  Wim Taymans  <wim@fluendo.com>
12399
12400         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12401         (gst_ghost_pad_suite):
12402         Fix leak in check.
12403
12404 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12405
12406         * gst/gstpad.c:
12407           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12408
12409 2006-10-02  Edward Hervey  <edward@fluendo.com>
12410
12411         * docs/design/part-block.txt:
12412         Further explain the use of flushing on blocked pads.
12413         * docs/gst/gstreamer-sections.txt:
12414         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12415         (gst_pad_push_event):
12416         * gst/gstpad.h:
12417         Added new GstPadFlag : GST_PAD_BLOCKING.
12418         Adds the notion of pads really blocking, which enables to properly
12419         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12420         Fixes #358999
12421         API: gst_pad_is_blocking()
12422         API: GST_PAD_IS_BLOCKING() macro
12423         API: GST_PAD_BLOCKING GstPadFlag
12424         
12425 2006-10-02  Wim Taymans  <wim@fluendo.com>
12426
12427         Patch by: mrcgran <mrc.gran at gmail dot com>
12428
12429         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12430         Filter the proxied caps against the padtemplate if we have one.
12431
12432         * gst/gstquery.c: (gst_query_new_segment):
12433         Add include for gstinfo.h so that compilation with
12434         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12435
12436 2006-10-02  Wim Taymans  <wim@fluendo.com>
12437
12438         Patch by: Alessandro Decina  <alessandro at nnva org>
12439
12440         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12441         (gst_file_sink_set_location), (gst_file_sink_open_file),
12442         (gst_file_sink_close_file), (gst_file_sink_event),
12443         (gst_file_sink_render):
12444         Set file to NULL when closing filesink so that we can set a new filename
12445         in READY. Fixes #358613.
12446
12447 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12448
12449         Patch by: Alessandro Decina  <alessandro at nnva org>
12450
12451         * gst/gstevent.c: (_gst_event_copy):
12452           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12453           with event structures by setting the parent refcount address of the
12454           copied structure to the address of the refcount member of the newly
12455           copied event rather than the address of the refcount member of the
12456           original event. Fixes #358737.
12457
12458         * tests/check/gst/gstevent.c: (GST_START_TEST):
12459           Unit test for the above.
12460
12461 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12462
12463         * docs/design/Makefile.am:
12464           Dist some more files.
12465
12466 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12467
12468         * tests/check/libs/controller.c: (GST_START_TEST),
12469         (gst_controller_suite):
12470           Add test for the previous fix; add some more tests
12471           for correct refcounting behaviour; fix a few leaks
12472           in test cases; call gst_controller_init() at start
12473           of all tests.
12474
12475 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12476
12477         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12478         (gst_controller_set_from_list):
12479           Don't g_return_val_if_fail() on timed values with invalid timestamps
12480           inside a critical section without unlocking the mutex. Spotted by
12481           René Stadler. (#357617)
12482           Also, fix up refcounting properly: when returning an existing
12483           controller, we should increase the reference only once and not
12484           once per property and when trying to control a property again
12485           we should also increase the refcount.
12486
12487 2006-09-29  Wim Taymans  <wim@fluendo.com>
12488
12489         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12490         * libs/gst/net/gstnettimeprovider.c:
12491         (gst_net_time_provider_thread):
12492         Stop reading commands when EOF as well.
12493
12494         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12495         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12496         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12497         Unify description of the dump property.
12498
12499 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12500
12501         * tests/examples/manual/.cvsignore:
12502         OK, so it's actually cvsignore that needs changing. Stop laughing.
12503
12504 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12505
12506         * tests/examples/manual/Makefile.am:
12507         Gah, declare vars *before* using them
12508
12509 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12510
12511         * gst/gst.c: (init_pre), (scan_and_update_registry),
12512         (ensure_current_registry_nonforking),
12513         (ensure_current_registry_forking), (ensure_current_registry),
12514         (init_post), (gst_debug_help), (gst_deinit):
12515         * gst/gst_private.h:
12516         * gst/gstregistry.c: (gst_registry_finalize),
12517         (gst_registry_remove_features_for_plugin_unlocked),
12518         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12519         (gst_registry_scan_path),
12520         (_priv_gst_registry_remove_cache_plugins),
12521         (_priv_gst_registry_cleanup):
12522         * gst/gstregistry.h:
12523         Re-commit the registry changes, along with an extra fix:
12524           When a cached plugin is encountered at a different file path,
12525           update the stored path in the registry cache so that the parent
12526           process knows where it actually is now when it re-reads the registry
12527           cache. Fixes the thing that broke distcheck with the previous commit.
12528
12529         * tests/check/Makefile.am:
12530         Clean up files named 'core' too when running make clean.
12531
12532         * tests/examples/manual/Makefile.am:
12533         Set up a registry path for running these tests, and clean it properly
12534         for distcheck.
12535
12536 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12537
12538         * configure.ac:
12539         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12540         want gmodule-no-export-2.0.pc instead so that we don't drag in
12541         --export-dynamic on every project that links to GStreamer.
12542
12543         Also, make our export regex only match the start of symbols, rather 
12544         than any symbol that contains '_gst' somewhere.
12545
12546         * libs/gst/check/Makefile.am:
12547         The libgstcheck we build does however need export-dynamic, as it
12548         produces some symbols that don't match our _gst... style regex.
12549         Fixes: #318031
12550
12551 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12552
12553         * gst/gst.c: (init_pre), (scan_and_update_registry),
12554         (ensure_current_registry_nonforking),
12555         (ensure_current_registry_forking), (ensure_current_registry),
12556         (init_post), (gst_debug_help), (gst_deinit):
12557         * gst/gst_private.h:
12558         * gst/gstregistry.c: (gst_registry_finalize),
12559         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12560         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12561         (_gst_registry_cleanup):
12562         * gst/gstregistry.h:
12563           Revert previous change until I figure out why it breaks distcheck.
12564
12565 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12566
12567         * gst/gst.c: (init_pre), (scan_and_update_registry),
12568         (ensure_current_registry_nonforking),
12569         (ensure_current_registry_forking), (ensure_current_registry),
12570         (init_post), (gst_debug_help), (gst_deinit):
12571
12572           Make init_pre and init_post take the full complement of GOptionFunc
12573           args so they can return useful GErrors. Make the registry updating
12574           functions do so.
12575
12576           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12577           ensure that the registry we're about to write out doesn't contain
12578           stale information about old-deleted plugin files.
12579
12580           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12581           that deletion of plugin files is considered a registry change.
12582
12583         * gst/gst_private.h:
12584         * gst/gstregistry.c: (gst_registry_finalize),
12585         (gst_registry_remove_features_for_plugin_unlocked),
12586         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12587         (gst_registry_scan_path),
12588         (_priv_gst_registry_remove_cache_plugins),
12589         (_priv_gst_registry_cleanup):
12590         * gst/gstregistry.h:
12591         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12592         by adding _priv prefix, so that they won't appear in the global
12593         symbol table. They still do atm though because of #318031. Move the
12594         prototypes to gst_private.h
12595
12596         When removing a plugin, remove all features for that plugin too. 
12597         Fixes #340878.
12598
12599 2006-09-27  Wim Taymans  <wim@fluendo.com>
12600
12601         * docs/random/moving-plugins:
12602         Make it clear that the "compiled-in descriptions" really mean
12603         the element details.
12604
12605         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12606         (gst_base_sink_wait_preroll):
12607         Update docs.
12608
12609         * docs/libs/gstreamer-libs-sections.txt:
12610         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12611         (gst_base_src_get_range), (gst_base_src_activate_push):
12612         * libs/gst/base/gstbasesrc.h:
12613         Added function to block while waiting for PLAYING, this function
12614         is used by live sources that block on the clock.
12615         API: gst_base_src_wait_playing()
12616
12617 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12618
12619         Patch by: Peter Kjellerstedt <pkj at axis com>
12620
12621         * Makefile.am:
12622           gst-element-check.m4 is generated and should therefore be
12623           copied from the build dir rather than the source dir (#357593).
12624           'make distcheck' hasn't noticed this because we were disting
12625           the file as well, so stop doing that.
12626
12627 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12628
12629         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12630           Add some tests for gst_caps_intersect().
12631
12632         * tools/gst-launch.c: (event_loop):
12633           Print all buffering percentages we get, even the 100% one.
12634
12635 2006-09-26  Wim Taymans  <wim@fluendo.com>
12636
12637         * tools/gst-inspect.c: (print_element_properties_info),
12638         (print_signal_info):
12639         Fix printing of flags to match the look of enums.
12640
12641 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12642
12643         * gst/gstelementfactory.c:
12644           Fix typo in docs blurb.
12645
12646 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12647
12648         * gst/gsturi.c: (search_by_entry):
12649           Don't assert/crash here if a uri handler doesn't return any
12650           supported protocols. The list of protocols could be generated
12651           dynamically at runtime or at plugin registration, and an error
12652           in the underlying library shouldn't be fatal (#353301).
12653
12654 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12655
12656         * gst/gstinfo.c:
12657           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12658           (spotted by Peter Kjellerstedt).
12659
12660 2006-09-23  Wim Taymans  <wim@fluendo.com>
12661
12662         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12663
12664         * libs/gst/base/gstbasesrc.c:
12665         (gst_base_src_default_check_get_range), (gst_base_src_start),
12666         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12667         (gst_base_src_change_state):
12668         Match _start/_stop calls in the activate functions. Remove redundant
12669         _stop call from the state change function. Fixes #356910.
12670         Turn failure DEBUG into ERROR. 
12671
12672 2006-09-22  Wim Taymans  <wim@fluendo.com>
12673
12674         * docs/design/part-buffering.txt:
12675         * gst/gstmessage.c: (gst_message_new_buffering),
12676         (gst_message_parse_buffering):
12677         Update docs about buffering.
12678
12679         * docs/design/part-trickmodes.txt:
12680         Fix typo.
12681
12682 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12683
12684         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12685         (gst_controller_new_list):
12686           Ref instances when returning them again (fixes #357180)
12687
12688 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12689
12690         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12691           Don't forget to release proxy lock when there's an error.
12692
12693 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12694
12695         * gst/gstcaps.h:
12696           Add extra initialisers for Caps things, to fix some plugin warnings
12697           when using -Wextra
12698
12699 2006-09-18  Wim Taymans  <wim@fluendo.com>
12700
12701         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12702           Also set template on the internal pad so that a getcaps from the 
12703           target pad returns the template caps.
12704
12705 2006-09-18  Wim Taymans  <wim@fluendo.com>
12706
12707         * gst/gstelement.c: (gst_element_post_message),
12708         (gst_element_dispose):
12709         Use _DEBUG_OBJECT some more.
12710
12711         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12712         Avoid typechecks.
12713
12714         * tools/gst-launch.c: (main):
12715         If the toplevel element is not a GstPipeline, it must be put in a
12716         pipeline so that a bus and clock is selected.
12717
12718 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12719
12720         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12721           JITTER, RATE, and LATENCY query should be handled by the
12722           default case and not by the CONVERT query code.
12723
12724 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12725
12726         * gst/gstformat.c: (gst_format_register):
12727           Fix locking order (must take lock before using n_values).
12728
12729         * gst/gstvalue.c: (gst_value_serialize_enum),
12730         (gst_value_deserialize_enum_iter_cmp),
12731         (gst_value_deserialize_enum):
12732           Fix serialisation/deserialisation of custom registered GstFormats.
12733
12734         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12735           Unit test for custom format serialisation/deserialisation.
12736
12737 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12738
12739         * docs/pwg/building-boiler.xml:
12740         * plugins/elements/gstcapsfilter.c:
12741         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12742         section.
12743
12744 2006-09-16  Edward Hervey  <edward@fluendo.com>
12745
12746         * libs/gst/base/gstbasetransform.c:
12747         (gst_base_transform_buffer_alloc):
12748         Check if requested caps are the same as the sinks caps IF
12749         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12750         is FALSE.
12751         This fixes the renegotiation issues stated in #352827.
12752
12753 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12754
12755         * configure.ac:
12756         * docs/manual/advanced-autoplugging.xml:
12757         * tests/examples/Makefile.am:
12758         * tests/examples/manual/.cvsignore:
12759         * tests/examples/manual/Makefile.am:
12760         * tests/examples/manual/extract.pl:
12761           Extract the manual examples again like we used to do.
12762           Fix one of them.
12763
12764 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12765
12766         * win32/common/config.h:
12767           update for version
12768
12769 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12770
12771         * gst/gsterror.c:
12772           Documents how to receive errors.
12773
12774 2006-09-15  Wim Taymans  <wim@fluendo.com>
12775
12776         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12777         (event_loop), (main):
12778         Added some comments here and there.
12779         Post an application message when an interrupt is caught instead of doing
12780         an uncontrolled state change.
12781         Clean up the event loop.
12782         Handle buffering messages, pause/resume the pipeline.
12783         Make shutdown because of an interrupt more reliable.
12784
12785 2006-09-15  Wim Taymans  <wim@fluendo.com>
12786
12787         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12788         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12789         (gst_base_sink_preroll_object):
12790         Make sure that our internal state is correct when we commit our state
12791         asynchronously. This solves a race where a state change to PLAYING
12792         could cause the sink to remain blocked in preroll in some situations.
12793
12794 2006-09-15  Wim Taymans  <wim@fluendo.com>
12795
12796         * tools/gst-inspect.c: (print_element_properties_info),
12797         (print_signal_info):
12798         List flags as hex so it's easier to deal with.
12799
12800 2006-09-15  Wim Taymans  <wim@fluendo.com>
12801
12802         * docs/libs/gstreamer-libs-sections.txt:
12803         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12804         (gst_base_sink_do_sync):
12805         * libs/gst/base/gstbasesink.h:
12806         Expose logic to wait for preroll so that subclasses such as audiosink
12807         can also use this method.
12808         API: gst_base_sink_wait_preroll()
12809
12810 2006-09-15  Wim Taymans  <wim@fluendo.com>
12811
12812         * gst/gstobject.c: (gst_object_set_parent):
12813         * gst/gstpipeline.c: (do_pipeline_seek):
12814         Small cleanups in docs and code.
12815
12816         * gst/gstsegment.c: (gst_segment_clip):
12817         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12818         if stop == start and start is in the segment, no clipping should be
12819         done. Also add a test for this.
12820
12821 2006-09-15  Wim Taymans  <wim@fluendo.com>
12822
12823         * docs/design/part-buffering.txt:
12824         * docs/gst/gstreamer-sections.txt:
12825         * gst/gstmessage.c: (gst_message_new_buffering),
12826         (gst_message_parse_buffering):
12827         * gst/gstmessage.h:
12828         Added methods to create and parse BUFFERING messages.
12829         Added preliminary docs about buffering.
12830         API: gst_message_new_buffering
12831         API: gst_message_parse_buffering
12832
12833 2006-09-06  Wim Taymans  <wim@fluendo.com>
12834
12835         * gst/gstbin.c:
12836         Update documentation.
12837
12838         * gst/gstelement.c: (gst_element_class_init),
12839         (gst_element_release_request_pad), (gst_element_set_clock),
12840         (gst_element_get_index), (gst_element_add_pad),
12841         (gst_element_remove_pad), (gst_element_get_random_pad),
12842         (gst_element_send_event), (gst_element_get_query_types),
12843         (gst_element_query), (gst_element_post_message),
12844         (gst_element_message_full), (gst_element_continue_state),
12845         (gst_element_lost_state), (gst_element_save_thyself),
12846         (gst_element_restore_thyself):
12847         Documentation updates.
12848         Rename last bit of the new-pad -> pad-added signal rename.
12849         Fix the case where an element query would only work if the source
12850         pad was linked.
12851         Avoid some useless type checking in message handling.
12852
12853         * gst/gstevent.c:
12854         * gst/gstevent.h:
12855         * gst/gstutils.c:
12856         Documentation updates.
12857
12858 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12859
12860         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12861           add an INFO line for when we actually update the fd
12862
12863 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12864
12865         * configure.ac:
12866           back to TRUNK
12867
12868 === release 0.10.10 ===
12869
12870 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12871
12872         * configure.ac:
12873           releasing 0.10.10, "Pais"
12874
12875 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12876
12877         * docs/manual/advanced-position.xml:
12878           Fix typo in sample code.
12879
12880 2006-09-05  Wim Taymans  <wim@fluendo.com>
12881
12882         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12883         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12884         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12885         * libs/gst/net/gstnetclientclock.h:
12886         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12887         * libs/gst/net/gstnettimepacket.h:
12888         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12889         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12890         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12891         * libs/gst/net/gstnettimeprovider.h:
12892         Make stuff compile on windows. Fixes #345295.
12893
12894 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12895
12896         * gst/gst.c: (ensure_current_registry_forking):
12897           Print better details when child was terminated by signal.
12898
12899 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12900
12901         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12902           Print a warning rather than g_assert() if a plugin feature
12903           is a URI handler but returns no protocols (#353976).
12904
12905 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12906
12907         * docs/random/moving-plugins:
12908         Fix two typos.         
12909
12910 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12911
12912         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12913           Fix locking order, handle NULL function values properly.
12914
12915         * gst/gstinfo.h:
12916           Fix docs.
12917
12918         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12919           Initialise variable before using it and fix debug statement to
12920           print the address of the function rather than the address of the
12921           variable on the stack holding the address of the function.
12922
12923 2006-09-01  Wim Taymans  <wim@fluendo.com>
12924
12925         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12926         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12927         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12928         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12929         (gst_ghost_pad_parent_unset),
12930         (gst_ghost_pad_internal_do_activate_push),
12931         (gst_ghost_pad_internal_do_activate_pull),
12932         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12933         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12934         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12935         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12936         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12937         (gst_ghost_pad_new_no_target_from_template),
12938         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12939         More cleanups.
12940         Avoid needless typechecking in macros.
12941         Since the internal pad is always present and never changes, there is
12942         no need to locking or ref when retrieving it.
12943         Improve debugging a bit.
12944         Handle link errors when setting the target. Fixes #341029.
12945
12946 2006-09-01  Wim Taymans  <wim@fluendo.com>
12947
12948         * docs/libs/gstreamer-libs-sections.txt:
12949         * docs/plugins/gstreamer-plugins-sections.txt:
12950         Fix docs some more.
12951
12952         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12953         (gst_collect_pads_event):
12954         * libs/gst/base/gstcollectpads.h:
12955         Documentation updates.
12956         Free queued buffer when removing a pad.
12957
12958 2006-08-31  Michael Smith  <msmith@fluendo.com>
12959
12960         * gst/gstutils.c: (gst_element_link_pads),
12961         (gst_element_link_pads_filtered):
12962           Ensure that we set a capsfilter to NULL if we failed to link it
12963           when doing filtered linking, to avoid criticals.
12964
12965           No need to check for unreffing srcpad, which is explicly NULLed
12966           above (a trivial code cleanup).
12967
12968 2006-08-31  Wim Taymans  <wim@fluendo.com>
12969
12970         * docs/design/part-gstghostpad.txt:
12971         Update ascii art in documentation.
12972
12973         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12974         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12975         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12976         (gst_ghost_pad_internal_do_activate_push),
12977         (gst_ghost_pad_internal_do_activate_pull),
12978         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12979         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12980         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12981         (gst_ghost_pad_set_target):
12982         Small cleanups and leak fixes.
12983         Remove some checks now that the internal pad is never NULL.
12984         Fix the case where linking pads without a target would create nasty
12985         criticals. Fixes #341029.
12986         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12987         value of _set_target().
12988
12989         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12990         (gst_ghost_pad_suite):
12991         Some more tests for creating and linking untargeted ghostpads.
12992
12993 2006-08-31  Edward Hervey  <edward@fluendo.com>
12994
12995         * docs/gst/gstreamer-sections.txt:
12996         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12997         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12998         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12999         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
13000         (gst_ghost_pad_new_from_template),
13001         (gst_ghost_pad_new_no_target_from_template):
13002         * gst/gstghostpad.h:
13003         Refactored *_new() functions.
13004         Templates are now used as a g_object_new() parameter.
13005         Use template in _do_getcaps() if we don't have a target.
13006         Small documentation cleanups.
13007         Added two new constructors:
13008         gst_ghost_pad_new_from_template()
13009         gst_ghost_pad_new_no_target_from_template()
13010         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
13011         (gst_ghost_pad_suite):
13012         Added tests for new ghostpad instanciation functions.
13013
13014         API additions: gst_ghost_pad_new_from_template,
13015         gst_ghost_pad_new_no_target_from_template
13016
13017 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
13018
13019         * docs/random/ensonic/profiling.txt:
13020           Ideas about qos profiling.
13021
13022 2006-08-29  Wim Taymans  <wim@fluendo.com>
13023
13024         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
13025         Code cleanups.
13026         Fix memleak.
13027
13028 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
13029
13030         * gst/gstxml.c:
13031           Improve and detypofy docs.
13032
13033         * tests/check/Makefile.am:
13034         * tests/check/gst/.cvsignore:
13035         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
13036           Add a basic test suite for GstXML.
13037
13038 2006-08-29  Wim Taymans  <wim@fluendo.com>
13039
13040         * gst/gstelement.c: (activate_pads), (clear_caps),
13041         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13042         Clear the pad caps when the element shut down all of the pads and
13043         is not streaming data that could modify the caps. 
13044         Fixes #352958.
13045
13046 2006-08-28  Michael Smith  <msmith@fluendo.com>
13047
13048         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13049           Revert previous change; I misunderstood single-segment mode.
13050
13051 2006-08-28  Michael Smith  <msmith@fluendo.com>
13052
13053         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13054           Unset DISCONT on buffers when using single-segment mode.
13055
13056 2006-08-28  Wim Taymans  <wim@fluendo.com>
13057
13058         * gst/gstcaps.c: (gst_caps_merge_structure):
13059         * gst/gstcaps.h:
13060         Fix docs and indentation again.
13061
13062         * tests/check/gst/gstquery.c: (GST_START_TEST):
13063         Fix leak in tests and add some more tests.
13064
13065 2006-08-28  Edward Hervey  <edward@fluendo.com>
13066
13067         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13068         Inform GstSegment of the last stop position in order for the current
13069         segment to have a proper duration if it doesn't have a specific stop
13070         position from which a duration could be calculated.
13071         This bug was noticeable when a non-flushing, non-update new segment was
13072         followed by another segment (all buffers from the new segment were being
13073         dropped).
13074
13075 2006-08-28  Wim Taymans  <wim@fluendo.com>
13076
13077         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13078         Small comment update.
13079
13080         * plugins/elements/gstidentity.c: (gst_identity_class_init),
13081         (gst_identity_transform_ip):
13082         Drop-probability is broken, mention this in the code with a 
13083         FIXME and also in the property description.
13084         Make silent also be silent about the drop messages.
13085
13086 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
13087
13088         * docs/manual/appendix-win32.xml:
13089           Remove mention of popt, we don't depend on that any
13090           longer (#353136). Add some comments pointing out that
13091           this section is slightly outdated.
13092
13093 2006-08-28  Wim Taymans  <wim@fluendo.com>
13094
13095         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13096
13097         * gst/gstquery.c: (gst_query_new_segment):
13098         * tests/check/gst/gstquery.c: (GST_START_TEST):
13099         Initialize variables when creating a new segment query.
13100         Fixes #353121.
13101
13102 2006-08-28  Wim Taymans  <wim@fluendo.com>
13103
13104         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13105
13106         * gst/gstelement.c: (gst_element_get_bus):
13107         * tests/check/gst/gstelement.c: (GST_START_TEST):
13108         Check for NULL before _reffing the bus. Fixes #353122.
13109
13110 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
13111
13112         * docs/manual/basics-bus.xml:
13113           Docs update: fix wrong callback return value explanation; add
13114           some lines about the implicit relationship between main loop
13115           and main context; remove duplicate main loop variable declaration.
13116
13117 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
13118
13119         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13120           Don't leak caps in unit test; add a few more simple
13121           checks. 
13122
13123 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
13124
13125         * docs/gst/gstreamer-sections.txt:
13126         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
13127         (gst_caps_structure_is_subset), (gst_caps_merge),
13128         (gst_caps_merge_structure):
13129         * gst/gstcaps.h:
13130         * libs/gst/base/gstbasetransform.c:
13131         (gst_base_transform_transform_caps):
13132         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13133           implement caps merging (fixes #352580)
13134
13135 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
13136
13137         * tools/Makefile.am:
13138         * tools/gst-plot-timeline.py:
13139           add debug-log plotting developer tool (#340674)
13140
13141 2006-08-23  Wim Taymans  <wim@fluendo.com>
13142
13143         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
13144         (gst_pad_stop_task):
13145         Improve debugging for task functions.
13146
13147         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
13148         (gst_task_start), (gst_task_pause), (gst_task_join):
13149         Make sure that the task function started and finished after a 
13150         join(). 
13151         Don't try to push the task function on the threadpool multiple
13152         times.
13153         Improve the g_warning message with some useful suggestions
13154         about how to fix the problem. 
13155
13156 2006-08-23  Wim Taymans  <wim@fluendo.com>
13157
13158         * gst/gstutils.c: (gst_pad_proxy_getcaps):
13159         Handle RESYNC correctly in _proxy_getcaps.
13160
13161 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
13162
13163         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
13164         (gst_xml_parse_memory), (gst_xml_get_element):
13165           Chain up to parent class in dispose function and also
13166           unref the elements in the toplevel_elements GList.
13167           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
13168           Always return a reference in gst_xml_get_element() rather
13169           than only sometimes.
13170
13171         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13172           Don't leak GstXml object.
13173
13174 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
13175
13176         * docs/gst/gstreamer-sections.txt:
13177         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
13178         (gst_caps_merge):
13179         * gst/gstcaps.h:
13180         * libs/gst/base/gstbasetransform.c:
13181         (gst_base_transform_transform_caps):
13182           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13183           in a better way
13184
13185 2006-08-21  Edward Hervey  <edward@fluendo.com>
13186
13187         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13188         Implement GObject::dispose virtual method in GstXML so we can free the
13189         top_elements GList.
13190
13191 2006-08-21  Wim Taymans  <wim@fluendo.com>
13192
13193         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13194         (gst_buffer_create_sub):
13195         Copy duration/offset_end/caps when creating a subbuffer of the
13196         complete parent.
13197         Make the subbuffer read-only when we make the metadata writable for
13198         now. Fixes #351768.
13199
13200         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13201         Added check for metadata copy when creating subbuffers.
13202
13203 2006-08-21  Edward Hervey  <edward@fluendo.com>
13204
13205         * libs/gst/base/gstbasetransform.c:
13206         (gst_base_transform_buffer_alloc):
13207         Only call downstream buffer_alloc if transform element is passthrough
13208         or always_in_place. Closes #350449.
13209
13210 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13211
13212         * ChangeLog:
13213           ChangeLog surgery to add comments to previous changes
13214
13215 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13216
13217         * gst/gst.c:
13218           Add comments
13219
13220         * gst/gstpad.c: (gst_pad_set_active):
13221           Be more verbose in the log
13222
13223         * libs/gst/base/gstbasetransform.c:
13224         (gst_base_transform_transform_caps):
13225           Simplify caps to get rid of duplicates, fixes #345444
13226
13227 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13228
13229         * gst/gstvalue.c:
13230         * gst/gstvalue.h:
13231           Use these optimizations only internally.
13232
13233 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13234
13235         * gst/gstvalue.c: (gst_value_compare_list),
13236         (gst_value_compare_fraction_range),
13237         (gst_value_intersect_fraction_fraction_range),
13238         (gst_value_intersect_fraction_range_fraction_range),
13239         (gst_value_subtract_fraction_fraction_range),
13240         (gst_value_subtract_fraction_range_fraction_range),
13241         (gst_value_get_compare_func), (gst_value_compare),
13242         (gst_value_compare_with_func):
13243         * gst/gstvalue.h:
13244           Saves the expensive lookup of the compare function in many cases
13245          (#345444)
13246
13247 2006-08-18  Edward Hervey  <edward@fluendo.com>
13248
13249         * tests/check/gst/gstinfo.c: (gst_info_suite):
13250         Disable test that require gstdebug if it wasn't built in core.
13251
13252 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13253
13254         * docs/random/ensonic/logging.txt:
13255           update ideas
13256           
13257         * gst/gstinfo.c: (gst_debug_log_default):
13258           reorder fields, save some columns, add optional color codes for log
13259           levels
13260
13261 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13262
13263         * docs/random/ensonic/logging.txt:
13264           add ideas about making the logs a bit more useful
13265
13266 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13267
13268         * docs/pwg/advanced-events.xml:
13269         * docs/pwg/titlepage.xml:
13270           Update for 0.10 API (#340627). Add myself
13271           to authors list.
13272
13273 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13274
13275         * docs/libs/gstreamer-libs-docs.sgml:
13276         * docs/libs/gstreamer-libs-sections.txt:
13277         * libs/gst/check/gstbufferstraw.c:
13278           Make gstcheck stuff show up in docs (still needs to
13279           be documented properly though).
13280
13281 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
13282
13283         * docs/gst/gstreamer-sections.txt:
13284         * gst/Makefile.am:
13285         * gst/gst.c: (init_post):
13286         * gst/gst_private.h:
13287         * gst/gstquark.c: (_priv_gst_quarks_initialize):
13288         * gst/gstquark.h:
13289         * gst/gstquery.c: (gst_query_new_position),
13290         (gst_query_set_position), (gst_query_parse_position),
13291         (gst_query_new_duration), (gst_query_set_duration),
13292         (gst_query_parse_duration), (gst_query_new_convert),
13293         (gst_query_set_convert), (gst_query_parse_convert),
13294         (gst_query_new_segment), (gst_query_set_segment),
13295         (gst_query_parse_segment), (gst_query_new_seeking),
13296         (gst_query_set_seeking), (gst_query_parse_seeking):
13297         Add internal helpers for pre-registering quarks from static strings
13298         and using the quark values directly instead of looking them up when
13299         creating and parsing queries. Can be used for event construction too.
13300         Closes #350432.
13301
13302 2006-08-16  Wim Taymans  <wim@fluendo.com>
13303
13304         * gst/gstbin.c:
13305         Fix bogus docs.
13306
13307 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13308
13309         * gst/gstutils.c: (gst_util_set_value_from_string):
13310           Fix memleak (#351502).
13311
13312         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13313           Add unit test for most of gst_util_set_value_from_string()
13314           (not that one would want to encourage use of this function).
13315
13316 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13317
13318         * libs/gst/check/gstcheck.h:
13319           Use const gchar * variables in fail_unless_equals_string
13320           macro to avoid compiler warnings (and don't use tabs for
13321           indenting).
13322
13323 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13324
13325         * tools/gst-launch.c: (print_tag):
13326           More space on the left for the tag names, to cater
13327           for the 'extended comment' tag (not touching the
13328           string for the first line since it's translated).
13329
13330 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13331
13332         * libs/gst/check/gstcheck.h:
13333           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13334           print something when they fail.
13335
13336 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13337
13338         * docs/gst/gstreamer-sections.txt:
13339         * gst/gsttaglist.c: (_gst_tag_initialize):
13340         * gst/gsttaglist.h:
13341           API: add GST_TAG_EXTENDED_COMMENT (#350935).
13342           Also change merge function for GST_TAG_COMMENT to
13343           use_first.
13344
13345 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13346
13347         * gst/gstinfo.c: (gst_debug_print_object):
13348           Make GST_PTR_FORMAT print messages as well.
13349
13350         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13351         (GST_START_TEST), (gst_info_suite):
13352           More tests.
13353
13354 2006-08-14  Edward Hervey  <edward@fluendo.com>
13355
13356         * gst/gstelementfactory.c: (gst_element_register):
13357         If the GstElementClass doesn't have a GstElementDetails with all fields
13358         filled up correctly (longname, description AND author), then error out
13359         nicely instead of crashing.
13360
13361 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13362
13363         * gst/gststructure.c:
13364           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13365
13366         * gst/gstvalue.h:
13367           Expand on the difference between arrays and lists as we use them.
13368           
13369 2006-08-14  Wim Taymans  <wim@fluendo.com>
13370
13371         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13372         If the parent state change function failed, don't assume we can safely
13373         stop the source, this will be done when the pads are deactivated.
13374
13375 2006-08-14  Wim Taymans  <wim@fluendo.com>
13376
13377         * gst/gstbuffer.c:
13378         * gst/gsttask.c: (gst_task_join):
13379         Small doc updates.
13380
13381         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13382         (gst_pad_stop_task):
13383         When pad (de)activation failed for some reason, restore the old
13384         activation mode and set the pad to flushing instead of assuming the
13385         pad is deactivated.
13386         If the _task_join() failed, reinstall the task on the pad so that it can
13387         be stopped later and return an error.
13388
13389 2006-08-11  Andy Wingo  <wingo@pobox.com>
13390
13391         * configure.ac:
13392         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13393         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13394         is only for users of API that don't want to see deprecated
13395         functions in the headers; people that want to compile out
13396         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13397         CFLAGS. Fixes the build of multifdsink, or will soon..
13398
13399 2006-08-11  Wim Taymans  <wim@fluendo.com>
13400
13401         * docs/gst/gstreamer-sections.txt:
13402         Add GstClockClass vmethod docs.
13403
13404         * gst/gstcaps.h:
13405         Mark #endif with comment for associated #if
13406
13407         * gst/gstclock.c: (gst_clock_id_wait):
13408         * gst/gstclock.h:
13409         Add vmethod wait_jitter to avoid an unneeded _get_time() for
13410         most clock implementations.
13411         Document vmethods.
13412         Flesh out docs about resolution methods.
13413         API: GstClockClass::wait_jitter
13414
13415         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13416         (gst_system_clock_async_thread),
13417         (gst_system_clock_id_wait_jitter_unlocked),
13418         (gst_system_clock_id_wait_jitter):
13419         Use base class wait_jitter variant for improved performance
13420         due to less clock polling.
13421
13422 2006-08-11  Edward Hervey  <edward@fluendo.com>
13423
13424         * gst/gst.c: (gst_init_check), (init_post):
13425         Set gst as being initialized before scanning/updating the registry,
13426         since there might be my python plugin loader that calls gst_init() and
13427         we don't want to loop back in.
13428         Closes #350879
13429
13430 2006-08-11  Wim Taymans  <wim@fluendo.com>
13431
13432         * docs/design/part-qos.txt:
13433         Bring docs in line with the code. Mostly the sign of the jitter was
13434         wrong in the docs. Fixes #349943.
13435
13436         * gst/gstclock.c:
13437         Fix the docs for the jitter.
13438
13439         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13440         (gst_event_parse_tag), (gst_event_new_buffer_size),
13441         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13442         (gst_event_new_seek), (gst_event_parse_seek),
13443         (gst_event_new_navigation):
13444         Make sure the GstStructure has no parent when creating custom
13445         events.
13446         Add some more argument checking so that we avoid 0.0 rates.
13447         Flesh out the docs for the QoS event some more.
13448
13449 2006-08-11  Wim Taymans  <wim@fluendo.com>
13450
13451         * docs/gst/gstreamer-sections.txt:
13452         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13453         (ensure_current_registry_forking), (ensure_current_registry),
13454         (parse_one_option), (parse_goption_arg), (gst_deinit),
13455         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13456         * gst/gst.h:
13457         Doc updates.
13458         Added API and command line option to disable registry forking in
13459         addition to the environment variable.
13460         Constify some static arrays.
13461         Added some more debug.
13462         Don't deinit twice.
13463         API: gst_registry_fork_is_enabled()
13464         API: gst_registry_fork_set_enabled()
13465         API: --gst-disable-registry-fork command line option
13466         Fixes #348918.
13467
13468 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13469
13470         * gst/gst.c: (gst_init):
13471           Fix typo in error message.
13472
13473 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13474
13475         * libs/gst/controller/gstcontroller.h:
13476           fix ABI size-correction
13477
13478         * tests/check/libs/gdp.c: (gst_dp_suite):
13479           make tests that use deprecated API conditional
13480
13481 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13482
13483         * docs/libs/gstreamer-libs-sections.txt:
13484         * libs/gst/controller/gstcontroller.c:
13485         (_gst_controller_get_property), (_gst_controller_set_property),
13486         (_gst_controller_init), (_gst_controller_class_init):
13487         * libs/gst/controller/gstcontroller.h:
13488         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13489         (gst_object_set_control_rate):
13490           API: add gst_object_{s,g}et_control_rate(), add private data section,
13491           fix docs
13492
13493         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13494         * libs/gst/dataprotocol/dataprotocol.h:
13495           add deprecation guards to make gtk-doc happy and allow disabling cruft
13496
13497 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13498
13499         * tests/check/Makefile.am:
13500         * tests/check/gst/.cvsignore:
13501           Let's enable the new unit test as well.
13502
13503 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13504
13505         * configure.ac:
13506         * docs/gst/gstreamer-sections.txt:
13507         * gst/gstconfig.h.in:
13508         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13509         (_gst_info_printf_extension_ptr),
13510         (_gst_info_printf_extension_segment):
13511           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13512           register that lets us easily dump GstSegments into debug
13513           logs (#350419).
13514
13515         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13516         (info_segment_format_printf_extension), (gst_info_suite):
13517           Add simple unit test that logs a bunch of different segments (not
13518           valgrinded at the moment because of leaks in
13519           gst_debug_add_log_function).
13520
13521 2006-08-09  Edward Hervey  <edward@fluendo.com>
13522
13523         * libs/gst/base/gstbasetransform.c:
13524         (gst_base_transform_buffer_alloc):
13525         Even if we can't figure out the proper format to request downstream,
13526         call buffer_alloc() downstream with the input parameters without setting
13527         the caps on the srcpad. This will force negotiation in the chain
13528         function.
13529         Closes #350449
13530
13531 2006-08-08  Edward Hervey  <edward@fluendo.com>
13532
13533         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13534         Unlinking from a pad without a target is now a perfectly valid case
13535         which should NOT raise an assertion.
13536         This case would happen if a linked ghostpad its target set to NULL after
13537         it was previously linked.
13538
13539 2006-08-08  Edward Hervey  <edward@fluendo.com>
13540
13541         * tests/check/libs/gdp.c:
13542         Also comment out the test (see below).
13543
13544 2006-08-08  Edward Hervey  <edward@fluendo.com>
13545
13546         * tests/check/libs/gdp.c: (gst_dp_suite):
13547         Use the architecture information from config.h and not gcc macros
13548         in order to properly disable a test that fails on PPC64.
13549
13550 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13551
13552         * gst/gstelement.c: (gst_element_remove_pad):
13553           Don't crash printing the warning if the pad has no parent.
13554
13555 2006-08-02  Wim Taymans  <wim@fluendo.com>
13556
13557         * libs/gst/dataprotocol/dataprotocol.c:
13558         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13559         (gst_dp_crc), (gst_dp_header_payload_length),
13560         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13561         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13562         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13563         (gst_dp_event_from_packet), (gst_dp_validate_header),
13564         (gst_dp_validate_payload):
13565         Make debug category static
13566         Constify the crc table.
13567         Do some more arg checking in public functions.
13568         Fix some docs and do some small cleanups.
13569
13570         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13571         Add some more checks to see if GDP deals with bogus input.
13572
13573 2006-07-31  Wim Taymans  <wim@fluendo.com>
13574
13575         * gst/gstvalue.c: (gst_value_compare_list):
13576         Fix GstValueList comparison code. Fixes #347293.
13577
13578         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13579         Check to test GstValueList comparison.
13580
13581 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13582
13583         * gst/gstelementfactory.c: (gst_element_factory_create):
13584         Remove unnecessary ref/unref pair
13585
13586         * gst/parse/grammar.y:
13587         Make sure to free the parse buffer on all code paths.
13588         Move a g_free up to the error handler where it's easier to see.
13589
13590         * tests/check/gst/gstevent.c: (test_event):
13591         Extending timeout for downstream travelling events to 10 seconds to
13592         hopefully avoid intermittent failure on the buildbots.
13593
13594         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13595         Don't manually set the state of the src element - it will happen as a
13596         natural consequence of the pipeline changing state, and that way it
13597         will do it in the right order too.
13598
13599 2006-07-31  Wim Taymans  <wim@fluendo.com>
13600
13601         * libs/gst/base/gstbasetransform.c:
13602         (gst_base_transform_buffer_alloc):
13603         Use OBJECT_LOCK and refcounting to get the pad caps in the
13604         buffer_alloc function because the caps could change while we are
13605         busy with them. Fixes #349105
13606
13607 2006-07-31  Wim Taymans  <wim@fluendo.com>
13608
13609         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13610         Protect _PAD_CAPS with OBJECT_LOCK.
13611
13612 2006-07-31  Wim Taymans  <wim@fluendo.com>
13613
13614         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13615         (gst_pad_get_property), (gst_pad_activate_pull),
13616         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13617         (gst_pad_set_activate_function),
13618         (gst_pad_set_activatepull_function),
13619         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13620         (gst_pad_set_getrange_function),
13621         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13622         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13623         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13624         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13625         (gst_pad_set_acceptcaps_function),
13626         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13627         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13628         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13629         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13630         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13631         (gst_pad_configure_sink), (gst_pad_configure_src),
13632         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13633         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13634         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13635         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13636         (gst_pad_send_event):
13637         Use _DEBUG_OBJECT when it makes sense.
13638         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13639         Small cleanups and code reflows.
13640         Avoid caps refcounting in _accept_caps.
13641         Refactor alloc_buffer so that the code performed on the peer is in a
13642         separate function. Also if the pad does not implement a buffer alloc
13643         function, we should still check if the pad is flushing before falling
13644         back to the default allocator.
13645
13646 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13647
13648         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13649         Make all uses of identity and fakesink have silent=true to avoid
13650         serialising every passing data structure, which is breaking tests
13651         on FC4 for some unknown reason.
13652
13653 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13654
13655         * gst/parse/Makefile.am:
13656         * gst/parse/grammar.y:
13657         * gst/parse/parse.l:
13658           Reverted previous patch as it required to bump the flex dependency to
13659           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13660
13661 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13662
13663         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13664
13665         * gst/parse/Makefile.am:
13666         * gst/parse/grammar.y:
13667         * gst/parse/parse.l:
13668           push & pop the state of the lexer for reentrant use case
13669           Fixes #349180
13670
13671 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13672
13673         * libs/gst/base/gstbasesrc.h:
13674           Note in the docs that the ::newsegment vfunc is not actually used by
13675           GstBaseSrc.
13676
13677 2006-07-28  Wim Taymans  <wim@fluendo.com>
13678
13679         * libs/gst/base/gstcollectpads.c:
13680         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13681         (gst_collect_pads_clear), (gst_collect_pads_flush),
13682         (gst_collect_pads_event), (gst_collect_pads_chain):
13683         When flushing a pad, also clear the queued buffer so that we don't
13684         accidentally use it when we shouldn't.
13685         Fix leaks by inreffing incomming buffer.
13686         Flush out queued buffers in case of errors.
13687         Fixes #347452.
13688
13689 2006-07-28  Wim Taymans  <wim@fluendo.com>
13690
13691         * docs/random/phonon-gst:
13692         Random notes about a Phonon backend.
13693
13694 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13695
13696         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13697         Extra debug output
13698         * tests/check/libs/gdp.c: (gst_dp_suite):
13699         Take a whack at fixing the ppc compile using a different define to
13700         disable the broken test.
13701
13702         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13703         Remove excess g_print()
13704
13705 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13706
13707         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13708         Oops, meant to uncomment this line too to dampen the noise a bit.
13709
13710 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13711
13712         * gst/parse/grammar.y:
13713         * gst/parse/parse.l:
13714         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13715         (GST_START_TEST), (parse_suite):
13716         Fix some of the leaks exposed by extending the parse-launch testsuite,
13717         and move the 3 I can't figure out into a separate test that won't run
13718         the pipelines unless the appropriate line is uncommented.
13719
13720 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13721
13722         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13723           Requesting 0 bytes before the end of the file should result in
13724           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13725           unit test.
13726
13727 2006-07-27  Wim Taymans  <wim@fluendo.com>
13728
13729         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13730         Fix useless assert, a uint is always positive.
13731
13732         * gst/gststructure.c: (gst_structure_nth_field_name),
13733         (gst_structure_foreach), (gst_structure_map_in_place):
13734         Check input arguments for public functions to avoid obvious crashes.
13735
13736         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13737         * plugins/elements/gstfakesink.h:
13738         Do less useless typechecking.
13739
13740 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13741
13742         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13743           Do not use mmap() by default since there are a number of error
13744           conditions that we would like to handle in a non-fatal way that
13745           will result in a SIGBUS if we use mmap(). Examples: external
13746           devices (USB harddrive, portable music player) being unplugged
13747           while in use; file on mounted CD/DVD that can't be read because
13748           the medium is partly damaged. Fixes #348455 and #348475.
13749
13750 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13751
13752         * gst/gstquery.h:
13753         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13754         rates are a gdouble
13755
13756 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13757
13758         * gst/gstregistry.c:
13759           Move big documentation comment into class section header, so that it
13760           appears in the API docs.
13761
13762 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13763
13764         * docs/gst/gstreamer-sections.txt:
13765         Oops. Commit the docs additions too for new API.
13766         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13767
13768 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13769
13770         * gst/gststructure.c: (gst_structure_id_set),
13771         (gst_structure_id_set_valist):
13772         * gst/gststructure.h:
13773         Add API for setting values into structures without performing
13774         a quark lookup, if the appropriate quark is already known.
13775
13776         API: gst_structure_id_set
13777         API: gst_structure_id_set_valist
13778
13779         * gst/parse/grammar.y:
13780         * gst/parse/parse.l:
13781         Remove some dead code shown by the coverage information.
13782         Don't throw a critical g_warning when encountering a syntax error,
13783         just warn and let the normal error path handle it.
13784
13785         * plugins/elements/gstelements.c:
13786         Bump the rank of filesink up to PRIMARY so that it is preferred over
13787         gnomevfssink for file:// sink uri's
13788
13789         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13790         (GST_START_TEST), (run_delayed_test),
13791         (gst_parse_test_element_base_init),
13792         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13793         (gst_parse_test_element_change_state),
13794         (gst_register_parse_element), (parse_suite):
13795         Beef up the tests for parse syntax to check that more error cases
13796         fail as they are supposed to. Increases the test coverage a bit.
13797
13798 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13799
13800         * docs/manual/basics-elements.xml:
13801           Fix gst_element_link() example.
13802
13803         * gst/gstutils.c:
13804           Mention in API docs that one should usually gst_bin_add()
13805           elements to a bin or pipeline before doing the linking.
13806           
13807 2006-07-26  Wim Taymans  <wim@fluendo.com>
13808
13809         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13810         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13811         Avoid function call for known types by keeping the buffer and
13812         subbuffer GType global.
13813
13814         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13815         Random silly optimisations in read() path.
13816
13817 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13818
13819         * tools/gst-launch.c: (main):
13820           If the top-level of the parse is a normal bin, it doesn't do the
13821           right logic to run as a top-level element, so place it inside a
13822           pipeline.
13823
13824 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13825
13826         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13827           Remove superfluous g_object_notify() calls, GObject does
13828           that for us automatically.
13829
13830 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13831
13832         * gst/gstinfo.h:
13833           on Win32, use dllspec to export the debug category symbols
13834
13835 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13836
13837         * gst/gsttaglist.c: (_gst_tag_initialize):
13838           Allow more than one GST_TAG_IMAGE per taglist.
13839
13840 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13841
13842         * gst/gstminiobject.c:
13843           update docs
13844         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13845         (gst_fd_src_create):
13846           log recurring events at LOG level
13847           add more debug for when the fd gets set
13848
13849 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13850
13851         * gst/gstparse.c: (gst_parse_launch):
13852           Also remove reentrance checks if flex is MT safe (#348179)
13853          Fix my empty ChangeLog entry below
13854
13855 2006-07-21  Andy Wingo  <wingo@pobox.com>
13856
13857         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13858
13859         * libs/gst/check/Makefile.am
13860         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13861         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13862         * libs/gst/check/gstbufferstraw.h:
13863         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13864         functions, thus proving I am still a GStreamer haxor. OK I wrote
13865         them a long time ago, but anyways.
13866
13867 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13868
13869         * configure.ac:
13870         * gst/gstparse.c: (gst_parse_launch):
13871           Check for flex version and omit mutex if we have a MT save flex
13872           (fixes #348179)
13873
13874 2006-07-21  Wim Taymans  <wim@fluendo.com>
13875
13876         * gst/gstparse.c: (gst_parse_launch):
13877         Protect recursive calls to _parse with a recursive mutex
13878         and busy flag.
13879
13880 2006-07-21  Wim Taymans  <wim@fluendo.com>
13881
13882         * tests/check/gst/gstpad.c: (GST_START_TEST):
13883         Fix leak in test.
13884
13885 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13886
13887         * gst/gstparse.c: (gst_parse_launch):
13888           Do not hang on recursive usage of gst_parse_launch()
13889
13890 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13891
13892         * gst/gsttaglist.c:
13893           Add some more docs, comments and FIXME 0.11s here and there
13894           and also fix some typos.
13895
13896 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13897
13898         * gst/gstsegment.h:
13899           Convert tabs to spaces for better readability. 
13900
13901 2006-07-20  Edward Hervey  <edward@fluendo.com>
13902
13903         * tests/check/libs/gdp.c: (gst_dp_suite):
13904         the test_buffer test fails at line 140 on ppc64 at the following
13905         check:
13906         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13907                 GST_BUFFER_FLAG_IN_CAPS),
13908                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13909         See bug #348114 for more details.
13910
13911 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13912
13913         * docs/pwg/advanced-scheduling.xml:
13914         * gst/gstpad.c:
13915           Fix typos (#348000).
13916
13917 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13918
13919         * docs/pwg/intro-basics.xml:
13920           Fix wrong links (#347927).
13921
13922 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13923
13924         * gst/gstregistry.h:
13925         * gst/gstregistryxml.c: (load_feature),
13926         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13927         * win32/common/config.h:
13928           make --disable-index work (#342564)
13929
13930 2006-07-18  Wim Taymans  <wim@fluendo.com>
13931
13932         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13933
13934         * gst/Makefile.am:
13935         * gst/gsttrace.h:
13936         The attached patch adds two missing defines to gsttrace.h when tracing
13937         is disabled.  It also corrects one existing define.
13938         Fixes #347756.
13939
13940 2006-07-17  Wim Taymans  <wim@fluendo.com>
13941
13942         * docs/gst/gstreamer-sections.txt:
13943         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13944         * gst/gst.h:
13945         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13946         Add two functions to check and change the SIGSEGV behaviour
13947         when loading plugins.
13948         Don't mess with the SIGSEGV handler when we were told not to.
13949         Fixes #347794.
13950         API: gst_segtrap_is_enabled
13951         API: gst_segtrap_set_enabled
13952
13953 2006-07-14  Wim Taymans  <wim@fluendo.com>
13954
13955         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13956         * tests/check/elements/filesrc.c: (GST_START_TEST):
13957         Revert fix for regression in #347408 after release.
13958
13959 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13960
13961         Patch by: Antoine Tremblay <hexa00 at gmail com>
13962
13963         * gst/gstutils.c: (gst_element_unlink):
13964           Free iterator when done (#347311).
13965
13966         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13967           And add a test case for this.
13968
13969 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13970
13971         * configure.ac:
13972         Bump nano back to CVS
13973
13974 === release 0.10.9 ===
13975
13976 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13977
13978         * configure.ac:
13979           releasing 0.10.9, "On the road again"
13980
13981 2006-07-13  Wim Taymans  <wim@fluendo.com>
13982
13983         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13984         * tests/check/elements/filesrc.c: (GST_START_TEST):
13985         Revert pull-0 fix for release. Disable check. Fixes #347408.
13986
13987 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13988
13989         * libs/gst/dataprotocol/dataprotocol.c:
13990         (gst_dp_event_from_packet_1_0):
13991           Fixes #347337: failure to deserialize event packets with
13992           empty payload (only event type)
13993
13994 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13995
13996         * gst/Makefile.am:
13997           do not install a .c file in the header directory
13998
13999 2006-07-13  Edward Hervey  <edward@fluendo.com>
14000
14001         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
14002         GhostPad no longer implicitely use the padtemplates of the targets.
14003         Fixes #347384
14004
14005 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
14006
14007         * gst/gstvalue.c: (gst_value_compare_list),
14008         (gst_value_compare_array), (_gst_value_initialize):
14009         * tests/check/gst/gstvalue.c: (GST_START_TEST):
14010         Make GstValueArray comparison be order dependent as designed.
14011         Add checks for value lists and value array comparisons.
14012         Fixes #347221
14013
14014 2006-07-11  Edward Hervey  <edward@fluendo.com>
14015
14016         * gst/gstbin.c: (activate_pads),
14017         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
14018         (gst_bin_change_state_func):
14019         (de)activate src pads before calling state_change on the childs.
14020         This is to avoid the case where a src ghostpad is blocked (holding the
14021         stream lock), which would block the deactivation of the ghostpad's
14022         target pad.
14023         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
14024         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
14025         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
14026         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
14027         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
14028         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
14029         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
14030         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
14031         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
14032         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
14033         (gst_ghost_pad_class_init),
14034         (gst_ghost_pad_internal_do_activate_push),
14035         (gst_ghost_pad_internal_do_activate_pull),
14036         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
14037         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
14038         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
14039         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
14040         GhostPads now create their internal GstProxyPad at creation (and not
14041         when they're linked, as it was being done previously).
14042         The internal and target pads are linked straight away.
14043         The data will also travel through the other pad in order to make
14044         pad blocking and probes non-hackish (the probe/block now really happens
14045         on the GhostPad and not on the target).
14046         * gst/gstpad.c: (gst_pad_set_blocked_async),
14047         (gst_pad_link_prepare), (gst_pad_push_event):
14048         Remove previous ghostpad cruft.
14049         * gst/gstutils.c: (gst_pad_add_data_probe),
14050         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14051         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14052         (gst_pad_remove_buffer_probe):
14053         Remove previous ghost pad cruft.
14054         Added more detailed debug statements.
14055         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14056         Fix the testsuite for refcounting changes.
14057         The comments about who has references were correct, but the refcount
14058         being checked wasn't the same (!?!).
14059
14060         Fixes #341029
14061
14062 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
14063
14064         * docs/gst/gstreamer-sections.txt:
14065         * gst/gstconfig.h.in:
14066         More docs for configuration options, add docs to gtk-doc.
14067
14068 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
14069
14070         * gst/Makefile.am:
14071         * gst/gstconfig.h.in:
14072         * win32/common/config.h:
14073         Fix build when disabling tracing (fixes #344016). Also start to document
14074         the defines that disable the sub-systems.
14075
14076 2006-07-10  Edward Hervey  <edward@fluendo.com>
14077
14078         * gst/gst.c: (ensure_current_registry_forking):
14079         let's make valgrind happy...
14080
14081 2006-07-09  Wim Taymans  <wim@fluendo.com>
14082
14083         * gst/gstelement.c: (activate_pads),
14084         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
14085         Better pad activation code: Reset the collect value too on resync.
14086         Add some comments.
14087
14088 2006-07-09  Wim Taymans  <wim@fluendo.com>
14089
14090         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
14091         (gst_pad_activate_push):
14092         Use some more macros where it makes sense.
14093         Allow pad mode switching instead of asserting. When a pad
14094         is activated in one mode and we activate it in another, 
14095         deactivate it first before activating it in a different mode.
14096         Fixes #329198.
14097
14098 2006-07-08  Andy Wingo  <wingo@pobox.com>
14099
14100         * tools/gst-launch.c (main): Handle err == NULL.
14101
14102         * gst/gst.c (init_post, ensure_current_registry)
14103         (ensure_current_registry_forking)
14104         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
14105         factoring out the registry scanning into separate functions. Don't
14106         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
14107         Better environment var name/interface suggestions accepted.
14108
14109 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14110
14111         * gst/gstobject.c: (gst_object_set_name_default),
14112         (gst_object_set_name):
14113           Random micro-optimisation: don't use a hash table
14114           with strings as keys and the usual strdup/strcmp
14115           involved, but rather just use the GQuark of the
14116           type name as key, since it needs to be looked up
14117           anyway to get the type name string.
14118
14119         * tests/check/gst/gstobject.c: (GST_START_TEST):
14120           Fix various leaks.
14121
14122 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14123
14124         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
14125         (gst_bin_iterate_all_by_interface):
14126           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
14127           GTypes are gulongs and thus the top 4 bytes might be cut
14128           off on some platforms when doing GPOINTER_TO_INT, leading
14129           to invalid GTypes and bad things happening (see RH bug #179654).
14130           Also add a check to make sure the type passed in is really
14131           an interface type.
14132
14133 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14134
14135         * .cvsignore:
14136           Ignore more.
14137
14138 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14139
14140         * Makefile.am:
14141         * configure.ac:
14142         * gst-element-check.m4:
14143         * gst-element-check.m4.in:
14144           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
14145           instead of the unversioned gst-inspect (#324176, #168659).
14146
14147 2006-07-06  Wim Taymans  <wim@fluendo.com>
14148
14149         * gst/gstmessage.h:
14150         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
14151         warnings.
14152
14153 2006-07-06  Wim Taymans  <wim@fluendo.com>
14154
14155         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14156         (gst_base_src_wait), (gst_base_src_update_length),
14157         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
14158         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
14159         (gst_base_src_loop), (gst_base_src_start),
14160         (gst_base_src_activate_pull):
14161         Update docs.
14162         blocksize == 0 now means the default blocksize when working in push
14163         based mode.
14164         Remove some pointless asserts in _wait function.
14165         Fix offset/length calculations and EOS handling. We can now pull 0
14166         bytes as well, which is allowed.
14167         use _check_get_range() to decide if we can operate in _pull based
14168         mode.
14169         Fix refcounting leak when check_get_range function was not 
14170         implemented.
14171         API GstBaseSrc::blocksize range can be 0 too now (default)
14172
14173         * tests/check/elements/filesrc.c: (GST_START_TEST),
14174         (filesrc_suite):
14175         Added check to test _get_range() behaviour.
14176
14177 2006-07-06  Wim Taymans  <wim@fluendo.com>
14178
14179         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14180         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14181         (gst_pad_pull_range):
14182         * gst/gstpad.h:
14183         Lots of comments and docs added to the pad functions.
14184         Flesh out the expected behaviour of the get_range() functions.
14185
14186 2006-07-06  Wim Taymans  <wim@fluendo.com>
14187
14188         * gst/gstbus.h:
14189         * gst/gstclock.h:
14190         * gst/gstevent.h:
14191         * gst/gstiterator.h:
14192         * gst/gstpad.h:
14193         * gst/gstplugin.h:
14194         * gst/gsttask.h:
14195         Remove comma at end of enumerator list. 
14196
14197 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
14198
14199         * win32/common/libgstbase.def:
14200         * win32/common/libgstdataprotocol.def:
14201         * win32/common/libsgtreamer.def:
14202         Add new exported functions.
14203
14204 2006-07-05  Wim Taymans  <wim@fluendo.com>
14205
14206         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14207         Add some more docs here and there.
14208
14209 2006-07-05  Wim Taymans  <wim@fluendo.com>
14210
14211         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14212         (gst_base_sink_loop), (gst_base_sink_get_position):
14213         When operating in pull mode update the offset so that we
14214         read sequentially.
14215
14216 2006-07-05  Wim Taymans  <wim@fluendo.com>
14217
14218         * gst/gstregistryxml.c: (read_string):
14219         Avoid strdup. (will happen in libxml, but hey!)
14220
14221         * gst/gsturi.c:
14222         Add some more docs.
14223
14224 2006-07-05  Wim Taymans  <wim@fluendo.com>
14225
14226         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14227         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14228         (gst_buffer_suite):
14229         No point in checking if the size of the subbuffer > 0, the
14230         code handles it correclty as demonstrated by unit test.
14231         Also add a unit test for the zero sized _new_and_alloc and
14232         _copy. Fixes #346663.
14233
14234 2006-07-05  Wim Taymans  <wim@fluendo.com>
14235
14236         * libs/gst/base/gstbasetransform.c:
14237         (gst_base_transform_prepare_output_buffer),
14238         (gst_base_transform_buffer_alloc),
14239         (gst_base_transform_handle_buffer):
14240         Make sure the buffer we pass to transform_ip has a refcount of
14241         1 and thus is writable. Fixes #343196
14242
14243 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
14244
14245         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14246         (gst_file_src_init), (gst_file_src_set_property),
14247         (gst_file_src_get_property), (gst_file_src_map_region):
14248         * plugins/elements/gstfilesrc.h:
14249         Add "sequential" property, off by default, to use madvise and hint
14250         to the kernel that sequential access is desired.
14251         Touch all retrieved pages by default to ensure they are pulled
14252         into memory. (Closes #345720)
14253
14254 2006-07-03  Wim Taymans  <wim@fluendo.com>
14255
14256         * docs/design/part-block.txt:
14257         * docs/design/part-dynamic.txt:
14258         Small docs updates.
14259
14260 2006-07-03  Wim Taymans  <wim@fluendo.com>
14261
14262         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14263         (gst_caps_unref), (gst_static_caps_get),
14264         (gst_caps_append_structure):
14265         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14266         Use GSlice when the glib we build against is >= 2.10
14267
14268 2006-07-03  Wim Taymans  <wim@fluendo.com>
14269
14270         * gst/gstelement.c: (gst_element_pads_activate):
14271         Small cleanup in pad activation code.
14272
14273 2006-07-03  Wim Taymans  <wim@fluendo.com>
14274
14275         Patch by: Peter Kjellerstedt <pkj at axis dot com>
14276
14277         * gst/gst-i18n-app.h:
14278         * gst/gst-i18n-lib.h:
14279         * tools/gst-inspect.c: (print_signal_info):
14280         The attached patch will make the inclusion of gettext.h unconditional in
14281         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14282         libintl.h in tools/gst-inspect.c.
14283         This allows use of --disable-nls again and fixes #344642.
14284
14285 2006-07-03  Edward Hervey  <edward@fluendo.com>
14286
14287         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14288         Implement pad blocking on events according to part-block.txt.
14289         More comments on behaviour.
14290         * tests/check/gst/gstevent.c: (test_event):
14291         Send event to peer pad of blocked pad (else it will block).
14292
14293 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14294
14295         * libs/gst/check/gstcheck.c: (gst_check_message_error),
14296         (gst_check_run_suite):
14297           if we get the wrong message, give us the types as string
14298         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14299           Fix a translatable
14300         * tests/check/elements/filesrc.c: (GST_START_TEST):
14301           add a test for trying to open a non-existing file
14302
14303 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14304
14305         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14306           add a test for adding self
14307
14308 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14309
14310         * libs/gst/check/gstcheck.h:
14311           add some assert_ as alias for fail_unless_*
14312         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14313           increase test coverage
14314
14315 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14316
14317         * Makefile.am:
14318           include lcov.mak for lcov coverage generation
14319         * tools/Makefile.am:
14320           add to CLEANFILES
14321
14322 2006-07-02  Edward Hervey  <edward@fluendo.com>
14323
14324         * tests/check/elements/.cvsignore:
14325         moaping
14326
14327 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14328
14329         * configure.ac:
14330           don't set CFLAGS and friends for gcov, done from GST_GCOV now
14331         * tests/check/Makefile.am:
14332           clean up gcov files
14333
14334 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14335
14336         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14337           remove gst_caps_simplify; it was not declared and not used
14338           and deprecated in 0.8
14339
14340 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14341
14342         * docs/faq/gst-uninstalled:
14343           don't put empty paths on PYTHONPATH
14344         * docs/gst/gstreamer-sections.txt:
14345           remove some symbols that are not there
14346
14347 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14348
14349         * gst/gstcaps.c: (gst_caps_compare_structures):
14350           whitespace fixes
14351         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14352         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14353           add more tests
14354
14355 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14356
14357         * libs/gst/dataprotocol/Makefile.am:
14358           build dataprotocol test by linking to the lib, instead of
14359           compiling the source, so we get coverage
14360         * tests/check/Makefile.am:
14361         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14362         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14363           add a test for filesrc
14364
14365 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14366
14367         * tests/check/gst/gststructure.c: (GST_START_TEST),
14368         (gst_structure_suite):
14369           Push coverage from 59.04% to 70.00%
14370
14371 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14372
14373         * tests/check/Makefile.am:
14374           gst-inspect every element; this makes sure that we also get
14375           coverage on element's get/set functions
14376
14377 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14378
14379         * configure.ac:
14380           set CFLAGS and friends to -O0 if gcov is being used
14381           add GCOV LIBS
14382         * gst/Makefile.am:
14383         * libs/gst/base/Makefile.am:
14384         * libs/gst/check/Makefile.am:
14385         * libs/gst/controller/Makefile.am:
14386         * libs/gst/dataprotocol/Makefile.am:
14387         * libs/gst/net/Makefile.am:
14388         * plugins/elements/Makefile.am:
14389         * plugins/indexers/Makefile.am:
14390           add makefile rules to generate gcov data and clean up
14391         * tests/check/Makefile.am:
14392           add a coverage target that generates an html overview
14393           of coverage data
14394
14395 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14396
14397         * tests/check/elements/fakesink.c:
14398         * tests/check/elements/fakesrc.c:
14399         * tests/check/elements/fdsrc.c:
14400         * tests/check/elements/identity.c:
14401         * tests/check/generic/sinks.c: (gst_sinks_suite):
14402         * tests/check/generic/states.c:
14403         * tests/check/gst/gst.c:
14404         * tests/check/gst/gstabi.c:
14405         * tests/check/gst/gstbin.c:
14406         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14407         * tests/check/gst/gstbus.c: (gst_bus_suite):
14408         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14409         * tests/check/gst/gstelement.c:
14410         * tests/check/gst/gstevent.c: (gst_event_suite):
14411         * tests/check/gst/gstghostpad.c:
14412         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14413         * tests/check/gst/gstmessage.c: (gst_message_suite):
14414         * tests/check/gst/gstminiobject.c:
14415         * tests/check/gst/gstobject.c:
14416         * tests/check/gst/gstpad.c:
14417         * tests/check/gst/gstpipeline.c:
14418         * tests/check/gst/gstplugin.c:
14419         * tests/check/gst/gstquery.c: (gst_query_suite):
14420         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14421         * tests/check/gst/gststructure.c:
14422         * tests/check/gst/gstsystemclock.c:
14423         * tests/check/gst/gsttag.c:
14424         * tests/check/gst/gsttask.c: (gst_task_suite):
14425         * tests/check/gst/gstutils.c:
14426         * tests/check/gst/gstvalue.c:
14427         * tests/check/libs/adapter.c:
14428         * tests/check/libs/basesrc.c:
14429         * tests/check/libs/collectpads.c:
14430         * tests/check/libs/controller.c:
14431         * tests/check/libs/gdp.c: (gst_dp_suite):
14432         * tests/check/libs/gstnetclientclock.c:
14433         * tests/check/libs/gstnettimeprovider.c:
14434         * tests/check/libs/libsabi.c: (libsabi_suite):
14435         * tests/check/libs/typefindhelper.c:
14436         * tests/check/pipelines/cleanup.c:
14437         * tests/check/pipelines/parse-launch.c:
14438         * tests/check/pipelines/simple-launch-lines.c:
14439         * tests/check/pipelines/stress.c: (stress_suite):
14440           use the new macro
14441
14442 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14443
14444         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14445         * libs/gst/check/gstcheck.h:
14446           create a macro and function so that the simple unit test
14447           case can be just one macro to create main()
14448
14449 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14450
14451         * gst/gstbin.c: (gst_bin_restore_thyself):
14452         * gst/gstxml.c: (gst_xml_make_element):
14453           Fix deserialisation from XML. Set parent manually
14454           instead of using gst_bin_add(), since gst_bin_add()
14455           will unlink all pads of the element being added.
14456           Fixes #341667.
14457
14458 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14459
14460         Patch by: Peter Kjellerstedt <pkj at axis com>
14461
14462         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14463           Fix missing g_strdup() and double free when using the
14464           --gst-plugin-load command line option (#346097).
14465
14466 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14467
14468         * gst/gstinfo.c:
14469           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14470
14471         * libs/gst/net/gstnetclientclock.c:
14472         * libs/gst/net/gstnettimeprovider.c:
14473           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14474
14475 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14476
14477         * docs/manual/advanced-dataaccess.xml:
14478           Fix buffer probe example compilation in
14479           ADM (#345708).
14480         
14481 2006-06-22  Edward Hervey  <edward@fluendo.com>
14482
14483         * gst/gstelement.c: (gst_element_pads_activate):
14484         We need to deactivate src pads first and then sink pads.
14485         The reason is the src pads might be blocking while holding the streaming
14486         lock, so we need to deactivate them first so that deactivating the sink
14487         pads doesn't block (since it will require the streaming lock).
14488
14489 2006-06-22  Wim Taymans  <wim@fluendo.com>
14490
14491         * libs/gst/base/gstbasetransform.c:
14492         (gst_base_transform_buffer_alloc):
14493         Forgot to remove two unneeded unrefs.
14494         Simplify a check _is_equal allready checks the obvious case.
14495
14496 2006-06-22  Wim Taymans  <wim@fluendo.com>
14497
14498         * docs/design/part-block.txt:
14499         Some docs about what pad_block should do.
14500
14501 2006-06-22  Wim Taymans  <wim@fluendo.com>
14502
14503         * gst/gstcaps.c: (gst_caps_replace):
14504         Fix crasher when passed NULL. Doc clarification.
14505         Optimize for the trivial case.
14506
14507         * gst/gstpipeline.c: (gst_pipeline_change_state):
14508         Small cleanups.
14509
14510         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14511         Small documentation cleanup.
14512
14513         * libs/gst/base/gstbasetransform.c:
14514         (gst_base_transform_buffer_alloc):
14515         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14516         is what we need and it avoids a whole lot of redundant 
14517         refcount operations.
14518
14519 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14520
14521         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14522
14523         * docs/manual/advanced-dataaccess.xml:
14524           Fix 'Embedding static elements' section to use
14525           GST_PLUGIN_DEFINE_STATIC (#345607).
14526
14527 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14528
14529         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14530           Attempt to 'fix' spuriously failing test case: it seems like the
14531           timeout of half a second is simply too small when the system is under
14532           load otherwise, and the timeout doesn't really seem to serve any
14533           particular purpose here. Give the pipeline a few seconds to preroll
14534           first, and then give it another half a second to go from PAUSED to
14535           PLAYING and marshal the message into the main thread.
14536
14537 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14538
14539         * tools/gst-feedback-m.m:
14540           Don't only use unversioned tools, try versioned tools as well
14541           (#345086).
14542
14543 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14544
14545         * gst/gstbus.c: (gst_bus_class_init):
14546           Fix some typos, make docs more explicit.
14547
14548 2006-06-20  Wim Taymans  <wim@fluendo.com>
14549
14550         * tests/check/gst/gstghostpad.c: (block_callback),
14551         (GST_START_TEST), (gst_ghost_pad_suite):
14552         Added some more ghostpad tests, mainly blocking
14553         and probes.
14554
14555 2006-06-16  Wim Taymans  <wim@fluendo.com>
14556
14557         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14558         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14559         (gst_file_sink_event), (gst_file_sink_render):
14560         * plugins/elements/gstfilesink.h:
14561         Check if we can seek in the file instead of assuming
14562         we always can. Post an error when we are asked to seek in a
14563         non-seekable file (like a fifo). Fixes #343312.
14564         Some cleanups.
14565
14566 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14567
14568         * tools/gst-launch.1.in:
14569           Un-garble (fourcc) bit in filtered caps section.
14570
14571 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14572
14573         * docs/manual/advanced-autoplugging.xml:
14574         * docs/manual/basics-helloworld.xml:
14575         * docs/manual/highlevel-components.xml:
14576           Don't leak bus reference in sample code.
14577
14578 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14579
14580         * autogen.sh:
14581           Add default for new --enable-plugin-docs switch.
14582
14583         * configure.ac:
14584           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14585           Fixes #344039.
14586
14587         * docs/Makefile.am:
14588           Use new ENABLE_PLUGIN_DOCS conditional.
14589
14590 2006-06-14  Wim Taymans  <wim@fluendo.com>
14591
14592         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14593         Make it clear with a FIXME and a real define what the #if 0
14594         previously disabled.
14595
14596 2006-06-14  Wim Taymans  <wim@fluendo.com>
14597
14598         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14599         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14600         * libs/gst/base/gstbasetransform.c:
14601         (gst_base_transform_sink_eventfunc):
14602         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14603         Don't randomly and silently reset a segment when the format 
14604         changes as this is a bug somewhere upstream. Fixes #330379.
14605
14606 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14607
14608         Patch by: Wouter Paesen  <wouter at kangaroot net>
14609
14610         * libs/gst/controller/gstcontroller.c:
14611         (gst_controlled_property_new):
14612           Fix controlling of float properties (#344849).
14613
14614         * tests/check/libs/controller.c:
14615         (gst_test_mono_source_get_property),
14616         (gst_test_mono_source_set_property),
14617         (gst_test_mono_source_class_init), (GST_START_TEST):
14618           While we're at it, add some float stuff to unit test.
14619
14620 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14621
14622         * docs/README:
14623         * docs/images/gdp-header.svg:
14624           add a gdp image
14625         * docs/libs/Makefile.am:
14626         * docs/libs/gdp-header.png:
14627         * libs/gst/dataprotocol/dataprotocol.c:
14628           add it to the API docs
14629         * docs/manual/intro-motivation.xml:
14630           fix typo
14631
14632 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14633
14634         * gst/gst.c: (scan_and_update_registry), (init_post):
14635           If the fork()'ed child process can't write the updated registry cache
14636           file to disk for some reason, make it exit with a failure exit code,
14637           so that the parent can then re-scan the plugins itself and update the
14638           registry structures in memory and work with that (rather than failing
14639           when creating elements because seemingly no plugins are available).
14640           Refactor registry scanning code into separate function for this and
14641           also separate fork() and non-fork() code paths. Fixes #344748.
14642
14643 2006-06-13  Wim Taymans  <wim@fluendo.com>
14644
14645         * docs/manual/advanced-dataaccess.xml:
14646         Fix wrong PluginDesc. Fixes #344755.
14647
14648 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14649
14650         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14651           Fix silly bug that prevented us from creating
14652           ~/.gstreamer-0.10 and writing the registry in one
14653           go (the first call to g_mkstemp() would overwrite the
14654           placeholder in the template string, so the second call
14655           to g_mkstemp() after creating the missing directory
14656           would then error out with 'invalid argument').
14657
14658 2006-06-13  Edward Hervey  <edward@fluendo.com>
14659
14660         * gst/gst.c: (init_post):
14661         Free string.
14662
14663 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14664
14665         * gst/glib-compat-private.h:
14666         * gst/glib-compat.c:
14667         * gst/glib-compat.h:
14668         * gst/gstvalue.c: (gst_value_serialize_flags):
14669           remove GLib 2.6 compatibility code
14670
14671 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14672
14673         * gst/parse/Makefile.am:
14674           Fix build with 'make -j N' even more (#340016).
14675
14676 2006-06-12  Wim Taymans  <wim@fluendo.com>
14677
14678         * docs/gst/gstreamer-sections.txt:
14679         Fix docs.
14680
14681 2006-06-12  Wim Taymans  <wim@fluendo.com>
14682
14683         * gst/gstsegment.c: (gst_segment_set_duration),
14684         (gst_segment_set_last_stop), (gst_segment_set_seek),
14685         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14686         (gst_segment_to_running_time), (gst_segment_clip):
14687         Use G_UNLIKELY to help the compiler a bit.
14688
14689 2006-06-12  Wim Taymans  <wim@fluendo.com>
14690
14691         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14692
14693         * gst/gstevent.c: (gst_event_get_type):
14694         * gst/gstmessage.c:
14695         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14696         (gst_pad_push):
14697         constify quark registration strings. Fixes #344115
14698         Avoid unneeded type checking is _pad_push() by internally
14699         calling gst_pad_chain_unchecked().
14700
14701 2006-06-12  Wim Taymans  <wim@fluendo.com>
14702
14703         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14704         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14705         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14706         (gst_buffer_is_span_fast), (gst_buffer_span):
14707         Init _type for consistency.
14708         Use _FLAGS macro to avoid type check.
14709         Avoid unneeded type checks in subbufer code.
14710
14711 2006-06-12  Wim Taymans  <wim@fluendo.com>
14712
14713         * gst/gst.c: (gst_debug_help):
14714         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14715         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14716         (gst_plugin_feature_list_free):
14717         * gst/gstregistry.c: (gst_registry_add_plugin),
14718         (gst_registry_add_feature), (gst_registry_plugin_filter),
14719         (gst_registry_feature_filter), (gst_registry_find_plugin),
14720         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14721         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14722         * gst/gstregistryxml.c: (load_feature),
14723         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14724         * gst/gstminiobject.c: (gst_mini_object_unref),
14725         (gst_mini_object_replace), (gst_value_mini_object_free),
14726         (gst_value_mini_object_copy):
14727         Use _CAST macros to avoid unneeded type checking.
14728         Added some more G_UNLIKELY.
14729
14730 2006-06-12  Wim Taymans  <wim@fluendo.com>
14731
14732         * gst/gstbuffer.h:
14733         Avoid unneeded type checking.
14734         API: GST_BUFFER_IS_DISCONT
14735
14736         * gst/gstminiobject.h:
14737         Avoid type check in flag accessor.
14738
14739         * gst/gstelementfactory.h:
14740         * gst/gstplugin.h:
14741         * gst/gstpluginfeature.h:
14742         Add _CAST macros.
14743         API: GST_ELEMENT_FACTORY_CAST
14744         API: GST_PLUGIN_CAST
14745         API: GST_PLUGIN_FEATURE_CAST
14746
14747 2006-06-12  Wim Taymans  <wim@fluendo.com>
14748
14749         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14750         (gst_object_unref):
14751         Add G_UNLIKELY in type registration.
14752         Avoid type check in _ref/_unref since that is also
14753         done in glib.
14754
14755 2006-06-12  Wim Taymans  <wim@fluendo.com>
14756
14757         * gst/gsterror.c: (gst_g_error_get_type):
14758         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14759         (gst_static_pad_template_get_type):
14760         * gst/gsttaglist.c: (gst_tag_list_get_type):
14761         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14762         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14763         * gst/gsturi.c: (gst_uri_handler_get_type):
14764         * gst/gstvalue.c: (gst_date_get_type):
14765         * gst/gstxml.c: (gst_xml_get_type):
14766         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14767         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14768         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14769         Add G_UNLIKELY in type registration.
14770
14771 2006-06-12  Wim Taymans  <wim@fluendo.com>
14772
14773         * tools/gst-inspect.c: (print_signal_info):
14774         Properly print enum values.
14775
14776 2006-06-12  Wim Taymans  <wim@fluendo.com>
14777
14778         * gst/gstinfo.c: (gst_debug_set_active),
14779         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14780         * gst/gstinfo.h:
14781         Add some G_[UN]LIKELY.
14782         Maintain __gst_debug_min to avoid formatting the arguments of
14783         debug messages that will be dropped anyway to avoid a lot of 
14784         overhead from the debugging system.
14785
14786 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14787
14788         * po/POTFILES.in:
14789         * po/POTFILES.skip:
14790           add missing files containing translatable strings, tell intltool about
14791           one exception
14792
14793 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14794
14795         * tests/check/libs/.cvsignore:
14796         add test-binary to ignore list
14797
14798 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14799
14800         * docs/libs/gstreamer-libs-docs.sgml:
14801         reorder (put dp into a chapter) and indent
14802
14803 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14804
14805         * configure.ac:
14806           back to HEAD
14807
14808 === release 0.10.8 ===
14809
14810 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14811
14812         * configure.ac:
14813           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14814
14815 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14816
14817         * gst/gst.c: (init_post):
14818           move pid declaration to declaration block
14819
14820 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14821
14822         * gst/gst.c: (init_post):
14823           use _exit() instead of exit() in our forked child; this ensures
14824           that none of the registered exit handlers from whatever is using
14825           GStreamer get executed.  This fixes gnome-mixer-applet failing
14826           to load, because ORBit would shut down.
14827           Spotted by: Edward Hervey  <edward@fluendo.com>
14828           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14829           Fixes #344474
14830
14831 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14832
14833         * configure.ac:
14834           back to TRUNK
14835
14836 === release 0.10.7 ===
14837
14838 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14839
14840         * configure.ac:
14841           releasing 0.10.7, "Soepeke, ik zie ou"
14842
14843 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14844
14845         * configure.ac:
14846         * po/af.po:
14847         * po/az.po:
14848         * po/bg.po:
14849         * po/ca.po:
14850         * po/cs.po:
14851         * po/de.po:
14852         * po/en_GB.po:
14853         * po/fr.po:
14854         * po/it.po:
14855         * po/nb.po:
14856         * po/nl.po:
14857         * po/ru.po:
14858         * po/sq.po:
14859         * po/sr.po:
14860         * po/sv.po:
14861         * po/tr.po:
14862         * po/uk.po:
14863         * po/vi.po:
14864         * po/zh_CN.po:
14865         * po/zh_TW.po:
14866         * win32/common/config.h:
14867           0.10.6.2 prerelease
14868
14869 2006-06-07  Wim Taymans  <wim@fluendo.com>
14870
14871         * gst/gstindex.c: (gst_index_gtype_resolver):
14872         * tools/gst-xmlinspect.c: (print_plugin_info):
14873         Fix leak spotted by coverity checker. Fixes #343827
14874         Fix another other leak found by paolo borelli.
14875
14876 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14877
14878         * libs/gst/dataprotocol/dataprotocol.c:
14879         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14880         (gst_dp_version_get_type), (gst_dp_init),
14881         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14882         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14883         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14884         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14885         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14886         (gst_dp_packetizer_free):
14887         * libs/gst/dataprotocol/dataprotocol.h:
14888           API: add a GstDPPacketizer object, and create/free functions
14889           API: add GstDPVersion enum
14890           Add 1.0 event function that uses the string serialization
14891           Serialize more useful buffer flags
14892           Fixes #343988
14893
14894 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14895
14896         * tests/check/Makefile.am:
14897         * tests/check/gst/gstabi.c:
14898         * tests/check/gst/struct_ppc64.h:
14899         * tests/check/libs/libsabi.c:
14900         * tests/check/libs/struct_ppc64.h:
14901           add ppc64 structure sizes
14902
14903 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14904
14905         * tests/check/Makefile.am:
14906         * tests/check/gst/gstabi.c:
14907         * tests/check/gst/struct_x86_64.h:
14908         * tests/check/libs/libsabi.c:
14909         * tests/check/libs/struct_x86_64.h:
14910           generate and add structure size lists for x86_64
14911
14912 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14913
14914         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14915         * libs/gst/check/gstcheck.h:
14916           factor out the method from tests that checks size of structures,
14917           and add code to generate the header containing these sizes
14918         * tests/check/gst/gstabi.c: (GST_START_TEST):
14919         * tests/check/gst/struct_i386.h:
14920         * tests/check/libs/libsabi.c: (GST_START_TEST):
14921         * tests/check/libs/struct_i386.h:
14922           use it
14923
14924 2006-06-06  Michael Smith  <msmith@fluendo.com>
14925
14926         * gst/gstsegment.h:
14927           Don't use c++-style comments, fixes #343929
14928
14929 2006-06-05  Edward Hervey  <edward@fluendo.com>
14930
14931         * gst/gst.c:
14932         plugin_paths is not used if we build without registry support.
14933
14934         * gst/gstsegment.c: (gst_segment_copy): 
14935         _copy() was always returning NULL...
14936
14937 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14938
14939         * libs/gst/dataprotocol/dataprotocol.c:
14940         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14941         (gst_dp_packet_from_event):
14942           factor out CRC code
14943
14944 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14945
14946         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14947           make sure we unset caps
14948
14949 2006-06-02  Michael Smith  <msmith@fluendo.com>
14950
14951         * libs/gst/check/gstcheck.c: (gst_check_init),
14952         (gst_check_chain_func):
14953         * libs/gst/check/gstcheck.h:
14954           Add a cond/mutex to the check support lib, signal this whenever we
14955           add to the buffers list. This will allow tests to not busy-wait on
14956           the buffer-list.
14957
14958 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14959
14960         * libs/gst/dataprotocol/dataprotocol.c:
14961         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14962         (gst_dp_packet_from_event):
14963           factor out some common header init code
14964
14965 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14966
14967         * docs/libs/gstreamer-libs-sections.txt:
14968         * docs/libs/tmpl/gstdataprotocol.sgml:
14969         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14970         * libs/gst/dataprotocol/dataprotocol.h:
14971           API: make gst_dp_crc() public
14972
14973 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14974
14975         * plugins/indexers/gstindexers.c: (plugin_init):
14976         conditionally register fileindexer (fixes #343598)
14977
14978 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14979
14980         * gst/gsttagsetter.h:
14981         Can't cast ifaces to a class
14982
14983         * libs/gst/net/gstnetclientclock.h:
14984         * libs/gst/net/gstnettimeprovider.h:
14985         * plugins/elements/gstfakesink.h:
14986         * plugins/elements/gstfakesrc.h:
14987         * plugins/elements/gstfdsink.h:
14988         * plugins/elements/gstfdsrc.h:
14989         * plugins/elements/gstfilesink.h:
14990         * plugins/elements/gstfilesrc.h:
14991         * plugins/elements/gstidentity.h:
14992         * plugins/elements/gstqueue.h:
14993         * plugins/elements/gsttee.h:
14994         * plugins/indexers/gstfileindex.c:
14995         * plugins/indexers/gstmemindex.c:
14996         * tests/old/examples/plugins/example.h:
14997         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14998
14999 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15000
15001         * libs/gst/dataprotocol/dataprotocol.c:
15002         (gst_dp_header_from_buffer):
15003           make sure we zero the whole ABI-compatible area
15004
15005 2006-06-01  Wim Taymans  <wim@fluendo.com>
15006
15007         Patch by: Alessandro Decina <alessandro at nnva dot org>
15008
15009         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
15010         Make sure the EOS flag is cleared from pads after a flush
15011         or stop. Fixes #343538.
15012
15013         * tests/check/libs/collectpads.c: (GST_START_TEST),
15014         (gst_collect_pads_suite):
15015         Added test for collectpads reusage after EOS.
15016
15017 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
15018
15019         * gst/gst.c:
15020          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
15021         * win32/common/libgstbase.def:
15022          export gst_collect_pads_set_flushing
15023         * win32/common/libgstreamer.def:
15024          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
15025          gst_value_fraction_multiply
15026         * win32/vs6/gst_inspect.dsp:
15027          add a link to intl.lib
15028
15029 2006-05-30  Wim Taymans  <wim@fluendo.com>
15030
15031         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15032         (gst_collect_pads_chain):
15033         Handle the case where a pad is removed from the collection
15034         that could cause the other pads to become collectable.
15035
15036 2006-05-30  Wim Taymans  <wim@fluendo.com>
15037
15038         * gst/gstelement.c:
15039         Clarify the use of _release_request_pad() and
15040         _get_request_pad() a bit better.
15041
15042         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
15043         (gst_adapter_take_buffer):
15044         Fix some doc and comment typos.
15045
15046 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15047
15048         * docs/gst/gstreamer-sections.txt:
15049         * docs/libs/gstreamer-libs-sections.txt:
15050           add declared symbols
15051
15052 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
15053
15054         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15055         Add debug that can be enabled using a #define at the top of the file,
15056         for dumping stats about how late/early we were when waking up from
15057         waiting on the clock.
15058
15059 2006-05-30  Wim Taymans  <wim@fluendo.com>
15060
15061         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
15062         When rebuilding the pad list, don't leak the previous list.
15063
15064 2006-05-30  Wim Taymans  <wim@fluendo.com>
15065
15066         Patch by: Lutz Mueller <lutz at topfrose dot de>
15067
15068         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15069         (gst_base_src_get_query_types), (gst_base_src_update_length):
15070         Publish supported query types.
15071         Update last_stop field in get_range mode so the position
15072         query works. Fixes #342321.
15073
15074 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
15075
15076         * docs/gst/gstreamer-sections.txt:
15077         * gst/gsttaglist.c: (_gst_tag_initialize):
15078         * gst/gsttaglist.h:
15079           API: add GST_TAG_PREVIEW_IMAGE (#343341).
15080
15081 2006-05-30  Wim Taymans  <wim@fluendo.com>
15082
15083         Patch by: Alessandro Decina <alessandro at nnva dot org>
15084
15085         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
15086         Unlock mutex when removing an unknown pad.
15087         Fixes #343334.
15088
15089         * tests/check/Makefile.am:
15090         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
15091         (push_event), (setup), (teardown), (GST_START_TEST),
15092         (gst_collect_pads_suite), (main):
15093         Added collecpads check, disabled for now as check crashes for
15094         some reason.
15095
15096 2006-05-29  Wim Taymans  <wim@fluendo.com>
15097
15098         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
15099         Don't leak pads lists.
15100
15101 2006-05-29  Wim Taymans  <wim@fluendo.com>
15102
15103         * docs/libs/gstreamer-libs-sections.txt:
15104         * libs/gst/base/gstcollectpads.c:
15105         (gst_collect_pads_set_flushing_unlocked),
15106         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15107         (gst_collect_pads_stop):
15108         * libs/gst/base/gstcollectpads.h:
15109         API: gst_collect_pads_set_flushing()
15110         Added api to set the pads to flushing, useful for seeking
15111         code in elements using collectpads.
15112         Clear segment when receiving a flush.
15113
15114 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
15115
15116         * gst/gst.c: (add_path_func), (init_post):
15117           Don't scan registry paths passed via --gst-plugin-path immediately
15118           (will crash, because absolutely nothing is set up and no types are
15119           registered etc.); do this later in init_post(). Fixes #343057.
15120
15121 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15122
15123         * gst/gst.c: (init_post):
15124           if we have fork, fork while reading/rebuilding the registry
15125           so the parent doesn't take the hit of having all plugins loaded
15126           in memory.  Fixes #342777.
15127         * configure.ac:
15128           Check if we have fork()
15129         * win32/common/config.h.in:
15130           no fork() on win32
15131
15132 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
15133
15134         * plugins/elements/gstelements.c:
15135         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
15136         (gst_file_src_init), (gst_file_src_set_property),
15137         (gst_file_src_get_property), (gst_file_src_start):
15138         * plugins/elements/gstfilesrc.h:
15139           API: GstFileSrc::use-mmap
15140
15141         Add a use-mmap property to enable easier testing of all code paths.
15142         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
15143         in the absence of gnomevfssrc. (Closes #340501)
15144
15145 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15146
15147         * tools/gst-inspect.c:
15148         Add missing include, removes warning of ngettext not being defined on
15149         some arches.
15150
15151 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
15152
15153         * gst/gstvalue.c: (gst_value_deserialize_fraction):
15154         Handle NULL input and output pointers silently as a failed conversion,
15155         rather than g_warnings.
15156
15157 2006-05-25  Wim Taymans  <wim@fluendo.com>
15158
15159         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
15160         Initialize variable before using. Fixes #342820.
15161
15162 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
15163
15164         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
15165           Fix off-by-one bug that would only allow peeks of N-1 bytes
15166           from the start even if the buffer to typefind on contains
15167           in fact N bytes of data (makes vorbis typefinding from a
15168           vorbis identification header buffer work).
15169
15170         * tests/check/Makefile.am:
15171         * tests/check/libs/.cvsignore:
15172         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
15173         (gst_typefindhelper_suite), (main), (foobar_typefind),
15174         (plugin_init):
15175           Add very basic unit test for gst_type_find_helper_for_buffer()
15176           that checks for the problem fixed above.
15177
15178 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15179
15180         * tools/gst-inspect.c: (print_interfaces),
15181         (print_element_properties_info), (print_element_list), (main):
15182           add more translatable strings
15183
15184 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
15185
15186         Patch by: Julien Moutte  <julien at moutte net>
15187
15188         * docs/gst/gstreamer-sections.txt:
15189           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15190           
15191         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15192         (gst_fake_sink_preroll):
15193         * plugins/elements/gstfakesink.h:
15194           API: Add new GstFakeSink::preroll-handoff signal (#337100).
15195
15196 2006-05-23  Wim Taymans  <wim@fluendo.com>
15197
15198         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15199         * gst/gstpad.h:
15200         Added _CUSTOM error and success GstFlowReturn that can be
15201         used be elements internally. 
15202         Added macro to check for SUCCESS flowreturns.
15203         API: GST_FLOW_CUSTOM_SUCCESS
15204         API: GST_FLOW_CUSTOM_ERROR
15205         API: GST_FLOW_IS_SUCCESS
15206
15207         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15208         Added check for GstFlowReturn sanity.
15209
15210 2006-05-23  Wim Taymans  <wim@fluendo.com>
15211
15212         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15213
15214         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15215         (gst_collect_pads_event):
15216         clear/reset segment info in FLUSH_STOP.
15217         Fixes #336929.
15218
15219 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
15220
15221         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15222         (gst_collect_pads_check_collected):
15223         Flush queued buffer on _stop(), fixes playing again (#342454)
15224
15225 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15226
15227         * tests/check/gst/gststructure.c: (GST_START_TEST),
15228         (gst_structure_suite):
15229           add a test for a complete structure
15230
15231 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15232
15233         * docs/faq/developing.xml:
15234         * docs/faq/faq.xml:
15235         * docs/faq/troubleshooting.xml:
15236         * docs/faq/using.xml:
15237           Some minor FAQ updates that won't change the fact that
15238           our FAQ is badly structured, full of information hardly
15239           anyone new to GStreamer needs to know and lacking lots
15240           of information people constantly ask for.
15241           
15242 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
15243
15244         * gst/gstpad.c: (gst_pad_set_caps):
15245           Short-circuit gst_pad_set_caps if setting the existing
15246           caps pointer again, and avoid printing debug and 
15247           reffing/unreffing the caps.
15248
15249         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15250           There's actually no need to set the caps before pushing -
15251           the acceptcaps method will handle it anyway.
15252
15253 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15254
15255         * docs/gst/gstreamer-sections.txt:
15256         * win32/common/libgstreamer.def:
15257         * gst/gstutils.c: (gst_element_seek_simple):
15258         * gst/gstutils.h:
15259           API: add gst_element_seek_simple() (#342238).
15260
15261 2006-05-18  Edward Hervey  <edward@fluendo.com>
15262
15263         * gst/gsttypefind.c: (gst_type_find_get_type):
15264         * gst/gsttypefind.h:
15265         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15266         registered for GstTypeFind pointers. This allows wrapping the structure
15267         in bindings (i.e. gst-python).
15268
15269 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15270
15271         * gst/gsttagsetter.c:
15272           Docs additions and fixes (see #339918).
15273
15274 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
15275
15276         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15277         The caps intersection algorithm can produce multiple copies of the
15278         caps. Until that is fixed, we need to simplify the result to be
15279         sure whether the allowed caps are fixed or not.
15280
15281         * plugins/elements/gstqueue.c: (gst_queue_init),
15282         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15283         (gst_queue_push_one):
15284         Proxied buffer alloc should not set the caps on the source pad.
15285         When pushing buffers, we always accept the caps change that triggers.
15286         This prevents negotiation errors caused by caps changing mid-stream 
15287         and then being refused on our source pad (because upstream is now
15288         refusing those caps).
15289
15290 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15291
15292         * tests/examples/helloworld/helloworld.c: (main):
15293           Must plug audioconvert and audioresample between decoder
15294           and audio sink.
15295
15296 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
15297
15298         * gst/gstregistryxml.c: (read_string), (load_pad_template),
15299         (load_feature), (load_plugin):
15300         Allow empty strings for some of the plugin fields so we don't 
15301         drop valid plugin entries that were written out correctly
15302         (Fixes #341479)
15303
15304 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
15305         
15306         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15307           Use g_remove and g_rename instead of remove and rename that don't 
15308           handle utf8 characters. rename was failing for users who had specific
15309           characters in their name then the registry was built at each 
15310           gstreamer init.
15311         * win32/vs6/gst_inspect.dsp:
15312         * win32/vs6/gst_launch.dsp:
15313         * win32/vs6/libgstbase.dsp:
15314         * win32/vs6/libgstcoreelements.dsp:
15315         * win32/vs6/libgstreamer.dsp:
15316           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
15317           build of libgstreamer and clean unused libraries in projects link 
15318           settings.
15319
15320 2006-05-17  Edward Hervey  <edward@fluendo.com>
15321
15322         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15323         The queue is not responsible for pushing an EOS when receiving a fatal
15324         flow error. It's up to the real element driving the pipeline to do that.
15325
15326 2006-05-16  Edward Hervey  <edward@fluendo.com>
15327
15328         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15329         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15330         buffer returned a fatal error. It should just send an EOS and stop
15331         its task.
15332         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15333         when pushing buffers on the queue and will be able to handle the event.
15334
15335 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
15336
15337         * docs/manual/basics-bins.xml:
15338         * docs/manual/basics-init.xml:
15339           Fix typos and minor errors in sample code (#341856).
15340
15341 2006-05-16  Wim Taymans  <wim@fluendo.com>
15342
15343         * docs/design/part-qos.txt:
15344         Fix indexes in formulas to make more sense.
15345
15346 2006-05-15  Wim Taymans  <wim@fluendo.com>
15347
15348         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15349         Don't report POSITION based on clock time if sync is
15350         disabled in a sink.
15351
15352 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
15353
15354         * gst/gstobject.h:
15355           Add cast to make compiler happy - refcount variable was a gint
15356           in GstObject but is a guint in GObject and g_atomic_int_get()
15357           wants a gint *.
15358
15359 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15360
15361         * gst/parse/Makefile.am:
15362           chain commands using &&, which also makes parallel make work
15363
15364 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
15365
15366         * docs/gst/gstreamer-sections.txt:
15367         * gst/gstevent.c:
15368         * gst/gstevent.h:
15369         * gst/gstmessage.h:
15370           Minor docs fixes.
15371
15372 === release 0.10.6 ===
15373
15374 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
15375
15376         * configure.ac:
15377           releasing 0.10.6, "Take the cannoli"
15378
15379 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15380
15381         * tools/gst-launch.c: (print_tag):
15382           Fix use of uninitialized variable in the hypothetical
15383           case that some broken plugin creates a GST_TAG_IMAGE
15384           tag containing a NULL buffer (#341667).
15385
15386 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15387
15388         * tools/gst-launch.c: (print_tag):
15389           Print something more intelligible for image tags when
15390           using the -t switch (#341556).
15391
15392 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15393
15394         * Makefile.am:
15395           updates for win32
15396         * configure.ac:
15397           define GST_MAJORMINOR so we have it available in win32/common/config.h
15398           Possibly remove it from our Makefile.am files later
15399         * win32/common/config.h:
15400         * win32/common/config.h.in:
15401           added GST_MAJORMINOR
15402         * win32/common/gstenumtypes.c: (register_gst_resource_error):
15403         * win32/common/gstversion.h:
15404           updated
15405
15406 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
15407
15408         * win32/MANIFEST:
15409           Update win32 files listing.
15410         * win32/common/gstversion.h:
15411           Add GST_MAJORMINOR definition.
15412         * win32/common/libgstreamer.def:
15413           Add new exported functions.
15414           
15415 2006-05-12  Michael Smith  <msmith@fluendo.com>
15416
15417         * gst/gstplugin.c: (gst_plugin_load_file):
15418           If an so file has no plugin entry point, unload the module.
15419
15420 2006-05-11  Wim Taymans  <wim@fluendo.com>
15421
15422         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15423         (gst_queue_set_property):
15424         Don't forget to signal the _chain or _loop function 
15425         when the queue size or thresholds change since that might
15426         cause them to make progres again.
15427
15428 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15429
15430         * gst/gstclock.c: (gst_clock_class_init):
15431         * gst/gstindex.c: (gst_index_class_init):
15432         * gst/gstobject.c: (gst_object_class_init):
15433         * gst/gstpad.c: (gst_pad_class_init):
15434         * gst/gstpipeline.c: (gst_pipeline_class_init):
15435         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15436         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15437         * libs/gst/base/gstbasetransform.c:
15438         (gst_base_transform_class_init):
15439         * libs/gst/net/gstnetclientclock.c:
15440         (gst_net_client_clock_class_init):
15441         * libs/gst/net/gstnettimeprovider.c:
15442         (gst_net_time_provider_class_init):
15443         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15444         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15445         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15446         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15447         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15448         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15449         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15450         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15451         * plugins/elements/gsttee.c: (gst_tee_class_init):
15452         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15453         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15454           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15455
15456 2006-05-11  Wim Taymans  <wim@fluendo.com>
15457
15458         * gst/gstbuffer.c: (_gst_buffer_initialize):
15459         Register subbufer along with the buffer type so that
15460         it does not accidentally gets registered from N
15461         different streaming threads in a non threadsafe way.
15462
15463 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15464
15465         * gst/gstbuffer.h:
15466         * gst/gstevent.h:
15467         * gst/gstmessage.h:
15468           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15469           gst_event_ref() and gst_message_ref() functions again
15470           (ugly hack, please do fix if there's a better way besides
15471           overrides.txt, which doesn't seem to work).
15472
15473 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15474
15475         * libs/gst/check/gstcheck.h:
15476           add an assert for setting state to avoid lots of repetitive code
15477           in the future
15478
15479 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15480
15481         * gst/gstvalue.c: (gst_value_serialize_flags):
15482           fix a leak if no flags are set
15483         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15484           fix leak in tests
15485
15486 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15487
15488         * docs/manual/basics-pads.xml:
15489           Expand a bit on caps and filtered links and update
15490           examples that were still using the no longer existing
15491           gst_pad_link_filtered() (#338206).
15492
15493 2006-05-10  Wim Taymans  <wim@fluendo.com>
15494
15495         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15496         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15497         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15498         (gst_collect_pads_stop):
15499         * libs/gst/base/gstcollectpads.h:
15500         No need to call _stop in _finalize.
15501         Iterate the main pad list in _finalize.
15502         Added some more debug.
15503         Free lists and data in the right order.
15504         Also free data whem doing _remove_pad when stopped for
15505         backward compatibility protect ::started with PAD_LOCK as
15506         well.
15507
15508 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15509
15510         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15511         (gst_structure_parse_value):
15512           add some comments
15513           rename a method so that it actually says what it does better
15514
15515 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15516
15517         * gst/gstevent.c: (_gst_event_initialize):
15518         * gst/gstformat.c: (_gst_format_initialize):
15519           make sure some essential types used by events are registered
15520           as part of gst_init()
15521         * gst/gstvalue.c: (gst_value_serialize_flags):
15522           if no flags are set, serialize them to a value that represents NONE
15523           so that deserializing them works
15524         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15525           add tests for serialization and deserialization of flags
15526
15527 2006-05-10  Wim Taymans  <wim@fluendo.com>
15528
15529         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15530         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15531         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15532         (gst_collect_pads_event), (gst_collect_pads_chain):
15533         Update docs.
15534         Better debug info.
15535         Catch and return errors from the collect function
15536         Refuse data on eos pads.
15537
15538 2006-05-10  Edward Hervey  <edward@fluendo.com>
15539
15540         * gst/gstinterface.h:
15541         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15542         GInterface type checking.
15543         They were previously using non-defined macros.
15544
15545 2006-05-09  Wim Taymans  <wim@fluendo.com>
15546
15547         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15548         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15549         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15550         (gst_collect_pads_start), (gst_collect_pads_stop),
15551         (gst_collect_pads_peek), (gst_collect_pads_pop),
15552         (gst_collect_pads_available), (gst_collect_pads_read),
15553         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15554         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15555         (gst_collect_pads_chain):
15556         * libs/gst/base/gstcollectpads.h:
15557         Clean up the mess that is collectpads, add comments and
15558         FIXMEs where needed.
15559         Maintain a separate pad list so we can add pads while
15560         collecting the other ones. For this we need a new separate 
15561         lock (see comics).
15562         Fix memory leak in finalize.
15563         Refactor some weird code to set/unset pad flushing flags, mark
15564         with comments.
15565         Don't crash in _available, _read, _flush when we're EOS.
15566
15567         * tests/check/libs/.cvsignore:
15568         Ignore adapter check binary.
15569
15570 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15571
15572         * gst/gstindex.c: (gst_index_resolver_get_type):
15573         * plugins/elements/gstfakesink.c:
15574         (gst_fake_sink_state_error_get_type):
15575         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15576         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15577         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15578           Const-ify GEnumValue arrays.
15579
15580 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15581
15582         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15583           Add test case for flags + gst_buffer_make_metadata_writable().
15584
15585 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15586
15587         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15588           gst_buffer_make_metadata_writable() should maintain the
15589           buffer flags (those that make sense at least) (see #340859).
15590
15591 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15592
15593         * tools/gst-inspect.c:
15594         * tools/gst-launch.c:
15595         * tools/gst-typefind.c:
15596         * tools/gst-xmlinspect.c:
15597         * tools/tools.h:
15598           Fix up includes: need to include stdlib.h in tools.h for exit().
15599
15600 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15601
15602         * gst/gsttaglist.c: (_gst_tag_initialize):
15603         * gst/gsttaglist.h:
15604           API: add GST_TAG_IMAGE tag (#340721).
15605
15606 2006-05-08  Wim Taymans  <wim@fluendo.com>
15607
15608         * gst/gstquery.c:
15609         Added some docs for the segment query.
15610
15611 2006-05-08  Wim Taymans  <wim@fluendo.com>
15612
15613         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15614         (gst_base_src_loop), (gst_base_src_change_state):
15615         Always push non-flushing serialized events in the streaming 
15616         thread.
15617
15618 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15619
15620         * gst/gsterror.c: (_gst_stream_errors_init):
15621           Add a missing error string.
15622
15623 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15624
15625         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15626         Add applied_rate to the debug
15627
15628         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15629         Copy applied_rate into the outgoing NEWSEGMENT event
15630
15631 2006-05-08  Wim Taymans  <wim@fluendo.com>
15632
15633         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15634
15635         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15636         (gst_base_sink_change_state):
15637         call ::unlock before taking the PREROLL_LOCK so we can safely
15638         handle elements that lock in ::render.
15639         Fixes #340174.
15640
15641 2006-05-08  Edward Hervey  <edward@fluendo.com>
15642
15643         * autogen.sh: (CONFIGURE_DEF_OPT): 
15644         Darwin's libtoolize is in fact called glibtoolize.
15645         Adding glibtoolize to the list of accepted names for libtoolize.
15646
15647 2006-05-08  Wim Taymans  <wim@fluendo.com>
15648
15649         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15650         Unify error handling, don't post an error message
15651         when a push() returns EOS but perform our normal EOS
15652         handling code. Fixes #340772.
15653
15654 2006-05-08  Wim Taymans  <wim@fluendo.com>
15655
15656         * docs/design/part-overview.txt:
15657         Make upsteam/downstream concepts more clear.
15658         Give an example of serialized/non-serialized events.
15659
15660         * docs/design/part-events.txt:
15661         * docs/design/part-streams.txt:
15662         Mention applied_rate.
15663
15664         * docs/design/part-trickmodes.txt:
15665         Mention applied rate, flesh out some more use cases.
15666
15667         * gst/gstevent.c: (gst_event_new_new_segment),
15668         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15669         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15670         (gst_event_parse_tag), (gst_event_new_buffer_size),
15671         (gst_event_parse_buffer_size), (gst_event_new_qos),
15672         (gst_event_parse_qos), (gst_event_parse_seek),
15673         (gst_event_new_navigation):
15674         * gst/gstevent.h:
15675         Add applied_rate field to NEWSEGMENT event.
15676         API: gst_event_new_new_segment_full()
15677         API: gst_event_parse_new_segment_full()
15678
15679         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15680         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15681         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15682         * gst/gstsegment.h:
15683         Add applied_rate to GstSegment structure.
15684         Make calculation of stream_time and running_time more correct
15685         wrt rate/applied_rate.
15686         Add some more docs.
15687         API: GstSegment::applied_rate field
15688         API: gst_segment_set_newsegment_full();
15689
15690         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15691         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15692         * libs/gst/base/gstbasetransform.c:
15693         (gst_base_transform_sink_eventfunc),
15694         (gst_base_transform_handle_buffer):
15695         Parse and use applied_rate in the GstSegment field.
15696
15697         * tests/check/gst/gstevent.c: (GST_START_TEST):
15698         Add check for applied_rate field.
15699
15700         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15701         (gstsegments_suite):
15702         Add more checks for various GstSegment operations.
15703
15704 2006-05-08  Wim Taymans  <wim@fluendo.com>
15705
15706         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15707         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15708         (gst_base_sink_get_position), (gst_base_sink_change_state):
15709         Store the sync time of the buffer end position separatly in a
15710         new variable eos_rtime so we can properly sync the EOS event.
15711         Fixes #340697.
15712         Fix the docs for gst_base_sink_set_qos_enabled().
15713         Don't set segment start to invalid value when we receive a 
15714         non TIME newsegment.
15715         get closer to handling position reporting for negative rates 
15716         correctly.
15717
15718 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15719
15720         * gst/gstcaps.c:
15721         Docs about how to print caps for debug purposes.
15722
15723         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15724         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15725
15726 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15727
15728         * gst/gstelement.c:
15729           use full enum names and preprend a '%' in docs strings to make recent 
15730           gtk-doc turn that into a link
15731
15732 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15733
15734         * docs/manual/basics-bins.xml:
15735         * docs/manual/basics-bus.xml:
15736         * docs/manual/basics-pads.xml:
15737           Some typo fixes, some additions, some clarifications. 
15738
15739 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15740
15741         * tools/gst-inspect.c: (main):
15742         * tools/gst-launch.c: (main):
15743         * tools/gst-run.c: (main):
15744         * tools/gst-typefind.c: (main):
15745         * tools/gst-xmlinspect.c: (main):
15746           Use the string passed to g_option_context_new() for
15747           what it's intended for - the program name is already
15748           printed elsewhere.
15749
15750 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15751
15752         * tools/Makefile.am:
15753         * tools/gst-inspect.c: (main):
15754         * tools/gst-launch.c: (main):
15755         * tools/gst-xmlinspect.c: (main):
15756         * tools/tools.h:
15757           Add back --version command line option (#340460).
15758
15759         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15760           Add --version option and use GOption for argument parsing; refactor a
15761           bit; accept directories as arguments and recurse into them; lastly,
15762           print a decent error message when things go wrong.
15763
15764 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15765
15766         * docs/manual/basics-bins.xml:
15767         Don't mention GstThread (#340611)
15768         * docs/manual/basics-elements.xml:
15769         Update link to GObject tutorial (#340607)
15770         
15771 2006-05-05  Wim Taymans  <wim@fluendo.com>
15772
15773         * gst/gstbuffer.h:
15774         * gst/gstminiobject.c:
15775         Add note about refcounting and miniobject/buffer writeability
15776         to docs. Fixes #340604
15777
15778         * gst/gstelementfactory.h:
15779         Added some explanation about @klass.
15780
15781 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15782
15783         * docs/manual/intro-motivation.xml:
15784         * docs/manual/manual.xml:
15785         Avoid CORBA & Bonobo references (#340598)
15786
15787 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15788
15789         * docs/manual/basics-bus.xml:
15790         * docs/manual/basics-pads.xml:
15791         Fix up some inaccuracies and omissions (#340609)
15792         
15793 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15794
15795         * gst/gstghostpad.c:
15796           Small typo in docs (#340625)
15797
15798 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15799
15800         * gst/parse/Makefile.am:
15801           Make 'make -j' proof (see #340698).
15802
15803 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15804
15805         * configure.ac:
15806           Require GLib-2.8 here as well.
15807
15808 2006-05-05  Wim Taymans  <wim@fluendo.com>
15809
15810         * gst/glib-compat.c:
15811         * gst/gst.c: (init_pre):
15812         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15813         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15814         (gst_object_dispatch_properties_changed):
15815         * gst/gstobject.h:
15816         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15817         * gst/gststructure.c: (gst_structure_set_valist):
15818         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15819         Remove pre glib2.8 compatibility, fixes #340508
15820
15821 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15822
15823         * gst/gsttaglist.h:
15824           Mention type of tags in doc blurbs.
15825
15826 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15827
15828         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15829         (gst_pad_configure_src), (gst_pad_push):
15830         Restore acceptcaps checking behaviour now that good plugins have
15831         been released.
15832
15833 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15834
15835         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15836
15837         * gst/gst.c:
15838         * gst/gstbus.c:
15839         * gst/gstclock.c:
15840         * gst/gstevent.c:
15841         * gst/gstformat.c:
15842         * gst/gstmessage.c:
15843         * gst/gstparse.c:
15844         * gst/gstquery.c:
15845         * gst/gstutils.c:
15846         * gst/parse/Makefile.am:
15847         * libs/gst/base/gstadapter.c:
15848         * libs/gst/base/gstbasesrc.c:
15849         * libs/gst/base/gstpushsrc.c:
15850         * libs/gst/base/gsttypefindhelper.c:
15851         * plugins/elements/gstfakesrc.c:
15852         * plugins/elements/gstidentity.c:
15853           Make sure gstprivate.h and/or config.h are
15854           always included first, otherwise some of our
15855           defines (like _FILE_OFFSET_BITS) might be
15856           redefined in the system headers. Fixes build
15857           on opensolaris (#340016).
15858
15859 2006-05-04  Wim Taymans  <wim@fluendo.com>
15860
15861         * docs/libs/gstreamer-libs-sections.txt:
15862         API: addition: gst_adapter_take_buffer()
15863         
15864         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15865         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15866         (gst_adapter_available_fast):
15867         * libs/gst/base/gstadapter.h:
15868         Prepare for optimizing the hell out of this hugely inefficient
15869         piece of code. 
15870         Added gst_adapter_take_buffer() so we can at least start thinking
15871         about subbuffering and merging.
15872         Added some comments.
15873
15874         * tests/check/Makefile.am:
15875         * tests/check/libs/adapter.c: (GST_START_TEST),
15876         (gst_adapter_suite), (main):
15877         Added GstAdapter check.
15878
15879 2006-05-04  Wim Taymans  <wim@fluendo.com>
15880
15881         * docs/design/part-overview.txt:
15882         Fix some typos, add blurb about buffer flags.
15883
15884 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15885
15886         * docs/libs/gstreamer-libs-sections.txt:
15887           make sure GstBaseTransformClass shows up in the docs
15888         * libs/gst/base/gstbasetransform.c:
15889         * libs/gst/base/gstbasetransform.h:
15890           move docs so gtk-doc picks it up now
15891
15892 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15893
15894         * docs/libs/gstreamer-libs-sections.txt:
15895           add missing symbols to docs
15896
15897 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15898
15899         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15900           back out the newsegment handling change, see #340060 for ongoing
15901           discussion
15902
15903 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15904
15905         * tools/gst-run.c: (get_candidates), (main):
15906           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15907           work); fix typo in error message. Fixes #340079.
15908
15909 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15910
15911         * common/Makefile.am:
15912         * docs/Makefile.am:
15913         * docs/faq/Makefile.am:
15914         * docs/gst/Makefile.am:
15915         * docs/libs/Makefile.am:
15916         * docs/manual/Makefile.am:
15917         * docs/plugins/Makefile.am:
15918         * docs/pwg/Makefile.am:
15919         * docs/slides/Makefile.am:
15920         * docs/upload.mak:
15921         * common/upload.mak:
15922           move upload.mak to common
15923
15924 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15925
15926         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15927           add more asserts on refcounts
15928           do more cleanup at end of tests
15929           fix test leaks showing in FC5
15930
15931 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15932
15933         * plugins/elements/gsttypefindelement.c:
15934         (gst_type_find_element_handle_event):
15935         reverted wrong change and reflowed code to avoid others falling into
15936         this trap
15937
15938 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15939
15940         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15941           fix changelog entry about last collectpads change,
15942           add notes about proper fix
15943
15944 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15945
15946         * gst/gst.c:
15947         * gst/gstregistry.c: (gst_registry_scan_path_level),
15948         (gst_registry_scan_path):
15949         * gst/gstregistry.h:
15950           only write out registry if it has changed, fixes #338339
15951
15952 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15953
15954         * gst/gstbin.c:
15955         * gst/gstpipeline.c:
15956         * plugins/elements/gstcapsfilter.c:
15957         * plugins/elements/gstfakesink.c:
15958         * plugins/elements/gstfakesrc.c:
15959         * plugins/elements/gstfdsink.c:
15960         * plugins/elements/gstfdsrc.c:
15961         * plugins/elements/gstfilesink.c:
15962         * plugins/elements/gstfilesrc.c:
15963         * plugins/elements/gstidentity.c:
15964         * plugins/elements/gstqueue.c:
15965         * plugins/elements/gsttee.c:
15966         * plugins/elements/gsttypefindelement.c:
15967         (gst_type_find_element_handle_event):
15968           make GstElementDetails const
15969
15970 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15971
15972         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15973         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15974         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15975           more detailed debug and formatting cleanup,
15976           forward newsegments to src-pad (so that e.g. adder not eats them)
15977
15978 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15979
15980         * gst/gstutils.c: (gst_element_link_pads):
15981           cleanup double code
15982
15983 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15984
15985         * libs/gst/controller/gstcontroller.c:
15986         (gst_controller_sync_values):
15987           some little tuning
15988         * tests/check/libs/controller.c: (GST_START_TEST),
15989         (gst_controller_suite):
15990           a new test for live value handling
15991
15992 2006-04-28  Wim Taymans  <wim@fluendo.com>
15993
15994         * gst/gstutils.c: (push_and_ref):
15995         Added some more docs.
15996         Fix refcount issue whith gst_element_found_tags() helper 
15997         function. Fixes #338335
15998
15999         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16000         Added testsuite for gst_element_found_tags().
16001
16002 2006-04-28  Michael Smith  <msmith@fluendo.com>
16003
16004         * gst/gstvalue.c: (gst_value_serialize_flags):
16005           Avoid NULL dereference when trying to serialize flags containing
16006           invalid values.
16007
16008 2006-04-28  Michael Smith  <msmith@fluendo.com>
16009
16010         * plugins/elements/gsttypefindelement.c:
16011         (gst_type_find_element_handle_event):
16012           If we get EOS before any data is accumulated, don't use
16013           uninitialised local variables.
16014
16015 2006-04-28  Michael Smith  <msmith@fluendo.com>
16016
16017         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
16018         (gst_dp_event_from_packet):
16019           Fixes in reading/writing events over GDP (not currently used?) - 
16020           dereferencing NULL events for unknown/invalid event types, memory
16021           leak, and change g_warning to GST_WARNING.
16022
16023 2006-04-28  Wim Taymans  <wim@fluendo.com>
16024
16025         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
16026         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16027         (gst_base_sink_get_position), (gst_base_sink_change_state):
16028         When frame dropping is enabled, we should not ignore frames
16029         without a duration.
16030         Update some documentation.
16031
16032 2006-04-28  Wim Taymans  <wim@fluendo.com>
16033
16034         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16035         (gst_base_src_send_event), (gst_base_src_change_state):
16036         Documentation updates.
16037
16038 2006-04-28  Wim Taymans  <wim@fluendo.com>
16039
16040         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
16041         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
16042         handle EAGAIN, EINTR and short writes correctly. Also clean
16043         up some error cases, avoid a deadlock on bad file descriptors and
16044         use GST_DEBUG_OBJECT.
16045         Fixes #339843
16046
16047 2006-04-28  Wim Taymans  <wim@fluendo.com>
16048
16049         * gst/gstvalue.c: (gst_value_serialize_buffer),
16050         (gst_value_deserialize_buffer):
16051         Don't try to serialize a GValue with a NULL buffer. 
16052         Fixes #339821.
16053
16054         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16055         Added check for serialisation of NULL buffers.
16056
16057 2006-04-28  Wim Taymans  <wim@fluendo.com>
16058
16059         * gst/gstminiobject.c: (gst_value_take_mini_object):
16060         Taking a NULL miniobject is valid, fix the case where
16061         we try to unref the NULL miniobject.
16062
16063 2006-04-28  Wim Taymans  <wim@fluendo.com>
16064
16065         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
16066
16067         * gst/gstbin.c: (gst_bin_handle_message_func):
16068         Update docs.
16069         Don't leak bin refcount when a state recalc is
16070         in progress and we delay another one #339808.
16071
16072 2006-04-28  Wim Taymans  <wim@fluendo.com>
16073
16074         * docs/design/part-TODO.txt:
16075         Mention QoS as an ongoing work item.
16076
16077         * docs/design/part-buffering.txt:
16078         New doc about buffering that needs to be fleshed out
16079         at some point.
16080
16081         * docs/design/part-qos.txt:
16082         More QoS policy for decoders/demuxers/transforms
16083
16084         * docs/design/part-trickmodes.txt:
16085         Small update.
16086
16087 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16088
16089         * configure.ac:
16090           back to HEAD
16091
16092 === release 0.10.5 ===
16093
16094 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
16095
16096         * configure.ac:
16097           releasing 0.10.5, "Fogo"
16098
16099 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16100
16101         patch by: Wim Taymans
16102
16103         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
16104         (gst_pad_configure_src), (gst_pad_push):
16105         * gst/gstpipeline.c: (gst_pipeline_init):
16106           Fix internal data flow errors.  Fixes #338711.
16107
16108 2006-04-12  Wim Taymans  <wim@fluendo.com>
16109
16110         * tests/check/gst/gstelement.c: (GST_START_TEST):
16111         Don't leak the factory.
16112
16113 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16114
16115         * configure.ac:
16116         * win32/common/config.h:
16117           prerelease
16118
16119 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
16120
16121         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16122         (gst_controller_unset_all):
16123           Free allocated GstTimedValues when freeing list nodes.
16124           Should fix leaks 'make check-valgrind' complains about.
16125
16126         * win32/common/libgstcontroller.def:
16127           Add gst_controller_unset_all.
16128
16129 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
16130
16131         * docs/libs/gstreamer-libs-sections.txt:
16132         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16133         (gst_controller_unset_all):
16134         * libs/gst/controller/gstcontroller.h:
16135         API: Added new method gst_controller_unset_all()
16136         fixed gst_controller_unset()
16137         * tests/check/libs/controller.c: (GST_START_TEST),
16138         (gst_controller_suite):
16139         Added two testcases for new and fixed method
16140
16141 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
16142
16143         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
16144           MSG_DONTWAIT is not defined on Cygwin, so work
16145           around that (fixes #317048).
16146           
16147 2006-04-11  Wim Taymans  <wim@fluendo.com>
16148
16149         * gst/gstelementfactory.c: (gst_element_register),
16150         (gst_element_factory_create), (gst_element_factory_make):
16151         Some cleanups.
16152         Fixed a FIXME.
16153         Updated docs (Fixes #131079)
16154
16155         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16156         Small cleanups.
16157
16158         * tests/check/gst/gstelement.c: (GST_START_TEST),
16159         (gst_element_suite):
16160         Added testcase for elementfactory class field.
16161
16162 2006-04-10  Wim Taymans  <wim@fluendo.com>
16163
16164         * gst/gstsegment.c:
16165         Added some more docs.
16166
16167         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
16168         (gst_base_sink_reset_qos):
16169         Calculate more accurate rate values.
16170
16171 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
16172
16173         * gst/gst_private.h:
16174           add a new #ifdef to use __declspec(dllimport) only for
16175           other modules and not for gstreamer core
16176         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
16177           use gst_guint64_to_gdouble for conversion
16178         * win32/common/libgstreamer.def:
16179           add new exported functions
16180         * win32/vs6/gst_inspect.dsp:
16181         * win32/vs6/gst_launch.dsp:
16182         * win32/vs6/libgstbase.dsp:
16183         * win32/vs6/libgstcontroller.dsp:
16184         * win32/vs6/libgstcoreelements.dsp:
16185         * win32/vs6/libgstdataprotocol.dsp:
16186         * win32/vs6/libgstnet.dsp:
16187           update project files
16188
16189 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16190
16191         * gst/gstbuffer.c: (gst_subbuffer_class_init):
16192         * gst/gstclock.c: (gst_clock_class_init):
16193         * gst/gstelement.c: (gst_element_class_init):
16194         * gst/gstindex.c: (gst_index_class_init):
16195         * gst/gstindexfactory.c: (gst_index_factory_class_init):
16196         * gst/gstobject.c: (gst_object_class_init),
16197         (gst_signal_object_class_init):
16198         * gst/gstpad.c: (gst_pad_class_init):
16199         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16200         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16201         * gst/gstregistry.c: (gst_registry_class_init):
16202         * gst/gstsystemclock.c: (gst_system_clock_class_init):
16203         * gst/gsttask.c: (gst_task_class_init):
16204         * gst/gstxml.c: (gst_xml_class_init):
16205         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16206         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16207         (gst_base_src_loop):
16208         * libs/gst/controller/gstcontroller.c:/
16209         (_gst_controller_class_init):
16210         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16211         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16212         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16213         * tests/old/examples/plugins/example.c: (gst_example_class_init):
16214         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16215         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16216
16217 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
16218
16219         * gst/gstpad.c: (gst_pad_link):
16220           Must set peer pads before calling the link function, otherwise
16221           a task started from a link function might get a flow-not-linked
16222           result when trying to push because the other thread where the
16223           linking happens hasn't had a chance to set the peers yet. This
16224           might happen for example when a queue gets linked to a downstream
16225           element, as queue starts a streaming task when its source pad
16226           gets linked. Happens in real life when playing back flac/musepack
16227           files in playbin (#332390).
16228           
16229 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16230
16231         * gst/gstindex.h:
16232         * gst/gstxml.h:
16233         * libs/gst/base/gstadapter.h:
16234         * libs/gst/base/gstbasesink.h:
16235         * libs/gst/base/gstbasesrc.h:
16236         * libs/gst/base/gstbasetransform.h:
16237         * libs/gst/base/gstcollectpads.h:
16238         * libs/gst/base/gstpushsrc.h:
16239         Fix broken GObject macros
16240
16241 2006-04-07  Wim Taymans  <wim@fluendo.com>
16242
16243         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16244         Initialize start and stop times, thanks valgrind.
16245
16246 2006-04-07  Wim Taymans  <wim@fluendo.com>
16247
16248         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16249         Be a bit nicer to badly behaving upstream elements that expect
16250         us to deal with non TIME segments and timestamps (such as fakesrc
16251         in the testsuite).
16252
16253 2006-04-07  Wim Taymans  <wim@fluendo.com>
16254
16255         * gst/gstbus.c:
16256         Small documentation clarification about the signal watch.
16257
16258         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16259         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16260         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16261         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16262         (gst_base_sink_get_position_last),
16263         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16264         Convert and store timestamps in stream time and running time, the
16265         raw timestamps are not useful, also document this better.
16266         Use different window sizes for good and bad QoS observations so
16267         we react to badness a little quicker.
16268         Keep track of the amount of rendered and dropped buffers.
16269         Send QoS timestamps in running time.
16270
16271         * libs/gst/base/gstbasetransform.c:
16272         (gst_base_transform_sink_eventfunc),
16273         (gst_base_transform_handle_buffer):
16274         Compare QoS timestamps against running time.
16275
16276 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16277
16278         * gst/gstpad.c:
16279           Typo fixes in docs.
16280
16281 2006-04-06  Michael Smith  <msmith@fluendo.com>
16282
16283         * gst/gstpad.c: (gst_pad_set_property):
16284           Use g_value_get_object() instead of g_value_dup_gst_object(),
16285           to avoid double-reffing the pad template (which we then sink,
16286           so this worked previously if (and only if) the pad template
16287           was floating.
16288
16289         * gst/gstpadtemplate.c: (gst_pad_template_init),
16290         (gst_pad_template_pad_created):
16291           Never return floating references to pad templates, create
16292           them as initially-sunken.
16293
16294           Document an extra function (and make this stop sinking our
16295           pad template, since that is now guaranteed to do nothing,
16296           since we created it sunken).
16297
16298         * gst/gstghostpad.c:
16299           Fix docs typo.
16300
16301 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16302
16303         * gst/gstinfo.c: (__gst_in_valgrind):
16304           Add some newlines.
16305
16306         * plugins/elements/gsttypefindelement.c:
16307         (gst_type_find_element_chain):
16308           Don't leak buffer caps.
16309
16310 2006-04-06  Michael Smith  <msmith@fluendo.com>
16311
16312         * gst/parse/grammar.y:
16313           Fix a leak in parse-launch for any source-or-sink named element 
16314           references used.
16315
16316         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16317           Unref the pipeline if it exists after we've failed parsing.
16318
16319 2006-04-05  Michael Smith  <msmith@fluendo.com>
16320
16321         * gst/gstpipeline.c: (gst_pipeline_init):
16322           When we create a pipeline bus, initially create it in flushing mode.
16323           Fixes leaks in at least one test, and makes a new pipeline work the
16324           same as one that has gone to READY and then back to NULL.
16325
16326         * gst/gstelement.c:
16327           Typo fix in docs.
16328
16329 2006-04-05  Michael Smith  <msmith@fluendo.com>
16330
16331         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16332           Unref a pad we reffed.
16333         * tests/check/gst/gstutils.c: (GST_START_TEST):
16334           Unref bins
16335
16336 2006-04-05  Michael Smith  <msmith@fluendo.com>
16337
16338         * gst/gstquery.c: (gst_query_set_formats),
16339         (gst_query_set_formatsv):
16340           Fix leaking GValues in queries, as shown by valgrind/testsuite.
16341
16342 2006-04-05  Michael Smith  <msmith@fluendo.com>
16343
16344         * tests/check/generic/sinks.c: (GST_START_TEST):
16345           Fix a variety of memleaks in sinks check, which are only sometimes 
16346           shown by running the tests under valgrind (weird?).
16347
16348 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
16349
16350         * docs/version.entities.in:
16351           Fix the substituted entity name after thomas' changes on the
16352           weekend.
16353
16354 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
16355
16356         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16357         VALGRIND_PRINTF
16358         
16359 2006-04-05  Andy Wingo  <wingo@pobox.com>
16360
16361         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16362
16363         * libs/gst/base/gstbasetransform.c
16364         (gst_base_transform_sink_eventfunc): When resetting our segment on
16365         FLUSH_STOP, also update the flag saying we haven't seen a
16366         newsegment.
16367
16368 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16369
16370         Patch by: Paolo Borelli  <pborelli at katamail dot com>
16371
16372         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16373         (gst_plugin_check_license):
16374           minor clean-ups: G_DEFINE_TYPE already takes care of the
16375           parent_class stuff, no need to do it twice. Mark array of
16376           license strings as constant. (#337103)
16377           
16378 2006-04-04  Michael Smith  <msmith@fluendo.com>
16379
16380         * tools/gst-inspect.c: (print_element_list):
16381           Free the right plugin list; fixes a memory leak.
16382
16383 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16384
16385         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
16386
16387         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16388           Don't error out on empty buffers (#336945).
16389           
16390 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
16391
16392         * docs/libs/gstreamer-libs-sections.txt:
16393         * gst/gsttaglist.c:
16394         * libs/gst/base/gstbasesink.c:
16395         * libs/gst/base/gstbasesink.h:
16396         * libs/gst/base/gstbasesrc.c:
16397         * libs/gst/base/gstbasesrc.h:
16398           Documentation updates. Make BaseSink and BaseSrc docs contain the
16399           class structure so that people can actually see the prototypes for
16400           virtual functions they're supposed to be overriding.
16401
16402 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16403
16404         * plugins/elements/gsttypefindelement.c:
16405         (gst_type_find_element_chain):
16406           More debug info; when skipping typefinding, send cached
16407           events in all cases.
16408
16409 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16410
16411         * configure.ac:
16412           use new AS_VERSION and AS_NANO macros
16413         * gst/gst-i18n-lib.h:
16414         * gst/gst.c:
16415         * gst/gsterror.c:
16416         * gst/gstversion.h.in:
16417         * win32/common/config.h:
16418         * win32/common/config.h.in:
16419           update accordingly
16420
16421 2006-03-31  Michael Smith  <msmith@fluendo.com>
16422
16423         * plugins/elements/gsttypefindelement.c:
16424         (gst_type_find_element_chain):
16425           Do not typefind content if the buffers already have caps.
16426           Neccesary for icydemux (#333657), and the right thing to do anyway.
16427
16428 2006-03-30  Wim Taymans  <wim@fluendo.com>
16429
16430         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16431         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16432         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16433         (gst_base_sink_record_qos_observation),
16434         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16435         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16436         (gst_base_sink_change_state):
16437         More QoS measurements as described in the design doc.
16438         Get rid of ringbuffer with observations, running average is
16439         more simple and equally good.
16440         Calculates valid proportion now.
16441         Added beginning of flood measurement.
16442
16443 2006-03-29  Wim Taymans  <wim@fluendo.com>
16444
16445         * docs/design/part-qos.txt:
16446         * gst/gstclock.c:
16447         Small documentation updates and additions.
16448
16449 2006-03-29  Wim Taymans  <wim@fluendo.com>
16450
16451         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16452         (gst_base_src_send_event), (gst_base_src_loop),
16453         (gst_base_src_change_state):
16454         Perform the EOS logic when we reach the segment stop position.
16455         Fix compilation on gcc4.1
16456
16457 2006-03-29  Wim Taymans  <wim@fluendo.com>
16458
16459         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16460
16461         * plugins/elements/gstqueue.c: (gst_queue_init),
16462         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16463         (gst_queue_set_property):
16464         * plugins/elements/gstqueue.h:
16465         In queue, when EOS is received, if minimum threshold > max_size -
16466         current_level, there is chance that queue blocks forever in conditional
16467         item del wait. This is because the queue is not emptied completely due
16468         to minimum threshold.  Here is another approach. Instead of setting
16469         cur_levels to max in EOS, just zero all minimum threshold levels. This
16470         should make sure that queue gives out all data. When going to READY
16471         (stop) state, just reset the original minimum threshold levels.
16472         Fixes #336336.
16473
16474 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16475
16476         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16477         (gst_type_find_element_handle_event),
16478         (gst_type_find_element_send_cached_events),
16479         (gst_type_find_element_change_state):
16480         * plugins/elements/gsttypefindelement.h:
16481           When typefinding is done in push mode, we should cache
16482           events we receive during typefinding instead of just
16483           dropping them (e.g. newsegment, custom events from
16484           dvdreadsrc etc.) and then send them out once we've
16485           determined the type of the stream (and decodebin
16486           has had a chance to plug in a decoder/demuxer).
16487           
16488 2006-03-27  Wim Taymans  <wim@fluendo.com>
16489
16490         * docs/design/part-qos.txt:
16491         First QoS ideas.
16492
16493 2006-03-27  Wim Taymans  <wim@fluendo.com>
16494
16495         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16496
16497         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16498         (gst_base_src_send_event), (gst_base_src_change_state):
16499         Handle element seek correctly when we are streaming.
16500         Fixes #326998.
16501
16502 2006-03-24  Michael Smith  <msmith@fluendo.com>
16503
16504         * docs/faq/gst-uninstalled:
16505           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16506           allow you to correctly run intalled applications built against old 
16507           core, using plugins that require updated core (e.g. running
16508           installed totem against a full uninstalled gstreamer stack)
16509
16510 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16511
16512         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16513         more debug details
16514
16515 2006-03-24  Wim Taymans  <wim@fluendo.com>
16516
16517         * docs/gst/gstreamer-sections.txt:
16518         Rearrange the order of the methods so that related methods
16519         are grouped together in sections.
16520
16521 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16522
16523         * gst/gstelement.c:
16524           Little clarification in the docs
16525
16526 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16527
16528         * docs/README:
16529         formatting fix
16530         * plugins/elements/gstidentity.c:
16531         * plugins/elements/gstqueue.c:
16532         * plugins/elements/gsttee.c:
16533         * plugins/elements/gsttypefindelement.c:
16534         GST_ELEMENT_DETAILS formatting
16535
16536 2006-03-24  Wim Taymans  <wim@fluendo.com>
16537
16538         * libs/gst/base/gstbasesink.h:
16539         Only add fields, not insert or we break ABI.
16540
16541 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16542
16543         * win32/common/libgstbase.def:
16544         * win32/common/libgstreamer.def:
16545           Update, add recently added functions.
16546
16547 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16548
16549         * docs/gst/gstreamer-sections.txt:
16550         * gst/gstutils.c: (gst_pad_query_peer_position),
16551         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16552         * gst/gstutils.h:
16553           API: add some new utility functions:
16554            - gst_pad_query_peer_position()
16555            - gst_pad_query_peer_duration()
16556            - gst_pad_query_peer_convert()
16557           
16558 2006-03-23  Wim Taymans  <wim@fluendo.com>
16559
16560         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16561         (gst_base_sink_init), (gst_base_sink_finalize),
16562         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16563         (gst_base_sink_set_property), (gst_base_sink_get_property),
16564         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16565         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16566         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16567         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16568         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16569         (gst_base_sink_preroll_object), (gst_base_sink_event),
16570         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16571         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16572         (gst_base_sink_query), (gst_base_sink_change_state):
16573         Decouple max-lateness and the fact that QoS messages are generated
16574         with a new property (qos).
16575         added API: GstBaseSink::async_play()
16576         Add vmethod so subclasses can be notified of ASYNC playing
16577         state changes.
16578         Collect timestamp start and stop to report better current
16579         position in EOS/PLAYING/PAUSED/READY/NULL.
16580         Refactor QoS/frame dropping and other measurements.
16581         API: GstBaseSrc::qos
16582         Fixes #326311
16583
16584         * libs/gst/base/gstbasesink.h:
16585         Added Private struct.
16586         API: gst_base_sink_set_qos_enabled()
16587         API: gst_base_sink_is_qos_enabled()
16588
16589 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16590
16591         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16592           If compiling against GLib-2.8 or newer, try to read the
16593           registry file using GMappedFile first before falling back
16594           to fopen() + fread() (#332151).
16595
16596 2006-03-22  Wim Taymans  <wim@fluendo.com>
16597
16598         * gst/gstinfo.c: (gst_debug_set_active),
16599         (gst_debug_category_set_threshold):
16600         Disable debugging unless explicitly activated.
16601         Fixes #335480.
16602
16603 2006-03-22  Wim Taymans  <wim@fluendo.com>
16604
16605         * gst/gstelement.c: (gst_element_set_locked_state),
16606         (gst_element_dispose):
16607         Cleanup the error case.
16608
16609         * gst/gstobject.c: (gst_object_dispose):
16610         print a critical when some object was disposed with
16611         a parent, also revive the object since it might
16612         crash the parent.
16613
16614 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16615
16616         * tools/gst-launch.1.in:
16617           Fix another typo.
16618
16619 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16620
16621         * configure.ac:
16622         * tests/check/Makefile.am:
16623           disable some tests when we don't have a registry
16624         * tests/check/gst/gstutils.c: (gst_utils_suite):
16625           don't build the part that needs parsing
16626
16627 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16628
16629         * gst/Makefile.am
16630         * tests/examples/Makefile.am:
16631           fix --disable-parse build
16632
16633 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16634
16635         * tools/gst-feedback.1.in:
16636           Fix typo: s/feeback/feedback/ (#133494).
16637
16638 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16639
16640         * tools/Makefile.am:
16641         * tools/gst-launch.1.in:
16642           Add FILES section and correct entry about GST_REGISTRY_PATH
16643           environment variable (#133495; #133494).
16644
16645 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16646
16647         * tools/Makefile.am:
16648         * tools/gst-md5sum.1.in:
16649         * tools/gst-md5sum.c:
16650           Remove gst-md5sum and man page (the md5sink element
16651           required was removed ages ago)
16652
16653 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16654
16655         * gst/gststructure.c: (gst_structure_id_set_value):
16656           Make sure that string fields in structures/taglists
16657           contain valid UTF-8 - we don't want to pass rubbish to
16658           applications because of a buggy plugin (cp. #334167).
16659
16660 2006-03-21  Edward Hervey  <edward@fluendo.com>
16661
16662         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16663         (gst_bin_handle_message_func):
16664         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16665         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16666         (gst_element_set_bus_func):
16667         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16668         * gst/gstminiobject.c: (gst_value_set_mini_object),
16669         (gst_value_take_mini_object):
16670         * gst/gstpad.c: (gst_pad_set_pad_template):
16671         * gst/gstpipeline.c: (gst_pipeline_dispose),
16672         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16673         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16674         (gst_collect_pads_chain):
16675         * libs/gst/net/gstnettimeprovider.c:
16676         (gst_net_time_provider_set_property):
16677         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16678         It's in fact all issues with gst_*object_replace().
16679
16680 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16681
16682         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16683         
16684         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16685         * pkgconfig/gstreamer-check.pc.in:
16686           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16687
16688 2006-03-21  Edward Hervey  <edward@fluendo.com>
16689
16690         * gst/gstbuffer.h:
16691         * gst/gstevent.h:
16692         * gst/gstmessage.h:
16693         gst_[buffer|event|message]_ref() macros are replaced by a static
16694         inline functions because gcc-4.1 will about if the return value
16695         isn't used.
16696         * tests/check/gst/gstevent.c: (event_probe):
16697         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16698
16699 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16700
16701         * gst/gstutils.h:
16702         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16703         the type' case. (Closes: #335195 for now). In the future, when we
16704         depend on GLib 2.10, we could also intern the type name using
16705         g_intern_static_string()
16706
16707 2006-03-20  Wim Taymans  <wim@fluendo.com>
16708
16709         * gst/gstbin.c: (gst_bin_handle_message_func),
16710         (bin_query_max_init), (bin_query_position_fold),
16711         (bin_query_position_done), (gst_bin_query):
16712         Position query should also take max of all streams.
16713
16714 2006-03-20  Wim Taymans  <wim@fluendo.com>
16715
16716         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16717         (gst_fake_src_finalize):
16718         Fix leaks in fakesrc.
16719
16720         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16721         Fix leaks in the testcase.
16722
16723 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16724
16725         * gst/gst_private.h:
16726           add win32 specific import decoration(__declspec(dllimport)) 
16727           for all extern GstDebugCategory * variables
16728         * win32/common/libgstbase.def:
16729         * win32/common/libgstcontroller.def:
16730         * win32/common/libgstreamer.def:
16731           Add some exports, remove empty lines
16732         * win32/common/libgstdataprotocol.def:
16733         * win32/common/libgstdataprotocol.dsp:
16734         * win32/common/libgstnet.def:
16735         * win32/common/libgstnet.dsp:
16736           new project files and exportation files added
16737         
16738 2006-03-19  Wim Taymans  <wim@fluendo.com>
16739
16740         * tests/check/libs/basesrc.c: (eos_event_counter):
16741         Use proper return value for probe.
16742
16743 2006-03-17  Wim Taymans  <wim@fluendo.com>
16744
16745         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16746         (gst_pad_push):
16747         Don't leak buffers, caps and pads on negotiation errors.
16748
16749 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16750
16751         * docs/faq/cvs.xml:
16752         * docs/faq/dependencies.xml:
16753         * docs/faq/developing.xml:
16754         * docs/faq/faq.xml:
16755         * docs/faq/general.xml:
16756         * docs/faq/getting.xml:
16757         * docs/faq/legal.xml:
16758         * docs/faq/troubleshooting.xml:
16759         * docs/faq/using.xml:
16760         Faq review and update.
16761
16762 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16763
16764         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16765         (gst_pad_push):
16766         Don't pound the cpu to pieces by checking get_caps when accept_caps
16767         is called with the same caps as the pad already has.
16768         Use GST_DEBUG_OBJECT when outputting caps change information.
16769
16770 2006-03-15  Wim Taymans  <wim@fluendo.com>
16771
16772         * gst/gstclock.c: (gst_clock_class_init):
16773         Fix docs.
16774
16775 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16776
16777         * gst/gstbuffer.h:
16778         Documentation fix.
16779
16780         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16781         (gst_pad_accept_caps), (gst_pad_configure_sink),
16782         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16783         Make the default acceptcaps behaviour be to check the requested 
16784         caps against the gst_pad_get_caps output. 
16785
16786         Ensure that gst_pad_accept_caps is used to check caps when a pad
16787         doesn't have a setcaps function, so that pads automatically refuse 
16788         caps that they don't allow in their pad template. (Fixes #332986)
16789
16790         When a buffer with attached caps is pushed, ensure that the source 
16791         pad receives those caps even if the element didn't call
16792         gst_pad_set_caps first.
16793
16794 2006-03-15  Wim Taymans  <wim@fluendo.com>
16795
16796         * libs/gst/base/gstadapter.c:
16797         Add some docs.
16798
16799 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16800
16801         * win32/common/libgstbase.def:
16802         * win32/common/libgstcontroller.def:
16803         * win32/common/libgstreamer.def:
16804           Add a whole bunch of missing functions (#334434).
16805
16806 2006-03-14  Wim Taymans  <wim@fluendo.com>
16807
16808         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16809         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16810         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16811         Better debug info when we receive a segment event.
16812         Reorganize a bit so we can pass the get_times() results around.
16813         Use the segment format when calculating the running time.
16814         Don't do QoS is sync is disabled or we have no clock or the
16815         element does not want us to sync to the clock.
16816         Don't drop buffers if QoS is disabled for now.
16817
16818 2006-03-14  Wim Taymans  <wim@fluendo.com>
16819
16820         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16821         Marked the stats property as unimplemented so people don't get
16822         wild ideas.
16823         Add debug message when regression goes wrong.
16824         Added some more docs.
16825
16826 2006-03-14  Wim Taymans  <wim@fluendo.com>
16827
16828         * gst/gstsegment.c: (gst_segment_to_stream_time):
16829         Return correct return type in case of errors.
16830
16831 2006-03-14  Wim Taymans  <wim@fluendo.com>
16832
16833         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16834           Don't segfault on invalid formats.
16835
16836 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16837
16838         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16839           Can't use gst_segment_to_running_time() when the segment
16840           is not in GST_TIME_FORMAT (like with filesink, for example).
16841           Stops flac encoding pipelines from spewing critical warnings
16842           at EOS (#331248).
16843           
16844 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16845
16846         * gst/gstpipeline.c: (gst_pipeline_class_init):
16847           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16848
16849         * plugins/elements/gsttypefindelement.c:
16850         (gst_type_find_element_handle_event):
16851           Don't try to typefind empty streams.
16852
16853 2006-03-14  Wim Taymans  <wim@fluendo.com>
16854
16855         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16856         (gst_base_sink_do_qos):
16857         Separate QoS calculation.
16858         Only drop buffers when lateness is bigger than the 
16859         duration of the buffer.
16860
16861 2006-03-13  Wim Taymans  <wim@fluendo.com>
16862
16863         * gst/gstpipeline.c: (gst_pipeline_set_property),
16864         (gst_pipeline_get_property), (do_pipeline_seek),
16865         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16866         (gst_pipeline_get_delay):
16867         Don't deadlock when reading properties.
16868
16869 2006-03-13  Wim Taymans  <wim@fluendo.com>
16870
16871         * libs/gst/base/gstbasetransform.c:
16872         (gst_base_transform_class_init), (gst_base_transform_init),
16873         (gst_base_transform_sink_event),
16874         (gst_base_transform_sink_eventfunc),
16875         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16876         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16877         (gst_base_transform_set_property),
16878         (gst_base_transform_get_property),
16879         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16880         (gst_base_transform_set_qos_enabled),
16881         (gst_base_transform_is_qos_enabled):
16882         * libs/gst/base/gstbasetransform.h:
16883         Make basetransform virtual method for src events too.
16884         Handle QOS in basetransform.
16885         API: gst_base_transform_update_qos()
16886         API: gst_base_transform_set_qos_enabled()
16887         API: gst_base_transform_is_qos_enabled()
16888
16889 2006-03-13  Wim Taymans  <wim@fluendo.com>
16890
16891         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16892         (gst_base_sink_do_sync):
16893         Small cleanups.
16894         Use QOS debug category.
16895
16896 2006-03-13  Wim Taymans  <wim@fluendo.com>
16897
16898         * plugins/elements/gstqueue.c:
16899         Very small doc update.
16900
16901 2006-03-13  Wim Taymans  <wim@fluendo.com>
16902
16903         * gst/gst_private.h:
16904         * gst/gstinfo.c: (_gst_debug_init):
16905         Added QOS debug category
16906
16907 2006-03-13  Wim Taymans  <wim@fluendo.com>
16908
16909         * docs/gst/gstreamer-sections.txt:
16910         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16911         * gst/gstbin.h:
16912         * gst/gstbus.c: (gst_bus_class_init):
16913         * gst/gstbus.h:
16914         * gst/gstclock.c:
16915         * gst/gstelement.c: (gst_element_set_locked_state):
16916         * gst/gstsegment.c:
16917         Documentation updates.
16918
16919         * gst/gstpipeline.c: (gst_pipeline_get_type),
16920         (gst_pipeline_class_init), (gst_pipeline_init),
16921         (gst_pipeline_dispose), (gst_pipeline_set_property),
16922         (gst_pipeline_get_property), (do_pipeline_seek),
16923         (gst_pipeline_send_event), (gst_pipeline_change_state),
16924         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16925         (gst_pipeline_get_delay):
16926         * gst/gstpipeline.h:
16927         Added methods for setting the delay.
16928         API: gst_pipeline_set_delay()
16929         API: gst_pipeline_get_delay()
16930         Add pipeline debug category
16931         Various cleanups.
16932         Updated docs.
16933         Don't reset stream time when seek failed.
16934
16935 2006-03-13  Wim Taymans  <wim@fluendo.com>
16936
16937         * docs/design/draft-klass.txt:
16938         * docs/design/part-clocks.txt:
16939         * docs/design/part-events.txt:
16940         * docs/design/part-gstbin.txt:
16941         * docs/design/part-gstpipeline.txt:
16942         * docs/design/part-messages.txt:
16943         * docs/design/part-negotiation.txt:
16944         * docs/design/part-overview.txt:
16945         * docs/design/part-preroll.txt:
16946         * docs/design/part-seeking.txt:
16947         * docs/design/part-states.txt:
16948         * docs/design/part-streams.txt:
16949         Documentation updates.
16950
16951 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16952
16953         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16954         us to leak strings...
16955
16956 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16957
16958         * libs/gst/net/gstnettimeprovider.c:
16959           fix docs
16960         * win32/common/config.h:
16961           update
16962
16963 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16964
16965         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16966
16967         * configure.ac:
16968           Don't check for libgnomeui (leftover from old examples
16969           that aren't built or disted any longer) (#334303).
16970           
16971 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16972
16973         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16974         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16975           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16976           there's no space left on the device.
16977
16978 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16979
16980         * gst/gstclock.h:
16981           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16982           to cast the input to GstClockTime before comparing with
16983           another GstClockTime value.
16984
16985 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16986
16987         * configure.ac:
16988           back to trunk
16989
16990 === release 0.10.4 ===
16991
16992 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16993
16994         * configure.ac:
16995           releasing 0.10.4, "Light"
16996
16997 2006-03-10  Michael Smith  <msmith@fluendo.com>
16998
16999         * libs/gst/dataprotocol/dataprotocol.c:
17000           Fix docs for dataprocotol to not get the return types completely
17001           wrong for a few functions.
17002
17003 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
17004
17005         * docs/gst/gstreamer-sections.txt:
17006         * gst/gstpipeline.c: (gst_pipeline_class_init),
17007         (gst_pipeline_init), (gst_pipeline_set_property),
17008         (gst_pipeline_get_property), (gst_pipeline_change_state),
17009         (gst_pipeline_set_auto_flush_bus),
17010         (gst_pipeline_get_auto_flush_bus):
17011         * gst/gstpipeline.h:
17012           Add new API: gst_pipeline_set_auto_flush_bus() and
17013           gst_pipeline_get_auto_flush_bus() to disable automatic
17014           flushing of the pipeline's GstBus when going from READY
17015           to NULL state (#332045).
17016
17017 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
17018
17019         * docs/gst/gstreamer-sections.txt:
17020         * gst/gsturi.c: (gst_uri_has_protocol):
17021         * gst/gsturi.h:
17022            Add new API: gst_uri_has_protocol() (#333779).
17023
17024 2006-03-09  Wim Taymans  <wim@fluendo.com>
17025
17026         * gst/gstclock.c: (gst_clock_entry_new),
17027         (gst_clock_id_compare_func), (gst_clock_id_wait),
17028         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
17029         (gst_clock_init), (gst_clock_get_internal_time),
17030         (gst_clock_set_master), (do_linear_regression),
17031         (gst_clock_add_observation), (gst_clock_set_property):
17032         * gst/gstclock.h:
17033         Review docs.
17034         Small cleanups.
17035         Fix a possible segfault when the window-size is made smaller.
17036         Calculate jitter before performing the clock wait. Ideally
17037         the clock implementation should calculate jitter but we need
17038         API breakage for that.
17039
17040         * gst/gstsystemclock.c: (gst_system_clock_init):
17041         Docs review.
17042         
17043         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17044         Remove leftover else
17045
17046         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
17047         (gst_systemclock_suite):
17048         Added check to test GST_CLOCK_DIFF.
17049
17050 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
17051
17052         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
17053         (gst_type_find_helper_get_range):
17054           If we are provided with the size, we should implement
17055           GstTypeFind::get_length, so that typefind functions who
17056           want to can actually peek at the middle of a file.
17057
17058 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
17059
17060         * docs/manual/advanced-dataaccess.xml:
17061           Add some very very basic error checking.
17062
17063         * docs/pwg/appendix-checklist.xml:
17064           Some updates to the list of things to check when writing an element.
17065
17066 2006-03-08  Wim Taymans  <wim@fluendo.com>
17067
17068         * docs/design/part-element-transform.txt:
17069         Added some docs about the design of tranform elements.
17070
17071         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
17072         (gst_base_src_loop), (gst_base_src_change_state):
17073         Mark buffers with the DISCONT flag.
17074
17075 2006-03-08  Michael Smith  <msmith@fluendo.com>
17076
17077         * gst/gstregistry.h:
17078         * gst/gstregistryxml.c: (gst_registry_save),
17079         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
17080         (gst_registry_xml_save_pad_template),
17081         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
17082         (gst_registry_xml_write_cache):
17083           Rewrite registry-saving to avoid race conditions and check for
17084           failed writes.
17085
17086 2006-03-08  Wim Taymans  <wim@fluendo.com>
17087
17088         * libs/gst/base/gstbasetransform.c:
17089         (gst_base_transform_transform_caps),
17090         (gst_base_transform_transform_size),
17091         (gst_base_transform_prepare_output_buffer),
17092         (gst_base_transform_get_unit_size),
17093         (gst_base_transform_buffer_alloc),
17094         (gst_base_transform_handle_buffer),
17095         (gst_base_transform_change_state):
17096         Cleanups, separate normal flow from errors, add sensible
17097         DEBUG lines.
17098         Don't try to renegotiate when allocating an output buffer.
17099         Also copy DISCONT buffer flag when copying a buffer.
17100         Reset the transform after we finish streaming, not during.
17101
17102 2006-03-08  Wim Taymans  <wim@fluendo.com>
17103
17104         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17105         Use last buffer timestamp in qos message.
17106
17107 2006-03-07  Wim Taymans  <wim@fluendo.com>
17108
17109         Patch by: Christophe Fergeau
17110
17111         * docs/pwg/advanced-tagging.xml:
17112         * docs/pwg/building-pads.xml:
17113           fixes #333416
17114
17115 2006-03-07  Wim Taymans  <wim@fluendo.com>
17116
17117         * docs/libs/gstreamer-libs-sections.txt:
17118         Added basesink new methods.
17119
17120         * gst/gstevent.c:
17121         * gst/gstevent.h:
17122         Docs updates. Flesh out the QoS docs.
17123
17124         * libs/gst/base/gstadapter.c:
17125         Small doc clarification about ownership and flushing.
17126
17127         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
17128         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
17129         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
17130         (gst_base_sink_get_property), (gst_base_sink_do_sync):
17131         * libs/gst/base/gstbasesink.h:
17132         API additions: 
17133         Added new methods to allow subclass to control max-lateness 
17134         and sync.
17135         Generate very basic QoS events based on last sync observation.
17136         Updated docs, fix typo, added some QoS blurb.
17137
17138         * libs/gst/base/gstbasesrc.c:
17139         Remove obsolete _get_state() calls from docs.
17140
17141 2006-03-07  Wim Taymans  <wim@fluendo.com>
17142
17143         * docs/libs/gstreamer-libs-sections.txt:
17144         * libs/gst/base/gstbasetransform.h:
17145         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
17146         Fix docs for GstBaseSrc.
17147
17148 2006-03-07  Wim Taymans  <wim@fluendo.com>
17149
17150         * docs/gst/gstreamer-sections.txt:
17151         * gst/gstbuffer.h:
17152         * gst/gstvalue.c:
17153         * libs/gst/base/gstbasetransform.h:
17154         Small documentation fixes.
17155
17156 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
17157
17158         * gst/gstvalue.c:
17159           Document thread-unsafety of gst_value_register_foo_func()
17160           when used at the same time as gst_value_foo() (#322628).
17161
17162 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
17163
17164         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
17165         (gst_push_src_check_get_range):
17166           Push sources don't support pull mode by default.
17167
17168 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
17169
17170         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17171         (gst_base_src_init), (gst_base_src_pad_check_get_range),
17172         (gst_base_src_default_check_get_range):
17173         * libs/gst/base/gstbasesrc.h:
17174           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
17175           provide default implementation, and rename
17176           gst_base_src_check_get_range() to
17177           gst_base_src_pad_check_get_range() for clarity.
17178
17179 2006-03-06  Wim Taymans  <wim@fluendo.com>
17180
17181         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17182         Make property overridable.
17183
17184 2006-03-06  Wim Taymans  <wim@fluendo.com>
17185
17186         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17187         (gst_base_sink_init), (gst_base_sink_set_property),
17188         (gst_base_sink_get_property), (gst_base_sink_do_sync):
17189         * libs/gst/base/gstbasesink.h:
17190         API addition: Make max-lateness a property.
17191
17192 2006-03-06  Wim Taymans  <wim@fluendo.com>
17193
17194         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17195         (gst_base_sink_do_sync), (gst_base_sink_render_object):
17196         Don't ever draw a frame that is >10ms late.
17197
17198 2006-03-06  Michael Smith  <msmith@fluendo.com>
17199
17200         * gst/gstmessage.c: (_gst_message_copy):
17201           When copying a message, set the parent_refcount of the enclosed
17202           structure to point at the copy, not the original message.
17203
17204 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
17205
17206         Patch by: Christophe Fergeau
17207
17208         * gst/gstutils.h:
17209           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17210           usable in c++ code (#333417)
17211
17212 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17213
17214         * gst/gstclock.h:
17215           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17216
17217 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
17218
17219         * libs/gst/base/gstbasetransform.c:
17220         (gst_base_transform_transform_caps):
17221           Make sure caps are writable before passing them to
17222           gst_caps_append().
17223
17224 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17225
17226         * gst/gsterror.h:
17227           Fix some minor docs errors.
17228
17229 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17230
17231           Patch by: Ross Burton <ross at burtonini dot com>
17232
17233         * gst/gsterror.c: (_gst_resource_errors_init):
17234         * gst/gsterror.h:
17235           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17236
17237 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17238
17239         * gst/gst.c:
17240         Add a check and output a g_warning when GStreamer is built
17241         against GLib 2.6 but running against 2.8 or higher, and vice 
17242         versa. (Closes: #323542)
17243
17244 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17245
17246         * gst/parse/parse.l:
17247           Commit patch for parse_launch syntax from #331255. Removes 
17248           support for quoted strings and mimetypes when writing filtered 
17249           caps. See the bug report for more details - I'm pretty sure this
17250           obscure feature is not in use by _anyone_ anywhere.
17251
17252           With this simple change, the size of the gstreamer.so here 
17253           drops from 2193KB to 1565KB.
17254
17255 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17256
17257         * plugins/elements/gsttypefindelement.h:
17258         * plugins/elements/gsttypefindelement.c:
17259         (gst_type_find_element_src_event), (start_typefinding),
17260         (stop_typefinding), (gst_type_find_element_handle_event),
17261         (gst_type_find_element_chain),
17262         (gst_type_find_element_chain_do_typefinding):
17263           Use gst_type_find_helper_for_buffer() for chain-based
17264           typefinding.
17265
17266 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17267
17268         * plugins/elements/gsttypefindelement.c:
17269         (gst_type_find_element_class_init),
17270         (gst_type_find_element_set_property),
17271         (gst_type_find_element_get_property):
17272           Deprecate "maximum" property (not only was it only taken into
17273           account for typefinding in push-mode anyway, it also was never
17274           actually possible to set it in the first place because the
17275           property was registered with the numeric property ID for the
17276           "minimum" property). Register "maximum" property correctly,
17277           for the sake of future copy'n'pasters. Remove some cruft
17278           from property get/set functions.
17279
17280 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17281
17282         * plugins/elements/gsttypefindelement.c:
17283         (gst_type_find_element_activate):
17284           Use gst_type_find_helper_get_range() here, so we
17285           can honour the "minimum" property and also emit
17286           the signal with the correct probability of the found caps.
17287
17288 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
17289
17290         * docs/libs/gstreamer-libs-sections.txt:
17291         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17292         (helper_find_suggest), (gst_type_find_helper_get_range),
17293         (gst_type_find_helper):
17294         * libs/gst/base/gsttypefindhelper.h:
17295           New API: gst_type_find_helper_get_range() (#333042).
17296
17297 2006-03-02  Michael Smith  <msmith@fluendo.com>
17298
17299         * gst/gstregistryxml.c: (load_feature):
17300           Asserting on a failure to read part of the registry is Not Cool.
17301           Just log a warning and return NULL (which is already handled)
17302
17303 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
17304
17305         * win32/common/libgstbase.def:
17306           added export of gst_type_find_helper_for_buffer
17307         * win32/common/libgstbase.def:
17308           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17309           gst_ghost_pad_get_target
17310
17311 2006-02-28  Wim Taymans  <wim@fluendo.com>
17312
17313         * docs/design/draft-klass.txt:
17314         We use Filter now.
17315         Added Connector to mark elements that are only used to
17316         allow pipeline connections.
17317         Moved Debug to extra feature since most of them are 
17318         functionally something else.
17319
17320 2006-02-28  Wim Taymans  <wim@fluendo.com>
17321
17322         * docs/design/draft-klass.txt:
17323         Some updates and clarifications.
17324
17325 2006-02-28  Wim Taymans  <wim@fluendo.com>
17326
17327         * docs/design/draft-klass.txt:
17328         Proposal for klass field values.
17329
17330         * docs/design/part-streams.txt:
17331         Start of a doc describing stream anatomy.
17332
17333 2006-02-28  Wim Taymans  <wim@fluendo.com>
17334
17335         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17336         Help the compiler a bit with type registration.
17337         Use existing forward cod path instead of duplicating it when 
17338         handling a message.
17339         
17340         * gst/gstbus.c: (gst_bus_get_type):
17341         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17342         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17343         * gst/gstclock.c: (gst_clock_get_type):
17344         * gst/gstelement.c: (gst_element_get_type),
17345         * gst/gstelementfactory.c: (gst_element_factory_get_type):
17346         * gst/gstindexfactory.c: (gst_index_factory_get_type):
17347         * gst/gstminiobject.c: (gst_mini_object_get_type):
17348         * gst/gstpad.c: (gst_pad_get_type):
17349         * gst/gstsegment.c: (gst_segment_get_type):
17350         * gst/gststructure.c: (gst_structure_get_type):
17351         * gst/gstsystemclock.c: (gst_system_clock_get_type):
17352         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17353         * gst/gstvalue.c:
17354         Help compiler with type registration.
17355
17356         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17357         Small doc update.
17358
17359 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17360
17361         * plugins/elements/gsttypefindelement.c:
17362         (gst_type_find_element_handle_event):
17363           When we get an EOS event and have not found a type yet
17364           (most likely because we had not yet accumulated
17365           TYPE_FIND_MIN_SIZE of data yet), try to determine the
17366           type given the data we have so far. Fixes typefinding
17367           for very short streams again, most notably quicktime
17368           redirections as used on Apple's trailer site (#331701).
17369
17370 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17371
17372         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17373         (gst_type_find_helper):
17374           Try typefinding factories with the highest rank first.
17375
17376 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17377
17378         * docs/libs/gstreamer-libs-docs.sgml:
17379         * docs/libs/gstreamer-libs-sections.txt:
17380         * libs/gst/base/gsttypefindhelper.c:
17381           Add section for typefind helper and add documentation
17382           for the old and the new function.
17383
17384 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17385
17386         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17387         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17388         (gst_type_find_helper_for_buffer):
17389         * libs/gst/base/gsttypefindhelper.h:
17390           New API: gst_type_find_helper_for_buffer() (#332723).
17391           
17392 2006-02-27  Michael Smith  <msmith@fluendo.com>
17393
17394         Patch by: Loïc Minier
17395
17396         * configure.ac:
17397         * docs/Makefile.am:
17398         * docs/slides/Makefile.am:
17399           prevent CVS directories getting disted.
17400
17401 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17402
17403         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17404           Use the REFCOUNTING category for caps refcounting.
17405           
17406 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17407
17408         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17409           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17410
17411 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17412
17413         * plugins/elements/gsttypefindelement.c:
17414         (gst_type_find_element_activate):
17415           Use gst_pad_check_pull_range() before _activate_pull()
17416           to avoid unnecessary open/close (see #331690).
17417
17418 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17419
17420         * gst/gstutils.c:
17421           Docs enhancement: make it crystal clear what the
17422           gst_pad_add_*_probe() callbacks should look like.
17423
17424 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17425
17426         * libs/gst/base/gstbasesrc.c:
17427           Document how applications can stop recording from
17428           live sources (see #330996).
17429
17430 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17431
17432         * tests/check/Makefile.am:
17433         * tests/check/libs/basesrc.c: (eos_event_counter),
17434         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17435         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17436         (gst_basesrc_suite), (main):
17437           ... and add some tests for the base source EOS stuff.
17438
17439 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17440
17441         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17442           Test case originally showed the problem fixed below,
17443           but was then amended. Add checks back at the place
17444           where they used to be.
17445
17446 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17447
17448         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17449         (gst_base_src_init), (gst_base_src_loop),
17450         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17451         (gst_base_src_change_state):
17452         * libs/gst/base/gstbasesrc.h:
17453           Don't unconditionally send EOS when going from PAUSED to
17454           READY state, esp. make sure we don't send two EOS events
17455           in some cases (e.g. one when reaching EOS and one when
17456           going from PAUSED to READY). Also, we don't want to send
17457           EOS events when operating in pull mode. However, we do
17458           want to send an EOS event when shutting down a live
17459           source explicitly, for example (fixes #330996).
17460           
17461 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17462
17463         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17464           Update src->read_position after a seek when not using mmap.
17465           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17466
17467 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17468
17469         * gst/Makefile.am:
17470         * gst/gstparse.h:
17471         * gst/gstutils.c:
17472         * gst/gstutils.h:
17473         Make things work with --disable-parse as they do with 
17474         --disable-load-save - the symbols involved disappear, but the
17475         header is still installed and GST_DISABLE_PARSE is included via
17476         gstconfig.h
17477
17478 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17479
17480         * libs/gst/base/gstbasetransform.c:
17481         (gst_base_transform_change_state): Fix a stupid bug. I was 
17482         sure I compiled that.
17483
17484 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17485
17486         * gst/gstpad.c: (gst_pad_set_blocked_async):
17487         * gst/gstutils.c: (gst_pad_add_data_probe),
17488         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17489         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17490         (gst_pad_remove_buffer_probe): Make those function act on the
17491         ghostpad target when it's a ghostpad. (Closes #331727)
17492
17493 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17494
17495         * libs/gst/base/gstbasetransform.c:
17496         (gst_base_transform_change_state): Make basetransform reusable.
17497         (Closes #331898)
17498
17499 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17500
17501         * docs/random/release:
17502         Move the current documentation of how to do a release to the top
17503         of the file.
17504
17505         * gst/gstbin.c: (gst_bin_class_init),
17506         (gst_bin_handle_message_func):
17507         Allow multiple state-recalculation threads. (Closes #328873)
17508
17509 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17510
17511         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17512         * gst/gstpad.c: (gst_pad_set_event_function),
17513         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17514         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17515         2 strings. You can't use the STR_NULL macro on that.
17516
17517 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17518
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)
17522         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17523           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17524           So now, we can use --gst-debug-level=5 on Windows
17525         * win32/common/libgstcontroller.def:
17526           Added export of gst_controller_init
17527         * win32/vs6/libgstcontroller.dsp:
17528           Fixed Release post build configuration
17529
17530 2006-02-17  Wim Taymans  <wim@fluendo.com>
17531
17532         * tests/check/gst/gstquery.c: (GST_START_TEST):
17533         Added another check.
17534
17535 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17536
17537         * plugins/elements/gsttypefindelement.c: (find_peek):
17538           We can do peeks at non-zero offsets, as long as they
17539           fall within the buffer we have.
17540
17541 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17542
17543         * tests/check/Makefile.am:
17544         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17545         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17546         (parse_suite), (main):
17547           Add testsuite for parse launch syntax
17548
17549 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17550
17551         * plugins/elements/gsttypefindelement.c:
17552         (gst_type_find_element_chain):
17553           When typefinding is unsuccessful in the chain function, don't
17554           error out immediately. Only error out with NO_CAPS_FOUND if
17555           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17556           otherwise simply wait for more data so we can try typefinding
17557           again with more data later. Also, don't attempt to typefind
17558           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17559           this should improve typefinding from network sources where the
17560           size of the first buffer can be somewhat random.
17561
17562 2006-02-14  Wim Taymans  <wim@fluendo.com>
17563
17564         * docs/gst/gstreamer-sections.txt:
17565         * gst/gstpadtemplate.c:
17566         * gst/gstpadtemplate.h:
17567         Fix padtemplate docs, fixes #328805.
17568
17569 2006-02-14  Wim Taymans  <wim@fluendo.com>
17570
17571         * tools/gst-launch.c: (main):
17572         NO_PREROLL is not an ERROR so don't send confusing messages
17573         to the user.
17574
17575 2006-02-14  Wim Taymans  <wim@fluendo.com>
17576
17577         Patch by: Torsten Schoenfeld
17578
17579         * gst/gstregistry.c: (gst_registry_get_default),
17580         (_gst_registry_cleanup):
17581         Protect default registry with lock and ref/sink it.
17582         Fixes #324818
17583
17584 2006-02-14  Wim Taymans  <wim@fluendo.com>
17585
17586         * gst/gstbuffer.c:
17587         * gst/gstquery.c: (gst_query_list_add_format),
17588         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17589         (gst_query_parse_formats_nth):
17590         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17591         Docs fixes.
17592
17593 2006-02-14  Wim Taymans  <wim@fluendo.com>
17594
17595         * docs/gst/gstreamer-sections.txt:
17596         Reworked query docs.
17597
17598         * gst/gstquery.c: (gst_query_new_formats),
17599         (gst_query_list_add_format), (gst_query_set_formats),
17600         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17601         (gst_query_parse_formats_nth):
17602         * gst/gstquery.h:
17603         Flesh out formats query, added some new methods.
17604         Fix part of #324398.
17605
17606         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17607         Added query creation tests.
17608
17609 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17610
17611         * gst/gstpad.c: (fixate_value):
17612         Add a default fixation for fraction lists.
17613
17614 2006-02-13  Wim Taymans  <wim@fluendo.com>
17615
17616         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17617         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17618         (gst_task_join):
17619         * gst/gsttask.h:
17620         Detect and warn for obvious deadlocks. fixes #320340
17621         Fix error case where lock was not released.
17622
17623         * tests/check/Makefile.am:
17624         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17625         (task_func), (gst_element_suite), (main):
17626         Add task check.
17627
17628 2006-02-13  Wim Taymans  <wim@fluendo.com>
17629
17630         * docs/gst/gstreamer-sections.txt:
17631         * gst/gstbus.c:
17632         Add new functions to docs.
17633
17634 2006-02-13  Wim Taymans  <wim@fluendo.com>
17635
17636         * docs/design/part-TODO.txt:
17637         Updated TODO list, basesrc supports seeking to non-bytes
17638         formats.
17639
17640         * docs/design/part-element-sink.txt:
17641         Update docs.
17642
17643         * gst/gstbin.c: (bin_replace_message),
17644         (gst_bin_handle_message_func):
17645         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17646         * gst/gstevent.c: (gst_event_finalize):
17647         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17648         (gst_pad_send_event):
17649         Use shiny new _TYPE_NAME macros.
17650
17651         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17652         Move debug statement up.
17653
17654         * gst/gstelement.c: (gst_element_set_locked_state):
17655         Add some debugging.
17656
17657 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17658
17659         * docs/gst/gstreamer-sections.txt:
17660         * gst/gstmessage.h:
17661         * gst/gstquery.h:
17662           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17663           macros (#330906). Also, document the already existing
17664           GST_QUERY_TYPE macro.
17665
17666 2006-02-13  Wim Taymans  <wim@fluendo.com>
17667
17668         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17669         (event_probe), (GST_START_TEST):
17670         Only events up to the pipeline EOS are counted, there are
17671         some more when going to NULL currently which we don't care
17672         about for now.
17673
17674 2006-02-13  Wim Taymans  <wim@fluendo.com>
17675
17676         * gst/gstpad.c: (gst_pad_send_event):
17677         Correctly check flushing and emit probes. fixes #330125
17678
17679 2006-02-10  Andy Wingo  <wingo@pobox.com>
17680
17681         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17682         structure.
17683         (gst_bus_init): Cache the location of the private data in the
17684         instance structure.
17685         (gst_bus_enable_sync_message_emission) 
17686         (gst_bus_disable_sync_message_emission): Implement new public
17687         functions.
17688         (gst_bus_post): Emit the sync-message signal if the user asked for
17689         it. Fixes #330684.
17690
17691         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17692         location of the bus-private structure.
17693         (gst_bus_enable_sync_message_emission)
17694         (gst_bus_disable_sync_message_emission): API addition
17695
17696 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17697
17698         Patch by: Vincent Torri
17699
17700         * docs/pwg/building-boiler.xml:
17701         PWG patch from #326800
17702
17703 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17704
17705         * configure.ac:
17706         * docs/Makefile.am:
17707         * docs/design/Makefile.am:
17708           Dist design docs.
17709
17710 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17711
17712         * configure.ac:
17713           back to CVS
17714
17715 === release 0.10.3 ===
17716
17717 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17718
17719         * configure.ac:
17720           releasing 0.10.3, "Like a virgin"
17721
17722 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17723
17724         * configure.ac:
17725           2nd prerelease of 0.10.3
17726           Bump libtool versioning.
17727
17728 2006-02-07  Andy Wingo  <wingo@pobox.com>
17729
17730         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17731         update last_stop if we're in TIME format and the timestamp is
17732         valid.
17733
17734         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17735         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17736         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17737         If we get a new newsegment with a different format, adapt
17738         accordingly.
17739
17740         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17741         of 0. Not a problem, really.
17742
17743         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17744         warn if sync=true.
17745
17746 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17747
17748         * configure.ac:
17749           Prelease of 0.10.3
17750
17751 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17752
17753         * win32/vs7:
17754           project files updated to the default vs7 configuration
17755         * win32/common/libgstbase.def:
17756         * win32/common/libgstreamer.def:
17757           added new symbols,
17758           removed empty lines,
17759           sorted all exported symbols alphabetically
17760         * win32/common/dirent.c:
17761         * win32/common/dirent.h:
17762         * win32/common/gchar.h:
17763           use windows line end.
17764           
17765 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17766
17767         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17768           Send EOS event when stopping.
17769
17770 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17771
17772         * docs/README:
17773           Tell folks what to do if the plugin-foobar.xml file
17774           hasn't been generated for a newly-added plugin.
17775
17776 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17777
17778         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17779         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17780         (gst_collect_pads_start), (gst_collect_pads_stop),
17781         (gst_collect_pads_event): Collectpads now holds a reference
17782         to the GstPad that was added. Indeed we don't want to look
17783         at pads that might just go away with no warning...
17784
17785 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17786
17787         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17788         (gst_collect_pads_start), (gst_collect_pads_stop),
17789         (gst_collect_pads_event), (gst_collect_pads_chain):
17790         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17791         Mark Nauwelaerts's patch on bug #328491.
17792
17793 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17794
17795         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17796         (gst_utils_suite):
17797           Add some simple tests for gst_parse_bin_from_description() and
17798           gst_bin_find_unconnected_pad() (#329069).
17799
17800 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17801
17802         * tools/gst-launch.c: (event_loop), (main):
17803           Catch errors during preroll (#320084).
17804
17805 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17806
17807         * plugins/elements/gsttypefindelement.c:
17808         (gst_type_find_element_activate):
17809           Post TYPE_NOT_FOUND error message when typefinding
17810           is unsuccessful in the activate function as well.
17811
17812 2006-02-02  Wim Taymans  <wim@fluendo.com>
17813
17814         * docs/design/part-element-sink.txt:
17815         Updated doc.
17816
17817 2006-02-02  Wim Taymans  <wim@fluendo.com>
17818
17819         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17820         (gst_base_sink_render_object),
17821         (gst_base_sink_queue_object_unlocked):
17822         Only keep track of prerollable items when we are 
17823         prerolling.
17824         Before rendering after preroll, always check if we
17825         have queued items.
17826         Added some more debugging.
17827
17828 2006-02-02  Wim Taymans  <wim@fluendo.com>
17829
17830         * gst/gstelement.c: (gst_element_continue_state),
17831         (gst_element_set_state_func), (gst_element_change_state):
17832         Fixed #326576, been running this for quite some time with
17833         no regressions at all.
17834
17835 2006-02-02  Wim Taymans  <wim@fluendo.com>
17836
17837         * common/gst.supp:
17838         Added more suppressions
17839
17840 2006-02-02  Wim Taymans  <wim@fluendo.com>
17841
17842         * docs/design/part-element-sink.txt:
17843         Updated document.
17844
17845         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17846         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17847         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17848         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17849         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17850         (gst_base_sink_preroll_object),
17851         (gst_base_sink_queue_object_unlocked),
17852         (gst_base_sink_queue_object), (gst_base_sink_event),
17853         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17854         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17855         (gst_base_sink_get_position), (gst_base_sink_change_state):
17856         * libs/gst/base/gstbasesink.h:
17857         Totally refactored matching the design doc.
17858         Use two segments, one to clip incomming buffers and another to
17859         perform sync.
17860         Handle queueing correctly, bypass the queue when playing.
17861         Make EOS cancelable.
17862         Handle errors correctly when operating in pull based mode.
17863
17864         * tests/check/elements/fakesink.c: (GST_START_TEST),
17865         (fakesink_suite):
17866         Added new check for sinks.
17867
17868 2006-02-02  Wim Taymans  <wim@fluendo.com>
17869
17870         * gst/gstsegment.c: (gst_segment_clip):
17871         No reason to refuse to clip when start == -1
17872
17873 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17874
17875         * docs/README:
17876         * docs/manual/intro-basics.xml:
17877         * docs/manual/intro-preface.xml:
17878         * docs/manual/manual.xml:
17879         * docs/pwg/advanced-dparams.xml:
17880         * docs/pwg/intro-basics.xml:
17881         * docs/pwg/intro-preface.xml:
17882         * docs/pwg/pwg.xml:
17883           describe dparams (controller) for plugins
17884           unify docs a little more
17885
17886 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17887
17888         * docs/gst/gstreamer-sections.txt:
17889         * gst/gstutils.c: (element_find_unconnected_pad),
17890         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17891         * gst/gstutils.h:
17892           Add new API: gst_parse_bin_from_description() and
17893           gst_bin_find_unconnected_pad() (#329069).
17894
17895 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17896
17897         * docs/manual/README:
17898           uncover a nasty detail of the docs build
17899
17900 2006-01-31  Wim Taymans  <wim@fluendo.com>
17901
17902         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17903         Don't cache duration messages if we're not going to use or
17904         free them.
17905
17906 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17907
17908         * docs/manual/advanced-dparams.xml:
17909         * docs/pwg/advanced-dparams.xml:
17910           more dparam docs
17911         * gst/gstindex.c:
17912           fix docs
17913         * libs/gst/controller/lib.c: (gst_controller_init):
17914           init just once
17915
17916 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17917
17918         * gst/gstelement.c: (gst_element_message_full):
17919           also show file/line/func if no additional debug was given
17920
17921 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17922         
17923         * win32/vs7/grammar.vcproj:
17924           activate copy of autogenerated files for Release mode
17925
17926 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17927         
17928         * win32/common/libgstreamer.def:
17929           export gst_value_compare
17930
17931 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17932
17933         * plugins/elements/Makefile.am:
17934         * plugins/elements/gstelements.c:
17935         * plugins/elements/gstfdsink.c: (_do_init),
17936         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17937         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17938         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17939         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17940         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17941         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17942         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17943         * plugins/elements/gstfdsink.h:
17944         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17945
17946 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17947
17948         * docs/manual/advanced-dparams.xml:
17949           describe controller
17950         * docs/manual/advanced-position.xml:
17951         * docs/manual/basics-init.xml:
17952         * docs/manual/manual.xml:
17953         * docs/manual/titlepage.xml:
17954         * docs/pwg/pwg.xml:
17955         * docs/pwg/titlepage.xml:
17956           cleanup xml (more to come)
17957         * libs/gst/controller/gstcontroller.c:
17958           fix typo
17959
17960 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17961         
17962         * win32/vs6/grammar.dsp:
17963           add autogen of gstmarshal.c,h for Release mode
17964                 
17965 2006-01-30  Wim Taymans  <wim@fluendo.com>
17966
17967         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17968         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17969         (gst_base_sink_handle_object), (gst_base_sink_event),
17970         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17971         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17972         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17973         (gst_base_sink_deactivate), (gst_base_sink_activate),
17974         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17975         (gst_base_sink_query), (gst_base_sink_change_state):
17976         Basesink cleanups, remove some old code.
17977         Handle the case where a subclass can preroll in the render
17978         method (mostly audiosinks).
17979         Handle more events.
17980         Remove some locks around variables that are now protected
17981         with the PREROLL_LOCK (clock_id, flushing, ..).
17982         Optimize position query some more, do correct locking.
17983         Remove old code to push queue in state change, this is not
17984         needed anymore since preroll blocks on all prerollable items 
17985         now.
17986         Almost implemented as described in design doc.
17987
17988 2006-01-30  Wim Taymans  <wim@fluendo.com>
17989
17990         * tests/check/gst/gstbin.c: (GST_START_TEST):
17991         Wait for refcount to settle down before checking.
17992
17993 2006-01-30  Wim Taymans  <wim@fluendo.com>
17994
17995         * docs/design/part-element-sink.txt:
17996         Pseudo code overview of desired sink behaviour regarding
17997         preroll.
17998
17999 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
18000         * win32/vs6/grammar.dsp:
18001           fix some bugs in Release mode for autogenerated files
18002                 
18003 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
18004         * win32/common/libgstbase.def:
18005         * win32/common/libgstreamer.def:
18006           export some new symbols: gst_base_src_set_format,
18007           gst_iterator_next, gst_structure_set_valist
18008
18009 2006-01-29  Julien MOUTTE  <julien@moutte.net>
18010
18011         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
18012         Set pad functions unconditionally. Fixes #329105.
18013
18014 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
18015         * win32/vs8:
18016           add vs8 project files created by Sergey Scobich
18017
18018 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
18019
18020         * gst/gstutils.c: (gst_element_unlink_pads):
18021         Don't leak pad references.
18022
18023         * tests/check/elements/fakesink.c: (GST_START_TEST):
18024         * tests/check/generic/sinks.c: (GST_START_TEST):
18025         * tests/check/generic/states.c: (GST_START_TEST):
18026         * tests/check/gst/gstbin.c: (GST_START_TEST):
18027         * tests/check/gst/gstcaps.c: (GST_START_TEST):
18028         * tests/check/gst/gstelement.c: (GST_START_TEST):
18029         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
18030         * tests/check/gst/gstiterator.c: (GST_START_TEST):
18031         * tests/check/gst/gstvalue.c: (GST_START_TEST):
18032         Fix a bunch of leaks. Make generic/sinks.c
18033         use a bit less cpu by slowing the buffer rate
18034         between fakesrc and fakesink.
18035         
18036 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
18037         * gst/gstcaps.c:
18038         * gst/gstelement.c: (gst_element_send_event):
18039         * gst/gstevent.c:
18040         * gst/gstinfo.c:
18041         * gst/gstiterator.c:
18042         * gst/gstiterator.h:
18043         * gst/gstpad.c: (gst_pad_send_event):
18044         * gst/gststructure.c:
18045         * gst/gsturi.c:
18046         * gst/gstutils.c:
18047         * gst/gstvalue.c:
18048         * libs/gst/base/gstadapter.c:
18049           doc fixes, to link to function, just write gst_cool_function(), don't
18050           prefix with '#'
18051
18052 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
18053
18054         * plugins/elements/gsttee.c: (gst_tee_do_push),
18055         (gst_tee_handle_buffer):
18056         Always prefer an actual return value from a src
18057         pad in place of NOT_LINKED. This means we return
18058         WRONG_STATE when all src pads are WRONG_STATE
18059         instead of NOT_LINKED.
18060
18061         Lock when replacing the last message to prevent
18062         racing with the get_property method.
18063
18064         Add debug output
18065
18066 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
18067
18068         * tests/check/Makefile.am:
18069         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
18070         (main):
18071         Add a very simple check that should have caught the memleak I fixed
18072         last night (if not for the slice allocator hiding it)
18073
18074 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
18075
18076         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18077         (gst_bin_remove_func), (gst_bin_handle_message_func),
18078         (bin_query_duration_fold), (bin_query_generic_fold):
18079         Clean up references to the clock provider when disposed or when
18080         handling a clock-lost message from it.
18081
18082         Unref sinks when performing a query via gst_iterator_fold, as the
18083         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
18084
18085         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
18086         (gst_clock_set_master):
18087         Drop our reference to the master clock, if any, when we are disposed.
18088
18089         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
18090         Chain up in dispose. 
18091
18092 2006-01-26  Wim Taymans  <wim@fluendo.com>
18093
18094         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
18095         Add some debugging.
18096
18097 2006-01-26  Julien MOUTTE  <julien@moutte.net>
18098
18099         * plugins/elements/gsttee.c: (gst_tee_do_push),
18100         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
18101         handles pad being NOT_LINKED or in WRONG_STATE.
18102
18103 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
18104
18105         * win32/MANIFEST:
18106           more updating
18107
18108 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
18109
18110         * win32/MANIFEST:
18111           remove obsolete entry
18112
18113 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
18114
18115         * docs/gst/gstreamer-sections.txt:
18116         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
18117         (gst_bin_iterate_sources), (gst_bin_send_event):
18118         * gst/gstbin.h:
18119         * gst/gstelement.c: (gst_element_send_event):
18120         * gst/gstevent.c:
18121         * gst/gstpad.c: (gst_pad_send_event):
18122           added code for downstream events, reviewed docs in gstevent.c
18123
18124 2006-01-25  Julien MOUTTE  <julien@moutte.net>
18125
18126         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18127         We only query position using the clock in the playing state.
18128         Query peer in the other cases.
18129         * win32/common/config.h: Updates.
18130
18131 2006-01-24  Wim Taymans  <wim@fluendo.com>
18132
18133         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18134         A clock entry that is scheduled for the exact time of the
18135         clock is still in time.
18136
18137         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18138         (gst_base_sink_do_sync):
18139         Add some more debug info.
18140
18141 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
18142
18143         * win32/vs7:
18144           Add new vs7 project files and solution.
18145
18146 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
18147
18148         * win32/vs7:
18149           all files removed as they were out-dated.
18150
18151 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18152
18153         * docs/random/release:
18154           update notes
18155         * gst/gstbin.c: (gst_bin_init):
18156         * gst/gstbus.c: (gst_bus_new):
18157         * gst/gstbus.h:
18158         * gst/gstpipeline.c: (gst_pipeline_init):
18159           use gst_bus_new(), improve logging, fix docs
18160         * win32/common/config.h:
18161           update for cvs build
18162
18163 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18164
18165         * autogen.sh:
18166           up required version of automake to 1.7
18167
18168 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
18169
18170         * win32/common/libgstreamer.def:
18171           export gst_buffer_is_metadata_writable
18172
18173 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
18174
18175         * docs/gst/gstreamer-sections.txt:
18176         * gst/gstevent.h:
18177           Add gst_event_replace() (#327001)
18178
18179 2006-01-20  Wim Taymans  <wim@fluendo.com>
18180
18181         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18182         Make it actually compile too..
18183
18184 2006-01-20  Wim Taymans  <wim@fluendo.com>
18185
18186         * gst/gstcaps.c:
18187         Clarify behaviour of _is_equal() when passing NULL parameters.
18188
18189         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18190         (gst_pad_set_caps):
18191         Cleanups. Don't unref NULL caps.
18192         When setting the same caps, protect caps of the pad with
18193         proper lock.
18194         Use full functionality of _is_equal() when comparing caps.
18195
18196 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18197
18198         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18199         Don't loop infinitely if there are no buffers to present. Partially
18200         fixes #327197, but collectpads is just broken for reusing elements
18201         to do multiple encodes atm.
18202
18203 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18204
18205         * tools/gst-inspect.c: (print_element_features):
18206         * tools/gst-xmlinspect.c: (main):
18207         URL_HANDLER is not a plugin feature we can search for in
18208         the registry.
18209
18210 2006-01-19  Edward Hervey  <edward@fluendo.com>
18211
18212         * gst/gstelement.c: (gst_element_pads_activate): 
18213         When activating, do src pads first, then sink pads.
18214         When de-activating, do sink pads first, then src pads.
18215
18216 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18217
18218         * docs/gst/gstreamer-sections.txt:
18219         Add gst_index_add_associationv to the docs
18220
18221 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18222
18223         * gst/gstevent.c:
18224           Fix docs typo
18225
18226         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18227         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18228           Do some refactoring. Doesn't actually change functionality,
18229           but makes landing the DRAIN event easier later.
18230
18231 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
18232
18233         * docs/pwg/advanced-scheduling.xml:
18234           Update from 0.9.x to 0.10 API and make example a bit
18235           clearer.
18236
18237 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18238
18239         * docs/gst/gstreamer-sections.txt:
18240         Add gst_buffer_(is|make)_metadata_writable methods.
18241
18242 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18243
18244         * docs/design/part-sparsestreams.txt:
18245         Update sparse streams doc, hopefully for greater clarity
18246
18247 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
18248
18249         * docs/design/part-events.txt:
18250         Remove mention of FILLER events.
18251         Add DRAIN event.
18252
18253         * docs/design/part-sparsestreams.txt:
18254         Write some things about using NEWSEGMENT to keep sparse streams
18255         flowing.
18256
18257 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18258
18259         * gst/gstbin.c: (gst_bin_dispose):
18260           Guard gst_object_unref call against a NULL object (dispose
18261           can theoretically be called multiple times).
18262           
18263 2006-01-18  Wim Taymans  <wim@fluendo.com>
18264
18265         * gst/gstbin.c: (gst_bin_element_set_state):
18266         * gst/gstclock.c: (gst_clock_id_wait):
18267         Added some more debug info.
18268
18269         * libs/gst/base/gstadapter.c:
18270         Added more docs.
18271
18272         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18273         (gst_base_sink_do_sync), (gst_base_sink_chain):
18274         Added some comments.
18275
18276 2006-01-18  Wim Taymans  <wim@fluendo.com>
18277
18278         * tests/check/Makefile.am:
18279         * tests/check/elements/fakesink.c: (chain_async_buffer),
18280         (chain_async), (chain_async_return), (GST_START_TEST),
18281         (fakesink_suite), (main):
18282         Added fakesink test that checks prerolling and clipping
18283         behaviour.
18284
18285         * tests/check/gst/gstutils.c: (GST_START_TEST):
18286         Make check run faster so that buildbots don't timeout.
18287
18288 2006-01-18  Wim Taymans  <wim@fluendo.com>
18289
18290         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18291         (gst_base_sink_do_sync):
18292         Some cleanups.
18293         When the sink finishes blocking on the preroll buffer, it can
18294         immediatly render it instead of rendering when the next buffer
18295         arrives.
18296
18297 2006-01-18  Wim Taymans  <wim@fluendo.com>
18298
18299         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18300         (gst_base_sink_get_property), (gst_base_sink_do_sync),
18301         (gst_base_sink_chain):
18302         Small cleanups.
18303         GST_ELEMENT_CLOCK and sync are protected with LOCK.
18304         Don't store _last_stop if the buffer is dropped.
18305
18306 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18307
18308         * plugins/elements/gsttypefindelement.c:
18309         (gst_type_find_element_class_init):
18310           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18311           object method handler that sets the caps on the pad and we want
18312           that to happen before we emit the signal (fixes e.g. feeding a
18313           plain text file to decodebin).
18314
18315 2006-01-18  Christian Schaller  <Christian@fluendo.com>
18316
18317         * gst/gstplugin.c: Add MPL and Proprietary as license options
18318
18319 2006-01-18  Andy Wingo  <wingo@pobox.com>
18320
18321         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18322         symbol was exported before, it appears this was just an oversight.
18323         Fixes #168703.
18324         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18325
18326         * gst/gstindex.c (gst_index_add_associationv): Changed int in
18327         prototype to gint. OK since this prototype was not in the header.
18328
18329 2006-01-17  Andy Wingo  <wingo@pobox.com>
18330
18331         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18332         registry while we remove plugins.
18333
18334         * tools/gst-inspect.c (print_element_info): Don't unref the
18335         factory arg, that should be the responsibility of whatever code
18336         received the ref. Fixes a double-free when called from
18337         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18338         (main): Unref the factory if we have one.
18339         (print_element_list): No change -- relies on the
18340         plugin_feature_list_free to free the list of features.
18341
18342 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
18343
18344         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18345         (gst_buffer_make_metadata_writable):
18346         * gst/gstbuffer.h:
18347         * libs/gst/base/gstbasetransform.c:
18348         (gst_base_transform_prepare_output_buf):
18349         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18350         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18351           Replace gst_buffer_(make|is)_metadata_writable patch now
18352           that the release is out.
18353
18354 2006-01-17  Andy Wingo  <wingo@pobox.com>
18355
18356         * gst/gstregistry.c: Reflow design comment. Update so as to speak
18357         in the present tense without reference to versions.
18358
18359         * gst/gstregistry.c (gst_registry_add_plugin)
18360         (gst_registry_remove_plugin, gst_registry_remove_feature)
18361         (gst_registry_find_feature, gst_registry_get_feature_list)
18362         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18363         (gst_registry_lookup, gst_registry_scan_path)
18364         (_gst_registry_remove_cache_plugins)
18365         (gst_registry_get_feature_list_by_plugin): Add argument
18366         validation.
18367
18368 === release 0.10.2 ===
18369
18370 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
18371
18372         * configure.ac:
18373           releasing 0.10.2, "If man is five"
18374
18375 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18376
18377         * gst/gstbuffer.c:
18378         * gst/gstbuffer.h:
18379         * libs/gst/base/gstbasetransform.c:
18380         (gst_base_transform_prepare_output_buf):
18381         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18382         * tests/check/gst/gstbuffer.c: (gst_test_suite):
18383           Back out patch until after the release.
18384
18385 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18386
18387         * gst/gstminiobject.c:
18388           Spelling fix in docs.
18389         * ChangeLog - remove conflict indicator
18390
18391 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18392
18393         Reviewed By: Andy Wingo
18394
18395         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18396         (gst_buffer_make_metadata_writable):
18397         * gst/gstbuffer.h:
18398           Add gst_buffer_(is|make)_metadata_writable as analogues of
18399           gst_buffer_(is|make)_writable.
18400
18401         * libs/gst/base/gstbasetransform.c:
18402         (gst_base_transform_prepare_output_buf):
18403         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18404           Use name gst_buffer_(is|make)_metadata_writable functions.
18405
18406         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18407           Test gst_buffer_(is|make)_metadata_writable
18408         
18409           (Closes: #324162)
18410
18411 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18412
18413         * docs/manual/Makefile.am:
18414           don't do parallel make
18415         * configure.ac:
18416           AC_SUBST HOST_CPU
18417         * win32/common/config.h.in:
18418           add generations for HOST_CPU and GST_MAJORMINOR
18419         * win32/common/config.h:
18420           commit generated result
18421
18422 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18423
18424         * docs/manual/appendix-integration.xml:
18425           Update GNOME integration section to use gst_init_get_option_group()
18426           instead of the old popt stuff (#322911). Also, GNOME applications
18427           should  now use gconf*sink and gconf*src instead of the old gconf
18428           helper lib we had.
18429
18430 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18431
18432
18433         * docs/gst/gstreamer-docs.sgml:
18434         * docs/gst/gstreamer-sections.txt:
18435         * docs/libs/gstreamer-libs-sections.txt:
18436           add new API entries to the docs
18437         * libs/gst/controller/Makefile.am:
18438         * libs/gst/controller/gstcontroller.c:
18439         * libs/gst/controller/gstcontroller.h:
18440         * libs/gst/controller/gstcontrollerprivate.h:
18441         * libs/gst/controller/gsthelper.c:
18442         * libs/gst/controller/gstinterpolation.c:
18443           move private structs to private header
18444         * po/README:
18445           gstreamer-0.7 -> gstreamer-0.10
18446         * tests/check/libs/struct_i386.h:
18447           remove private structs
18448
18449 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18450
18451         * plugins/indexers/Makefile.am:
18452           Fixes as part of #317048
18453
18454 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18455
18456         * plugins/indexers/Makefile.am:
18457           fix #316086 - compilation when mmap is missing
18458
18459 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18460
18461         * libs/gst/base/gstbasesink.c:
18462           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18463           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18464         * win32/common/config.h:
18465           added some defines GST_MAJORMINOR and HOST_CPU
18466         * win32/common/libgstbase.def:
18467         * win32/common/libgstreamer.def:
18468           added some exported functions.
18469
18470 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18471
18472         * libs/gst/controller/gstcontroller.c:
18473         (gst_controlled_property_set_interpolation_mode),
18474         (gst_controlled_property_new):
18475         * libs/gst/controller/gstcontroller.h:
18476         * libs/gst/controller/gstinterpolation.c:
18477         (interpolate_none_get_string_value_array):
18478           make G_TYPE_STRING controlable
18479
18480 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18481
18482         * tools/README:
18483         * tools/gst-feedback.1.in:
18484         * tools/gst-inspect.1.in:
18485         * tools/gst-launch.1.in:
18486         * tools/gst-md5sum.1.in:
18487         * tools/gst-typefind.1.in:
18488         * tools/gst-xmlinspect.1.in:
18489         * tools/gst-xmllaunch.1.in:
18490           cleanup man-pages, remove reference to gst-register, document env-vars
18491
18492 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18493
18494         * gst/gstbuffer.c: (gst_buffer_span):
18495           gst_buffer_span should copy the timestamp of the first buffer
18496           if they were both originally overlapping subbuffers of the 
18497           same parent, using the same logic as the 'slow copy' case.
18498
18499 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18500
18501         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18502           Need to awaken ALL the pads when we pop a buffer, otherwise
18503           collectpads only works when there is 2 input streams.
18504
18505 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18506
18507         * docs/random/ensonic/media-device-daemon.txt:
18508           more ideas (dbus)
18509         * gst/gstbuffer.c:
18510           fix doc example, add clarification
18511         * tools/gst-launch.1.in:
18512           add initial info about GST_PLUGIN_PATH, needs more work
18513
18514 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18515
18516         * docs/manual/basics-bins.xml:
18517         * docs/manual/basics-elements.xml:
18518         * docs/manual/intro-basics.xml:
18519           Some more minor docs additions and updates.
18520
18521 2006-01-11  Wim Taymans  <wim@fluendo.com>
18522
18523         * docs/manual/basics-bins.xml:
18524         * docs/manual/basics-elements.xml:
18525         Some small fixes as pointed out by Ser-ver on IRC.
18526
18527 2006-01-10  Edward Hervey  <edward@fluendo.com>
18528
18529         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18530         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18531         the single-segment mode.
18532
18533 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18534
18535         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18536
18537         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18538         (gst_base_src_perform_seek), (gst_base_src_send_event),
18539         (gst_base_src_set_property), (gst_base_src_get_property),
18540         (gst_base_src_loop), (gst_base_src_start),
18541         (gst_base_src_activate_push):
18542         * libs/gst/base/gstbasesrc.h:
18543           Name (private) union; makes Sun's Forte compiler happy (#324900).
18544
18545 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18546
18547         * README:
18548           gst-register is gone.
18549
18550 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18551
18552         * gst/gstvalue.c: (_gst_value_initialize):
18553           make the G_TYPE_DATE instantiation work if debug is disabled
18554
18555 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18556
18557         * gst/gstmessage.c: (gst_message_parse_tag),
18558         (gst_message_parse_error), (gst_message_parse_warning):
18559           Don't crash when return location for error/warning debug
18560           string is NULL; add fact that return locations can be
18561           NULL to docs where appropriate.
18562
18563 2006-01-05  Wim Taymans  <wim@fluendo.com>
18564
18565         * gst/gstplugin.c: (gst_plugin_load_file):
18566         Replace strdup by g_strdup.
18567
18568 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18569
18570         * docs/pwg/advanced-types.xml:
18571           fix doc borkage
18572
18573 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18574
18575         submitted by: Abel Cheung
18576
18577         * po/LINGUAS:
18578         * po/zh_TW.po:
18579           Added Chinese (traditional) translation
18580
18581 2006-01-04  Wim Taymans  <wim@fluendo.com>
18582
18583         * docs/manual/basics-pads.xml:
18584         * docs/plugins/Makefile.am:
18585         * docs/plugins/gstreamer-plugins-docs.sgml:
18586         * docs/plugins/gstreamer-plugins-sections.txt:
18587         * docs/pwg/advanced-clock.xml:
18588         * docs/pwg/advanced-scheduling.xml:
18589         * docs/pwg/advanced-types.xml:
18590         * plugins/elements/gstfdsink.c:
18591         * plugins/elements/gstfdsrc.c:
18592         * plugins/elements/gstfdsrc.h:
18593         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18594         * plugins/elements/gstidentity.h:
18595         * plugins/elements/gstqueue.h:
18596         * plugins/elements/gsttee.c:
18597         * plugins/elements/gsttee.h:
18598         * plugins/elements/gsttypefindelement.c:
18599         (gst_type_find_element_class_init):
18600         * plugins/elements/gsttypefindelement.h:
18601         Small updates to various docs.
18602         Added core plugins to docs.
18603
18604 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18605
18606         * common/gst.supp:
18607           add a suppression for liboil's uninitialized variable
18608
18609 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18610
18611         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18612
18613         * gst/gstutils.h:
18614           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18615           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18616           compiler switch is being used (#325429).
18617
18618 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18619
18620         * gst/gstbin.c: (gst_bin_query):
18621           Disable duration query caching in bins until it gets
18622           fixed (see #324807).
18623
18624 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18625
18626         * tools/gst-inspect.c: (print_element_properties_info):
18627           Handle properties of POINTER and BOXED type.
18628
18629 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18630
18631         * gst/gst.c: (init_post):
18632           Init tags stuff and some other things before loading
18633           any static plugins (there may be other static plugins
18634           than just the GStreamer ones, and they may want to
18635           register their own tags or formats or whatever, and
18636           preferably without segfaulting).
18637
18638         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18639           Print at least a warning in the debug logs if we drop a
18640           query just because we don't know how to adjust the value
18641           in the particular format.
18642
18643 2005-12-24  David Schleef  <ds@schleef.org>
18644
18645         * tools/gstreamer-completion:
18646           Replacement for gst-complete written in sh and sed.  Only
18647           completes names of features, but that's 90% of what I want
18648           it for.  Properties are not available in registry.xml.  (Maybe
18649           they should be...)
18650
18651 === release 0.10.1 ===
18652
18653 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18654
18655         * configure.ac:
18656           releasing 0.10.1, "Nollaig chridheil"
18657
18658 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18659
18660         * docs/faq/cvs.xml:
18661           Add missing quote, should be make ERROR_CFLAGS="".
18662
18663 2005-12-20  Wim Taymans  <wim@fluendo.com>
18664
18665         * docs/design/part-trickmodes.txt:
18666         More documentation on trickmodes.
18667
18668 2005-12-20  Edward Hervey  <edward@fluendo.com>
18669
18670         * gst/gstcaps.c: (gst_static_caps_get_type):
18671         * gst/gstcaps.h:
18672           API addition: GST_TYPE_STATIC_CAPS
18673         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18674         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18675         * gst/gstpadtemplate.h:
18676           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18677         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18678         bindings.
18679
18680 2005-12-18  Wim Taymans  <wim@fluendo.com>
18681
18682         * libs/gst/base/gstadapter.c:
18683         * libs/gst/base/gstadapter.h:
18684         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18685         (gst_base_sink_get_position):
18686         * libs/gst/base/gstbasesink.h:
18687         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18688         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18689         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18690         (gst_base_src_send_event), (gst_base_src_update_length),
18691         (gst_base_src_get_range), (gst_base_src_loop),
18692         (gst_base_src_start):
18693         * libs/gst/base/gstbasesrc.h:
18694         * libs/gst/base/gstbasetransform.h:
18695         * libs/gst/base/gstcollectpads.h:
18696         * libs/gst/base/gstpushsrc.c:
18697         * libs/gst/base/gstpushsrc.h:
18698         * libs/gst/dataprotocol/dataprotocol.c:
18699         * libs/gst/dataprotocol/dataprotocol.h:
18700         * libs/gst/net/gstnetclientclock.h:
18701         * libs/gst/net/gstnettimeprovider.h:
18702         Documentation updates.
18703
18704 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18705
18706         * docs/manual/basics-helloworld.xml:
18707           Remove superfluous closing bracket in helloworld example.
18708
18709 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18710
18711         * tools/gst-launch.1.in:
18712           Update gst-launch man page; add a section with useful
18713           environment variables. Fixes #323882.
18714
18715 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18716
18717         * gst/gst.c:
18718         * gst/gst_private.h:
18719           change some char* into char[]
18720
18721 2005-12-16  Wim Taymans  <wim@fluendo.com>
18722
18723         * gst/gstregistryxml.c: (load_feature):
18724         Cleanups.
18725         Don't use g_object_unref on GstObjects so that we avoid
18726         leaks on unsafe glibs.
18727
18728 2005-12-16  Wim Taymans  <wim@fluendo.com>
18729
18730         * gst/gstbin.c: (gst_bin_recalc_state):
18731         Small doc updates.
18732
18733 2005-12-16  Wim Taymans  <wim@fluendo.com>
18734
18735         * common/check.mak:
18736         Added make forever target for check.
18737
18738 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18739
18740         * gst/gst.c: (init_post):
18741           make the registry cache file HOST_CPU-dependent
18742
18743 2005-12-16  Andy Wingo  <wingo@pobox.com>
18744
18745         * plugins/elements/gstbufferstore.c
18746         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18747         return value.
18748
18749         * tests/check/gst/gstobject.c
18750         (test_fake_object_name_threaded_unique): Pay attention to
18751         g_list_sort return value.
18752
18753 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18754
18755         * tools/gst-feedback-m.m:
18756           Update for 0.9/0.10 (fixes #323870).
18757
18758 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18759
18760         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18761           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18762           
18763         * tests/check/gst/gstminiobject.c: (my_foo_init),
18764         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18765         (test_value_collection), (gst_mini_object_suite):
18766           Add test to ensure refcounts end up as expected when passing
18767           GstMiniObjects through g_object_get() and g_object_set().
18768
18769 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18770
18771         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18772         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18773         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18774         of collectpads. This version removes a lot of races without
18775         touching API/ABI. Yay !
18776
18777 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18778
18779         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18780           Don't allow activation of a srcpad in pull_range if it has no
18781           getrange function.
18782           Change some debug statements to be a little clearer
18783
18784         * plugins/elements/gsttypefindelement.c:
18785         (gst_type_find_handle_src_query):
18786           Check that we have a peer before executing queries thereupon.
18787
18788         * tests/examples/metadata/read-metadata.c: (message_loop):
18789           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18790           immediately return us any available message with 0 timeout.
18791
18792 2005-12-12  Michael Smith  <msmith@fluendo.com>
18793
18794         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18795           Don't unref factories after calling them.
18796         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18797         * plugins/elements/gsttypefindelement.c:
18798         (gst_type_find_element_chain):
18799           Free lists of factories after using them. Fixing typefinding memory
18800           leaks.
18801
18802 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18803
18804         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18805         (gst_plugin_feature_load):
18806           more meaningful debug output
18807         * configure.ac:
18808         * tests/Makefile.am:
18809         * tests/old/examples/Makefile.am:
18810           make make distcheck happy again
18811
18812 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18813
18814         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18815           Catch the special case where we are operating chain-based,
18816           but the downstream peer pad has no chain function. Emit a
18817           custom error message in this case instead of letting the
18818           core generate one implying that this is some sort of core
18819           bug. It's not, it just means that whatever got plugged
18820           into the pipeline downstream when we announced the type
18821           can only operate pull-based, while our source can only
18822           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18823           Error string has not been marked for translation yet, as
18824           it probably needs some more work first.
18825
18826         (gst_type_find_element_get_best_possibility):
18827           Add helper function to find the best of all available
18828           found possibilities that qualify given the min. threshold.
18829
18830         (gst_type_find_element_handle_event):
18831           Fix the case where we get an EOS while still in TYPEFIND
18832           mode (we want to chose the best of all possible types,
18833           not just the first type that happens to be in our unsorted
18834           list of possible types).
18835
18836         (gst_type_find_element_chain):
18837           Make sure we return GST_FLOW_ERROR when we errored out
18838           in stop_typefinding(); also, don't just find the best of
18839           all found type entries and then use the last examined
18840           type entry, but actually use the best entry.
18841
18842 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18843
18844         * tests/examples/typefind/typefind.c: (type_found):
18845         * tests/examples/xml/runxml.c: (xml_loaded):
18846           More gcc4 fixes and a mem leak fix.
18847
18848 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18849
18850         * tests/examples/xml/createxml.c: (object_saved):
18851           gcc 4 fixes
18852
18853 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18854
18855         * tests/Makefile.am:
18856           enable the examples even more
18857
18858 2005-12-12  Andy Wingo  <wingo@pobox.com>
18859
18860         * libs/gst/net/gstnettimeprovider.c
18861         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18862         (gst_net_time_provider_set_property)
18863         (gst_net_time_provider_get_property):
18864         API addition: Export "active" as a GObject property.
18865         (gst_net_time_provider_thread): Only respond to time queries if
18866         the time provider is active.
18867
18868         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18869         NetTimeProvider, preserving binary compat.
18870
18871 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18872
18873         * tests/examples/controller/audio-example.c: (main):
18874         * tests/examples/launch/Makefile.am:
18875           convert comments again
18876
18877 2005-12-12  Wim Taymans  <wim@fluendo.com>
18878
18879         * libs/gst/base/gstpushsrc.c:
18880         Fix typo.
18881
18882 2005-12-12  Wim Taymans  <wim@fluendo.com>
18883
18884         * docs/libs/gstreamer-libs-sections.txt:
18885         Added new symbol to docs.
18886
18887         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18888         (gst_base_src_init), (gst_base_src_set_format),
18889         (gst_base_src_default_query), (gst_base_src_query),
18890         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18891         (gst_base_src_perform_seek), (gst_base_src_send_event),
18892         (gst_base_src_default_event), (gst_base_src_event_handler),
18893         (gst_base_src_set_property), (gst_base_src_get_property),
18894         (gst_base_src_wait), (gst_base_src_do_sync),
18895         (gst_base_src_update_length), (gst_base_src_get_range),
18896         (gst_base_src_check_get_range), (gst_base_src_loop),
18897         (gst_base_src_default_negotiate), (gst_base_src_start),
18898         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18899         (gst_base_src_change_state):
18900         * libs/gst/base/gstbasesrc.h:
18901         Implement seeking to other formats than _BYTES.
18902         Implement more seeking methods correctly.
18903         Doc updates.
18904         Added query vmethod.
18905         Added do_seek vmethod to make life easier for subclasses
18906         when seeking.
18907         API addition: gst_base_src_set_format()
18908
18909 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18910
18911         * tests/examples/Makefile.am:
18912           added that too
18913
18914 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18915
18916         * configure.ac:
18917         * docs/random/ensonic/media-device-daemon.txt:
18918         * tests/examples/controller/.cvsignore:
18919         * tests/examples/controller/Makefile.am:
18920         * tests/examples/controller/audio-example.c: (main):
18921         * tests/examples/helloworld/.cvsignore:
18922         * tests/examples/helloworld/Makefile.am:
18923         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18924         * tests/examples/launch/.cvsignore:
18925         * tests/examples/launch/Makefile.am:
18926         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18927         * tests/examples/metadata/.cvsignore:
18928         * tests/examples/metadata/Makefile.am:
18929         * tests/examples/metadata/read-metadata.c: (message_loop),
18930         (make_pipeline), (print_tag), (main):
18931         * tests/examples/queue/.cvsignore:
18932         * tests/examples/queue/Makefile.am:
18933         * tests/examples/queue/queue.c: (event_loop), (main):
18934         * tests/examples/typefind/.cvsignore:
18935         * tests/examples/typefind/Makefile.am:
18936         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18937         (main):
18938         * tests/examples/xml/.cvsignore:
18939         * tests/examples/xml/Makefile.am:
18940         * tests/examples/xml/createxml.c: (object_saved), (main):
18941         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18942         * tests/old/examples/Makefile.am:
18943         * tests/old/examples/TODO:
18944         * tests/old/examples/controller/.cvsignore:
18945         * tests/old/examples/controller/Makefile.am:
18946         * tests/old/examples/controller/audio-example.c:
18947         * tests/old/examples/helloworld/.cvsignore:
18948         * tests/old/examples/helloworld/Makefile.am:
18949         * tests/old/examples/helloworld/helloworld.c:
18950         * tests/old/examples/launch/.cvsignore:
18951         * tests/old/examples/launch/Makefile.am:
18952         * tests/old/examples/launch/mp3parselaunch.c:
18953         * tests/old/examples/launch/mp3play:
18954         * tests/old/examples/manual/Makefile.am:
18955         * tests/old/examples/metadata/Makefile.am:
18956         * tests/old/examples/metadata/read-metadata.c:
18957         * tests/old/examples/queue/.cvsignore:
18958         * tests/old/examples/queue/Makefile.am:
18959         * tests/old/examples/queue/queue.c:
18960         * tests/old/examples/typefind/.cvsignore:
18961         * tests/old/examples/typefind/Makefile.am:
18962         * tests/old/examples/typefind/typefind.c:
18963         * tests/old/examples/xml/.cvsignore:
18964         * tests/old/examples/xml/Makefile.am:
18965         * tests/old/examples/xml/createxml.c:
18966         * tests/old/examples/xml/runxml.c:
18967           applied some simple fixing to some examples
18968           re-enabled the working examples
18969
18970 2005-12-12  Wim Taymans  <wim@fluendo.com>
18971
18972         * gst/gstsegment.c: (gst_segment_init),
18973         (gst_segment_set_last_stop), (gst_segment_set_seek),
18974         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18975         (gst_segment_to_running_time):
18976         Added more documentation.
18977         Make sure the last_pos value is updated properly.
18978         Make sure to_stream_time and to_running_time don't
18979         operate on wrong values.
18980
18981         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18982         Update check.
18983
18984 2005-12-12  Michael Smith  <msmith@fluendo.com>
18985
18986         * plugins/elements/gsttypefindelement.c: (free_entry),
18987         (gst_type_find_element_chain):
18988           Now that we're not leaking factories, make sure we keep references
18989           to them while we need them.
18990
18991 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18992
18993         * tests/check/gst/struct_i386.h:
18994           ifdef out the XML structs
18995
18996 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18997
18998         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18999           floor is not needed, F is always positive; this obviates the
19000           need for adding -lm when building without libxml
19001
19002 2005-12-12  Wim Taymans  <wim@fluendo.com>
19003
19004         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
19005         Take current playback rate into account when reporting
19006         the position.
19007
19008 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
19009
19010         * docs/manual/mime-world.fig:
19011           Let's try this again, this time with a file that is
19012           actually in XFig format.
19013
19014 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
19015
19016         * docs/manual/mime-world.fig:
19017           Add audioconvert element to diagram so that it
19018           matches the text and the code (fixes #319526).
19019
19020 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
19021
19022         * docs/pwg/building-chainfn.xml:
19023         * docs/pwg/building-pads.xml:
19024         * docs/pwg/building-state.xml:
19025         * docs/pwg/other-source.xml:
19026           Update state change stuff for 0.10 (fixes #322969).
19027
19028 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
19029
19030         * docs/manual/advanced-dataaccess.xml:
19031         * docs/manual/appendix-checklist.xml:
19032         * docs/manual/appendix-programs.xml:
19033         * docs/manual/basics-pads.xml:
19034         * docs/manual/highlevel-components.xml:
19035         * docs/manual/manual.xml:
19036           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
19037           add converters in front of pipelines; remove curly
19038           brackets for threads stuff, they no longer exist; use
19039           GST_TYPE_FRACTION for framerates; update some pieces of
19040           code to 0.10, but there's plenty more to do.
19041
19042         * docs/manual/appendix-porting.xml:
19043           Expand on asynchroneous state changes; s/0.9/0.10/;
19044           mention disappearance of gst_init_get_popt_table()
19045           (fixes #322916).
19046
19047 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
19048
19049         * docs/faq/using.xml:
19050           Spider no longer exists, and neither does gst-launch-ext.
19051           Update examples to use decodebin and playbin and put
19052           converters in front of sinks (fixes #323726).
19053
19054 2005-12-09  Michael Smith  <msmith@fluendo.com>
19055
19056         * plugins/elements/gsttypefindelement.c: (find_peek),
19057         (gst_type_find_element_chain):
19058           Fix leaking element factories in typefinding.
19059           Fix problem where we forgot about a probable type on non-seekable
19060           files, and thus later mis-typefound it.
19061
19062 2005-12-09  Michael Smith  <msmith@fluendo.com>
19063
19064         * common/m4/gst-makecontext.m4:
19065         * common/m4/gst-mcsc.m4:
19066         * configure.ac:
19067         * win32/common/config.h:
19068         * win32/common/config.h.in:
19069           Remove makecontext stuff; not used in 0.10 and causes problems on
19070           HPUX according to bug #322441
19071
19072 2005-12-07  Wim Taymans  <wim@fluendo.com>
19073
19074         * tests/check/Makefile.am:
19075         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
19076         (main):
19077         * tests/check/libs/struct_i386.h:
19078         Added ABI check for libs
19079
19080 2005-12-07  Wim Taymans  <wim@fluendo.com>
19081
19082         * tests/check/Makefile.am:
19083         And add the struct_i386.h to dist.
19084
19085 2005-12-07  Wim Taymans  <wim@fluendo.com>
19086
19087         * tests/check/Makefile.am:
19088         * tests/check/gst/.cvsignore:
19089         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
19090         (main):
19091         * tests/check/gst/struct_i386.h:
19092         Added check for ABI compatibility.
19093
19094 2005-12-07  Wim Taymans  <wim@fluendo.com>
19095
19096         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19097         (gst_fake_src_get_times), (gst_fake_src_create):
19098         Fix broken sync option, fixes #323259
19099
19100 2005-12-07  Wim Taymans  <wim@fluendo.com>
19101
19102         * gst/gstbuffer.c:
19103         Small docs update.
19104
19105         * gst/gstcaps.c: (gst_caps_is_equal):
19106         Don't assert on NULL <--> X. Fixes #323260
19107
19108         * gst/gstminiobject.c: (gst_mini_object_replace):
19109         If we're doing atomic operations, we might just as well use
19110         the proper way to get an atomic pointer.
19111
19112         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
19113         Clean up debugging.
19114
19115 2005-12-07  Michael Smith  <msmith@fluendo.com>
19116
19117         * gst/parse/grammar.y:
19118           Remove handling of { } for threads.
19119
19120 2005-12-06  David Schleef  <ds@schleef.org>
19121
19122         * libs/gst/base/gstbasetransform.c: speling fix.
19123
19124 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19125
19126         * docs/libs/tmpl/gstdataprotocol.sgml:
19127         * docs/random/omega/testing/gstobject.c:
19128         * gst/gst.c:
19129         * gst/gstclock.c:
19130         * gst/gstelement.c:
19131         * gst/gstelementfactory.c:
19132         * gst/gsterror.c:
19133         * gst/gstevent.c:
19134         * gst/gstghostpad.c:
19135         * gst/gstinfo.c:
19136         * gst/gstpadtemplate.c:
19137         * gst/gstregistryxml.c:
19138         * gst/gsttaglist.c:
19139         * gst/gsttagsetter.c:
19140         * gst/gsttypefind.c:
19141         * gst/gstvalue.c:
19142         * libs/gst/base/gstbasesrc.c:
19143         * libs/gst/net/gstnetclientclock.c:
19144         * libs/gst/net/gstnettimeprovider.c:
19145         * plugins/elements/gstfakesrc.c:
19146         * plugins/elements/gstfdsrc.c:
19147         * plugins/elements/gstfilesrc.c:
19148         * plugins/elements/gstidentity.c:
19149         * plugins/elements/gstqueue.c:
19150         * plugins/elements/gsttypefindelement.c:
19151         * plugins/indexers/gstfileindex.c:
19152         * plugins/indexers/gstmemindex.c:
19153         * tests/check/gst/gsttag.c:
19154         * tests/old/examples/cutter/cutter.c:
19155         * tests/old/examples/mixer/mixer.c:
19156         * tests/old/examples/xml/runxml.c: (main):
19157         * tests/old/testsuite/caps/normalisation.c:
19158         * tests/old/testsuite/debug/global.c:
19159         * tests/old/testsuite/parse/parse1.c:
19160         * tools/gst-xmlinspect.c:
19161         * win32/common/dirent.c:
19162           expand tabs
19163
19164 === release 0.10.0 ===
19165
19166 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19167
19168         * configure.ac:
19169           releasing 0.10.0, "Maroilles"
19170
19171 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19172
19173         submitted by: Funda Wang <fundawang@linux.net.cn>
19174
19175         * po/LINGUAS:
19176         * po/zh_CN.po:
19177           added Chinese (Traditional) translation
19178
19179 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19180
19181         * docs/gst/gstreamer-sections.txt:
19182         * docs/libs/tmpl/gstdataprotocol.sgml:
19183         * docs/random/thomasvs/TODO:
19184         * gst/gstutils.c:
19185         * gst/gstutils.h:
19186           fix docs
19187
19188 2005-12-05  Andy Wingo  <wingo@pobox.com>
19189
19190         patch by: Wim Taymans <wim@fluendo.com>
19191
19192         * libs/gst/base/gstbasetransform.c
19193         (gst_base_transform_prepare_output_buf)
19194         (gst_base_transform_buffer_alloc):
19195         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19196         alloc_buffer_and_set_caps.
19197
19198         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19199         set_caps on the source pad.
19200         (gst_pad_alloc_buffer_and_set_caps): New function, does what
19201         alloc_buffer used to do. Fixes #322874.
19202
19203         * docs/gst/gstreamer-sections.txt: 
19204         * docs/design/part-negotiation.txt: 
19205         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19206         changes.
19207
19208 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19209
19210         patch by: Sebastien Moutte
19211
19212         * win32/MANIFEST:
19213         * win32/common/config.h.in:
19214         * win32/vs6/libgstcontroller.dsp:
19215           win32 build fixes
19216
19217 2005-12-05  Wim Taymans  <wim@fluendo.com>
19218
19219         * gst/gstcaps.c: (gst_caps_is_equal):
19220         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19221         (gst_fake_src_create):
19222         Back out previous code changes, leave doc updates, file bugs 
19223         instead. 
19224
19225 2005-12-05  Wim Taymans  <wim@fluendo.com>
19226
19227         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19228         (gst_fake_src_get_times), (gst_fake_src_create):
19229         * plugins/elements/gstfakesrc.h:
19230         Fix broken sync code.
19231
19232 2005-12-05  Wim Taymans  <wim@fluendo.com>
19233
19234         * gst/gstcaps.c: (gst_caps_is_equal):
19235         Comparing NULL against !NULL yields different caps, not a
19236         failure.
19237
19238 2005-12-05  Wim Taymans  <wim@fluendo.com>
19239
19240         * gst/gstpipeline.c:
19241         Fix small typo in docs.
19242
19243 2005-12-05  Andy Wingo  <wingo@pobox.com>
19244
19245         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
19246
19247         * gst/gst.c (init_post): remove hard-coded 0.9 location for
19248         registries/plugins with a MAJORMINOR one.
19249         (plugin_desc): Rename library from gstcoreleements to
19250         staticelements. Fixes #323222.
19251
19252 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
19253
19254         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19255           Change debug category to 'collectpads' from 'collect_pads'
19256           (fixes #323250).
19257
19258 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19259
19260         patch by: Sebastien Moutte
19261
19262         * libs/gst/controller/gstinterpolation.c:
19263           use convert function for uint64/double
19264         * win32/vs6/libgstcontroller.dsp:
19265           link to GLib
19266
19267 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19268
19269         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19270         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19271         * gst/gstutils.h:
19272         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19273           add tests that seem to show that the guint64/gdouble conversions
19274           are correct.
19275
19276 2005-12-02  Wim Taymans  <wim@fluendo.com>
19277
19278         * gst/gstregistry.c: (gst_registry_add_path):
19279         * gst/gstregistry.h:
19280         * gst/gstregistryxml.c:
19281         Fix docs again.
19282
19283 2005-12-02  Wim Taymans  <wim@fluendo.com>
19284
19285         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19286         (gst_util_uint64_scale_int):
19287         Small cleanup.
19288
19289         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19290         Add debug log line.
19291
19292         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19293         Add FIXME.
19294
19295 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19296
19297         * win32/MANIFEST:
19298         * win32/common/config.h:
19299         * win32/vs6/gstreamer.dsw:
19300         * win32/vs6/libgstcoreelements.dsp:
19301         * win32/vs6/libgstelements.dsp:
19302           renamed core elements plugin
19303
19304 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19305
19306         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19307         (get_candidates):
19308           do piece-wise major/minor comparison so 0.9 < 0.10
19309           also allow .exe extensions for tools
19310
19311 2005-12-02  Michael Smith  <msmith@fluendo.com>
19312
19313         * gst/gst.c:
19314           Escape a % to make gtkdoc happier; bug 322958.
19315
19316 === release 0.9.7 ===
19317
19318 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19319
19320         * configure.ac:
19321           releasing 0.9.7, "My Dog Has No Nose"
19322
19323 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19324
19325         * common/gst-xmlinspect.py:
19326         * configure.ac:
19327         * docs/libs/tmpl/gstdataprotocol.sgml:
19328         * docs/random/release:
19329         * po/af.po:
19330         * po/az.po:
19331         * po/bg.po:
19332         * po/ca.po:
19333         * po/cs.po:
19334         * po/de.po:
19335         * po/en_GB.po:
19336         * po/fr.po:
19337         * po/it.po:
19338         * po/nb.po:
19339         * po/nl.po:
19340         * po/ru.po:
19341         * po/sq.po:
19342         * po/sr.po:
19343         * po/sv.po:
19344         * po/tr.po:
19345         * po/uk.po:
19346         * po/vi.po:
19347         * win32/common/config.h:
19348         * win32/common/config.h.in:
19349         * win32/vs6/gst_inspect.dsp:
19350         * win32/vs6/gst_launch.dsp:
19351         * win32/vs6/libgstbase.dsp:
19352         * win32/vs6/libgstelements.dsp:
19353         * win32/vs6/libgstreamer.dsp:
19354         * win32/vs7/GStreamer.vcproj:
19355         * win32/vs7/gst-inspect.vcproj:
19356         * win32/vs7/gst-launch.vcproj:
19357         * win32/vs7/libgstbase.vcproj:
19358           bump GST_MAJORMINOR to 0.10
19359           reset libtool version
19360
19361 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19362
19363         * po/LINGUAS:
19364         * po/bg.po:
19365           Added Bulgarian translation by (Alexander Shopov)
19366
19367 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19368
19369         * tests/check/gst/gstplugin.c:
19370           fix test
19371
19372 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19373
19374         * common/gst-xmlinspect.py:
19375         * common/gtk-doc-plugins.mak:
19376         * configure.ac:
19377         * docs/Makefile.am:
19378         * docs/gst/Makefile.am:
19379         * docs/gst/gstreamer-docs.sgml:
19380         * docs/gst/gstreamer-sections.txt:
19381         * docs/gst/gstreamer.types:
19382         * docs/gst/gstreamer.types.in:
19383         * docs/plugins/Makefile.am:
19384         * docs/plugins/gstreamer-plugins-docs.sgml:
19385         * docs/plugins/gstreamer-plugins-sections.txt:
19386         * docs/plugins/gstreamer-plugins.types:
19387         * docs/plugins/inspect.stamp:
19388         * docs/plugins/inspect/plugin-coreelements.xml:
19389         * docs/plugins/inspect/plugin-coreindexers.xml:
19390         * docs/plugins/scanobj-build.stamp:
19391         * gstreamer.spec.in:
19392         * plugins/elements/Makefile.am:
19393         * plugins/elements/gstelements.c:
19394         * plugins/elements/gstfakesink.c:
19395         * plugins/elements/gstfakesrc.c:
19396         * plugins/elements/gstfilesink.c:
19397         * plugins/elements/gstfilesrc.c:
19398         * plugins/elements/gstqueue.c:
19399         * plugins/indexers/Makefile.am:
19400         * plugins/indexers/gstindexers.c:
19401           document core plugins in a separate document just like all the
19402           others
19403           rename these plugins to something starting with core
19404
19405 2005-12-01  Andy Wingo  <wingo@pobox.com>
19406
19407         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19408         padding here before, but it missed the commit.
19409
19410 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19411
19412         * libs/gst/controller/gstinterpolation.c:
19413           whitespace prices have crashed, we should feel free to use some now
19414           use gst_guint64_to_gdouble
19415
19416 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19417
19418         * libs/gst/controller/gstcontroller.c:
19419         * libs/gst/controller/gsthelper.c:
19420         * libs/gst/controller/gstinterpolation.c:
19421         * libs/gst/controller/lib.c:
19422           wrap config.h include
19423
19424 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19425
19426         * docs/gst/gstreamer-sections.txt:
19427           update docs
19428
19429 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19430
19431         * plugins/elements/gstelements.c:
19432         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19433         (gst_fd_sink__class_init), (gst_fd_sink__init),
19434         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19435         (gst_fd_sink__get_property):
19436         * plugins/elements/gstfdsink.h:
19437         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19438         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19439         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19440         (gst_fd_src_unlock), (gst_fd_src_set_property),
19441         (gst_fd_src_get_property), (gst_fd_src_create),
19442         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19443         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19444         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19445         (gst_fd_src_uri_handler_init):
19446         * plugins/elements/gstfdsrc.h:
19447         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19448           more anal cleanup
19449
19450 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19451
19452         * docs/gst/Makefile.am:
19453         * docs/gst/gstreamer.types.in:
19454         * gst/Makefile.am:
19455           fix the docs build
19456
19457 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19458
19459         * configure.ac:
19460         * gst/Makefile.am:
19461         * gst/gst.c:
19462         * gst/gstplugin.h:
19463         * gst/gstregistry.h:
19464         * tests/benchmarks/complexity.c:
19465         * tests/benchmarks/mass-elements.c:
19466         * tests/check/Makefile.am:
19467         * tools/Makefile.am:
19468         * tools/gst-inspect.c:
19469         * tools/gst-xmlinspect.c:
19470           various fixes to make
19471           --disable-nls --disable-registry --disable-loadsave
19472           --disable-parse --disable-gst-debug
19473           work and get the core .so down to 360444 bytes after stripping
19474
19475 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19476
19477         * Makefile.am:
19478         * configure.ac:
19479           descend into tests
19480         * docs/random/thomasvs/TODO:
19481         * tests/Makefile.am:
19482         * tests/README:
19483           add a README
19484
19485 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19486
19487         * win32/GStreamer.vcproj:
19488         * win32/MANIFEST:
19489         * win32/Makefile:
19490         * win32/Makefile.inspect:
19491         * win32/Makefile.launch:
19492         * win32/Makefile.register:
19493         * win32/README.txt:
19494         * win32/gst-inspect.vcproj:
19495         * win32/gst-launch.vcproj:
19496         * win32/gst-register.vcproj:
19497         * win32/gstelements.vcproj:
19498         * win32/gstgetbits.def:
19499         * win32/gstgetbits.vcproj:
19500         * win32/gstreamer-dbg.def:
19501         * win32/gstreamer.def:
19502         * win32/libgstbase.def:
19503         * win32/libgstbase.vcproj:
19504         * win32/link_oldruntime.c:
19505         * win32/mman.c:
19506         * win32/mman.h:
19507         * win32/mman.inl:
19508         * win32/msvc71.sln:
19509           move even more stuff, win32/ is nice and clean now
19510
19511 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19512
19513         * libs/gst/control/.cvsignore:
19514         * win32/MANIFEST:
19515         * win32/config.h:
19516         * win32/dirent.c:
19517         * win32/dirent.h:
19518         * win32/gstbytestream.def:
19519         * win32/gstbytestream.vcproj:
19520         * win32/gstconfig.h:
19521         * win32/gstenumtypes.c:
19522         * win32/gstenumtypes.h:
19523         * win32/gstoptimalscheduler.vcproj:
19524         * win32/gstversion.h:
19525         * win32/gtchar.h:
19526         * win32/testsuite/bins.vcproj:
19527         * win32/testsuite/bytestream.vcproj:
19528         * win32/testsuite/caps.vcproj:
19529         * win32/testsuite/cleanup.vcproj:
19530         * win32/testsuite/clock.vcproj:
19531         * win32/testsuite/debug.vcproj:
19532         * win32/testsuite/dlopen.vcproj:
19533         * win32/testsuite/dynparams.vcproj:
19534         * win32/testsuite/elements.vcproj:
19535         * win32/testsuite/ghostpads.vcproj:
19536         * win32/testsuite/indexers.vcproj:
19537         * win32/testsuite/negotiation.vcproj:
19538         * win32/testsuite/parse.vcproj:
19539         * win32/testsuite/plugin.vcproj:
19540         * win32/testsuite/refcounting.vcproj:
19541         * win32/testsuite/schedulers.vcproj:
19542         * win32/testsuite/states.vcproj:
19543         * win32/testsuite/tags.vcproj:
19544         * win32/testsuite/threads.vcproj:
19545           remove old win32 stuff that isn't maintained and should be
19546           reorganized
19547
19548 2005-11-30  Andy Wingo  <wingo@pobox.com>
19549
19550         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19551         loading the gst.interfaces python module bork.
19552
19553         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19554         available since GLib 2.2. Fixes #318031.
19555
19556 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19557
19558         * Makefile.am:
19559         * check/.cvsignore:
19560         * check/Makefile.am:
19561         * check/elements/.cvsignore:
19562         * check/elements/fakesrc.c:
19563         * check/elements/fdsrc.c:
19564         * check/elements/identity.c:
19565         * check/generic/.cvsignore:
19566         * check/generic/states.c:
19567         * check/gst-libs/.cvsignore:
19568         * check/gst-libs/controller.c:
19569         * check/gst-libs/gdp.c:
19570         * check/gst/.cvsignore:
19571         * check/gst/capslist.h:
19572         * check/gst/gst.c:
19573         * check/gst/gstbin.c:
19574         * check/gst/gstbuffer.c:
19575         * check/gst/gstbus.c:
19576         * check/gst/gstcaps.c:
19577         * check/gst/gstelement.c:
19578         * check/gst/gstevent.c:
19579         * check/gst/gstghostpad.c:
19580         * check/gst/gstiterator.c:
19581         * check/gst/gstmessage.c:
19582         * check/gst/gstminiobject.c:
19583         * check/gst/gstobject.c:
19584         * check/gst/gstpad.c:
19585         * check/gst/gstpipeline.c:
19586         * check/gst/gstplugin.c:
19587         * check/gst/gstsegment.c:
19588         * check/gst/gststructure.c:
19589         * check/gst/gstsystemclock.c:
19590         * check/gst/gsttag.c:
19591         * check/gst/gstutils.c:
19592         * check/gst/gstvalue.c:
19593         * check/net/.cvsignore:
19594         * check/net/gstnetclientclock.c:
19595         * check/net/gstnettimeprovider.c:
19596         * check/pipelines/.cvsignore:
19597         * check/pipelines/cleanup.c:
19598         * check/pipelines/simple_launch_lines.c:
19599         * check/pipelines/stress.c:
19600         * check/states/.cvsignore:
19601         * check/states/sinks.c:
19602         * configure.ac:
19603         * examples/Makefile.am:
19604         * examples/appreader/.cvsignore:
19605         * examples/appreader/Makefile.am:
19606         * examples/appreader/appreader.c:
19607         * examples/controller/.cvsignore:
19608         * examples/controller/Makefile.am:
19609         * examples/controller/audio-example.c:
19610         * examples/cutter/.cvsignore:
19611         * examples/cutter/Makefile.am:
19612         * examples/cutter/cutter.c:
19613         * examples/cutter/cutter.h:
19614         * examples/events/Makefile.am:
19615         * examples/events/seek.c:
19616         * examples/helloworld/.cvsignore:
19617         * examples/helloworld/Makefile.am:
19618         * examples/helloworld/helloworld.c:
19619         * examples/helloworld2/.cvsignore:
19620         * examples/helloworld2/Makefile.am:
19621         * examples/helloworld2/helloworld2.c:
19622         * examples/launch/.cvsignore:
19623         * examples/launch/Makefile.am:
19624         * examples/launch/mp3parselaunch.c:
19625         * examples/launch/mp3play:
19626         * examples/manual/.cvsignore:
19627         * examples/manual/Makefile.am:
19628         * examples/manual/extract.pl:
19629         * examples/metadata/Makefile.am:
19630         * examples/metadata/read-metadata.c:
19631         * examples/mixer/.cvsignore:
19632         * examples/mixer/Makefile.am:
19633         * examples/mixer/mixer.c:
19634         * examples/mixer/mixer.h:
19635         * examples/pingpong/.cvsignore:
19636         * examples/pingpong/Makefile.am:
19637         * examples/pingpong/pingpong.c:
19638         * examples/plugins/.cvsignore:
19639         * examples/plugins/Makefile.am:
19640         * examples/plugins/example.c:
19641         * examples/plugins/example.h:
19642         * examples/pwg/.cvsignore:
19643         * examples/pwg/Makefile.am:
19644         * examples/pwg/extract.pl:
19645         * examples/queue/.cvsignore:
19646         * examples/queue/Makefile.am:
19647         * examples/queue/queue.c:
19648         * examples/queue2/.cvsignore:
19649         * examples/queue2/Makefile.am:
19650         * examples/queue2/queue2.c:
19651         * examples/queue3/.cvsignore:
19652         * examples/queue3/Makefile.am:
19653         * examples/queue3/queue3.c:
19654         * examples/queue4/.cvsignore:
19655         * examples/queue4/Makefile.am:
19656         * examples/queue4/queue4.c:
19657         * examples/retag/.cvsignore:
19658         * examples/retag/Makefile.am:
19659         * examples/retag/retag.c:
19660         * examples/retag/transcode.c:
19661         * examples/thread/.cvsignore:
19662         * examples/thread/Makefile.am:
19663         * examples/thread/thread.c:
19664         * examples/typefind/.cvsignore:
19665         * examples/typefind/Makefile.am:
19666         * examples/typefind/typefind.c:
19667         * examples/xml/.cvsignore:
19668         * examples/xml/Makefile.am:
19669         * examples/xml/createxml.c:
19670         * examples/xml/runxml.c:
19671         * tests/Makefile.am:
19672         * tests/check/Makefile.am:
19673         * testsuite/.cvsignore:
19674         * testsuite/Makefile.am:
19675         * testsuite/Rules:
19676         * testsuite/caps/.cvsignore:
19677         * testsuite/caps/Makefile.am:
19678         * testsuite/caps/app_fixate.c:
19679         * testsuite/caps/audioscale.c:
19680         * testsuite/caps/caps.c:
19681         * testsuite/caps/caps.h:
19682         * testsuite/caps/caps_strings:
19683         * testsuite/caps/compatibility.c:
19684         * testsuite/caps/deserialize.c:
19685         * testsuite/caps/enumcaps.c:
19686         * testsuite/caps/eratosthenes.c:
19687         * testsuite/caps/filtercaps.c:
19688         * testsuite/caps/fixed.c:
19689         * testsuite/caps/fraction-convert.c:
19690         * testsuite/caps/fraction-multiply-and-zero.c:
19691         * testsuite/caps/intersect2.c:
19692         * testsuite/caps/intersection.c:
19693         * testsuite/caps/normalisation.c:
19694         * testsuite/caps/random.c:
19695         * testsuite/caps/renegotiate.c:
19696         * testsuite/caps/sets.c:
19697         * testsuite/caps/simplify.c:
19698         * testsuite/caps/string-conversions.c:
19699         * testsuite/caps/structure.c:
19700         * testsuite/caps/subtract.c:
19701         * testsuite/caps/union.c:
19702         * testsuite/debug/.cvsignore:
19703         * testsuite/debug/Makefile.am:
19704         * testsuite/debug/category.c:
19705         * testsuite/debug/commandline.c:
19706         * testsuite/debug/global.c:
19707         * testsuite/debug/output.c:
19708         * testsuite/debug/printf_extension.c:
19709         * testsuite/dlopen/.cvsignore:
19710         * testsuite/dlopen/Makefile.am:
19711         * testsuite/dlopen/dlopen_gst.c:
19712         * testsuite/dlopen/loadgst.c:
19713         * testsuite/elements/.cvsignore:
19714         * testsuite/elements/Makefile.am:
19715         * testsuite/elements/gst-inspect-check.in:
19716         * testsuite/elements/struct_i386.h:
19717         * testsuite/elements/struct_size.c:
19718         * testsuite/indexers/.cvsignore:
19719         * testsuite/indexers/Makefile.am:
19720         * testsuite/indexers/cache1.c:
19721         * testsuite/indexers/indexdump.c:
19722         * testsuite/parse/.cvsignore:
19723         * testsuite/parse/Makefile.am:
19724         * testsuite/parse/parse1.c:
19725         * testsuite/parse/parse2.c:
19726         * testsuite/plugin/.cvsignore:
19727         * testsuite/plugin/Makefile.am:
19728         * testsuite/plugin/README:
19729         * testsuite/plugin/dynamic.c:
19730         * testsuite/plugin/linked.c:
19731         * testsuite/plugin/loading.c:
19732         * testsuite/plugin/registry.c:
19733         * testsuite/plugin/static.c:
19734         * testsuite/plugin/static2.c:
19735         * testsuite/plugin/testplugin.c:
19736         * testsuite/plugin/testplugin2.c:
19737         * testsuite/plugin/testplugin2_s.c:
19738         * testsuite/plugin/testplugin_s.c:
19739         * testsuite/refcounting/.cvsignore:
19740         * testsuite/refcounting/Makefile.am:
19741         * testsuite/refcounting/bin.c:
19742         * testsuite/refcounting/element.c:
19743         * testsuite/refcounting/element_pad.c:
19744         * testsuite/refcounting/mainloop.c:
19745         * testsuite/refcounting/mem.c:
19746         * testsuite/refcounting/mem.h:
19747         * testsuite/refcounting/object.c:
19748         * testsuite/refcounting/pad.c:
19749         * testsuite/refcounting/sched.c:
19750         * testsuite/refcounting/thread.c:
19751         * testsuite/states/.cvsignore:
19752         * testsuite/states/Makefile.am:
19753         * testsuite/states/bin.c:
19754         * testsuite/states/locked.c:
19755         * testsuite/states/parent.c:
19756         * testsuite/threads/.cvsignore:
19757         * testsuite/threads/159566.c:
19758         * testsuite/threads/159852.c:
19759         * testsuite/threads/Makefile.am:
19760         * testsuite/threads/queue.c:
19761         * testsuite/threads/signals.c:
19762         * testsuite/threads/staticrec.c:
19763         * testsuite/threads/thread.c:
19764         * testsuite/threads/threadb.c:
19765         * testsuite/threads/threadc.c:
19766         * testsuite/threads/threadd.c:
19767         * testsuite/threads/threade.c:
19768         * testsuite/threads/threadf.c:
19769         * testsuite/threads/threadg.c:
19770         * testsuite/threads/threadh.c:
19771         * testsuite/threads/threadi.c:
19772           move all of these under tests
19773
19774 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19775
19776         * configure.ac:
19777         * tests/Makefile.am:
19778           fix distcheck
19779
19780 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19781
19782         * docs/gst/gstreamer-sections.txt:
19783         * tests/sched/.cvsignore:
19784         * tests/sched/Makefile.am:
19785         * tests/sched/cases/(fs-fs).xml:
19786         * tests/sched/cases/(fs-i-fs).xml:
19787         * tests/sched/cases/(fs-i-i-fs).xml:
19788         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19789         * tests/sched/dynamic-pipeline.c:
19790         * tests/sched/interrupt1.c:
19791         * tests/sched/interrupt2.c:
19792         * tests/sched/interrupt3.c:
19793         * tests/sched/runtestcases:
19794         * tests/sched/runxml.c:
19795         * tests/sched/sched-stress.c:
19796         * tests/sched/sort.c:
19797         * tests/sched/testcases:
19798         * tests/sched/testcases1.tc:
19799         * tests/seeking/.cvsignore:
19800         * tests/seeking/Makefile.am:
19801         * tests/seeking/seeking1.c:
19802         * tests/threadstate/.cvsignore:
19803         * tests/threadstate/Makefile.am:
19804         * tests/threadstate/test1.c:
19805         * tests/threadstate/test2.c:
19806         * tests/threadstate/threadstate1.c:
19807         * tests/threadstate/threadstate2.c:
19808         * tests/threadstate/threadstate3.c:
19809         * tests/threadstate/threadstate4.c:
19810         * tests/threadstate/threadstate5.c:
19811           remove obsolete tests
19812         * configure.ac:
19813         * tests/bench-complexity.scm:
19814         * tests/bench-mass_elements.scm:
19815         * tests/complexity.c:
19816         * tests/complexity.gnuplot:
19817         * tests/instantiate/.cvsignore:
19818         * tests/instantiate/Makefile.am:
19819         * tests/instantiate/caps.c:
19820         * tests/mass_elements.c:
19821         * tests/network-clock-utils.scm:
19822         * tests/network-clock.scm:
19823         * tests/plot-data:
19824         First pass at cleaning up tests/ dir before moving the rest
19825         Combined with CVS surgery
19826
19827 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19828
19829         * po/POTFILES.in:
19830           queue has moved, update
19831
19832 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19833
19834         * docs/gst/gstreamer-sections.txt:
19835           remove double entries from the docs
19836         * gst/gst_private.h:
19837         * gst/gstinfo.c: (_gst_debug_init):
19838           remove the THREAD debug category
19839         * gst/Makefile.am:
19840         * gst/gstqueue.c:
19841         * gst/gstqueue.h:
19842         * docs/gst/gstreamer.types:
19843         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19844         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19845           completely move queue and fix up debugging categories
19846
19847 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19848
19849         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19850           make initialization portable, using LL is not
19851
19852 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19853
19854         * win32/common/gstconfig.h:
19855           add large padding
19856
19857 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19858
19859         * win32/common/libgstreamer.def:
19860           rename symbols; sort base section
19861
19862 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19863
19864         * gst/gstclock.c: (do_linear_regression):
19865           remove crack non-portable handrolled DEBUG macro
19866
19867 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19868
19869         * docs/random/release:
19870           update notes
19871         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19872         (gst_object_flags_get_type), (register_gst_bin_flags),
19873         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19874         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19875         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19876         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19877         (gst_caps_flags_get_type), (register_gst_clock_return),
19878         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19879         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19880         (gst_clock_flags_get_type), (register_gst_state),
19881         (gst_state_get_type), (register_gst_state_change_return),
19882         (gst_state_change_return_get_type), (register_gst_state_change),
19883         (gst_state_change_get_type), (register_gst_element_flags),
19884         (gst_element_flags_get_type), (register_gst_core_error),
19885         (gst_core_error_get_type), (register_gst_library_error),
19886         (gst_library_error_get_type), (register_gst_resource_error),
19887         (gst_resource_error_get_type), (register_gst_stream_error),
19888         (gst_stream_error_get_type), (register_gst_event_type_flags),
19889         (gst_event_type_flags_get_type), (register_gst_event_type),
19890         (gst_event_type_get_type), (register_gst_seek_type),
19891         (gst_seek_type_get_type), (register_gst_seek_flags),
19892         (gst_seek_flags_get_type), (register_gst_format),
19893         (gst_format_get_type), (register_gst_index_certainty),
19894         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19895         (gst_index_entry_type_get_type),
19896         (register_gst_index_lookup_method),
19897         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19898         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19899         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19900         (gst_index_flags_get_type), (register_gst_debug_level),
19901         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19902         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19903         (gst_iterator_result_get_type), (register_gst_iterator_item),
19904         (gst_iterator_item_get_type), (register_gst_message_type),
19905         (gst_message_type_get_type), (register_gst_mini_object_flags),
19906         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19907         (gst_pad_link_return_get_type), (register_gst_flow_return),
19908         (gst_flow_return_get_type), (register_gst_activate_mode),
19909         (gst_activate_mode_get_type), (register_gst_pad_direction),
19910         (gst_pad_direction_get_type), (register_gst_pad_flags),
19911         (gst_pad_flags_get_type), (register_gst_pad_presence),
19912         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19913         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19914         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19915         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19916         (gst_plugin_flags_get_type), (register_gst_rank),
19917         (gst_rank_get_type), (register_gst_query_type),
19918         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19919         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19920         (gst_tag_flag_get_type), (register_gst_task_state),
19921         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19922         (gst_alloc_trace_flags_get_type),
19923         (register_gst_type_find_probability),
19924         (gst_type_find_probability_get_type), (register_gst_uri_type),
19925         (gst_uri_type_get_type), (register_gst_parse_error),
19926         (gst_parse_error_get_type):
19927         * win32/common/gstenumtypes.h:
19928         * win32/common/gstversion.h:
19929           update visual studio generated files
19930
19931 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19932
19933         * win32/vs6/libgstbase.dsp:
19934         * win32/vs6/libgstelements.dsp:
19935           update project files for new locations
19936
19937 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19938
19939         * Makefile.am:
19940           remove some files
19941         * README:
19942           reinstate and update
19943         * DEVEL:
19944         * REQUIREMENTS:
19945           removed
19946         * LICENSE:
19947         * docs/random/LICENSE:
19948           moved to random
19949
19950 2005-11-30  Edward Hervey  <edward@fluendo.com>
19951
19952         * gst/gsttypefind.c: (gst_type_find_register):
19953         * gst/gsttypefind.h:
19954         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19955         (gst_type_find_factory_dispose):
19956         * gst/gsttypefindfactory.h:
19957         Fix memory leak in GstTypeFindFactory.
19958
19959 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19960
19961         * gst/gst.c:
19962         * plugins/elements/Makefile.am:
19963         * plugins/elements/gstelements.c:
19964         * plugins/elements/gstqueue.c:
19965           move queue from core to the elements plugin
19966
19967 2005-11-29  Andy Wingo  <wingo@pobox.com>
19968
19969         * libs/gst/base/gstbasetransform.h: 
19970         * libs/gst/base/gstbasesrc.h: 
19971         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19972
19973         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19974         of pointers by which to pad very extensible base classes (like the
19975         ones in libs/gst/base).
19976
19977 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19978
19979         * docs/gst/gstreamer-docs.sgml:
19980         * docs/gst/gstreamer-sections.txt:
19981         * docs/libs/gstreamer-libs-docs.sgml:
19982         * docs/libs/gstreamer-libs-sections.txt:
19983           moving documentation from core to lib
19984
19985 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19986
19987         * check/Makefile.am:
19988         * configure.ac:
19989         * docs/gst/Makefile.am:
19990         * gst/Makefile.am:
19991         * gst/base/.cvsignore:
19992         * gst/base/Makefile.am:
19993         * gst/base/README:
19994         * gst/base/gstadapter.c:
19995         * gst/base/gstadapter.h:
19996         * gst/base/gstbasesink.c:
19997         * gst/base/gstbasesink.h:
19998         * gst/base/gstbasesrc.c:
19999         * gst/base/gstbasesrc.h:
20000         * gst/base/gstbasetransform.c:
20001         * gst/base/gstbasetransform.h:
20002         * gst/base/gstcollectpads.c:
20003         * gst/base/gstcollectpads.h:
20004         * gst/base/gstpushsrc.c:
20005         * gst/base/gstpushsrc.h:
20006         * gst/base/gsttypefindhelper.c:
20007         * gst/base/gsttypefindhelper.h:
20008         * gst/check/Makefile.am:
20009         * gst/check/gstcheck.c:
20010         * gst/check/gstcheck.h:
20011         * gst/net/Makefile.am:
20012         * gst/net/gstnet.h:
20013         * gst/net/gstnetclientclock.c:
20014         * gst/net/gstnetclientclock.h:
20015         * gst/net/gstnettimepacket.c:
20016         * gst/net/gstnettimepacket.h:
20017         * gst/net/gstnettimeprovider.c:
20018         * gst/net/gstnettimeprovider.h:
20019         * libs/gst/Makefile.am:
20020         * libs/gst/base/Makefile.am:
20021         * libs/gst/base/gstbasetransform.c:
20022         * libs/gst/check/Makefile.am:
20023         * plugins/elements/Makefile.am:
20024         * po/POTFILES.in:
20025           CVS surgery + support to move base, check, and net out of gst
20026           and into libs/gst
20027
20028 2005-11-29  Andy Wingo  <wingo@pobox.com>
20029
20030         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
20031
20032         * gst/gststructure.h (struct _GstStructure): Only one pointer of
20033         padding.
20034
20035         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
20036
20037         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
20038
20039         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
20040
20041         * gst/gstobject.h: (struct _GstObject): Only one pointer of
20042         padding; reduces object size by about 30%. We don't expect
20043         anything else to go into gstobject.
20044
20045         * gst/gstminiobject.h (struct _GstMiniObject)
20046         (struct _GstMiniObjectClass): Only one pointer of padding; the
20047         payload is only a pointer and two ints anyway. For the class there
20048         are only two methods as well.
20049         
20050         * gst/gstelement.h (struct _GstElementClass): Removed
20051         the state_changed signal callback, it is not used.
20052
20053 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20054
20055         * docs/gst/gstreamer.types:
20056           fix includes, though they are a little dinky
20057
20058 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
20059
20060         * check/Makefile.am:
20061           look in the right place for elements, a lot more chance of
20062           success
20063         * gst/Makefile.am:
20064           remove indexers and elements subdirs
20065         * plugins/Makefile.am:
20066           make indexers conditional
20067
20068 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
20069
20070         * Makefile.am:
20071         * configure.ac:
20072         * plugins/elements/Makefile.am:
20073         * plugins/elements/gstcapsfilter.c:
20074         * plugins/elements/gstfilesink.c:
20075         * plugins/elements/gstfilesrc.c:
20076         * plugins/elements/gstidentity.c:
20077         * plugins/indexers/Makefile.am:
20078           do CVS surgery and related build fixery to move elements
20079           and indexers in a new gstreamer/plugins directory, out of the
20080           gst/ directory
20081
20082 2005-11-29  Andy Wingo  <wingo@pobox.com>
20083
20084         * check/Makefile.am:
20085         * pkgconfig/gstreamer-net-uninstalled.pc.in:
20086         * pkgconfig/gstreamer-net.pc.in:
20087         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
20088         #322257.
20089
20090 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20091
20092         * tools/Makefile.am:
20093         * tools/gst-complete.1.in:
20094         * tools/gst-complete.c:
20095         * tools/gst-compprep.1.in:
20096         * tools/gst-compprep.c:
20097           removing -compprep and -complete
20098
20099 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20100
20101         * gst/gstevent.c: (gst_event_new_new_segment),
20102         (gst_event_parse_new_segment):
20103         * gst/gstevent.h:
20104           fix #320529 - clean up new_segment API and structure.
20105           Let's hope everyone was using the methods, and not the structure.
20106
20107 2005-11-29  Edward Hervey  <edward@fluendo.com>
20108
20109         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20110         (gst_base_sink_event), (gst_base_sink_do_sync),
20111         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20112         Properly handle non GST_FORMAT_TIME segment
20113         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20114         Properly handle non GST_FORMAT_TIME segment
20115         * gst/gstsegment.c:
20116         This function is valid if the accumulator is 0 and the format
20117         is different from the requested format.
20118         
20119 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
20120
20121         * docs/gst/gstreamer-sections.txt:
20122         Add gst_query_new_seeking and gst_query_parse_seeking to the
20123         docs.
20124
20125 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
20126
20127         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20128           Treat a pad alloc with new caps the same as if we were not
20129           negotiated, in order to allow a changing upstream output
20130           to produce a new format of data.
20131
20132 2005-11-29  Edward Hervey  <edward@fluendo.com>
20133
20134         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20135         (gst_base_transform_event), (gst_base_transform_eventfunc):
20136         The event virtual method is now properly implemented, with a default
20137         handler
20138         Sub classes should call the parent_class event method. They should
20139         return FALSE if they had a problem handling the given event, or don't
20140         want GstBaseTransform to send that even downstream
20141         * gst/elements/gstidentity.c: (gst_identity_class_init),
20142         (gst_identity_init), (gst_identity_event),
20143         (gst_identity_transform_ip), (gst_identity_set_property),
20144         (gst_identity_get_property):
20145         * gst/elements/gstidentity.h:
20146         Added the single-segment boolean property.
20147         If set to TRUE, it will output a single segment of data, starting from
20148         0, will eat up all incoming newsegment, and modify the timestamp of the
20149         buffers accordingly
20150
20151 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
20152
20153         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
20154           Don't ref NULL target pad (#322751). Improve docs.
20155
20156 2005-11-29  Michael Smith  <msmith@fluendo.com>
20157
20158         * gst/gstregistryxml.c: (load_plugin):
20159           Don't crash if we failed to load a feature from a plugin. 
20160
20161 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20162
20163         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20164         (GST_START_TEST):
20165           use more check API and less GLib API
20166
20167 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20168
20169         * Makefile.am:
20170           don't run checks if we don't have check
20171         * common/check.mak:
20172           remove the registry when running make torture
20173         * docs/gst/gstreamer-sections.txt:
20174           remove second multiply
20175         * gst/gstqueue.c: (gst_queue_loop):
20176           fix a compile warning when disabling debug
20177
20178 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20179
20180         * gst/gstinfo.h:
20181         Hey! Let's print the pad name if the pointer != NULL instead
20182         of when it == NULL :-)
20183
20184 2005-11-28  Wim Taymans  <wim@fluendo.com>
20185
20186         * check/gst/gstutils.c: (GST_START_TEST):
20187         Updated check, add some scaling accuracy checking code.
20188
20189         * gst/gstutils.c: (gst_util_div128_64),
20190         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20191         (gst_util_uint64_scale_int):
20192         Fix 6 times faster division code. Optimize for common 
20193         1/1 and less common X/1 cases.
20194
20195 2005-11-28  Wim Taymans  <wim@fluendo.com>
20196
20197         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20198         More checks.
20199
20200         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20201         (do_linear_regression), (gst_clock_add_observation):
20202         Cleanups.
20203         Release lock when the clock cannot be slaved.
20204         Catch the case where the regression returned an invalid denominator.
20205
20206         * gst/gstutils.c: (gst_util_div128_64_iterate),
20207         (gst_util_div128_64), (gst_util_uint64_scale_int64),
20208         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20209         Add protentially more performant non-iterative 128/64 divide function
20210         that unfortunatly does not work yet.
20211         Shortcut the trivial 0/X = 0 case.
20212         Remove the warnings on overflow.
20213
20214 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20215
20216         * gst/gstplugin.c: (gst_plugin_register_func):
20217           everything causing a plugin not to load should be at least a WARNING
20218
20219 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
20220
20221         * docs/random/ensonic/dparams.txt:
20222           some TODOs for the next dev cycle
20223         * libs/gst/controller/gstcontroller.c:
20224         (gst_controlled_property_set_interpolation_mode),
20225         (gst_controlled_property_new):
20226         * libs/gst/controller/gstcontroller.h:
20227           use base type to assign acccessor functions
20228
20229 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20230
20231         * check/Makefile.am:
20232         Oops, that should have been top_srcdir
20233
20234 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20235
20236         * check/Makefile.am:
20237         * check/elements/fdsrc.c: (GST_START_TEST):
20238         Use a cmdline define to specify the location of a file to use for
20239         testing, to avoid breaking distcheck.
20240
20241 2005-11-28  Andy Wingo  <wingo@pobox.com>
20242
20243         * gst/gstpad.c (fixate_value): Use array functions for arrays.
20244
20245 2005-11-28  Edward Hervey  <edward@fluendo.com>
20246
20247         * tools/gst-launch.c: (main):
20248         Clarify the output strings, makes it easier to translate.
20249         Fixes #322626
20250
20251 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20252
20253         * gst/Makefile.am:
20254           don't try and build net if we don't even have <sys/socket.h>
20255
20256 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
20257
20258         * check/Makefile.am:
20259         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20260         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20261           Add tests for fdsrc seekability
20262
20263         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20264         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20265         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20266         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20267         * gst/elements/gstfdsrc.h:
20268           fdsrc should not be a 'live' source.
20269           Implement seeking on seekable fd's.
20270
20271         * gst/gstquery.c: (gst_query_new_seeking),
20272         (gst_query_parse_seeking):
20273         * gst/gstquery.h:
20274           Implement SEEKING query functions: 
20275             *_new_seeking and *_parse_seeking
20276
20277 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
20278
20279         * gst/gstelement.c: (gst_element_dispose):
20280           don't loop forever
20281
20282         * gst/gstiterator.c:
20283         * gst/gststructure.c:
20284           doc fixes
20285
20286         * libs/gst/controller/gstcontroller.c:
20287         (gst_controlled_property_set_interpolation_mode):
20288         * libs/gst/controller/gstcontroller.h:
20289         * libs/gst/controller/gstinterpolation.c:
20290         (interpolate_none_get_enum_value_array):
20291           support controlling enums
20292
20293 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20294
20295         * gst/gstvalue.c:
20296           Improve documentation for gst_value_union().
20297
20298         * gst/gstvalue.h:
20299           Change return value for union, intersect and subtract functions
20300           from gint to gboolean.
20301
20302 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20303
20304         * gst/gstvalue.c: (gst_value_serialize_any_list),
20305         (gst_value_transform_any_list_string),
20306         (gst_value_deserialize_list), (gst_value_deserialize_array),
20307         (gst_value_set_int_range), (gst_value_deserialize_int_range),
20308         (gst_value_set_double_range), (gst_value_deserialize_double_range),
20309         (gst_value_set_fraction_range_full),
20310         (gst_value_deserialize_fraction_range),
20311         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20312         (gst_value_deserialize_boolean),
20313         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20314         (gst_value_serialize_float), (gst_value_deserialize_float),
20315         (gst_string_wrap), (gst_value_deserialize_string),
20316         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20317         (gst_value_union_int_range_int_range),
20318         (gst_value_intersect_int_range_int_range),
20319         (gst_value_intersect_double_range_double_range),
20320         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20321         (gst_value_subtract_int_range_int_range),
20322         (gst_value_subtract_double_double_range),
20323         (gst_value_subtract_double_range_double_range),
20324         (gst_value_deserialize_fraction):
20325         * gst/gstvalue.h:
20326           Use gint, gdouble and gchar in our API instead of int, double and
20327           char (and make usage in gstvalue.c more consistent).
20328
20329 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20330
20331         * check/Makefile.am:
20332         * libs/gst/controller/Makefile.am:
20333         * libs/gst/dataprotocol/Makefile.am:
20334           fix up Makefile.am and remove GST_ENABLE_NEW
20335
20336 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20337
20338         * configure.ac:
20339         * gst/Makefile.am:
20340         * gst/base/Makefile.am:
20341         * gst/check/Makefile.am:
20342         * gst/elements/Makefile.am:
20343         * gst/net/Makefile.am:
20344           update LDFLAGS use some more
20345
20346 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20347
20348         * common/m4/gst-doc.m4:
20349           Fixes #312589
20350
20351 2005-11-26  Edward Hervey  <edward@fluendo.com>
20352
20353         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20354         This shouldn't issue a g_warning since it returns NULL if it
20355         couldn't find the plugin, and all functions using this behave
20356         properly on a NULL return. Switching to a GST_WARNING.
20357
20358 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
20359
20360         * gst/gstbin.c: (gst_bin_handle_message_func):
20361         Don't leak clock messages.
20362
20363 2005-11-25  Wim Taymans  <wim@fluendo.com>
20364
20365         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20366         (gst_util_uint64_scale_int):
20367         Optimisations, remove unneeded vars.
20368
20369 2005-11-25  Wim Taymans  <wim@fluendo.com>
20370
20371         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20372         Added more checks for the high precision uint64 cases.
20373
20374         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20375         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20376         Implement high precision (guint64 * guint64) / guint64.
20377
20378 2005-11-24  Wim Taymans  <wim@fluendo.com>
20379
20380         * gst/base/gstbasesrc.c: (gst_base_src_query):
20381         Fix wrong percentage query.
20382
20383         * gst/gstutils.c: (gst_util_uint64_scale),
20384         (gst_util_uint64_scale_int):
20385         Add some more common cases that can be handled 
20386         efficiently to _scale.
20387
20388 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20389
20390         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20391         (gst_mini_object_suite):
20392           don't use check calls from threads; check probably isn't
20393           threadsafe and using a lock to make it threadsafe would
20394           defeat the purpose of this check
20395         * gst/check/gstcheck.c:
20396         * gst/check/gstcheck.h:
20397           use GST_DEBUG some more
20398
20399 2005-11-24  Wim Taymans  <wim@fluendo.com>
20400
20401         * gst/gstutils.c: (gst_util_uint64_scale),
20402         (gst_util_uint64_scale_int):
20403         Chain trivial case to _scale_int.
20404
20405 2005-11-24  Wim Taymans  <wim@fluendo.com>
20406
20407         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20408         Added test for scaling.
20409
20410         * gst/gstclock.h:
20411         Small doc fix.
20412
20413         * gst/gstutils.c: (gst_util_uint64_scale_int):
20414         Implemented high precision scaling code.
20415
20416 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
20417
20418         * gst/gstinfo.h:
20419           do not crash on pad==NULL
20420
20421 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20422
20423         Patch by: Stefan Kost
20424
20425         * common/gtk-doc.mak:
20426         * docs/gst/Makefile.am:
20427         * docs/libs/Makefile.am:
20428           Fix distcheck issues for the libraries docs build
20429           Closes #319599.
20430
20431 2005-11-24  Michael Smith <msmith@fluendo.com>
20432
20433         * docs/manual/basics-helloworld.xml:
20434           Fix bug #315027: memory leak in example code in docs.
20435
20436 2005-11-24  Michael Smith <msmith@fluendo.com>
20437
20438         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20439           Unlock the PREROLL_LOCK in a failure case.
20440
20441 2005-11-24  Wim Taymans  <wim@fluendo.com>
20442
20443         * docs/gst/gstreamer-sections.txt:
20444         * gst/base/gstadapter.h:
20445         * gst/base/gstbasesink.h:
20446         * gst/base/gstbasesrc.h:
20447         * gst/base/gstbasetransform.h:
20448         * gst/base/gstpushsrc.h:
20449         * gst/elements/gstfakesink.h:
20450         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20451         * gst/elements/gstfakesrc.h:
20452         * gst/elements/gstfilesink.h:
20453         * gst/elements/gstfilesrc.h:
20454         * gst/gst.c:
20455         * gst/gstbin.c:
20456         * gst/gstbuffer.c: (_gst_buffer_copy):
20457         * gst/gstbus.h:
20458         * gst/gstcaps.c:
20459         * gst/gstchildproxy.c:
20460         * gst/gstclock.c:
20461         * gst/gstelement.c:
20462         * gst/gstelementfactory.c:
20463         * gst/gstelementfactory.h:
20464         * gst/gstevent.c:
20465         * gst/gstghostpad.h:
20466         * gst/gstindex.h:
20467         * gst/gstinterface.h:
20468         * gst/gstminiobject.c:
20469         * gst/gstminiobject.h:
20470         * gst/gstpad.c:
20471         * gst/gstpad.h:
20472         * gst/gstpadtemplate.h:
20473         * gst/gstpipeline.h:
20474         * gst/gstpluginfeature.h:
20475         * gst/gstquery.h:
20476         * gst/gstqueue.h:
20477         * gst/gsttaglist.c:
20478         * gst/gsttaglist.h:
20479         * gst/gsttagsetter.c:
20480         * gst/gsttagsetter.h:
20481         * gst/gsttrace.c:
20482         * gst/gsttrace.h:
20483         * gst/gsttypefind.h:
20484         * gst/gsturi.h:
20485         * gst/gstvalue.c:
20486         * gst/net/gstnetclientclock.c:
20487         * gst/net/gstnetclientclock.h:
20488         * gst/net/gstnettimepacket.c:
20489         * gst/net/gstnettimeprovider.c:
20490         * gst/net/gstnettimeprovider.h:
20491         Doc fixes.
20492
20493 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20494
20495         * configure.ac: back to HEAD
20496
20497 === release 0.9.6 ===
20498
20499 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20500
20501         * configure.ac:
20502           releasing 0.9.6, "Always On Time"
20503
20504 2005-11-23  Wim Taymans  <wim@fluendo.com>
20505
20506         * docs/gst/gstreamer-sections.txt:
20507         * gst/glib-compat.c:
20508         * gst/gsttagsetter.c:
20509         * gst/gstvalue.c:
20510         * gst/net/gstnetclientclock.c:
20511         * gst/net/gstnettimepacket.h:
20512         Doc updates.
20513
20514 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20515
20516         * docs/faq/using.xml:
20517         * docs/libs/tmpl/gstcontrol.sgml:
20518         * docs/manual/advanced-dparams.xml:
20519         * docs/manual/appendix-checklist.xml:
20520         * docs/manual/basics-elements.xml:
20521         * docs/pwg/other-source.xml:
20522         * docs/random/moving-plugins:
20523         * gst/gstpad.c:
20524         * tools/gst-launch.1.in:
20525           remove mentions of sinesrc
20526
20527 2005-11-23  Michael Smith <msmith@fluendo.com>
20528
20529         * docs/gst/gstreamer-sections.txt:
20530           Update for new API and API changes.
20531         * gst/gstobject.h:
20532           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20533         * gst/gstvalue.c:
20534           Documentation typo fix.
20535         * gst/net/gstnettimepacket.c:
20536           Documentation fixes for arguments.
20537
20538 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20539
20540         * gst/gststructure.c: (gst_structure_get_fraction),
20541         (gst_structure_parse_value),
20542         (gst_structure_fixate_field_nearest_fraction):
20543         * gst/gststructure.h:
20544         * gst/gstutils.c: (gst_util_uint64_scale_int):
20545         * gst/gstutils.h:
20546         * scripts/update-funcnames:
20547         API Changes. 
20548         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20549         Make gst_structure_fixate_field_nearest_fraction take a numerator
20550         and denominator argument instead of a GValue
20551         add gst_structure_get_fraction helper function.
20552
20553 2005-11-23  Wim Taymans  <wim@fluendo.com>
20554
20555         * docs/design/part-TODO.txt:
20556         Update TODO.
20557
20558         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20559         * gst/net/gstnetclientclock.h:
20560         Use parent fields for timeout and window_size.
20561
20562 2005-11-23  Andy Wingo  <wingo@pobox.com>
20563
20564         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20565         rate_num/rate_denom change.
20566
20567         * gst/net/gstnetclientclock.c
20568         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20569         OBJECT_LOCK. Don't call add_observation with the lock.
20570
20571         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20572         fraction.
20573         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20574         rate fraction.
20575         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20576         deal with rate as a fraction whose numerator and denominator are
20577         GstClockTime values.
20578         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20579         master; the other fields are protected by the SLAVE_LOCK.
20580         (do_linear_regression): Note that this must be called with the
20581         SLAVE_LOCK.
20582         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20583         OBJECT_LOCK. Call set_calibration instead of touching the
20584         variables directly.
20585         (gst_clock_set_property, gst_clock_get_property): Protect
20586         master/slave parameters with the SLAVE_LOCK.
20587
20588         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20589         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20590         note that all of the instance variables that add_observation and
20591         the set_master functions use are protected by that lock and not
20592         the OBJECT_LOCK.
20593         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20594
20595         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20596         the caller to take the object lock.
20597
20598 2005-11-23  Wim Taymans  <wim@fluendo.com>
20599
20600         * gst/gsterror.c: (_gst_core_errors_init):
20601         * gst/gsterror.h:
20602         Add error for clock stuff.
20603
20604         * gst/gstpipeline.c: (gst_pipeline_change_state),
20605         (gst_pipeline_set_clock):
20606         Post clock error when clock cannot be used in a pipeline.
20607
20608 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20609
20610         * docs/gst/gstreamer-sections.txt:
20611           make two symbols from gstinfo private for the docs
20612         * gst/base/gstcollectpads.h:
20613         * gst/gstutils.c:
20614           fix doc typos, update docs
20615
20616 2005-11-22  Wim Taymans  <wim@fluendo.com>
20617
20618         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20619         (gst_base_sink_wait), (gst_base_sink_do_sync),
20620         (gst_base_sink_handle_event):
20621         * gst/base/gstbasesink.h:
20622         No need to store the clock, the parent element class already
20623         has it.
20624
20625         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20626         Updates for clock_set returning a gboolean
20627
20628         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20629         (gst_clock_id_wait_async), (gst_clock_class_init),
20630         (gst_clock_init), (gst_clock_finalize),
20631         (gst_clock_get_internal_time), (gst_clock_get_time),
20632         (gst_clock_slave_callback), (gst_clock_set_master),
20633         (gst_clock_get_master), (do_linear_regression),
20634         (gst_clock_add_observation), (gst_clock_set_property),
20635         (gst_clock_get_property):
20636         * gst/gstclock.h:
20637         Implement master/slave. When setting a clock as a slave, a
20638         periodic timeout is scheduled to sample master and slave times.
20639         Then the slave clock is recalibrated to match offset and rate
20640         of the master clock.
20641         Update logging a bit.
20642         Add flag so that a clock can state that is cannot be slaved to
20643         another clock.
20644
20645         * gst/gstelement.c: (gst_element_set_clock):
20646         * gst/gstelement.h:
20647         The set clock returns a gboolean for when an element cannot
20648         deal with the selected clock in the pipeline. 
20649
20650         * gst/gstpipeline.c: (gst_pipeline_change_state),
20651         (gst_pipeline_set_clock):
20652         * gst/gstpipeline.h:
20653         Handle the case where the selected clock cannot be set on
20654         the pipeline.
20655
20656         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20657         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20658         (gst_net_client_clock_set_property),
20659         (gst_net_client_clock_get_property),
20660         (gst_net_client_clock_observe_times):
20661         * gst/net/gstnetclientclock.h:
20662         Use regression code in GstClock parent, remove duplicated
20663         functionality.
20664
20665 2005-11-22  Michael Smith <msmith@fluendo.com>
20666
20667         * gst/gstutils.c: (gst_util_clock_time_scale):
20668         * gst/gstutils.h:
20669         * docs/gst/gstreamer-sections.txt:
20670           Rename method to have extra underscore.
20671
20672 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20673
20674         * gst/elements/Makefile.am:
20675         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20676         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20677         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20678         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20679         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20680         * gst/elements/gstfakesrc.h:
20681         * gst/gstqueue.c: (queue_leaky_get_type):
20682           correctly fix GEnumValues so that nick is the short lowercase
20683           dashed tag
20684         * tools/gst-inspect.c: (print_element_properties_info):
20685           also show the nick, since it's useful to use from parse_launch
20686           syntax
20687           Fixes #322139
20688
20689 2005-11-22  Michael Smith <msmith@fluendo.com>
20690
20691         * gst/gstutils.c: (gst_util_clocktime_scale):
20692         * gst/gstutils.h:
20693         * docs/gst/gstreamer-sections.txt:
20694           Add util method for scaling a clocktime by a fraction. Useful 
20695           implementation is left as an exercise for the reader.
20696
20697 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20698
20699         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20700         If needed, allocate storage in the destination value during
20701         collection.
20702
20703 2005-11-22  Edward Hervey  <edward@fluendo.com>
20704
20705         * docs/gst/gstreamer-sections.txt:
20706         * gst/Makefile.am:
20707         * gst/gst.h:
20708         * gst/gsturitype.c:
20709         * gst/gsturitype.h:
20710         * gst/gstutils.c: (gst_util_set_object_arg):
20711         * tools/gst-compprep.c: (main):
20712         * tools/gst-inspect.c: (print_element_properties_info):
20713         Removed GstURI, closes bug #321061
20714
20715 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20716
20717         * check/gst/gststructure.c: (GST_START_TEST):
20718         * gst/gststructure.c: (gst_structure_parse_value):
20719           Oops, broke automatic string type parsing.
20720           Add a test to catch it in future.
20721
20722 2005-11-22  Andy Wingo  <wingo@pobox.com>
20723
20724         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20725         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20726         Actually rename the function implementations. Grr.
20727
20728 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20729
20730         * check/gst/capslist.h:
20731           Comment test cases
20732         * check/gst/gststructure.c: (GST_START_TEST),
20733         (gst_structure_suite):
20734           Test automatic value type detection in gst_structure_from_string.
20735         * gst/gststructure.c: (gst_structure_parse_value):
20736           Add fraction as a type we try and guess automatically in
20737           caps/structure strings.
20738
20739 2005-11-22  Andy Wingo  <wingo@pobox.com>
20740
20741         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20742
20743         * gst/gsttagsetter.h:
20744         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20745         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20746         (gst_tag_setter_add_tag_valist)
20747         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20748         _add_values, _add_valist, and _add_valist_values. Since this is an
20749         interface the function suffixes should be more explicit so
20750         language binding don't end up with element.add_valist ->
20751         gst_tag_setter_add_valist, for example. Fixes #322069.
20752
20753 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20754
20755         * check/gst/gstcaps.c: (GST_START_TEST):
20756           Extend caps string tests to check that a caps to string
20757           conversion is reversible and produces the same caps.
20758
20759         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20760           Output "fraction" as the generic type fraction range, so caps
20761           serialisation and deserialisation works.
20762         * check/gst/capslist.h:
20763         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20764           Support 'MIN' and 'MAX' for deserialising fractions.
20765
20766 2005-11-22  Andy Wingo  <wingo@pobox.com>
20767
20768         * gst/gstevent.h (gst_event_new_new_segment)
20769         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20770         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20771         Renamed from *_newsegment, *_buffersize, *_notarget.
20772
20773         * scripts/update-funcnames: New script, performs the changes
20774         listed above.
20775
20776 2005-11-22  Wim Taymans  <wim@fluendo.com>
20777
20778         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20779         Make sure the GstFlowReturn is returned.
20780
20781         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20782         (gst_bus_add_signal_watch):
20783         * gst/gstbus.h:
20784         add gst_bus_add_signal_watch_full.
20785
20786         * gst/gstplugin.c: (gst_plugin_load_file):
20787         Small style cleanup.
20788
20789 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20790
20791         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20792           Block the fakesrc srcpad when we send an event, to avoid
20793           contention on the stream_lock causing random test failures.
20794
20795 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20796
20797         * check/gst/gstvalue.c: (GST_START_TEST):
20798         * gst/gstvalue.c: (gst_value_fraction_subtract):
20799           Fix subtraction.
20800
20801 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20802
20803         * gst/gst.h:
20804           include "gstchildproxy.h"
20805         * gst/gstchildproxy.h:
20806         * libs/gst/controller/gstcontroller.h:
20807           use G_GNUC_NULL_TERMINATED
20808
20809 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20810
20811         * check/gst/capslist.h:
20812         * check/gst/gstcaps.c: (GST_START_TEST):
20813         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20814         * gst/gststructure.c: (gst_structure_parse_range),
20815         (gst_structure_fixate_field_nearest_fraction):
20816         * gst/gststructure.h:
20817         * gst/gstvalue.c: (gst_value_init_fraction_range),
20818         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20819         (gst_value_collect_fraction_range),
20820         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20821         (gst_value_set_fraction_range_full),
20822         (gst_value_get_fraction_range_min),
20823         (gst_value_get_fraction_range_max),
20824         (gst_value_serialize_fraction_range),
20825         (gst_value_transform_fraction_range_string),
20826         (gst_value_compare_fraction_range),
20827         (gst_value_deserialize_fraction_range),
20828         (gst_value_intersect_fraction_fraction_range),
20829         (gst_value_intersect_fraction_range_fraction_range),
20830         (gst_value_subtract_fraction_fraction_range),
20831         (gst_value_subtract_fraction_range_fraction),
20832         (gst_value_subtract_fraction_range_fraction_range),
20833         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20834         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20835         (gst_value_transform_string_fraction), (_gst_value_initialize):
20836         * gst/gstvalue.h:
20837           Implement fraction ranges and extend GstFraction to support
20838           arithmetic subtraction, as well as deserialization from integer
20839           strings such as "100"
20840           Add a testsuite as for int and double range set operations
20841
20842 2005-11-21  Andy Wingo  <wingo@pobox.com>
20843
20844         * gst/gsttaglist.h: 
20845         * gst/gstcaps.h: 
20846         * gst/gststructure.h: Add glib-compat.h.
20847
20848 2005-11-21  Wim Taymans  <wim@fluendo.com>
20849
20850         * gst/gstbin.c: (gst_bin_change_state_func):
20851         Fix for #321595
20852
20853 2005-11-21  Wim Taymans  <wim@fluendo.com>
20854
20855         * gst/gstsegment.h:
20856         And add a nice define too.
20857
20858 2005-11-21  Wim Taymans  <wim@fluendo.com>
20859
20860         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20861         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20862         (gst_segment_set_duration), (gst_segment_set_last_stop),
20863         (gst_segment_set_seek), (gst_segment_set_newsegment),
20864         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20865         (gst_segment_clip):
20866         * gst/gstsegment.h:
20867         Make binding friendly.
20868
20869 2005-11-21  Andy Wingo  <wingo@pobox.com>
20870
20871         * gst/gsttagsetter.h: 
20872         * gst/gsttaglist.h: 
20873         * gst/gststructure.h: 
20874         * gst/gstcaps.h: 
20875         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20876         #319940.
20877
20878         * gst/gsterror.c (_gst_core_errors_init):
20879         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20880         category.
20881
20882         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20883         (noinst_HEADERS): noinst the -private.
20884
20885 2005-11-21  Michael Smith <msmith@fluendo.com>
20886
20887         * gst/gstplugin.h:
20888         * gst/gstregistry.h:
20889           Remove unimplemented declarations for which we can see no sensible
20890           use.
20891
20892 2005-11-21  Andy Wingo  <wingo@pobox.com>
20893
20894         * gst/gst.h: Include glib-compat.h.
20895
20896         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20897
20898         * gst/glib-compat.c: Include the public and the private header.
20899
20900         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20901
20902         * gst/gstvalue.c: 
20903         * gst/gstpad.c: 
20904         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20905
20906         * check/gst/gstevent.c (create_custom_events): Check that
20907         FLUSH_STOP is serialized.
20908
20909         * check/elements/identity.c (event_func): 
20910         * check/elements/fakesrc.c (event_func): No stream lock, the core
20911         takes it.
20912
20913         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20914         stream lock taking, yay.
20915
20916         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20917         ensure that core takes the stream lock.
20918
20919         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20920         lock name change.
20921
20922         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20923         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20924         it already. For the flush start we do take it though so we get the
20925         right preroll state change messages.
20926
20927         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20928         the stream lock here, the core does it for us.
20929
20930         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20931         GST_STREAM_GET_LOCK.
20932         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20933         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20934         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20935         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20936         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20937         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20938
20939         * gst/gstpad.c: Update for stream lock name change.
20940
20941         * gst/base/gstbasesink.c: Update for preroll lock name change.
20942
20943 2005-11-21  Wim Taymans  <wim@fluendo.com>
20944
20945         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20946         (gst_clock_get_master):
20947         * gst/gstclock.h:
20948         * gst/gstsystemclock.c: (gst_system_clock_init):
20949         Convert Clock flags to object flags.
20950         Added methods to manage master/slave clocks.
20951
20952 2005-11-21  Wim Taymans  <wim@fluendo.com>
20953
20954         * check/gst/gstsegment.c: (GST_START_TEST):
20955         * docs/design/part-TODO.txt:
20956         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20957         (gst_base_sink_event), (gst_base_sink_do_sync),
20958         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20959         (gst_base_sink_query), (gst_base_sink_change_state):
20960         * gst/base/gstbasesink.h:
20961         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20962         (gst_base_src_default_newsegment),
20963         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20964         (gst_base_src_get_range), (gst_base_src_loop),
20965         (gst_base_src_change_state):
20966         * gst/base/gstbasesrc.h:
20967         * gst/base/gstbasetransform.c:
20968         (gst_base_transform_prepare_output_buf),
20969         (gst_base_transform_event), (gst_base_transform_change_state):
20970         * gst/base/gstbasetransform.h:
20971         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20972         (gst_collect_pads_event):
20973         * gst/base/gstcollectpads.h:
20974         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20975         (gst_fake_src_create):
20976         * gst/elements/gstfakesrc.h:
20977         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20978         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20979         (gst_segment_set_last_stop), (gst_segment_set_seek),
20980         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20981         (gst_segment_to_running_time), (gst_segment_clip):
20982         * gst/gstsegment.h:
20983         More segment updates, replace code in plugins with segment
20984         helper functions.
20985
20986 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20987
20988         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20989         Don't ignore sscanf results
20990
20991 2005-11-21  Andy Wingo  <wingo@pobox.com>
20992
20993         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20994
20995         * *.h:
20996         * *.c: Ran scripts/update-macros. Oh yes.
20997
20998         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20999         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
21000         GST_GET_LOCK, etc.
21001
21002         * scripts/update-macros: New script. Run it on your files to
21003         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
21004         well.
21005
21006 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
21007
21008         * docs/gst/Makefile.am:
21009         * docs/gst/gstreamer-docs.sgml:
21010         * docs/gst/gstreamer-sections.txt:
21011         * docs/gst/gstreamer.types:
21012         * gst/gstinfo.h:
21013           more docs fixes, add new api to the docs
21014
21015 2005-11-21  Andy Wingo  <wingo@pobox.com>
21016
21017         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
21018         state_broadcast call.
21019
21020         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
21021
21022 2005-11-21  Julien MOUTTE  <julien@moutte.net>
21023
21024         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
21025         function calls for arrays.
21026
21027 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
21028
21029         * docs/random/ensonic/media-device-daemon.txt:
21030           wild idea, can this be done?
21031         * docs/gst/gstreamer-sections.txt:
21032         * gst/gsterror.h:
21033         * gst/gstfilter.c:
21034         * gst/gstfilter.h:
21035         * gst/gstplugin.h:
21036         * gst/gstpluginfeature.c:
21037         * gst/gsttrace.c:
21038         * gst/gstvalue.c:
21039         * gst/gstvalue.h:
21040           doc fixes and additions
21041
21042 2005-11-21  Andy Wingo  <wingo@pobox.com>
21043
21044         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
21045         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
21046         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
21047         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
21048         private to the basesrc implementation.
21049
21050         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
21051         behalf of event function if necessary. It should no longer be
21052         necessary to take the stream lock in pad's event functions. Fixes
21053         #320299.
21054
21055 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
21056         * docs/gst/gstreamer-sections.txt:
21057         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
21058         (gst_structure_fixate_field_nearest_double),
21059         (gst_structure_fixate_field_boolean):
21060         * gst/gststructure.h:
21061         * win32/common/libgstreamer.def:
21062         * win32/gstreamer.def:
21063
21064         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
21065         (#322027)
21066
21067 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
21068
21069         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
21070         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
21071         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
21072         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
21073         (gst_fdsrc_uri_handler_init):
21074         * gst/elements/gstfdsrc.h:
21075           Port fd:// URI handler from 0.8 to fdsrc
21076
21077 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21078
21079         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
21080         (gst_value_serialize_fourcc):
21081         * gst/gstvalue.h:
21082           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
21083           consistent with our other format defines (#320324).
21084
21085 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21086
21087         * gst/gstvalue.c: (gst_value_is_fixed):
21088           Revert previous commit. Value lists are by definition
21089           not fixed, as they are a list of possible values.
21090
21091 2005-11-21  Andy Wingo  <wingo@pobox.com>
21092
21093         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
21094         during the stable series if we need it. Fixes #319178.
21095
21096         * gst/gstevent.c (gst_event_new_filler): Removed.
21097
21098         * check/gst/gstevent.c: Update comment about filler events.
21099
21100 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21101
21102         * gst/gstvalue.c: (gst_value_is_fixed):
21103           Should handle both value arrays and value lists.
21104
21105 2005-11-21  Andy Wingo  <wingo@pobox.com>
21106
21107         patch by: Alessandro Dessina <alessandro nnva org>
21108
21109         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
21110         functions to access arrays. Fixes #321962.
21111
21112 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21113
21114         * docs/gst/gstreamer.types:
21115           gst_collectpads_get_type => gst_collect_pads_get_type.
21116           
21117         * gst/base/gstbasetransform.c:
21118           Remove unused SIGNAL_HANDOFF enum.
21119
21120 2005-11-21  Andy Wingo  <wingo@pobox.com>
21121
21122         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
21123         the event type (upstream, downstream, serialized). Renamed
21124         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
21125         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
21126         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
21127
21128         * gst/gstevent.c: Update for new CUSTOM event names.
21129
21130         * check/gst/gstevent.c: Update check for new CUSTOM event names.
21131
21132         * gst/gstevent.h:
21133         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
21134         bug #319392.
21135
21136 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21137
21138         * docs/gst/gstreamer-sections.txt:
21139         * win32/common/libgstbase.def:
21140         * win32/libgstbase.def:
21141         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
21142         (gst_collect_pads_class_init), (gst_collect_pads_init),
21143         (gst_collect_pads_finalize), (gst_collect_pads_new),
21144         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
21145         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
21146         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
21147         (gst_collect_pads_start), (gst_collect_pads_stop),
21148         (gst_collect_pads_peek), (gst_collect_pads_pop),
21149         (gst_collect_pads_available), (gst_collect_pads_read),
21150         (gst_collect_pads_flush), (gst_collect_pads_event),
21151         (gst_collect_pads_chain):
21152         * gst/base/gstcollectpads.h:
21153           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
21154           unimplemented functions as unimplemented. Add padding to
21155           GstCollectData. (#320766, #320423)
21156
21157 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21158
21159         * gst/gstmessage.c:
21160           Improve docs for DURATION message (usage of duration parameter)
21161           (#320113)
21162
21163 2005-11-20  Wim Taymans  <wim@fluendo.com>
21164
21165         * check/Makefile.am:
21166         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
21167         (main):
21168         * gst/Makefile.am:
21169         * gst/gst.h:
21170         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
21171         (gst_segment_set_seek), (gst_segment_set_newsegment),
21172         (gst_segment_to_stream_time), (gst_segment_to_running_time),
21173         (gst_segment_clip):
21174         * gst/gstsegment.h:
21175         Added segment helper structure and methods. Not fully implemented
21176         yet.
21177         Added segment check.
21178
21179 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
21180
21181         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21182           Add a deserialisation test for fractions
21183         * examples/metadata/read-metadata.c: (message_loop),
21184         (make_pipeline), (main):
21185           Fix up metadata reading sample.
21186         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21187           Debug format fix
21188         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21189           Don't try and fixate empty caps
21190         * gst/gst_private.h:
21191           Wrap in G_BEGIN_DECLS/G_END_DECLS
21192         * gst/gstvalue.c: (gst_value_collect_fraction),
21193         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21194         (gst_value_transform_string_fraction),
21195         (gst_value_compare_fraction):
21196           Add some extra guards to ensure that we don't end up 
21197           with an invalid denominator of 0 in a gstfraction and
21198           that fractions always get reduced.
21199
21200 2005-11-20  Wim Taymans  <wim@fluendo.com>
21201
21202         * docs/gst/gstreamer-sections.txt:
21203         * gst/gstbuffer.h:
21204         * gst/gstelement.c:
21205         * gst/gstformat.c:
21206         * gst/gstformat.h:
21207         * gst/gstindex.h:
21208         * gst/gstquery.c:
21209         * gst/gstquery.h:
21210         * gst/gstvalue.c:
21211         Doc fixes.
21212
21213 2005-11-20  Wim Taymans  <wim@fluendo.com>
21214
21215         * docs/design/part-TODO.txt:
21216         * gst/gstcaps.h:
21217         Make a proper enum of the flag.
21218
21219 2005-11-19  Wim Taymans  <wim@fluendo.com>
21220
21221         * docs/design/part-TODO.txt:
21222         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21223         (gst_format_to_quark), (gst_format_register):
21224         * gst/gstformat.h:
21225         * gst/gstquery.c: (_gst_query_initialize),
21226         (gst_query_type_get_name), (gst_query_type_to_quark),
21227         (gst_query_type_register):
21228         * gst/gstquery.h:
21229         Add type to quark and type to string conversions.
21230
21231 2005-11-19  Andy Wingo  <wingo@pobox.com>
21232
21233         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21234         #320097.
21235
21236 2005-11-19  Wim Taymans  <wim@fluendo.com>
21237
21238         * docs/design/part-TODO.txt:
21239         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21240         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21241         (gst_bin_handle_message_func):
21242         * gst/gstbin.h:
21243         Make message handling overridable.
21244
21245 2005-11-19  Andy Wingo  <wingo@pobox.com>
21246
21247         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21248
21249         * gst/gstclock.h:
21250         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21251         be a GstClockTime.
21252         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21253         is a GstClockTime. Fixes #321710.
21254
21255         * gst/gstclock.h (GstClock): Remove offset property. Add
21256         internal_calibration and external_calibration. Fix padding. Pad
21257         also by GstClockTime so we don't run into problems.
21258
21259         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21260         (gst_clock_get_rate_offset): Remove.
21261         (gst_clock_set_time_adjust): Remove. Fixes #321712.
21262
21263         * gst/gstutils.h:
21264         * gst/gstutils.c (g_static_rec_cond_wait)
21265         (g_static_rec_cond_timed_wait): Removed, no longer needed.
21266
21267         * gst/gstbin.c: Remove terrible continue_state prototype.
21268
21269         * gst/gstelement.h (gst_element_continue_state): Make public.
21270
21271         * gst/gstelement.h:
21272         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21273         by continue_state. Fixes #319389.
21274
21275         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21276         Really fixes #168438. However I don't see anywhere where the
21277         filter function is called... stupid GStreamer...
21278         
21279         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21280         don't have a dispose function, so it won't get called when the
21281         object is unreffed, but oh well!
21282
21283         * gst/gstindex.c (gst_index_set_filter_full): New API function,
21284         allows a destroy function to be set so user_data can be freed.
21285         Fixes #168438.
21286         (gst_index_set_filter): Call gst_index_set_filter_full.
21287
21288         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21289
21290         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21291         string should produce an error, given the lack of a way to
21292         represent NULL strings. Fixes #165650.
21293         
21294         * gst/gstvalue.h: 
21295         * gst/gstvalue.c (gst_value_array_append_value) 
21296         (gst_value_array_prepend_value, gst_value_array_get_size) 
21297         (gst_value_array_get_value): New API, copied from
21298         gst_value_list_*, only operates on arrays.
21299         (gst_value_list_append_value, gst_value_list_prepend_value) 
21300         (gst_value_list_concat, gst_value_list_get_size) 
21301         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21302
21303         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21304         init_list, because it works on both.
21305         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21306         (gst_value_copy_list_or_array): Renamed from copy_list.
21307         (gst_value_free_list_or_array): Renamed from free_list.
21308         (gst_value_collect_list_or_array): Renamed from collect_list.
21309         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21310         (gst_value_list_or_array_peek_pointer): Renamed from
21311         list_peek_pointer.
21312         (_gst_value_array_value_table, _gst_value_list_value_table):
21313         Update value table functions.
21314         (gst_value_compare_list_or_array): Renamed from compare_list.
21315
21316         * gsttaglist.h: Whoops, foreach function returns void. Also fix
21317         some constness.
21318
21319         * gst/gsttaglist.c:
21320         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21321         GstTagList*. Fixes #143472.
21322
21323         * gst/gststructure.h: Clarify what the foreach/map functions can
21324         or can't do to their arguments.
21325
21326 2005-11-18  Wim Taymans  <wim@fluendo.com>
21327
21328         * gst/gstclock.c: (gst_clock_set_calibration),
21329         (gst_clock_get_calibration):
21330         Doc and API fixes.
21331         Calibration can be set with internal time equal to current
21332         internal time too.
21333
21334 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21335
21336         * gst/gsterror.c:
21337         * gst/gsterror.h:
21338           document
21339
21340 2005-11-18  Andy Wingo  <wingo@pobox.com>
21341
21342         * configure.ac: 
21343         * pkgconfig/gstreamer-net.pc.in:
21344         * pkgconfig/gstreamer-net-uninstalled.pc.in:
21345         * pkgconfig/Makefile.am: Add net pkgconfig files.
21346
21347 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
21348
21349         * gst/gstcaps.c:
21350         * gst/gstghostpad.c:
21351         * gst/gsttrace.c:
21352         * gst/gstvalue.c:
21353         * gst/gstvalue.h:
21354           docs fixes
21355
21356 2005-11-18  Andy Wingo  <wingo@pobox.com>
21357
21358         * gst/net/gstnetclientclock.c: Turn off debugging.
21359
21360         * check/net/gstnetclientclock.c (test_functioning): Assert that the
21361         times connverge somewhat. Can't make a real test.
21362
21363         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21364         integer arithmetic. Return the minimum of the domain, which can be
21365         set as "internal" for gst_clock_set_calibration.
21366         (gst_net_client_clock_observe_times): Call _set_calibration.
21367         (gst_net_client_clock_new): Call _set_calibration instead of
21368         rate_offset.
21369
21370         * check/net/gstnetclientclock.c (test_functioning): Use the right
21371         adjustment api.
21372
21373         * gst/gstclock.h:
21374         * gst/gstclock.c (gst_clock_get_calibration) 
21375         (gst_clock_set_calibration): New functions, obsolete the ones I
21376         added yesterday. Doh. Precision issues mean we have to extrapolate
21377         from a point in the more recent past than 1970.
21378         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21379         obsolete.
21380         (gst_clock_adjust_unlocked): Use the right calibration data.
21381
21382 2005-11-18  Edward Hervey  <edward@fluendo.com>
21383
21384         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
21385         Also reset the ->current_* values in READY->PAUSED
21386
21387 2005-11-18  Andy Wingo  <wingo@pobox.com>
21388
21389         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21390         Whoops, check the right fd. Also add some debugging.
21391         (gst_net_client_clock_observe_times): Adjust for int64 offset.
21392         (do_linear_regression): Add a crapload of debugging. Subtract off
21393         the minimum values from the input series to discard unneeded bits.
21394         Use only int arithmetic. There is still double arithmetic when
21395         calculating the intercept that needs fixing. Return boolean to
21396         indicate success; FALSE would mean the domain or range is too
21397         great. Still needs fixes.
21398
21399 2005-11-18  Wim Taymans  <wim@fluendo.com>
21400
21401         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21402         For the current position in stream time, we need to subtract
21403         accumulated time.
21404         
21405         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21406         Release lock before calling the callback function of async
21407         entries.
21408
21409 2005-11-18  Andy Wingo  <wingo@pobox.com>
21410
21411         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21412         Port goes all the way to MAXUINT16.
21413
21414         * gst/net/gstnettimeprovider.c: Make the port range the same as
21415         for the kernel: 0 assigns, otherwise ports are less than
21416         MAXUINT16.
21417
21418         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21419         port change.
21420
21421         * check/net/gstnetclientclock.c (test_functioning): Add the start
21422         of another test. 
21423
21424 2005-11-18  Wim Taymans  <wim@fluendo.com>
21425
21426         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21427         (gst_bin_remove_func), (bin_bus_handler):
21428         * gst/gstbin.h:
21429         Removing a clock provider from a bin, triggers a clock lost message
21430         so that a new clock will be selected.
21431         Adding a clock to a bin triggers a clock provider message.
21432         Make sure we reselect a clock when we received a clock lost message.
21433         Keep a reference to the element that provided the clock.
21434
21435 2005-11-18  Andy Wingo  <wingo@pobox.com>
21436
21437         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21438         the clock initially so it produces values around the base time.
21439         (gst_net_client_clock_class_init): Typo fix.
21440         (gst_net_client_clock_thread): Add note on when the socket gets
21441         closed.
21442
21443 2005-11-17  Wim Taymans  <wim@fluendo.com>
21444
21445         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21446         Free remote and local time arrays.
21447
21448 2005-11-17  Wim Taymans  <wim@fluendo.com>
21449
21450         * gst/net/gstnetclientclock.c: (do_linear_regression),
21451         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21452         Fix compilation, uninitialized vars and a forgotten continue.
21453
21454 2005-11-17  Andy Wingo  <wingo@pobox.com>
21455
21456         * check/Makefile.am (check_PROGRAMS): 
21457         * check/net/gstnetclientclock.c: Add a most minimal test for the
21458         net client clock. More to come later.
21459
21460         * gst/net/gstnet.h: 
21461         * gst/net/Makefile.am: Add netclientclock.
21462
21463         * gst/net/gstnetclientclock.h:
21464         * gst/net/gstnetclientclock.c: New files, implement an untested
21465         GstClock that takes its time from a network time provider.
21466         Implements the algorithm in network-clock.scm.
21467
21468         * tests/network-clock.scm (*window-size*): Rename from
21469         *queue-length*.
21470         * tests/network-clock.scm (network-time): 
21471         * tests/network-clock-utils.scm (q-push): Update callers.
21472
21473 2005-11-17  Wim Taymans  <wim@fluendo.com>
21474
21475         * gst/gstbin.c: (gst_bin_provide_clock_func),
21476         (gst_bin_sort_iterator_new):
21477         And unref the child too..
21478
21479 2005-11-17  Wim Taymans  <wim@fluendo.com>
21480
21481         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21482         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21483         Refactor the sort iterator so it can be used while holding the
21484         LOCK too.
21485         Make clock selection select a clock closest to the source.
21486
21487 2005-11-17  Michael Smith <msmith@fluendo.com>
21488
21489         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21490         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21491         * gst/gstclock.h:
21492           Anonymous structs are a gcc (and some other compilers) extension, so
21493           don't use them. Since this is only for ABI-compatibility, and our
21494           API/ABI freeze is over in a few days, this whole thing will only
21495           last a few days, so don't bother trying to think up a meaningful
21496           name for the struct.
21497
21498 2005-11-17  Andy Wingo  <wingo@pobox.com>
21499
21500         * gst/gstclock.h (GstClock): Add rate and offset properties,
21501         preserving ABI stability. Add rate/offset accessors. Will file bug
21502         for the freeze break.
21503
21504         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21505         and offset, trying to keep precision and avoiding
21506         underflow/overflow.
21507         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21508         functions. Make gst_clock_set_time_adjust obsolete.
21509         (gst_clock_set_time_adjust): Note that this function is obsolete.
21510         Will file bug soon.
21511
21512         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21513         greppable by using GST_PADDING-1+1.
21514
21515 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21516
21517         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21518
21519         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21520           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21521
21522         * gst/gstpadtemplate.h:
21523         * gst/gstpluginfeature.h:
21524           Don't use c++ style comments in headers (#321638).
21525
21526 2005-11-16  Andy Wingo  <wingo@pobox.com>
21527
21528         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21529         buffer.
21530
21531         * check/net/gstnettimeprovider.c: Check to see that the time
21532         provider actually provides times. Works, yo!
21533
21534 2005-11-16  Wim Taymans  <wim@fluendo.com>
21535
21536         * check/Makefile.am:
21537         Enable more tests.
21538
21539         * check/elements/fakesrc.c: (GST_START_TEST):
21540         Set element to NULL before disposing it.
21541
21542 2005-11-16  Andy Wingo  <wingo@pobox.com>
21543
21544         * gst/net/Makefile.am:
21545         * gst/net/gstnet.h:
21546         * gst/net/gstnettimeprovider.c: 
21547         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21548         provider, include it from gstnet.h, and add it to the build.
21549
21550         * gst/net/gstnettimepacket.h: 
21551         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21552         sending and receiving.
21553
21554 2005-11-16  Wim Taymans  <wim@fluendo.com>
21555
21556         * check/Makefile.am:
21557         Enable valgrind check.
21558
21559         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21560         (gst_fake_src_alloc_buffer):
21561         Fix memleak.
21562
21563 2005-11-16  Wim Taymans  <wim@fluendo.com>
21564
21565         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21566         Call parent finalize too.
21567
21568 2005-11-16  Wim Taymans  <wim@fluendo.com>
21569
21570         * check/Makefile.am:
21571         Enable valgrind check that should work fine now.
21572
21573         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21574         * gst/gstqueue.c: (gst_queue_init):
21575         Fix memleaks in pad allocation.
21576
21577 2005-11-16  Andy Wingo  <wingo@pobox.com>
21578
21579         * gst/net/Makefile.am:
21580         * gst/net/gstnet.h: New part of core to hold network elements and
21581         objects. Put in core because it exposes API that applications want
21582         to use. The library is named libgstnet-tempname right now because
21583         of the existing libgstnet in gst-plugins-base. Solution is
21584         probably to rename the one in plugins-base; will file a bug for
21585         the freeze break.
21586
21587         * gst/net/gstnettimeprovider.c: 
21588         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21589         get_time call over the network.
21590
21591         * configure.ac: 
21592         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21593
21594         * check/Makefile.am:
21595         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21596         get additions shortly.
21597
21598 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21599
21600         * gst/gstpad.c: (gst_pad_new_from_static_template):
21601         * gst/gstpad.h:
21602           add gst_pad_new_from_static_template functions
21603         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21604         (gst_check_setup_sink_pad):
21605         * gst/elements/gsttee.c: (gst_tee_init):
21606           and use them
21607
21608 2005-11-16  Wim Taymans  <wim@fluendo.com>
21609
21610         * gst/gstpad.c: (gst_pad_pause_task):
21611         Removed warning, it's not really an error either.
21612
21613 2005-11-16  Wim Taymans  <wim@fluendo.com>
21614
21615         * gst/base/gstbasetransform.c:
21616         (gst_base_transform_prepare_output_buf),
21617         (gst_base_transform_event):
21618         Check if the caps are NULL, this can happen if the element
21619         is shutting down and the pad caps are set to NULL.
21620
21621 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21622
21623         * gst/elements/gsttee.c: (gst_tee_init):
21624           fix pad template leak in tee
21625
21626 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21627
21628         * gst/glib-compat.c: (g_value_dup_gst_object):
21629         * gst/glib-compat.h:
21630         * gst/gstpad.c: (gst_pad_set_property):
21631           use gst_object_ref when setting the pad template; this will
21632           trigger the pad template leaks on GLib 2.6 and the slaves
21633
21634 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21635
21636         * gst/glib-compat.c: (gst_flags_get_first_value):
21637         * gst/glib-compat.h:
21638         * gst/gstregistryxml.c:
21639           remove functions copied from GLib 2.6
21640
21641 2005-11-16  Michael Smith <msmith@fluendo.com>
21642
21643         * gst/Makefile.am:
21644           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21645           do, but only breaks with newer valgrind versions. We're not a
21646           valgrind tool, we have no link-time dependencies on libcoregrind.
21647
21648 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21649
21650         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21651           some debug changes
21652         * gst/gstmessage.h:
21653           typo fixes
21654
21655 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21656
21657         * gst/base/gstbasesrc.c: (gst_base_src_init):
21658         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21659         * gst/gstqueue.c: (gst_queue_init):
21660         * gst/gstregistryxml.c: (load_feature):
21661           Revert all these unrefs, they don't even pass make check !
21662
21663 2005-11-15  Johan Dahlin  <johan@gnome.org>
21664
21665         * gst/base/gstbasesrc.c: (gst_base_src_init):
21666         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21667         * gst/gstqueue.c: (gst_queue_init): 
21668         Free pad templates, fixes a couple of leaks.
21669
21670 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21671
21672         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21673
21674         * gst/gstpad.c: (gst_pad_get_property):
21675           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21676           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21677           (#321452)
21678
21679 2005-11-15  Wim Taymans  <wim@fluendo.com>
21680
21681         * gst/gstevent.c:
21682         Small doc update.
21683
21684 2005-11-15  Andy Wingo  <wingo@pobox.com>
21685
21686         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21687
21688         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21689         using GST_CLOCK_TIME_NONE to disable base time management.
21690         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21691         time if it was NONE before.
21692         (gst_pipeline_change_state): Only munge the base time if
21693         stream_time != GST_CLOCK_TIME_NONE.
21694
21695         * check/gst/gstpipeline.c (test_base_time): Punt around the
21696         problem of the probe not being called, because that's not the
21697         issue I'm looking at. Add a check that setting stream_time to NONE
21698         disables base time management.
21699         
21700 2005-11-15  Wim Taymans  <wim@fluendo.com>
21701
21702         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21703         segment_stop == -1 at startup.
21704
21705         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21706         (gst_base_transform_change_state):
21707         Init segment values at start.
21708
21709 2005-11-15  Wim Taymans  <wim@fluendo.com>
21710
21711         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21712         0 segment values are 0 in any format.
21713
21714         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21715         * gst/base/gstbasetransform.h:
21716         Parse newsegment correctly in basetransform
21717
21718         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21719         Sync to clock using updated segment values.
21720
21721 2005-11-15  Andy Wingo  <wingo@pobox.com>
21722
21723         * check/gst/gstpipeline.c (test_base_time): Add check that the
21724         base time and stream time are reset correctly.
21725
21726 2005-11-15  Wim Taymans  <wim@fluendo.com>
21727
21728         * docs/design/part-TODO.txt:
21729         Some more TODO items.
21730
21731 2005-11-15  Andy Wingo  <wingo@pobox.com>
21732
21733         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21734         error if the user selected "no clock" as the clocking method.
21735
21736         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21737         timestamps with live capture.
21738
21739         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21740         is 0 but we are a live source, timestamp the buffers using the
21741         element's clock.
21742
21743 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21744
21745         * docs/gst/gstreamer-sections.txt:
21746         * gst/gsterror.c:
21747         * gst/gstghostpad.c:
21748         * gst/gstobject.h:
21749         * gst/gstxml.c:
21750           more section docs
21751
21752 2005-11-14  Wim Taymans  <wim@fluendo.com>
21753
21754         * common/gst.supp:
21755           add suppressions from Wim's Debian machine
21756
21757 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21758
21759         * common/gst.supp:
21760           add suppressions from Andy's AMD64 Ubuntu machine
21761
21762 2005-11-14  Andy Wingo  <wingo@pobox.com>
21763
21764         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21765         STATE_LOCK not necessary. Fixes #311489.
21766
21767         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21768         #305291.
21769
21770         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21771         this function is not implemented.
21772
21773 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21774
21775         * gst/base/gstbasetransform.c:
21776         (gst_base_transform_prepare_output_buf):
21777         Ref the source pad caps while we need them.
21778         Fixes (#321386)
21779
21780 2005-11-11  Wim Taymans  <wim@fluendo.com>
21781
21782         * docs/gst/gstreamer-sections.txt:
21783         Added some docs for GstCollectData.
21784
21785         * gst/base/gstadapter.c:
21786         Some small code example fix.
21787
21788         * gst/base/gstcollectpads.c:
21789         * gst/base/gstcollectpads.h:
21790         Document some more.
21791
21792 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21793
21794         * configure.ac: back to HEAD
21795
21796 === release 0.9.5 ===
21797
21798 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21799
21800         * configure.ac:
21801           releasing 0.9.5, "Bike Lunch Day"
21802
21803 2005-11-11  Wim Taymans  <wim@fluendo.com>
21804
21805         * gst/gstbuffer.c: (_gst_buffer_copy):
21806         Copy more flags.
21807
21808         * gst/gstcaps.c: (gst_caps_is_equal):
21809         Fix some docs.
21810         Make _is_equal fast in the trivial cases.
21811
21812         * gst/gstminiobject.c:
21813         * gst/gstminiobject.h:
21814         More docs. Spifify .h file.
21815
21816         * gst/gstutils.c:
21817         Small doc update.
21818
21819 2005-11-11  Wim Taymans  <wim@fluendo.com>
21820
21821         * gst/base/gstbasetransform.c:
21822         (gst_base_transform_prepare_output_buf),
21823         (gst_base_transform_handle_buffer):
21824         Small cleanups.
21825         If we're processing a buffer and need to allocate an output
21826         buffer, we cannot accept a format change. If we did get a 
21827         format change, we have to alloc a buffer ourselves of the 
21828         right size.
21829
21830 2005-11-11  Wim Taymans  <wim@fluendo.com>
21831
21832         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21833         While checking the flag for reentrancy in the gstcaps function
21834         is nice to detect recursive invocations, it also makes it 
21835         impossible to call getcaps from multiple threads, which must be
21836         possible. So, checking for recursive calls has to go.
21837
21838 2005-11-11  Michael Smith <msmith@fluendo.com>
21839
21840         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21841           Don't sync on buffers that fall partially outside our current
21842           segment. Prevents an assertion failure/abort playing some files.
21843
21844 2005-11-10  Andy Wingo  <wingo@pobox.com>
21845
21846         * check/gst/gstbin.c (test_message_state_changed_children): Style
21847         fix..
21848
21849         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21850         gst_bus_poll with the signal watch. Ensures that poll and a signal
21851         watch see the same messages.
21852
21853         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21854         a poll and a watch at the same time get the same messages.
21855
21856 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21857
21858         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21859         * gst/gstcaps.c: (gst_caps_intersect):
21860           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21861           and it's not needed.
21862
21863 2005-11-10  Wim Taymans  <wim@fluendo.com>
21864
21865         * docs/design/part-TODO.txt:
21866         Updated todo.
21867
21868 2005-11-10  Wim Taymans  <wim@fluendo.com>
21869
21870         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21871         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21872         (gst_base_src_do_sync), (gst_base_src_get_range):
21873         Implement clock sync in base class.
21874
21875 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21876
21877         patch by: Tim-Philipp Müller <tim at centricular dot net>
21878
21879         * gst/gststructure.c: (gst_structure_parse_field),
21880         (gst_structure_from_string):
21881           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21882           so that gst_parse_launch() can deal with spaces in filtered link
21883           caps (fixes #164479)
21884         * check/gst/capslist.h:
21885         * check/gst/gststructure.c: (GST_START_TEST):
21886           add unit tests for this change
21887
21888 2005-11-10  Wim Taymans  <wim@fluendo.com>
21889
21890         * docs/gst/gstreamer-sections.txt:
21891         * gst/gstelement.c:
21892         * gst/gstelement.h:
21893         Fix docs, move some STATE macros to private.
21894
21895 2005-11-10  Wim Taymans  <wim@fluendo.com>
21896
21897         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21898         Added check for bug #317341
21899
21900         * gst/gstbuffer.c:
21901         * gst/gstbuffer.h:
21902         Some more spiffifying.
21903
21904         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21905         Call peer linkfunction if we are a source pad. Totally fixes
21906         #317341
21907
21908         * gst/gstpad.c:
21909         Update docs, source pads should call the peer linkfunction
21910         so they can atomically perform the pad link.
21911
21912 2005-11-09  Wim Taymans  <wim@fluendo.com>
21913
21914         * gst/gstbuffer.c:
21915         * gst/gstbuffer.h:
21916         Uber-spiffy-spiffify some more.
21917
21918 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21919
21920         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21921         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21922         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21923         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21924         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21925         * gst/gstpad.c: (gst_pad_init):
21926           Use GST_DEBUG_FUNCPTR() more extensively.
21927
21928 2005-11-09  Wim Taymans  <wim@fluendo.com>
21929
21930         * gst/gstobject.c: (gst_object_class_init):
21931         * gst/gstobject.h:
21932         Documentation fixes.
21933
21934 2005-11-09  Edward Hervey  <edward@fluendo.com>
21935
21936         * gst/gsttypefindfactory.c:
21937         Fix docs.
21938         
21939 2005-11-09  Edward Hervey  <edward@fluendo.com>
21940
21941         * gst/base/gsttypefindhelper.c:
21942         * gst/gsttypefind.c:
21943         * gst/gsttypefind.h:
21944         Fix docs.
21945
21946 2005-11-09  Wim Taymans  <wim@fluendo.com>
21947
21948         * gst/gstiterator.c:
21949         Fix revision data.
21950
21951         * gst/gsttask.c:
21952         * gst/gsttask.h:
21953         Fix docs.
21954
21955 2005-11-09  Wim Taymans  <wim@fluendo.com>
21956
21957         * gst/gstevent.h:
21958         * gst/gsturi.h:
21959         Fix docs.
21960
21961 2005-11-09  Wim Taymans  <wim@fluendo.com>
21962
21963         * docs/gst/gstreamer-sections.txt:
21964         Moved the message async delivery private lock and cond
21965         to the private section.
21966
21967         * gst/gstmessage.c:
21968         * gst/gstmessage.h:
21969         Fixed docs.
21970
21971 2005-11-09  Edward Hervey  <edward@fluendo.com>
21972
21973         * docs/gst/gstreamer-sections.txt:
21974         * gst/gsturi.c:
21975         * gst/gsturi.h:
21976         Document GstURIHandler
21977
21978 2005-11-09  Wim Taymans  <wim@fluendo.com>
21979
21980         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21981         (gst_iterator_find_custom):
21982         * gst/gstiterator.h:
21983         Fix iterator docs.
21984
21985 2005-11-09  Wim Taymans  <wim@fluendo.com>
21986
21987         * gst/gstbin.h:
21988         Document another field.
21989
21990         * gst/gststructure.c:
21991         * gst/gststructure.h:
21992         Document.
21993
21994 2005-11-09  Wim Taymans  <wim@fluendo.com>
21995
21996         * gst/gstbin.h:
21997         Documented structs.
21998
21999 2005-11-09  Wim Taymans  <wim@fluendo.com>
22000
22001         * docs/gst/gstreamer-sections.txt:
22002         Added some new macros.
22003
22004         * gst/gstclock.c:
22005         * gst/gstclock.h:
22006         * gst/gstobject.h:
22007         Docs updates.
22008
22009 2005-11-09  Wim Taymans  <wim@fluendo.com>
22010
22011         * docs/design/part-TODO.txt:
22012         Some more items for the TODO
22013
22014         * gst/gstcaps.c:
22015         * gst/gstcaps.h:
22016         Document GstCaps.
22017
22018 2005-11-09  Andy Wingo  <wingo@pobox.com>
22019
22020         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
22021         to work on something else now tho...
22022
22023         * gst/base/gstadapter.c: More adapter docs.
22024
22025         * gst/elements/gstfilesink.c (gst_file_sink_start) 
22026         (gst_file_sink_stop): New functions, replace the state change
22027         handler.
22028         (gst_file_sink_class_init): Hook up the start and stop functions.
22029         (gst_file_sink_base_init): Don't set the state change handler any
22030         more. It was a bit ugly too, being set from here...
22031         (gst_file_sink_get_property, gst_file_sink_set_property):
22032         Cleanups...
22033         (gst_file_sink_set_location): More robust check that doesn't call
22034         GST_STATE. Ugggggg.
22035
22036 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
22037
22038         * gst/base/gstbasetransform.c: (gst_base_transform_event):
22039           Hold STREAM_LOCK while pushing newsegment or tag events as well.
22040
22041 2005-11-08  Wim Taymans  <wim@fluendo.com>
22042
22043         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22044         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22045         (gst_base_sink_chain), (gst_base_sink_change_state):
22046         * gst/base/gstbasesink.h:
22047         * gst/base/gstbasesrc.h:
22048         * gst/gstelement.h:
22049         * gst/gstevent.h:
22050         Avoid excessive typechecking in macros.
22051
22052         * gst/gstminiobject.c: (gst_mini_object_get_type),
22053         (gst_mini_object_init), (gst_mini_object_new),
22054         (gst_mini_object_free):
22055         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22056         (gst_object_finalize):
22057         Remove cruft code, optimize alloc_trace.
22058
22059 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22060
22061         * docs/faq/gst-uninstalled:
22062           fix up PS1 for systems that try to reset it
22063
22064 2005-11-07  Wim Taymans  <wim@fluendo.com>
22065
22066         * gst/base/gstbasesrc.c: (gst_base_src_init),
22067         (gst_base_src_get_range):
22068         Set the segment_end to -1 initially. Fixed typefind.
22069
22070 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
22071
22072         * gst/base/gstadapter.c:
22073           Debug category should be 'adapter', not 'GstAdapter'.
22074           
22075         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
22076         (gst_collectpads_class_init), (gst_collectpads_init),
22077         (gst_collectpads_peek), (gst_collectpads_pop),
22078         (gst_collectpads_event), (gst_collectpads_chain):
22079           Add debug category and some debugging output. Use boilerplate
22080           macros. Remove some extraneous words from docs.
22081
22082 2005-11-05  Andy Wingo  <wingo@pobox.com>
22083
22084         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
22085         macro.
22086
22087 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
22088
22089         * docs/gst/gstreamer-sections.txt:
22090         * gst/gstcaps.h:
22091         * gst/gstinfo.c:
22092         * gst/gstminiobject.h:
22093         * gst/gstobject.h:
22094         * gst/gstutils.h:
22095           more docs added
22096
22097 2005-11-04  Wim Taymans  <wim@fluendo.com>
22098
22099         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22100         Small update to stop at the configured segment_end
22101         position.
22102
22103 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
22104
22105         * gst/gstregistry.c:
22106         * gst/gstregistry.h:
22107           added missing docs
22108
22109 2005-11-04  Edward Hervey  <edward@fluendo.com>
22110
22111         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22112         Check if we are doing a segment seek and have arrived at the
22113         end of that segment.
22114
22115 2005-11-04  Wim Taymans  <wim@fluendo.com>
22116
22117         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
22118         Don't leak a mutex unlock in case of an error.
22119
22120         * gst/gstbus.h:
22121         Doc fixes.
22122
22123 2005-11-04  Wim Taymans  <wim@fluendo.com>
22124
22125         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
22126         (gst_bus_post):
22127         Get the context to wake up only once.
22128
22129 2005-11-03  Wim Taymans  <wim@fluendo.com>
22130
22131         * check/states/sinks.c: (GST_START_TEST):
22132         Uncomment fixed check.
22133
22134         * docs/design/part-TODO.txt:
22135         Updated TODO.
22136
22137         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22138         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22139         (gst_base_sink_get_position):
22140         If we are going to PLAYING, post the right pending state
22141         when we post the intermediate paused message.
22142
22143         * gst/gstelement.c: (gst_element_continue_state),
22144         (gst_element_set_state_func), (gst_element_change_state):
22145         Don't post state changes that were between the same state
22146         and were not ASYNC.
22147
22148 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
22149
22150         * docs/gst/gstreamer-sections.txt:
22151         * gst/gstcaps.h:
22152         * gst/gstinfo.c:
22153         * gst/gstminiobject.h:
22154         * gst/gstobject.h:
22155         * gst/gstutils.h:
22156           more docs and doc style fixes
22157
22158 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
22159
22160         * docs/gst/gstreamer-sections.txt:
22161         * gst/gstelement.c:
22162         * gst/gstminiobject.c:
22163         doc fixes
22164
22165 2005-11-03  Andy Wingo  <wingo@pobox.com>
22166
22167         * check/states/sinks.c (test_livesrc_sink): Add checks that the
22168         state-changed messages actually have the right order and the right
22169         values.
22170
22171 2005-11-03  Wim Taymans  <wim@fluendo.com>
22172
22173         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22174         Added some more checks. Specifically the case where NO_PREROLL
22175         elements are in the pipeline.
22176
22177         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22178         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22179         (gst_base_sink_get_position):
22180         Post READY->PAUSED state change messages too.
22181         Fix bug where VOID was posted as pending state...
22182
22183         * gst/gstbin.c: (gst_bin_recalc_state):
22184         use _element_continue_state() to continue the state change.
22185
22186         * gst/gstelement.c: (gst_element_continue_state),
22187         (gst_element_commit_state), (gst_element_set_state_func),
22188         (gst_element_change_state), (gst_element_change_state_func):
22189         Lots of state change cleanups, assign the STATE_RETURN in
22190         a new continue_state() function that also propagates the
22191         last return value from a state change to the app.
22192         Update some debug statements with proper category.
22193
22194 2005-11-03  Wim Taymans  <wim@fluendo.com>
22195
22196         * docs/design/part-events.txt:
22197         * docs/design/part-gstpipeline.txt:
22198         * docs/design/part-messages.txt:
22199         * docs/design/part-overview.txt:
22200         * docs/design/part-seeking.txt:
22201         * docs/design/part-states.txt:
22202         * docs/design/part-trickmodes.txt:
22203         * docs/manual/advanced-position.xml:
22204         Small docs updates.
22205
22206         * gst/gstobject.h:
22207         People think !! is ugly, this looks better.
22208
22209         * gst/gstpad.c: (gst_pad_set_blocked_async):
22210         Remove !! since it's fixed elsewhere now.
22211
22212 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22213
22214         * gst/gstminiobject.h:
22215         * gst/gstobject.h:
22216           Add !! to _FLAG_IS_SET macros to make the result boolean.
22217
22218 2005-11-03  Edward Hervey  <edward@fluendo.com>
22219
22220         * gst/gstpad.c: (gst_pad_set_blocked_async):
22221         comparing a flag and a gboolean rarely returns coherent results...
22222         Added two characters (!!) to make that work correctly.
22223         
22224 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22225
22226         * gst/gstbus.c: (gst_bus_class_init):
22227           Fix some typos.
22228           
22229         * gst/gstqueue.c: (gst_queue_loop):
22230           Don't assume a miniobject that isn't a buffer is an
22231           event (it could be that there is a refcounting
22232           problem somewhere and the pointer is stale and
22233           refers to an already destroyed miniobject).
22234
22235 2005-11-03  Julien MOUTTE  <julien@moutte.net>
22236
22237         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22238
22239 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22240
22241         * docs/manual/advanced-position.xml:
22242           Update seek example and explanations to current 0.9 API.
22243
22244         * gst/elements/gsttypefindelement.c:
22245         (gst_type_find_element_activate):
22246           Remove FIXME comment now that the found caps
22247           are unreffed.
22248
22249 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22250
22251         * gst/gstregistryxml.c: (load_feature):
22252           Add another GST_STR_NULL instance
22253
22254 2005-11-02  Edward Hervey  <edward@fluendo.com>
22255
22256         * gst/gstpad.c: (handle_pad_block):
22257         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22258         
22259 2005-11-02  Wim Taymans  <wim@fluendo.com>
22260
22261         * gst/gstbin.c:
22262         Fix typo in docs.
22263
22264         * gst/gstelement.c: (gst_element_commit_state):
22265         Remove unused value.
22266
22267         * gst/gstiterator.c:
22268         Mention that the returned element is reffed in the docs.
22269
22270 2005-11-02  Wim Taymans  <wim@fluendo.com>
22271
22272         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22273         (gst_pad_push), (gst_pad_push_event):
22274         Unlock blocked pads when they are flushed.
22275
22276 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22277
22278         * docs/README:
22279         * docs/gst/gstreamer-sections.txt:
22280         * gst/gstbin.c:
22281           doc updates
22282         * gst/gstregistry.c: (gst_registry_scan_path_level):
22283           fix for a nasty little missed situation where an installed plug-in
22284           which was in the cache did not get overridden by an uninstalled one
22285           which was earlier in the plugin path because the newly created plugin
22286           for the uninstalled one (not in the registry) didn't get its
22287           ->registered set to TRUE
22288
22289 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22290
22291         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22292         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22293         (gst_collectpads_is_active), (gst_collectpads_collect),
22294         (gst_collectpads_collect_range), (gst_collectpads_start),
22295         (gst_collectpads_stop), (gst_collectpads_peek),
22296         (gst_collectpads_pop), (gst_collectpads_available),
22297         (gst_collectpads_read), (gst_collectpads_flush):
22298           Guard public API with assertions.
22299         
22300         * gst/gstpad.c:
22301           Fix docs for gst_pad_set_link_function().
22302
22303 2005-11-02  Johan Dahlin  <johan@gnome.org>
22304
22305         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
22306         Unref found_caps after we used it.
22307
22308 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22309
22310         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22311           Don't try to ref NULL.
22312
22313 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22314
22315         * win32/common/config.h.in:
22316           provide a GST_FUNCTION that just gives a string for now
22317
22318 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22319
22320         * win32/common/gstenumtypes.c: (register_gst_object_flags),
22321         (gst_object_flags_get_type), (register_gst_bin_flags),
22322         (gst_bin_flags_get_type), (register_gst_buffer_flag),
22323         (gst_buffer_flag_get_type), (register_gst_bus_flags),
22324         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22325         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22326         (gst_clock_return_get_type), (register_gst_clock_entry_type),
22327         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22328         (gst_clock_flags_get_type), (register_gst_state),
22329         (gst_state_get_type), (register_gst_state_change_return),
22330         (gst_state_change_return_get_type), (register_gst_state_change),
22331         (gst_state_change_get_type), (register_gst_element_flags),
22332         (gst_element_flags_get_type), (register_gst_core_error),
22333         (gst_core_error_get_type), (register_gst_library_error),
22334         (gst_library_error_get_type), (register_gst_resource_error),
22335         (gst_resource_error_get_type), (register_gst_stream_error),
22336         (gst_stream_error_get_type), (register_gst_event_type),
22337         (gst_event_type_get_type), (register_gst_seek_type),
22338         (gst_seek_type_get_type), (register_gst_seek_flags),
22339         (gst_seek_flags_get_type), (register_gst_format),
22340         (gst_format_get_type), (register_gst_index_certainty),
22341         (gst_index_certainty_get_type), (register_gst_index_entry_type),
22342         (gst_index_entry_type_get_type),
22343         (register_gst_index_lookup_method),
22344         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22345         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22346         (gst_index_resolver_method_get_type), (register_gst_index_flags),
22347         (gst_index_flags_get_type), (register_gst_debug_level),
22348         (gst_debug_level_get_type), (register_gst_debug_color_flags),
22349         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22350         (gst_iterator_result_get_type), (register_gst_iterator_item),
22351         (gst_iterator_item_get_type), (register_gst_message_type),
22352         (gst_message_type_get_type), (register_gst_mini_object_flags),
22353         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22354         (gst_pad_link_return_get_type), (register_gst_flow_return),
22355         (gst_flow_return_get_type), (register_gst_activate_mode),
22356         (gst_activate_mode_get_type), (register_gst_pad_direction),
22357         (gst_pad_direction_get_type), (register_gst_pad_flags),
22358         (gst_pad_flags_get_type), (register_gst_pad_presence),
22359         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22360         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22361         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22362         (gst_plugin_error_get_type), (register_gst_plugin_flags),
22363         (gst_plugin_flags_get_type), (register_gst_rank),
22364         (gst_rank_get_type), (register_gst_query_type),
22365         (gst_query_type_get_type), (register_gst_tag_merge_mode),
22366         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22367         (gst_tag_flag_get_type), (register_gst_task_state),
22368         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22369         (gst_alloc_trace_flags_get_type),
22370         (register_gst_type_find_probability),
22371         (gst_type_find_probability_get_type), (register_gst_uri_type),
22372         (gst_uri_type_get_type), (register_gst_parse_error),
22373         (gst_parse_error_get_type):
22374         * win32/common/gstversion.h:
22375           update win32 copies
22376
22377 2005-11-01  Luca Ognibene  <luogni@tin.it>
22378
22379         * gst/gst.c:
22380           fix docs. popt is dead, long live GOption.
22381
22382 2005-10-31  Wim Taymans  <wim@fluendo.com>
22383
22384         * gst/gstbuffer.h:
22385         Small doc fix.
22386
22387 2005-10-31  Andy Wingo  <wingo@pobox.com>
22388
22389         * Boo!
22390
22391         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22392
22393         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22394         need to serialize property notifications on GLib 2.8. GLib 2.6 has
22395         the possibility of deadlocks here if code calling notify() or
22396         set() has a lock that can be taken in another notify handler (ABBA
22397         with class lock and e.g. python GIL state lock).
22398
22399 2005-10-28  Julien MOUTTE  <julien@moutte.net>
22400
22401         * gst/gstbus.c: Doc updates.
22402
22403 2005-10-28  Wim Taymans  <wim@fluendo.com>
22404
22405         * docs/design/part-TODO.txt:
22406         * gst/gstiterator.c:
22407         * gst/gstsystemclock.c:
22408         * gst/gstsystemclock.h:
22409         Doc updates.
22410
22411 2005-10-28  Edward Hervey  <edward@fluendo.com>
22412
22413         * docs/gst/gstreamer-docs.sgml:
22414         * docs/gst/gstreamer-sections.txt:
22415         the GstURIType documentation page is private, it only defines GstURIType
22416         which should be defined in the GstURIHandler page
22417         
22418 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22419
22420         * gst/gstbin.c: (gst_bin_class_init):
22421         * gst/gstbin.h:
22422         * gst/gstutils.c:
22423         Documentation updates.
22424
22425 2005-10-28  Wim Taymans  <wim@fluendo.com>
22426
22427         * docs/gst/gstreamer-sections.txt:
22428         * gst/gstclock.c:
22429         * gst/gstclock.h:
22430         Documented the clocks.
22431
22432 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22433
22434         * docs/gst/gstreamer-sections.txt:
22435           move some macros to private sections
22436         * gst/gstminiobject.c:
22437         * gst/gstminiobject.h:
22438           add descriptions provided by ds and some more
22439         * gst/gstpad.h:
22440           mark macro as to be removed
22441
22442 2005-10-28  Wim Taymans  <wim@fluendo.com>
22443
22444         * docs/design/part-TODO.txt:
22445         Add an item to TODO.
22446
22447         * gst/gstiterator.c: (gst_iterator_fold),
22448         (gst_iterator_find_custom):
22449         * gst/gstiterator.h:
22450         Add iterator docs.
22451
22452 2005-10-28  Wim Taymans  <wim@fluendo.com>
22453
22454         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22455         (gst_base_transform_init):
22456         Don't leak class.
22457
22458         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22459         An EOS event marks the queue as completely filled.
22460
22461 2005-10-27  Wim Taymans  <wim@fluendo.com>
22462
22463         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22464         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22465         Some more debugging.
22466
22467         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22468         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22469         (gst_base_transform_event), (gst_base_transform_getrange),
22470         (gst_base_transform_chain):
22471         * gst/base/gstbasetransform.h:
22472         Fix debugging,
22473         Protect transform and concurrent buffer alloc with a new lock.
22474         Try not to break ABI/API.
22475
22476 2005-10-27  Wim Taymans  <wim@fluendo.com>
22477
22478         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22479         (gst_base_src_init), (gst_base_src_query),
22480         (gst_base_src_default_newsegment),
22481         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22482         (gst_base_src_send_event), (gst_base_src_event_handler),
22483         (gst_base_src_pad_get_range), (gst_base_src_loop),
22484         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22485         (gst_base_src_start), (gst_base_src_deactivate),
22486         (gst_base_src_activate_push), (gst_base_src_change_state):
22487         Move some stuff around and cleanup things.
22488
22489 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22490
22491         * gst/base/gstbasesrc.c: (gst_base_src_query):
22492           Add missing break statements.
22493
22494 2005-10-27  Wim Taymans  <wim@fluendo.com>
22495
22496         * check/gst/gstbin.c: (GST_START_TEST):
22497         An extra refcount is taken in basesrc.
22498
22499         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22500         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22501         (gst_base_src_loop):
22502         Small cleanups, check for flushing after being unlocked from the 
22503         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22504         Don't send out EOS when going to READY.
22505
22506 2005-10-27  Wim Taymans  <wim@fluendo.com>
22507
22508         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22509         (gst_base_sink_get_position):
22510         Some more debug.
22511
22512         * gst/gstbin.c: (message_check), (bin_replace_message),
22513         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22514         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22515         (bin_query_duration_init), (bin_query_duration_fold),
22516         (bin_query_duration_done), (bin_query_generic_fold),
22517         (gst_bin_query):
22518         * tools/gst-launch.c: (main):
22519         Remove old option.
22520
22521 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22522
22523         * examples/controller/audio-example.c: (main):
22524         * examples/queue/queue.c: (event_loop):
22525         * gst/base/gstbasetransform.h:
22526         * gst/gstelement.c: (gst_element_send_event):
22527         * gst/gstevent.h:
22528         * gst/gstpad.c: (gst_pad_send_event):
22529           fixing examples
22530           fixing docs typos
22531           changing log priority in error situations
22532
22533 2005-10-25  Wim Taymans  <wim@fluendo.com>
22534
22535         * gst/gstbin.c: (message_check), (bin_replace_message),
22536         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22537         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22538         (bin_query_duration_init), (bin_query_duration_fold),
22539         (bin_query_duration_done), (bin_query_generic_fold),
22540         (gst_bin_query):
22541         Some doc and debug updates.
22542         Cache previously requested query DURATION for speed. invalidate
22543         cached duration if element posts a DURATION message.
22544
22545 2005-10-25  Wim Taymans  <wim@fluendo.com>
22546
22547         * docs/design/part-TODO.txt:
22548         Update TODO.
22549
22550         * gst/gstbin.c: (message_check), (bin_replace_message),
22551         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22552         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22553         (bin_query_duration_init), (bin_query_duration_fold),
22554         (bin_query_duration_done), (bin_query_generic_fold),
22555         (gst_bin_query):
22556         Handle SEGMENT_START/DONE messages correctly.
22557         More evolved query algorithm that handles duration queries
22558         correctly.
22559
22560         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22561         (gst_element_get_state_func), (gst_element_abort_state),
22562         (gst_element_commit_state), (gst_element_lost_state):
22563         Some more debugging.
22564
22565         * gst/gstmessage.h:
22566         Added doc.
22567
22568 2005-10-25  Wim Taymans  <wim@fluendo.com>
22569
22570         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22571         Don't use invalid stream_time.
22572
22573         * gst/gstevent.c: (gst_event_new_newsegment):
22574         stream_time in newsegment cannot be undefined.
22575
22576 2005-10-24  Wim Taymans  <wim@fluendo.com>
22577
22578         * gst/gstbus.c:
22579         Doc fix.
22580
22581         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22582         (gst_queue_loop):
22583         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22584
22585 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22586
22587         * docs/libs/tmpl/gstdparam.sgml:
22588         * docs/libs/tmpl/gstdplinint.sgml:
22589         * docs/libs/tmpl/gstdpman.sgml:
22590         * docs/libs/tmpl/gstdpsmooth.sgml:
22591         * docs/libs/tmpl/gstunitconvert.sgml:
22592           these are obsolete
22593
22594 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22595
22596         * configure.ac:
22597           back to HEAD
22598
22599 === release 0.9.4 ===
22600
22601 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22602
22603         * configure.ac:
22604           releasing 0.9.4, "Tyrannosaurus Rex"
22605
22606 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22607
22608         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22609         (gst_file_sink_get_current_offset):
22610           Use fseeko() and ftello() if available. When falling back on
22611           lseek() to get the current offset, fflush() first to make sure
22612           everything is up-to-date and we get the right offset.
22613
22614 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22615
22616         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22617         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22618         * gst/gsterror.c: (_gst_stream_errors_init):
22619         * gst/gsterror.h:
22620         * gst/gstqueue.c: (gst_queue_loop):
22621         * po/POTFILES.in:
22622           remove prematurely added error category and clean up the instances
22623
22624 2005-10-21  Wim Taymans  <wim@fluendo.com>
22625
22626         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22627         (gst_base_sink_get_position), (gst_base_sink_query),
22628         (gst_base_sink_change_state):
22629         Simply set the right flag when going to playing, that's all
22630         we need to do instead of calling a function inside the object
22631         lock (that could take the lock as well and deadlock)
22632
22633 2005-10-21  Wim Taymans  <wim@fluendo.com>
22634
22635         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22636         (gst_base_src_loop):
22637         Don't warn, the peer element knows what to do best when
22638         the seek failed, it might try something else.
22639
22640 2005-10-21  Wim Taymans  <wim@fluendo.com>
22641
22642         * gst/base/gstbasesrc.c: (gst_base_src_init),
22643         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22644         Fix seeking.
22645
22646 2005-10-21  Wim Taymans  <wim@fluendo.com>
22647
22648         * docs/design/part-segments.txt:
22649         More docs.
22650
22651         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22652         Correctly set caps, even on the subbufer.
22653
22654 2005-10-21  Wim Taymans  <wim@fluendo.com>
22655
22656         * docs/gst/gstreamer-docs.sgml:
22657         * docs/gst/gstreamer-sections.txt:
22658         * gst/gstelement.h:
22659         * gst/gstevent.c:
22660         * gst/gstevent.h:
22661         * gst/gstmessage.h:
22662         * gst/gstpad.h:
22663         * gst/gstparse.h:
22664         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22665         * gst/gsttask.h:
22666         * gst/gstutils.c:
22667         * gst/gstutils.h:
22668         And 2% more doc coverage.
22669
22670 2005-10-21  Andy Wingo  <wingo@pobox.com>
22671
22672         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22673         position reporting.
22674
22675 2005-10-20  Wim Taymans  <wim@fluendo.com>
22676
22677         * gst/gsterror.c: (gst_error_get_message):
22678         * gst/gstparse.h:
22679         * gst/gstquery.h:
22680         * gst/gststructure.c:
22681         * gst/gsttrace.c:
22682         * gst/gstutils.c:
22683         More docs.
22684
22685 2005-10-20  Wim Taymans  <wim@fluendo.com>
22686
22687         * gst/gstbuffer.h:
22688         * gst/gstpad.c:
22689         * gst/gstparse.c:
22690         Another 1% more coverage.
22691
22692 2005-10-20  Wim Taymans  <wim@fluendo.com>
22693
22694         * docs/gst/gstreamer-sections.txt:
22695         * gst/gstelement.c: (gst_element_get_state_func),
22696         (gst_element_abort_state), (gst_element_commit_state),
22697         (gst_element_lost_state):
22698         * gst/gstevent.h:
22699         * gst/gstquery.c: (gst_query_set_position),
22700         (gst_query_parse_position), (gst_query_set_duration),
22701         (gst_query_parse_duration), (gst_query_new_convert):
22702         * gst/gstutils.c:
22703         Yay! 1% more docs coverage.
22704
22705 2005-10-20  Wim Taymans  <wim@fluendo.com>
22706
22707         * gst/gstpad.h:
22708         * gst/gstquery.c: (gst_query_set_position),
22709         (gst_query_parse_position), (gst_query_set_duration),
22710         (gst_query_parse_duration), (gst_query_new_convert):
22711         * gst/gstquery.h:
22712         * gst/gstutils.c: (gst_element_query_convert):
22713         * gst/gstutils.h:
22714         Docs and consistency fixes.
22715
22716 2005-10-20  Wim Taymans  <wim@fluendo.com>
22717
22718         * gst/gsttask.c:
22719         * gst/gsttask.h:
22720         More docs.
22721
22722 2005-10-20  Wim Taymans  <wim@fluendo.com>
22723
22724         * gst/gstbin.c: (message_check), (bin_replace_message),
22725         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22726         (update_degree), (gst_bin_sort_iterator_next),
22727         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22728         Reworked the message handling a bit, cache the messages instead of
22729         only the senders. alows us to do more in the future.
22730
22731 2005-10-20  Wim Taymans  <wim@fluendo.com>
22732
22733         * docs/design/part-TODO.txt:
22734         Update TODO
22735
22736         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22737         (gst_base_sink_query):
22738         Don't use clock time to report position when in EOS.
22739
22740 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22741
22742         * tools/gst-inspect.c: (print_interfaces),
22743         (print_element_properties_info), (print_element_info):
22744           Fix interface output with gst-inspect -a; don't print
22745           newlines after double/float properties.
22746
22747 2005-10-20  Wim Taymans  <wim@fluendo.com>
22748
22749         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22750         (gst_base_sink_query):
22751         Speed up current position calculation.
22752
22753         * gst/base/gstbasesrc.c: (gst_base_src_query),
22754         (gst_base_src_default_newsegment):
22755         Correctly set stream position in newsegment.
22756
22757         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22758         (update_degree), (gst_bin_sort_iterator_next),
22759         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22760         * gst/gstmessage.c: (gst_message_new_custom):
22761         Clean up debugging info
22762
22763         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22764         (gst_queue_loop), (gst_queue_handle_src_query):
22765         Pause task faster.
22766
22767 2005-10-19  Wim Taymans  <wim@fluendo.com>
22768
22769         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22770         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22771         Fix query handling again.
22772
22773 2005-10-19  Wim Taymans  <wim@fluendo.com>
22774
22775         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22776         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22777         * gst/base/gstbasesrc.c: (gst_base_src_query):
22778         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22779         * gst/elements/gsttypefindelement.c:
22780         (gst_type_find_handle_src_query), (find_element_get_length),
22781         (gst_type_find_element_activate):
22782         API change fix.
22783
22784         * gst/gstquery.c: (gst_query_new_position),
22785         (gst_query_set_position), (gst_query_parse_position),
22786         (gst_query_new_duration), (gst_query_set_duration),
22787         (gst_query_parse_duration), (gst_query_set_segment),
22788         (gst_query_parse_segment):
22789         * gst/gstquery.h:
22790         Bundling query position/duration is not a good idea since duration
22791         does not change much and we don't want to recalculate it for every
22792         position query, so they are separated again..
22793         Base value in segment query is not needed.
22794
22795         * gst/gstqueue.c: (gst_queue_handle_src_query):
22796         * gst/gstutils.c: (gst_element_query_position),
22797         (gst_element_query_duration), (gst_pad_query_position),
22798         (gst_pad_query_duration):
22799         * gst/gstutils.h:
22800         Updates for query API change.
22801         Added some docs here and there.
22802
22803 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22804
22805         * check/gst/gstbin.c: (GST_START_TEST):
22806         * check/gst/gstghostpad.c: (GST_START_TEST):
22807         * check/pipelines/cleanup.c: (GST_START_TEST):
22808           wait on thread to die so we can check refcount correctly
22809
22810 2005-10-18  Wim Taymans  <wim@fluendo.com>
22811
22812         * check/pipelines/stress.c: (GST_START_TEST):
22813         Make check a little more time consuming.
22814
22815 2005-10-18  Wim Taymans  <wim@fluendo.com>
22816
22817         * check/Makefile.am:
22818         * check/pipelines/stress.c: (GST_START_TEST),
22819         (simple_launch_lines_suite), (main):
22820         Small state change torture test.
22821
22822         * docs/design/part-states.txt:
22823         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22824         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22825         (gst_base_sink_change_state):
22826         Never take state lock from streaming thread, clean up ugly
22827         hacks. Unfortunatly core does not yet support nice ways to
22828         async commit state.
22829         
22830         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22831         (bin_bus_handler):
22832         Start state recalc if a STATE_DIRTY message is posted, but only
22833         on the toplevel bin.
22834
22835         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22836         (gst_element_get_state_func), (gst_element_abort_state),
22837         (gst_element_commit_state), (gst_element_lost_state),
22838         (gst_element_set_state_func), (gst_element_change_state):
22839         * gst/gstelement.h:
22840         State variables are now protected with the LOCK, the state
22841         lock is only used to serialize _set_state().
22842
22843 2005-10-18  Wim Taymans  <wim@fluendo.com>
22844
22845         * check/gst/gstbin.c: (GST_START_TEST):
22846         * check/gst/gstmessage.c: (GST_START_TEST):
22847         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22848         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22849         (bin_bus_handler):
22850         * gst/gstelement.c: (gst_element_abort_state),
22851         (gst_element_commit_state), (gst_element_lost_state):
22852         * gst/gstmessage.c: (gst_message_new_state_changed),
22853         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22854         (gst_message_new_segment_done), (gst_message_new_duration),
22855         (gst_message_parse_state_changed),
22856         (gst_message_parse_segment_start),
22857         (gst_message_parse_segment_done), (gst_message_parse_duration):
22858         * gst/gstmessage.h:
22859         * tools/gst-launch.c: (event_loop):
22860         Seriously, this is better than a previous commit as we only need
22861         to notify the fact that an element changed state in a streaming
22862         thread, marking the state of the parents dirty, hence the 
22863         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22864         message.
22865
22866 2005-10-18  Wim Taymans  <wim@fluendo.com>
22867
22868         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22869         (gst_bin_recalc_func):
22870         * gst/gstelement.c: (gst_element_set_clock),
22871         (gst_element_abort_state), (gst_element_lost_state):
22872         Cleanups, prepare for state change fixes.
22873
22874 2005-10-18  Wim Taymans  <wim@fluendo.com>
22875
22876         * gst/gstbin.h:
22877         * gst/gstelement.c: (gst_element_class_init),
22878         (gst_element_set_state), (gst_element_set_state_func):
22879         * gst/gstelement.h:
22880         Pending ABI changes.
22881         GThreadPool in GstBinClass to monitor async state changes.
22882         state_cookie in GstElement to detect concurrent gst/set state.
22883         set_state is now virtual too in case a very complicated element
22884         has to be constructed.
22885
22886 2005-10-18  Wim Taymans  <wim@fluendo.com>
22887
22888         * check/gst/gstbin.c: (GST_START_TEST):
22889         * check/gst/gstmessage.c: (GST_START_TEST):
22890         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22891         * gst/gstbin.c: (bin_bus_handler):
22892         * gst/gstelement.c: (gst_element_commit_state),
22893         (gst_element_lost_state):
22894         * gst/gstmessage.c: (gst_message_new_state_changed),
22895         (gst_message_new_segment_start), (gst_message_new_segment_done),
22896         (gst_message_new_duration), (gst_message_parse_state_changed),
22897         (gst_message_parse_segment_start),
22898         (gst_message_parse_segment_done), (gst_message_parse_duration):
22899         * gst/gstmessage.h:
22900         * tools/gst-launch.c: (event_loop):
22901         Make messages future proof.
22902         state-change gets a flag if it was a message comming from the
22903         streaming thread.
22904         segment-start/stop can also be specified in other formats.
22905         A message to notify an app that a pipeline changed playback 
22906         duration.
22907         Also fix a GstMessage leak in -launch
22908
22909 2005-10-18  Andy Wingo  <wingo@pobox.com>
22910
22911         * gst/gstelement.c (gst_element_dispose): More helpful message.
22912
22913 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22914
22915         reviewed by: <delete if not using a buddy>
22916
22917         * common/gtk-doc.mak:
22918
22919 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22920
22921         * gst/gstregistry.c: (gst_registry_scan_path_level):
22922           unref a plug-in we get that was already initialized
22923
22924 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22925
22926         * docs/gst/gstreamer-sections.txt:
22927         * docs/libs/gstreamer-libs-sections.txt:
22928         * gst/gstelement.h:
22929           add new api entries
22930           hide internal macro
22931
22932 2005-10-17  Andy Wingo  <wingo@pobox.com>
22933
22934         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22935         cleanup.
22936
22937         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22938
22939         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22940
22941         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22942         (gst_element_get_state_func): Better debug message.
22943         (gst_element_commit_state): s/INFO/DEBUG/.
22944         (gst_element_lost_state, gst_element_change_state): 
22945
22946         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22947         (gst_message_new_custom): s/INFO/LOG/.
22948
22949 2005-10-17  Michael Smith <msmith@fluendo.com>
22950
22951         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22952           Check if end time is valid using end time, not start time.
22953
22954 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22955
22956         * check/gst-libs/controller.c: (GST_START_TEST),
22957         (gst_controller_suite):
22958         * libs/gst/controller/gstcontroller.c:
22959         (gst_controlled_property_set_interpolation_mode):
22960         * libs/gst/controller/gstcontroller.h:
22961         * libs/gst/controller/gstinterpolation.c:
22962         * testsuite/controller/.cvsignore:
22963         * testsuite/controller/Makefile.am:
22964         * testsuite/controller/interpolator.c:
22965           merge controller testsuites
22966           fix broken tests
22967           remove mem-chunk from docs
22968
22969 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22970
22971         * gst/gstmemchunk.c:
22972         * gst/gstmemchunk.h:
22973         * gst/gsttrashstack.c:
22974         * gst/gsttrashstack.h:
22975           out.  get out.  you're fired.  to the Attic !
22976
22977 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22978
22979         * gst/gstcaps.c: (gst_caps_intersect):
22980           fix signedness issues in a (hopefully) correct way
22981         * gst/gstelement.c: (gst_element_pads_activate):
22982           some debugging
22983         * gst/gstobject.c: (gst_object_set_parent):
22984           some debugging
22985
22986 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22987
22988         * gst/gstvalue.h: Fix prototypes.
22989
22990 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22991
22992         * docs/gst/gstreamer-sections.txt:
22993         * gst/gst.c: (gst_version_string):
22994         * gst/gst.h:
22995         * gst/gstversion.h.in:
22996         * win32/common/libgstreamer.def:
22997           add gst_version_string ()
22998
22999 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23000
23001         * configure.ac:
23002           clean up further
23003         * gst/gst.c: (init_post):
23004         * win32/common/config.h.in:
23005           it's PLUGINDIR now
23006         * gst/gstcaps.c: (gst_caps_intersect):
23007           use gint64, the range could be bigger than a guint
23008
23009 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23010
23011         * gst/gstclock.h:
23012           document potential problem in 2038
23013
23014 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23015
23016         * gst/gstcaps.c: (gst_caps_intersect):
23017           Fix guint j diving under 0
23018
23019 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23020
23021         * configure.ac:
23022         * win32/common/config.h:
23023         * win32/common/config.h.in:
23024           check for process.h, declares getpid() on Windows
23025         * gst/gstinfo.c:
23026           include process.h if we have it
23027         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
23028         * gst/gstmemchunk.h:
23029           fix signedness issues
23030         * win32/common/libgstreamer.def:
23031           fix get_type's
23032
23033 2005-10-16  Julien MOUTTE  <julien@moutte.net>
23034
23035         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
23036         fix. Because of unsigned ints, caps intersection was going nuts and
23037         trying to access structures with G_MAXUINT index. That fixes
23038         videotestsrc ! ffmpegcolorspace ! fakesink
23039         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
23040         consistency.
23041
23042 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23043
23044         * configure.ac:
23045           use the gettext macro
23046         * gst/elements/gstelements.c:
23047         * gst/gst.c:
23048         * gst/indexers/gstindexers.c:
23049           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
23050         * win32/common/config.h:
23051           updated config.h
23052         * win32/common/config.h.in:
23053           add the template to generate config.h
23054         * win32/common/gstenumtypes.c:
23055         * win32/common/gstversion.h:
23056           updated copies
23057
23058 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23059
23060         * gst/gst.c: (gst_version):
23061         * gst/gstversion.h.in:
23062           add the nano
23063
23064 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
23065
23066         * gst/gstevent.h:
23067           Oops, add missing closing bracket.
23068
23069 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23070
23071         * configure.ac:
23072           use common m4's for argument checking
23073
23074 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
23075
23076         * docs/gst/gstreamer-sections.txt:
23077         * gst/gstevent.h:
23078           Add GST_EVENT_TYPE_NAME() macro.
23079
23080 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23081
23082         * gst/gstinfo.c:
23083         * gst/gstpluginfeature.c:
23084         * gst/gsttask.c:
23085           privatize more symbols
23086
23087 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23088
23089         * configure.ac:
23090           add srcdir, builddir includes to GST_ALL_CFLAGS, since
23091           everything that uses GStreamer API should have the includes
23092
23093 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23094
23095         * docs/gst/gstreamer-sections.txt:
23096         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
23097         * gst/gstvalue.h:
23098           give each value a _get_type, removes the DATA exports
23099
23100 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23101
23102         * gst/gst.c:
23103         * gst/gst.h:
23104           remove _gst_registry_auto_load, not used anymore
23105         * gst/gstbin.c: (gst_bin_get_type):
23106         * gst/gstbin.h:
23107         * gst/gstelement.c: (gst_element_get_type):
23108         * gst/gstelement.h:
23109         * gst/gstobject.c: (gst_object_get_type):
23110         * gst/gstobject.h:
23111         * gst/gstpad.c: (gst_pad_get_type):
23112         * gst/gstpad.h:
23113           make _get_type functions similar, fixes data export from library
23114
23115 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23116
23117         * configure.ac:
23118           correctly make conditionals
23119         * gst/elements/Makefile.am:
23120         * gst/elements/gstelements.c:
23121           fix typo causing fdsrc not to build
23122
23123 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23124
23125         * testsuite/Makefile.am:
23126         * testsuite/bytestream/.cvsignore:
23127         * testsuite/bytestream/Makefile.am:
23128         * testsuite/bytestream/filepadsink.c:
23129         * testsuite/bytestream/gstbstest.c:
23130         * testsuite/bytestream/test1.c:
23131         * testsuite/bytestream/testfile1:
23132         * testsuite/caps/normalisation.c:
23133         * testsuite/caps/random.c: (main):
23134         * testsuite/cleanup/.cvsignore:
23135         * testsuite/cleanup/Makefile.am:
23136         * testsuite/cleanup/cleanup1.c:
23137         * testsuite/cleanup/cleanup2.c:
23138         * testsuite/cleanup/cleanup3.c:
23139         * testsuite/cleanup/cleanup4.c:
23140         * testsuite/cleanup/cleanup5.c:
23141         * testsuite/controller/interpolator.c:
23142         * testsuite/debug/printf_extension.c: (main):
23143         * testsuite/elements/tee.c:
23144         * testsuite/negotiation/.cvsignore:
23145         * testsuite/negotiation/Makefile.am:
23146         * testsuite/negotiation/pad_link.c:
23147         * testsuite/pad/Makefile.am:
23148         * testsuite/pad/chainnopull.c:
23149         * testsuite/pad/getnopush.c:
23150         * testsuite/pad/link.c:
23151         * testsuite/refcounting/sched.c: (create_pipeline):
23152         * testsuite/registry/Makefile.am:
23153         * testsuite/registry/gst-print-formats.c:
23154         * testsuite/schedulers/.cvsignore:
23155         * testsuite/schedulers/142183-2.c:
23156         * testsuite/schedulers/142183.c:
23157         * testsuite/schedulers/143777-2.c:
23158         * testsuite/schedulers/143777.c:
23159         * testsuite/schedulers/147713.c:
23160         * testsuite/schedulers/147819.c:
23161         * testsuite/schedulers/147894-2.c:
23162         * testsuite/schedulers/147894.c:
23163         * testsuite/schedulers/Makefile.am:
23164         * testsuite/schedulers/group_link.c:
23165         * testsuite/schedulers/queue_link.c:
23166         * testsuite/schedulers/relink.c:
23167         * testsuite/schedulers/unlink.c:
23168         * testsuite/schedulers/unref.c:
23169         * testsuite/schedulers/useless_iteration.c:
23170         * testsuite/states/bin.c:
23171           clean out/remove some stuff from the testsuite directories
23172
23173 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23174
23175         * configure.ac:
23176           check for some headers
23177         * gst/elements/Makefile.am:
23178         * gst/elements/gstelements.c:
23179           don't compile fdsrc without sys/socket.h
23180         * gst/indexers/Makefile.am:
23181         * gst/indexers/gstindexers.c: (plugin_init):
23182           don't compile fileindex without mmap
23183
23184 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23185
23186         * configure.ac:
23187           reorganize
23188           clean up
23189           document more
23190           remove cruft
23191         * check/Makefile.am:
23192         * docs/gst/Makefile.am:
23193         * examples/helloworld/Makefile.am:
23194         * gst/Makefile.am:
23195         * gst/base/Makefile.am:
23196         * gst/check/Makefile.am:
23197         * gst/elements/Makefile.am:
23198         * gst/indexers/Makefile.am:
23199         * gst/parse/Makefile.am:
23200         * libs/gst/controller/Makefile.am:
23201         * libs/gst/dataprotocol/Makefile.am:
23202         * examples/helloworld/helloworld.c: (event_loop):
23203           compile fixes, though it's not being compiled currently
23204
23205 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23206
23207         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23208           Add some simple tests for the new taglist date API.
23209
23210 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23211
23212         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23213         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23214           Beautify 'last-message' output: print 'none' for buffer timestamps
23215           and durations if none is set; improve alignment with next messages.
23216
23217 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23218
23219         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23220         * gst/gstpluginfeature.h:
23221         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23222         * gst/gstregistry.h:
23223         * docs/gst/gstreamer-sections.txt:
23224           Add new API to check plugin feature version requirements.
23225
23226         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23227           Some basic tests for the above.         
23228
23229 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23230
23231         * gst/gststructure.c: (gst_structure_to_string):
23232           guard against NULL printf - happens when for example
23233           a message structure with GstClock gets serialized
23234
23235 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23236
23237         * gst/base/gstcollectpads.c: (gst_collectpads_event):
23238           Fix presumable copy'n'pasto.
23239
23240 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23241
23242         * gst/elements/gstfakesrc.h:
23243         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23244         * gst/elements/gsttypefindelement.c:
23245           fix some signedness
23246         * gst/elements/gstfilesink.c: (gst_file_sink_render):
23247           I wonder if this could actually write +2GB files before
23248
23249 2005-10-13  Andy Wingo  <wingo@pobox.com>
23250
23251         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23252         Fix Timmeke Waymans bug.
23253         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23254         string of the proper length to gst_caps_from_string. There's a
23255         potential for, before this fix, that this could cause someone
23256         connecting over the network to cause a segfault if the payload is
23257         not NUL-terminated.
23258
23259 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23260
23261         * docs/design/draft-push-pull.txt:
23262         * docs/design/part-overview.txt:
23263         * docs/random/TODO-pre-0.9:
23264         * docs/random/old/ChangeLog.gstreamer:
23265         * gst/base/gstpushsrc.c:
23266         * gst/gstclock.c:
23267           fixed typos
23268
23269 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23270
23271         * gst/glib-compat.c: (gst_flags_get_first_value):
23272         * gst/glib-compat.h:
23273         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23274         (gst_value_compare_double), (gst_value_serialize_flags):
23275           GLib 2.6 g_flags_get_first_value has a bug that triggers an
23276           infinite loop
23277
23278 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23279
23280         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23281         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23282           fix up debugging
23283         * tools/gst-launch.c: (event_loop):
23284           print out clock nicely
23285
23286 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23287
23288         * docs/gst/gstreamer-sections.txt:
23289         * gst/gsttaglist.h:
23290         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23291         (gst_tag_list_get_date_index):
23292           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23293           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23294
23295 2005-10-13  Julien MOUTTE  <julien@moutte.net>
23296
23297         * gst/base/gstcollectpads.c: (gst_collectpads_event),
23298         (gst_collectpads_chain):
23299         * gst/base/gstcollectpads.h: Handle newsegment and store informations
23300         in CollectData.
23301
23302 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23303
23304         * docs/gst/gstreamer-sections.txt:
23305         * gst/gst.c:
23306         * gst/gsterror.h:
23307         * tools/gst-inspect.c: (main):
23308         * tools/gst-launch.c: (main):
23309         * tools/gst-run.c: (main):
23310         * tools/gst-xmlinspect.c: (main):
23311           fix GOption context leaks
23312           doc fixes
23313
23314 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23315
23316         * gst/gstbus.c:
23317           use HAVE_UNISTD_H
23318         * win32/common/config.h:
23319           update config
23320         * win32/vs6/grammar.dsp:
23321         * win32/vs6/libgstelements.dsp:
23322         * win32/vs6/libgstreamer.dsp:
23323           update vs6 files
23324
23325 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23326
23327         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23328         * gst/base/gstbasesrc.c: (gst_base_src_query):
23329           fix more guint64<->gdouble conversions
23330
23331 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23332
23333         * Makefile.am:
23334           add win32-update target
23335         * win32/common/gstconfig.h:
23336         * win32/common/gstenumtypes.c:
23337         * win32/common/gstenumtypes.h:
23338         * win32/common/gstversion.h:
23339           add files that visual studio can't generate
23340
23341 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23342
23343         * Makefile.am:
23344           add a win32-update target
23345         * configure.ac:
23346
23347 2005-10-12  Wim Taymans  <wim@fluendo.com>
23348
23349         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23350         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23351         * gst/gstelement.c: (gst_element_commit_state),
23352         (gst_element_set_state):
23353         Protect flags with proper lock.
23354         unref provided cached clock in dispose.
23355
23356 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23357
23358         * gst/gst.c:
23359         * gst/gstminiobject.h:
23360         * gst/gstpad.h:
23361         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23362           removed unused flags from miniobject
23363           doc fixes
23364
23365 2005-10-12  Wim Taymans  <wim@fluendo.com>
23366
23367         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23368         (gst_file_sink_event), (gst_file_sink_render):
23369         Flush before seeking.
23370
23371 2005-10-12  Andy Wingo  <wingo@pobox.com>
23372
23373         * gst/gst.c (gst_init_check): Ignore unknown options, as has
23374         always been the case.
23375
23376 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23377
23378         * check/gst/gstbin.c: (GST_START_TEST):
23379         * docs/gst/gstreamer-sections.txt:
23380         * gst/base/gstbasesink.c: (gst_base_sink_init):
23381         * gst/base/gstbasesrc.c: (gst_base_src_init),
23382         (gst_base_src_get_range), (gst_base_src_check_get_range),
23383         (gst_base_src_start), (gst_base_src_stop):
23384         * gst/base/gstbasesrc.h:
23385         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23386         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23387         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23388         (bin_bus_handler):
23389         * gst/gstbin.h:
23390         * gst/gstbuffer.h:
23391         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23392         * gst/gstbus.h:
23393         * gst/gstelement.c: (gst_element_is_locked_state),
23394         (gst_element_set_locked_state), (gst_element_commit_state),
23395         (gst_element_set_state):
23396         * gst/gstelement.h:
23397         * gst/gstindex.c: (gst_index_init):
23398         * gst/gstindex.h:
23399         * gst/gstminiobject.h:
23400         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23401         (gst_object_set_parent):
23402         * gst/gstobject.h:
23403         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23404         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23405         * gst/gstpad.h:
23406         * gst/gstpadtemplate.h:
23407         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23408         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23409         * gst/gstpipeline.h:
23410         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23411         (gst_file_index_commit):
23412         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23413         * testsuite/pad/link.c: (gst_test_src_init),
23414         (gst_test_filter_init), (gst_test_sink_init):
23415         * testsuite/states/locked.c: (main):
23416           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23417           moved bitshift from macro to enum definition
23418
23419 2005-10-12  Wim Taymans  <wim@fluendo.com>
23420
23421         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23422         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23423         (gst_file_sink_render):
23424         Some more debugging info.
23425
23426 2005-10-12  Wim Taymans  <wim@fluendo.com>
23427
23428         * docs/design/part-states.txt:
23429         * tools/gst-launch.c: (main):
23430         Some doc updates.
23431         Revert non-intentional change.
23432
23433 2005-10-12  Wim Taymans  <wim@fluendo.com>
23434
23435         * check/gst/gstbin.c: (GST_START_TEST):
23436         * check/gst/gstelement.c: (GST_START_TEST):
23437         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23438         * check/gst/gstghostpad.c: (GST_START_TEST):
23439         * check/gst/gstpipeline.c: (GST_START_TEST):
23440         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23441         * check/states/sinks.c: (GST_START_TEST):
23442         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23443         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23444         (gst_bin_remove_func), (gst_bin_get_state_func),
23445         (gst_bin_recalc_state), (gst_bin_change_state_func),
23446         (bin_bus_handler):
23447         * gst/gstelement.c: (gst_element_get_state_func),
23448         (gst_element_get_state), (gst_element_abort_state),
23449         (gst_element_commit_state), (gst_element_set_state),
23450         (gst_element_change_state), (gst_element_change_state_func):
23451         * gst/gstelement.h:
23452         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23453         (gst_pipeline_provide_clock_func):
23454         * gst/gstutils.c: (gst_element_link_pads_filtered):
23455         * tools/gst-launch.c: (main):
23456         * tools/gst-typefind.c: (main):
23457         Use GstClockTime in _get_state() instead of GTimeVal.
23458         Remove old code in gstutils.c
23459
23460 2005-10-12  Andy Wingo  <wingo@pobox.com>
23461
23462         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23463         removed.
23464
23465         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23466         there is no task. Shouldn't affect any code, as nothing in our
23467         plugins checks this return value.
23468         (gst_pad_stop_task): Also take the stream lock if the pad has no
23469         task. Docs updated.
23470
23471 2005-10-12  Wim Taymans  <wim@fluendo.com>
23472
23473         * gst/gstpad.c: (pre_activate), (post_activate),
23474         (gst_pad_activate_pull), (gst_pad_activate_push):
23475         Cleanup activation code. Reset old state if
23476         activation failed.
23477
23478 2005-10-12  Wim Taymans  <wim@fluendo.com>
23479
23480         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23481         (gst_base_sink_change_state):
23482         No need to prerol after receiving EOS.
23483
23484         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23485         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23486         * gst/elements/gstidentity.c: (gst_identity_event):
23487         Print events more verbosely.
23488
23489 2005-10-12  Wim Taymans  <wim@fluendo.com>
23490
23491         * check/Makefile.am:
23492         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23493         * check/states/sinks2.c:
23494         Moved sinks2 testcode in sinks check.
23495
23496         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23497         (gst_bin_remove_func), (gst_bin_recalc_state),
23498         (gst_bin_change_state_func), (bin_bus_handler):
23499         Fix potential race condition when _get_state() iterated over an
23500         ASYNC element right before it posted a state completion.
23501
23502         * gst/gstclock.h:
23503         Do proper cast here.
23504
23505         * gst/gstevent.c: (gst_event_new_newsegment),
23506         (gst_event_parse_newsegment):
23507         A playback rate of 0.0 is not allowed.
23508
23509 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23510
23511         * win32/common/config.h:
23512         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23513         (_trewinddir), (_ttelldir), (_tseekdir):
23514         * win32/common/dirent.h:
23515         * win32/common/gtchar.h:
23516         * win32/common/libgstbase.def:
23517         * win32/common/libgstreamer.def:
23518         * win32/vs6/grammar.dsp:
23519         * win32/vs6/gst_inspect.dsp:
23520         * win32/vs6/gst_launch.dsp:
23521         * win32/vs6/gstreamer.dsw:
23522         * win32/vs6/libgstbase.dsp:
23523         * win32/vs6/libgstelements.dsp:
23524         * win32/vs6/libgstreamer.dsp:
23525           Visual Studio 6 project files, and a new common directory.
23526           Phear.
23527
23528 2005-10-11  Wim Taymans  <wim@fluendo.com>
23529
23530         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23531         (gst_base_sink_do_sync), (gst_base_sink_query),
23532         (gst_base_sink_change_state):
23533         * gst/base/gstbasesink.h:
23534         Correctly parse newsegment info.
23535
23536 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23537
23538         * gst/gst.c: (init_post):
23539           split plugin paths correctly
23540
23541 2005-10-11  Wim Taymans  <wim@fluendo.com>
23542
23543         * check/gst/gstevent.c: (GST_START_TEST):
23544         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23545         (gst_base_sink_change_state):
23546         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23547         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23548         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23549         * gst/gstevent.c: (gst_event_new_newsegment),
23550         (gst_event_parse_newsegment):
23551         * gst/gstevent.h:
23552         Added extra flag to newsegment for future API freeze.
23553         Updated check and base elements.
23554
23555 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23556
23557         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23558         (gst_collectpads_add_pad), (gst_collectpads_pop),
23559         (gst_collectpads_event), (gst_collectpads_chain):
23560         * gst/base/gstcollectpads.h: Handle EOS correctly.
23561
23562 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23563
23564         * tools/gst-launch.c: (main):
23565           more null protecting
23566
23567 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23568
23569         * gst/gst-i18n-lib.h:
23570           check for ENABLE_NLS, not GETTEXT_PACKAGE
23571         * gst/gstregistry.c: (gst_registry_add_plugin),
23572         (gst_registry_scan_path_level),
23573         (_gst_registry_remove_cache_plugins):
23574           protect possibly NULL strings
23575         * gst/parse/types.h:
23576           config.h already included before
23577         * tools/gst-inspect.c: (main):
23578           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23579           check for ENABLE_NLS, not GETTEXT_PACKAGE
23580         * tools/gst-launch.c: (main):
23581           check for ENABLE_NLS, not GETTEXT_PACKAGE
23582
23583 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23584
23585         * configure.ac:
23586           if we don't have glib, fail before testing 2.8
23587         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23588           fix a leak, should fix plugins-base testsuite
23589
23590 2005-10-11  Andy Wingo  <wingo@pobox.com>
23591
23592         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23593         take the mode we're going to as an arg. Go head and set the mode
23594         and flushing flags now, so that if the activate function starts a
23595         thread all the flags will be in the right state.
23596         (post_activate): Renamed also. Just handle making sure streaming
23597         finishes for the deactivation case, and setting the deactivated
23598         mode.
23599         (gst_pad_set_active): Complain loudly if deactivation fails.
23600         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23601         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23602         remove the terrible hack.
23603
23604 2005-10-11  Wim Taymans  <wim@fluendo.com>
23605
23606         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23607         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23608         (gst_bin_recalc_state), (gst_bin_change_state_func),
23609         (gst_bin_dispose), (bin_bus_handler):
23610         * gst/gstbin.h:
23611         Prepare to make current EOS message queue more generic.
23612         Fix some typos.
23613
23614         * gst/gstevent.c: (gst_event_new_newsegment),
23615         (gst_event_parse_newsegment):
23616         * gst/gstevent.h:
23617         Rename base to stream_time.
23618
23619         * gst/gstmessage.h:
23620         Fix typo in docs.
23621
23622 2005-10-11  Wim Taymans  <wim@fluendo.com>
23623
23624         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23625         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23626         (gst_bin_change_state_func), (bin_bus_handler):
23627         * gst/gstbin.h:
23628         Work on proper clock selection.
23629
23630 2005-10-11  Edward Hervey  <edward@fluendo.com>
23631
23632         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23633         * libs/gst/controller/gstcontroller.h:
23634         Added GList* version of _remove_properties() in order to be able to wrap
23635         it in bindings.
23636
23637 2005-10-11  Wim Taymans  <wim@fluendo.com>
23638
23639         * docs/design/part-states.txt:
23640         Some more docs.
23641
23642         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23643         (gst_bin_change_state_func), (bin_bus_handler):
23644         Doc updates. Don't distribute the same clock over and over again.
23645
23646         * gst/gstclock.c:
23647         * gst/gstclock.h:
23648         Doc updates.
23649
23650         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23651         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23652         (gst_pad_send_event):
23653         * gst/gstpad.h:
23654         Make probe emission threadsafe again.
23655         Register quarks and move _get_name() from utils.
23656         Doc updates.
23657
23658         * gst/gstpipeline.c: (gst_pipeline_class_init),
23659         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23660         Only redistribute the clock of it changed.
23661
23662         * gst/gstsystemclock.h:
23663         Doc updates. 
23664
23665         * gst/gstutils.c:
23666         * gst/gstutils.h:
23667         Moved the _flow_get_name() to GstPad.
23668
23669 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23670
23671         * check/gst-libs/gdp.c: (GST_START_TEST):
23672         * check/gst/gstcaps.c: (GST_START_TEST):
23673         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23674         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23675         (gst_dp_packet_from_caps):
23676           fix more valgrind warnings before turning up the heat
23677
23678 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23679
23680         * gst/parse/grammar.y:
23681           some cleanup before the hacking
23682
23683 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23684
23685         * gst/base/gstbasesrc.c: (gst_base_src_query):
23686           use conversions
23687         * gst/gstutils.c: (gst_guint64_to_gdouble),
23688         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23689         * gst/gstutils.h:
23690           externalize, basesrc uses it
23691           obviously the implementation needs testing
23692
23693 2005-10-10  Wim Taymans  <wim@fluendo.com>
23694
23695         * tests/sched/Makefile.am:
23696         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23697         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23698
23699 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23700
23701         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23702           apparently converting from guint64 to double is not implemented
23703           on MSVC
23704
23705 2005-10-10  Wim Taymans  <wim@fluendo.com>
23706
23707         * check/Makefile.am:
23708         * check/generic/states.c: (GST_START_TEST):
23709         * check/gst/gstbin.c: (GST_START_TEST):
23710         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23711         * check/states/sinks.c: (GST_START_TEST):
23712         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23713         (main):
23714         Check fixes, use API as stated in design docs, remove hacks.
23715
23716         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23717         (gst_base_sink_change_state):
23718         Catch stopping our task while we're shutting down.
23719
23720         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23721         (gst_bin_remove_func), (gst_bin_get_state_func),
23722         (gst_bin_recalc_state), (gst_bin_change_state_func),
23723         (bin_bus_handler):
23724         * gst/gstbin.h:
23725         * gst/gstelement.c: (gst_element_init),
23726         (gst_element_get_state_func), (gst_element_abort_state),
23727         (gst_element_commit_state), (gst_element_lost_state),
23728         (gst_element_set_state), (gst_element_change_state),
23729         (gst_element_change_state_func):
23730         * gst/gstelement.h:
23731         New state change algorithm (see #318116)
23732
23733         * gst/gstpipeline.c: (gst_pipeline_class_init),
23734         (gst_pipeline_init), (gst_pipeline_set_property),
23735         (gst_pipeline_get_property), (do_pipeline_seek),
23736         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23737         * gst/gstpipeline.h:
23738         Remove crude state change hacks.
23739
23740         * gst/gstutils.h:
23741         Remove crude hacks.
23742
23743         * tools/gst-launch.c: (main):
23744         Fixes for state change. Needs some more work to fully use the
23745         new stuff.
23746
23747 2005-10-10  Andy Wingo  <wingo@pobox.com>
23748
23749         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23750
23751         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23752         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23753         issue.
23754
23755 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23756
23757         * gst/gstiterator.c: (gst_iterator_new):
23758           Fix my previous commit: GTypes passed to gst_iterator_new()
23759           can be fundamental types.
23760
23761 2005-10-10  Wim Taymans  <wim@fluendo.com>
23762
23763         * gst/gstelement.c: (gst_element_iterate_pad_list),
23764         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23765         (gst_element_iterate_sink_pads):
23766         Use src/sink pads lists for the respective iterators instead
23767         of filtering.
23768
23769 2005-10-10  Andy Wingo  <wingo@pobox.com>
23770
23771         Merged in popt removal + GOption addition patch from Ronald, bug
23772         #169772.
23773
23774         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23775         GstElement macros around, remove popt-related symbols, add goption
23776         stuff.
23777
23778         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23779         
23780         * docs/gst/Makefile.am:
23781         * docs/libs/Makefile.am: No POPT_CFLAGS.
23782         
23783         * examples/manual/Makefile.am:
23784         * docs/manual/basics-init.xml: Doc updates with an example.
23785         
23786         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23787         (gst_init), (parse_one_option), (parse_goption_arg):
23788         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23789         bit of hand merging and debugging to get the GOption stuff working
23790         tho.
23791         
23792         * tests/Makefile.am:
23793         * tools/Makefile.am:
23794         * tools/gst-inspect.c: (main):
23795         * tools/gst-launch.c: (main):
23796         * tools/gst-run.c: (main):
23797         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23798
23799 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23800
23801         * gst/gstiterator.c: (gst_iterator_new):
23802           Add assertions to make sure passed GType is likely to really
23803           be a GType (as the compiler won't catch it if the size and
23804           GType arguments get mixed up, see #318447).
23805
23806 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23807
23808         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23809
23810         * gst/gstbin.c: (gst_bin_iterate_sorted):
23811           Pass GType and size arguments to gst_iterator_new() in the right
23812           order (maybe we should make _new() take the GType as first argument
23813           just like _new_list()?) (#318447).
23814           
23815
23816 2005-10-10  Wim Taymans  <wim@fluendo.com>
23817
23818         * gst/gstelement.c: (gst_element_finalize):
23819         And free the GStaticRecMutex too
23820
23821 2005-10-10  Andy Wingo  <wingo@pobox.com>
23822
23823         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23824         Allocate and free the mutex properly.
23825
23826         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23827         New macros.
23828         (GstElement): The state_lock is now recursive. Rebuild your
23829         plugins, suckers. Old macros adapted.
23830
23831         * docs/gst/gstreamer-sections.txt: Doc updates.
23832
23833         * gst/gstutils.h:
23834         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23835         (g_static_rec_cond_wait): Ported from state changes patch, while
23836         we wait on bug #317802 to be solved in a well-distributed GLib.
23837
23838         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23839         gst_element_change_state, variable name changes.
23840         (gst_element_change_state): Split out of gst_element_set_state in
23841         preparation for the state change merge. Doesn't pay attention to
23842         the 'transition' argument.
23843         (gst_element_set_state): Updates, hopefully purely cosmetic.
23844         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23845         state change patch.
23846         (gst_element_get_state_func): Renamed from get_state, cosmetic
23847         changes.
23848
23849 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23850
23851         * gst/elements/gstelements.c:
23852         * win32/GStreamer.vcproj:
23853         * win32/config.h:
23854         * win32/dirent.c: (_tseekdir):
23855         * win32/gst-inspect.vcproj:
23856         * win32/gst-launch.vcproj:
23857         * win32/gstconfig.h:
23858         * win32/gstelements.vcproj:
23859         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23860         * win32/gstreamer.def:
23861         * win32/msvc71.sln:
23862           updates for the win32 build (patch from Sebastien Moutte)
23863
23864 2005-10-10  Andy Wingo  <wingo@pobox.com>
23865
23866         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23867         gst_bin_get_state, cleaned up (but no logic changes).
23868         (bin_element_is_sink): Comment updates.
23869         (sink_iterator_filter): Remove needless cast.
23870         (gst_bin_iterate_sinks): Doc update.
23871         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23872         cleaned up (but no logic changes).
23873
23874         * check/states/sinks.c (test_src_sink): Cleanups from the state
23875         change patch.
23876         (test_livesrc_sink): Sync on the state.
23877
23878         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23879         the state change patch.
23880
23881         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23882         change patch.
23883
23884         * check/gst/gstbin.c: Merge in some style fixes and additional
23885         checks from Wim's state change patch.
23886
23887 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23888
23889         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23890         (gst_type_find_helper):
23891           Check whether we have the requested data already in our list of
23892           cached buffers before pulling a new buffer; also make the buffer
23893           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23894
23895 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23896
23897         * gst/gstcaps.c:
23898         * gst/gstevent.c:
23899           doc updates
23900         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23901           don't use long long, it's not portable.  Replacing with
23902           gint64 seems to work; let's hope no skeletons fall out of the closet.
23903
23904 2005-10-10  Andy Wingo  <wingo@pobox.com>
23905
23906         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23907
23908 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23909
23910         * docs/gst/gstreamer-sections.txt:
23911         * gst/gstevent.c:
23912         * gst/gstevent.h:
23913         * gst/gstinfo.c:
23914         * gst/gstinfo.h:
23915         * gst/gstmessage.c: (gst_message_parse_state_changed):
23916         * gst/gstpad.c:
23917         * gst/gstpad.h:
23918           more docs, fix compilation
23919
23920 2005-10-09  Philippe Khalaf <burger@speedy.org>
23921         * gst/gstmessage.c:
23922           Fixed a few forgotten variables on previous commit
23923
23924 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23925
23926         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23927           Fix evil typefind crasher: getrange() might return a short
23928           buffer at the end of a file, but gst_type_find_peek() must
23929           either return the full data as requested or NULL, but
23930           never a short buffer.
23931
23932 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23933
23934         * gst/gstmessage.c: (gst_message_new_state_changed),
23935         (gst_message_parse_state_changed):
23936         * gst/gstmessage.h:
23937           don't use "new", it's a C++ keyword
23938
23939 2005-10-08  Wim Taymans  <wim@fluendo.com>
23940
23941         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23942         * gst/gstelement.c: (gst_element_post_message):
23943         * gst/gstpipeline.c: (gst_pipeline_change_state):
23944         Small docs and debug updates.
23945
23946 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23947
23948         * docs/gst/gstreamer-sections.txt:
23949         * gst/gstelementfactory.c:
23950         * gst/gstevent.c:
23951         * gst/gsttaglist.c:
23952           more docs
23953
23954 2005-10-08  Wim Taymans  <wim@fluendo.com>
23955
23956         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23957         (gst_bin_dispose), (bin_bus_handler):
23958         Fix typos, add comments.
23959         Clear EOS list when going to PAUSED from any direction and do it
23960         in a threadsafe way.
23961         Get base time in a threadsafe way too.
23962         Fix confusing debug in the change_state function.
23963         Various other small cleanups.
23964         
23965         * gst/gstelement.c: (gst_element_post_message):
23966         Fix very verbose bus posting code.
23967
23968         * gst/gstpipeline.c: (gst_pipeline_class_init),
23969         (gst_pipeline_set_property), (gst_pipeline_get_property),
23970         (gst_pipeline_change_state):
23971         Small ARG_ -> PROP_ cleanup
23972
23973 2005-10-08  Wim Taymans  <wim@fluendo.com>
23974
23975         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23976         Do a less CPU demanding EOS check because we can.
23977
23978 2005-10-08  Wim Taymans  <wim@fluendo.com>
23979
23980         * libs/gst/dataprotocol/dataprotocol.c:
23981         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23982         (gst_dp_packet_from_event):
23983         * libs/gst/dataprotocol/dataprotocol.h:
23984         * libs/gst/dataprotocol/dp-private.h:
23985         It's about time we bump the version number.
23986         Since event types don't fit in the guint8 anymore describing
23987         the payload type, make payload type 16 bits wide.
23988
23989 2005-10-08  Wim Taymans  <wim@fluendo.com>
23990
23991         * docs/design/part-TODO.txt:
23992         * docs/design/part-clocks.txt:
23993         * docs/design/part-events.txt:
23994         * docs/design/part-gstbin.txt:
23995         * docs/design/part-gstelement.txt:
23996         * docs/design/part-gstpipeline.txt:
23997         * docs/design/part-live-source.txt:
23998         * docs/design/part-messages.txt:
23999         * docs/design/part-overview.txt:
24000         * docs/design/part-states.txt:
24001         Many doc updates.
24002
24003 2005-10-08  Wim Taymans  <wim@fluendo.com>
24004
24005         * gst/gstevent.c:
24006         * gst/gstevent.h:
24007         Fix event quark registration.
24008         Add some space between events so we can insert them in the
24009         right groups.
24010
24011 2005-10-08  Wim Taymans  <wim@fluendo.com>
24012
24013         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24014         (gst_base_sink_handle_buffer):
24015         Better log message.
24016
24017         * gst/gstbus.h:
24018         * gst/gstelement.h:
24019         More docs.
24020
24021         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24022         (gst_queue_set_property), (gst_queue_get_property):
24023         * gst/gstqueue.h:
24024         Remove old unused properties.
24025
24026 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
24027         * docs/gst/gstreamer-sections.txt:
24028         * gst/gstmessage.c:
24029         * gst/gstmessage.h:
24030         * gst/gstminiobject.c:
24031         * gst/gstminiobject.h:
24032         * gst/gstobject.h:
24033         * gst/gstpad.h:
24034         * gst/gstutils.h:
24035           lots of new docs and doc fixes
24036
24037 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24038
24039         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
24040         * gst/gstplugin.h:
24041         * gst/gstregistry.c: (gst_registry_lookup_locked),
24042         (gst_registry_scan_path_level):
24043         * gst/gstregistryxml.c: (load_plugin):
24044           Only ever load one plugin for a given plugin basename.
24045           This ensures correct overriding of GST_PLUGIN_PATH over
24046           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
24047           system installed plugins.
24048
24049 2005-10-08  Wim Taymans  <wim@fluendo.com>
24050
24051         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24052         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
24053         Prepare for doing QOS.
24054
24055 2005-10-08  Wim Taymans  <wim@fluendo.com>
24056
24057         * check/gst/gstbin.c: (GST_START_TEST):
24058         * check/pipelines/cleanup.c: (GST_START_TEST):
24059         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24060         Allow new clock message too.
24061
24062 2005-10-08  Wim Taymans  <wim@fluendo.com>
24063
24064         * gst/gstmessage.c: (gst_message_new_error),
24065         (gst_message_new_warning), (gst_message_new_tag),
24066         (gst_message_new_state_changed), (gst_message_new_clock_provide),
24067         (gst_message_new_clock_lost), (gst_message_new_new_clock),
24068         (gst_message_new_segment_start), (gst_message_new_segment_done),
24069         (gst_message_parse_state_changed),
24070         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
24071         (gst_message_parse_new_clock):
24072         * gst/gstmessage.h:
24073         Also carry the clock in question.
24074
24075 2005-10-08  Wim Taymans  <wim@fluendo.com>
24076
24077         * gst/gstmessage.c: (gst_message_new_custom),
24078         (gst_message_new_eos), (gst_message_new_error),
24079         (gst_message_new_warning), (gst_message_new_tag),
24080         (gst_message_new_state_changed), (gst_message_new_clock_provide),
24081         (gst_message_new_new_clock), (gst_message_new_segment_start),
24082         (gst_message_new_segment_done), (gst_message_parse_state_changed),
24083         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
24084         * gst/gstmessage.h:
24085         Clean up.
24086         Added clock related messages.
24087
24088         * gst/gstpipeline.c: (gst_pipeline_change_state):
24089         Post message when the clock changed.
24090
24091         * tools/gst-launch.c: (event_loop):
24092         Print new clock.
24093
24094 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
24095
24096         * tools/gst-inspect.c: (print_element_properties_info):
24097           Can't pass NULL strings to g_print() on windows.
24098
24099 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24100
24101         * docs/Makefile.am:
24102         * docs/gst/Makefile.am:
24103         * docs/gst/gstreamer-docs.sgml:
24104         * docs/gst/running.xml:
24105         * docs/version.entities.in:
24106           add a chapter on running GStreamer.
24107           document GST_DEBUG and GST_PLUGIN* env vars
24108
24109 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24110
24111         * Makefile.am:
24112           remove include dir
24113         * configure.ac:
24114           remove PLUGINS_BUILDDIR stuff
24115         * gst/gst.c: (init_post):
24116           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
24117         * idiottest.mak:
24118           remove, it was condescending and not needed
24119
24120 2005-10-08  Wim Taymans  <wim@fluendo.com>
24121
24122         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
24123         (gst_base_sink_handle_object), (gst_base_sink_event),
24124         (gst_base_sink_wait), (gst_base_sink_handle_event),
24125         (gst_base_sink_change_state):
24126         * gst/base/gstbasesink.h:
24127         Repost EOS message while going to PLAYING if still EOS.
24128         Make sure that when receiving a FLUSH_START we don't attempt
24129         to sync on the clock anymore.
24130
24131 2005-10-08  Wim Taymans  <wim@fluendo.com>
24132
24133         * tools/gst-launch.c: (event_loop):
24134         Better message printout.
24135
24136 2005-10-08  Wim Taymans  <wim@fluendo.com>
24137
24138         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
24139         (gst_bin_child_proxy_get_children_count):
24140         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24141         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
24142         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
24143         (gst_child_proxy_set_valist):
24144         * gst/parse/grammar.y:
24145         Make ChildProxy threadsafe and fix mem leaks.
24146
24147 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24148
24149         * gst/gst.c: (init_post):
24150           debug the GST_PLUGIN_ env vars
24151
24152 2005-10-08  Wim Taymans  <wim@fluendo.com>
24153
24154         * check/gst/gstbin.c: (GST_START_TEST):
24155         * check/gst/gstmessage.c: (GST_START_TEST):
24156         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
24157         * gst/gstelement.c: (gst_element_commit_state),
24158         (gst_element_lost_state):
24159         * gst/gstmessage.c: (gst_message_new_state_changed),
24160         (gst_message_parse_state_changed):
24161         * gst/gstmessage.h:
24162         * tools/gst-launch.c: (event_loop):
24163         Added extra field to STATE_CHANGE message with the pending
24164         state, which will be different from the new state soon.
24165
24166 2005-10-08  Wim Taymans  <wim@fluendo.com>
24167
24168         * gst/gstbus.c: (gst_bus_pop):
24169         * gst/gstclock.c:
24170         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
24171         Small cleanups and doc updates.
24172
24173 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24174
24175         * gst/gst.c: (init_pre):
24176         * gst/gstbin.c: (gst_bin_add_func):
24177           log distributing clocks and base time
24178         * gst/gstregistry.c: (gst_registry_add_plugin),
24179         (gst_registry_scan_path_level), (gst_registry_scan_path):
24180           clean up the debugging output a little
24181         * gst/gstutils.c: (gst_element_state_get_name):
24182           warn about a memleak (I've actually seen this be used, though
24183           it was probably a bug)
24184
24185 2005-10-07  Wim Taymans  <wim@fluendo.com>
24186
24187         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24188         (gst_base_src_init), (gst_base_src_default_newsegment),
24189         (gst_base_src_newsegment), (gst_base_src_do_seek),
24190         (gst_base_src_loop), (gst_base_src_start):
24191         * gst/base/gstbasesrc.h:
24192         Make the newsegment event customizable by subclasses.
24193
24194 2005-10-07  Wim Taymans  <wim@fluendo.com>
24195
24196         * gst/gstevent.c: (gst_event_new_buffersize),
24197         (gst_event_parse_buffersize):
24198         * gst/gstevent.h:
24199         New event for future idea.
24200
24201 2005-10-07  Andy Wingo  <wingo@pobox.com>
24202
24203         * gst/gstelement.c (gst_element_post_message): Doc update.
24204
24205         * docs/gst/gstreamer-sections.txt: Update.
24206
24207         * gst/gstmessage.c (gst_message_new_application): Made into a
24208         function like honest API calls.
24209         (gst_message_new_element): New message type.
24210
24211         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24212
24213         * check/elements/fakesrc.c (test_no_preroll): New check, checks
24214         that setting a live fakesrc to PAUSED returns NO_PREROLL both
24215         times.
24216
24217         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24218         NO_PREROLL from gst_element_change_state to fall through.
24219
24220 2005-10-07  Wim Taymans  <wim@fluendo.com>
24221
24222         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24223         (gst_ghost_pad_do_activate_push):
24224         Activating a ghostpad with no internal pad in push mode
24225         is ok.
24226
24227 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24228
24229         * gst/gstobject.h:
24230           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24231           Fixes compilation on Windows.
24232
24233 2005-10-07  Michael Smith <msmith@fluendo.com>
24234
24235         * tools/gst-inspect.c:
24236           Print out feature and plugin count at the end when printing out
24237           all features.
24238
24239 2005-10-04  Michael Smith <msmith@fluendo.com>
24240
24241         * gst/gsterror.c: (_gst_stream_errors_init):
24242           Add another error string used in a few existing plugins.
24243
24244         * gst/gstplugin.c:
24245         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24246         * tools/gst-inspect.c: (print_element_info):
24247           When a feature disappears from a plugin (and the feature exists in
24248           the cached registry file), things went horribly wrong. This isn't a
24249           complete fix, we should actually be removing the 'missing' features
24250           from the features list when we load the actual plugin. That's not
24251           yet implemented. 
24252
24253 2005-10-04  Johan Dahlin  <johan@gnome.org>
24254
24255         * check/gst/gstiterator.c: (GST_START_TEST):
24256         * gst/gstbin.c: (gst_bin_iterate_elements),
24257         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24258         * gst/gstelement.c: (gst_element_iterate_pads):
24259         * gst/gstformat.c: (gst_format_iterate_definitions):
24260         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24261         (gst_iterator_new_list), (gst_iterator_filter):
24262         * gst/gstiterator.h:
24263         * gst/gstquery.c: (gst_query_type_iterate_definitions):
24264         Add a GType to GstIterator, update callsites and tests.
24265
24266 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24267
24268         * gst/gstpad.c: (gst_pad_event_default_dispatch):
24269           give events a chance to be handled by event probes when the pad
24270           is not linked
24271
24272 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24273
24274         * gst/gstevent.c: (gst_event_type_get_name),
24275         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24276         * gst/gstevent.h:
24277           add string representations for event types
24278
24279 2005-10-06  Wim Taymans  <wim@fluendo.com>
24280
24281         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24282         Don't use NULL pointers.
24283
24284 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24285
24286         * gst/gst_private.h:
24287         * gst/gstbus.c:
24288         * gst/gstelement.c:
24289         * gst/gstinfo.c:
24290         * gst/gstpluginfeature.c:
24291           widen the debug category in output to fit the biggest one we have
24292           add a bus category and use it
24293           play with the colors
24294           fix up some categories
24295
24296 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24297
24298         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24299           add push activation of sink ghost pads.
24300           Andye, please verify
24301
24302 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24303
24304         * gst/gstutils.c: (gst_element_link_pads):
24305           fix a bug in the case where neither element has a pad
24306         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24307           add a test for that case
24308
24309 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24310
24311         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24312           emit have-data before checking for peers.  This allows
24313           for probe handlers to connect elements.  This helps autopluggers.
24314         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24315         (gst_pad_suite):
24316           add six checks, linked/unlinked with no/true/false probe
24317
24318 2005-10-04  Wim Taymans  <wim@fluendo.com>
24319
24320         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24321         (gst_fake_sink_event), (gst_fake_sink_preroll),
24322         (gst_fake_sink_render), (gst_fake_sink_change_state):
24323         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24324         (gst_fake_src_get_property), (gst_fake_src_create),
24325         (gst_fake_src_stop):
24326         * gst/elements/gstidentity.c: (gst_identity_stop):
24327         Protect last_message with lock.
24328
24329 2005-10-04  Edward Hervey  <edward@fluendo.com>
24330
24331         * gst/gstformat.h: 
24332         Added precision in the comments for GST_FORMAT_DEFAULT
24333
24334 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
24335
24336         * tools/gst-launch.c: (main):
24337           Don't try to run erroneous pipelines.
24338
24339 2005-10-04  Julien MOUTTE  <julien@moutte.net>
24340
24341         * gst/gstbus.c: We don't need this header.
24342
24343 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24344
24345         * configure.ac:
24346           back to development
24347
24348 === release 0.9.3 ===
24349
24350 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24351
24352         * README:
24353         * configure.ac:
24354           Releasing 0.9.3, "Unregistered"
24355
24356 2005-10-03  Andy Wingo  <wingo@pobox.com>
24357
24358         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24359         whereby calling a pad's activatepush() function can start a thread
24360         that starts to push or pull before the pad gets the FLUSHING flag
24361         unset. Hack around it by holding the stream lock until the flag is
24362         set. Need to replace this with a proper solution. Together with
24363         the ghost pad fixes, this fixes mp3 playing/tagreading.
24364
24365         * docs/design/part-gstghostpad.txt: Add a note about activation of
24366         proxy pads outside of ghost pads.
24367
24368         * gst/gstghostpad.c: Implement the ghost pad activation design.
24369
24370 2005-10-02  Andy Wingo  <wingo@pobox.com>
24371
24372         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24373         It is volatile, after all.
24374
24375         * docs/design/part-gstghostpad.txt: Flesh out activation with
24376         ghost pads.
24377
24378         * gst/base/gstbasesrc.c (gst_base_src_init): Use
24379         GST_DEBUG_FUNCPTR.
24380
24381 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
24382
24383         * configure.ac:
24384           Fix (unused) AM_CONDITIONAL tests.
24385
24386 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
24387
24388         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24389
24390         * gst/gstutils.c: (gst_pad_query_convert):
24391           Add assertion that makes sure src_val is >=0, just like
24392           gst_query_new_convert() has. (#315895)
24393
24394 2005-09-30  Edward Hervey  <edward@fluendo.com>
24395
24396         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24397         Let's not iterate pads we're not interested in, it avoids getting 
24398         sky-high refcounts on sinkpad.
24399
24400 2005-09-30  Wim Taymans  <wim@fluendo.com>
24401
24402         * gst/gstelement.c: (gst_element_set_state),
24403         (gst_element_change_state):
24404         Small tweak, element in ASYNC remains ASYNC.
24405
24406 2005-09-30  Wim Taymans  <wim@fluendo.com>
24407
24408         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24409         Only error is an error.
24410
24411         * gst/gstbin.c: (gst_bin_change_state):
24412         Better debugging.
24413
24414         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24415         Also call pad_block in pad alloc.
24416
24417         * gst/gstutils.c: (gst_flow_get_name):
24418         Better debugging.
24419
24420 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24421
24422         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24423         (gst_base_src_get_range):
24424           Fix documentation typos. Add some more debug info.
24425
24426 2005-09-29  David Schleef  <ds@schleef.org>
24427
24428         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24429           more end-user friendly.
24430         * tools/gst-inspect.c: (main): Check if command-line argument is
24431           a file and attempt to load that file as a plugin.
24432
24433 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24434
24435         * check/gst/gstbin.c:
24436         * check/states/sinks.c:
24437           fix tests for the new warning
24438         * check/gst/gstpipeline.c:
24439           add a test for pipeline and bus interaction
24440         * gst/gstelement.c:
24441           elements should be NULL if they get disposed; add a warning if not
24442
24443 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24444
24445         * gst/gstobject.c:
24446           for 2.6 refcounting, make debug log more correct by printing
24447           the actual refcounts at the time of swap (Wim)
24448
24449 2005-09-29  Andy Wingo  <wingo@pobox.com>
24450
24451         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24452         removes signal watches previously added via
24453         gst_bus_add_signal_watch.
24454         (gst_bus_add_signal_watch): Don't return the source id, just store
24455         it on the bus if there wasn't an id already.
24456
24457         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24458         add_signal_watch and remove_signal_watch.
24459
24460 2005-09-29  Edward Hervey  <edward@fluendo.com>
24461
24462         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24463         Better if we actually iterate the list :)
24464
24465 2005-09-29  Wim Taymans  <wim@fluendo.com>
24466
24467         * check/gst/gstbin.c: (GST_START_TEST):
24468         Change for new bus API.
24469
24470         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24471         (send_messages), (GST_START_TEST), (gstbus_suite):
24472         Change for new bus signal API.
24473
24474         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24475         (gst_bus_source_prepare), (gst_bus_source_check),
24476         (gst_bus_create_watch), (gst_bus_add_watch_full),
24477         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24478         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24479         * gst/gstbus.h:
24480         Remove support for multiple GSources operating on different
24481         message types as it is too complex and unneeded when using
24482         signals.
24483         Added support for receiving signals from the bus.
24484
24485 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24486
24487         * docs/libs/tmpl/gstdataprotocol.sgml:
24488         * docs/manual/advanced-dataaccess.xml:
24489         * gst/elements/gstcapsfilter.c:
24490         * gst/gstutils.c:
24491           rename filter-caps to caps property
24492
24493 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24494
24495         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24496           More robust fraction string parsing.
24497
24498         * docs/pwg/appendix-porting.xml:
24499           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24500
24501 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24502
24503         * gst/gstcaps.c: (gst_caps_do_simplify):
24504           Thou shalt not free a structure and then continue using it
24505           in the next loop iteration.
24506
24507         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24508         (gst_caps_suite):
24509           Add test case for caps simplification.
24510
24511 2005-09-29  Wim Taymans  <wim@fluendo.com>
24512
24513         * check/gst/gstbin.c: (GST_START_TEST):
24514         Oops.
24515
24516 2005-09-29  Wim Taymans  <wim@fluendo.com>
24517
24518         * check/gst/gstbin.c: (GST_START_TEST):
24519         Add bus to bin.
24520
24521         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24522         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24523         (find_element), (gst_bin_sort_iterator_next),
24524         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24525         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24526         (gst_bin_change_state), (gst_bin_dispose):
24527         A bin does not have a bus, it gets the bus from the parent.
24528
24529         * gst/gstelement.c: (gst_element_requires_clock),
24530         (gst_element_provides_clock), (gst_element_is_indexable),
24531         (gst_element_is_locked_state), (gst_element_change_state),
24532         (gst_element_set_bus_func):
24533         Small cleanups.
24534
24535         * gst/gstpipeline.c: (gst_pipeline_class_init),
24536         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24537         The pipeline provides a bus.
24538
24539 2005-09-28  Johan Dahlin  <johan@gnome.org>
24540
24541         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24542         gst_structure_get_enum instead of gst_structure_get_int
24543
24544         * gst/gststructure.c (gst_structure_get_enum): Impl.
24545
24546         * gst/gststructure.h (gst_structure_get_enum): Add
24547
24548         * docs/gst/gstreamer-sections.txt: Ditto
24549
24550         * gst/gstmessage.c (gst_message_new_state_changed): Use
24551         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24552         which does introspection.
24553         Reviewed by Christian Schaller
24554
24555 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24556
24557         * gst/gstinfo.c: (gst_debug_log_default):
24558           don't do dummy g_strdup()s
24559         * libs/gst/controller/gstcontroller.c:
24560         (on_object_controlled_property_changed),
24561         (gst_controlled_property_new), (gst_controller_new_valist),
24562         (gst_controller_new_list),
24563         (gst_controller_remove_properties_valist), (gst_controller_set),
24564         (gst_controller_get), (gst_controller_sync_values),
24565         (gst_controller_get_value_array), (_gst_controller_class_init),
24566         (gst_controller_get_type):
24567         * libs/gst/controller/gstcontroller.h:
24568         * libs/gst/controller/gstinterpolation.c:
24569         (gst_controlled_property_find_timed_value_node):
24570           convert // to /**/ comments
24571
24572 2005-09-28  Wim Taymans  <wim@fluendo.com>
24573
24574         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24575         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24576         (gst_bus_sync_signal_handler):
24577         * gst/gstbus.h:
24578         Added async-message and sync-message signals to the bus.
24579         Added helper BusFunc to emit signals for all posted messages.
24580
24581         * gst/gstmessage.c: (gst_message_type_get_name),
24582         (gst_message_type_to_quark), (gst_message_get_type):
24583         * gst/gstmessage.h:
24584         Register quarks for message names.
24585
24586 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24587
24588         * docs/libs/gstreamer-libs-sections.txt:
24589         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24590         (gst_controller_new_list):
24591         * libs/gst/controller/gstcontroller.h:
24592           added another constructor for language bindings
24593
24594 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24595
24596         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24597           add another check
24598         * gst/gstbus.c:
24599           add some doc
24600         * gst/gstinfo.c: (_gst_debug_init):
24601           slightly more readable color for refcount debugging
24602
24603 2005-09-28  Wim Taymans  <wim@fluendo.com>
24604
24605         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24606         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24607         (find_element), (gst_bin_sort_iterator_next),
24608         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24609         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24610         (gst_bin_change_state), (gst_bin_dispose):
24611         Small doc fixes. get_clock -> provide_clock.
24612
24613         * gst/gstelement.c: (gst_element_class_init),
24614         (gst_element_provides_clock), (gst_element_provide_clock),
24615         (gst_element_get_clock), (gst_element_commit_state),
24616         (gst_element_lost_state):
24617         * gst/gstelement.h:
24618         Make get/set_clock() symetric. Add provide_clock vmethod since
24619         that is actually what this function does.
24620
24621         * gst/gstpipeline.c: (gst_pipeline_class_init),
24622         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24623         (gst_pipeline_get_clock):
24624         get_clock -> provide_clock.
24625
24626 2005-09-28  Andy Wingo  <wingo@pobox.com>
24627
24628         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24629         lieu of real docs...
24630
24631         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24632
24633 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24634
24635         * gst/elements/gstcapsfilter.c:
24636         * gst/elements/gstfakesink.c:
24637         * gst/elements/gstfakesrc.c:
24638         * gst/elements/gstfdsink.c:
24639         * gst/elements/gstfdsrc.c:
24640         * gst/elements/gstfilesink.c:
24641         * gst/elements/gstfilesrc.c:
24642         * gst/elements/gstidentity.c:
24643         * gst/elements/gsttee.c:
24644         * gst/elements/gsttypefindelement.c:
24645           Make element details static.
24646
24647 2005-09-28  Wim Taymans  <wim@fluendo.com>
24648
24649         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24650         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24651         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24652         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24653         (gst_bin_change_state), (gst_bin_dispose):
24654         Some documentation updates.
24655         Clean up dispose handlers.
24656
24657         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24658         * gst/gstpad.c: (gst_pad_dispose):
24659         Clean up dispose handler.
24660
24661         * gst/gstpipeline.c: (gst_pipeline_change_state):
24662         Removed spurious UNLOCK.
24663
24664 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24665
24666         * docs/gst/gstreamer-sections.txt:
24667         * gst/base/gstbasesrc.h:
24668         * gst/gstelement.h:
24669         * gst/gstevent.h:
24670         * gst/gstobject.h:
24671         * gst/gstpad.h:
24672         * gst/gstpipeline.c:
24673         * gst/gstpipeline.h:
24674         * gst/gstutils.h:
24675         * gst/gstxml.h:
24676           added two new functions to the docs
24677                 documents all undocumented GstXXXFlags
24678                 completed some incomplete docs 
24679
24680 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24681
24682         * gst/gstbin.c: (gst_bin_dispose):
24683         * gst/gstelement.c: (gst_element_dispose):
24684           remove now useless and leaky resurrection code in dispose
24685         * gst/base/gstbasesrc.c: (gst_base_src_init):
24686         * gst/gstelementfactory.c: (gst_element_factory_create):
24687         * gst/gstobject.c: (gst_object_set_parent):
24688           add some debugging
24689
24690 2005-09-27  Wim Taymans  <wim@fluendo.com>
24691
24692         * docs/design/part-TODO.txt:
24693         Update TODO.
24694
24695         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24696         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24697         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24698         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24699         (gst_bin_change_state):
24700         * gst/gstelement.h:
24701         Remove element variable, we keep element info in the iterator now.
24702
24703 2005-09-27  Andy Wingo  <wingo@pobox.com>
24704
24705         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24706         values.
24707
24708 2005-09-27  Wim Taymans  <wim@fluendo.com>
24709
24710         * check/gst/gstbin.c: (GST_START_TEST):
24711         Enable check that works now.
24712
24713         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24714         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24715         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24716         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24717         (gst_bin_change_state):
24718         * gst/gstbin.h:
24719         Redid the state change algorithm using a topological sort algo.
24720         Handles all cases correctly.
24721         Exposed iterator for state change order.
24722
24723         * gst/gstelement.h:
24724         Temp storage for state changes. Need to get rid of this soon.
24725
24726 2005-09-27  Wim Taymans  <wim@fluendo.com>
24727
24728         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24729         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24730         (link_fold_func), (gst_pad_proxy_setcaps):
24731         Leak fixes, the fold functions need to unref the passed object and
24732         _get_parent_*() returns ref to parent.
24733
24734 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24735
24736         * check/gst/gstbuffer.c: (test_make_writable):
24737           Plug leak in test case and fix 'make check-valgrind'
24738
24739 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24740
24741         * gst/gstbuffer.c: (gst_subbuffer_init):
24742           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24743           works correctly in all circumstances (we could have just copied
24744           the parent buffer's readonly flag, but conceptually it seems
24745           cleaner to mark all subbuffers as read-only). (based on patch
24746           by Alessandro Decina, #314710).
24747         
24748         * check/gst/gstbuffer.c: (create_read_only_buffer),
24749         (test_make_writable), (test_subbuffer_make_writable),
24750         (gst_test_suite):
24751           Add some tests for gst_buffer_make_writable().
24752
24753 2005-09-27  Wim Taymans  <wim@fluendo.com>
24754
24755         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24756         use gst_object_has_ancestor().
24757
24758         * gst/gstobject.c: (gst_object_has_ancestor):
24759         * gst/gstobject.h:
24760         gst_object_has_ancestor() copied from gstbin.c as it is a
24761         useful function.
24762
24763         * tests/instantiate/create.c: (create_all_elements):
24764         * tests/lat.c: (handoff_src), (handoff_sink):
24765         * tests/sched/runxml.c: (main):
24766         * tests/seeking/seeking1.c: (main):
24767         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24768         (main):
24769         Fix compilation of some tests.
24770
24771 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24772
24773         * gst/gsterror.h:
24774           Remove comment. GST_TYPE_G_ERROR is here to stay,
24775           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24776           (#316961, #300610).
24777
24778 2005-09-26  Wim Taymans  <wim@fluendo.com>
24779
24780         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24781         Added check that shows error in state change order.
24782
24783 2005-09-26  Wim Taymans  <wim@fluendo.com>
24784
24785         * gst/gstbin.c: (gst_bin_change_state):
24786         Make state change function use 3 queues again, we were
24787         adding elements in the wrong order.
24788
24789         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24790         Some debug info,
24791
24792         * gst/gstpad.c: (gst_pad_dispose):
24793         Added some debug info first.
24794
24795 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24796
24797         * docs/design/draft-push-pull.txt:
24798         * docs/design/part-events.txt:
24799         * docs/design/part-overview.txt:
24800         * docs/design/part-scheduling.txt:
24801           Replace all _pull_region() with _pull_range()
24802           
24803 2005-09-26  Andy Wingo  <wingo@pobox.com>
24804
24805         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24806
24807         * check/gst-libs/controller.c: Update for controller api change.
24808
24809         * configure.ac: 
24810         * tests/Makefile.am:
24811         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24812         over by GLib bug 118439.
24813         
24814         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24815         routines to a function.
24816
24817         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24818
24819         * libs/gst/controller/gsthelper.c:
24820         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24821         (gst_object_sync_values): Renamed from sink_values. Ugh.
24822
24823         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24824
24825         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24826         Renamed from controller_key, as it is exported.
24827
24828         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24829
24830 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24831
24832         * gst/Makefile.am:
24833         * gst/gst.h:
24834         * gst/gstpad.h:
24835         * gst/gstpadtemplate.h:
24836         * gst/gstquery.c:
24837         * gst/gstquery.h:
24838         * gst/gstqueryutils.c:
24839         * gst/gstqueryutils.h:
24840           remove queryutils headers after moving the two used functions
24841           to gstquery.  also fixes build problem for gstsiddec
24842
24843 2005-09-26  Michael Smith <msmith@fluendo.com>
24844
24845         * tools/gst-launch.1.in:
24846         Correct documentation in manpage of debug syntax
24847
24848 2005-09-26  Wim Taymans  <wim@fluendo.com>
24849
24850         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24851         (gst_base_src_is_seekable), (gst_base_src_change_state):
24852         Some more debugging info.
24853
24854 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24855
24856         * docs/gst/gstreamer-sections.txt:
24857         * gst/base/gstbasetransform.h:
24858         * gst/gstindex.h:
24859           added more docs
24860
24861 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24862
24863         * docs/gst/.cvsignore:
24864         * docs/gst/tmpl/.cvsignore:
24865         * docs/gst/tmpl/gstpipeline.sgml:
24866         * docs/gst/tmpl/gstplugin.sgml:
24867         * gst/gstpipeline.c:
24868         * gst/gstplugin.c:
24869         * gst/gstplugin.h:
24870           inlined the last two docs files
24871           removed the tmpl directory from cvs (no more conflicts here!)
24872
24873 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24874
24875         * docs/gst/gstreamer-sections.txt:
24876         * docs/gst/tmpl/.cvsignore:
24877         * docs/gst/tmpl/gstpad.sgml:
24878         * docs/gst/tmpl/gstpadtemplate.sgml:
24879         * gst/Makefile.am:
24880         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24881         (gst_pad_finalize), (gst_pad_set_pad_template):
24882         * gst/gstpad.h:
24883         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24884         (gst_pad_template_class_init), (gst_pad_template_init),
24885         (gst_pad_template_dispose), (name_is_valid),
24886         (gst_static_pad_template_get), (gst_pad_template_new),
24887         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24888         (gst_pad_template_pad_created):
24889         * gst/gstpadtemplate.h:
24890           inlined two more docs
24891           factored gstpadtemplate out of gstpad
24892
24893 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24894
24895         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24896         (test_children_state_change_order_semi_sink):
24897           Fix test case: we can't rely on a fixed state change order when
24898           going from READY => PAUSED because the sink might commit its 
24899           new state first when the first buffer created by the source 
24900           reaches the sink before the source has finished its change state.
24901           (Test case still fails at times, see #316856, comment 5 onwards)
24902
24903 2005-09-24  Wim Taymans  <wim@fluendo.com>
24904
24905         * docs/design/part-events.txt:
24906         * docs/design/part-gstbus.txt:
24907         * docs/design/part-gstpipeline.txt:
24908         * docs/design/part-messages.txt:
24909         * docs/design/part-overview.txt:
24910         * docs/design/part-segments.txt:
24911         * gst/gstbin.c:
24912         * gst/gstbuffer.c:
24913         * gst/gstclock.c:
24914         * gst/gstelement.c:
24915         * gst/gstevent.c:
24916         * gst/gstfilter.c:
24917         * gst/gstiterator.c:
24918         Various documentation updates.
24919
24920 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24921
24922         * gst/gstclock.h:
24923           Well, that's embarassing.  Luckily we weren't using
24924           GST_CLOCK_DIFF anywhere.
24925
24926 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24927
24928         * common/gtk-doc.mak:
24929           don't fail on building XML, FC4 slave shows a bunch of doc
24930           missing bits that I don't get
24931         * gst/gstpad.c:
24932         * gst/gstpipeline.c:
24933         * gst/gststructure.c:
24934           some doc updates
24935
24936 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24937
24938         * docs/design/part-gstbin.txt:
24939         * docs/design/part-gstbus.txt:
24940         * gst/gstbus.c:
24941           Add blurb about how the bus goes into flushing mode and
24942           drops all messages when its bin goes from READY into NULL 
24943           state.
24944
24945 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24946
24947         * docs/gst/gstreamer-sections.txt:
24948         * gst/gststructure.c: (gst_structure_get_clock_time):
24949         * gst/gststructure.h:
24950           add a method to get a GstClockTime out of a structure
24951
24952 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24953
24954         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24955         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24956           Added test to check state change order in bins (can still be made
24957           to fail here under heavy disk load; bails out with 'Push on pad
24958           fakesink:sink0, but it was not activated in push mode').
24959
24960         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24961           Fix state change order when there is only a semi sink (#316856)
24962
24963         * gst/gstbus.c: (gst_bus_class_init):
24964           Use _class_peek_parent(), not _class_ref(); fix docs to say
24965           'default main context' instead of 'mainloop' where that is
24966           what's meant.
24967
24968         * gst/gstelement.c: (gst_element_commit_state),
24969         (gst_element_set_state):
24970           Fix typos in debug messages
24971
24972 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24973
24974         * docs/README:
24975         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24976         * gst/gstpluginfeature.c:
24977         * gst/gstutils.c:
24978           various doc updates
24979         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24980           change an assert into an error until it gets fixed properly
24981
24982 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24983
24984         * docs/gst/gstreamer-sections.txt:
24985         * docs/gst/tmpl/.cvsignore:
24986         * docs/gst/tmpl/gstelement.sgml:
24987         * docs/gst/tmpl/gstinfo.sgml:
24988         * docs/gst/tmpl/gstobject.sgml:
24989         * gst/gstelement.c:
24990         * gst/gstelement.h:
24991         * gst/gstinfo.c:
24992         * gst/gstinfo.h:
24993         * gst/gstobject.c: (gst_object_class_init):
24994         * gst/gstobject.h:
24995           inlined 3 more biiiig doc files and added some missing docs on the fly
24996
24997 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24998
24999         * check/gst/.cvsignore:
25000         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
25001         * gst/gstregistryxml.c: (load_plugin),
25002         (gst_registry_xml_save_plugin):
25003           put back source in registry.  add checks for find_plugin.
25004         * testsuite/states/bin.c: (assert_state), (empty_bin),
25005         (test_adding_one_element), (main):
25006         * testsuite/states/locked.c: (main):
25007           some compile/run fixes
25008
25009 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25010
25011         * check/gst/gstvalue.c: (GST_START_TEST):
25012           fix leaks in the test itself
25013
25014 2005-09-22  Wim Taymans  <wim@fluendo.com>
25015
25016         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25017         (gst_base_sink_send_event), (gst_base_sink_peer_query),
25018         (gst_base_sink_query):
25019         Prepare for more accurate position reporting and query
25020         handling.
25021
25022         * gst/gstelement.c: (gst_element_send_event),
25023         (gst_element_set_state):
25024         Add some comment.
25025
25026 2005-09-22  Wim Taymans  <wim@fluendo.com>
25027
25028         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
25029         (gst_query_parse_segment):
25030         * gst/gstquery.h:
25031         More documentation.
25032         Add segment query for future use.
25033
25034 2005-09-22  Wim Taymans  <wim@fluendo.com>
25035
25036         * gst/gstbin.c: (gst_bin_add_func):
25037         Some more debug info.
25038
25039         * gst/gstelement.c: (gst_element_send_event):
25040         Simplify send_event
25041
25042         * gst/gstelement.h:
25043         Don't know how flags got broken.
25044
25045         * gst/gstquery.h:
25046         Added new query.
25047
25048 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
25049
25050         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
25051           Add simplistic test suite for GST_TYPE_DATE serialisation and
25052           deserialisation.
25053
25054 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
25055
25056         * docs/gst/gstreamer-sections.txt:
25057         * gst/gststructure.c: (gst_structure_set_valist),
25058         (gst_structure_get_date):
25059         * gst/gststructure.h:
25060         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
25061         (gst_date_copy), (gst_value_compare_date),
25062         (gst_value_serialize_date), (gst_value_deserialize_date),
25063         (gst_value_transform_date_string),
25064         (gst_value_transform_string_date), (_gst_value_initialize):
25065         * gst/gstvalue.h:
25066           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
25067           bunch of utility functions along with a hack that checks that
25068           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
25069           is required. Part of the grand scheme in #170777.
25070
25071 2005-09-22  Andy Wingo  <wingo@pobox.com>
25072
25073         * gst/gstconfig.h.in: Psych out gtk-doc.
25074
25075         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
25076
25077         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
25078
25079         * tools/gst-inspect.c (print_element_list): Plug some
25080         inconsequential leaks.
25081
25082         * gst/gstregistry.c (gst_registry_get_default): Doc.
25083
25084         * check/gst/gstplugin.c: 
25085         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
25086         * gst/gstelementfactory.c (gst_element_factory_create): 
25087         * gst/gstindexfactory.c (gst_index_factory_create): Update for
25088         refcount changes.
25089
25090         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
25091         (gst_plugin_feature_load): Doc, don't eat refs.
25092
25093         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
25094         (gst_plugin_list_free): Doc.
25095         (gst_plugin_load_file): Doc updates.
25096
25097         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
25098         accessors returning refcounted objects, return a ref.
25099
25100         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
25101         accessor for caps. IDEMPOTENCE. Oh yes.
25102
25103 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
25104
25105         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
25106
25107         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25108         (_gst_debug_register_funcptr):
25109           Add mutex to serialise access to the hash table with
25110           the function pointer => function name string mapping;
25111           make that hash table static scope (#316809).
25112
25113         * gst/registries/.cvsignore:
25114           Remove left-over file.
25115
25116 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
25117
25118         * docs/pwg/appendix-porting.xml:
25119           And something about newsegment events and caps-on-buffers to
25120           the porting guide (feel free to improve).
25121
25122 2005-09-21  Andy Wingo  <wingo@pobox.com>
25123
25124         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
25125         data and event probes on the same pad.
25126         (test_buffer_probe_once): Test that removing probes from within
25127         the probe functions works.
25128
25129 2005-09-21  Andy Wingo  <wingo@pobox.com>
25130
25131         * check/gst/gstutils.c: New file.
25132         (test_buffer_probe_n_times): A simple buffer probe test. More to
25133         come, foolios.
25134
25135         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
25136         have-data::buffer, not have-data.
25137         (gst_pad_add_event_probe): Likewise for have-data::event.
25138         (gst_pad_add_data_probe): More docs. The part about 'resolving the
25139         peer' isn't quite right yet though.
25140         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
25141         (gst_pad_remove_data_probe): Change to take the guint handler_id
25142         as their arg, not the function+data, which is more glib-like.
25143
25144         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
25145         the signal emission to indicate if the data is a buffer or an
25146         event.
25147         (gst_pad_get_type): Initialize buffer and event quarks.
25148         (gst_pad_class_init): have-data is now a detailed signal, yes it
25149         is.
25150
25151 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
25152
25153         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25154         * gst/gstutils.c: (gst_util_set_value_from_string),
25155         (gst_util_set_object_arg):
25156           Don't put functional code in g_return_if_fail() or
25157           g_return_val_if_fail() statements, otherwise things will 
25158           break when G_DISABLE_CHECKS is defined during compilation.
25159
25160 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25161
25162         * docs/gst/tmpl/.cvsignore:
25163         * docs/gst/tmpl/gstvalue.sgml:
25164         * gst/gstvalue.c:
25165         * gst/gstvalue.h:
25166           inlied another one and added  some obvious docs
25167
25168 2005-09-21  Wim Taymans  <wim@fluendo.com>
25169
25170         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
25171         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
25172         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
25173         (gst_fdsrc_get_property), (gst_fdsrc_create):
25174         * gst/elements/gstfdsrc.h:
25175         Properly implement fdsrc. Removed signal and timeout,
25176         better implemented somewhere else.
25177
25178 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25179
25180         * docs/gst/tmpl/.cvsignore:
25181         * docs/gst/tmpl/gstimplementsinterface.sgml:
25182         * gst/gstinterface.c:
25183           inlined more docs
25184
25185 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25186
25187         * docs/gst/gstreamer-sections.txt:
25188         * docs/gst/tmpl/.cvsignore:
25189         * docs/gst/tmpl/gstenumtypes.sgml:
25190           remove obsolete doc file
25191
25192 2005-09-21  David Schleef  <ds@schleef.org>
25193
25194         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25195         little beer, fix a little leak.
25196
25197 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25198
25199         * docs/gst/gstreamer-docs.sgml:
25200         * docs/gst/gstreamer-sections.txt:
25201         * docs/gst/tmpl/.cvsignore:
25202         * gst/Makefile.am:
25203         * gst/gst.h:
25204         * gst/gstbin.c:
25205         * gst/gstelement.h:
25206         * gst/gstindex.c: (gst_index_class_init):
25207         * gst/gstindex.h:
25208         * gst/gstindexfactory.c: (gst_index_factory_get_type),
25209         (gst_index_factory_class_init), (gst_index_factory_init),
25210         (gst_index_factory_finalize), (gst_index_factory_new),
25211         (gst_index_factory_destroy), (gst_index_factory_find),
25212         (gst_index_factory_create), (gst_index_factory_make):
25213         * gst/gstindexfactory.h:
25214         * gst/gstpluginfeature.c:
25215         * gst/gstpluginfeature.h:
25216         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25217           more docs inlined, splitted gstindex.{c,h}
25218
25219 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25220
25221         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25222           fix a leak
25223
25224 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25225
25226         * gst/elements/gstfilesink.c: (gst_file_sink_init):
25227           Set sync to FALSE by default.
25228
25229 2005-09-20  Wim Taymans  <wim@fluendo.com>
25230
25231         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25232         (gst_base_sink_init):
25233         Make sync property settable from subclass.
25234
25235         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25236         (gst_fake_sink_change_state):
25237         Set sync to FALSE by default.
25238
25239 2005-09-20  Wim Taymans  <wim@fluendo.com>
25240
25241         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25242         * tools/gst-launch.c: (main):
25243         The timeout handler should have lower priority than the source
25244         so we don't timeout before popping a message with 0 timeout.
25245         Dump error messages after failed state change.
25246
25247 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25248
25249         * tools/gst-inspect.c: (print_element_properties_info):
25250           Fix two typos.
25251
25252 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25253
25254         * check/gst/gstevent.c:
25255         * gst/elements/gstfakesink.c:
25256         * gst/elements/gstfakesink.h:
25257           remove the sync property from fakesink.
25258           has the side effect of setting sync TRUE
25259           for fakesink, which is a change.  Anyone who knows how
25260           to fix this nicely in a GObject-y way, feel free.
25261
25262 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25263
25264         * docs/gst/gstreamer-docs.sgml:
25265           remove probe refsection
25266
25267 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25268
25269         * check/Makefile.am:
25270           disable valgrinding the controller test again
25271         * docs/gst/gstreamer-sections.txt:
25272           update for api-changes
25273
25274 2005-09-20  Wim Taymans  <wim@fluendo.com>
25275
25276         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25277         (gst_base_sink_set_property), (gst_base_sink_get_property),
25278         (gst_base_sink_do_sync):
25279         * gst/base/gstbasesink.h:
25280         Added sync property to basesink to disable clock sync.
25281
25282 2005-09-20  Andy Wingo  <wingo@pobox.com>
25283
25284         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25285         eating the caller's refcount.
25286
25287         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
25288         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25289         refcount.
25290
25291         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25292         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25293         of GLib 2.8 public, so we can know which refcount to check in
25294         tests.
25295
25296         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25297         (gst_object_init): Only set the gst refcount if we're going ahead
25298         with the refcount hack.
25299
25300 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25301
25302         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25303         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25304           more leaks plumbed, added more debug-logging
25305         * gst/gstmacros.h:
25306           whitespace fix
25307
25308 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25309
25310         * gst/gstmessage.c:
25311           remove include of gstmemchunk.h
25312
25313 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25314
25315         * gst/gstclock.c: (_gst_clock_id_free):
25316           Commit from the Political Party For More Atomic CVS Commits,
25317           so that people don't waste too much of their day fishing
25318           out obvious leaks out of massive commits.
25319           Oh, and fix a pretty damn obvious leak in the memchunk
25320           removal code.
25321
25322 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25323
25324         * check/Makefile.am:
25325         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25326           plug mem-leak, re-add to valgrindable tests
25327
25328 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25329
25330         * gst/gstplugin.h:
25331           unbreak the build for those who have chronic arthritis
25332           and typing "make check" is just too taxing on the hands
25333
25334 2005-09-20  Andy Wingo  <wingo@pobox.com>
25335
25336         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25337         really want it out, you should fix plugins at the same time.
25338
25339 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
25340
25341         * configure.ac:
25342         * docs/gst/gstreamer-sections.txt:
25343         * gst/gstobject.c:
25344           added missing symbols to api docs
25345           disable ref-count hack if we have glib >= 2.8
25346
25347 2005-09-19  David Schleef  <ds@schleef.org>
25348
25349         * docs/gst/Makefile.am: Ignore a few more internal headers
25350         * docs/gst/gstreamer-docs.sgml: Remove old sections
25351         * docs/gst/gstreamer-sections.txt: Remove old sections
25352         * docs/gst/tmpl/gstobject.sgml: update
25353         * docs/gst/tmpl/gstplugin.sgml: update
25354         * docs/gst/tmpl/gstpluginfeature.sgml: update
25355         * docs/random/ds/0.9-suggested-changes: update.
25356         * gst/Makefile.am: remove memchunk and trashstack, since they're
25357           not used.
25358         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25359         * gst/gst.h: don't include some headers
25360         * gst/gstchildproxy.c: add gstmarshal.h
25361         * gst/gstclock.c: Don't use memchunks
25362         * gst/gstminiobject.c: Add some docs
25363         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25364         * gst/gstobject.h: same
25365         * gst/gstplugin.c: include gstmacros.h
25366         * gst/gstplugin.h: don't include gstmacros.h, since it's private
25367         * gst/gstquery.c: don't use memchunks
25368         * gst/gstregistry.c: rename gst_registry_deinit()
25369         * gst/gstregistry.h: same
25370
25371 2005-09-19  David Schleef  <ds@schleef.org>
25372
25373         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25374         * docs/libs/gstreamer-libs-sections.txt:
25375         * docs/libs/tmpl/gstgetbits.sgml:
25376         * docs/libs/tmpl/gstputbits.sgml:
25377
25378 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
25379
25380         * win32/gstenumtypes.c:
25381         * win32/gstenumtypes.h:
25382           Update.
25383
25384 2005-09-19  Wim Taymans  <wim@fluendo.com>
25385
25386         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25387         Automatically PAUSE and RESUME a pipeline when a flushing seek
25388         is performed.
25389
25390 2005-09-19  Andy Wingo  <wingo@pobox.com>
25391
25392         * gst/gstregistry.h: Spacing fixen.
25393
25394 2005-09-19  Wim Taymans  <wim@fluendo.com>
25395
25396         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25397         Handle state change failure more correctly.
25398
25399 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25400
25401         * check/Makefile.am:
25402         * check/pipelines/cleanup.c: (run_pipeline):
25403         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25404         (GST_START_TEST):
25405           enable cleanup again after fixing the leak
25406         * docs/README:
25407           some more info on docs
25408
25409 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25410
25411         * check/Makefile.am:
25412           re-enable tests now that leaks are plugged
25413         * check/gst/gst.c:
25414         * check/gst/gstbin.c:
25415         * check/gst/gstpipeline.c:
25416           add some more tests while fixing leaks
25417         * common/check.mak:
25418           make sure binaries are uptodate when valgrinding/gdbing
25419         * gst/gst.c:
25420         * gst/gstelementfactory.c:
25421           remove a ref too many, and add a FIXME for when we get
25422           round to disposing of classes
25423         * gst/gstplugin.c:
25424           fix the refcounting when loading a plugin from a file and
25425           the code pretends that the pointer is the same even though
25426           of course it can change
25427         * gst/gstpluginfeature.c:
25428           unref plugins marked cached (a bit confusing as a name)
25429           as the docs state should be done
25430           various doc additions to explain refcounting
25431         * gst/gstregistry.c:
25432         * gst/gstregistryxml.c:
25433           debugging
25434
25435 2005-09-19  Wim Taymans  <wim@fluendo.com>
25436
25437         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25438         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25439         (send_messages), (GST_START_TEST), (gstbus_suite):
25440         * check/gst/gstpipeline.c: (GST_START_TEST):
25441         * check/pipelines/cleanup.c: (run_pipeline):
25442         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25443         (GST_START_TEST):
25444         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25445         (gst_bus_source_check), (gst_bus_source_dispatch),
25446         (gst_bus_create_watch), (gst_bus_add_watch_full),
25447         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25448         * gst/gstbus.h:
25449         * tools/gst-launch.c: (event_loop):
25450         * tools/gst-md5sum.c: (event_loop):
25451         GstBusHandler -> GstBusFunc, return value has the same meaning as
25452         any other GSource (FALSE == remove source).
25453         _add_watch() and _add_watch_full() now take a MessageType mask to
25454         only handle specific types of messages.
25455         _poll() returns the GstMessage instead of the message type to avoid
25456         race conditions.
25457         _have_pending() takes a MessageType mask now too.
25458         Added testsuite for multiple bus watches.
25459         Fix testsuites and applications for new bus API.
25460
25461 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25462
25463         * check/Makefile.am:
25464           mark a bunch of the tests as to fix until we fix them
25465
25466 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25467
25468         * common/check.mak:
25469           use GST_PLUGIN settings for valgrind tests as well, so we're
25470           valgrinding the correct thing
25471         * gst/gst.c: (init_post):
25472           plug another leak
25473
25474 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25475
25476         * gst/gst.c: (init_post), (gst_deinit):
25477         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25478         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25479         * gst/gstindex.c: (gst_index_factory_class_init),
25480         (gst_index_factory_finalize):
25481         * gst/gstobject.c: (gst_object_dispose):
25482         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25483         (gst_plugin_load_file), (gst_plugin_desc_free):
25484         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25485         (gst_plugin_feature_finalize):
25486         * gst/gstregistry.c: (gst_registry_class_init),
25487         (gst_registry_init), (gst_registry_finalize),
25488         (gst_registry_get_default), (gst_registry_deinit):
25489         * gst/gstregistry.h:
25490         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25491           various cleanups and memleak plugging.  make valgrind is happy now.
25492
25493 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25494
25495         * common/check.mak:
25496           add a check-valgrind target
25497
25498 2005-09-18  David Schleef  <ds@schleef.org>
25499
25500         * tools/gst-inspect.c: Revert the GOption code.
25501
25502 2005-09-17  David Schleef  <ds@schleef.org>
25503
25504         * check/Makefile.am: Fix environment variables.
25505         * check/gst/gstplugin.c: Fix for API changes.
25506         * tools/gst-inspect.c: Fix for API changes.
25507         * tools/gst-xmlinspect.c: Fix for API changes.
25508         * gst/gstelementfactory.c:
25509         * gst/gstplugin.c:
25510         * gst/gstplugin.h:
25511         * gst/gstpluginfeature.c:
25512         * gst/gstpluginfeature.h:
25513         * gst/gstregistry.c:
25514         * gst/gstregistry.h:
25515         * gst/gstregistryxml.c:
25516         * gst/gsttypefind.c:
25517         * gst/gsttypefindfactory.c:
25518         * gst/indexers/gstfileindex.c:
25519         * gst/indexers/gstmemindex.c:
25520         * gst/schedulers/Makefile.am:
25521           Change registry to keep track of both plugins and features,
25522           removing the feature tracking from plugins themselves.
25523
25524 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25525
25526         * check/Makefile.am:
25527         * tools/gst-register.1.in:
25528           remove gst-register
25529
25530 2005-09-15  David Schleef  <ds@schleef.org>
25531
25532         * check/gst/gstplugin.c:
25533         * gst/gstelementfactory.c:
25534         * gst/gstplugin.c:
25535         * gst/gstpluginfeature.c:
25536         * gst/gstregistry.c:
25537           Getting tired of debugging.  Disabled all the unreffing of
25538           plugins and features, which fixes the segfaults, but of
25539           course leaks like crazy.  At least playbin works.
25540
25541 2005-09-15  David Schleef  <ds@schleef.org>
25542
25543         * check/gst/gstplugin.c: (register_check_elements),
25544         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25545         More testing
25546         * gst/elements/gsttypefindelement.c: Fix refcounting.
25547         * gst/gsttypefind.c:
25548         * gst/gsttypefindfactory.c:
25549         * gst/gsttypefindfactory.h:
25550
25551 2005-09-15  David Schleef  <ds@schleef.org>
25552
25553         * gst/gstindex.c: get refcounting correct.
25554         * gst/gstregistry.c: Handle the case where a feature/plugin is
25555           not found.
25556
25557 2005-09-15  David Schleef  <ds@schleef.org>
25558
25559         * check/Makefile.am:
25560         * check/gst/gstplugin.c: Add test
25561         * gst/gstplugin.c: Fix problems noticed by testsuite
25562         * gst/gstplugin.h:
25563         * gst/gstregistry.c: 
25564         * gst/gstregistry.h:
25565
25566 2005-09-15  David Schleef  <ds@schleef.org>
25567
25568         * gst/gstplugin.c: Implement semi-decent recounting and locking
25569           in plugins and plugin features.
25570         * gst/gstplugin.h:
25571         * gst/gstpluginfeature.c:
25572         * gst/gstpluginfeature.h:
25573         * gst/gstregistry.c:
25574
25575 2005-09-15  Michael Smith <msmith@fluendo.com>
25576
25577         * gst/gstregistry.c: (gst_registry_get_feature_list):
25578           Implement this. Makes oggdemux work; decodebin still broken.
25579
25580 2005-09-14  David Schleef  <ds@schleef.org>
25581
25582         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25583           #316076)
25584         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25585         * gst/check/Makefile.am:
25586         * libs/gst/controller/Makefile.am:
25587         * libs/gst/dataprotocol/Makefile.am:
25588
25589 2005-09-14  David Schleef  <ds@schleef.org>
25590
25591         * configure.ac: Remove getbits library.  Nothing uses it, and
25592           it should be in something like liboil if someone did want
25593           to use it.
25594         * libs/gst/Makefile.am:
25595         * libs/gst/getbits/Makefile.am:
25596         * libs/gst/getbits/gbtest.c:
25597         * libs/gst/getbits/getbits.c:
25598         * libs/gst/getbits/getbits.h:
25599         * libs/gst/getbits/gstgetbits_generic.c:
25600         * libs/gst/getbits/gstgetbits_i386.s:
25601         * libs/gst/getbits/gstgetbits_inl.h:
25602
25603 2005-09-14  David Schleef  <ds@schleef.org>
25604
25605         * gst/Makefile.am: Dist glib-compat.h
25606
25607 2005-09-14  David Schleef  <ds@schleef.org>
25608
25609         * configure.ac: Remove gst/registries, since it's no longer used.
25610         * gst/registries/Makefile.am:
25611         * gst/registries/gstlibxmlregistry.c:
25612         * gst/registries/gstlibxmlregistry.h:
25613         * gst/registries/gstxmlregistry.c:
25614         * gst/registries/gstxmlregistry.h:
25615         * gst/registries/registrytest.c:
25616
25617 2005-09-14  David Schleef  <ds@schleef.org>
25618
25619         * gst/glib-compat.h:
25620         * gst/gstregistryxml.c:
25621           Convergence is near.  Seriously.
25622
25623 2005-09-14  David Schleef  <ds@schleef.org>
25624
25625         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25626         * gst/glib-compat.h:
25627           Attempt #4 to appease the buildbots.
25628
25629 2005-09-14  David Schleef  <ds@schleef.org>
25630
25631         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25632           Attempt #3.
25633
25634 2005-09-14  David Schleef  <ds@schleef.org>
25635
25636         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25637         Attempt #2.
25638
25639 2005-09-14  David Schleef  <ds@schleef.org>
25640
25641         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25642           the new functions.
25643
25644 2005-09-14  David Schleef  <ds@schleef.org>
25645
25646         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25647         * gst/glib-compat.h: Add some functions that are in newer versions
25648           of glib than we care to require.
25649         * gst/gstregistryxml.c: Use them.
25650
25651 2005-09-14  David Schleef  <ds@schleef.org>
25652
25653         * po/POTFILES.in: remove gst-register.c
25654
25655 2005-09-14  David Schleef  <ds@schleef.org>
25656
25657         * docs/gst/gstreamer-docs.sgml:
25658         * docs/gst/gstreamer-sections.txt:
25659         * docs/gst/gstreamer.types:
25660         * docs/gst/tmpl/gstelement.sgml:
25661         * docs/gst/tmpl/gstplugin.sgml:
25662         * docs/gst/tmpl/gstpluginfeature.sgml:
25663           Documentation updates for registry changes.
25664
25665 2005-09-14  David Schleef  <ds@schleef.org>
25666
25667         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25668           because we don't require glib-2.8.
25669
25670 2005-09-14  David Schleef  <ds@schleef.org>
25671
25672         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25673           registries directory.
25674
25675 2005-09-14  David Schleef  <ds@schleef.org>
25676
25677         * check/Makefile.am:
25678         * check/generic/states.c:
25679         * gst/Makefile.am:
25680         * gst/gst.c:
25681         * gst/gst.h:
25682         * gst/gst_private.h:
25683         * gst/gstelementfactory.c:
25684         * gst/gstindex.c:
25685         * gst/gstinfo.c:
25686         * gst/gstplugin.c:
25687         * gst/gstplugin.h:
25688         * gst/gstpluginfeature.c:
25689         * gst/gstpluginfeature.h:
25690         * gst/gstregistry.c:
25691         * gst/gstregistry.h:
25692         * gst/gstregistrypool.c: remove
25693         * gst/gstregistrypool.h: remove
25694         * gst/gsttypefind.c:
25695         * gst/gsttypefindfactory.c:
25696         * gst/gsturi.c:
25697         * tools/Makefile.am:
25698         * tools/gst-compprep.c:
25699         * tools/gst-inspect.c:
25700         * tools/gst-register.c: remove
25701         * tools/gst-xmlinspect.c:
25702           Registry rewrite.  Changes registry from being a file created
25703           by a tool into a simple cache file created automatically by 
25704           libgstreamer.  Removed gst-register (because it's no longer
25705           needed).  Remove registry pools, because we only have one
25706           registry implementation (XML).  Fix up other subsystems as
25707           necessary.
25708
25709 2005-09-13  Michael Smith <msmith@fluendo.com>
25710
25711         * gst/gstconfig.h.in:
25712           Don't Use windows linking attributes for MinGW. Fixes #316157
25713
25714 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25715
25716         * gst/gstutils.c: (set_state_async_thread_func),
25717         (gst_element_set_state_async):
25718           Apparently people think it's better if this function doesn't
25719           try to set the state to whatever state was asked for on the first
25720           call to this function for any object.  Seriously.
25721
25722 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25723
25724         * check/gst/gstpipeline.c: (GST_START_TEST):
25725         * docs/gst/gstreamer-sections.txt:
25726         * gst/gstutils.c: (set_state_async_thread_func),
25727         (gst_element_set_state_async):
25728         * gst/gstutils.h:
25729           add a "gst_element_set_state_async" method that
25730           sets the state and starts a thread to make sure the state
25731           change completes as best as it can
25732
25733 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25734
25735         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25736           codify design+behaviour in testsuite after discussion
25737
25738 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25739
25740         * docs/gst/tmpl/gstelement.sgml:
25741         * docs/manual/appendix-quotes.xml:
25742           add a quote
25743         * gst/gstelement.c: (gst_element_set_state):
25744           add some debug
25745
25746 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25747
25748         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25749         (gst_base_transform_prepare_output_buf),
25750         (gst_base_transform_handle_buffer):
25751         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25752         (gst_capsfilter_prepare_buf):
25753           Remove the requirement for sub-classes to call the parent
25754           implementation of prepare_output_buffer with a wrapper function.
25755           
25756         * gst/gsttaglist.h:
25757         * gst/gsttagsetter.h:
25758           Fix #define wrapper
25759
25760 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25761
25762         * docs/gst/gstreamer-sections.txt:
25763           more doc cleanups
25764
25765 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25766
25767         * docs/gst/gstreamer-sections.txt:
25768         * docs/gst/tmpl/gstelement.sgml:
25769         * docs/gst/tmpl/gstplugin.sgml:
25770         * gst/gstminiobject.c:
25771         * gst/gstvalue.h:
25772           docs now stop throwing warnings
25773
25774 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25775
25776         * docs/gst/gstreamer-sections.txt:
25777         * docs/gst/gstreamer.types:
25778         * docs/gst/tmpl/gstpad.sgml:
25779         * docs/gst/tmpl/gsttypes.sgml:
25780         * gst/base/gstadapter.h:
25781         * gst/base/gstbasesink.h:
25782         * gst/base/gstbasesrc.h:
25783         * gst/gstbin.h:
25784         * gst/gstbuffer.h:
25785         * gst/gstbus.h:
25786         * gst/gstcaps.h:
25787         * gst/gstclock.h:
25788         * gst/gstelement.h:
25789         * gst/gstevent.h:
25790         * gst/gstmessage.h:
25791         * gst/gstpad.h:
25792         * gst/gststructure.c:
25793         * gst/registries/gstlibxmlregistry.h:
25794           various documentation fixes
25795
25796 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25797
25798         * docs/gst/gstreamer-sections.txt:
25799         * docs/gst/tmpl/gstvalue.sgml:
25800           rearrange gstvalue section
25801         * gst/gstutils.c: (gst_element_state_get_name):
25802           NONE -> VOID
25803         * gst/gstvalue.c: (_gst_value_initialize):
25804         * gst/gstvalue.h:
25805           doc updates
25806
25807 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25808
25809         * check/gst-libs/controller.c:
25810           Header include fix.
25811         * gst/base/gstbasetransform.c:
25812         (gst_base_transform_default_prepare_buf),
25813         (gst_base_transform_handle_buffer):
25814         * gst/base/gstbasetransform.h:
25815           Some more basetransform changes and fixes to enable sub-classes
25816           that modify buffer metadata only.
25817         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25818         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25819         (gst_capsfilter_prepare_buf):
25820           If the output pad has fixed allowed caps and input buffers 
25821           don't have any, set the fixed caps on outgoing buffers.
25822
25823 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25824         * check/elements/identity.c: (GST_START_TEST):
25825           Make the error a little clearer when the test fails because
25826           identity made a copy of the buffer.
25827         * docs/gst/gstreamer-sections.txt:
25828           New symbols in gstbasetransform.h
25829         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25830         (gst_base_transform_init), (gst_base_transform_transform_size),
25831         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25832         (gst_base_transform_default_prepare_buf),
25833         (gst_base_transform_get_unit_size),
25834         (gst_base_transform_buffer_alloc),
25835         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25836         (gst_base_transform_change_state),
25837         (gst_base_transform_set_passthrough),
25838         (gst_base_transform_set_in_place),
25839         (gst_base_transform_is_in_place):
25840         * gst/base/gstbasetransform.h:
25841           Change BaseTransform to separate in_place operate from same_caps
25842           output. in_place implies that the element can perform the transform
25843           on incoming buffers in-place, even if the caps on the output are
25844           different.
25845           Sub-class elements can now implement special buffer allocation
25846           methods for outgoing buffers if they wish to.
25847           Big documentation addition.
25848         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25849         * gst/elements/gstelements.c:
25850           Changes for basetransform modifications.
25851         * gst/elements/Makefile.am:
25852         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25853           Compile fix. Extra debug output.
25854
25855 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25856
25857         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25858         (gst_pad_suite):
25859           add tests for valid pad naming
25860         * gst/check/gstcheck.c: (gst_check_log_message_func),
25861         (gst_check_log_critical_func):
25862           add ASSERT_WARNING
25863           remove printing of code, it is fragile when the code contains
25864           % and the line number is enough info
25865         * gst/check/gstcheck.h:
25866         * gst/gstpad.c: (gst_pad_template_new):
25867           fix memleaks
25868
25869 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25870
25871         * configure.ac:
25872           say what CHECK flags we use
25873         * docs/libs/gstreamer-libs.types:
25874         * libs/gst/controller/Makefile.am:
25875         * libs/gst/controller/gst-controller.c:
25876         * libs/gst/controller/gst-controller.h:
25877         * libs/gst/controller/gst-helper.c:
25878         * libs/gst/controller/gst-interpolation.c:
25879         * libs/gst/controller/gstcontroller.c:
25880         * libs/gst/controller/gsthelper.c:
25881         * libs/gst/controller/gstinterpolation.c:
25882         * tools/gst-inspect.c: (print_plugin_info):
25883           we don't use dashes in header names
25884
25885 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25886
25887         * check/Makefile.am:
25888         * check/gst/.cvsignore:
25889         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25890         (gst_pipeline_suite), (main):
25891           adding a test for pipelines and state changes
25892         * gst/gstutils.c: (get_state_func):
25893           add some debugging
25894         * gstreamer.spec.in:
25895           fix up spec file
25896
25897 2005-09-08  Michael Smith <msmith@fluendo.com>
25898
25899         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25900         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25901         (gst_file_src_is_seekable), (gst_file_src_get_size),
25902         (gst_file_src_start):
25903         * gst/elements/gstfilesrc.h:
25904           Various fixes for unseekable, unmmapable, and non-normal files, so
25905           that fallback to read() rather than mmap() works.
25906         * gst/gstevent.c: (gst_event_new_newsegment):
25907           Allow newsegment events with segment_start == segment_end, as will
25908           correctly happen if you use filesrc on a zero-size file, for
25909           example.
25910
25911 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25912
25913         * gst/gstplugin.c: (gst_plugin_load_file):
25914           Call g_module_close when we don't load the module
25915
25916         * gst/registries/gstlibxmlregistry.c:
25917         (gst_xml_registry_get_property):
25918           Port leak fix from 0.8
25919
25920 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25921
25922         * docs/gst/gstreamer-docs.sgml:
25923         * docs/gst/tmpl/.cvsignore:
25924         * docs/gst/tmpl/gsttrace.sgml:
25925         * docs/gst/tmpl/gsttrashstack.sgml:
25926         * gst/Makefile.am:
25927         * gst/gst.h:
25928         * gst/gstelement.h:
25929         * gst/gstevent.h:
25930         * gst/gstmessage.c:
25931         * gst/gstmessage.h:
25932         * gst/gsttag.c:
25933         * gst/gsttag.h:
25934         * gst/gsttaginterface.c:
25935         * gst/gsttaginterface.h:
25936         * gst/gsttaglist.c:
25937         * gst/gsttaglist.h:
25938         * gst/gsttagsetter.c:
25939         * gst/gsttagsetter.h:
25940         * gst/gsttrace.c:
25941         * gst/gsttrace.h:
25942         * gst/gsttrashstack.c:
25943           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25944           inlined docs for gsttrace, gsttrashstack
25945
25946 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25947
25948         * gst/Makefile.am:
25949         * gst/elements/gstbufferstore.h:
25950         * gst/elements/gsttypefindelement.c:
25951         * gst/elements/gsttypefindelement.h:
25952         * gst/gst.h:
25953         * gst/gsttypefind.c:
25954         * gst/gsttypefind.h:
25955         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25956         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25957         (gst_type_find_factory_dispose),
25958         (gst_type_find_factory_unload_thyself),
25959         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25960         (gst_type_find_factory_get_caps),
25961         (gst_type_find_factory_get_extensions),
25962         (gst_type_find_factory_call_function):
25963         * gst/gsttypefindfactory.h:
25964         * gst/registries/gstlibxmlregistry.c:
25965         * gst/registries/gstxmlregistry.c:
25966           splitted gsttypefind into gsttypefind, gsttypefindfactory
25967
25968 2005-09-07  Andy Wingo  <wingo@pobox.com>
25969
25970         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25971         condition whereby the pad's task function is entered before the
25972         pad_mode variable was set.
25973
25974 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25975
25976         * gst/gstpad.c: (gst_pad_alloc_buffer):
25977           Catch misbehaving pad_alloc functions that don't
25978           set up caps and do it for them.
25979
25980 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25981
25982         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25983           test for pipe!=NULL
25984         * docs/gst/tmpl/.cvsignore:
25985         * docs/gst/tmpl/gstmemchunk.sgml:
25986         * docs/gst/tmpl/gstparse.sgml:
25987         * docs/gst/tmpl/gsttaglist.sgml:
25988         * docs/gst/tmpl/gsttagsetter.sgml:
25989         * docs/gst/tmpl/gsttypefind.sgml:
25990         * docs/gst/tmpl/gsttypefindfactory.sgml:
25991         * gst/gstmemchunk.c:
25992         * gst/gstparse.c:
25993         * gst/gsttag.c:
25994         * gst/gsttaginterface.c:
25995         * gst/gsttypefind.c:
25996         * gst/gsttypefind.h:
25997           inlined more docs
25998
25999 === release 0.9.2 ===
26000
26001 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
26002
26003         * NEWS:
26004         * RELEASE:
26005         * configure.ac:
26006           releasing 0.9.2, "South"
26007
26008 2005-09-05  Andy Wingo  <wingo@pobox.com>
26009
26010         * gst/registries/gstxmlregistry.h:
26011         * gst/registries/gstxmlregistry.c: Um... resurrect...
26012         
26013         * gst/registries/gstxmlregistry.h:
26014         * gst/registries/gstxmlregistry.c: and update to newer API.
26015         Incidentally they should be a bit faster now that they don't have
26016         to parse the caps.
26017         
26018 2005-09-05  Andy Wingo  <wingo@pobox.com>
26019
26020         * gst/registries/gstxmlregistry.h:
26021         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
26022         replaced by the libxml registry a while back
26023
26024 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
26025
26026         * docs/gst/tmpl/gstplugin.sgml:
26027         * gst/elements/gstelements.c:
26028         * gst/gst.c:
26029         * gst/gstplugin.c: (gst_plugin_register_func),
26030         (gst_plugin_desc_copy), (gst_plugin_desc_free),
26031         (gst_plugin_get_source):
26032         * gst/gstplugin.h:
26033         * gst/registries/gstlibxmlregistry.c: (load_plugin),
26034         (gst_xml_registry_save_plugin):
26035         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
26036         (gst_xml_registry_save_plugin):
26037         * tools/gst-inspect.c: (print_plugin_info):
26038           add a "source" plugin description field, to represent the source
26039           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
26040           will set it to PACKAGE, which is automake's idea of the name of
26041           the source project.
26042
26043 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
26044
26045         * Makefile.am:
26046         * autogen.sh:
26047         * configure.ac:
26048         * docs/Makefile.am:
26049         * docs/faq/Makefile.am:
26050         * docs/gst/tmpl/gstelement.sgml:
26051         * docs/gst/tmpl/gsttypes.sgml:
26052         * docs/htmlinstall.mak:
26053         * docs/manual/Makefile.am:
26054         * docs/pwg/Makefile.am:
26055           reorganize doc build a little
26056           split out docbook and gtk-doc stuff
26057           have two separate --enable's and enable them through autogen
26058           but disable by default in configure (to be similar to other
26059           projects)
26060         * gstreamer.spec.in:
26061           clean up docs install
26062         * po/af.po:
26063         * po/az.po:
26064         * po/ca.po:
26065         * po/cs.po:
26066         * po/de.po:
26067         * po/en_GB.po:
26068         * po/fr.po:
26069         * po/it.po:
26070         * po/nb.po:
26071         * po/nl.po:
26072         * po/ru.po:
26073         * po/sq.po:
26074         * po/sr.po:
26075         * po/sv.po:
26076         * po/tr.po:
26077         * po/uk.po:
26078         * po/vi.po:
26079           translation updates
26080
26081 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
26082
26083         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
26084           Add comment.
26085           
26086         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
26087         (gst_fake_sink_change_state):
26088           Make state change function thread-safe.
26089           
26090         * gst/gstpad.c: (gst_pad_alloc_buffer):
26091           Set offset on generic buffer allocated by fallback.
26092
26093 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
26094
26095         * docs/gst/gstreamer-sections.txt:
26096         * docs/gst/tmpl/gstelement.sgml:
26097         * gst/gstpad.c:
26098         * libs/gst/controller/gst-controller.c:
26099         (gst_controlled_property_set_interpolation_mode),
26100         (gst_controlled_property_new),
26101         (gst_controller_find_controlled_property):
26102          run the wingo-magic script against the docs
26103
26104 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
26105
26106         * docs/gst/gstreamer-docs.sgml:
26107         * docs/gst/gstreamer-sections.txt:
26108         * docs/gst/tmpl/.cvsignore:
26109         * docs/gst/tmpl/gstelementdetails.sgml:
26110         * docs/gst/tmpl/gstelementfactory.sgml:
26111         * gst/gst.c:
26112         * gst/gstbus.c:
26113         * gst/gstelementfactory.c:
26114         * gst/gstelementfactory.h:
26115           merged elementdetails docs into elementfactory docs
26116           inlined both
26117
26118 2005-09-02  Andy Wingo  <wingo@pobox.com>
26119
26120         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
26121         consider this enum an enum and not a flags.
26122
26123 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
26124
26125         * docs/gst/gstreamer-docs.sgml:
26126         * docs/gst/tmpl/.cvsignore:
26127         * docs/gst/tmpl/gstghostpad.sgml:
26128         * docs/gst/tmpl/gstiterator.sgml:
26129         * docs/gst/tmpl/gstmacros.sgml:
26130         * docs/gst/tmpl/gstrealpad.sgml:
26131         * docs/gst/tmpl/gstregistry.sgml:
26132         * docs/gst/tmpl/gstregistrypool.sgml:
26133         * docs/gst/tmpl/gststructure.sgml:
26134         * docs/gst/tmpl/gstsystemclock.sgml:
26135         * docs/gst/tmpl/gsttrace.sgml:
26136         * gst/gstghostpad.c:
26137         * gst/gstmacros.h:
26138         * gst/gstmemchunk.c:
26139         * gst/gstmemchunk.h:
26140         * gst/gstqueue.c:
26141         * gst/gstregistry.c:
26142         * gst/gstregistrypool.c:
26143         * gst/gststructure.c:
26144         * gst/gstsystemclock.c:
26145           more docs inlined
26146
26147 2005-09-02  Andy Wingo  <wingo@pobox.com>
26148
26149         * gst/gstelement.h (GstState): Renamed from GstElementState,
26150         changed to be a normal enum instead of flags.
26151         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
26152         munged to be GST_STATE_CHANGE_*.
26153         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
26154         work with the new state representation.
26155         (GstStateChange): New enumeration of possible state transitions.
26156         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
26157         (GstElementClass::change_state): Pass the GstStateChange along as
26158         an argument. Helps language bindings, so they don't have to use
26159         tricky lock-needing macros like GST_STATE_CHANGE ().
26160
26161         * scripts/update-states (file): New script. Run it on a file to
26162         update it for state naming and API changes. Updates files in
26163         place.
26164
26165         * All files updated for the new API.
26166
26167 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26168
26169         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
26170         * gst/gstutils.c: (gst_util_set_value_from_string),
26171         (gst_util_set_object_arg):
26172           fix a bunch of unchecked return values
26173         * tools/gst-complete.c: (main):
26174         * gstreamer.spec.in:
26175           clean up a little
26176
26177 2005-09-01  Wim Taymans  <wim@fluendo.com>
26178
26179         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26180         (gst_base_sink_event), (gst_base_sink_do_sync),
26181         (gst_base_sink_handle_event):
26182         * gst/base/gstbasesink.h:
26183         Handle newsegments more correctly.
26184
26185         * gst/gstbus.c:
26186         Fix docs.
26187
26188         * gst/gstevent.c: (gst_event_new_newsegment):
26189         A newsegment cannot have a start_time of -1
26190
26191 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
26192
26193         * win32/gstenumtypes.c:
26194         * win32/gstenumtypes.h:
26195           Update
26196
26197 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26198
26199         * libs/gst/controller/gst-controller.c:
26200         (gst_controlled_property_set_interpolation_mode),
26201         (gst_controlled_property_new):
26202          fixed boolean again
26203
26204 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
26205
26206         * docs/faq/gst-uninstalled:
26207           add -good
26208         * gst/gstevent.c:
26209         * gst/gstevent.h:
26210           remove wrong docs
26211         * gst/gstutils.c: (gst_element_link_filtered):
26212         * gst/gstutils.h:
26213           add gst_element_link_filtered
26214
26215 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26216
26217         * docs/gst/gstreamer-docs.sgml:
26218         * docs/gst/gstreamer-sections.txt:
26219         * docs/gst/tmpl/.cvsignore:
26220         * docs/gst/tmpl/gsterror.sgml:
26221         * docs/gst/tmpl/gstfilter.sgml:
26222         * docs/gst/tmpl/gsturihandler.sgml:
26223         * docs/gst/tmpl/gsturitype.sgml:
26224         * docs/gst/tmpl/gstutils.sgml:
26225         * docs/gst/tmpl/gstxml.sgml:
26226         * gst/gsterror.c:
26227         * gst/gsterror.h:
26228         * gst/gstfilter.c:
26229         * gst/gsturi.c:
26230         * gst/gsturitype.c:
26231         * gst/gstutils.c:
26232         * gst/gstxml.c:
26233           inlined more docs, fixed double id-ref
26234
26235 2005-08-31  Wim Taymans  <wim@fluendo.com>
26236
26237         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26238         (gst_base_transform_handle_buffer):
26239         Passthrough elements don't need the caps as they don't care.
26240
26241 2005-08-31  Wim Taymans  <wim@fluendo.com>
26242
26243         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26244         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26245         Don't leak refcounts on buffers.
26246
26247 2005-08-31  Wim Taymans  <wim@fluendo.com>
26248
26249         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26250         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26251         (gst_base_transform_chain), (gst_base_transform_change_state):
26252         * gst/base/gstbasetransform.h:
26253         Handle the case where we are not negotiated more gracefully.
26254
26255 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
26256
26257         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26258         (gst_file_src_map_region):
26259           Set READONLY flag on mmap'ed buffers, otherwise
26260           gst_buffer_make_writable() won't work properly (#314708).
26261
26262 2005-08-31  Wim Taymans  <wim@fluendo.com>
26263
26264         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26265         passthrough elements can even do inplace on non writable
26266         buffers (as they don't touch them).
26267
26268 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26269
26270         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26271         (gst_test_mono_source_set_property),
26272         (gst_test_mono_source_class_init), (GST_START_TEST),
26273         (gst_controller_suite):
26274           more tests (hehe I have the most)
26275         * gst/gstbus.c:
26276           describe popping messages whenusing mulltiple sources
26277         * libs/gst/controller/gst-controller.c:
26278         (gst_controlled_property_set_interpolation_mode),
26279         (gst_controlled_property_new):
26280         * libs/gst/controller/gst-controller.h:
26281         * libs/gst/controller/gst-interpolation.c:
26282           implement boolean properties
26283
26284 2005-08-31  Wim Taymans  <wim@fluendo.com>
26285
26286         * gst/gstminiobject.c: (gst_mini_object_ref):
26287         Cannot assert that the refcount has to be positive
26288         since a disposed object can be resurrected.
26289
26290 2005-08-31  Wim Taymans  <wim@fluendo.com>
26291
26292         * gst/gstpad.c: (gst_pad_init):
26293         Revert change, need to first fix badly behaving 
26294         apps.
26295
26296 2005-08-30  Wim Taymans  <wim@fluendo.com>
26297
26298         * check/elements/fakesrc.c: (setup_fakesrc):
26299         * check/elements/identity.c: (setup_identity):
26300         Activate pads before using them.
26301
26302 2005-08-30  Wim Taymans  <wim@fluendo.com>
26303
26304         * gst/base/gstadapter.c: (gst_adapter_flush):
26305         Flushing out 0 bytes is ok for this function.
26306
26307         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26308         no newsegment gives a warning and sets the start/stop to 
26309         invalid.
26310
26311         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26312         (gst_base_transform_set_passthrough):
26313         Some debug info.
26314
26315         * gst/gstminiobject.c: (gst_mini_object_ref):
26316         Check refcount here too.
26317
26318         * gst/gstpad.c: (gst_pad_init):
26319         Pads are initially flushing and refusing data.
26320
26321         * gst/gstutils.c: (gst_element_link_pads_filtered):
26322         When adding a capsfilter element make sure it has the
26323         same state as the parent bin.
26324
26325 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26326
26327         * docs/gst/tmpl/.cvsignore:
26328         * docs/gst/tmpl/gstformat.sgml:
26329         * docs/gst/tmpl/gstversion.sgml:
26330         * gst/gstbus.h:
26331         * gst/gstformat.c:
26332         * gst/gstformat.h:
26333         * gst/gstversion.h.in:
26334           more docs and two more inlined
26335
26336 2005-08-30  Wim Taymans  <wim@fluendo.com>
26337
26338         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26339         Don't sync to clock.
26340
26341 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26342
26343         * docs/gst/gstreamer-sections.txt:
26344           ultral33t func10ns deserve to appear in the docs actually
26345         * docs/gst/tmpl/.cvsignore:
26346         * docs/gst/tmpl/gstcompat.sgml:
26347         * docs/gst/tmpl/gstconfig.sgml:
26348         * gst/check/gstcheck.c:
26349         * gst/gstcompat.h:
26350         * gst/gstconfig.h.in:
26351           inlined more docs
26352
26353 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26354
26355         * docs/gst/tmpl/.cvsignore:
26356         * docs/gst/tmpl/gstquery.sgml:
26357         * docs/gst/tmpl/gstutils.sgml:
26358         * gst/gstquery.c:
26359         * gst/gstquery.h:
26360           inlined and extended docs
26361
26362 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26363
26364         * check/gst-libs/controller.c: (GST_START_TEST),
26365         (gst_controller_suite):
26366           more tests
26367         * docs/gst/tmpl/gstutils.sgml:
26368         * docs/libs/gstreamer-libs-sections.txt:
26369         * docs/libs/tmpl/gstdataprotocol.sgml:
26370           include path fixes
26371         * examples/controller/audio-example.c: (main):
26372           controller example works now
26373         * gst/gstclock.h:
26374           doc fixes
26375         * tools/gst-inspect.c: (print_element_properties_info):
26376           show param spec flags
26377
26378 2005-08-29  Andy Wingo  <wingo@pobox.com>
26379
26380         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26381
26382 2005-08-28  Andy Wingo  <wingo@pobox.com>
26383
26384         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26385         as having two arguments instead of just one. Allows superclasses
26386         to access information on subclasses -- see the terrible for() loop
26387         in gtype.c:g_type_create_instance for the reason why. All callers
26388         changed.
26389
26390 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26391
26392         * docs/design/part-messages.txt:
26393           update info
26394         * docs/gst/tmpl/.cvsignore:
26395         * docs/gst/tmpl/gstcaps.sgml:
26396         * docs/gst/tmpl/gstclock.sgml:
26397         * gst/gstbus.c:
26398         * gst/gstcaps.c:
26399         * gst/gstcaps.h:
26400         * gst/gstclock.c:
26401         * gst/gstclock.h:
26402         * gst/gstmessage.c:
26403           added descriptions for bus and message
26404           inline caps and clock docs
26405
26406 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26407
26408         * gst/gstmessage.c:
26409         * gst/gstmessage.h:
26410           doc fixes
26411
26412 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26413
26414         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26415           fix div-by-zero
26416
26417 2005-08-26  Andy Wingo  <wingo@pobox.com>
26418
26419         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26420         element_set_state's return val.
26421         (test_2_elements): Add test that's been disabled for months.
26422
26423         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26424         can-activate-pull properties.
26425
26426         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26427         can-activate-pull properties. Implement is_seekable so fakesrc can
26428         operate in pull mode.
26429
26430         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26431         properties.
26432         (gst_base_sink_activate, gst_base_sink_activate_pull)
26433         (gst_base_sink_activate_push): Make activation mode choosing work.
26434         Cleanups.
26435         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26436         is right. Make pull mode work. Post an eos before pausing in pull
26437         mode.
26438         (gst_base_sink_change_state): Pay attention to the core's
26439         change_state() return val.
26440         
26441         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26442         has-getrange properties. Cleanups.
26443         
26444         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26445         has_getrange and replace with can_activate_pull and
26446         can_activate_push.
26447
26448         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26449         locking comments. Remove has_loop, has_chain and replace with
26450         can_activate_pull and can_activate_push.
26451
26452 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26453
26454         * configure.ac:
26455         * examples/Makefile.am:
26456         * examples/metadata/Makefile.am:
26457         * examples/metadata/read-metadata.c: (message_loop),
26458         (have_pad_handler), (make_pipeline), (print_tag), (main):
26459           Add metadata reading example that loops over a list of filenames,
26460           dumping any tags found.
26461
26462         * gst/gstbus.c: (gst_bus_dispose):
26463         * gst/gstelement.c: (gst_element_dispose):
26464           Release a few potentially-held references in dispose.
26465
26466 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26467
26468         * docs/gst/tmpl/gstminiobject.sgml:
26469           do *not* add tmpl/*.sgml files to CVS!
26470
26471 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26472
26473         * libs/gst/bytestream/.cvsignore:
26474         * libs/gst/bytestream/Makefile.am:
26475         * libs/gst/bytestream/adapter.c:
26476         * libs/gst/bytestream/adapter.h:
26477         * libs/gst/bytestream/bytestream.c:
26478         * libs/gst/bytestream/bytestream.h:
26479         * libs/gst/bytestream/filepad.c:
26480         * libs/gst/bytestream/filepad.h:
26481           removing obsolete files
26482
26483 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26484
26485         * docs/gst/gstreamer-docs.sgml:
26486         * docs/libs/gstreamer-libs-docs.sgml:
26487           disabed additional index entries again, as this makes docs-gen just
26488           slow and they aren't useful yet
26489         * docs/libs/gstreamer-libs-sections.txt:
26490           little -section.txt cleanup for libs
26491
26492 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26493
26494         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26495         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26496           fix up some debugging
26497         (gst_base_transform_get_unit_size),
26498         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26499         (gst_base_transform_handle_buffer):
26500         * gst/base/gstbasetransform.h:
26501           handle and store timed NEWSEGMENT events so that subclasses that
26502           calculate time by counting samples have a segment_start time they
26503           need to add to their timestamps - see audioresample
26504
26505 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26506
26507         * gst/gstbin.h:
26508           removed ';' from the end of macro defs
26509         * docs/gst/gstreamer-docs.sgml:
26510         * docs/gst/gstreamer-sections.txt:
26511         * docs/gst/tmpl/.cvsignore:
26512         * gst/gstbus.h:
26513         * gst/gstelement.c: (gst_element_class_init),
26514         (gst_element_set_state), (activate_pads),
26515         (gst_element_save_thyself):
26516         * gst/gstevent.c: (gst_event_new_newsegment):
26517         * gst/gstevent.h:
26518         * gst/gstiterator.c:
26519         * gst/gstiterator.h:
26520         * gst/gstpad.c:
26521         * gst/gstprobe.h:
26522         * gst/gstutils.c: (gst_pad_query_convert):
26523         * gst/gstutils.h:
26524           fixed parameter name mismatches between source, header and docs
26525           added some more docs, resolved the last batch of unused elements in
26526           docs (now someone needs to doc them)
26527
26528 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26529
26530         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26531         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26532           don't walk through the plugins backwards.  Where is all this
26533           reversed logic coming from ?
26534
26535 2005-08-25  Wim Taymans  <wim@fluendo.com>
26536
26537         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26538         (gst_base_transform_transform_size),
26539         (gst_base_transform_configure_caps),
26540         (gst_base_transform_get_unit_size),
26541         (gst_base_transform_buffer_alloc),
26542         (gst_base_transform_change_state):
26543         * gst/base/gstbasetransform.h:
26544         Cache caps unit_size.
26545         Make sure we cannot negotiate up and downstream at the
26546         same time.
26547
26548 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26549
26550         * gst/gst.c: (init_pre), (init_post):
26551           register the installed plugin path after the env var
26552         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26553         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26554           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26555           directories, so the tests can prefer uninstalled over installed
26556
26557 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26558
26559         * gst/base/gstbasetransform.h:
26560           comment
26561         * gst/gstpad.c:
26562           add to docs
26563
26564 2005-08-25  Wim Taymans  <wim@fluendo.com>
26565
26566         * gst/gstbin.c: (bin_bus_handler):
26567         Be a bit more conservative about the posted message.
26568         
26569         * gst/gstbus.c: (gst_bus_post):
26570         Some cleanups, warn wrong return values.
26571
26572 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26573
26574         * check/gst/gstbin.c: (GST_START_TEST):
26575         * gst/gstbin.c: (bin_bus_handler):
26576         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26577         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26578         (gst_message_new_warning), (gst_message_new_tag),
26579         (gst_message_new_state_changed), (gst_message_new_segment_start),
26580         (gst_message_new_segment_done), (gst_message_new_custom):
26581         * gst/gstmessage.h:
26582         * tools/gst-launch.c: (event_loop):
26583         * tools/gst-md5sum.c: (event_loop):
26584           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26585
26586 2005-08-25  Wim Taymans  <wim@fluendo.com>
26587
26588         * check/generic/states.c: (GST_START_TEST):
26589         Cleanup can be done at the end.
26590
26591         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26592         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26593         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26594         Oh boy.. Thanks for finding this, Thomas. 
26595
26596 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26597
26598         * docs/gst/gstreamer.types:
26599           added missing types
26600
26601 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26602
26603         * docs/gst/gstreamer-docs.sgml:
26604         * docs/gst/gstreamer-sections.txt:
26605         * docs/gst/tmpl/.cvsignore:
26606         * gst/gstbin.c:
26607         * gst/gstiterator.c:
26608         * gst/gstutils.c:
26609         * gst/registries/gstxmlregistry.h:
26610           added missing classes and symbols (123 more to go)
26611           removed removed symbols from section file
26612           fixed many doc-comments
26613
26614 2005-08-24  Wim Taymans  <wim@fluendo.com>
26615
26616         * check/generic/states.c: (GST_START_TEST):
26617         Make sure all tasks are stopped.
26618
26619         * check/gst/gstbin.c: (GST_START_TEST):
26620         Unref after usage for proper valgrinding.
26621
26622         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26623         Really wait for the task to stop before destroying the
26624         mutex.
26625
26626         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26627         (gst_queue_src_activate_push):
26628         Small cleanups. Don't stop the task when we did not start
26629         it.
26630
26631         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26632         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26633         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26634         (gst_task_join):
26635         * gst/gsttask.h:
26636         Protect the stream lock with the object lock.
26637         Disallow setting the stream lock when running.
26638         Add cleanup_all to wait for the threadpool to finish.
26639         Remove code to autoallocate a mutex if none was provided.
26640         Add _join() to wait for a task to stop.
26641         Protect the thread pool with a global lock.
26642
26643 2005-08-24  Wim Taymans  <wim@fluendo.com>
26644
26645         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26646         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26647         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26648         * gst/base/gstbasesink.h:
26649         Handle newsegment events correctly.
26650         Drop buffers out of the segment range.
26651
26652 2005-08-22  Andy Wingo  <wingo@pobox.com>
26653
26654         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26655         macro, implements an interface and gstimplementsinterface for a
26656         new type.
26657
26658 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26659
26660         * check/Makefile.am:
26661         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26662           add a test that does a bunch of state changes on elements
26663           needs some fixing for valgrind
26664         * check/states/sinks.c: (gst_object_suite):
26665           whitespace
26666         * gst/gstcaps.h:
26667           add prototype for gst_caps_is_equal_fixed
26668         * gst/gstplugin.c:
26669         * gst/gstregistrypool.c:
26670           doc fixes
26671
26672 2005-08-24  Andy Wingo  <wingo@pobox.com>
26673
26674         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26675         convert a negative value. Doesn't make much sense. Mostly this is
26676         here to force callers to ensure -1 maps to -1.
26677
26678 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26679
26680         * docs/pwg/advanced-types.xml:
26681           Well done to Michael for catching my deliberate introduction
26682           of this spelling mistake. 
26683         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26684         * gst/gstelement.h:
26685           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26686           unlink pads before removing the element from the bin.
26687
26688 2005-08-24  Andy Wingo  <wingo@pobox.com>
26689
26690         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26691         the same thing as GST_DEBUG=*:4.
26692         (parse_debug_level, parse_debug_category): New helper parsers.
26693
26694 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26695
26696         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26697         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26698         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26699         (gst_base_transform_buffer_alloc),
26700         (gst_base_transform_handle_buffer):
26701           use gboolean return values and pointers to size so we can use the
26702           full GST_BUFFER_SIZE range (guint) for buffer sizes
26703           use GstPadDirection for transform_caps
26704         * gst/base/gstbasetransform.h:
26705           rename get_size to get_unit_size since that's what it is
26706         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26707           use GstPadDirection for transform_caps
26708         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26709         * gst/gstutils.h:
26710           cleanup and debugging
26711
26712 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26713
26714         * gst/gstelement.c: (gst_element_class_init),
26715         (gst_element_set_state), (activate_pads),
26716         (gst_element_save_thyself):
26717         * tools/gst-compprep.c: (main):
26718         * tools/gst-inspect.c: (print_element_properties_info):
26719         * tools/gst-xmlinspect.c: (print_element_properties):
26720           Fixed long standing mem-leak
26721
26722 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26723
26724         * check/gst/gstbin.c: (GST_START_TEST):
26725         * gst/gstbin.c: (bin_bus_handler):
26726         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26727         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26728         (gst_message_new_warning), (gst_message_new_tag),
26729         (gst_message_new_state_changed), (gst_message_new_segment_start),
26730         (gst_message_new_segment_done), (gst_message_new_custom):
26731         * gst/gstmessage.h:
26732         * tools/gst-launch.c: (event_loop):
26733         * tools/gst-md5sum.c: (event_loop):
26734           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26735           that applications can sensibly post custom messages with references
26736           to their own objects.
26737
26738 2005-08-24  Andy Wingo  <wingo@pobox.com>
26739
26740         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26741         already.
26742
26743 2005-08-24  Wim Taymans  <wim@fluendo.com>
26744
26745         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26746         (gst_base_transform_transform_caps),
26747         (gst_base_transform_transform_size),
26748         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26749         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26750         (gst_base_transform_handle_buffer):
26751         * gst/base/gstbasetransform.h:
26752         Many fixes and new features added by Thomas. Can now also do
26753         transforms with variable sizes and a custom fixate_caps function.
26754
26755 2005-08-24  Wim Taymans  <wim@fluendo.com>
26756
26757         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26758         Some debugging.
26759
26760         * gst/gstclock.h:
26761         Cast to ClockTime before formatting to time.
26762
26763         * gst/gstutils.h:
26764         Cleanups.
26765
26766 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26767
26768         * check/gst-libs/controller.c: (GST_START_TEST),
26769         (gst_controller_suite):
26770         * docs/gst/tmpl/gstcaps.sgml:
26771         * docs/gst/tmpl/gstghostpad.sgml:
26772         * docs/gst/tmpl/gstquery.sgml:
26773         * docs/gst/tmpl/gstutils.sgml:
26774         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26775         (gst_object_sink_values), (gst_object_get_value_arrays),
26776         (gst_object_get_value_array):
26777           gracefully handle helper method calls to objects that are not beeing
26778           controlled, added test case for that          
26779
26780 2005-08-23  Wim Taymans  <wim@fluendo.com>
26781
26782         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26783         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26784         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26785         (gst_event_parse_qos), (gst_event_new_seek),
26786         (gst_event_parse_seek):
26787         * gst/gstevent.h:
26788         Some more debugging output and doc cleanups.
26789
26790         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26791         Fix possible deadlock.
26792
26793 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26794
26795         * docs/gst/gstreamer-docs.sgml:
26796         * docs/gst/gstreamer-sections.txt:
26797         * docs/gst/gstreamer.types:
26798         * docs/gst/tmpl/.cvsignore:
26799         * gst/gstbin.h:
26800         * gst/gstbus.c:
26801         * gst/gstelement.c:
26802         * gst/gstevent.h:
26803           added 100 symbols from gstreamer-unused.txt to the right sections
26804           fixed more broken comments
26805           added GstBus to docs
26806
26807 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26808
26809         * docs/gst/gstreamer-sections.txt:
26810         * docs/gst/tmpl/.cvsignore:
26811         * docs/gst/tmpl/gstbin.sgml:
26812         * docs/gst/tmpl/gstbuffer.sgml:
26813         * gst/base/gstbasesrc.c:
26814         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26815         * gst/gstbuffer.c:
26816         * gst/gstbuffer.h:
26817         * tools/gst-launch.1.in:
26818           inlined more doc comments, added missing comments and fixed comments
26819           fixed typos
26820
26821 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26822
26823         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26824           some debugging
26825         * gst/gstcaps.h:
26826           whitespace fixes
26827         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26828           more debugging
26829         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26830         * gst/gststructure.h:
26831           add a fixate function for booleans; add a FIXME that these func
26832           names should probably be gst_structure_fixate_*
26833
26834 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26835
26836         * docs/gst/gstreamer-docs.sgml:
26837         * docs/gst/gstreamer-sections.txt:
26838         * gst/Makefile.am:
26839         * gst/gstbin.c: (gst_bin_get_type),
26840         (gst_bin_child_proxy_get_child_by_index),
26841         (gst_bin_child_proxy_get_children_count),
26842         (gst_bin_child_proxy_init):
26843         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26844         (gst_child_proxy_get_child_by_index),
26845         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26846         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26847         (gst_child_proxy_get), (gst_child_proxy_set_property),
26848         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26849         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26850         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26851         * gst/gstchildproxy.h:
26852         * gst/parse/grammar.y:
26853         * tools/gst-inspect.c: (print_interfaces),
26854         (print_element_properties_info), (print_element_info):
26855           ported gstchildproxy over from 0.8
26856           ported gst-inspect fixes and enhancements over from 0.8
26857
26858 2005-08-22  Wim Taymans  <wim@fluendo.com>
26859
26860         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26861         (gst_base_transform_handle_buffer):
26862         Also call the transform function if we have ANY caps.
26863
26864         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26865         Fix debug info.
26866
26867 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26868
26869         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26870           Don't pretend to handle seek events if the source is not seekable
26871
26872 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26873
26874         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26875           Remove extra parameter to debug output
26876
26877         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26878         (gst_base_src_do_seek), (gst_base_src_activate_push):
26879           Fix seek event handling.
26880
26881         * gst/gstpipeline.c: (gst_pipeline_change_state):
26882         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26883         (gst_queue_src_activate_push):
26884           Don't start the src pad task on FLUSH_STOP if the pad
26885           isn't linked.
26886           Debug changes.
26887
26888 2005-08-22  Wim Taymans  <wim@fluendo.com>
26889
26890         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26891         Added check for gst_static_caps_get() refcounting.
26892
26893 2005-08-22  Wim Taymans  <wim@fluendo.com>
26894
26895         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26896         Make _static_caps_get() refcounting sane.
26897         
26898         * gst/gstelement.c: (gst_element_set_state):
26899         Add g_return_val_if_fail() to protect against segfaults.
26900
26901 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26902
26903         * docs/gst/tmpl/gstevent.sgml:
26904         * gst/gstevent.c:
26905         * gst/gstevent.h:
26906           inlined remaining docs, added missing doc comments
26907
26908 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26909
26910         * check/gst/gstbin.c: (GST_START_TEST):
26911           since we don't know when preroll is done, use refcount range
26912           check for the sink
26913         * gst/check/gstcheck.h:
26914           add macro for checking refcount range
26915
26916 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26917
26918         * check/Makefile.am:
26919           clean up environment for when registry gets built versus
26920           when actual tests are run; valgrind seems to not report
26921           leaks if GST_PLUGIN_PATH is set to some specific values
26922         * check/gst/gstbin.c: (GST_START_TEST):
26923           add more refcounting checks; maybe this exposes a
26924           preroll lock bug ?
26925         * common/check.mak:
26926         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26927         * gst/check/gstcheck.h:
26928         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26929         (gst_bin_change_state):
26930         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26931           add/fix debugging/whitespace
26932
26933 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26934
26935         * check/gst/gstevent.c: (event_probe), (test_event),
26936         (GST_START_TEST):
26937          Er, don't call gst_bin_watch_for_state_change you idiot.
26938
26939 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26940
26941         * check/Makefile.am:
26942           Use CHECK_CFLAGS and CHECK_LIBS
26943         * check/gst/gstevent.c: (event_probe), (test_event),
26944         (GST_START_TEST):
26945           Don't leak events.
26946         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26947         (gst_base_src_start), (gst_base_src_stop),
26948         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26949         (gst_base_src_change_state):
26950           Sprinkle gst_base_src_stop liberally around error paths to fix
26951           problems reusing a source after failed state changes.
26952         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26953         (helper_find_suggest), (gst_type_find_helper):
26954           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26955         * gst/gstevent.h:
26956         * docs/gst/tmpl/gstevent.sgml:
26957           Migrate part of the docs from the SGML file. Wait for ensonic to
26958           tell me how I did it wrong ;)
26959         * tools/gst-typefind.c: (main):
26960           Extra robustness to state changes between files.
26961
26962 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26963
26964         * check/Makefile.am:
26965           don't valgrind the controller test - it's leaking - Stefan, HELP
26966         * gst/check/gstcheck.c: (gst_check_message_error),
26967         (gst_check_chain_func), (gst_check_setup_element),
26968         (gst_check_teardown_element), (gst_check_setup_src_pad),
26969         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26970         (gst_check_teardown_sink_pad):
26971         * gst/check/gstcheck.h:
26972           add a bunch of methods to set up elements, and src and sink pads
26973         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26974         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26975         (GST_START_TEST):
26976           use them
26977         * gst/gstmessage.c:
26978         * gst/gsttag.h:
26979           whitespace/doc fixes
26980
26981 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26982
26983         * gst/gstelement.h:
26984           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26985           be handled by the application and not always printed as well
26986
26987 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26988
26989         * check/Makefile.am:
26990           set GST_TOOLS_DIR
26991         * gst/check/gstcheck.c: (gst_check_message_error):
26992         * gst/check/gstcheck.h:
26993           add a fail_unless_equals_int
26994           add fail_unless for error messages
26995
26996 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26997
26998         * check/Makefile.am:
26999         * check/gst.supp:
27000         * common/Makefile.am:
27001         * common/check.mak:
27002         * common/gst.supp:
27003           factor out some of the common stuff so we can use it
27004
27005 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
27006
27007         * check/Makefile.am:
27008         * check/gst/gstiterator.c: (GST_START_TEST):
27009         * check/gst/gstsystemclock.c: (GST_START_TEST),
27010         (gst_systemclock_suite):
27011         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
27012         * gst/gstclock.c:
27013           valgrind more tests
27014
27015 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
27016
27017         * check/elements/.cvsignore:
27018         * check/elements/gstfakesrc.c:
27019           rename to name of element
27020         * check/elements/identity.c: (chain_func), (event_func),
27021         (setup_identity), (cleanup_identity), (GST_START_TEST),
27022         (identity_suite), (main):
27023           add a test for identity
27024         * check/Makefile.am:
27025         * pkgconfig/Makefile.am:
27026         * pkgconfig/gstreamer-check.pc.in:
27027         * pkgconfig/gstreamer-check-uninstalled.pc.in:
27028         * gst/check:
27029         * gst/Makefile.am:
27030         * configure.ac:
27031           move the check stuff to a library that gets installed
27032         * check/gst-libs/controller.c: (GST_START_TEST):
27033         * check/gst-libs/gdp.c:
27034         * check/gst/gst.c: (GST_START_TEST):
27035         * check/gst/gstbin.c:
27036         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27037         * check/gst/gstbus.c:
27038         * check/gst/gstcaps.c: (GST_START_TEST):
27039         * check/gst/gstelement.c:
27040         * check/gst/gstghostpad.c:
27041         * check/gst/gstiterator.c:
27042         * check/gst/gstmessage.c:
27043         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
27044         * check/gst/gstobject.c:
27045         * check/gst/gstpad.c: (GST_START_TEST):
27046         * check/gst/gststructure.c: (GST_START_TEST):
27047         * check/gst/gstsystemclock.c: (GST_START_TEST),
27048         (gst_systemclock_suite):
27049         * check/gst/gsttag.c: (gst_tag_suite):
27050         * check/gst/gstvalue.c:
27051         * check/pipelines/cleanup.c:
27052         * check/pipelines/simple_launch_lines.c:
27053         * check/states/sinks.c:
27054           change include statement
27055
27056         * docs/gst/gstreamer-sections.txt:
27057         * docs/gst/tmpl/gstpad.sgml:
27058           document more pad stuff
27059         * gst/gstminiobject.c: (gst_mini_object_ref),
27060         (gst_mini_object_unref):
27061           debug refcounting
27062
27063 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
27064
27065         * docs/gst/tmpl/gst.sgml:
27066         * gst/gst.c:
27067           eliminate another tmpl file, fix spelling in the long-description
27068
27069 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27070
27071         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27072         (test_event), (timediff), (gstevents_suite):
27073           Should fix build on 64-bit arch's
27074
27075 2005-08-18  Andy Wingo  <wingo@pobox.com>
27076
27077         Make sure that when a pipeline goes to PLAYING, that data has
27078         actually hit the sink.
27079
27080         * check/states/sinks.c (test_sink): A sink that doesn't get any
27081         data shouldn't return SUCCESS for going to either PLAYING or
27082         PAUSED. Test also the return values on the way back down.
27083
27084         * gst/gstelement.c (gst_element_set_state): When changing the
27085         state of an element currently changing state asynchronously, go to
27086         lost-state after commiting the pending state. Makes future calls
27087         to get_state continue to return ASYNC.
27088
27089         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
27090         ASYNC when going to PLAYING if we still don't have preroll, as can
27091         happen with live sources.
27092
27093 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27094
27095         * docs/pwg/advanced-types.xml:
27096           Hack long paragraph into 2 chunks as a workaround for buggy
27097           jadetex version in sid and breezy that loops infinitely and
27098           eats all RAM.
27099
27100 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27101
27102         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27103         (test_event), (timediff), (gstevents_suite):
27104           Provide more error margin in clock measurements to allow for 
27105           g_get_current_time inaccuracies.
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            Fix error message output so I might be able to tell why the
27112            test works here but fails on the build farm.
27113
27114 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27115
27116         * check/Makefile.am:
27117         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27118         (test_event), (timediff), (gstevents_suite), (main):
27119           I wrote a test!
27120
27121         * docs/design/part-seeking.txt:
27122           Spelling correction
27123
27124         * docs/gst/tmpl/gstevent.sgml:
27125         * docs/gst/tmpl/gstfakesrc.sgml:
27126           Docs updates.
27127
27128         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27129           Treat a buffer-without-newsegment the same as a receiving 
27130           a newsegment not in time format, and disable syncing to the clock
27131           with a warning.
27132
27133         * gst/gstbus.c: (gst_bus_set_sync_handler):
27134           Assert if anyone tries to replace the existing sync_handler for bus, 
27135           as only the owner should be setting it.
27136
27137         * gst/gstevent.h:
27138           Have a fixed set of custom event enums with events identified by
27139           their structure name (as in 0.8), rather than a free-for-all
27140           allowing collisions between enum values from different plugins.
27141
27142         * gst/gstpad.c: (gst_pad_class_init):
27143           Docs change.
27144           
27145         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27146           Handle out-of-band downstream events from the sending thread.
27147
27148 2005-08-17  Andy Wingo  <wingo@pobox.com>
27149
27150         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
27151         play-timeout==0 to mean no timeout at all. In that case, don't
27152         bother with a get_state or a warning, just return directly, even
27153         if it's ASYNC.
27154
27155         * gst/base/gstbasetransform.c: Debug changes.
27156
27157         * gst/gstutils.h:
27158         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
27159         ensure bins post state change messages. A bit of a hack but I can't
27160         think of a way to avoid it.
27161
27162         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
27163
27164 2005-08-16  Andy Wingo  <wingo@pobox.com>
27165
27166         * gst/base/gstadapter.h:
27167         * gst/base/gstadapter.c (gst_adapter_take): New function, like
27168         peek() but you own the data. Not terribly efficient atm.
27169
27170 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27171
27172         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
27173         (gst_element_found_tags):
27174         * gst/gstutils.h:
27175           Add two utility functions for tag handling.
27176
27177 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27178
27179         * docs/manual/advanced-dataaccess.xml:
27180         * docs/manual/basics-helloworld.xml:
27181           Fix docs to use _bin_add() before _link(), which fixes the examples
27182           with recent core versions (reported by Madhan Raj M
27183           <raj_madan@rediffmail.com>, #313199).
27184
27185 2005-08-16  Wim Taymans  <wim@fluendo.com>
27186
27187         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27188         Added subtract checks.
27189
27190         * docs/design/part-events.txt:
27191         Some more docs about newsegment
27192
27193         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27194         Fix FIXME
27195
27196         * gst/gstcaps.c: (gst_caps_to_string):
27197         Add comments, cleanups.
27198         
27199         * gst/gstelement.c: (gst_element_save_thyself):
27200         cleanups
27201         
27202         * gst/gstvalue.c: (gst_value_collect_int_range),
27203         (gst_string_unwrap), (gst_value_union_int_int_range),
27204         (gst_value_union_int_range_int_range),
27205         (gst_value_intersect_int_int_range),
27206         (gst_value_intersect_int_range_int_range),
27207         (gst_value_intersect_double_double_range),
27208         (gst_value_intersect_double_range_double_range),
27209         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27210         (gst_value_subtract_int_range_int),
27211         (gst_value_subtract_double_range_double),
27212         (gst_value_subtract_double_range_double_range),
27213         (gst_value_subtract_from_list), (gst_value_subtract_list),
27214         (gst_value_can_compare), (gst_value_compare_fraction):
27215         Cleanups, add comments, remove unneeded asserts.
27216
27217 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27218
27219         * tools/gst-launch.c: (event_loop):
27220           don't convert NULL structures to strings
27221
27222 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
27223
27224         * docs/gst/gstreamer-sections.txt:
27225           made some defines private
27226         * docs/gst/tmpl/gstconfig.sgml:
27227         * docs/gst/tmpl/gstqueue.sgml:
27228         * docs/gst/tmpl/gsttaglist.sgml:
27229         * docs/gst/tmpl/gsttypes.sgml:
27230         * docs/gst/tmpl/gstutils.sgml:
27231         * docs/pwg/appendix-porting.xml:
27232         * gst/base/gstbasesink.h:
27233         * gst/base/gstbasesrc.c:
27234         * gst/base/gstbasesrc.h:
27235         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27236         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27237         * gst/gstelement.c: (gst_element_class_init):
27238         * gst/gstpad.c: (gst_pad_class_init):
27239         * gst/gstqueue.c: (gst_queue_class_init):
27240         * gst/gstxml.c: (gst_xml_class_init):
27241           documented all undocumented signal inline
27242         * libs/gst/controller/gst-controller.h:
27243           added padding
27244
27245 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27246
27247         * docs/pwg/appendix-porting.xml:
27248           Document _set_link_function -> _set_setcaps_function.
27249
27250 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27251
27252         * check/Makefile.am:
27253           add a .check target for running the check
27254         * check/gst-libs/controller.c: (GST_START_TEST):
27255           cosmetic fixups
27256         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27257           complete checks for gstbuffer; would be nice if I could get the
27258           gcov stuff to work so I can see if I actually completed gstbuffer.c
27259         * check/gstcheck.h:
27260           add ASSERT_BUFFER_REFCOUNT
27261
27262 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
27263
27264         * docs/gst/gstreamer-sections.txt:
27265         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27266         * gst/gsttag.h:
27267           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27268           spew out a warning if a tag that is already registered
27269           is re-registered, unless it is re-registered with a 
27270           different type (#308438).
27271
27272 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
27273
27274         * docs/pwg/appendix-porting.xml:
27275         * docs/pwg/building-state.xml:
27276           Add some paragraphs about state changes in 0.9 to the PWG
27277           and the porting guide, in particular about the new meaning
27278           of GST_STATE_PAUSED and how to write state change functions
27279           with concurrent access by multiple threads in mind.
27280
27281 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
27282
27283         * docs/gst/gstreamer-docs.sgml:
27284         * docs/libs/gstreamer-libs-docs.sgml:
27285           added deprecation and since indexes
27286         * libs/gst/controller/gst-controller.c:
27287         * libs/gst/controller/gst-helper.c:
27288           added since tags
27289
27290
27291 2005-08-11  Wim Taymans  <wim@fluendo.com>
27292
27293         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27294         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27295         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27296         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27297         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27298         (gst_ghost_pad_set_target):
27299         Actually implement (re)setting the target on a ghostpad
27300         as described in the docs.
27301
27302 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27303
27304         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27305           Check whether GST_DEBUG_NO_COLOR environment variable is
27306           set and disable coloured debug output if that is the case.
27307
27308 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27309
27310         * gst/base/gsttypefindhelper.c: (helper_find_peek),
27311         (gst_type_find_helper):
27312           The memory returned by gst_type_find_peek() needs to
27313           stay valid until the end of a typefind function, and
27314           typefind functions may keep results from different 
27315           offsets around, so we can't just unref the buffer from
27316           the previous _peek(), but have to save all buffers 
27317           returned by _peek() until typefinding is done and only
27318           free them then.
27319
27320 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
27321
27322         * docs/gst/gstreamer-sections.txt:
27323         * gst/gstutils.h:
27324           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27325
27326 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27327
27328         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27329           Fix a pretty good memleak.
27330
27331 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27332
27333         * gst/gstiterator.h:
27334           Fix wrong include and 'make distcheck'.
27335
27336 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27337
27338         * gst/gstbin.c: (bin_bus_handler):
27339           Use gst_element_post_message() instead.
27340
27341 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27342
27343         * gst/base/gstadapter.h:
27344         * gst/base/gstbasesink.h:
27345         * gst/base/gstbasesrc.h:
27346         * gst/base/gstbasetransform.h:
27347         * gst/base/gstcollectpads.h:
27348         * gst/base/gstpushsrc.h:
27349         * gst/gstiterator.h:
27350           Add padding to our base elements' class and instance structs and
27351           to GstIterator (you will need to rebuild all plugins and apps!)
27352
27353 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27354
27355         * gst/gstbin.c: (bin_bus_handler):
27356           Make default message forwarding from child->bus to bin->bus
27357           threadsafe and make it not emit warnings if the parent has no bus.
27358
27359 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27360
27361         * gst/gstelement.c: (activate_pads):
27362           On paused->ready, set pad->caps to NULL, as is the documented
27363           behaviour in this state change. Fixes playback of series of
27364           media files when visualization is enabled in Totem.
27365
27366 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27367
27368         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27369           Allow NULL as filter-caps (which means "any").
27370
27371 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27372
27373         * docs/libs/gstreamer-libs-sections.txt:
27374         * libs/gst/controller/gst-controller.c:
27375         * libs/gst/controller/gst-controller.h:
27376         * libs/gst/controller/gst-helper.c:
27377           adding more entries to the docs and fix small doc-bugs
27378
27379 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27380
27381         * docs/gst/gstreamer-docs.sgml:
27382         * docs/gst/gstreamer-sections.txt:
27383         * docs/gst/gstreamer.types:
27384         * docs/gst/tmpl/gstbasesink.sgml:
27385         * docs/gst/tmpl/gstbasesrc.sgml:
27386         * docs/gst/tmpl/gstbasetransform.sgml:
27387         * docs/gst/tmpl/gstfakesrc.sgml:
27388         * gst/base/gstcollectpads.c:
27389         * gst/base/gstcollectpads.h:
27390         * libs/gst/controller/gst-controller.c:
27391         * libs/gst/controller/gst-controller.h:
27392         * libs/gst/controller/gst-helper.c:
27393         * libs/gst/controller/gst-interpolation.c:
27394         * libs/gst/controller/lib.c:
27395           added long/short desc for controller docs
27396           added collectpads base class docs
27397           added correct includes to base-class docs
27398
27399 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27400
27401         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27402         (gst_test_mono_source_set_property),
27403         (gst_test_mono_source_class_init), (GST_START_TEST),
27404         (gst_controller_suite):
27405         * docs/gst/gstreamer-docs.sgml:
27406         * docs/gst/gstreamer-sections.txt:
27407         * docs/gst/gstreamer.types:
27408         * docs/libs/gstreamer-libs-docs.sgml:
27409         * docs/libs/gstreamer-libs-sections.txt:
27410         * gst/base/gstadapter.c:
27411         * libs/gst/controller/gst-controller.c:
27412         (gst_controlled_property_new), (gst_controlled_property_free),
27413         (gst_controller_new_valist),
27414         (gst_controller_remove_properties_valist),
27415         (gst_controller_sink_values), (_gst_controller_finalize):
27416         * libs/gst/controller/gst-controller.h:
27417         * libs/gst/controller/gst-helper.c:
27418         (gst_object_control_properties), (gst_object_uncontrol_properties),
27419         (gst_object_get_controller), (gst_object_set_controller),
27420         (gst_object_sink_values), (gst_object_get_value_arrays),
27421         (gst_object_get_value_array):
27422           more tests (and fixes) for the controller
27423           more docs for the controller
27424           integrated companies docs for the adapter 
27425
27426 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27427
27428         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27429         (GST_START_TEST), (fakesrc_suite):
27430           add tests for sizetype
27431
27432 2005-08-04  Andy Wingo  <wingo@pobox.com>
27433
27434         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27435         fixes buffer_alloc proxying among other things.
27436
27437         * gst/base/gstbasetransform.c:
27438         * gst/base/gstbasetransform.h:
27439         Revert patch to gstbasetransform from 7-28 removing
27440         delay_configure.
27441
27442         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27443         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27444         Semantics changed, should return not the size of the output buffer
27445         but the byte size of a buffer with a given caps.
27446
27447         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27448         debug object.
27449         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27450         out) are not the pad caps until setcaps finishes.
27451         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27452         not-in-place case as well. Deal with changing from in-place to
27453         not-in-place within calling pad_alloc_buffer. Still a bit
27454         concerned about the overhead here...
27455
27456 2005-08-03  Andy Wingo  <wingo@pobox.com>
27457
27458         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27459         fixating is an error.
27460
27461 2005-08-04  Edward Hervey  <edward@fluendo.com>
27462
27463         * gst/base/gstadapter.h: 
27464         Added gst_adapter_get_type() to the header
27465
27466 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27467
27468         * check/Makefile.am:
27469         * check/gst-libs/controller.c:
27470         * libs/gst/controller/gst-controller.c:
27471         (gst_controller_new_valist):
27472           added check test suite for the controller
27473         * gst/base/gstpushsrc.c:
27474           fixed a doc typo
27475
27476 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27477
27478         * docs/gst/Makefile.am:
27479         * docs/gst/gstreamer-docs.sgml:
27480         * docs/gst/gstreamer-sections.txt:
27481         * docs/gst/gstreamer.types:
27482         * docs/gst/tmpl/gstfakesrc.sgml:
27483         * gst/base/README:
27484         * gst/base/gstbasesink.c:
27485         * gst/base/gstbasesink.h:
27486         * gst/base/gstbasesrc.c:
27487         * gst/base/gstbasesrc.h:
27488         * gst/base/gstbasetransform.c:
27489         * gst/base/gstpushsrc.c:
27490         * gst/base/gstpushsrc.h:
27491           add short/long description docs to base classes
27492           add pushsrc to the docs
27493           remove consolidated doc fragments
27494
27495 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27496
27497         * configure.ac:
27498         * docs/libs/Makefile.am:
27499         * docs/libs/gstreamer-libs-docs.sgml:
27500         * docs/libs/gstreamer-libs-sections.txt:
27501         * docs/libs/gstreamer-libs.types:
27502         * examples/Makefile.am:
27503         * examples/controller/.cvsignore:
27504         * examples/controller/Makefile.am:
27505         * examples/controller/audio-example.c: (main):
27506         * libs/gst/Makefile.am:
27507         * libs/gst/controller/.cvsignore:
27508         * libs/gst/controller/Makefile.am:
27509         * libs/gst/controller/gst-controller.c:
27510         (on_object_controlled_property_changed), (gst_timed_value_compare),
27511         (gst_timed_value_find),
27512         (gst_controlled_property_set_interpolation_mode),
27513         (gst_controlled_property_new), (gst_controlled_property_free),
27514         (gst_controller_find_controlled_property),
27515         (gst_controller_new_valist), (gst_controller_new),
27516         (gst_controller_remove_properties_valist),
27517         (gst_controller_remove_properties), (gst_controller_set),
27518         (gst_controller_set_from_list), (gst_controller_unset),
27519         (gst_controller_get), (gst_controller_get_all),
27520         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27521         (gst_controller_get_value_array),
27522         (gst_controller_set_interpolation_mode),
27523         (_gst_controller_finalize), (_gst_controller_init),
27524         (_gst_controller_class_init), (gst_controller_get_type):
27525         * libs/gst/controller/gst-controller.h:
27526         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27527         (g_object_uncontrol_properties), (g_object_get_controller),
27528         (g_object_set_controller), (g_object_sink_values),
27529         (g_object_get_value_arrays), (g_object_get_value_array):
27530         * libs/gst/controller/gst-interpolation.c:
27531         (gst_controlled_property_find_timed_value_node),
27532         (interpolate_none_get), (interpolate_trigger_get),
27533         (interpolate_trigger_get_value_array):
27534         * libs/gst/controller/lib.c: (gst_controller_init):
27535         * pkgconfig/Makefile.am:
27536         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27537         * pkgconfig/gstreamer-control.pc.in:
27538         * testsuite/Makefile.am:
27539         * testsuite/controller/.cvsignore:
27540         * testsuite/controller/Makefile.am:
27541         * testsuite/controller/interpolator.c: (main):
27542           added controller code
27543           removed dparam pc files
27544
27545 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27546         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27547         (gst_collectpads_stop):
27548           Broadcast the condition when shutting down, to make sure we wake all
27549           threads up. Shut down pads on finalize, for safety.
27550
27551 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27552         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27553         (gst_base_transform_handle_buffer),
27554         (gst_base_transform_change_state):
27555           Handle PAUSED->READY->PAUSED transition after negotiation
27556           occurred already.
27557         * gst/gstmessage.c: (gst_message_init):
27558           Extra piece of debug for new messages.
27559
27560 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27561
27562         * configure.ac:
27563         * docs/gst/tmpl/gstbasesrc.sgml:
27564         * docs/gst/tmpl/gstelement.sgml:
27565         * docs/gst/tmpl/gstevent.sgml:
27566         * docs/gst/tmpl/gstfakesrc.sgml:
27567         * docs/gst/tmpl/gstformat.sgml:
27568         * docs/gst/tmpl/gstghostpad.sgml:
27569         * docs/gst/tmpl/gstpad.sgml:
27570         * docs/gst/tmpl/gstquery.sgml:
27571         * docs/gst/tmpl/gststructure.sgml:
27572         * docs/gst/tmpl/gsttaglist.sgml:
27573         * docs/gst/tmpl/gstvalue.sgml:
27574         * docs/libs/gstreamer-libs-docs.sgml:
27575         * docs/libs/gstreamer-libs-sections.txt:
27576         * docs/libs/gstreamer-libs.types:
27577         * libs/gst/Makefile.am:
27578         * libs/gst/control/.cvsignore:
27579         * libs/gst/control/Makefile.am:
27580         * libs/gst/control/control.c:
27581         * libs/gst/control/control.h:
27582         * libs/gst/control/dparam.c:
27583         * libs/gst/control/dparam.h:
27584         * libs/gst/control/dparam_smooth.c:
27585         * libs/gst/control/dparam_smooth.h:
27586         * libs/gst/control/dparamcommon.h:
27587         * libs/gst/control/dparammanager.c:
27588         * libs/gst/control/dparammanager.h:
27589         * libs/gst/control/dplinearinterp.c:
27590         * libs/gst/control/dplinearinterp.h:
27591         * libs/gst/control/unitconvert.c:
27592         * libs/gst/control/unitconvert.h:
27593         * testsuite/Makefile.am:
27594         * testsuite/dynparams/.cvsignore:
27595         * testsuite/dynparams/Makefile.am:
27596         * testsuite/dynparams/dparamstest.c:
27597         * tools/Makefile.am:
27598         * tools/gst-inspect.c: (print_element_info), (main):
27599         * tools/gst-xmlinspect.c: (print_element_info), (main):
27600           deactivate and remove dparams (libgstcontrol)
27601
27602 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27603
27604         * gst/elements/gsttypefindelement.c:
27605         (gst_type_find_element_have_type), (gst_type_find_element_init),
27606         (stop_typefinding), (gst_type_find_element_handle_event),
27607         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27608         * gst/elements/gsttypefindelement.h:
27609           Set caps on all outgoing buffers, not just the first one.
27610
27611 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27612
27613         * gst/elements/gsttypefindelement.c:
27614         (gst_type_find_element_have_type),
27615         (gst_type_find_element_check_set_buffer_caps),
27616         (gst_type_find_element_init), (stop_typefinding),
27617         (gst_type_find_element_handle_event),
27618         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27619         * gst/elements/gsttypefindelement.h:
27620           Set caps on first outgoing buffer when we've found the type.
27621
27622 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27623
27624         * docs/gst/gstreamer-docs.sgml:
27625         * docs/gst/gstreamer-sections.txt:
27626         * docs/gst/tmpl/gstscheduler.sgml:
27627         * docs/gst/tmpl/gstschedulerfactory.sgml:
27628           Remove some old cruft from docs.
27629
27630 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27631
27632         * gst/gstpad.h:
27633           Fix inline docs for GstPadLinkReturn.
27634           
27635         * gst/gststructure.c: (gst_structure_has_name):
27636         * gst/gststructure.h:
27637         * docs/gst/gstreamer-sections.txt:
27638           New API: gst_structure_has_name().
27639
27640 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27641
27642         * configure.ac:
27643           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27644           and _LARGEFILE_SOURCE in config.h as required. Do not 
27645           export those flags in our .pc files any longer (#142209).
27646
27647           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27648
27649         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27650         (gst_file_sink_do_seek), (gst_file_sink_event),
27651         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27652           Redo seek/tell calls with large file support in mind; add some
27653           debugging messages; add log message that tells us when large
27654           file support is unavailable or not enabled for some reason.
27655
27656         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27657           Add log message that tells us when large file support 
27658           is unavailable or not enabled for some reason.
27659
27660 2005-07-29  Wim Taymans  <wim@fluendo.com>
27661
27662         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27663         Added test for removing an element with ghostpad from a bin.
27664         Fixed test as current implementation does the right thing.
27665
27666         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27667         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27668         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27669         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27670         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27671         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27672         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27673         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27674         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27675         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27676         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27677         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27678         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27679         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27680         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27681         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27682         * gst/gstghostpad.h:
27683         Clean up ghostpads, remove properties for internal stuff.
27684         Make threadsafe.
27685         Fix refcounting.
27686         Prepare for switching targets, not all use cases work yet.
27687
27688 2005-07-29  Wim Taymans  <wim@fluendo.com>
27689
27690         * docs/design/part-gstghostpad.txt:
27691         Small update.
27692
27693         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27694         (gst_bin_remove_func):
27695         Unlinking pads while holding the bin LOCK is not a good
27696         idea.
27697
27698         * gst/gstpad.c: (gst_pad_class_init),
27699         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27700         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27701         No prob setting template after creating the pad.
27702
27703 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27704
27705         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27706         (gst_bus_peek), (gst_bus_source_dispatch),
27707         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27708         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27709           gst_bus_poll may be called from other threads. Handle
27710           this nicely by not making poll_data disappear off the
27711           stack once gst_bus_poll returns.
27712           gst_bus_peek now increments the refcount on the returned
27713           message.
27714
27715 2005-07-29  Wim Taymans  <wim@fluendo.com>
27716
27717         * docs/design/part-gstghostpad.txt:
27718         Overview of current GhostPad datastructures and use
27719         cases for changing the target.
27720
27721 2005-07-28  Wim Taymans  <wim@fluendo.com>
27722
27723         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27724         Added checks for hierarchy consistency whan adding linked
27725         elements to bins.
27726
27727         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27728         Added check to test element scheduling without bin/pipeline.
27729
27730         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27731         First add elements to bin, then link.
27732         
27733         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27734         (gst_bin_remove_func):
27735         Unlink pads from elements added/removed from bin to maintain
27736         hierarchy consistency.
27737
27738 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27739
27740         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27741         (gst_base_transform_handle_buffer):
27742         * gst/base/gstbasetransform.h:
27743           Remove broken delay_configure (fixes renegotiation of software
27744           scaling pipelines); remove some leftover printf()s.
27745
27746 2005-07-28  Wim Taymans  <wim@fluendo.com>
27747
27748         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27749         Added some more tests for wrong hierarchy
27750
27751         * docs/design/part-overview.txt:
27752         Some updates.
27753
27754         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27755         Cleanups.
27756
27757         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27758         (gst_element_dispose):
27759         Some more cleanups.
27760
27761         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27762         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27763         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27764         (gst_pad_set_caps), (gst_pad_send_event):
27765         Check for correct hierarchy when linking pads. Moving to
27766         strict requirement for ghostpads when linking elements in
27767         different bins.
27768
27769         * gst/gstpad.h:
27770         Clean ups. Added WRONG_HIERARCHY return value.
27771
27772 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27773
27774         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27775           Better debug if no transform is possible.
27776
27777 2005-07-27  Wim Taymans  <wim@fluendo.com>
27778
27779         * docs/random/wtay/network-transp:
27780         Some old doc I had.
27781
27782 2005-07-27  Wim Taymans  <wim@fluendo.com>
27783
27784         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27785         (gst_dp_event_from_packet):
27786         Fix serialization of seek events.
27787
27788 2005-07-27  Wim Taymans  <wim@fluendo.com>
27789
27790         * check/gst-libs/gdp.c: (GST_START_TEST):
27791         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27792         Fix compilation and fix event serialization.
27793
27794 2005-07-27  Wim Taymans  <wim@fluendo.com>
27795
27796         * CHANGES-0.9:
27797         * docs/design/part-TODO.txt:
27798         * docs/design/part-events.txt:
27799         Some docs updates
27800
27801         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27802         (gst_base_sink_event), (gst_base_sink_do_sync),
27803         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27804         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27805         (gst_base_src_do_seek), (gst_base_src_event_handler),
27806         (gst_base_src_loop):
27807         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27808         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27809         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27810         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27811         (gst_base_transform_set_passthrough),
27812         (gst_base_transform_is_passthrough):
27813         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27814         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27815         Event updates.
27816
27817         * gst/gstbuffer.h:
27818         Use faster casts.
27819
27820         * gst/gstelement.c: (gst_element_seek):
27821         * gst/gstelement.h:
27822         Update gst_element_seek.
27823
27824         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27825         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27826         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27827         (gst_event_new_eos), (gst_event_new_newsegment),
27828         (gst_event_parse_newsegment), (gst_event_new_tag),
27829         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27830         (gst_event_parse_qos), (gst_event_new_seek),
27831         (gst_event_parse_seek), (gst_event_new_navigation):
27832         * gst/gstevent.h:
27833         Make GstEvent use GstStructure. Add parsing code, make sure the
27834         API is sufficiently generic.
27835         Mark possible directions of events and serialization.
27836
27837         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27838         (_gst_message_copy), (gst_message_new_segment_start),
27839         (gst_message_new_segment_done), (gst_message_new_custom),
27840         (gst_message_parse_segment_start),
27841         (gst_message_parse_segment_done):
27842         Small cleanups.
27843
27844         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27845         (gst_pad_set_caps), (gst_pad_send_event):
27846         Update for new events. 
27847         Catch events sent in wrong directions.
27848
27849         * gst/gstqueue.c: (gst_queue_link_src),
27850         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27851         (gst_queue_handle_src_query):
27852         Event updates.
27853
27854         * gst/gsttag.c:
27855         * gst/gsttag.h:
27856         Remove event code from this file.
27857
27858         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27859         (gst_dp_event_from_packet):
27860         Event updates.
27861
27862 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27863
27864         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27865         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27866         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27867           Make debugging actually useful.
27868
27869 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27870
27871         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27872         (gst_pad_fixate_caps):
27873           Implement default fixation once again, so that gst_pad_fixate()
27874           actually does anything at all. This probably needs to be some
27875           sort of a last resort, and use profile-based fixation first, but
27876           since that doesn't exist yet, this is the best we have. Fixes
27877           visualization in Totem.
27878
27879 2005-07-22  Wim Taymans  <wim@fluendo.com>
27880
27881         * docs/design/part-events.txt:
27882         Small update.
27883
27884         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27885         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27886         (gst_base_sink_activate_pull):
27887         Some more comments.
27888
27889         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27890         (gst_fake_src_create):
27891         Fix handoff marshall.
27892
27893         * gst/elements/gstidentity.c: (gst_identity_class_init),
27894         (gst_identity_transform_ip):
27895         We're a real inplace element.
27896
27897         * gst/gstbus.c: (gst_bus_post):
27898         Added some comments.
27899
27900         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27901         * tests/muxing/case1.c: (main):
27902         * tests/sched/dynamic-pipeline.c: (main):
27903         * tests/sched/interrupt1.c: (main):
27904         * tests/sched/interrupt2.c: (main):
27905         * tests/sched/interrupt3.c: (main):
27906         * tests/sched/runxml.c: (main):
27907         * tests/sched/sched-stress.c: (main):
27908         * tests/seeking/seeking1.c: (event_received), (main):
27909         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27910         (main):
27911         * tests/threadstate/threadstate3.c: (main):
27912         * tests/threadstate/threadstate4.c: (main):
27913         * tests/threadstate/threadstate5.c: (main):
27914         Fix the tests.
27915
27916 2005-07-21  Wim Taymans  <wim@fluendo.com>
27917
27918         * docs/design/part-seeking.txt:
27919         Some small additions.
27920
27921         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27922         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27923         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27924         * gst/base/gstbasesink.h:
27925         discont values are gint64, handle the math correctly.
27926
27927         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27928         Make the basesrc report error if the source pad is not linked.
27929
27930         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27931         (gst_queue_loop), (gst_queue_handle_src_query),
27932         (gst_queue_src_activate_push):
27933         Make queue collect data even if the srcpad is not linked.
27934         Start pushing out data as soon as it is linked.
27935
27936         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27937         * gst/gstutils.h:
27938         Added gst_flow_get_name() to ease error reporting.
27939
27940 2005-07-20  Wim Taymans  <wim@fluendo.com>
27941
27942         * gst/gstmessage.c: (gst_message_new_segment_start),
27943         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27944         (gst_message_parse_segment_done):
27945         * gst/gstmessage.h:
27946         Added a bunch of messages for advanced seeking.
27947
27948         * gst/parse/grammar.y:
27949         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27950         (gst_dpman_state_changed):
27951         Fix some new-pad -> pad-added signals
27952
27953 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27954
27955         * docs/manual/appendix-porting.xml:
27956         * docs/pwg/appendix-porting.xml:
27957           Document new-pad/state-change signal renames and the FixedList
27958           type rename.
27959
27960 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27961
27962         * docs/manual/advanced-autoplugging.xml:
27963         * docs/manual/basics-helloworld.xml:
27964         * docs/manual/basics-pads.xml:
27965         * docs/random/ds/0.9-suggested-changes:
27966         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27967         * gst/gstelement.h:
27968         * gst/gstevent.h:
27969         * gst/gstformat.h:
27970         * gst/gstquery.h:
27971         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27972         (gst_structure_parse_array), (gst_structure_parse_value):
27973         * gst/gstvalue.c: (gst_type_is_fixed),
27974         (gst_value_list_prepend_value), (gst_value_list_append_value),
27975         (gst_value_list_get_size), (gst_value_list_get_value),
27976         (gst_value_transform_array_string), (gst_value_serialize_array),
27977         (gst_value_deserialize_array), (gst_value_intersect_array),
27978         (gst_value_is_fixed), (_gst_value_initialize):
27979         * gst/gstvalue.h:
27980           GstElement::new-pad -> pad-added, GstElement::state-change ->
27981           state-changed, GstValueFixedList -> GstValueArray, add format and
27982           flags as their own arguments in gst_element_seek() (should improve
27983           "bindeability"), remove function generators since they don't work
27984           under a whole bunch of compilers (they were deprecated already
27985           anyway).
27986
27987 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27988
27989         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27990         (_gst_debug_register_funcptr):
27991         * gst/gstinfo.h:
27992           Fix illegal cast on some platforms (#309253).
27993
27994 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27995
27996         * gst/gstmessage.c: (gst_message_new_custom):
27997         * gst/gstmessage.h:
27998           Add _new_custom, make _new_application a macro to _new_custom.
27999
28000 2005-07-20  Wim Taymans  <wim@fluendo.com>
28001
28002         * gst/base/gstbasesrc.c: (gst_base_src_init),
28003         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
28004         * gst/base/gstbasesrc.h:
28005         Add a gboolean to decide when to push out a discont.
28006
28007         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28008         (gst_queue_loop), (gst_queue_handle_src_query),
28009         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
28010         (gst_queue_set_property), (gst_queue_get_property):
28011         Some cleanups.
28012
28013         * tests/threadstate/threadstate1.c: (main):
28014         Make a thread test compile and run... very silly..
28015
28016
28017 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28018
28019         * docs/manual/appendix-porting.xml:
28020           Mention removal of libgstgconf-0.9.la and existence of gconf
28021           elements.
28022
28023 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28024
28025         * docs/pwg/advanced-clock.xml:
28026         * docs/pwg/appendix-porting.xml:
28027         * docs/pwg/intro-preface.xml:
28028         * docs/pwg/other-base.xml:
28029         * docs/pwg/other-manager.xml:
28030         * docs/pwg/other-nton.xml:
28031         * docs/pwg/other-ntoone.xml:
28032         * docs/pwg/other-oneton.xml:
28033         * docs/pwg/pwg.xml:
28034           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
28035           demuxer), remove n-to-n (was never written), fix some code examples
28036           and links and update the porting section to include all this.
28037
28038 2005-07-19  Wim Taymans  <wim@fluendo.com>
28039
28040         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
28041         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
28042         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
28043         (gst_queue_src_activate_push), (gst_queue_change_state),
28044         (gst_queue_get_property):
28045         * gst/gstqueue.h:
28046         Propagate GstFlowReturn more intelligently upstream and output
28047         an ERROR/EOS when streaming stopped due to fatal error.
28048
28049 2005-07-19  Wim Taymans  <wim@fluendo.com>
28050
28051         * tools/gst-launch.c: (check_intr), (event_loop), (main):
28052         Don't block forever for the state change to complete, the
28053         pipeline already did with a sensible timeout.
28054
28055 2005-07-19  Wim Taymans  <wim@fluendo.com>
28056
28057         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
28058         Make sure we never call the create function is we
28059         got deactivated.
28060
28061 2005-07-19  Andy Wingo  <wingo@pobox.com>
28062
28063         * gst/parse/parse.l: Attempt to solve bug #172815.
28064
28065 2005-07-19  Wim Taymans  <wim@fluendo.com>
28066
28067         * docs/design/part-clocks.txt:
28068         * docs/design/part-events.txt:
28069         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
28070         Small docs updates.
28071         Only update the seeking values when we are not
28072         busy streaming.
28073
28074 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
28075
28076         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28077           Oops, ignore the result of gst_pad_push_event here.
28078
28079 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
28080
28081         * gst/base/gstbasesrc.c: (gst_base_src_loop),
28082         (gst_base_src_activate_push):
28083           Send discont event from the loop function, as pads
28084           aren't activated yet in the activate_push handler.
28085
28086         * gst/gstbin.c: (bin_bus_handler):
28087           Don't leak element name.
28088
28089 2005-07-18  Andy Wingo  <wingo@pobox.com>
28090
28091         * configure.ac: Use AS_LIBTOOL_TAGS.
28092
28093 2005-07-18  Wim Taymans  <wim@fluendo.com>
28094
28095         * docs/gst/gstreamer.types:
28096         Remove deleted types.
28097
28098 2005-07-18  Wim Taymans  <wim@fluendo.com>
28099
28100         * check/elements/gstfakesrc.c: (GST_START_TEST):
28101         * configure.ac:
28102         * gst/Makefile.am:
28103         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
28104         (init_popt_callback):
28105         * gst/gst.h:
28106         * gst/gst_private.h:
28107         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
28108         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
28109         * gst/gstbin.h:
28110         * gst/gstbus.h:
28111         * gst/gstconfig.h.in:
28112         * gst/gstelement.c: (gst_element_class_init),
28113         (gst_element_set_base_time), (gst_element_get_base_time),
28114         (iterator_fold_with_resync), (gst_element_change_state),
28115         (gst_element_dispose), (gst_element_get_bus):
28116         * gst/gstelement.h:
28117         * gst/gstelementfactory.h:
28118         * gst/gsterror.c: (_gst_core_errors_init):
28119         * gst/gsterror.h:
28120         * gst/gstevent.h:
28121         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28122         * gst/gstindex.c:
28123         * gst/gstinfo.c: (_gst_debug_init):
28124         * gst/gstmessage.c: (_gst_message_copy):
28125         * gst/gstmessage.h:
28126         * gst/gstminiobject.h:
28127         * gst/gstobject.c:
28128         * gst/gstobject.h:
28129         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28130         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
28131         * gst/gstpad.h:
28132         * gst/gstparse.h:
28133         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28134         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28135         (gst_pipeline_get_last_stream_time):
28136         * gst/gstpipeline.h:
28137         * gst/gstpluginfeature.h:
28138         * gst/gstquery.h:
28139         * gst/gstscheduler.c:
28140         * gst/gstscheduler.h:
28141         * gst/gststructure.h:
28142         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28143         (gst_task_finalize), (gst_task_func), (gst_task_create),
28144         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
28145         (gst_task_stop), (gst_task_pause):
28146         * gst/gsttask.h:
28147         * gst/gsttypefind.h:
28148         * gst/gsttypes.h:
28149         * gst/registries/gstlibxmlregistry.c: (load_feature),
28150         (gst_xml_registry_load), (gst_xml_registry_save_feature):
28151         * gst/registries/gstxmlregistry.c:
28152         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
28153         * gst/schedulers/threadscheduler.c:
28154         * libs/gst/control/dparammanager.h:
28155         * tools/gst-inspect.c: (print_element_list),
28156         (print_plugin_features), (print_element_features):
28157         * tools/gst-xmlinspect.c: (print_element_list),
28158         (print_plugin_info), (main):
28159         Removed plugable schedulers.
28160         Removed Scheduler/Manager from elements.
28161         Removed gsttypes.h, rearranged includes.
28162         Removed dependency pad<->element, element<>pipeline, and
28163         various others,  fix includes.
28164         implement gst_pad_get_parent() with gst_object_get_parent()
28165         Make GstTask sefcontained.
28166         Fix _get_state() on GstBin, it did not return ASYNC with a 0
28167         timeout.
28168         Fix endless loop in iterator_fold_with_resync.
28169
28170
28171 2005-07-18  Wim Taymans  <wim@fluendo.com>
28172
28173         * gst/Makefile.am:
28174         * gst/gstarch.h:
28175         Remove old file.
28176
28177 2005-07-18  Wim Taymans  <wim@fluendo.com>
28178
28179         * gst/Makefile.am:
28180         No more cothreads.h
28181
28182 2005-07-18  Wim Taymans  <wim@fluendo.com>
28183
28184         * gst/cothreads.c:
28185         * gst/cothreads.h:
28186         Let's remove these.
28187
28188 2005-07-18  Wim Taymans  <wim@fluendo.com>
28189
28190         * docs/design/part-dynamic.txt:
28191         * docs/design/part-events.txt:
28192         * docs/design/part-seeking.txt:
28193         Some more docs in the works.
28194
28195         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28196         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28197         (gst_base_transform_setcaps), (gst_base_transform_get_size),
28198         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28199         (gst_base_transform_handle_buffer),
28200         (gst_base_transform_sink_activate_push),
28201         (gst_base_transform_src_activate_pull),
28202         (gst_base_transform_set_passthrough),
28203         (gst_base_transform_is_passthrough):
28204         Refcounting fixes.
28205
28206         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28207         Cleanups.
28208
28209         * gst/gstevent.c: (gst_event_finalize):
28210         Set SRC to NULL.
28211
28212         * gst/gstutils.c: (gst_element_unlink),
28213         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28214         (gst_pad_proxy_setcaps):
28215         * gst/gstutils.h:
28216         Add _get_parent_element() to get a pads parent as an element.
28217
28218 2005-07-18  Wim Taymans  <wim@fluendo.com>
28219
28220         * check/gst/gstbin.c: (GST_START_TEST):
28221         Remove bogus test.
28222
28223 2005-07-18  Wim Taymans  <wim@fluendo.com>
28224
28225         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28226         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28227         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28228         (gst_base_sink_event), (gst_base_sink_do_sync),
28229         (gst_base_sink_chain), (gst_base_sink_loop),
28230         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28231         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28232         Refcounting fixes.
28233         Fix logic for returning ASYNC when not prerolled.
28234
28235 2005-07-18  Wim Taymans  <wim@fluendo.com>
28236
28237         * gst/gstqueue.c: (gst_queue_handle_sink_event):
28238         Fix nasty refcount bug.
28239
28240 2005-07-16 Philippe Khalaf <burger@speedy.org>
28241
28242         * gst/elements/gstfdsrc.c:
28243         * gst/elements/gstfdsrc.h:
28244         * gst/elements/gstelements.c:
28245         * gst/elements/Makefile.am:
28246         Ported fdsrc to 0.9.
28247
28248 2005-07-16  Wim Taymans  <wim@fluendo.com>
28249
28250         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28251         (gst_base_sink_do_sync):
28252         Fix compile error.
28253
28254 2005-07-16  Wim Taymans  <wim@fluendo.com>
28255
28256         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28257         (gst_base_sink_event), (gst_base_sink_get_times),
28258         (gst_base_sink_do_sync), (gst_base_sink_change_state):
28259         * gst/base/gstbasesink.h:
28260         Store and use discont values when syncing buffers as described
28261         in design docs.
28262         
28263         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28264         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28265         (gst_base_src_activate_push):
28266         Push discont event when starting.
28267
28268         * gst/elements/gstidentity.c: (gst_identity_transform):
28269         Small cleanups.
28270
28271         * gst/gstbin.c: (gst_bin_change_state):
28272         Small cleanups in base_time  distribution.
28273
28274         * gst/gstelement.c: (gst_element_set_base_time),
28275         (gst_element_get_base_time), (gst_element_change_state):
28276         * gst/gstelement.h:
28277         Added methods for the base_time of the element.
28278         Some MT fixes.
28279
28280         * gst/gstpipeline.c: (gst_pipeline_send_event),
28281         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28282         (gst_pipeline_get_last_stream_time):
28283         * gst/gstpipeline.h:
28284         MT fixes.
28285         Handle seeking as described in design doc, remove stream_time
28286         hack.
28287         Cleanups clock and stream_time selection code. Added accessors
28288         for the stream_time.
28289         
28290
28291 2005-07-16  Andy Wingo  <wingo@pobox.com>
28292
28293         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28294         (#305291).
28295
28296 2005-07-16  Wim Taymans  <wim@fluendo.com>
28297
28298         * check/gst/gstbin.c: (GST_START_TEST):
28299         Make elements silent as the deep_notify refs the
28300         parent, which might make the test fail.
28301
28302         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28303         Don't hold the lock for too long.
28304
28305 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
28306
28307         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28308           Don't unref the caps we passed to gst_caps_make_writable() after
28309           passing them. gst_caps_make_writable() will do that for us.
28310
28311 2005-07-15  Andy Wingo  <wingo@pobox.com>
28312
28313         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28314         (#157311).
28315
28316         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28317         own marshalling function for the handoff signal. Properly type the
28318         buffer as a buffer. Fixes some warnings. Should do a more general
28319         solution.
28320         (gst_identity_class_init): Plug into the right marshaller.
28321
28322 2005-07-15  Wim Taymans  <wim@fluendo.com>
28323
28324         * docs/design/part-TODO.txt:
28325         * docs/design/part-clocks.txt:
28326         * docs/design/part-element-sink.txt:
28327         * docs/design/part-events.txt:
28328         * docs/design/part-gstpipeline.txt:
28329         Updated docs, mostly DISCONT related.
28330
28331 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
28332
28333         * docs/pwg/building-pads.xml:
28334           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28335
28336 2005-07-15  Andy Wingo  <wingo@pobox.com>
28337
28338         * tools/gst-typefind.c: Update, add copyright block.
28339
28340         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28341         Normalize and truncate caps before fixation.
28342
28343         * gst/gstcaps.h:
28344         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28345         discards all but the first structure from its argument.
28346
28347 2005-07-15  Wim Taymans  <wim@fluendo.com>
28348
28349         * gst/base/gstbasetransform.c: (gst_base_transform_init),
28350         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28351         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28352         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28353         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28354         (gst_base_transform_chain), (gst_base_transform_change_state),
28355         (gst_base_transform_set_passthrough),
28356         (gst_base_transform_is_passthrough):
28357         * gst/base/gstbasetransform.h:
28358         Make passthrough work using the bufferpools.
28359         Changed API a bit, subclasses have to write into a buffer
28360         provided by the base class.
28361         More debug info in nego functions.
28362         
28363         * gst/elements/gstidentity.c: (gst_identity_init),
28364         (gst_identity_transform):
28365         Port to new base class.
28366
28367 2005-07-15  Wim Taymans  <wim@fluendo.com>
28368
28369         * gst/gstmessage.c: (gst_message_new_state_changed):
28370         * tools/gst-launch.c: (event_loop), (main):
28371         Totally dump messages in -launch with the -m option.
28372         Fix message name for State messages,
28373
28374 2005-07-14  Wim Taymans  <wim@fluendo.com>
28375
28376         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28377         Post error messages on errors.
28378
28379 2005-07-14  Wim Taymans  <wim@fluendo.com>
28380
28381         * gst/gstcaps.c: (gst_caps_do_simplify):
28382         Remove debug info.
28383
28384         * gst/gsterror.h:
28385         Define error for stream stopped.
28386
28387         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28388         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28389         Do proper return values.
28390
28391         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28392         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28393         (gst_pad_get_range):
28394         Better return values.
28395
28396         * gst/gstpad.h:
28397         Reorganise return values, add macro to check for fatal errors.
28398
28399         * gst/gstqueue.c: (gst_queue_chain):
28400         Return proper GstFlowReturn values,
28401
28402 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
28403
28404         * docs/gst/gstreamer-sections.txt:
28405         * docs/gst/gstreamer.types:
28406         * docs/gst/tmpl/gst.sgml:
28407         * docs/gst/tmpl/gstbasesink.sgml:
28408         * docs/gst/tmpl/gstbasesrc.sgml:
28409         * docs/gst/tmpl/gstbasetransform.sgml:
28410         * docs/gst/tmpl/gstbin.sgml:
28411         * docs/gst/tmpl/gstbuffer.sgml:
28412         * docs/gst/tmpl/gstcaps.sgml:
28413         * docs/gst/tmpl/gstclock.sgml:
28414         * docs/gst/tmpl/gstcompat.sgml:
28415         * docs/gst/tmpl/gstconfig.sgml:
28416         * docs/gst/tmpl/gstelement.sgml:
28417         * docs/gst/tmpl/gstelementdetails.sgml:
28418         * docs/gst/tmpl/gstelementfactory.sgml:
28419         * docs/gst/tmpl/gstenumtypes.sgml:
28420         * docs/gst/tmpl/gsterror.sgml:
28421         * docs/gst/tmpl/gstevent.sgml:
28422         * docs/gst/tmpl/gstfakesink.sgml:
28423         * docs/gst/tmpl/gstfakesrc.sgml:
28424         * docs/gst/tmpl/gstfilesink.sgml:
28425         * docs/gst/tmpl/gstfilesrc.sgml:
28426         * docs/gst/tmpl/gstfilter.sgml:
28427         * docs/gst/tmpl/gstformat.sgml:
28428         * docs/gst/tmpl/gstghostpad.sgml:
28429         * docs/gst/tmpl/gstimplementsinterface.sgml:
28430         * docs/gst/tmpl/gstindex.sgml:
28431         * docs/gst/tmpl/gstindexfactory.sgml:
28432         * docs/gst/tmpl/gstinfo.sgml:
28433         * docs/gst/tmpl/gstiterator.sgml:
28434         * docs/gst/tmpl/gstmacros.sgml:
28435         * docs/gst/tmpl/gstmemchunk.sgml:
28436         * docs/gst/tmpl/gstminiobject.sgml:
28437         * docs/gst/tmpl/gstobject.sgml:
28438         * docs/gst/tmpl/gstpad.sgml:
28439         * docs/gst/tmpl/gstpadtemplate.sgml:
28440         * docs/gst/tmpl/gstparse.sgml:
28441         * docs/gst/tmpl/gstpipeline.sgml:
28442         * docs/gst/tmpl/gstplugin.sgml:
28443         * docs/gst/tmpl/gstpluginfeature.sgml:
28444         * docs/gst/tmpl/gstquery.sgml:
28445         * docs/gst/tmpl/gstqueue.sgml:
28446         * docs/gst/tmpl/gstregistry.sgml:
28447         * docs/gst/tmpl/gstregistrypool.sgml:
28448         * docs/gst/tmpl/gstscheduler.sgml:
28449         * docs/gst/tmpl/gstschedulerfactory.sgml:
28450         * docs/gst/tmpl/gststructure.sgml:
28451         * docs/gst/tmpl/gstsystemclock.sgml:
28452         * docs/gst/tmpl/gsttaglist.sgml:
28453         * docs/gst/tmpl/gsttagsetter.sgml:
28454         * docs/gst/tmpl/gsttrace.sgml:
28455         * docs/gst/tmpl/gsttrashstack.sgml:
28456         * docs/gst/tmpl/gsttypefind.sgml:
28457         * docs/gst/tmpl/gsttypefindfactory.sgml:
28458         * docs/gst/tmpl/gsttypes.sgml:
28459         * docs/gst/tmpl/gsturihandler.sgml:
28460         * docs/gst/tmpl/gsturitype.sgml:
28461         * docs/gst/tmpl/gstutils.sgml:
28462         * docs/gst/tmpl/gstvalue.sgml:
28463         * docs/gst/tmpl/gstversion.sgml:
28464         * docs/gst/tmpl/gstxml.sgml:
28465         * docs/libs/tmpl/gstcontrol.sgml:
28466         * docs/libs/tmpl/gstdataprotocol.sgml:
28467         * docs/libs/tmpl/gstdparam.sgml:
28468         * docs/libs/tmpl/gstdplinint.sgml:
28469         * docs/libs/tmpl/gstdpman.sgml:
28470         * docs/libs/tmpl/gstdpsmooth.sgml:
28471         * docs/libs/tmpl/gstgetbits.sgml:
28472         * docs/libs/tmpl/gstunitconvert.sgml:
28473         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28474         (gst_push_src_base_init), (gst_push_src_class_init),
28475         (gst_push_src_init), (gst_push_src_create):
28476         * gst/base/gstpushsrc.h:
28477         * gst/elements/gstelements.c:
28478         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28479         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28480         (gst_fake_sink_init), (gst_fake_sink_set_property),
28481         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28482         (gst_fake_sink_event), (gst_fake_sink_preroll),
28483         (gst_fake_sink_render), (gst_fake_sink_change_state):
28484         * gst/elements/gstfakesink.h:
28485         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28486         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28487         (gst_fake_src_base_init), (gst_fake_src_class_init),
28488         (gst_fake_src_init), (gst_fake_src_event_handler),
28489         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28490         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28491         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28492         (gst_fake_src_create_buffer), (gst_fake_src_create),
28493         (gst_fake_src_start), (gst_fake_src_stop):
28494         * gst/elements/gstfakesrc.h:
28495         * gst/elements/gstfilesink.c: (_do_init),
28496         (gst_file_sink_base_init), (gst_file_sink_class_init),
28497         (gst_file_sink_init), (gst_file_sink_dispose),
28498         (gst_file_sink_set_location), (gst_file_sink_set_property),
28499         (gst_file_sink_get_property), (gst_file_sink_open_file),
28500         (gst_file_sink_close_file), (gst_file_sink_query),
28501         (gst_file_sink_event), (gst_file_sink_render),
28502         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28503         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28504         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28505         * gst/elements/gstfilesink.h:
28506         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28507         (gst_file_src_class_init), (gst_file_src_init),
28508         (gst_file_src_finalize), (gst_file_src_set_location),
28509         (gst_file_src_set_property), (gst_file_src_get_property),
28510         (gst_file_src_map_region), (gst_file_src_map_small_region),
28511         (gst_file_src_create_mmap), (gst_file_src_create_read),
28512         (gst_file_src_create), (gst_file_src_is_seekable),
28513         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28514         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28515         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28516         (gst_file_src_uri_handler_init):
28517         * gst/elements/gstfilesrc.h:
28518           more autistic cleanliness in functions/names/defines
28519
28520 2005-07-13  Andy Wingo  <wingo@pobox.com>
28521
28522         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28523         source couldn't negotiate.
28524
28525         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28526         connections again.
28527
28528         * gst/gstutils.h:
28529         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28530         function. I am channeling Hades. Put your boots on suckers!!!
28531
28532 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28533
28534         * testsuite/caps/Makefile.am:
28535         * testsuite/caps/value_compare.c:
28536         * testsuite/caps/value_intersect.c:
28537         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28538           move two testsuite apps over to the check dir
28539
28540 2005-07-12  Wim Taymans  <wim@fluendo.com>
28541
28542         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28543         Added more debug info in the negotiate process.
28544
28545         * gst/gstmessage.h:
28546         Prepare for segment playback.
28547
28548         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28549         Better debugging.
28550
28551         * gst/gstutils.c:
28552         Some more docs.
28553
28554         * tools/gst-launch.c: (main):
28555         NULL pipeline on errors.
28556
28557 2005-07-12  Andy Wingo  <wingo@pobox.com>
28558
28559         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28560         not it comes from a malloc region. Make sure our copy gets freed.
28561
28562 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28563
28564         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28565         * check/gst/gstmessage.c: (GST_START_TEST):
28566         * check/gst/gststructure.c: (GST_START_TEST),
28567         (gst_structure_suite), (main):
28568           more testing
28569         * gst/gstelement.c: (gst_element_message_full):
28570           clean up GError and debug string now that they get copied
28571         * gst/gstmessage.c: (gst_message_new_error),
28572         (gst_message_new_warning), (gst_message_parse_error),
28573         (gst_message_parse_warning):
28574           use GST_TYPE_G_ERROR for structure_new, and take copies of
28575           arguments, so that we don't mess up refcounting
28576
28577 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28578
28579         * check/Makefile.am:
28580           add per-test valgrind targets
28581         * check/gst-libs/gdp.c: (GST_START_TEST),
28582         (gst_data_protocol_suite), (main):
28583           clean up
28584
28585 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28586
28587         * check/Makefile.am:
28588           instate more valgrindable tests
28589         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28590         (GST_START_TEST), (fakesrc_suite):
28591         * check/gst/gstpad.c: (GST_START_TEST):
28592         * check/gst/gststructure.c: (GST_START_TEST):
28593           fix test leaks
28594         * docs/gst/tmpl/gstminiobject.sgml:
28595         * gst/gstpad.c: (gst_pad_finalize):
28596           fix the static mutex leak
28597
28598 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28599
28600         * check/Makefile.am:
28601           add two more tests for valgrinding
28602         * check/gst/gstvalue.c: (GST_START_TEST):
28603           test refcount of deserialized buffer, found a leak
28604         * docs/gst/gstreamer-docs.sgml:
28605         * docs/gst/gstreamer-sections.txt:
28606         * docs/gst/gstreamer.types:
28607         * docs/gst/tmpl/gstminiobject.sgml:
28608           add miniobject to docs
28609         * gst/gstminiobject.c:
28610           add some docs
28611         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28612         (gst_string_unwrap):
28613           fix a hard-to-find invalid write for one of the tests
28614           fix a leak for deserialized buffers
28615
28616 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28617
28618         * docs/pwg/advanced-events.xml:
28619         * docs/pwg/advanced-request.xml:
28620         * docs/pwg/advanced-scheduling.xml:
28621         * docs/pwg/appendix-porting.xml:
28622         * docs/pwg/building-boiler.xml:
28623         * docs/pwg/intro-preface.xml:
28624         * docs/pwg/other-ntoone.xml:
28625           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28626           of example code and explanation for pad activation, loop() and
28627           getrange() functions and a bit more. Remove old comments pointing
28628           to loop-functions.
28629         * examples/pwg/Makefile.am:
28630           Add loop/getrange examples.
28631
28632 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28633
28634         * configure.ac:
28635           check for valgrind binary + some fixes
28636         * check/gst.supp:
28637           valgrind suppressions for the tests
28638         * check/Makefile.am:
28639           add a valgrind: target that valgrinds the unit tests
28640         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28641         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28642         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28643         * check/gst/gstghostpad.c:
28644           added some cleanup
28645         * check/gst/gstdata.c:
28646           removed
28647         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28648         (thread_unref), (gst_mini_object_suite), (main):
28649           added
28650         * gst/gst.c: (gst_deinit):
28651         * gst/gst.h:
28652           add a method to clean up.
28653         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28654         (gst_system_clock_obtain):
28655           allow for disposing the system clock.
28656         * tools/gst-launch.c: (main):
28657           deinit
28658
28659 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28660
28661         * docs/gst/tmpl/gstbasesrc.sgml:
28662         * docs/gst/tmpl/gstfakesrc.sgml:
28663         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28664         (gst_base_src_init), (gst_base_src_set_property),
28665         (gst_base_src_get_property), (gst_base_src_get_range),
28666         (gst_base_src_start):
28667         * gst/base/gstbasesrc.h:
28668           add num-buffers property
28669         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28670         (gst_fakesrc_init), (gst_fakesrc_set_property),
28671         (gst_fakesrc_get_property), (gst_fakesrc_create),
28672         (gst_fakesrc_start):
28673           remove num-buffers property
28674
28675 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28676
28677         * docs/gst/gstreamer-sections.txt:
28678         * docs/gst/tmpl/gstbasesink.sgml:
28679         * docs/gst/tmpl/gstbasesrc.sgml:
28680         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28681         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28682         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28683         (gst_base_sink_set_property), (gst_base_sink_get_property),
28684         (gst_base_sink_handle_object), (gst_base_sink_event),
28685         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28686         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28687         (gst_base_sink_loop), (gst_base_sink_deactivate),
28688         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28689         (gst_base_sink_change_state):
28690         * gst/base/gstbasesink.h:
28691         * gst/base/gstbasesrc.h:
28692         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28693         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28694         (gst_filesink_init):
28695           more macro splitting
28696
28697 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28698
28699         * gst/gstelement.c: (gst_element_get_bus):
28700           add debug
28701         * tools/gst-launch.c: (check_intr), (event_loop):
28702           fix bus leaks
28703
28704 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28705
28706         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28707           fix a caps leak
28708
28709 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28710
28711         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28712         (gst_base_src_finalize):
28713           add finalize method and clean up properly
28714         * gst/gstpipeline.c: (gst_pipeline_dispose):
28715           add debug
28716
28717 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28718
28719         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28720         (gst_bin_suite):
28721           add more things to check
28722         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28723         * gst/gstelement.c:
28724           more debug
28725
28726 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28727
28728         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28729         (GST_START_TEST), (fakesrc_suite):
28730         * check/gst-libs/gdp.c: (GST_START_TEST):
28731         * check/gst/gst.c: (GST_START_TEST):
28732         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28733         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28734         * check/gst/gstbus.c: (GST_START_TEST):
28735         * check/gst/gstcaps.c: (GST_START_TEST):
28736         * check/gst/gstdata.c: (GST_START_TEST):
28737         * check/gst/gstelement.c: (GST_START_TEST):
28738         * check/gst/gstghostpad.c: (GST_START_TEST):
28739         * check/gst/gstiterator.c: (GST_START_TEST):
28740         * check/gst/gstmessage.c: (GST_START_TEST):
28741         * check/gst/gstobject.c: (GST_START_TEST):
28742         * check/gst/gstpad.c: (GST_START_TEST):
28743         * check/gst/gststructure.c: (GST_START_TEST):
28744         * check/gst/gstsystemclock.c: (GST_START_TEST),
28745         (gst_systemclock_suite):
28746         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28747         * check/gst/gstvalue.c: (GST_START_TEST):
28748         * check/pipelines/cleanup.c: (GST_START_TEST):
28749         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28750         * check/states/sinks.c: (GST_START_TEST):
28751         * check/gstcheck.c: (gst_check_init):
28752         * check/gstcheck.h:
28753           add debugging category
28754           use GST_START_TEST now, so we add a debug line
28755
28756 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28757
28758         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28759           add test for state change message on a bin
28760         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28761           add another test
28762         * gst/gstbin.c: (gst_bin_init):
28763         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28764         * gst/gstelement.c: (gst_element_post_message),
28765         (gst_element_set_state):
28766         * gst/gstelementfactory.c: (gst_element_factory_create):
28767         * gst/gstmessage.c: (gst_message_new):
28768         * gst/gstscheduler.c:
28769           various debugging additions and cleanups
28770
28771 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28772
28773         * check/Makefile.am:
28774         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28775         (main):
28776           adding tests for elements
28777         * gst/gstelement.c: (gst_element_dispose):
28778
28779 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28780
28781         * gst/registries/gstlibxmlregistry.c: (load_feature):
28782           plug more leaks.  A simple gst_init() now is leakfree, yay.
28783
28784 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28785
28786         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28787         (gst_xml_registry_load):
28788           plug another memleak
28789
28790 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28791
28792         * configure.ac:
28793           use GST_SET_ERROR_CFLAGS
28794         * docs/faq/cvs.xml:
28795           change to ERROR_CFLAGS
28796
28797 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28798
28799         * configure.ac:
28800           make GST_ERROR_CFLAGS overridable and re-enable Werror
28801         * docs/faq/cvs.xml:
28802           add a note about error CFLAGS
28803         * docs/gst/tmpl/gstfakesrc.sgml:
28804         * gst/elements/gstfakesrc.c:
28805           comment out some unused code
28806         * gst/gst.c: (split_and_iterate):
28807         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28808         (load_feature):
28809           plug some memleaks
28810
28811 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28812
28813         * common/Makefile.am:
28814         * common/gtk-doc.mak:
28815         * docs/gst/Makefile.am:
28816           factor out gtk-doc.mak
28817
28818 2005-07-07  Wim Taymans  <wim@fluendo.com>
28819
28820         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28821         (gst_thread_scheduler_dispose):
28822         Unlock the STREAM_LOCK completely.
28823
28824 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28825
28826         * check/Makefile.am:
28827         * check/elements/.cvsignore:
28828         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28829         (START_TEST), (fakesrc_suite), (main):
28830         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28831         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28832         (gst_fakesrc_create), (gst_fakesrc_start):
28833         * gst/elements/gstfakesrc.h:
28834           adding a first element test
28835
28836 2005-07-07  Andy Wingo  <wingo@pobox.com>
28837
28838         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28839         debug message.
28840
28841 2005-07-07  Wim Taymans  <wim@fluendo.com>
28842
28843         * gst/gstquery.c:
28844         * gst/gstquery.h:
28845         Remove old types
28846
28847 2005-07-07  Wim Taymans  <wim@fluendo.com>
28848
28849         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28850         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28851         Allow subclasses to implement their own negotiation.
28852
28853 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28854
28855         * docs/design/part-gstbin.txt:
28856         * docs/design/part-gstpipeline.txt:
28857           Update design notes to reflect the movement of
28858           responsibility for bus handling from GstPipeline to
28859           GstBin
28860
28861 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28862
28863         * configure.ac:
28864           Remove unnecessary queue2/3/4 examples.
28865
28866 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28867
28868         * examples/Makefile.am:
28869         * examples/helloworld/helloworld.c: (event_loop), (main):
28870         * examples/queue/queue.c: (event_loop), (main):
28871         * examples/queue2/queue2.c: (main):
28872           Update a couple of the examples to work again.
28873
28874         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28875         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28876          Spelling corrections and extra debug.
28877         
28878         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28879         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28880         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28881         * gst/gstbin.h:
28882         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28883         (gst_pipeline_change_state):
28884         * gst/gstpipeline.h:
28885           Move the bus handler for children to the GstBin, and create a
28886           separate bus for receiving messages from children to the one the
28887           bus sends 'upwards' on.
28888
28889 2005-07-06  Wim Taymans  <wim@fluendo.com>
28890
28891         * gst/base/README:
28892         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28893         (gst_base_sink_handle_object), (gst_base_sink_loop),
28894         (gst_base_sink_change_state):
28895         * gst/base/gstbasesink.h:
28896         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28897         (gst_base_src_init), (gst_base_src_setcaps),
28898         (gst_base_src_getcaps), (gst_base_src_loop),
28899         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28900         (gst_base_src_start), (gst_base_src_change_state):
28901         * gst/base/gstbasesrc.h:
28902         Make basesrc negotiate.
28903         Handle the case where preroll fails in basesink.
28904         Update README.
28905
28906 2005-07-06  Wim Taymans  <wim@fluendo.com>
28907
28908         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28909         Implement the fixate function.
28910         Clean up acceptcaps.
28911
28912 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28913
28914         * docs/pwg/building-filterfactory.xml:
28915         * docs/pwg/pwg.xml:
28916           Remove never-written filter-factory chapter; I'll add the various
28917           base classes to part 4 ("other element types") later on.
28918
28919 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28920
28921         * docs/pwg/advanced-negotiation.xml:
28922         * docs/pwg/building-boiler.xml:
28923         * docs/pwg/building-pads.xml:
28924         * docs/pwg/pwg.xml:
28925         * examples/pwg/Makefile.am:
28926           Add a chapter on caps negotiation, simplify the original code
28927           samples a bit w.r.t. caps negotiation, add link to the advanced
28928           section. Add a bunch of examples showing different use cases of
28929           different types of caps negotiation. Upstream renegotiation isn't
28930           fully documented yet since nobody knows how that works.
28931
28932 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28933
28934         * check/gst/gstpad.c:
28935         * check/gstcheck.c:
28936         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28937           if pad has no parent, return NULL as list of internal links
28938
28939 2005-07-05  Andy Wingo  <wingo@pobox.com>
28940
28941         * gst/elements/gstfilesrc.c:
28942         * gst/elements/gstfakesrc.c: 
28943         * gst/base/gstpushsrc.c:
28944         * gst/base/gstbasesrc.h: 
28945         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28946         
28947 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28948
28949         * Makefile.am:
28950           better report generation target (lcov needs a patch)
28951
28952 2005-07-05  Andy Wingo  <wingo@pobox.com>
28953
28954         * gst/elements, testsuite: Null if we got it...
28955
28956 2005-07-05  Wim Taymans  <wim@fluendo.com>
28957
28958         * configure.ac:
28959         * libs/gst/dataprotocol/Makefile.am:
28960         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28961         * libs/gst/dataprotocol/dataprotocol.h:
28962         * pkgconfig/Makefile.am:
28963         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28964         * pkgconfig/gstreamer-dataprotocol.pc.in:
28965         Ported dataprotol to 0.9. 
28966         Added pkgconfig files.
28967
28968 2005-07-05  Andy Wingo  <wingo@pobox.com>
28969
28970         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28971         Default to returning TRUE for the case when tranform_caps returns
28972         a fixed caps, like for identity or volume.
28973
28974         * check/gst/gstbus.c (pound_bus_with_messages): 
28975         * check/gst/gstmessage.c (START_TEST): 
28976         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28977         message API change.
28978
28979         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28980         logic weaks here: always run transform_caps, trying passthrough
28981         operation only if the original caps intersects with the transform.
28982
28983         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28984         source and sink caps.
28985
28986         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28987         Intersect the peer caps with the pad template before going into
28988         transform_caps.
28989         (gst_base_transform_transform_caps): More debugging.
28990
28991         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28992         src argument.
28993
28994 2005-07-04  Edward Hervey  <edward@fluendo.com>
28995
28996         * gst/gstutils.c:
28997         * gst/gstutils.h:
28998         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28999         in bindings.
29000
29001 2005-07-04  Andy Wingo  <wingo@pobox.com>
29002
29003         * check/gst/gstpad.c: Only set explicit caps on pads.
29004
29005 2005-07-01  Andy Wingo  <wingo@pobox.com>
29006
29007         * tests/network-clock.scm: Commentary update.
29008
29009         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
29010         Didn't really make sense, not implementable with basetransform,
29011         etc.
29012         (gst_identity_transform): Unref inbuf via make_writable. Feeble
29013         attempt at implementing the sync property, needs an unlock method.
29014
29015         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
29016         New func, by default returns the same caps (the identity
29017         transformation).
29018         (gst_base_transform_getcaps): Uses transform_caps to return
29019         something sensible.
29020         (gst_base_transform_setcaps): Complicated logic to get caps on
29021         both pads, even if they are different, and to call set_caps once
29022         for every time both pads get their caps set.
29023         (gst_base_transform_handle_buffer): Give the ref to the transform
29024         function. Allows in-place modification of the buffer.
29025
29026         * gst/base/gstbasetransform.h (transform_caps): New class method.
29027         Given caps on one side, what can I do on the other.
29028         (set_caps): Take two caps, one for each side of the element.
29029
29030         * gst/gstpad.h:
29031         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
29032         caps in place. This is safe because we can check the mutability of
29033         the caps, and a good idea because fixate functions are just called
29034         as a matter of last resort. (Not actually implemented.)
29035         (gst_pad_set_caps): If the caps we're setting is actually the same
29036         as the existing pad caps, just update the pointer without calling
29037         setcaps. Assert that caps is either NULL or fixed, as per the
29038         docs.
29039
29040         * gst/gstghostpad.c: Update for fixate changes.
29041
29042 2005-07-02  Andy Wingo  <wingo@pobox.com>
29043
29044         * gst/gstcaps.c:
29045         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
29046         two refcounts makes it immutable, which is enough. Doc more.
29047
29048 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
29049
29050         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
29051           Put the mini_object into GValue as a mini_object,
29052           not a gpointer, since that's how we declared
29053           the signal.
29054
29055 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29056
29057         * examples/pwg/Makefile.am:
29058           Fix buildbot again.
29059
29060 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29061
29062         * docs/pwg/building-testapp.xml:
29063           Add extra check.
29064         * examples/pwg/Makefile.am:
29065           Fix buildbot.
29066
29067 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29068
29069         * configure.ac:
29070         * examples/Makefile.am:
29071         * examples/pwg/Makefile.am:
29072         * examples/pwg/extract.pl:
29073           Enable building the PWG examples.
29074         * docs/pwg/advanced-interfaces.xml:
29075           Add URI interface stub.
29076         * docs/pwg/advanced-types.xml:
29077         * docs/pwg/other-autoplugger.xml:
29078         * docs/pwg/appendix-porting.xml:
29079         * docs/pwg/pwg.xml:
29080           Add porting guide (mostly stubs), remove autoplugging (see ADM).
29081         * docs/pwg/building-boiler.xml:
29082         * docs/pwg/building-chainfn.xml:
29083         * docs/pwg/building-pads.xml:
29084         * docs/pwg/building-props.xml:
29085         * docs/pwg/building-state.xml:
29086         * docs/pwg/building-testapp.xml:
29087           Update the building-*.xml parts for 0.9 changes. All examples
29088           code blocks compile in examples/pwg/*.
29089
29090 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29091
29092         * docs/manual/advanced-autoplugging.xml:
29093         * docs/manual/appendix-checklist.xml:
29094         * docs/manual/appendix-integration.xml:
29095         * docs/manual/highlevel-components.xml:
29096           Fix playbin/decodebin examples, update docs a bit, mention bus
29097           instead of signals in various places, mention kmplayer and
29098           kaffeine since they have a working GStreamer backend in the KDE
29099           section.
29100
29101 2005-06-30  Wim Taymans  <wim@fluendo.com>
29102
29103         * CHANGES-0.9:
29104         * docs/design/draft-ghostpads.txt:
29105         * docs/design/draft-push-pull.txt:
29106         * docs/design/draft-query.txt:
29107         * docs/design/part-TODO.txt:
29108         * docs/design/part-query.txt:
29109         Added CHANGES-0.9 doc, updated status of other docs.
29110         
29111         * gst/gstquery.h:
29112         Remove "hmm" macro
29113
29114 2005-06-30  Wim Taymans  <wim@fluendo.com>
29115
29116         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
29117         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
29118         (gst_base_sink_change_state):
29119         * gst/base/gstbasesink.h:
29120         Some tweaks, only EOS and a buffer complete a preroll.
29121
29122 2005-06-30  Andy Wingo  <wingo@pobox.com>
29123
29124         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
29125         activate_push down to the internal pad as well.
29126
29127 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
29128
29129         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29130
29131         * gst/gsttaginterface.c:
29132           Some documentation fixes (#307394 and #307397).
29133
29134 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
29135
29136         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29137
29138         * gst/gstvalue.c: (gst_value_intersect_list):
29139           Fix memleak (#309125).
29140
29141 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29142
29143         * docs/manual/advanced-dataaccess.xml:
29144           Fix fakesrc example to compile; doesn't work, bug somewhere...?
29145         * docs/manual/basics-pads.xml:
29146           Add reference for filtered caps to above chapter.
29147
29148 2005-06-30  Wim Taymans  <wim@fluendo.com>
29149
29150         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
29151         (gst_bin_change_state):
29152         Probes are gone.
29153         Lame attempt at making the state change function a bit
29154         more readable.
29155
29156 2005-06-30  Wim Taymans  <wim@fluendo.com>
29157
29158         * docs/design/part-clocks.txt:
29159         * docs/design/part-element-sink.txt:
29160         * docs/design/part-events.txt:
29161         * docs/design/part-preroll.txt:
29162         * docs/design/part-states.txt:
29163         Some more tweeks and additions to the docs.
29164
29165 2005-06-30  Wim Taymans  <wim@fluendo.com>
29166
29167         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29168         (default_have_data), (gst_pad_class_init), (gst_pad_init),
29169         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29170         (gst_pad_check_pull_range), (gst_pad_get_range),
29171         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
29172         * gst/gstpad.h:
29173         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
29174         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29175         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29176         (gst_pad_remove_buffer_probe):
29177         Removed atomic operations, use existing LOCK.
29178         Move exception handling out of main code path.
29179
29180 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29181
29182         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29183         (silly_return_true_function), (gst_pad_class_init),
29184         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29185         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29186         (gst_pad_send_event):
29187           Fix accumulator, add default value by using _emitv() instead
29188           of _emit() for signal emission.
29189
29190 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29191
29192         * docs/manual/advanced-dataaccess.xml:
29193         * examples/manual/Makefile.am:
29194           Add probe example.
29195         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29196           Make work (??).
29197
29198 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
29199
29200         * gst/elements/gstfilesink.c: (gst_filesink_render):
29201           Simplify code so that we don't have to handle short
29202           writes and return GST_FLOW_ERROR if an error occured.
29203
29204 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29205
29206         * docs/gst/gstreamer-docs.sgml:
29207           Remove probes more.
29208
29209 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29210
29211         * docs/gst/gstreamer-sections.txt:
29212         * docs/gst/tmpl/gstpad.sgml:
29213         * docs/gst/tmpl/gstprobe.sgml:
29214         * gst/Makefile.am:
29215         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29216         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29217         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29218         (gst_pad_push_event), (gst_pad_send_event):
29219         * gst/gstpad.h:
29220         * gst/gstutils.c: (gst_pad_add_data_probe),
29221         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29222         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29223         (gst_pad_remove_buffer_probe):
29224         * gst/gstutils.h:
29225           Remove old probes, add new g-signal-based probes and some utility
29226           functions.
29227
29228 2005-06-29  Edward Hervey  <edward@fluendo.com>
29229
29230         * gst/gstelementfactory.c:
29231         * gst/gstutils.h:
29232         * gst/gstutils.c:
29233         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29234         the definition to the header file.
29235
29236 2005-06-29  Andy Wingo  <wingo@pobox.com>
29237
29238         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29239         plugins from the source directory.
29240
29241 2005-06-29  Wim Taymans  <wim@fluendo.com>
29242
29243         * docs/gst/tmpl/gstbuffer.sgml:
29244         * docs/gst/tmpl/gstclock.sgml:
29245         Some fixings for blantently wrong text.
29246
29247 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29248
29249         * check/Makefile.am:
29250         * gst/gst.c: (add_path_func), (init_pre):
29251         * gst/gstregistry.c: (gst_registry_add_path):
29252           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29253           only scan the GST_PLUGIN_PATH locations, and not add
29254           system locations
29255
29256 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29257
29258         * docs/gst/gstreamer-sections.txt:
29259         * docs/gst/tmpl/gstbasesrc.sgml:
29260         * gst/gstelement.c:
29261         * gst/gstelement.h:
29262         * gst/gstevent.c:
29263         * gst/gstutils.c:
29264           doc fixes
29265
29266 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29267
29268         * docs/manual/advanced-autoplugging.xml:
29269           Fix autoplugging example.
29270
29271 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29272
29273         * docs/manual/advanced-autoplugging.xml:
29274         * docs/manual/mime-world.fig:
29275           Try to get autoplugging working, fix type detection. Fix text
29276           in hello-world image.
29277
29278 2005-06-29  Wim Taymans  <wim@fluendo.com>
29279
29280         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29281         (gst_base_sink_change_state):
29282         Small debug line.
29283
29284         * gst/gstclock.h:
29285         map SIGNAL and BROADCAST to the right function.
29286
29287         * gst/gstobject.h:
29288         Remove redundant braces.
29289
29290         * gst/gstpad.c: (gst_pad_set_caps):
29291         Don't call setcaps function when reseting caps to NULL.
29292
29293         * gst/gstsystemclock.c: (gst_system_clock_dispose),
29294         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29295         (gst_system_clock_id_unschedule):
29296         Use BROADCAST as this is what we do.
29297
29298 2005-06-29  Wim Taymans  <wim@fluendo.com>
29299
29300         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29301         We are actually prerolling before commiting the state
29302         change. 
29303
29304 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29305
29306         * docs/manual/advanced-clocks.xml:
29307         * docs/manual/advanced-interfaces.xml:
29308         * docs/manual/advanced-metadata.xml:
29309         * docs/manual/advanced-position.xml:
29310         * docs/manual/advanced-schedulers.xml:
29311         * docs/manual/advanced-threads.xml:
29312         * docs/manual/appendix-porting.xml:
29313         * docs/manual/basics-bins.xml:
29314         * docs/manual/basics-bus.xml:
29315         * docs/manual/basics-elements.xml:
29316         * docs/manual/basics-helloworld.xml:
29317         * docs/manual/basics-pads.xml:
29318         * docs/manual/highlevel-components.xml:
29319         * docs/manual/manual.xml:
29320         * docs/manual/thread.fig:
29321           Update (until threads/scheduling) Application Development Manual;
29322           remove GstThread, add GstBus, add simple porting checklist, add
29323           documentation for tag writing, clocks, make all examples until this
29324           part compile and run.
29325         * examples/manual/Makefile.am:
29326           Update from changes to Application Development Manual; add bus
29327           example, remove thread example.
29328
29329 2005-06-28  Wim Taymans  <wim@fluendo.com>
29330
29331         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29332         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29333         (gst_bus_source_dispatch):
29334         Add debugging messages.
29335         Make internal methods static.
29336         Handle the case where the bus is flushed in the handler.
29337         
29338         * gst/gstelement.c: (gst_element_get_bus):
29339         Fix refcount in _get_bus();
29340
29341         * gst/gstpipeline.c: (gst_pipeline_change_state),
29342         (gst_pipeline_get_clock_func):
29343         Clock refcounting fixes.
29344         Handle the case where preroll timed out more gracefully.
29345         
29346         * gst/gstsystemclock.c: (gst_system_clock_dispose):
29347         Clean up the internal thread in dispose. This is needed
29348         for subclasses that actually get disposed.
29349         
29350         * gst/schedulers/threadscheduler.c:
29351         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29352         (gst_thread_scheduler_dispose):
29353         Free thread pool in dispose.
29354
29355 2005-06-28  Andy Wingo  <wingo@pobox.com>
29356
29357         * tests/network-clock-utils.scm (debug, print-event): New utils.
29358
29359         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29360         (*packet-loss*): Unified loss probability.
29361         (network-time): Report out-of-band events.
29362
29363         * tests/plot-data: Add support for out-of-band events. Hack it
29364         into this script instead of passing it down the pipe; should fix
29365         this later.
29366
29367 2005-06-28  Wim Taymans  <wim@fluendo.com>
29368
29369         * docs/gst/gstreamer.types:
29370         * docs/gst/tmpl/gstbasesrc.sgml:
29371         * docs/gst/tmpl/gstpad.sgml:
29372         Docs fixes.
29373
29374 2005-06-28  Wim Taymans  <wim@fluendo.com>
29375
29376         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29377         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29378         (gst_proxy_pad_do_fixatecaps):
29379         Correctly proxy the check_pull_range function.
29380
29381 2005-06-28  Andy Wingo  <wingo@pobox.com>
29382
29383         * tests/network-clock.scm: Removed need for slib.
29384         
29385 2005-06-28  Wim Taymans  <wim@fluendo.com>
29386
29387         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29388         (gst_basesink_preroll_queue_flush):
29389         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29390         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29391         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29392         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29393         (gst_proxy_pad_set_property):
29394         * gst/gstpad.c:
29395         * gst/gstpad.h:
29396         * gst/gstqueue.c: (gst_queue_init):
29397         The deprecated pad loop function is removed now.
29398
29399 2005-06-28  Andy Wingo  <wingo@pobox.com>
29400
29401         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29402         New parameters, simulate network packet loss.
29403
29404         * tests/network-clock-utils.scm: Initialize the RNG.
29405
29406 2005-06-28  Wim Taymans  <wim@fluendo.com>
29407
29408         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29409         (gst_basesink_event), (gst_basesink_deactivate):
29410         Flushing the preroll queue always needs to unlock the waiters.
29411
29412 2005-06-28  Edward Hervey  <edward@fluendo.com>
29413
29414         * gst/gstpipeline.c: (gst_pipeline_send_event): 
29415         Wheen a seek was successful on a pipeline, set the stream_time to the
29416         seek offset in order to have a synchronized stream_time.
29417
29418 2005-06-28  Wim Taymans  <wim@fluendo.com>
29419
29420         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29421         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29422         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29423         (gst_proxy_pad_do_fixatecaps):
29424         Call wrapper function instead of just calling the function
29425         pointers. This takes care of any locking and whatmore.
29426
29427 2005-06-28  Wim Taymans  <wim@fluendo.com>
29428
29429         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29430         (gst_pad_pull_range):
29431         * gst/gstpad.h:
29432         CONNECTED -> LINKED.
29433
29434 2005-06-28  Andy Wingo  <wingo@pobox.com>
29435
29436         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29437         source-munging commit!!!
29438
29439         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29440         (gst_object_sink): Take gpointer arguments, not GstObject --
29441         avoids casts. Like GLib.
29442
29443         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29444         activate.
29445
29446 2005-06-27  Andy Wingo  <wingo@pobox.com>
29447
29448         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29449         remaining buffer.
29450
29451         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29452         returns a sorted copy of the trace list.
29453         (gst_alloc_trace_print_live): New API, only prints traces with
29454         live objects. Sort the list.
29455         (gst_alloc_trace_print_all): Sort the list.
29456         (gst_alloc_trace_print): Align columns.
29457
29458         * gst/elements/gstttypefindelement.c:
29459         * gst/elements/gsttee.c:
29460         * gst/base/gstbasesrc.c:
29461         * gst/base/gstbasesink.c:
29462         * gst/base/gstbasetransform.c:
29463         * gst/gstqueue.c: Adapt for pad activation changes.
29464
29465         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29466         sched.
29467         (gst_pipeline_dispose): Drop ref on sched.
29468
29469         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29470         (gst_pad_activate_default): Push mode by default.
29471         (pre_activate_switch, post_activate_switch): New stubs, things to
29472         do before and after switching activation modes on pads.
29473         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29474         the pad's activate function to choose which mode to activate.
29475         Shortcut on deactivation and call the right function directly.
29476         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29477         mode.
29478         (gst_pad_activate_push): New API, same for push mode.
29479         (gst_pad_set_activate_function) 
29480         (gst_pad_set_activatepull_function) 
29481         (gst_pad_set_activatepush_function): Setters for new API.
29482
29483         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29484         Trace all miniobjects.
29485         (gst_mini_object_make_writable): Unref the arg if we copy, like
29486         gst_caps_make_writable.
29487
29488         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29489
29490         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29491         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29492         Adapt for new pad API.
29493
29494         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29495
29496         * gst/gstelement.h:
29497         * gst/gstelement.c (gst_element_iterate_src_pads) 
29498         (gst_element_iterate_sink_pads): New API functions.
29499         
29500         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29501         should fold into gstiterator.c in some form.
29502         (gst_element_pads_activate): Simplified via use of fold and
29503         delegation of decisions to gstpad->activate.
29504
29505         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29506         help in debugging.
29507
29508         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29509         class once in init, like gstmessage. Didn't run into this issue
29510         but it seems correct. Don't initialize a trace, gstminiobject does
29511         that.
29512
29513         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29514         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29515         to the bus.
29516         (assert_live_count): New util function, uses alloc traces to check
29517         cleanup.
29518
29519         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29520         To be modified when unlink drops the internal pad.
29521
29522 2005-06-27  Wim Taymans  <wim@fluendo.com>
29523
29524         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29525         (gst_bin_change_state):
29526         Cleanup the get_state() function a little, make sure it
29527         iterates the same set of elements.
29528         Added stub iterate_state_order().
29529
29530 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29531
29532         * docs/gst/gstreamer-docs.sgml:
29533         * docs/gst/gstreamer-sections.txt:
29534         * docs/gst/gstreamer.types:
29535         * docs/gst/tmpl/gstbasesink.sgml:
29536         * docs/gst/tmpl/gstbasesrc.sgml:
29537         * docs/gst/tmpl/gstbasetransform.sgml:
29538         * docs/gst/tmpl/gstelement.sgml:
29539         * docs/gst/tmpl/gstiterator.sgml:
29540         * gst/base/gstbasesrc.c:
29541         * gst/base/gstbasesrc.h:
29542         * gst/base/gstbasetransform.h:
29543         * gst/gstelement.c:
29544         * gst/gstiterator.h:
29545           adding basetransform and iterator docs
29546
29547 2005-06-27  Andy Wingo  <wingo@pobox.com>
29548
29549         * docs/design/part-activation.txt: Notes on how activation should
29550         work -- not quite implemented yet.
29551
29552 2005-06-25  Wim Taymans  <wim@fluendo.com>
29553
29554         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29555         At least get the chain function correct, needs more
29556         fixing.
29557
29558 2005-06-25  Wim Taymans  <wim@fluendo.com>
29559
29560         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29561         (gst_basesink_handle_object), (gst_basesink_event),
29562         (gst_basesink_do_sync), (gst_basesink_handle_event),
29563         (gst_basesink_change_state):
29564         * gst/gsttask.h:
29565         Right, two problems here: ghostpads don't take locks and
29566         glib _rec_mutex_lock_full() with depth==0 still locks.
29567         Catch illegal locking and g_warn them.
29568
29569 2005-06-25  Wim Taymans  <wim@fluendo.com>
29570
29571         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29572         Have to check for completion now...
29573
29574 2005-06-25  Wim Taymans  <wim@fluendo.com>
29575
29576         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29577         (gst_basesink_handle_object), (gst_basesink_event),
29578         (gst_basesink_do_sync), (gst_basesink_handle_event),
29579         (gst_basesink_change_state):
29580         * gst/gstpad.h:
29581         Unlock STREAM_LOCK whatever the recursion was.
29582
29583 2005-06-25  Wim Taymans  <wim@fluendo.com>
29584
29585         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29586         (gst_basesink_preroll_queue_empty),
29587         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29588         (gst_basesink_event), (gst_basesink_do_sync),
29589         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29590         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29591         (gst_basesink_change_state):
29592         Reworked the base sink, handle event and buffer serialisation
29593         correctly and removed possible deadlock.
29594         Handle EOS correctly.
29595
29596 2005-06-25  Wim Taymans  <wim@fluendo.com>
29597
29598         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29599         (gst_pipeline_change_state):
29600         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29601         Allow elements to post EOS in the state change function.
29602         Fix up -launch, make it exit the poll loop when the
29603         pipeline actually changed state.
29604         Fix up warning parsing in -launch.
29605
29606 2005-06-25  Wim Taymans  <wim@fluendo.com>
29607
29608         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29609         (gst_tee_sink_activate):
29610         Core takes STREAM_LOCK for us now.
29611
29612 2005-06-25  Wim Taymans  <wim@fluendo.com>
29613
29614         * gst/gstelement.c: (gst_element_get_state_func),
29615         (gst_element_set_state):
29616         * gst/gstelement.h:
29617         * gst/gstmessage.c: (gst_message_parse_error),
29618         (gst_message_parse_warning):
29619         Keep track of current target state while performing a state
29620         change so that subclasses can do something interesting.
29621         Fix parsing of warning/error messages when GError is NULL.
29622
29623 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29624
29625         * docs/gst/Makefile.am:
29626         * docs/gst/gstreamer-docs.sgml:
29627         * docs/gst/gstreamer-sections.txt:
29628         * docs/gst/gstreamer.types:
29629         * docs/gst/tmpl/gstbasesink.sgml:
29630         * docs/gst/tmpl/gstbasesrc.sgml:
29631         * docs/gst/tmpl/gstbin.sgml:
29632         * docs/gst/tmpl/gstcompat.sgml:
29633         * docs/gst/tmpl/gstfakesink.sgml:
29634         * docs/gst/tmpl/gstfakesrc.sgml:
29635         * docs/gst/tmpl/gstfilesink.sgml:
29636         * docs/gst/tmpl/gstfilesrc.sgml:
29637         * docs/gst/tmpl/gstindex.sgml:
29638         * docs/manual/appendix-quotes.xml:
29639         * gst/base/gstbasesrc.h:
29640         * gst/elements/gstfakesrc.h:
29641         * gst/gstmessage.h:
29642           start pulling in base classes and elements in our docs
29643
29644 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29645
29646         * docs/gst/Makefile.am:
29647         * docs/libs/Makefile.am:
29648           fixed make distcheck with gtk-doc 1.3
29649
29650 2005-06-23  Wim Taymans  <wim@fluendo.com>
29651
29652         * gst/gstelement.c: (gst_element_get_state_func),
29653         (gst_element_set_state), (gst_element_change_state):
29654         When the state did not change, also report NO_PREROLL
29655         when it matters.
29656
29657 2005-06-23  Wim Taymans  <wim@fluendo.com>
29658
29659         * gst/gstpad.c: (gst_pad_event_default):
29660         * gst/gstqueue.c: (gst_queue_loop):
29661         No unsafe task pausing please.
29662
29663 2005-06-23  Wim Taymans  <wim@fluendo.com>
29664
29665         * gst/schedulers/threadscheduler.c:
29666         (gst_thread_scheduler_task_start),
29667         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29668         Ref the task before pushing it on the threadpool. This
29669         makes sure that we have a ref when the threadfunction is
29670         actually called.
29671
29672 2005-06-23  Andy Wingo  <wingo@pobox.com>
29673
29674         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29675         offset is greater than the file's size.
29676
29677         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29678         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29679         * gst/gstobject.c (gst_object_class_init): Make the class lock
29680         recursive. Wim won't let me drop deep_notify. Decodebin works
29681         again, whoopdy doo.
29682
29683         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29684         internal pad, and hacks accordingly. Doesn't do it on the target
29685         pad because we change its caps. Probably catches all cases of
29686         interest tho.
29687         (gst_ghost_pad_set_property): Connect to notify::caps as
29688         appropritate.
29689
29690         * tests/network-clock.scm (plot-simulation): Pipe data to the
29691         elite python skript.
29692
29693         * tests/network-clock-utils.scm (define-parameter): New macro,
29694         defines a parameter that can be set via the command line.
29695         (set-parameter!, parse-parameter-arguments): Command line args
29696         parser.
29697
29698         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29699         stdin.
29700
29701 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29702
29703         * gst/elements/gsttypefindelement.c:
29704         (gst_type_find_element_handle_event):
29705           Don't restart typefinding on a discont.
29706         * gst/gstelement.c: (gst_element_set_state):
29707           Debug spelling fix.
29708         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29709           Allow changing mode of an active pad.
29710           Debug output fixes.
29711         * gst/registries/gstlibxmlregistry.c: (load_feature):
29712           Don't cast a static pad template to a normal pad template.
29713
29714 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29715
29716         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29717         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29718           remove gst_strtoll completely, since it didn't actually do
29719           anything more than what g_ascii_strtoull already does.
29720           check for range errors when deserializing
29721           do a cast for the unsigned cases; but further fixing needs
29722           a decision on what the interpretation of "(int)" and
29723           deserialization should be for values that fall outside the
29724           type's boundaries (ie, refuse, or interpret as casting)
29725
29726 2005-06-23  Wim Taymans  <wim@fluendo.com>
29727
29728         * check/Makefile.am:
29729         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29730         * docs/design/part-live-source.txt:
29731         * docs/design/part-states.txt:
29732         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29733         (gst_basesrc_set_live), (gst_basesrc_is_live),
29734         (gst_basesrc_get_range), (gst_basesrc_activate),
29735         (gst_basesrc_change_state):
29736         * gst/base/gstbasesrc.h:
29737         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29738         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29739         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29740         * gst/gstelement.c: (gst_element_get_state_func),
29741         (gst_element_set_state):
29742         * gst/gstelement.h:
29743         * gst/gsttypes.h:
29744         * tools/gst-launch.c: (event_loop), (main):
29745         Added support for live sources and other elements that
29746         cannot do preroll.
29747         Updated design docs, added live-source design doc.
29748         Implemented live source functionality in basesrc
29749         Fix error condition in _bin_get_state()
29750         Implement live source handling in -launch.
29751         Added check for live sources.
29752         Fixed case in GstBin where elements were changed state
29753         multiple times.
29754
29755
29756 2005-06-23  Andy Wingo  <wingo@pobox.com>
29757
29758         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29759         borken refcounting.
29760
29761         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29762         gst_caps_replace takes care of this for us.
29763
29764         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29765         gst_pad_set_caps on the target, not just its setcaps() function.
29766
29767         * tests/network-clock.scm: 
29768         * tests/network-clock-utils.scm: A network clock simulator.
29769         Something of an algorithmic testbed before doing something in C.
29770
29771 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29772
29773         * check/Makefile.am:
29774         * check/gst/capslist.h:
29775           copy over from 0.8, and add two with bitmasks specified with
29776           (int) 0xFF...
29777         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29778           add test to parse everything from capslist.h
29779         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29780         (main):
29781           add test for structure deserialization
29782         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29783           add tests for deserialization of strings to int types
29784         * gst/gststructure.c: (gst_structure_nth_field_name):
29785         * gst/gststructure.h:
29786           add a way to get the name of a field referenced by index
29787         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29788           instead of checking if the resulting long long lies between
29789           min and max, we check if the long long would fit into
29790           a number of bytes for the final type.
29791           This fixes cases where a string represents 2^32 - 1, which
29792           when cast to int would be the (valid) -1, but is bigger than
29793           G_MAXINT
29794
29795 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29796
29797         * gst/parse/grammar.y:
29798           add a log line for type deserialization
29799
29800 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29801
29802         * check/gst/gstvalue.c: (START_TEST):
29803         * gst/gstvalue.c: (gst_value_deserialize):
29804           return long long, not int, so gint64 deserialization actually
29805           works.  Is there any flag that makes the compiler check this ?
29806           Fixes #308559
29807
29808 2005-06-22  Wim Taymans  <wim@fluendo.com>
29809
29810         * gst/gstbuffer.h:
29811         Added convenience macros for setting buffers in GValue.
29812
29813 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29814
29815         * check/gst/.cvsignore:
29816         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29817           add a test deserializing int64, and comment part out because
29818           it fails, yay !
29819
29820 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29821
29822         * check/Makefile.am:
29823         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29824         * testsuite/Makefile.am:
29825         * testsuite/caps/Makefile.am:
29826         * testsuite/caps/value_serialize.c:
29827         * testsuite/test_gst_init.c:
29828           move a value_serialize test over
29829
29830 2005-06-20  Wim Taymans  <wim@fluendo.com>
29831
29832         * gst/gstpad.c:
29833         Small doc updates.
29834         
29835         * gst/gstvalue.c: (gst_value_compare_buffer),
29836         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29837         (gst_value_compare_flags), (gst_value_serialize_flags),
29838         (gst_value_deserialize_flags), (_gst_value_initialize):
29839         Fix serialisation of buffers, they are not boxed types anymore
29840
29841 2005-06-20  Wim Taymans  <wim@fluendo.com>
29842
29843         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29844         Testcase to show error in buffer-on-caps serialisation.
29845
29846 2005-06-20  Andy Wingo  <wingo@pobox.com>
29847
29848         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29849         will be adding to later.
29850
29851         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29852         if its socks fill with rocks.
29853         (gst_system_clock_obtain): Set the name on object construction.
29854         Avoid double-checked locking.
29855
29856 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29857
29858         * gst/gsturi.c: (gst_element_make_from_uri):
29859           Fix potential endless loop.
29860
29861 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29862
29863         * check/Makefile.am:
29864           add gsttag
29865         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29866         (main):
29867           move over from testsuite dir and clean up
29868         * configure.ac:
29869         * gst/gsttag.c:
29870         * testsuite/Makefile.am:
29871         * testsuite/tags/.cvsignore:
29872         * testsuite/tags/Makefile.am:
29873         * testsuite/tags/merge.c:
29874           remove testsuite/tags
29875
29876 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29877
29878         * docs/gst/gstreamer-sections.txt:
29879         * docs/gst/tmpl/gstenumtypes.sgml:
29880         * win32/gstenumtypes.c:
29881           clean up documentation build a little
29882
29883 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29884
29885         * check/gstcheck.h:
29886           add macros for checking refcounts on objects and caps
29887         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29888           add some more unit tests
29889         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29890         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29891           fix leaked refcounts (I hope :)) so unittest works
29892         * gst/gstpad.h:
29893           whitespace removal
29894
29895 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29896
29897         * configure.ac: back to HEAD
29898
29899 === release 0.9.1 ===
29900
29901 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29902
29903         * NEWS:
29904         * RELEASE:
29905           updated
29906
29907 2005-06-17  Andy Wingo  <wingo@pobox.com>
29908
29909         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29910         assert; it's always possible that the pad gets deactivated in
29911         between the checks in gstpad.c and the implementation. Rely on
29912         finish_preroll() to return a FLUSHING or similar instead of on the
29913         assert.
29914         
29915         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29916         clock and post an EOS message if we come out of finish_preroll in
29917         the playing state.
29918
29919 2005-06-16  David Schleef  <ds@schleef.org>
29920
29921         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29922         (gst_capsfilter_set_property): Allow NULL as possible value
29923         for filter_caps property, indicating GST_CAPS_ANY.
29924
29925 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29926
29927         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29928           fix debug output
29929         * gst/schedulers/Makefile.am:
29930           use libgst prefix
29931         * gstreamer.spec.in:
29932           fix spec for it
29933
29934 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29935
29936         * gstreamer.spec.in:
29937           clean up
29938
29939 2005-06-08  Andy Wingo  <wingo@pobox.com>
29940
29941         * gst/gstutils.c: RPAD fixes all around.
29942         (gst_element_link_pads): Refcounting fixes.
29943
29944         * tools/gst-inspect.c:
29945         * tools/gst-xmlinspect.c:
29946         * parse/grammar.y:
29947         * gst/base/gsttypefindhelper.c:
29948         * gst/base/gstbasesink.c:
29949         * gst/gstqueue.c: RPAD fixes.
29950
29951         * gst/gstghostpad.h:
29952         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29953         pads. The tricky thing is they provide both source and sink
29954         interfaces, since they proxy the internal pad for the external
29955         pad, and vice versa. Implement with lower-level ProxyPad objects,
29956         with the interior proxy pad as a child of the exterior ghost pad.
29957         Should write a doc on this.
29958         
29959         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29960         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29961         gst_object API.
29962         
29963         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29964         pads are real pads. No ghost pads in this file. Not documenting
29965         the myriad s/RPAD/PAD/ and REALIZE fixes.
29966         (gst_pad_class_init): Add properties for "direction" and
29967         "template". Both are construct-only, so they can't change during
29968         the life of the pad. Fixes properly deriving from GstPad.
29969         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29970         derived objects, just set properties when creating the objects via
29971         g_object_new.
29972         (gst_pad_get_parent): Implement as a function, return NULL if the
29973         parent is not an element.
29974         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29975         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29976         
29977         * gst/gstobject.c (gst_object_class_init): Make name a construct
29978         property. Don't set it in the object init.
29979
29980         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29981         with UNKNOWN direction.
29982         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29983         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29984         (gst_element_remove_pad): Remove ghost-pad special cases.
29985         (gst_element_pads_activate): Remove rpad cruft.
29986
29987         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29988         catch the pad's-parent-not-an-element case.
29989
29990         * gst/gst.h: Include gstghostpad.h.
29991
29992         * gst/gst.c (init_post): No more real, ghost pads.
29993
29994         * gst/Makefile.am: Add gstghostpad.[ch].
29995
29996         * check/Makefile.am:
29997         * check/gst/gstbin.c:
29998         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29999         into a bin creates ghost pads, and that the refcounts are right.
30000         Partly moved from gstbin.c.
30001
30002 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
30003
30004         * check/gst-libs/.cvsignore:
30005         * check/gst/.cvsignore:
30006         * check/pipelines/.cvsignore:
30007           ignore more
30008         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
30009         (START_TEST), (cleanup_suite), (main):
30010           add some tests related to cleanup after running pipelines
30011
30012 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
30013
30014         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
30015           add a testsuite for GstBuffer
30016
30017 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
30018
30019         * gst/gstminiobject.h:
30020           add defines for accessing the refcount
30021
30022 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
30023
30024         * Makefile.am: added support for html unit test coverage reports
30025
30026 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
30027
30028         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
30029           Free existing caps if the capsfilter changes. Add a FIXME about
30030           setting those caps on the pads.
30031
30032         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
30033           Before adding a ghost pad to a parent bin, check that there isn't
30034           already one for the element on the bin. Prevents infinite recursion
30035           when using decodebin in parse pipelines. Andy says he'll rewrite the
30036           way this works anyway, so ignore the hack.
30037
30038 2005-06-02  Andy Wingo  <wingo@pobox.com>
30039
30040         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
30041         file size, pass it on to the type find helper.
30042
30043         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
30044         segment_start and segment_end properly according to the seek
30045         method. Segment_end is still a bit flaky because offset can be
30046         negative for CUR and END cases, but it takes -1 as an "unset"
30047         value.
30048
30049 2005-06-02  Wim Taymans  <wim@fluendo.com>
30050
30051         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
30052         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
30053         (gst_basesink_activate):
30054         * gst/base/gstbasesink.h:
30055         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30056         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30057         (gst_pad_query), (gst_pad_start_task):
30058         * gst/gstpad.h:
30059         * gst/gstqueue.c: (gst_queue_bufferalloc),
30060         (gst_queue_handle_sink_event), (gst_queue_chain):
30061         Bufferalloc: return GstFlowReturn to more accuratly report
30062         why allocation failed.
30063
30064 2005-06-02  Wim Taymans  <wim@fluendo.com>
30065
30066         * gst/gstpipeline.c: (gst_pipeline_send_event):
30067         Take snapshot of state without blocking.
30068
30069 2005-06-02  Wim Taymans  <wim@fluendo.com>
30070
30071         * docs/design/part-TODO.txt:
30072         * docs/design/part-caps.txt:
30073         * docs/design/part-clocks.txt:
30074         * docs/design/part-negotiation.txt:
30075         * docs/design/part-preroll.txt:
30076         Small doc updates 
30077
30078 2005-05-30  Wim Taymans  <wim@fluendo.com>
30079
30080         * gst/elements/gstidentity.c: (gst_identity_event),
30081         (gst_identity_transform), (gst_identity_get_property):
30082         Protect last_message property as it is accessed from
30083         multiple threads.
30084
30085 2005-05-30  Wim Taymans  <wim@fluendo.com>
30086
30087         * gst/gstelement.c: (gst_element_init),
30088         (gst_element_pads_activate), (gst_element_change_state):
30089         Slicker pad activation code.
30090
30091 2005-05-30  Wim Taymans  <wim@fluendo.com>
30092
30093         * gst/Makefile.am:
30094         * gst/gstelement.h:
30095         * gst/gstelementfactory.h:
30096         * gst/gsttypes.h:
30097         Move elementfactory methods to separate .h file.
30098
30099 2005-05-30  Wim Taymans  <wim@fluendo.com>
30100
30101         * docs/design/part-overview.txt:
30102         * gst/gstsystemclock.h:
30103         Small typo fixes, doc updates.
30104
30105 2005-05-30  Wim Taymans  <wim@fluendo.com>
30106
30107         * gst/gst.c: (gst_init_get_popt_table), (init_post),
30108         (init_popt_callback):
30109         Remove cpu-opt flag.
30110
30111 2005-05-30  Wim Taymans  <wim@fluendo.com>
30112
30113         * gst/gstbuffer.c: (gst_subbuffer_finalize),
30114         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
30115         * gst/gstbuffer.h:
30116         Avoid typechecking in places where not needed.
30117         Added accessor for malloc_data.
30118
30119 2005-05-30  Wim Taymans  <wim@fluendo.com>
30120
30121         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
30122         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
30123         (gst_pad_configure_sink), (gst_pad_configure_src),
30124         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
30125         (gst_pad_start_task):
30126         Propagate errors from _set_caps() in configure_src/sink
30127         functions instead of returning TRUE.
30128         FLUSH events can travel up and downstream
30129
30130
30131 2005-05-30  Wim Taymans  <wim@fluendo.com>
30132
30133         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30134         (gst_basesink_activate):
30135         Handle EOS in preroll.
30136
30137 2005-05-30  Wim Taymans  <wim@fluendo.com>
30138
30139         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30140         (gst_queue_loop), (gst_queue_handle_src_event):
30141         Remove old pieces of code
30142         Flushing the queue in an upstream event is a very bad idea.
30143
30144 2005-05-26  Andy Wingo  <wingo@pobox.com>
30145
30146         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
30147         gst_value_set_mini_object so as to add a ref on the object (which
30148         will be removed when the value is unset).
30149
30150         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
30151         arg type in ::handoff.
30152
30153         * gst/gstelement.c (gst_element_change_state): Also deactivate
30154         pads in READY->NULL, just in case the element didn't make it to
30155         PAUSED. Wingo tested, Wim approved.
30156
30157 2005-05-26  Wim Taymans  <wim@fluendo.com>
30158
30159         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30160         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30161         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
30162         A flushing pad cannot be used to alloc_buffer from.
30163
30164 2005-05-26  Wim Taymans  <wim@fluendo.com>
30165
30166         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
30167         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
30168         (gst_bus_source_dispatch), (gst_bus_source_finalize),
30169         (gst_bus_create_watch), (gst_bus_add_watch_full):
30170         * gst/gstbus.h:
30171         Implement a real GSource and use g_main_context_wakeup() to
30172         signal new messages instead of the socketpair.
30173
30174 2005-05-25  Wim Taymans  <wim@fluendo.com>
30175
30176         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
30177         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
30178         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30179         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30180         (gst_pad_send_event), (gst_pad_start_task):
30181         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30182         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30183         (gst_queue_sink_activate), (gst_queue_src_activate),
30184         (gst_queue_change_state):
30185         * gst/gstqueue.h:
30186         Fix state changes for non sinks. We now change sinks, then elements
30187         with unconnected srcpads, then the rest.
30188         More efficient queue unlocking in flush and state changes.
30189         Set the pad activate mode even if it does not have an activate
30190         function.
30191
30192 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30193
30194         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30195           Don't go in pull mode for non-seekable sources.
30196         * gst/elements/gsttypefindelement.h:
30197         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30198         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30199         (free_entry), (stop_typefinding),
30200         (gst_type_find_element_handle_event), (find_peek),
30201         (gst_type_find_element_chain), (do_pull_typefind),
30202         (gst_type_find_element_change_state):
30203           Allow typefinding (w/o seeking) in push-mode, simplified version
30204           of what was in 0.8.
30205         * gst/gstutils.c: (gst_buffer_join):
30206         * gst/gstutils.h:
30207           gst_buffer_join() from 0.8.
30208
30209 2005-05-25  Wim Taymans  <wim@fluendo.com>
30210
30211         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30212         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30213         (gst_pad_send_event), (gst_pad_start_task):
30214         Disable attempt at mode switching until it is figured out.
30215
30216 2005-05-25  Wim Taymans  <wim@fluendo.com>
30217
30218         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30219         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30220         (gst_basesink_finish_preroll), (gst_basesink_chain),
30221         (gst_basesink_loop), (gst_basesink_activate),
30222         (gst_basesink_change_state):
30223         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30224         (gst_basesrc_get_range), (gst_basesrc_loop),
30225         (gst_basesrc_activate):
30226         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30227         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30228         (gst_real_pad_init), (gst_real_pad_set_property),
30229         (gst_real_pad_get_property), (gst_pad_set_active),
30230         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30231         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30232         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30233         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30234         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30235         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30236         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30237         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30238         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30239         (gst_pad_stop_task):
30240         * gst/gstpad.h:
30241         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30242         (gst_queue_loop), (gst_queue_src_activate):
30243         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30244         (gst_task_get_state):
30245         * gst/gsttask.h:
30246         * gst/schedulers/threadscheduler.c:
30247         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30248         Implement gst_pad_pause/start/stop_task(), take STREAM lock
30249         in task function.
30250         Remove ACTIVE pad flag, use FLUSHING everywhere
30251         Added _pad_chain(), _pad_get_range() to call chain/getrange 
30252         functions.
30253         Add locks around IS_FLUSHING when reading.
30254         Take STREAM lock in chain(), get_range() functions so plugins
30255         don't need to take it anymore.
30256         
30257
30258
30259 2005-05-25  Wim Taymans  <wim@fluendo.com>
30260
30261         * tools/gst-launch.c: (event_loop):
30262         Unref message after using its contents instead of
30263         before.
30264
30265 2005-05-24  Wim Taymans  <wim@fluendo.com>
30266
30267         * docs/design/draft-ghostpads.txt:
30268         * docs/design/draft-push-pull.txt:
30269         * docs/design/draft-query.txt:
30270         * docs/design/part-overview.txt:
30271         Docs updates, added general overview doc.
30272
30273 2005-05-21  David Schleef  <ds@schleef.org>
30274
30275         * docs/gst/tmpl/old/GstBin.sgml:
30276         * docs/gst/tmpl/old/GstBuffer.sgml:
30277         * docs/gst/tmpl/old/GstCaps.sgml:
30278         * docs/gst/tmpl/old/GstClock.sgml:
30279         * docs/gst/tmpl/old/GstCompat.sgml:
30280         * docs/gst/tmpl/old/GstData.sgml:
30281         * docs/gst/tmpl/old/GstElement.sgml:
30282         * docs/gst/tmpl/old/GstEvent.sgml:
30283         * docs/gst/tmpl/old/GstIndex.sgml:
30284         * docs/gst/tmpl/old/GstStructure.sgml:
30285         * docs/gst/tmpl/old/GstTag.sgml:
30286         * docs/gst/tmpl/old/cothreads.sgml:
30287         * docs/gst/tmpl/old/cothreads_compat.sgml:
30288         * docs/gst/tmpl/old/gettext.sgml:
30289         * docs/gst/tmpl/old/gobject2gtk.sgml:
30290         * docs/gst/tmpl/old/grammar.tab.sgml:
30291         * docs/gst/tmpl/old/gst-i18n-app.sgml:
30292         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30293         * docs/gst/tmpl/old/gst_private.sgml:
30294         * docs/gst/tmpl/old/gstaggregator.sgml:
30295         * docs/gst/tmpl/old/gstarch.sgml:
30296         * docs/gst/tmpl/old/gstatomic_impl.sgml:
30297         * docs/gst/tmpl/old/gstbufferstore.sgml:
30298         * docs/gst/tmpl/old/gstdata_private.sgml:
30299         * docs/gst/tmpl/old/gstdisksink.sgml:
30300         * docs/gst/tmpl/old/gstdisksrc.sgml:
30301         * docs/gst/tmpl/old/gstelementfactory.sgml:
30302         * docs/gst/tmpl/old/gstextratypes.sgml:
30303         * docs/gst/tmpl/old/gstfakesink.sgml:
30304         * docs/gst/tmpl/old/gstfakesrc.sgml:
30305         * docs/gst/tmpl/old/gstfdsink.sgml:
30306         * docs/gst/tmpl/old/gstfdsrc.sgml:
30307         * docs/gst/tmpl/old/gstfilesink.sgml:
30308         * docs/gst/tmpl/old/gstfilesrc.sgml:
30309         * docs/gst/tmpl/old/gsthttpsrc.sgml:
30310         * docs/gst/tmpl/old/gstidentity.sgml:
30311         * docs/gst/tmpl/old/gstindexfactory.sgml:
30312         * docs/gst/tmpl/old/gstmarshal.sgml:
30313         * docs/gst/tmpl/old/gstmd5sink.sgml:
30314         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30315         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30316         * docs/gst/tmpl/old/gstpadtemplate.sgml:
30317         * docs/gst/tmpl/old/gstpipefilter.sgml:
30318         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30319         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30320         * docs/gst/tmpl/old/gstshaper.sgml:
30321         * docs/gst/tmpl/old/gstspider.sgml:
30322         * docs/gst/tmpl/old/gstspideridentity.sgml:
30323         * docs/gst/tmpl/old/gststatistics.sgml:
30324         * docs/gst/tmpl/old/gsttee.sgml:
30325         * docs/gst/tmpl/old/gsttimecache.sgml:
30326         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30327         * docs/gst/tmpl/old/gstxmlregistry.sgml:
30328         * docs/gst/tmpl/old/gthread-cothreads.sgml:
30329         * docs/gst/tmpl/old/types.sgml:
30330           I didn't intend to add these or check them in.
30331
30332 2005-05-19  David Schleef  <ds@schleef.org>
30333
30334         * configure.ac: Use -no-common everywhere.  In a sane world, it
30335           would be the default in libtool, because without it, you can't
30336           build DLLs on Windows.
30337         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30338         * docs/gst/gstreamer-sections.txt:
30339         * docs/gst/tmpl/gstcpu.sgml:
30340         * docs/gst/tmpl/gstdata.sgml:
30341         * docs/gst/tmpl/gstthread.sgml:
30342
30343 2005-05-19  David Schleef  <ds@schleef.org>
30344
30345         * gst/gstminiobject.c: (gst_value_set_mini_object),
30346         (gst_value_take_mini_object), (gst_value_get_mini_object):
30347         * gst/gstminiobject.h: Add GValue set/get functions.
30348
30349 2005-05-19  Wim Taymans  <wim@fluendo.com>
30350
30351         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30352         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30353         (gst_subbuffer_init), (gst_buffer_is_span_fast):
30354         * gst/gstbuffer.h:
30355         * gst/gstbus.c: (gst_bus_post):
30356         * gst/gstelement.c: (gst_element_get_random_pad):
30357         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30358         Make subbufer unref the parent in finalize.
30359         some more debugging info.
30360
30361
30362 2005-05-19  Wim Taymans  <wim@fluendo.com>
30363
30364         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30365         (gst_basesink_init), (gst_basesink_finalize),
30366         (gst_basesink_activate), (gst_basesink_change_state):
30367         Don't free preroll queue too early.
30368
30369 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30370
30371         * gst/Makefile.am:
30372         * gst/ROADMAP:
30373           Hi, I'm outdated. Please shoot me.
30374
30375 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30376
30377         * gst/gstpipeline.c: (gst_pipeline_send_event):
30378           Do not access variables after they have been deleted.
30379
30380 2005-05-19  Wim Taymans  <wim@fluendo.com>
30381
30382         * tools/gst-inspect.c: (print_plugin_features):
30383         A plugin feature does unfortunatly not use the
30384         object name yet...
30385
30386 2005-05-18  Wim Taymans  <wim@fluendo.com>
30387
30388         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30389         Port _span() functions to new subbuffers.
30390
30391 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30392
30393         * gst/gstbin.c: (gst_bin_add_func):
30394           Fix clock settery in bins when adding kids after the clock has
30395           been selected.
30396
30397 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30398
30399         * gst/elements/gstidentity.c: (gst_identity_class_init):
30400           Workaround until signals support GstMiniObject.
30401
30402 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
30403
30404         * gst/gstbuffer.c:
30405         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30406
30407 2005-05-18  Wim Taymans  <wim@fluendo.com>
30408
30409         * gst/base/Makefile.am:
30410         * gst/base/gstadapter.c: (gst_adapter_base_init),
30411         (gst_adapter_class_init), (gst_adapter_init),
30412         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30413         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30414         (gst_adapter_flush), (gst_adapter_available),
30415         (gst_adapter_available_fast):
30416         * gst/base/gstadapter.h:
30417         Ported and added adapter to the base classes.
30418
30419 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30420
30421         * gst/gst.c:
30422         * gst/gstmessage.c:
30423           Make sure the class is reffed/unreffed once before threads can be
30424           used.  Fixes #304551.
30425
30426 2005-05-17  Wim Taymans  <wim@fluendo.com>
30427
30428         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30429         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30430         * gst/gstminiobject.c: (gst_mini_object_get_type),
30431         (gst_mini_object_free):
30432         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30433         (gst_pad_push), (gst_pad_push_event):
30434         * gst/gstqueue.c: (gst_queue_change_state):
30435         Don't queue buffers in basesink when we are flushing.
30436         Unref buffer when flushing in basesink.
30437         Flush queue when going to READY
30438         Unref buffer when _push() returns an error.
30439         Don't free MiniObject instance when refcount is incremented
30440         in _finalize() so that we can recover objects.
30441
30442 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30443
30444         * docs/manual/advanced-schedulers.xml:
30445         * docs/manual/appendix-checklist.xml:
30446         * docs/pwg/advanced-clock.xml:
30447         * docs/pwg/advanced-interfaces.xml:
30448         * docs/pwg/advanced-request.xml:
30449         * docs/pwg/advanced-types.xml:
30450         * docs/pwg/intro-preface.xml:
30451         * examples/plugins/example.c: (gst_example_get_type),
30452         (gst_example_class_init), (gst_example_chain),
30453         (gst_example_set_property), (gst_example_get_property),
30454         (gst_example_change_state), (plugin_init):
30455         * examples/plugins/example.h:
30456           small doc fixes
30457
30458 2005-05-17  Wim Taymans  <wim@fluendo.com>
30459
30460         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30461         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30462         * gst/gstqueue.c: (gst_queue_change_state):
30463         Clear queue when going to READY.
30464         Remove IN_SETCAPS flag too.
30465
30466 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30467
30468         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30469           Remove implicit cast from gboolean to GstElementStateReturn;
30470           make sure we still return failure in paused => ready case if
30471           the parent class fails to change state and our own stop 
30472           vfunc succeeds.
30473
30474 2005-05-17  Wim Taymans  <wim@fluendo.com>
30475
30476         * tools/gst-launch.c: (event_loop):
30477         Message was unreffed too soon.
30478
30479 2005-05-16  Andy Wingo  <wingo@pobox.com>
30480
30481         * gst/gstbin.c (sink_iterator_filter): Err... um...
30482
30483         * check/gst/gstbin.c (test_ghost_pads): New test for the
30484         ghosting-if-elements-not-in-same-bin behavior.
30485
30486 2005-05-16  David Schleef  <ds@schleef.org>
30487
30488         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30489         accessing refcount directly.
30490
30491 2005-05-15  David Schleef  <ds@schleef.org>
30492
30493         * check/Makefile.am: remove GstData checks
30494         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30495         * gst/Makefile.am: add miniobject, remove data
30496         * gst/gst.h: add miniobject, remove data
30497         * gst/gstdata.c: remove
30498         * gst/gstdata.h: remove
30499         * gst/gstdata_private.h: remove
30500         * gst/gsttypes.h: remove GstEvent and GstMessage
30501         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30502         * gst/gstmarshal.list: change BOXED -> OBJECT
30503
30504         Implement GstMiniObject.
30505         * gst/gstminiobject.c:
30506         * gst/gstminiobject.h:
30507
30508         Modify to be subclasses of GstMiniObject.
30509         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30510         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30511         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30512         (gst_subbuffer_get_type), (gst_subbuffer_init),
30513         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30514         (gst_buffer_span):
30515         * gst/gstbuffer.h:
30516         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30517         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30518         (_gst_event_copy), (gst_event_new):
30519         * gst/gstevent.h:
30520         * gst/gstmessage.c: (_gst_message_initialize),
30521         (gst_message_get_type), (gst_message_class_init),
30522         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30523         (gst_message_new), (gst_message_new_error),
30524         (gst_message_new_warning), (gst_message_new_tag),
30525         (gst_message_new_state_changed), (gst_message_new_application):
30526         * gst/gstmessage.h:
30527         * gst/gstprobe.c: (gst_probe_perform),
30528         (gst_probe_dispatcher_dispatch):
30529         * gst/gstprobe.h:
30530         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30531         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30532         (_gst_query_copy), (gst_query_new):
30533
30534         Update elements for GstData -> GstMiniObject changes
30535         * gst/gstquery.h:
30536         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30537         (gst_queue_chain), (gst_queue_loop):
30538         * gst/elements/gstbufferstore.c:
30539         (gst_buffer_store_add_buffer_func),
30540         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30541         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30542         (gst_fakesink_render):
30543         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30544         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30545         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30546         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30547         (gst_filesrc_create_read):
30548         * gst/elements/gstidentity.c: (gst_identity_class_init):
30549         * gst/elements/gsttypefindelement.c:
30550         (gst_type_find_element_src_event), (free_entry_buffers),
30551         (gst_type_find_element_handle_event):
30552         * libs/gst/dataprotocol/dataprotocol.c:
30553         (gst_dp_header_from_buffer):
30554         * libs/gst/dataprotocol/dataprotocol.h:
30555         * libs/gst/dataprotocol/dp-private.h:
30556
30557 2005-05-15  David Schleef  <ds@schleef.org>
30558
30559         * gst/elements/gstelements.c: Don't include headers that were
30560         just removed.
30561
30562 2005-05-15  David Schleef  <ds@schleef.org>
30563
30564         * gst/elements/Makefile.am: Remove some elements that don't
30565         need to be in the core (or even exist at all).
30566         * gst/elements/gstaggregator.c:
30567         * gst/elements/gstaggregator.h:
30568         * gst/elements/gstmd5sink.c:
30569         * gst/elements/gstmd5sink.h:
30570         * gst/elements/gstmultifilesrc.c:
30571         * gst/elements/gstmultifilesrc.h:
30572         * gst/elements/gstpipefilter.c:
30573         * gst/elements/gstpipefilter.h:
30574         * gst/elements/gstshaper.c:
30575         * gst/elements/gstshaper.h:
30576         * gst/elements/gststatistics.c:
30577         * gst/elements/gststatistics.h:
30578         * po/POTFILES.in: Remove above files.
30579
30580 2005-05-14  Andy Wingo  <wingo@pobox.com>
30581
30582         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30583         so as to get the refs right.
30584         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30585         unreffing objects that don't pass the filter.
30586
30587         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30588         gst_element_set_bus.
30589         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30590         normal cases, this will destroy the bus.
30591
30592         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30593         object.
30594
30595         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30596         has no sinks.
30597
30598 2005-05-13  Andy Wingo  <wingo@pobox.com>
30599
30600         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30601         gst_pad_link, call pad_link_maybe_ghosting,
30602         (pad_link_maybe_ghosting): Links pads, making sure that the
30603         elements being linked are in the same bin.
30604         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30605         Helpers for pad_link_maybe_ghosting.
30606
30607 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30608
30609         * configure.ac:
30610           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30611
30612 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30613
30614         * docs/design/part-element-source.txt:
30615           Mention GstPushSrc
30616
30617 2005-05-12  Wim Taymans  <wim@fluendo.com>
30618
30619         * gst/base/gstbasesink.c: (gst_basesink_init),
30620         (gst_basesink_activate):
30621         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30622         (gst_basesrc_is_seekable):
30623         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30624         (bin_element_is_sink), (gst_bin_change_state):
30625         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30626         * gst/gstelement.h:
30627         Identify sinks by their flag to avoid overly complicated
30628         checks (fow now).
30629         Do state changes even for elements not reachable from the
30630         sinks.
30631         BaseSink is a sink now :)
30632         Some more debugging info in the basesrc.
30633
30634
30635 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30636
30637         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30638           Implement _query on a bin, similar to _send_event.
30639
30640 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30641
30642         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30643           Discont event offset format should be GST_FORMAT_BYTES,
30644           not GST_FORMAT_TIME.
30645
30646 2005-05-12  Wim Taymans  <wim@fluendo.com>
30647
30648         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30649         Same fix as Ronald's but without the signal. 
30650
30651 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30652
30653         * gst/gstutils.c: (gst_element_query_position):
30654           No, an element is not a pad.
30655
30656 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30657
30658         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30659         (gst_bin_get_state):
30660           If a child is removed from a bin while we remove the child from
30661           the bin and while we're retrieving its state, signal this to the
30662           get_state function so we abort the wait (instead of waiting for
30663           a timeout) and can immediately re-iterate over all other elements.
30664
30665 2005-05-12  Wim Taymans  <wim@fluendo.com>
30666
30667         * gst/base/Makefile.am:
30668         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30669         (gst_basesrc_start):
30670         * gst/base/gstbasesrc.h:
30671         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30672         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30673         (gst_pushsrc_init), (gst_pushsrc_create):
30674         * gst/base/gstpushsrc.h:
30675         Added is_seekable to BaseSrc
30676         Added simple PushSrc.
30677
30678 2005-05-11  Wim Taymans  <wim@fluendo.com>
30679
30680         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30681         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30682         (gst_element_link_pads), (gst_element_query_position),
30683         (gst_element_query_convert), (intersect_caps_func),
30684         (gst_pad_query_position), (gst_pad_query_convert):
30685         Fix refcounting in utils function.
30686         No point in trying to activate a pad when it's added, it could
30687         be added from the state change function and then we deadlock, the
30688         element has to decide what to do.
30689
30690 2005-05-10  Andy Wingo  <wingo@pobox.com>
30691
30692         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30693         *all* the arguments.
30694
30695         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30696         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30697         lock (according to the docs -- if this is wrong change the docs).
30698
30699         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30700         flush messages in the NULL state.
30701
30702         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30703         message immediately and return.
30704         (gst_bus_set_flushing): New function. If a bus is flushing, it
30705         flushes out any queued messages and immediately unrefs new
30706         messages. This is so when an element goes to NULL, all of the
30707         unhandled messages coming from it can be freed, and their
30708         references to the element dropped. In other words: message source
30709         ref considered harmful :P
30710
30711         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30712         we're finished with it.
30713
30714         * gst/gstmessage.c (gst_message_new_state_changed): 
30715
30716 2005-05-10  Wim Taymans  <wim@fluendo.com>
30717
30718         * gst/gstvalue.c: (gst_value_compare_flags),
30719         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30720         (_gst_value_initialize):
30721         Added flags serialize/deserialize/compare code.
30722
30723 2005-05-09  Andy Wingo  <wingo@pobox.com>
30724
30725         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30726         Intersect the peer's caps with our caps.
30727
30728 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30729
30730         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30731         * gst/elements/gsttypefindelement.c: (find_peek):
30732           Handle negative offsets better. Fixes decodebin.
30733
30734 2005-05-09  Wim Taymans  <wim@fluendo.com>
30735
30736         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30737         (gst_base_transform_event):
30738         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30739         Implement accept_caps.
30740         Fix silly lock/unlock mismatch in base class.
30741
30742 2005-05-09  Wim Taymans  <wim@fluendo.com>
30743
30744         * docs/design/draft-push-pull.txt:
30745         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30746         * gst/elements/gstfilesink.c: (gst_filesink_init),
30747         (gst_filesink_query):
30748         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30749         (gst_type_find_handle_src_query), (find_element_get_length):
30750         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30751         * gst/gstelement.h:
30752         * gst/gstmessage.c:
30753         * gst/gstmessage.h:
30754         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30755         (gst_real_pad_get_caps_unlocked),
30756         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30757         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30758         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30759         (gst_real_pad_dispose), (gst_real_pad_finalize),
30760         (gst_pad_load_and_link), (gst_pad_save_thyself),
30761         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30762         (gst_pad_check_pull_range), (gst_pad_pull_range),
30763         (gst_pad_template_get_type), (gst_pad_template_class_init),
30764         (gst_pad_template_init), (gst_pad_template_dispose),
30765         (name_is_valid), (gst_static_pad_template_get),
30766         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30767         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30768         (gst_pad_get_element_private), (gst_pad_start_task),
30769         (gst_pad_pause_task), (gst_pad_stop_task),
30770         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30771         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30772         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30773         (gst_ghost_pad_new):
30774         * gst/gstpad.h:
30775         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30776         (gst_query_new_position), (gst_query_set_position),
30777         (gst_query_parse_position), (gst_query_new_convert),
30778         (gst_query_set_convert), (gst_query_parse_convert):
30779         * gst/gstquery.h:
30780         * gst/gstqueryutils.c:
30781         * gst/gstqueryutils.h:
30782         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30783         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30784         (gst_queue_handle_src_query):
30785         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30786         (gst_element_query_position), (gst_element_query_convert),
30787         (intersect_caps_func), (gst_pad_query_position),
30788         (gst_pad_query_convert):
30789         * gst/gstutils.h:
30790         * tools/gst-inspect.c: (print_pad_info):
30791         * tools/gst-xmlinspect.c: (print_element_info):
30792         Remove old query functions. Ported old code.
30793         Added position/convert helper functions to gstutils.
30794         Reordered gstpad.c code, grouping relevant things.
30795         Remove gst_message_new(), always need to speficy a specific
30796         message.
30797
30798
30799 2005-05-09  Andy Wingo  <wingo@pobox.com>
30800
30801         * gst/gstiterator.h: Add some includes.
30802
30803         * gst/gstqueryutils.h: Include more headers.
30804
30805         * gst/gstpad.h:
30806         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30807         some uses of gst_pad_query.
30808
30809         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30810         NULL out parameters.
30811         (gst_query_new_position): New proc, allocates a new position
30812         query.
30813
30814         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30815         gstqueryutils.c to the build.
30816
30817         * gst/gststructure.c (gst_structure_set_valist): Implement with
30818         the generic G_VALUE_COLLECT.
30819         
30820 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30821
30822         * gst/Makefile.am: (gst_headers):
30823         Added gstqueryutils.h to the list of headers to install, that was
30824         a 'nachty' move wingo :)
30825
30826 2005-05-06  Andy Wingo  <wingo@pobox.com>
30827
30828         * gst/gstquery.h
30829         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30830         GstData, init a memchunk.
30831         (standard_definitions): Add a few query types, deprecate a few.
30832         (gst_query_get_type): New proc.
30833         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30834         implementation.
30835         (gst_query_new_application, gst_query_get_structure): New public
30836         procs.
30837
30838         * docs/design/draft-query.txt: Removed LINKS from the query types,
30839         because all the rest can be dispatched to other pads -- seemed
30840         ugly to have a query that couldn't be dispatched. internal_links
30841         is fine as a pad method.
30842
30843         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30844         in gstpad.c, but maintain binary compatibility for the moment.
30845         Will fix before 0.9 is out.
30846
30847         * gst/gstqueryutils.c: 
30848         * gst/gstqueryutils.h: New files, implement 3 methods for each
30849         query type: parse_query, parse_response, and set. Probably need an
30850         allocator as well.
30851
30852         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30853
30854         * gst/elements/gstfilesink.c (gst_filesink_query2):
30855         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30856         query_types, and formats methods.
30857
30858         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30859         (gst_pad_set_query2_function): New functions.
30860         (gst_real_pad_init): Set query2_default as the default query2
30861         function. Basically just dispatches to internally linked pads.
30862
30863         Needs review!
30864         
30865         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30866         without using the atomic operations. Only one thread can possibly
30867         be accessing the data at this point. Changed so as to avoid
30868         gst_atomic operations.
30869
30870 2005-05-06  Wim Taymans  <wim@fluendo.com>
30871
30872         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30873         Also set caps if we use the fallback buffer alloc.
30874
30875 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30876
30877         * docs/gst/Makefile.am:
30878         * docs/gst/gstreamer-docs.sgml:
30879         * docs/gst/gstreamer-sections.txt:
30880         * docs/gst/tmpl/gstatomic.sgml:
30881         * docs/gst/tmpl/gstmemchunk.sgml:
30882         * testsuite/elements/struct_i386.h:
30883         * win32/GStreamer.vcproj:
30884         * win32/Makefile:
30885           Purge GstAtomic stuff from docs and win32 makefiles as well
30886
30887 2005-05-06  Wim Taymans  <wim@fluendo.com>
30888
30889         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30890         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30891         * gst/gstpad.c: (gst_pad_peer_get_caps):
30892         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30893         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30894         (gst_queue_src_activate), (gst_queue_change_state):
30895         * gst/gstqueue.h:
30896         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30897         (intersect_caps_func):
30898         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30899         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30900         Some fixes for the peer_get_caps() change.
30901
30902 2005-05-06  Wim Taymans  <wim@fluendo.com>
30903
30904         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30905         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30906         (gst_basesink_activate):
30907         Actually do something with error codes returned from the push
30908         functions.
30909
30910 2005-05-06  Wim Taymans  <wim@fluendo.com>
30911
30912         * docs/design/part-element-sink.txt:
30913         * docs/design/part-element-source.txt:
30914         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30915         (gst_basesink_event), (gst_basesink_activate):
30916         * gst/base/gstbasesink.h:
30917         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30918         (gst_basesrc_activate):
30919         * gst/base/gstbasesrc.h:
30920         * gst/gstelement.c: (gst_element_pads_activate):
30921         Some more documentation.
30922         Fixed scheduling decision in _pads_activate().
30923
30924 2005-05-05  Andy Wingo  <wingo@pobox.com>
30925
30926         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30927         the test suite.
30928
30929 2005-05-05  Wim Taymans  <wim@fluendo.com>
30930
30931         * gst/base/Makefile.am:
30932         * gst/base/gstbasesink.h:
30933         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30934         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30935         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30936         (gst_collectpads_class_init), (gst_collectpads_init),
30937         (gst_collectpads_finalize), (gst_collectpads_new),
30938         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30939         (find_pad), (gst_collectpads_remove_pad),
30940         (gst_collectpads_is_active), (gst_collectpads_collect),
30941         (gst_collectpads_collect_range), (gst_collectpads_start),
30942         (gst_collectpads_stop), (gst_collectpads_peek),
30943         (gst_collectpads_pop), (gst_collectpads_available),
30944         (gst_collectpads_read), (gst_collectpads_flush),
30945         (gst_collectpads_chain):
30946         * gst/base/gstcollectpads.h:
30947         * gst/elements/Makefile.am:
30948         * gst/elements/gstelements.c:
30949         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30950         (gst_fakesink_get_times), (gst_fakesink_event),
30951         (gst_fakesink_preroll), (gst_fakesink_render):
30952         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30953         (gst_filesink_init), (gst_filesink_set_location),
30954         (gst_filesink_open_file), (gst_filesink_close_file),
30955         (gst_filesink_pad_query), (gst_filesink_event),
30956         (gst_filesink_render), (gst_filesink_change_state):
30957         * gst/elements/gstfilesink.h:
30958         Added object to help in making collect pad based elements.
30959         Ported filesink.
30960         Make event function in sink baseclass return gboolean.
30961
30962 2005-05-05  Wim Taymans  <wim@fluendo.com>
30963
30964         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30965         (gst_bin_get_by_name):
30966         * gst/gstbuffer.h:
30967         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30968         (gst_clock_finalize):
30969         * gst/gstdata.c: (gst_data_replace):
30970         * gst/gstdata.h:
30971         * gst/gstelement.c: (gst_element_request_pad),
30972         (gst_element_pads_activate):
30973         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30974         (gst_object_unref):
30975         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30976         (gst_pad_set_checkgetrange_function),
30977         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30978         (gst_pad_check_pull_range), (gst_pad_pull_range),
30979         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30980         (gst_pad_pause_task), (gst_pad_stop_task):
30981         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30982         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30983         Fix name lookup in GstBin.
30984         Added _data_replace() function and _buffer_replace()
30985         Use finalize method to clean up clock.
30986         Fix refcounting on request pads.
30987         Fix pad schedule mode error.
30988         Some more object refcounting debug info,
30989
30990
30991 2005-05-04  Andy Wingo <wingo@pobox.com>
30992
30993         * check/Makefile.am:
30994         * docs/gst/tmpl/gstatomic.sgml:
30995         * docs/gst/tmpl/gstplugin.sgml:
30996         * gst/base/gstbasesink.c: (gst_basesink_activate):
30997         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30998         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30999         (gst_basesrc_query), (gst_basesrc_set_property),
31000         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
31001         (gst_basesrc_activate):
31002         * gst/base/gstbasesrc.h:
31003         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
31004         (gst_base_transform_src_activate):
31005         * gst/elements/gstelements.c:
31006         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31007         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
31008         * gst/elements/gsttee.c: (gst_tee_sink_activate):
31009         * gst/elements/gsttypefindelement.c: (find_element_get_length),
31010         (gst_type_find_element_checkgetrange),
31011         (gst_type_find_element_activate):
31012         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
31013         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
31014         (gst_caps_load_thyself):
31015         * gst/gstelement.c: (gst_element_pads_activate),
31016         (gst_element_save_thyself), (gst_element_restore_thyself):
31017         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
31018         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
31019         * gst/gstpad.h:
31020         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
31021         (gst_xml_parse_file), (gst_xml_parse_memory),
31022         (gst_xml_get_element), (gst_xml_make_element):
31023         * gst/indexers/gstfileindex.c: (gst_file_index_load),
31024         (_file_index_id_save_xml), (gst_file_index_commit):
31025         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
31026         (read_enum), (load_pad_template), (load_feature), (load_plugin),
31027         (load_paths):
31028         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
31029         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
31030         * tools/gst-complete.c: (main):
31031         * tools/gst-compprep.c: (main):
31032         * tools/gst-inspect.c: (print_element_properties_info):
31033         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
31034         * tools/gst-xmlinspect.c: (print_element_properties):
31035         GCC 4 fixen.
31036         
31037 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
31038
31039         * gst/gstplugin.c: (gst_plugin_check_module),
31040         (gst_plugin_check_file), (gst_plugin_load_file):
31041             apply patch from #172526 to make register work on MacOSX
31042
31043 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
31044
31045         * docs/gst/tmpl/gstconfig.sgml:
31046         * gst/gstconfig.h.in:
31047           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
31048         * testsuite/debug/printf_extension.c: (main):
31049           Do not use GST_PTR_FORMAT on pointers to types with
31050           sizeof < sizeof(gpointer).  Fixes test on 64-bit
31051         * testsuite/elements/property.h:
31052           use correct printf format
31053
31054 2005-05-02  Wim Taymans  <wim@fluendo.com>
31055
31056         * docs/design/draft-push-pull.txt:
31057         * docs/design/draft-query.txt:
31058         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
31059         (gst_basesrc_start):
31060         Added draft for new query API.
31061         Added draft for better selecting scheduling methods.
31062         Make basesrc ignore length if the subclass does not support
31063         it.
31064
31065 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
31066
31067         * gst/Makefile.am:
31068           possible fixes for automake-1.5 - _LIBADD is reserved
31069
31070 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
31071
31072         * docs/faq/Makefile.am:
31073         * docs/manual/Makefile.am:
31074         * docs/manuals.mak:
31075         * docs/pwg/Makefile.am:
31076         * gst/Makefile.am:
31077           possible fixes for automake-1.5
31078
31079 2005-04-28  Wim Taymans  <wim@fluendo.com>
31080
31081         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31082         (gst_basesink_pad_getcaps), (gst_basesink_init),
31083         (gst_basesink_do_sync):
31084         * gst/gstclock.c: (gst_clock_entry_new):
31085         * gst/gstevent.c: (gst_event_discont_get_value):
31086         * gst/gstpipeline.c: (pipeline_bus_handler),
31087         (gst_pipeline_change_state):
31088         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
31089         Better debugging of clocking info.
31090         Allow NULL values when getting discont values.
31091
31092 2005-04-27  Wim Taymans  <wim@fluendo.com>
31093
31094         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31095         * check/gst/gstpad.c: (gst_pad_suite):
31096         Increase timeout for checks.
31097
31098 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
31099
31100         * check/Makefile.am:
31101           fix the broken rule for cleanup.  Apparently this rule is
31102           only needed on FC2, so maybe this warrants further autotool
31103           inspection.
31104
31105 2005-04-26  Wim Taymans  <wim@fluendo.com>
31106
31107         * gst/gsttrashstack.h:
31108         Ooohh. a nasty one! After having a failed pop() from the stack,
31109         it's possible that the stack is empty. In that case, don't
31110         follow the NULL pointer.
31111
31112 2005-04-25  Wim Taymans  <wim@fluendo.com>
31113
31114         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31115         (gst_pad_set_checkgetrange_function),
31116         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
31117         (gst_pad_check_pull_range), (gst_pad_pull_range),
31118         (gst_static_pad_template_get_caps), (gst_pad_start_task),
31119         (gst_pad_pause_task), (gst_pad_stop_task):
31120         * gst/gstplugin.c: (gst_plugin_load):
31121         * gst/gstplugin.h:
31122         Remove gst_library_load as it does more harm than good with
31123         the new g_module flags.
31124         Revert bogus caps template check in pad linking, pad caps
31125         are important when linking not the template, which is more
31126         general than the current caps.
31127
31128 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31129
31130         * gst/autoplug/.cvsignore:
31131         * gst/autoplug/Makefile.am:
31132         * gst/autoplug/gstsearchfuncs.c:
31133         * gst/autoplug/gstsearchfuncs.h:
31134         * gst/autoplug/gstspider.c:
31135         * gst/autoplug/gstspider.h:
31136         * gst/autoplug/gstspideridentity.c:
31137         * gst/autoplug/gstspideridentity.h:
31138         * gst/autoplug/spidertest.c:
31139           Die, spider, die.
31140
31141 2005-04-25  Wim Taymans  <wim@fluendo.com>
31142
31143         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31144         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31145         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
31146         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
31147         * gst/gstpad.h:
31148         Added stubs for unimplemented functions. 
31149
31150 2005-04-24  David Schleef  <ds@schleef.org>
31151
31152         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
31153         please fix.
31154
31155 2005-04-24  David Schleef  <ds@schleef.org>
31156
31157         Convert everything from GstAtomicInt to g_atomic_int_*, and
31158         remove gstatomic.
31159         * gst/Makefile.am:
31160         * gst/gstatomic.c:
31161         * gst/gstatomic.h:
31162         * gst/gstatomic_impl.h:
31163         * gst/gstbuffer.c:
31164         * gst/gstcaps.c:
31165         * gst/gstcaps.h:
31166         * gst/gstclock.c:
31167         * gst/gstclock.h:
31168         * gst/gstdata.c:
31169         * gst/gstdata.h:
31170         * gst/gstdata_private.h:
31171         * gst/gstevent.c:
31172         * gst/gstinfo.c:
31173         * gst/gstinfo.h:
31174         * gst/gstmessage.c:
31175         * gst/gstobject.c:
31176         * gst/gstobject.h:
31177         * gst/gststructure.c:
31178         * gst/gststructure.h:
31179         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31180         * gst/gstutils.h:
31181
31182 2005-04-24  David Schleef  <ds@schleef.org>
31183
31184         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31185         make the regressions tests work.  Remove some code that is no
31186         longer true.
31187         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31188         Disable warning for pads without templates.
31189
31190 2005-04-24  David Schleef  <ds@schleef.org>
31191
31192         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
31193         functions that handle filtered links.
31194         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31195         removed functions.
31196         * gst/gstutils.c: Fix/remove utility functions that handle
31197         filtered caps.
31198         * gst/gstutils.h:
31199         * gst/gstvalue.c: Add serialization/deserialization of caps
31200         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
31201         requires fixing so that the filter caps notation creates
31202         a capsfilter element and sets the filter_caps property.  I
31203         think everyone probably wants to keep the shorthand notation.
31204         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31205         * docs/gst/tmpl/gstpad.sgml:
31206
31207         * gst/elements/gstelements.c: Register capsfilter element.
31208         * gst/Makefile.am: fix spacing
31209         * docs/random/ds/0.9-suggested-changes: random
31210
31211 2005-04-23  David Schleef  <ds@schleef.org>
31212
31213         * gst/elements/Makefile.am:
31214         * gst/elements/gstcapsfilter.c: New element that acts like an
31215         identity, but filters caps.  Will eventually replace filtered
31216         caps in pad linking.
31217         * gst/gstutils.c: (gst_element_create_all_pads): New function
31218         to create all the ALWAYS pads that are registered with an
31219         element class.  This functionality should eventually be
31220         merged in with GstElement initialization.
31221         * gst/gstutils.h:
31222         * testsuite/trigger/README: part of trigger test code that should
31223         have been checked in a long time ago.
31224
31225 2005-04-23  David Schleef  <ds@schleef.org>
31226
31227         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
31228         needed with new versions of libtool (nobody will confirm this),
31229         and hard to carry around.
31230         * gst/autoplug/Makefile.am:
31231         * gst/base/Makefile.am:
31232         * gst/elements/Makefile.am:
31233         * gst/indexers/Makefile.am:
31234         * gst/schedulers/Makefile.am:
31235         * libs/gst/bytestream/Makefile.am:
31236         * libs/gst/control/Makefile.am:
31237         * libs/gst/dataprotocol/Makefile.am:
31238         * libs/gst/getbits/Makefile.am:
31239
31240 2005-04-21  Wim Taymans  <wim@fluendo.com>
31241
31242         * docs/design/draft-push-pull.txt:
31243         * docs/design/part-MT-refcounting.txt:
31244         * docs/design/part-TODO.txt:
31245         * docs/design/part-caps.txt:
31246         * docs/design/part-events.txt:
31247         * docs/design/part-gstbus.txt:
31248         * docs/design/part-gstpipeline.txt:
31249         * docs/design/part-messages.txt:
31250         * docs/design/part-push-pull.txt:
31251         * docs/design/part-query.txt:
31252         Some more docs.
31253
31254 2005-04-21  Wim Taymans  <wim@fluendo.com>
31255
31256         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31257         (gst_message_new), (gst_message_new_error),
31258         (gst_message_new_warning), (gst_message_new_tag),
31259         (gst_message_new_state_changed), (gst_message_new_application),
31260         (gst_message_get_structure):
31261         * gst/gstmessage.h:
31262         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31263         (gst_structure_copy_conditional):
31264         Use parent refcount in GstMessage to ensure GstStructure
31265         consistency.
31266         Cleaned up headers a bit.
31267         
31268
31269 2005-04-20  Wim Taymans  <wim@fluendo.com>
31270
31271         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31272         (gst_basesink_pad_getcaps), (gst_basesink_init),
31273         (gst_basesink_chain_unlocked):
31274         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31275         (gst_type_find_helper):
31276         * gst/elements/gsttypefindelement.c:
31277         (gst_type_find_element_have_type), (gst_type_find_element_init),
31278         (stop_typefinding), (gst_type_find_element_handle_event),
31279         (find_suggest), (gst_type_find_element_chain),
31280         (gst_type_find_element_checkgetrange),
31281         (gst_type_find_element_getrange), (do_typefind),
31282         (gst_type_find_element_activate):
31283         * gst/gstbuffer.c: (_gst_buffer_sub_free),
31284         (gst_buffer_default_free), (gst_buffer_default_copy),
31285         (gst_buffer_set_caps):
31286         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31287         (gst_caps_replace):
31288         * gst/gstmessage.c: (gst_message_new),
31289         (gst_message_new_state_changed):
31290         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31291         (gst_pad_set_checkgetrange_function),
31292         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31293         (gst_pad_set_caps), (gst_pad_check_pull_range),
31294         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31295         * gst/gstpad.h:
31296         * gst/gsttypefind.c: (gst_type_find_register):
31297         Make gst_caps_replace() work like other _replace() functions.
31298         Use _caps_replace() where possible.
31299         Make sure _message_new() initialises its field.
31300         Add gst_static_pad_template_get_caps()
31301
31302
31303 2005-04-18  Andy Wingo  <wingo@pobox.com>
31304
31305         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31306         on the peer, not the pad. I think that was a typo. Pass an extra
31307         arg to see if random access is possible. Activate the pads as
31308         PULL_RANGE if possible.
31309
31310         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31311
31312         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
31313         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31314         to PROP_....
31315
31316 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31317
31318         * docs/faq/using.xml:
31319           Add note on gstreamer-properties (#154996).
31320
31321 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31322
31323         * docs/random/bbb/optional-properties:
31324           Some analysis on optional properties.
31325
31326 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31327
31328         * docs/gst/tmpl/gstelementfactory.sgml:
31329         * gst/gstelement.h:
31330         * gst/gstelementfactory.c: (gst_element_factory_init),
31331         (gst_element_factory_cleanup), (gst_element_register),
31332         (__gst_element_factory_add_static_pad_template),
31333         (gst_element_factory_get_static_pad_templates),
31334         (gst_element_factory_can_src_caps),
31335         (gst_element_factory_can_sink_caps):
31336         * gst/registries/Makefile.am:
31337         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31338         (gst_xml_registry_class_init), (gst_xml_registry_init),
31339         (gst_xml_registry_new), (gst_xml_registry_set_property),
31340         (gst_xml_registry_get_property), (get_time), (make_dir),
31341         (gst_xml_registry_get_perms_func),
31342         (plugin_times_older_than_recurse), (plugin_times_older_than),
31343         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31344         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31345         (add_to_char_array), (read_string), (read_uint), (read_enum),
31346         (load_pad_template), (load_feature), (load_plugin), (load_paths),
31347         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31348         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31349         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31350         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31351         (gst_xml_registry_rebuild):
31352         * gst/registries/gstlibxmlregistry.h:
31353         * tools/gst-compprep.c: (main):
31354         * tools/gst-inspect.c: (print_pad_templates_info):
31355         * tools/gst-xmlinspect.c: (print_element_info):
31356           Use libxml2 for registry parsing, use staticpadtemplates in
31357           elementfactories. Makes gst_init() +/- 10x faster.
31358
31359 2005-04-12  Wim Taymans  <wim@fluendo.com>
31360
31361         * gst/base/Makefile.am:
31362         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31363         (gst_basesink_pad_getcaps), (gst_basesink_init),
31364         (gst_basesink_event), (gst_basesink_change_state):
31365         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31366         (gst_basesrc_init), (gst_basesrc_query),
31367         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31368         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31369         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31370         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31371         (gst_basesrc_stop), (gst_basesrc_activate),
31372         (gst_basesrc_change_state):
31373         * gst/base/gsttypefindhelper.c: (helper_find_peek),
31374         (helper_find_suggest), (gst_type_find_helper):
31375         * gst/base/gsttypefindhelper.h:
31376         * gst/elements/Makefile.am:
31377         * gst/elements/gstelements.c:
31378         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31379         (gst_fakesink_get_times), (gst_fakesink_event),
31380         (gst_fakesink_preroll), (gst_fakesink_render):
31381         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31382         (gst_fakesrc_init), (gst_fakesrc_event_handler),
31383         (gst_fakesrc_get_property), (gst_fakesrc_create),
31384         (gst_fakesrc_start), (gst_fakesrc_stop):
31385         * gst/elements/gstfakesrc.h:
31386         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31387         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31388         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31389         (gst_filesrc_create_read), (gst_filesrc_create),
31390         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31391         (gst_filesrc_start):
31392         * gst/elements/gsttypefindelement.c:
31393         (gst_type_find_element_have_type), (gst_type_find_element_init),
31394         (start_typefinding), (stop_typefinding), (push_buffer_store),
31395         (gst_type_find_element_handle_event),
31396         (gst_type_find_element_chain),
31397         (gst_type_find_element_checkgetrange),
31398         (gst_type_find_element_getrange), (do_typefind),
31399         (gst_type_find_element_activate),
31400         (gst_type_find_element_change_state):
31401         * gst/elements/gsttypefindelement.h:
31402         * gst/gstpipeline.c: (pipeline_bus_handler):
31403         Added typefind helper.
31404         Small preroll fix in the base sink.
31405         Disable typefind code in basesrc.
31406         Crude port of typefindelement.
31407         Fakesrc cleanups.
31408
31409
31410 2005-04-11  Wim Taymans  <wim@fluendo.com>
31411
31412         * check/gst/gstbus.c: (gstbus_suite):
31413         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31414         * check/gstcheck.h:
31415           Fix up the timeout so that the test does not fail.
31416
31417 2005-04-06  Wim Taymans  <wim@fluendo.com>
31418
31419         * gst/base/README:
31420         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31421         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31422         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31423         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31424         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31425         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31426         (gst_basesrc_stop), (gst_basesrc_activate),
31427         (gst_basesrc_change_state), (basesrc_find_peek),
31428         (basesrc_find_suggest), (gst_basesrc_type_find):
31429         * gst/base/gstbasesrc.h:
31430         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31431         (gst_filesrc_class_init), (gst_filesrc_init),
31432         (gst_filesrc_finalize), (gst_filesrc_set_location),
31433         (gst_filesrc_set_property), (gst_filesrc_get_property),
31434         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31435         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31436         (gst_filesrc_create_read), (gst_filesrc_create),
31437         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31438         * gst/elements/gstfilesrc.h:
31439         * gst/gstelement.c: (gst_element_get_state_func),
31440         (gst_element_lost_state), (gst_element_pads_activate):
31441         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31442         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31443         (gst_pad_pull_range):
31444         * gst/gstpad.h:
31445         More work on the generic source base class, implement seeking,
31446         query.
31447         Make filesrc extend the base source class.
31448         Added gst_pad_set_checkgetrange_function to GstPad.
31449
31450 2005-04-06  Andy Wingo  <wingo@pobox.com>
31451
31452         * pkgconfig/gstreamer-base.pc.in:
31453         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31454
31455         * pkgconfig/Makefile.am:
31456         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31457
31458 2005-04-04  Wim Taymans  <wim@fluendo.com>
31459
31460         * gst/base/Makefile.am:
31461         * gst/base/README:
31462         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31463         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31464         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31465         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31466         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31467         (gst_basesrc_base_init), (gst_basesrc_class_init),
31468         (gst_basesrc_init), (gst_basesrc_get_formats),
31469         (gst_basesrc_get_query_types), (gst_basesrc_query),
31470         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31471         (gst_basesrc_set_property), (gst_basesrc_get_property),
31472         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31473         (gst_basesrc_loop), (gst_basesrc_activate),
31474         (gst_basesrc_change_state):
31475         * gst/base/gstbasesrc.h:
31476         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31477         (gst_fakesrc_class_init), (gst_fakesrc_init),
31478         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31479         (gst_fakesrc_get_property), (gst_fakesrc_create):
31480         * gst/elements/gstfakesrc.h:
31481         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31482         (gst_filesrc_open_file), (gst_filesrc_loop),
31483         (gst_filesrc_activate), (filesrc_find_peek),
31484         (gst_filesrc_type_find):
31485         Made base source class, make fakesrc extend it.
31486         Add comments to basesink class.
31487         Some filesrc cleanup.
31488
31489 2005-03-31  David Schleef  <ds@schleef.org>
31490
31491         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31492         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31493         expected to link against libgstreamer.
31494         * gst/base/Makefile.am: link against libgstreamer
31495         * gst/elements/Makefile.am: same
31496
31497 2005-03-31  Andy Wingo  <wingo@pobox.com>
31498
31499         * tests/instantiate/Makefile.am:
31500         * tests/instantiate/caps.c: Add test to test speed of caps copy
31501         and free.
31502
31503         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31504         GMemChunk to be fair.
31505
31506         * gst/gsttrashstack.h: Remove warning about using the fallback
31507         trash stack implementation, it's still faster than malloc.
31508
31509 2005-03-30  Andy Wingo  <wingo@pobox.com>
31510
31511         * tests/complexity.c: Add a copyright.
31512
31513 2005-03-31  Wim Taymans  <wim@fluendo.com>
31514
31515         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31516         (gst_base_transform_class_init), (gst_base_transform_init),
31517         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31518         (gst_base_transform_get_property),
31519         (gst_base_transform_sink_activate),
31520         (gst_base_transform_src_activate),
31521         (gst_base_transform_change_state):
31522         * gst/base/gstbasetransform.h:
31523         * gst/elements/gstidentity.c: (gst_identity_class_init),
31524         (gst_identity_event), (gst_identity_check_perfect),
31525         (gst_identity_transform), (gst_identity_start),
31526         (gst_identity_stop):
31527         Added start/stop methods to transform base class so subclasses 
31528         don't need to deal with state changes even.
31529
31530 2005-03-31  Wim Taymans  <wim@fluendo.com>
31531
31532         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31533         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31534         * gst/gstevent.h:
31535         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31536         (gst_pad_pull_range):
31537         Added rate to the discont event to prepare for variable speed
31538         and reverse playback.
31539
31540 2005-03-29  David Schleef  <ds@schleef.org>
31541
31542         * configure.ac:
31543         * testsuite/trigger/Makefile.am:
31544         * testsuite/trigger/trigger.c: A little example program to show
31545         how trigger-based elements can work.
31546
31547 2005-03-29  Wim Taymans  <wim@fluendo.com>
31548
31549         * gst/base/Makefile.am:
31550         * gst/base/README:
31551         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31552         (gst_basesink_base_init), (gst_basesink_class_init),
31553         (gst_basesink_pad_getcaps), (gst_basesink_init),
31554         (gst_basesink_activate), (gst_basesink_change_state):
31555         * gst/base/gstbasesink.h:
31556         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31557         (gst_base_transform_base_init), (gst_base_transform_finalize),
31558         (gst_base_transform_class_init), (gst_base_transform_init),
31559         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31560         (gst_base_transform_event), (gst_base_transform_getrange),
31561         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31562         (gst_base_transform_set_property),
31563         (gst_base_transform_get_property),
31564         (gst_base_transform_sink_activate),
31565         (gst_base_transform_src_activate),
31566         (gst_base_transform_change_state):
31567         * gst/base/gstbasetransform.h:
31568         * gst/elements/gstidentity.c: (gst_identity_finalize),
31569         (gst_identity_class_init), (gst_identity_init),
31570         (gst_identity_event), (gst_identity_check_perfect),
31571         (gst_identity_transform), (gst_identity_set_property),
31572         (gst_identity_get_property), (gst_identity_change_state):
31573         * gst/elements/gstidentity.h:
31574         * gst/gstelement.c: (gst_element_get_state_func),
31575         (gst_element_lost_state), (gst_element_pads_activate):
31576         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31577         (gst_pad_check_pull_range), (gst_pad_pull_range):
31578         * gst/gstpad.h:
31579         Simplify pad activation.
31580         Added function to check if pull_range can be performed.
31581         Error out when pulling inactive or flushing pads.
31582         Removed const from refcounted types as it does not make sense.
31583         Simplify pad templates in basesink
31584         Added base class for simple 1-to-1 transforms.
31585         Make identity subclass the base transform.
31586
31587 2005-03-29  Andy Wingo  <wingo@pobox.com>
31588
31589         * docs/libs/gstreamer-libs-overrides.txt: 
31590         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31591         really don't understand what's going on, but like whatever. I want
31592         green buildbot!
31593
31594         * docs/gst/Makefile.am:
31595         * docs/libs/Makefile.am: Dist the overrides files.
31596
31597         * check/Makefile.am (clean-local): Remove .libs directories.
31598
31599         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31600         elements to EXTRA_DIST, so po/ files are happy.
31601
31602         * po/POTFILES.in: Er, remove it here.
31603
31604         * po/POTFILES: Remove gstspider.c.
31605
31606         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31607
31608         * docs/libs/gstreamer-libs-docs.sgml: 
31609         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31610         bytestream.
31611
31612         * tests/complexity.c (main): Set the length of the preroll queue
31613         on the sinks to prevent a lockup.
31614
31615         * libs/gst/dataprotocol/Makefile.am: 
31616         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31617         the same as the one in check/gst-libs/gdp.c.
31618
31619         * po/, docs/gst/: Commit automatic changes to docs and po files.
31620
31621         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31622         the versioned libgstbase.
31623
31624         * check/Makefile.am: Depend on an unversioned gst-register, seems
31625         to make autoconf happier.
31626
31627         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31628
31629 2005-03-28  Wim Taymans  <wim@fluendo.com>
31630
31631         * configure.ac:
31632         * docs/design/part-gstelement.txt:
31633         * docs/design/part-negotiation.txt:
31634         * docs/design/part-preroll.txt:
31635         * docs/design/part-scheduling.txt:
31636         * docs/design/part-states.txt:
31637         * gst/Makefile.am:
31638         * gst/base/Makefile.am:
31639         * gst/base/README:
31640         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31641         (gst_basesink_base_init), (gst_basesink_class_init),
31642         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31643         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31644         (gst_basesink_set_pad_functions),
31645         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31646         (gst_basesink_set_property), (gst_basesink_get_property),
31647         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31648         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31649         (gst_basesink_preroll_queue_push),
31650         (gst_basesink_preroll_queue_empty),
31651         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31652         (gst_basesink_event), (gst_basesink_get_times),
31653         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31654         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31655         (gst_basesink_loop), (gst_basesink_activate),
31656         (gst_basesink_change_state):
31657         * gst/base/gstbasesink.h:
31658         * gst/elements/Makefile.am:
31659         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31660         (gst_fakesink_class_init), (gst_fakesink_init),
31661         (gst_fakesink_set_property), (gst_fakesink_get_property),
31662         (gst_fakesink_get_times), (gst_fakesink_event),
31663         (gst_fakesink_preroll), (gst_fakesink_render),
31664         (gst_fakesink_change_state):
31665         * gst/elements/gstfakesink.h:
31666         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31667         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31668         * gst/gstelement.c: (gst_element_add_pad),
31669         (gst_element_get_state_func), (gst_element_abort_state),
31670         (gst_element_commit_state), (gst_element_lost_state),
31671         (gst_element_set_state), (gst_element_pads_activate):
31672         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31673         * gst/gstpipeline.c: (gst_pipeline_send_event),
31674         (gst_pipeline_change_state):
31675         Added state change code.
31676         Added/updated docs.
31677         Added sink base class, make fakesink extend the base class.
31678         Small cleanups in GstPipeline.
31679
31680 2005-03-26  David Schleef  <ds@schleef.org>
31681
31682         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31683         is broken and should be implemented in a different library.
31684         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31685         * gst/gst.h: remove gstcpu.h
31686         * gst/gstcpu.c: remove
31687         * gst/gstcpu.h: remove
31688         * gst/Makefile.am.future: Remove this file.  It's ancient.
31689
31690 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31691
31692         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31693         (gst_bin_send_event):
31694           Add default event/set_manager handlers. The set_manager handler
31695           takes care that the manager is distributed over kids that were
31696           already in the bin before the manager was set. The event handler
31697           is a utility virtual function that sends the event over all sinks,
31698           so that gst_element_send_event (bin, event); has the expected
31699           behaviour.
31700         * gst/gstpad.c: (gst_pad_event_default):
31701           Re-install default event handling for discontinuities, so that
31702           seeking works without requiring hacks in applications or extra
31703           code in sinks.
31704         * gst/gstpipeline.c: (gst_pipeline_class_init),
31705         (gst_pipeline_send_event):
31706           Half hack, half utility: set a pipeline to PAUSED for seek events,
31707           since that is the only way we can guarantee a/v sync. Means that
31708           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31709           and it "just works".
31710
31711 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31712
31713         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31714           Lock/unlock mismatch.
31715
31716 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31717
31718         * docs/faq/gst-uninstalled:
31719           add gst-plugins-base
31720         * docs/gst/Makefile.am:
31721           don't error out until docs are fixed
31722         * docs/gst/gstreamer.types:
31723           remove thread
31724
31725 2005-03-22  Wim Taymans  <wim@fluendo.com>
31726
31727         * check/Makefile.am:
31728         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31729         * gst/gststructure.c: (gst_structure_set_valist),
31730         (gst_structure_copy_conditional):
31731         Activated more tests.
31732         Added message test.
31733         Added G_TYPE_POINTER to GstStructure.
31734         
31735
31736 2005-03-22  Wim Taymans  <wim@fluendo.com>
31737
31738         * docs/design/part-TODO.txt:
31739         * docs/design/part-events.txt:
31740         * docs/design/part-gstbin.txt:
31741         * docs/design/part-gstbus.txt:
31742         * docs/design/part-gstpipeline.txt:
31743         * docs/design/part-messages.txt:
31744         * gst/gstbus.c:
31745         * gst/gstmessage.c:
31746         Docs updates
31747
31748 2005-03-21  Wim Taymans  <wim@fluendo.com>
31749
31750         * gst/gstbus.c: (gst_bus_post):
31751         Fix copy-and-paste error.
31752
31753 2005-03-21  Wim Taymans  <wim@fluendo.com>
31754
31755         * check/Makefile.am:
31756         * gst/Makefile.am:
31757         * gst/elements/Makefile.am:
31758         * gst/elements/gstelements.c:
31759         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31760         (gst_fakesink_event), (gst_fakesink_chain):
31761         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31762         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31763         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31764         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31765         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31766         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31767         (gst_fakesrc_loop), (gst_fakesrc_activate),
31768         (gst_fakesrc_change_state):
31769         * gst/elements/gstfakesrc.h:
31770         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31771         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31772         (gst_filesrc_open_file), (gst_filesrc_loop),
31773         (gst_filesrc_activate), (gst_filesrc_change_state),
31774         (filesrc_find_peek), (filesrc_find_suggest),
31775         (gst_filesrc_type_find):
31776         * gst/elements/gstidentity.c: (gst_identity_finalize),
31777         (gst_identity_class_init), (gst_identity_init),
31778         (gst_identity_proxy_getcaps), (identity_queue_push),
31779         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31780         (gst_identity_getrange), (gst_identity_chain),
31781         (gst_identity_sink_loop), (gst_identity_src_loop),
31782         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31783         (gst_identity_set_property), (gst_identity_get_property),
31784         (gst_identity_change_state):
31785         * gst/elements/gstidentity.h:
31786         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31787         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31788         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31789         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31790         (gst_tee_sink_activate):
31791         * gst/elements/gsttee.h:
31792         * gst/gst.c: (gst_register_core_elements), (init_post):
31793         * gst/gst.h:
31794         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31795         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31796         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31797         (gst_bin_change_state):
31798         * gst/gstbin.h:
31799         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31800         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31801         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31802         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31803         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31804         (bus_watch_callback), (bus_watch_destroy),
31805         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31806         (poll_timeout), (gst_bus_poll):
31807         * gst/gstbus.h:
31808         * gst/gstcaps.h:
31809         * gst/gstdata.h:
31810         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31811         (gst_element_post_message), (gst_element_message_full),
31812         (gst_element_get_state_func), (gst_element_get_state),
31813         (gst_element_abort_state), (gst_element_commit_state),
31814         (gst_element_lost_state), (gst_element_set_state),
31815         (gst_element_pads_activate), (gst_element_change_state),
31816         (gst_element_dispose), (gst_element_set_manager_func),
31817         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31818         (gst_element_set_manager), (gst_element_get_manager),
31819         (gst_element_set_bus), (gst_element_get_bus),
31820         (gst_element_set_scheduler), (gst_element_get_scheduler):
31821         * gst/gstelement.h:
31822         * gst/gstevent.c: (gst_event_new_segment_seek),
31823         (gst_event_new_flush):
31824         * gst/gstevent.h:
31825         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31826         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31827         (gst_message_new_eos), (gst_message_new_error),
31828         (gst_message_new_warning), (gst_message_new_tag),
31829         (gst_message_new_state_changed), (gst_message_new_application),
31830         (gst_message_get_structure), (gst_message_parse_tag),
31831         (gst_message_parse_state_changed), (gst_message_parse_error),
31832         (gst_message_parse_warning):
31833         * gst/gstmessage.h:
31834         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31835         (gst_real_pad_set_property), (gst_pad_set_active),
31836         (gst_pad_is_active), (gst_pad_set_blocked_async),
31837         (gst_pad_set_blocked), (gst_pad_is_blocked),
31838         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31839         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31840         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31841         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31842         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31843         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31844         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31845         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31846         (gst_pad_set_caps), (gst_pad_configure_sink),
31847         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31848         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31849         (gst_real_pad_dispose), (gst_real_pad_finalize),
31850         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31851         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31852         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31853         * gst/gstpad.h:
31854         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31855         (pipeline_bus_handler), (gst_pipeline_change_state),
31856         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31857         * gst/gstpipeline.h:
31858         * gst/gstprobe.h:
31859         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31860         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31861         (gst_queue_link_src), (gst_queue_bufferalloc),
31862         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31863         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31864         (gst_queue_loop), (gst_queue_handle_src_event),
31865         (gst_queue_handle_src_query), (gst_queue_src_activate),
31866         (gst_queue_change_state):
31867         * gst/gstqueue.h:
31868         * gst/gstscheduler.c: (gst_scheduler_init),
31869         (gst_scheduler_dispose), (gst_scheduler_create_task),
31870         (gst_scheduler_factory_create):
31871         * gst/gstscheduler.h:
31872         * gst/gststructure.c: (gst_structure_get_type),
31873         (gst_structure_copy_conditional):
31874         * gst/gststructure.h:
31875         * gst/gsttaginterface.h:
31876         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31877         (gst_task_init), (gst_task_dispose), (gst_task_create),
31878         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31879         (gst_task_pause):
31880         * gst/gsttask.h:
31881         * gst/gstthread.c:
31882         * gst/gstthread.h:
31883         * gst/gsttypes.h:
31884         * gst/schedulers/Makefile.am:
31885         * gst/schedulers/cothreads_compat.h:
31886         * gst/schedulers/entryscheduler.c:
31887         * gst/schedulers/faircothreads.c:
31888         * gst/schedulers/faircothreads.h:
31889         * gst/schedulers/fairscheduler.c:
31890         * gst/schedulers/gstbasicscheduler.c:
31891         * gst/schedulers/gstoptimalscheduler.c:
31892         * gst/schedulers/gthread-cothreads.h:
31893         * gst/schedulers/threadscheduler.c:
31894         (gst_thread_scheduler_task_get_type),
31895         (gst_thread_scheduler_task_class_init),
31896         (gst_thread_scheduler_task_init),
31897         (gst_thread_scheduler_task_start),
31898         (gst_thread_scheduler_task_stop),
31899         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31900         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31901         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31902         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31903         (plugin_init):
31904         * libs/gst/Makefile.am:
31905         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31906         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31907         (gst_file_pad_parent_set):
31908         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31909         (gst_dp_event_from_packet):
31910         * tests/complexity.c: (main):
31911         * tests/mass_elements.c: (main):
31912         * testsuite/states/locked.c: (message_received), (main):
31913         * testsuite/states/parent.c: (main):
31914         * tools/gst-inspect.c: (print_element_flag_info),
31915         (print_implementation_info), (print_pad_info):
31916         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31917         (main):
31918         * tools/gst-md5sum.c: (event_loop), (main):
31919         * tools/gst-typefind.c: (main):
31920         * tools/gst-xmlinspect.c: (print_element_info):
31921         Next big merge.
31922         Added GstBus for mainloop integration.
31923         Added GstMessage for sending notifications on the bus.
31924         Added GstTask as an abstraction for pipeline entry points.
31925         Removed GstThread.
31926         Removed Schedulers.
31927         Simplified GstQueue for multithreaded core.
31928         Made _link threadsafe, removed old capsnego.
31929         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31930         Added pad blocking functions.
31931         Reworked scheduling functions in GstPad to prepare for
31932         scheduling updates soon.
31933         Moved events out of data stream.
31934         Simplified GstEvent types.
31935         Added return values to push/pull.
31936         Removed clocking from GstElement.
31937         Added prototypes for state change function for next merge.
31938         Removed iterate from bins and state change management.
31939         Fixed some elements, disabled others for now.
31940         Fixed -inspect and -launch.
31941         Added check for GstBus.
31942
31943 2005-03-10  Wim Taymans  <wim@fluendo.com>
31944
31945         * docs/design/part-MT-refcounting.txt:
31946         * docs/design/part-clocks.txt:
31947         * docs/design/part-gstelement.txt:
31948         * docs/design/part-gstobject.txt:
31949         * docs/design/part-standards.txt:
31950         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31951         (gst_bin_remove_func), (gst_bin_remove):
31952         * gst/gstbin.h:
31953         * gst/gstbuffer.c:
31954         * gst/gstcaps.h:
31955         * testsuite/clock/clock1.c: (main):
31956         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31957         (main):
31958         * testsuite/dlopen/loadgst.c: (do_test):
31959         * testsuite/refcounting/bin.c: (add_remove_test1),
31960         (add_remove_test2), (main):
31961         * testsuite/refcounting/element.c: (main):
31962         * testsuite/refcounting/element_pad.c: (main):
31963         * testsuite/refcounting/pad.c: (main):
31964         * tools/gst-launch.c: (sigint_handler_sighandler):
31965         * tools/gst-typefind.c: (main):
31966         Doc updates.
31967         Added doc about clock.
31968         removed gst_bin_iterate_recurse_up(), marked methods
31969         for removal.
31970         Fix more testsuites.
31971
31972 2005-03-09  Wim Taymans  <wim@fluendo.com>
31973
31974         * gst/gstpad.c: (gst_pad_get_direction),
31975         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31976         (gst_pad_collect_valist):
31977         * testsuite/bins/interface.c: (main):
31978         * testsuite/caps/audioscale.c: (test_caps):
31979         * testsuite/caps/caps.c: (test1), (test2), (test3):
31980         * testsuite/caps/deserialize.c: (main):
31981         * testsuite/caps/enumcaps.c: (main):
31982         * testsuite/caps/filtercaps.c: (main):
31983         * testsuite/caps/intersect2.c: (main):
31984         * testsuite/caps/random.c: (main):
31985         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31986         * testsuite/caps/sets.c: (check_caps):
31987         * testsuite/caps/simplify.c: (check_caps), (main):
31988         * testsuite/caps/subtract.c: (check_caps):
31989         Fix _pad_get_direction wrt ghostpads.
31990         Fix caps testsuite.
31991
31992 2005-03-09  Wim Taymans  <wim@fluendo.com>
31993
31994         * check/Makefile.am:
31995         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31996         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31997         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31998         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31999         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
32000         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
32001         (gst_bin_remove), (gst_bin_iterate_recurse_up),
32002         (bin_element_is_sink), (gst_bin_iterate_sinks),
32003         (gst_bin_iterate_all_by_interface):
32004         * gst/gstbin.h:
32005         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
32006         (gst_element_change_state), (gst_element_dispose),
32007         (gst_element_finalize), (gst_element_set_loop_function):
32008         * gst/gstelement.h:
32009         * gst/gstiterator.c: (find_custom_fold_func):
32010         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
32011         (gst_pad_collectv), (gst_pad_collect_valist),
32012         (gst_pad_template_new):
32013         * gst/gstpipeline.c: (gst_pipeline_class_init),
32014         (gst_pipeline_dispose), (gst_pipeline_set_property),
32015         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
32016         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
32017         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
32018         * gst/gstutils.h:
32019         * gst/schedulers/entryscheduler.c:
32020         * gst/schedulers/gstbasicscheduler.c:
32021         (gst_basic_scheduler_cothreaded_chain),
32022         (gst_basic_scheduler_chain_add_element):
32023         * testsuite/bins/interface.c: (main):
32024         Added GstBin test.
32025         Added GstSystemClock test.
32026         Implemented clock distribution code in GstBin.
32027         Implemented iterate sinks method for future use.
32028         Rearranged gstelement.h
32029         Fix GstIterator comparison bug.
32030         Moved some code to GstPipeline, mostly clocking related.
32031
32032 2005-03-09  Wim Taymans  <wim@fluendo.com>
32033
32034         * configure.ac:
32035         * gst/gst_private.h:
32036         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
32037         (gst_bin_remove_func), (gst_bin_remove),
32038         (gst_bin_get_by_name_recurse_up):
32039         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
32040         (gst_clock_id_compare_func), (gst_clock_id_wait),
32041         (gst_clock_id_wait_async), (gst_clock_init),
32042         (gst_clock_adjust_unlocked), (gst_clock_get_time):
32043         * gst/gstelement.h:
32044         * gst/gstinfo.c: (_gst_debug_init):
32045         * gst/gstobject.h:
32046         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
32047         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
32048         * gst/gstpad.h:
32049         Bump version number, we're now 0.9.0
32050         Add future debugging category.
32051         Fix NULL _unref() in _get_by_name_recurse_up
32052         Rearrange gstpad.h.
32053         Update some docs.
32054
32055 2005-03-08  Wim Taymans  <wim@fluendo.com>
32056
32057         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
32058         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
32059         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
32060         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
32061         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
32062         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
32063         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
32064         * gst/elements/gstidentity.c: (gst_identity_class_init):
32065         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
32066         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
32067         * gst/elements/gstshaper.c: (gst_shaper_class_init):
32068         * gst/elements/gststatistics.c: (gst_statistics_class_init):
32069         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
32070         (gst_tee_link):
32071         * gst/gstelement.c: (gst_element_class_init),
32072         (gst_element_base_class_init), (gst_element_init),
32073         (gst_element_get_random_pad), (gst_element_wait_state_change),
32074         (gst_element_change_state), (gst_element_dispose),
32075         (gst_element_finalize), (gst_element_set_loop_function):
32076         * gst/gstelement.h:
32077         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
32078         * gst/gstthread.c: (gst_thread_class_init),
32079         (gst_thread_release_children_locks), (gst_thread_change_state):
32080         * gst/schedulers/gstbasicscheduler.c:
32081         (gst_basic_scheduler_loopfunc_wrapper),
32082         (gst_basic_scheduler_chain_wrapper),
32083         (gst_basic_scheduler_src_wrapper),
32084         (gst_basic_scheduler_remove_element):
32085         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
32086         Remove threadsafe properties. Fix elements because GObject
32087         complains when installing a property before declaring a
32088         set/get_property handler.
32089         Rearrange gstelement.h file, use STATE macros for state locks.
32090         Free mutexes in the finalize method instead of dispose.
32091
32092 2005-03-08  Wim Taymans  <wim@fluendo.com>
32093
32094         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
32095         * gst/gstthread.c: (gst_thread_release_children_locks):
32096         Added parentage check.
32097         Fix build og GstThread again.
32098
32099 2005-03-08  Wim Taymans  <wim@fluendo.com>
32100
32101         * docs/design/part-MT-refcounting.txt:
32102         * docs/design/part-conventions.txt:
32103         * docs/design/part-gstobject.txt:
32104         * docs/design/part-relations.txt:
32105         * docs/design/part-standards.txt:
32106         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
32107         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
32108         (gst_bin_get_by_name), (gst_bin_get_by_interface),
32109         (gst_bin_iterate_all_by_interface):
32110         * gst/gstbuffer.h:
32111         * gst/gstclock.h:
32112         * gst/gstelement.c: (gst_element_class_init),
32113         (gst_element_change_state), (gst_element_set_loop_function):
32114         * gst/gstelement.h:
32115         * gst/gstiterator.c:
32116         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
32117         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
32118         (gst_object_dispatch_properties_changed), (gst_object_set_name),
32119         (gst_object_set_parent), (gst_object_unparent),
32120         (gst_object_check_uniqueness):
32121         * gst/gstobject.h:
32122         Docs updates, clean up some headers.
32123
32124 2005-03-07  Wim Taymans  <wim@fluendo.com>
32125
32126         * check/.cvsignore:
32127         * check/Makefile.am:
32128         * check/gst-libs/.cvsignore:
32129         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
32130         * check/gst/.cvsignore:
32131         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
32132         (START_TEST), (gstbus_suite), (main):
32133         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
32134         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
32135         (gst_data_suite), (main):
32136         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
32137         (add_fold_func), (gstiterator_suite), (main):
32138         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
32139         (thread_name_object), (thread_name_object_default),
32140         (gst_object_name_compare), (gst_object_suite), (main):
32141         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
32142         (gst_pad_suite), (main):
32143         * check/gstcheck.c: (gst_check_log_message_func),
32144         (gst_check_log_critical_func), (gst_check_init):
32145         * check/gstcheck.h:
32146         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
32147         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
32148         Added checks.
32149
32150 2005-03-07  Wim Taymans  <wim@fluendo.com>
32151
32152         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
32153         (gst_list_iterator_next), (gst_list_iterator_resync),
32154         (gst_list_iterator_free), (gst_iterator_new_list),
32155         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
32156         (gst_iterator_free), (gst_iterator_push), (filter_next),
32157         (filter_resync), (filter_uninit), (filter_free),
32158         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
32159         (gst_iterator_foreach), (find_custom_fold_func),
32160         (gst_iterator_find_custom):
32161         * gst/gstiterator.h:
32162         Added missing files.
32163
32164 2005-03-07  Wim Taymans  <wim@fluendo.com>
32165
32166         * Makefile.am:
32167         * configure.ac:
32168         * docs/design/part-MT-refcounting.txt:
32169         * docs/design/part-conventions.txt:
32170         * docs/design/part-gstobject.txt:
32171         * docs/design/part-relations.txt:
32172         * examples/mixer/mixer.c: (main):
32173         * examples/thread/thread.c: (eos), (main):
32174         * gst/Makefile.am:
32175         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
32176         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
32177         (gst_spider_plug_from_srcpad):
32178         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
32179         (gst_spider_identity_change_state),
32180         (gst_spider_identity_sink_loop_type_finding):
32181         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32182         * gst/elements/gstidentity.c: (gst_identity_init):
32183         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32184         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32185         * gst/elements/gsttypefindelement.c: (free_entry):
32186         * gst/gst.c:
32187         * gst/gst.h:
32188         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32189         (gst_bin_set_clock_func), (gst_bin_auto_clock),
32190         (gst_bin_set_index), (gst_bin_set_element_sched),
32191         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32192         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32193         (gst_bin_iterate_elements), (iterate_child_recurse),
32194         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32195         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32196         (compare_interface), (gst_bin_get_by_interface),
32197         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32198         * gst/gstbin.h:
32199         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32200         (gst_buffer_default_free), (gst_buffer_default_copy),
32201         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32202         (gst_buffer_create_sub):
32203         * gst/gstbuffer.h:
32204         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32205         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32206         (gst_caps_unref), (gst_static_caps_get),
32207         (gst_caps_remove_and_get_structure), (gst_caps_append),
32208         (gst_caps_append_structure), (gst_caps_remove_structure),
32209         (gst_caps_copy_nth), (gst_caps_set_simple),
32210         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32211         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32212         (gst_caps_structure_intersect_field), (gst_caps_intersect),
32213         (gst_caps_structure_subtract_field), (gst_caps_subtract),
32214         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32215         (gst_caps_structure_figure_out_union),
32216         (gst_caps_switch_structures), (gst_caps_do_simplify),
32217         (gst_caps_replace), (gst_caps_from_string),
32218         (gst_caps_copy_conditional):
32219         * gst/gstcaps.h:
32220         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32221         (_gst_clock_id_free), (gst_clock_id_unref),
32222         (gst_clock_id_compare_func), (gst_clock_id_wait),
32223         (gst_clock_id_wait_async), (gst_clock_class_init),
32224         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32225         (gst_clock_get_time), (gst_clock_set_time_adjust),
32226         (gst_clock_set_property), (gst_clock_get_property):
32227         * gst/gstclock.h:
32228         * gst/gstcompat.h:
32229         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32230         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32231         * gst/gstdata.h:
32232         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32233         (gst_element_requires_clock), (gst_element_provides_clock),
32234         (gst_element_set_clock), (gst_element_clock_wait),
32235         (gst_element_wait), (gst_element_set_time_delay),
32236         (gst_element_is_indexable), (gst_element_add_pad),
32237         (gst_element_add_ghost_pad), (gst_element_remove_pad),
32238         (pad_compare_name), (gst_element_get_static_pad),
32239         (gst_element_request_pad), (gst_element_get_request_pad),
32240         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32241         (gst_element_class_get_pad_template_list),
32242         (gst_element_class_get_pad_template), (gst_element_error_func),
32243         (gst_element_get_random_pad), (gst_element_get_event_masks),
32244         (gst_element_send_event), (gst_element_seek),
32245         (gst_element_get_query_types), (gst_element_query),
32246         (gst_element_get_formats), (gst_element_convert),
32247         (gst_element_is_locked_state), (gst_element_set_locked_state),
32248         (gst_element_sync_state_with_parent), (gst_element_change_state),
32249         (gst_element_finalize), (gst_element_yield),
32250         (gst_element_interrupt), (gst_element_set_scheduler),
32251         (gst_element_get_scheduler), (gst_element_set_loop_function):
32252         * gst/gstelement.h:
32253         * gst/gstevent.h:
32254         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32255         (gst_format_get_by_nick), (gst_format_get_details),
32256         (gst_format_iterate_definitions):
32257         * gst/gstformat.h:
32258         * gst/gstindex.c: (gst_index_gtype_resolver):
32259         * gst/gstinfo.c:
32260         * gst/gstinfo.h:
32261         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32262         (gst_mem_chunk_free):
32263         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32264         (gst_object_ref), (gst_object_unref), (gst_object_sink),
32265         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32266         (gst_object_dispatch_properties_changed),
32267         (gst_object_set_name_default), (gst_object_set_name),
32268         (gst_object_get_name), (gst_object_set_name_prefix),
32269         (gst_object_get_name_prefix), (gst_object_set_parent),
32270         (gst_object_get_parent), (gst_object_unparent),
32271         (gst_object_check_uniqueness), (gst_object_save_thyself),
32272         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32273         (gst_object_set_property), (gst_object_get_property),
32274         (gst_object_get_path_string):
32275         * gst/gstobject.h:
32276         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32277         (gst_real_pad_init), (gst_real_pad_get_property),
32278         (gst_pad_custom_new), (gst_pad_get_direction),
32279         (gst_pad_set_active), (gst_pad_is_active),
32280         (gst_pad_set_event_function), (gst_pad_is_linked),
32281         (gst_pad_link_free), (gst_pad_link_intersect),
32282         (gst_pad_link_fixate), (gst_pad_set_caps),
32283         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32284         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32285         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32286         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32287         (gst_pad_get_caps), (gst_pad_peer_get_caps),
32288         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32289         (gst_pad_realize), (gst_pad_get_allowed_caps),
32290         (gst_real_pad_dispose), (gst_real_pad_finalize),
32291         (gst_pad_collectv), (gst_pad_collect_valist),
32292         (gst_pad_template_dispose), (gst_pad_template_new),
32293         (gst_pad_get_internal_links):
32294         * gst/gstpad.h:
32295         * gst/gstpipeline.c: (gst_pipeline_dispose),
32296         (gst_pipeline_change_state):
32297         * gst/gstpipeline.h:
32298         * gst/gstplugin.c:
32299         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32300         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32301         * gst/gstpluginfeature.h:
32302         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32303         * gst/gstquery.c: (_gst_query_type_initialize),
32304         (gst_query_type_register), (gst_query_type_get_by_nick),
32305         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32306         * gst/gstquery.h:
32307         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32308         * gst/gstscheduler.c: (gst_scheduler_add_element),
32309         (gst_scheduler_factory_create):
32310         * gst/gststructure.c: (gst_structure_set_parent_refcount),
32311         (gst_structure_free), (gst_structure_set_name),
32312         (gst_structure_id_set_value), (gst_structure_set_value),
32313         (gst_structure_set_valist), (gst_structure_remove_field),
32314         (gst_structure_remove_fields),
32315         (gst_structure_remove_fields_valist),
32316         (gst_structure_remove_all_fields), (gst_structure_foreach),
32317         (gst_structure_map_in_place),
32318         (gst_caps_structure_fixate_field_nearest_int),
32319         (gst_caps_structure_fixate_field_nearest_double):
32320         * gst/gststructure.h:
32321         * gst/gstsystemclock.c: (gst_system_clock_class_init),
32322         (gst_system_clock_init), (gst_system_clock_dispose),
32323         (gst_system_clock_async_thread),
32324         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32325         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32326         * gst/gstsystemclock.h:
32327         * gst/gsttag.c: (gst_tag_list_add_value_internal),
32328         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32329         * gst/gsttaginterface.c:
32330         * gst/gstthread.c: (gst_thread_dispose),
32331         (gst_thread_release_children_locks), (gst_thread_change_state),
32332         (gst_thread_main_loop):
32333         * gst/gsttrashstack.h:
32334         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32335         * gst/gsttypes.h:
32336         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32337         (gst_element_request_pad), (gst_element_get_pad_from_template),
32338         (gst_element_request_compatible_pad),
32339         (gst_element_get_compatible_pad_filtered),
32340         (gst_element_get_compatible_pad), (gst_element_state_get_name),
32341         (gst_element_link_pads_filtered), (gst_element_link_filtered),
32342         (gst_element_link_many), (gst_element_link),
32343         (gst_element_link_pads), (gst_element_unlink_pads),
32344         (gst_element_unlink_many), (gst_element_unlink),
32345         (gst_pad_can_link_filtered), (gst_pad_can_link),
32346         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32347         (gst_object_default_error), (gst_bin_add_many),
32348         (gst_bin_remove_many), (gst_element_populate_std_props),
32349         (gst_element_class_install_std_props), (gst_buffer_merge),
32350         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32351         (link_fold_func), (gst_pad_proxy_setcaps):
32352         * gst/gstutils.h:
32353         * gst/gstvalue.c: (gst_value_deserialize_string):
32354         * gst/parse/grammar.y:
32355         * gst/schedulers/gstbasicscheduler.c:
32356         (gst_basic_scheduler_cothreaded_chain),
32357         (gst_basic_scheduler_chain_recursive_add),
32358         (gst_basic_scheduler_pad_link):
32359         * gst/schedulers/gstoptimalscheduler.c:
32360         (get_group_schedule_function),
32361         (gst_opt_scheduler_state_transition),
32362         (gst_opt_scheduler_add_element), (element_get_reachables_func):
32363         * libs/gst/bytestream/bytestream.c:
32364         * libs/gst/dataprotocol/dataprotocol.c:
32365         (gst_dp_header_from_buffer):
32366         * po/nb.po:
32367         * po/ru.po:
32368         * tests/threadstate/threadstate2.c: (eos):
32369         * tools/gst-compprep.c: (main):
32370         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32371         (print_pad_info), (print_children_info):
32372         * tools/gst-launch.c: (idle_func), (main):
32373         * tools/gst-md5sum.c: (idle_func), (main):
32374         * tools/gst-xmlinspect.c: (print_element_info):
32375         First THREADED backport attempt, focusing on adding locks and
32376         making sure the API is threadsafe. Needs more work. More docs
32377         follow this week.
32378
32379 2005-02-24  Andy Wingo  <wingo@pobox.com>
32380
32381         * tests/bench-complexity.scm:
32382         * tests/complexity.gnuplot: New files, good for running complexity
32383         benchmarks.
32384
32385         * tests/Makefile.am:
32386         * tests/complexity.c: New test, sets up N elements, at each level
32387         teeing into M streams per element. Eeeenteresting.
32388
32389         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32390         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32391         running bench-mass_elements.scm.
32392
32393         * tests/bench-mass_elements.scm: New script, runs mass_elements
32394         for various numbers of identities, outputting the results to a
32395         file. Requires guile 1.6. Just for testing.
32396
32397 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32398
32399         * gst/schedulers/fairscheduler.c:
32400           compile with debug disabled
32401
32402 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
32403
32404         * configure.ac:
32405           hunting season on 0.9 is now OPEN