gst/gst.c: Create a registry if there is none also when the option for gst-disable...
[platform/upstream/gstreamer.git] / ChangeLog
1 2009-01-08  Stefan Kost  <ensonic@users.sf.net>
2
3         * gst/gst.c:
4           Create a registry if there is none also when the option for
5           gst-disable-registry-update has been selected. Fixes #567002
6
7 2009-01-06  Tim-Philipp Müller  <tim.muller at collabora co uk>
8
9         * gst/gst.c: (init_post):
10           Ref new enum type in gst_init.
11
12         * win32/common/libgstreamer.def:
13           Add recently-added API.
14
15 2009-01-06  Tim-Philipp Müller  <tim.muller at collabora co uk>
16
17         * docs/gst/gstreamer-sections.txt::
18         * gst/gst_private.h: (GstPluginDep), (_GstPluginPrivate):
19         * gst/gstplugin.c: (gst_plugin_init), (gst_plugin_finalize),
20           (gst_plugin_class_init), (gst_plugin_list_free),
21           (gst_plugin_ext_dep_get_env_vars_hash),
22           (_priv_plugin_deps_env_vars_changed),
23           (gst_plugin_ext_dep_extract_env_vars_paths),
24           (gst_plugin_ext_dep_get_hash_from_stat_entry),
25           (gst_plugin_ext_dep_direntry_matches),
26           (gst_plugin_ext_dep_scan_dir_and_match_names),
27           (gst_plugin_ext_dep_scan_path_with_filenames),
28           (gst_plugin_ext_dep_get_stat_hash),
29           (_priv_plugin_deps_files_changed), (gst_plugin_ext_dep_free),
30           (gst_plugin_ext_dep_strv_equal), (gst_plugin_ext_dep_equals),
31           (gst_plugin_add_dependency), (gst_plugin_add_dependency_simple):
32         * gst/gstplugin.h: (GstPluginPrivate), (GstPluginFlags),
33           (GST_PLUGIN_DEPENDENCY_FLAG_NONE),
34           (GST_PLUGIN_DEPENDENCY_FLAG_RECURSE),
35           (GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY),
36           (GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX),
37           (GstPluginDependencyFlags), (GstPluginFilter):
38         * gst/gstregistry.c: (gst_registry_scan_path_level):
39         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
40           (gst_registry_binary_save_plugin_dep),
41           (gst_registry_binary_save_plugin),
42           (gst_registry_binary_load_feature),
43           (gst_registry_binary_load_plugin_dep_strv),
44           (gst_registry_binary_load_plugin_dep),
45           (gst_registry_binary_load_plugin):
46         * gst/gstregistrybinary.h: (GST_MAGIC_BINARY_VERSION_STR),
47           (GstBinaryPluginElement), (_GstBinaryDep), (GstBinaryDep):
48         * gst/gstregistryxml.c: (gst_registry_xml_save_plugin):
49           Add API for making a GStreamer plugin 'dependent' on external files,
50           directories or environment variables, so that GStreamer knows when
51           it needs to re-load GStreamer plugins that wrap other plugin systems.
52           Fixes bug #350477.
53           API: add gst_plugin_add_dependency()
54           API: add gst_plugin_add_dependency_simple()
55
56 2009-01-06  Tim-Philipp Müller  <tim.muller at collabora co uk>
57
58         * docs/faq/gst-uninstalled:
59           Add libgstapp-0.10 from -base to search path and remove the old
60           lib from -bad from the search path.
61
62 2009-01-05  Wim Taymans  <wim.taymans@collabora.co.uk>
63
64         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position_last),
65         (gst_base_sink_get_position_paused), (gst_base_sink_get_position):
66         Release the object lock before calling the query convert pad functions
67         to avoid deadlocks.
68
69 2009-01-05  Wim Taymans  <wim.taymans@collabora.co.uk>
70
71         * gst/gstbus.c: (gst_bus_wakeup_main_context):
72         The lock order should be maincontext > OBJECT_LOCK so we need to release
73         the object lock when waking up the mainloop to avoid deadlocks.
74
75 2009-01-05  Wim Taymans  <wim.taymans@collabora.co.uk>
76
77         * gst/gstbin.c: (gst_bin_set_index_func), (gst_bin_set_clock_func),
78         (gst_bin_change_state_func):
79         Use an iterator to set the clock and the index so that we can release
80         the object lock appropriately. Fixes #566393.
81
82 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
83
84         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_available):
85         Use the name of the pads instead of a pointer, helps in debugging.
86
87 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
88
89         * gst/gstindex.c: (gst_index_get_type):
90         Add a debugging category for GstIndex, first little step in making
91         indexing top-notch.
92
93 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
94
95         * gst/gstelement.c: (gst_element_message_full),
96         (gst_element_pads_activate):
97         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
98         * gst/gstutils.c: (gst_pad_proxy_getcaps), (gst_pad_proxy_setcaps),
99         (gst_pad_add_data_probe_full), (gst_pad_add_event_probe_full),
100         (gst_pad_add_buffer_probe_full), (gst_pad_remove_data_probe),
101         (gst_pad_remove_event_probe), (gst_pad_remove_buffer_probe):
102         Assign debug statements to relevant categories instead of the 'default'
103         category so they don't get lost in debugging.
104
105 2009-01-01  Stefan Kost  <ensonic@users.sf.net>
106
107         * gst/gstdebugutils.c:
108           Add some ideas, how to make the graph smaller.
109
110         * gst/gstutils.c:
111           Add a comment from a debug session.
112
113         * libs/gst/base/gstbasetransform.c:
114           Log more context.
115
116         * libs/gst/controller/gstinterpolationcontrolsource.c:
117           Indet.
118
119         * plugins/elements/gstcapsfilter.c:
120           Fix typo in docs.
121
122 2008-12-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
123
124         * gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
125           (gst_bus_wakeup_main_context), (gst_bus_set_main_context),
126           (gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
127           (gst_bus_create_watch):
128           Make GstBusSource work with non-default main contexts (#562170).
129
130         * tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
131           (test_watch), (test_watch_with_custom_context), (gst_bus_suite):
132           Add test case for GstBusSource with a non-default main context.
133
134         * tests/check/libs/.cvsignore:
135           Ignore more.
136
137 2008-12-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
138
139         * gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
140           (unpack_string)::
141           Wrap multi-line macros in G_STMT_{START|END}.
142
143 2008-12-20  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
144
145         * docs/gst/gstreamer-sections.txt:
146         * gst/gstquark.c:
147         * gst/gstquark.h:
148         * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
149         (gst_query_parse_uri):
150         * gst/gstquery.h:
151         API: Add URI query type. This is useful to query the URI
152         of a sink/source element and can be used by demuxers that
153         need to get data from other files.
154         This query should go upstream by default.
155         Fixes bug #562949.
156         * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
157         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
158         (gst_fd_src_query):
159         * plugins/elements/gstfilesink.c: (gst_file_sink_query):
160         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
161         (gst_file_src_query):
162         Implement URI query.
163
164 2008-12-19  Alessandro Decina <alessandro.decina@collabora.co.uk>
165
166         * gst/gstghostpad.c:
167         * tests/check/gst/gstghostpad.c:
168         Don't forward gst_pad_set_caps() on a source ghostpad to its target.
169         That would cause the ghostpad to emit notify::caps two times (fist
170         from gst_pad_set_caps() and after from on_src_target_notify()).
171
172 2008-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
173
174         * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
175         (GST_START_TEST):
176         Add some more unit-tests for the ghostpad notify signal, one of which
177         currently fails.
178
179 2008-12-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
180
181         * win32/common/libgstreamer.def:
182         Add gst_tag_setter_reset_tags to the list of exported symbols.
183
184 2008-12-17  Alessandro Decina  <alessandro.decina@collabora.co.uk>
185
186         * gst/gstghostpad.c:
187         * tests/check/gst/gstghostpad.c:
188         In a source ghostpad, when caps are changed in the target pad, the
189         change needs to be reflected in the ghostpad.
190         Fixes #564863.
191
192 2008-12-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
193
194         * gst/gstutils.c: (gst_element_found_tags_for_pad):
195         Add FIXME for 0.11 to set the pad as message source and not
196         the element. Otherwise it's impossible to detect for which
197         pad the tags were found without adding an event probe
198         or something similar to the pad.
199
200 2008-12-16  Wim Taymans  <wim.taymans@collabora.co.uk>
201
202         * docs/faq/general.xml:
203         Update the faq.
204
205 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
206
207         * docs/gst/gstreamer-sections.txt:
208         * gst/gsttagsetter.c:
209         * gst/gsttagsetter.h:
210           Rename api added in previous commit and add since tag to docs.
211           API: gst_tag_setter_reset_tags()
212
213 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
214
215         * docs/gst/gstreamer-sections.txt:
216         * gst/gsttagsetter.c:
217         * gst/gsttagsetter.h:
218           Add function to reset tagsetter for element reuse.
219
220 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
221
222         * gst/gsttaglist.c:
223           Avoid copy of empty taglist.
224
225 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
226
227         * gst/gsttaglist.c:
228         * tests/check/gst/gsttag.c:
229           More complete unit tests. Fix handling of empty taglists (they were
230           not merged before).
231
232 2008-12-15  Stefan Kost  <ensonic@users.sf.net>
233
234         * gst/gsttaglist.h:
235         * gst/gsttagsetter.c:
236           Update GstTagSetter and GstTagMergeMode documentation. Mention
237           that tags can come from events and from application. Fix example.
238
239 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
240
241         * docs/design/part-TODO.txt:
242         Remove the seqnum entry that we implemented in 0.10 already.
243         Add entry about removing the format return value for queries.
244
245 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
246
247         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
248         (gst_base_sink_init), (gst_base_sink_set_property),
249         (gst_base_sink_get_property):
250         Expose the render-delay as a property so things like appsink can use it
251         to tweak the synchronisation.
252
253 2008-12-10  Peter Kjellerstedt  <pkj@axis.com>
254
255         * libs/gst/check/gstcheck.h: Allow check tests to use
256         MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
257         CK_FORK=no to be used with multiple check test that use threads.
258
259 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
260
261         * gst/gstutils.c: (gst_element_get_compatible_pad):
262         Fix a caps memory leak introduced by the last change.
263
264 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
265
266         * gst/gstutils.c: (gst_element_get_compatible_pad):
267         Check if the caps of the pads are compatible before returning
268         a pad and claiming it is compatible. This, among other things,
269         fixes a bug with gst-launch where an incompatible pad is chosen
270         and linking fails. Fixes bug #544003.
271
272 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
273
274         * libs/gst/check/gstcheck.c: (gst_check_init):
275         Revert accidentially commited patch for bug #404631 which
276         tries to print a backtrace if a testcase is terminated by
277         a signal. This code was never activated as the corresponding
278         configure.ac change wasn't committed.
279
280 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
281
282         * tests/check/libs/controller.c: (GST_START_TEST):
283         This test should return TRUE now as syncing an uncontrolled
284         object will succeed now (there's nothing to sync).
285
286 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
287
288         * libs/gst/controller/gstcontroller.c:
289           Aggregate return value for gst_controller_sync_values(). More info in
290           logging. Always set values on first sync-call.
291
292         * libs/gst/controller/gstcontrolsource.c:
293           Microoptimizations.
294
295         * libs/gst/controller/gsthelper.c:
296           Fix return code and comment.
297
298 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
299
300         * tools/gst-launch.1.in:
301           Fix description of how to specify a type in caps. Fixes #553873.
302           Also ranges and list contain values and not property-assignments.
303
304 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
305
306         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
307         Check for changed pads-list before checking the last returned
308         GstFlowReturn because the pad could have been removed and we
309         need to ignore the value in that case.
310
311 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
312
313         * libs/gst/base/gstbasetransform.c:
314         (gst_base_transform_prepare_output_buffer),
315         (gst_base_transform_getrange), (gst_base_transform_chain):
316         * libs/gst/base/gstbasetransform.h:
317         Add vmethod that is called before we start the transform and which can
318         be used to configure the transform, such as dynamic properties.
319
320 2008-12-05  David Schleef  <ds@schleef.org>
321
322         * gst/gst.c:
323         Search for plugins on win32 based on the location of the
324         gstreamer DLL.  Fixes #548786
325
326 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
327
328         * configure.ac:
329         Apparently AC_CONFIG_MACRO_DIR breaks when using more
330         than one macro directory, reverting last change.
331
332 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
333
334         * configure.ac:
335         Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
336         our M4 macros.
337
338 2008-11-29  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
339
340         Patch by: Cygwin Ports maintainer
341                   <yselkowitz at users dot sourceforge dot net>
342
343         * autogen.sh:
344         * configure.ac:
345         Require gettext 0.17 because older versions don't mix with libtool
346         2.2. At build time an older gettext version will still work.
347         Fixes bug #556091.
348
349 2008-11-27  Wim Taymans  <wim.taymans@collabora.co.uk>
350
351         Patch by: 이문형 <iwings at gmail dot com>
352
353         * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
354         Adds support for FD_CONNECT event (win32). See #562258.
355
356 2008-11-24  Stefan Kost  <ensonic@users.sf.net>
357
358         * libs/gst/base/gstbasesink.c:
359           Turn comment into gtk-doc comment.
360
361 2008-11-24  Wim Taymans  <wim.taymans@collabora.co.uk>
362
363         * libs/gst/base/gstbasetransform.c:
364         (gst_base_transform_acceptcaps):
365         Revert quick accepcaps attempt, it's not fully equivalent to the old
366         behaviour and thus causes regressions.
367
368 2008-11-24  Edward Hervey  <edward.hervey@collabora.co.uk>
369
370         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
371         Fix memory leak.
372
373 2008-11-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
374
375         Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
376
377         * gst/gstregistry.c: (gst_registry_scan_path_level):
378         Reduce the number of stat() calls for every file from three times
379         to one time. Fixes bug #560360.
380
381 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
382
383         * libs/gst/base/gstbasetransform.c:
384         (gst_base_transform_acceptcaps):
385         Rename a variable to make the code clearer.
386
387 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
388
389         * plugins/elements/gstidentity.c:
390         Don't warning on offset==-1. Taken from _check_imperfect_offset().
391
392 2008-11-21  Michael Smith <msmith@songbirdnest.com>
393
394         * plugins/elements/gstfilesrc.c:
395           Check for localhost in URI was backwards, fix it. Fixes unit test.
396
397 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
398
399         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
400         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
401         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
402         Add beginnings of a more optimized acceptcaps function than the default
403         core one.
404
405 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
406
407         * gst/gstpad.c: (gst_pad_accept_caps):
408         Avoid getting the acceptcaps function too early.
409
410 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
411
412         * tools/gst-launch.c: (event_loop):
413         Make gst-launch handle LATENCY messages and make it recalculate the
414         latency.
415
416 2008-11-20  Michael Smith <msmith@songbirdnest.com>
417
418         * plugins/elements/gstfilesrc.c:
419           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
420           out own slightly incorrect version. Fixes use of some paths on
421           win32.
422
423 2008-11-20  Michael Smith <msmith@songbirdnest.com>
424
425         * gst/gstregistrybinary.c:
426           In win32 codepath, if we fail to write the registry, create the
427           directory for it and try again, matching the behaviour in non-win32
428           codepaths.
429
430 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
431
432         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
433         Changing the render delay changes the latency and so we must post a
434         latency message.
435
436 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
437
438         * gst/gstquery.c:
439         * gst/gstquery.h:
440         Add GstQueryType for custom queries instead of having to use the
441         not-so-very-convenient registration infrastructure to register new
442         types.
443
444 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
445
446         Patch by: Andrew Feren <acferen at yahoo dot com>
447
448         * gst/gstobject.c: (gst_object_default_deep_notify):
449         Unref the GEnumClass after usage again. Fixes bug #561501.
450
451 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
452
453         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
454         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
455         (gst_bin_change_state_func):
456         * gst/gstbin.h:
457         Add do-latency signal with the old default fallback implementation. This
458         allows for custom latency calculations for when the default is not
459         sufficient.
460         API: GstBin::do-latency signal.
461
462 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
463
464         * win32/common/libgstreamer.def:
465         Add new symbols to .def file.
466
467 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
468
469         * docs/gst/gstreamer-sections.txt:
470         * gst/gstbin.c: (gst_bin_recalculate_latency),
471         (gst_bin_change_state_func):
472         * gst/gstbin.h:
473         Add method to recalculate and redistribute the latency on a bin.
474         API: gst_bin_recalculate_latency().
475
476 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
477
478         * gst/gstbuffer.h:
479         Document the free_func.
480
481 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
482
483         * libs/gst/controller/gstinterpolation.c:
484         * libs/gst/controller/gstlfocontrolsource.c:
485         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
486         as it is mapped to a cast on non-win32 platforms.
487
488 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
489
490         * libs/gst/controller/gstcontroller.c:
491         * libs/gst/controller/gstcontrollerprivate.h:
492           Keep last-value and only call set_property if value has changed. This
493           supresses all the g_object_notifies we would trigger otherwise. It
494           also allows the user to chage the value while there is no controller
495           change.
496
497 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
498
499         * gst/gstvalue.c:
500           Don't crash if either of the string GValues is empty.
501
502 2008-11-17  Andy Wingo  <wingo@pobox.com>
503
504         * tools/gst-inspect.c (print_all_uri_handlers): New function,
505         prints a summary of what URI schemes are supported by what
506         elements.
507         (main): Plumb in support for --uri-handlers or -u, and fix the
508         argc check for -a and -u.
509
510 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
511
512         * gst/gstutils.h:
513         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
514         conversion functions.
515
516 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
517
518         * gst/gstbuffer.c: (gst_buffer_finalize):
519         Avoid costly typechecking for trivially correct pointers.
520
521         * gst/gstpoll.c: (gst_poll_wait):
522         Add some G_LIKELY here and there.
523
524         * libs/gst/base/gstadapter.c: (gst_adapter_push):
525         Add some debug info.
526
527 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
528
529         * docs/random/wtay/poll-timeout:
530         Small tweaks.
531
532 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
533
534         * tests/old/testsuite/caps/intersection.c: (main):
535         * tests/old/testsuite/plugin/loading.c: (main):
536         Remove references to deprecated API g_mem_chunk*.
537         Fixes #560442.
538
539 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
540
541         * tools/gst-inspect.c: (main):
542         Add --plugin option. Fixes #560301.
543
544 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
545
546         * docs/random/wtay/poll-timeout:
547         Quick braindump for a possible (not totally verified) atomic case.
548
549 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
550
551         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
552         (gst_registry_binary_initialize_magic),
553         (gst_registry_binary_write_cache),
554         (gst_registry_binary_check_magic):
555         * gst/gstregistrybinary.h:
556         Don't write and check a CRC for the binary registry file. It's
557         guaranteed that the registry is completely written (it's first written
558         to a temporary file and then moved) and if the registry was corrupted
559         by some hardware failure we would have bigger problems.
560
561         Bump binary registry version to 0.10.21.1 for this as it's an
562         incompatible change and to ensure that the registry gets rebuild
563         after the update.
564
565         This saves some milliseconds for reading/writing the registry.
566         Fixes bug #560399.
567
568 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
569
570         * docs/random/wtay/poll-timeout:
571         Some pseudo code for how we could implement clock timeouts with GstPoll.
572
573 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
574
575         * plugins/elements/gstfilesink.c:
576           Update Author string to match others.
577
578 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
579
580         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
581         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
582         being fixed and inline the trivial check.
583
584 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
585
586         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
587         (gst_caps_merge_structure), (gst_caps_get_structure),
588         (gst_caps_copy_nth), (gst_caps_set_simple),
589         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
590         (gst_caps_is_equal_fixed), (gst_caps_intersect),
591         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
592         (gst_caps_to_string):
593         Callgrind micro optimisations.
594         Avoid array bounds checks and force inline of trivial function.
595
596         * gst/gstobject.c: (gst_object_set_name_default):
597         -1 is equivalent to letting glib to the strlen but then there is more
598         room for optimisations and it's not our fault.
599
600         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
601         no need to clear the array, we're cool.
602
603         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
604         The most common _is_fixed() check is done on fundamental glib base
605         types so we check this first instead of doing a huge amount of
606         useless GST_TYPE_ARRAY calls.
607
608 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
609
610         * gst/gstevent.h:
611         Add a SKIP seek flag for use with advanced trickmodes.
612         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
613
614 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
615
616         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
617         No need to memset, we can clear the value ourselves.
618
619         * gst/gstvalue.c: (gst_type_is_fixed),
620         (gst_value_get_compare_func):
621         Some optimisations from a few callgrind sessions:
622         When checking if a type is fixed, check for trivial fundamental types
623         first before checking types for which we need to get the type followed
624         by the heavy duty type checks, this reduces the amount of
625         g_type_fundamental() calls a lot.
626         When getting the compare function, first check for our registered types.
627         If that fails, do the heavy duty g_type_is_a() checks, reduces the
628         amount of g_type_is_a() considerably.
629
630 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
631
632         * docs/design/part-TODO.txt:
633         Mumble something about removing GstXML.
634
635 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
636
637         * gst/gstbin.c: (gst_bin_handle_message_func):
638         Get the seqnum before we dispose the message.
639
640 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
641
642         * docs/design/part-TODO.txt:
643         Refer to the framestepping document.
644
645 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
646
647         * gst/gstbin.c: (bin_handle_async_start),
648         (gst_bin_handle_message_func), (gst_bin_query):
649         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
650         (gst_base_sink_event), (gst_base_sink_change_state):
651         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
652         (gst_base_src_loop), (gst_base_src_change_state):
653         Copy seqnums from events to messages so that they can all be related
654         back to eachother.
655
656 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
657
658         * tools/gst-launch.c: (event_loop):
659         Print the message seqnums.
660
661 2008-11-04  Andy Wingo  <wingo@pobox.com>
662
663         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
664
665 2008-11-04  Andy Wingo  <wingo@pobox.com>
666
667         Add sequence numbers to events and messages. See #559250.
668
669         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
670         API: New functions.
671
672         * gst/gstevent.h:
673         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
674         events with a new sequence number, and copy it when copying.
675         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
676         an event's sequence number.
677
678         * gst/gstmessage.h:
679         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
680         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
681         so with messages.
682
683         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
684
685 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
686
687         * docs/manual/advanced-position.xml:
688         * docs/manual/basics-bins.xml:
689         * docs/manual/basics-bus.xml:
690         * docs/manual/basics-pads.xml:
691         * docs/manual/intro-gstreamer.xml:
692         * docs/manual/intro-preface.xml:
693         Some Application Development Manual fixes thanks to
694         Andrew Feren. Fixes #558459.
695
696 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
697
698         * gst/gstregistrybinary.c:
699           Don't bother with the GTimer if we don't output the results.
700
701 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
702
703         Patch by: David Schleef  <ds@schleef.org>
704
705         * libs/gst/net/Makefile.am:
706         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
707
708 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
709
710         * gst/gstregistrybinary.c:
711           Oh my, studip, stupid me. Remove double stat() call.
712
713 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
714
715         * gst/gstpreset.c:
716           Use g_unlink instead of unlink.
717
718         * gst/gststructure.c:
719           Use glib type.
720
721         * gst/gstutils.c:
722           Add a FIXME:.
723
724         * gst/gsttaglist.c:
725         * gst/gsttypefind.c:
726         * gst/gstvalue.c:
727           Formatting & whitespaces.
728
729 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
730
731         * plugins/elements/gstidentity.c:
732           Doc typo. Use return value of parent_class->event.
733   
734         * plugins/elements/gsttypefindelement.c:
735           Chain up at the end for consistency.
736   
737 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
738
739         * docs/Makefile.am:
740         * docs/gst/gstreamer-docs.sgml:
741         * docs/gst/gstreamer-sections.txt:
742         * docs/gst/running.xml:
743         * docs/libs/gstreamer-libs-docs.sgml:
744           Change to xinclude based build - its faster and easier to maintain.
745
746 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
747
748         * gst/gstregistrybinary.c:
749         * gst/gstregistryxml.c:
750           Use g_unlink() as none of these are directories.
751
752 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
753
754         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
755         Some more comments.
756
757 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
758
759         * libs/gst/base/gstbasetransform.c:
760         (gst_base_transform_find_transform), (gst_base_transform_getrange):
761         If we have a fixate function, call it even if we already have fixed caps
762         because the subclass might add some caps. Makes audioconvert add a
763         default channel layout.
764
765 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
766
767         * libs/gst/base/gstbasetransform.c:
768         (gst_base_transform_prepare_output_buffer),
769         (gst_base_transform_getrange):
770         Clear the output buffer variable.
771         Cleanups to the error path in the getrange function.
772         Fixes #557649.
773
774 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
775
776         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
777         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
778         Use gst_buffer_try_new_and_alloc() and handle errors instead of
779         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
780         be allocated.
781
782 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
783
784         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
785         Set the last_stop to a more meaningful position when configuring the
786         segment. ie. the start/stop of the segment or clipped against the
787         updated segment boundaries.
788
789         * tests/check/gst/gstsegment.c: (GST_START_TEST):
790         Add some unit tests for the last_stop.
791
792 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
793
794         * libs/gst/base/gstbytereader.c:
795         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
796         copies of them.
797
798 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
799
800         * docs/gst/gstreamer-sections.txt:
801         * gst/gstutils.h:
802         API: Move float endianness conversion macros from libgstfloatcast
803         to core as it's useful in general, even in core. Fixes bug #555196.
804         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
805         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
806         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
807
808         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
809         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
810         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
811         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
812
813 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
814
815         * docs/libs/gstreamer-libs-sections.txt:
816         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
817         (gst_byte_reader_peek_data):
818         * libs/gst/base/gstbytereader.h:
819         * win32/common/libgstbase.def:
820         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
821         to get a pointer to the data at the current position and have
822         a guaranteed size.
823
824 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
825
826         * configure.ac:
827         Fix a bug in the output of the configure script summary
828         when --gst-disable-registry is supplied
829
830 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
831
832         * libs/gst/base/gstbitreader.c:
833         * libs/gst/base/gstbytereader.c:
834         Fix the names of 2 functions in the docs strings.
835
836 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
837
838         * libs/gst/base/gstbasetransform.c:
839         (gst_base_transform_prepare_output_buffer),
840         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
841         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
842         refcount problems as seen in banshee and maybe also in farsight2.
843         Remove atomic int now that we need to take the lock anyways.
844
845 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
846
847         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
848         (gst_base_sink_default_prepare_seek_segment),
849         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
850         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
851         (gst_base_sink_query):
852         Implement more seeking in pull mode.
853         Use pad convert functions to convert position to the requested format.
854         Fix position/duration reporting in pull mode.
855         Implement position and duration reporting in other formats than time.
856
857         * libs/gst/base/gstbasesink.h:
858         Add member to keep track of when the segment is playing.
859
860 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
861
862         * gst/gstpad.c: (gst_pad_configure_src):
863         When we use gst_pad_alloc_buffer() without wanting to set the caps we
864         also don't need to check if the caps are compatible because the caller
865         presumably is going to perform its own custom checks. Fixes some cases
866         where basetransform elements would error out when it was not needed.
867
868 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
869
870         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
871         Update comment.
872
873         * libs/gst/base/gstbasetransform.c:
874         (gst_base_transform_handle_buffer),
875         (gst_base_transform_reconfigure):
876         Add some debug info.
877
878         * win32/common/libgstbase.def:
879         Add new method.
880
881 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
882
883         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
884           Remove duplicated assignment and log a message in failure case.
885
886 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
887
888         Patch by: Dig Ge <dig.ge.cn at gmail com>
889
890         * tests/examples/helloworld/helloworld.c: (main):
891           Fix copy'n'paste bug in hello world example (#556900).
892
893 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
894
895         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
896         (gst_base_sink_query):
897         Query the total number of bytes when activating the pad in pull mode.
898         Implement duration query in pull mode by using the installed pad convert
899         function to convert from bytes to the requested format.
900
901 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
902
903         * docs/libs/gstreamer-libs-sections.txt:
904         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
905         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
906         (gst_base_sink_event), (gst_base_sink_perform_seek),
907         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
908         (gst_base_sink_send_event), (gst_base_sink_change_state):
909         * libs/gst/base/gstbasesink.h:
910         Add method to commit the state in subclasses.
911         Refactor the flush_start and flush_stop code because we need it for
912         flushing while seeking too.
913         Implement the beginnings of seeking in pull mode.
914         Use the segment last_stop field for the pulling offset.
915         Fix the pause method in pull mode.
916         Configure the segment to BYTES for pull mode.
917         API: GstBaseSink::gst_base_sink_do_preroll()
918
919 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
920
921         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
922         Update some docs.
923
924 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
925
926         * gst/gstquark.c: (_priv_gst_quarks_initialize):
927           Fix printf format warning.
928
929 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
930
931         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
932         Fix flow aggregation of tee. Error out immediately for all flow returns
933         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
934         and return OK if at least one pad is linked.
935
936         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
937         and otherwise returned the flow return of the last pad, which is wrong.
938         
939         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
940         (GST_START_TEST), (tee_suite):
941         Add unit tests for the flow aggregation.
942
943 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
944
945         * docs/design/part-TODO.txt:
946         Remove item from the todo list because it was fixed with the latency
947         state change rewrites.
948
949         * docs/design/part-seeking.txt:
950         * docs/design/part-segments.txt:
951         Update some docs.
952
953         * gst/gstevent.c: (gst_event_new_new_segment_full),
954         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
955         (gst_event_parse_buffer_size), (gst_event_new_qos),
956         (gst_event_parse_qos), (gst_event_new_seek),
957         (gst_event_parse_seek), (gst_event_new_latency),
958         (gst_event_parse_latency):
959         Use quarks to construct and parse events.
960
961         * gst/gstquark.c: (_priv_gst_quarks_initialize):
962         * gst/gstquark.h:
963         Add some more quarks to the table.
964         Emit a warning when the quark tables are not in sync.
965
966         * tests/check/gst/gstbus.c: (GST_START_TEST):
967         Add an assert.
968
969 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
970
971         * plugins/elements/Makefile.am:
972         * plugins/indexers/Makefile.am:
973           Don't install static libs for plugins. Fixes #550851 for core.
974
975 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
976
977         * gst/gstbus.c: (gst_bus_source_finalize),
978         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
979         (gst_bus_enable_sync_message_emission),
980         (gst_bus_disable_sync_message_emission),
981         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
982         Fix deadlock, g_source_get_id() cannot be called in finalize.
983         Keep track of the watch source by keeping a pointer to the source object
984         instead.
985         Use the bus lock to protect access to the pointer to the current
986         watch source.
987
988 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
989
990         Base on Patch by: Olivier Crete <tester at tester dot ca>
991
992         * gst/gstbus.c: (gst_bus_source_finalize),
993         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
994         Only allow one bus watch to be set at a time. This is necessary
995         because the dispatcher pops the message from the bus and the second
996         watcher will then get NULL or the next message (and the first won't
997         get this next message then, etc). If more than one "watcher" is
998         required signal watches should be used. Fixes bug #526044.
999
1000 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
1001
1002         * tools/gst-launch.c:
1003         Change the printing of the 'buffering...' output to avoid putting
1004         a \r in a translateable string (flagged by the TP).
1005
1006 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1007
1008         * gst/gstxml.c:
1009         Clarify that the save_thyself() and restore_thyself() virtual
1010         functions of GstObject need to be overriden, not
1011         gst_object_(save|restore)_thyself() which is impossible.
1012         Fixes bug #555700.
1013
1014 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
1015
1016         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
1017         Revert a patch from 21 months ago that broke caps negotiation in pull
1018         mode. Basically, having a buffer pass over a pad will trigger the
1019         setcaps function when caps change, just like in push mode.
1020
1021 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
1022
1023         * docs/design/part-negotiation.txt:
1024         Update the docs some more.
1025
1026         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1027         If we pull a buffer with non-trivial caps, suggest those caps with the
1028         max probability.
1029
1030 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
1031
1032         * docs/design/part-TODO.txt:
1033         Add another limitation of pad-blocking with segment seeks not pushing
1034         EOS events.
1035
1036 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
1037
1038         * win32/common/libgstbase.def:
1039         * win32/common/libgstreamer.def:
1040         Add new symbols to the win32 defs files
1041
1042 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
1043
1044         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
1045         (gst_bin_handle_message_func):
1046         The message src can be NULL, don't try to print the object names in that
1047         case.
1048
1049         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
1050         Add some more debug info.
1051
1052         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
1053         (GST_START_TEST):
1054         Add some debug.
1055         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
1056         scheduling modes.
1057
1058 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
1059
1060         * docs/design/part-negotiation.txt:
1061         Small doc update.
1062
1063         * docs/libs/gstreamer-libs-sections.txt:
1064         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1065         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
1066         (gst_base_sink_init), (gst_base_sink_set_blocksize),
1067         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
1068         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
1069         (gst_base_sink_loop), (gst_base_sink_pad_activate),
1070         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1071         (gst_base_sink_change_state):
1072         * libs/gst/base/gstbasesink.h:
1073         Add blocksize property and methods to control the amount of data
1074         to pull.
1075         Negotiate first before activating upstream in pull mode so that they can
1076         negotiate themselves.
1077         When we operate in pull mode, we only accept the caps that we
1078         negotiated.
1079         Make the sink go ASYNC to PAUSED, like all other sinks.
1080         API: GstBaseSink::gst_base_sink_set_blocksize()
1081         API: GstBaseSink::gst_base_sink_get_blocksize()
1082         API: GstBaseSink::blocksize
1083
1084         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1085         (gst_base_src_set_live), (gst_base_src_is_live),
1086         (gst_base_src_set_format), (gst_base_src_query_latency),
1087         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
1088         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
1089         (gst_base_src_set_property), (gst_base_src_get_property):
1090         * libs/gst/base/gstbasesrc.h:
1091         Add typechecking in public API functions.
1092         Add methods to control the blocksize in subclasses.
1093         API: GstBaseSrc::gst_base_src_set_blocksize()
1094         API: GstBaseSrc::gst_base_src_get_blocksize()
1095
1096 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
1097
1098         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
1099         (buffer_probe), (event_probe), (GST_START_TEST):
1100         We now see 3 events go through our pad, since basesink now sends
1101         upstream latency events.
1102
1103 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1104
1105         * gst/gstpipeline.c: (gst_pipeline_change_state):
1106         Release the object lock before trying to flush the bus.
1107
1108 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1109
1110         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1111         Forward LATENCY events upstreams so that elements know about the total
1112         pipeline latency. Fixes #555307.
1113
1114 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
1115
1116         * plugins/elements/gstqueue.c:
1117         Allow through queries when we don't know how
1118         to adjust them (not TIME or BYTES), as otherwise it's
1119         not possible to query the current position in order
1120         to seek in other formats at all.
1121
1122 2008-10-08  Andy Wingo  <wingo@pobox.com>
1123
1124         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
1125
1126 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1127
1128         * gst/gstghostpad.c:
1129         * gst/gstghostpad.h:
1130         Unbreak -good build, private is a reserved c++ keyword.
1131
1132 2008-10-08  Andy Wingo  <wingo@pobox.com>
1133
1134         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
1135         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
1136         removal: re-add GST_GHOST_PAD_CAST to the header.
1137
1138         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
1139         (GstGhostPadClass): Publically expose these structures so as to
1140         allow easy subclassing from C. Hide the member data behind a
1141         private opaque data pointer.
1142
1143         * gst/gstghostpad.c: Adapt to store instance data in the type
1144         instance's private data region, not in the public struct.
1145
1146 2008-10-08  Andy Wingo  <wingo@pobox.com>
1147
1148         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1149         template via g_object_get(), be sure to unref it.
1150
1151         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1152
1153 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1154
1155         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1156         If we can't get a cache file don't try to save something to it.
1157         Dereferencing NULL pointers usually isn't a good idea.
1158
1159 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1160
1161         * tests/check/Makefile.am:
1162         * tests/check/gst/gstabi.c:
1163         * tests/check/gst/struct_sparc.h:
1164         * tests/check/libs/libsabi.c:
1165         * tests/check/libs/struct_sparc.h:
1166         Add Sparc ABI checks
1167
1168         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1169         Cast signed integer to unsigned to avoid a compiler warning.
1170
1171 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1172
1173         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1174         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1175         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1176         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1177         (gst_byte_reader_peek_int24_be):
1178         Use new GST_READ_UINT24_(LE|BE) macros.
1179
1180 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1181
1182         * docs/gst/gstreamer-sections.txt:
1183         * gst/gstutils.h:
1184         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1185         as it's too easy to break the ISO C strict aliasing rules with simple
1186         casts to the corresponding type and this would introduce hard to debug
1187         bugs. Fixes bug #545714.
1188
1189         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1190
1191 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1192
1193         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1194         * gst/gstghostpad.c: (gst_ghost_pad_construct):
1195           Add 'Since' bits to gtk-doc chunks for new API.
1196
1197 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
1198
1199         * docs/gst/gstreamer-sections.txt:
1200         Fix documentation
1201
1202 2008-10-06  Andy Wingo  <wingo@pobox.com>
1203
1204         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1205         that will be called on the malloc_data to free it. Basically a way
1206         to avoid subclassing when all you need is a different free
1207         function, i.e. free() instead of g_free().
1208
1209         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1210         calling the free function.
1211         (gst_buffer_init): Initialize the free function to g_free.
1212
1213 2008-10-06  Andy Wingo  <wingo@pobox.com>
1214
1215         * gst/gstghostpad.h:
1216         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1217         finishes the initialization of ghost pad. Useful for language
1218         bindings and subclassers of GstGhostPad. Fixes #539108.
1219         (gst_ghost_pad_new_full): Use the new constructor.
1220
1221 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1222
1223         Base on Patch by: Olivier Crete <tester at tester dot ca>
1224
1225         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1226         (gst_bin_remove_func), (update_degree),
1227         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1228         Keep track of pads that are being linked/unlinked and resync the state
1229         changes.
1230
1231         * gst/gstpad.c: (gst_pad_get_direction),
1232         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1233         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1234         (gst_pad_link_prepare), (gst_pad_link),
1235         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1236         (gst_pad_check_pull_range), (gst_pad_get_range),
1237         (gst_pad_pull_range):
1238         Some code cleanups, use macros to check pad direction.
1239         Don't need to take the lock on the pad direction.
1240         Post structure change when pads are linked/unlinked.
1241         Change some checks into _return_if_fail().
1242
1243         * tests/check/gst/gstbin.c:
1244         (test_link_structure_change_state_changed_sync_cb),
1245         (GST_START_TEST), (gst_bin_suite):
1246         Add testcase for pad link/unlinke resync during a state change.
1247         Fixes #510354.
1248
1249 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1250
1251         * docs/gst/gstreamer-sections.txt:
1252         * gst/gstmessage.c: (gst_message_new_structure_change),
1253         (gst_message_parse_structure_change):
1254         * gst/gstmessage.h:
1255         Implement STRUCTURE_CHANGED messages. These messages will be used to
1256         signal the parent bin of link/unlink operations that could require a
1257         resync when doing a state change. See ##510354.
1258         API: gst_message_new_structure_change()
1259         API: gst_message_parse_structure_change()
1260
1261 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1262
1263         * gst/gstquark.c:
1264         * gst/gstquark.h:
1265         Add some more quarks for new message. See #510354.
1266
1267 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1268
1269         * docs/libs/gstreamer-libs-docs.sgml:
1270         * docs/libs/gstreamer-libs-sections.txt:
1271         * libs/gst/base/Makefile.am:
1272         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1273         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1274         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1275         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1276         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1277         (gst_bit_reader_skip_to_byte):
1278         * libs/gst/base/gstbitreader.h:
1279         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1280         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1281         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1282         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1283         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1284         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1285         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1286         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1287         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1288         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1289         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1290         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1291         * libs/gst/base/gstbytereader.h:
1292         * tests/check/Makefile.am:
1293         * tests/check/libs/bitreader.c: (GST_START_TEST),
1294         (gst_bit_reader_suite):
1295         * tests/check/libs/bytereader.c: (GST_START_TEST),
1296         (gst_byte_reader_suite):
1297         API: Add bit reader and byte reader classes, including documentation
1298         and an extensive unit test suite. Fixes bug #553554.
1299
1300 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1301
1302         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1303         (gst_base_sink_query):
1304         Improve position reporting while flushing and other intermediate state
1305         changes. Fixes #553874.
1306
1307 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1308
1309         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1310
1311         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1312         Original patch by : Simon Descaries
1313         Fix small refount leak in caps compatibility check.
1314         Fixes #551676.
1315
1316 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1317
1318         * docs/pwg/advanced-request.xml:
1319           Fix 0.8 api usage in example. Fixes #554561
1320
1321         * docs/pwg/appendix-porting.xml:
1322           Change 0.9 to 0.10 here.
1323
1324 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1325
1326         * docs/manual/basics-data.xml:
1327           Change "event-event interaction" to "element-element interaction".
1328           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1329           updates.
1330
1331 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
1332
1333         * configure.ac:
1334         Back to development -> 0.10.21.1
1335
1336 === release 0.10.21 ===
1337
1338 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
1339
1340         * configure.ac:
1341           releasing 0.10.21, "Take These Things From Me"
1342
1343 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1344
1345         * configure.ac:
1346         0.10.20.4 pre-release
1347
1348 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1349
1350         * libs/gst/base/gstbasetransform.c:
1351         * plugins/elements/gstcapsfilter.c:
1352         * tests/check/Makefile.am:
1353         * tests/check/elements/.cvsignore:
1354         * tests/check/elements/capsfilter.c:
1355         Fix assertion in basetransform when the subclass chooses not to
1356         allocate a buffer in prepare_buffer(), and make capsfilter error out
1357         cleanly if requested to apply caps that don't completely specify the
1358         buffer. Fixes #551509
1359
1360 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1361
1362         * libs/gst/base/gstbasetransform.c:
1363         (gst_base_transform_prepare_output_buffer):
1364         Take new caps ref because our old one might have been gone when the
1365         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1366
1367 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
1368
1369         * configure.ac:
1370           Do not probe availability of check unit test library when cross
1371           compiling, as test would not work anyway. Also cleanup verbose output
1372           of the check test. Fixes #551952.
1373
1374 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1375
1376         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1377
1378         * gst/gstelement.c: (gst_element_sync_state_with_parent):
1379         Avoid leaking the parent ref when we fail changing the state of the
1380         element using gst_element_sync_state_with_parent(). Fixes #551978.
1381
1382 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1383
1384         * docs/manual/intro-motivation.xml::
1385           Remove some bits that no longer apply, update others (#551642).
1386
1387 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1388
1389         * configure.ac:
1390         0.10.20.2 pre-release
1391
1392         * po/LINGUAS:
1393         * po/id.po:
1394         * po/pt_BR.po:
1395
1396         New translations.
1397
1398 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1399
1400         * win32/common/config.h.in:
1401           Add GST_DATADIR, hard-code cpu to x86.
1402
1403         * win32/common/libgstreamer.def:
1404           Spaces to tabs.
1405
1406 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1407
1408         * gst/gsttaglist.h:
1409           Fix Since: markers for new geo tags.
1410
1411 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1412
1413         * gst/gsttaglist.h:
1414           Fix actual tag name define after renaming from altitude to elevation.
1415
1416 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1417
1418         * gst/gstpad.c: (add_unref_pad_to_list),
1419         (gst_pad_get_internal_links_default):
1420         Add fallback when calling the deprecated function on an element that
1421         implements the new internal_link handler.
1422
1423 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1424
1425         * docs/gst/gstreamer-sections.txt:
1426         * gst/gsttaglist.c:
1427         * gst/gsttaglist.h:
1428           Add new tags for geo location and clarify purpose of existing location
1429           tag. Fixes #481169
1430
1431 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1432
1433         Patch by: Olivier Crete <tester at tester dot ca>
1434
1435         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1436         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1437         Use thread-safe internal links iterator. Fixes #549504.
1438
1439 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1440
1441         Based on patch by: Olivier Crete <tester at tester dot ca>
1442
1443         * docs/gst/gstreamer-sections.txt:
1444         * win32/common/libgstreamer.def:
1445         * gst/gstpad.c: (gst_pad_init),
1446         (gst_pad_set_iterate_internal_links_function),
1447         (int_link_iter_data_free), (iterate_pad),
1448         (gst_pad_iterate_internal_links_default),
1449         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1450         * gst/gstpad.h:
1451         Add threadsafe replacement functions for getting internal links of an
1452         element. Deprecate the old internal links functions.
1453         API:GstPad::gst_pad_set_iterate_internal_links_function()
1454         API:GstPad::GstPadIterIntLinkFunction
1455         API:GstPad::gst_pad_iterate_internal_links()
1456         API:GstPad::gst_pad_iterate_internal_links_default()
1457
1458         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1459         (gst_proxy_pad_init):
1460         Implement threadsafe internal links.
1461
1462         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1463         Unit test for internal links on tee. See #549504.
1464
1465 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1466
1467         * tests/check/Makefile.am:
1468         libs/transform1 test requires libs/test_transform.c
1469
1470 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1471
1472         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1473         Die evil deadlock, die !
1474
1475 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1476
1477         * gst/gstutils.c: (gst_element_get_compatible_pad):
1478         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1479         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1480         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1481         not steal the refcount of the given caps as stated.
1482
1483         REVERT THIS COMMIT ONCE FIXED !
1484         REVERT THIS COMMIT ONCE FIXED !
1485         REVERT THIS COMMIT ONCE FIXED !
1486         REVERT THIS COMMIT ONCE FIXED !
1487         REVERT THIS COMMIT ONCE FIXED !
1488         REVERT THIS COMMIT ONCE FIXED !
1489
1490 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1491
1492         * gst/gstiterator.c:
1493         * gst/gstiterator.h:
1494         After 3 years it's about time to revise the documentation of the
1495         iterator objects.
1496
1497 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1498
1499         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1500         Make the internal links function less thread-unsafe and add some
1501         comments, dunno why.
1502
1503 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1504
1505         * gst/gst_private.h:
1506           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1507           build with --disable-gst-debug.
1508
1509 2008-08-28  David Schleef  <ds@schleef.org>
1510
1511         * gst/gstpadtemplate.c: Revert last change, since it breaks
1512           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1513           but shouldn't be enabled until we've released fixed versions
1514           of -good and -ffmpeg.
1515
1516 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1517
1518         * gst/gstobject.c:
1519           Put the gst_object_get_name() back in.
1520
1521 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1522
1523         * gst/gstpadtemplate.c:
1524           The old behaviour was that gst_pad_template_new() takes ownership of
1525           the caps. As we now call g_object_new() which calls g_object_set() and
1526           which copies the caps, we have to unref them to not leak them. Fixes
1527           make valgrid for me.
1528
1529 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1530
1531         * gst/gsturi.c:
1532           Don't segfault on input like "tel:+1-123-555-1234".
1533
1534 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1535
1536         * gst/gstobject.c:
1537           Due to popular request also include ObjectType in
1538           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1539
1540 2008-08-26  David Schleef  <ds@schleef.org>
1541
1542         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1543           src_val must be positive, because that's not a requirement.
1544           This causes problems with converting negative granulepos
1545           values for Dirac.
1546         * gst/gstquery.c: Same, gst_query_new_convert().
1547
1548 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1549
1550         * gst/gstclock.c: (gst_clock_add_observation):
1551         Add some more debugging to the clock slaving code.
1552
1553         * win32/common/libgstbase.def:
1554         Add new basetransform method.
1555
1556 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1557
1558         * gst/gstbin.c: (gst_bin_element_set_state):
1559         Take the (recursive) state lock between getting the locked state of an
1560         element and changing the element state. This allows the application to
1561         lock an element's state and then change its state without races.
1562
1563 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1564
1565         * gst/gstbin.c: (gst_bin_element_set_state):
1566         When an element is in the locked state we still want to update the
1567         base_time of the element.
1568
1569 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1570
1571         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1572         Use the result from gst_pad_set_caps() instead of assuming the element
1573         always accepted the caps computed by the default negotiate function.
1574
1575 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1576
1577         * docs/libs/gstreamer-libs-sections.txt:
1578         * libs/gst/base/gstbasetransform.c:
1579         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1580         (gst_base_transform_chain), (gst_base_transform_suggest),
1581         (gst_base_transform_reconfigure):
1582         * libs/gst/base/gstbasetransform.h:
1583         Implement method for reconfiguring basetransform.
1584         API: GstBaseTransform::gst_base_transform_reconfigure()
1585
1586 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1587
1588         patch by: Murray Cumming <murrayc@murrayc.com>
1589
1590         * gst/gstutils.c:
1591           Mention that this is just like gst_buffer_merge() but with extra
1592           unreffing for C coders. Advise language bindings not to wrap it.
1593           Fixes Bug #533856.
1594           
1595           Also fix file comment.
1596
1597 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1598
1599         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1600
1601         * plugins/elements/gstfakesink.c:
1602         * plugins/elements/gstfakesrc.c:
1603           Call super::event() when not handling it. Fixes #544855.
1604
1605 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1606
1607         Patch by: Alessandro Decina <alessandro@nnva.org>
1608         * plugins/elements/gstfilesrc.c:
1609           Use 64 bit variants of stat functions on win32, to enable support
1610           of large files there.
1611           Fixes #547277.
1612
1613 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1614
1615         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1616         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1617         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1618         (gst_base_sink_get_position), (gst_base_sink_change_state):
1619         Improve position reporting in the flushing state.
1620         Also report the position when we are not yet prerolled but we
1621         have a newsegment event. Fixes #543444.
1622         Improve the pull-based negotiation code.
1623
1624         * tests/check/elements/fakesink.c: (GST_START_TEST),
1625         (fakesink_suite):
1626         Add testcase for position reporting while flushing in PAUSED and
1627         PLAYING.
1628
1629         * tests/check/generic/sinks.c: (GST_START_TEST):
1630         Update unit-test, we can now query the position as soon as we receive a
1631         NEWSEGMENT event.
1632
1633 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1634
1635         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1636
1637         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1638         When the subclass event handler releases the PREROLL_LOCK, we could be
1639         in the flushing state and we have to ignore the event. Fixes #548394.
1640
1641 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1642
1643         * tools/gst-launch.1.in:
1644           Document GST_REGISTRY_UPDATE environment variable.
1645
1646 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1647
1648         * libs/gst/base/gstbasetransform.c:
1649         (gst_base_transform_prepare_output_buffer):
1650         If the element is configured in passthrough mode but the
1651         prepare_output_buffer gave us a new output buffer, discard that buffer
1652         and reuse the input buffer.
1653
1654 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1655
1656         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1657
1658         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1659         (gst_tee_request_new_pad), (gst_tee_release_pad),
1660         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1661         * plugins/elements/gsttee.h:
1662         Protect pad_alloc with a new lock so that we can be sure that nothing is
1663         performing a pad_alloc when removing the pad. Fixes #547835.
1664
1665         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1666         (buffer_alloc_harness_teardown), (app_thread_func),
1667         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1668         Added testcase for shutdown race.
1669
1670 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1671
1672         * gst/gstpad.h:
1673         Add doc
1674
1675 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1676
1677         * libs/gst/base/gstbasetransform.c:
1678         (gst_base_transform_prepare_output_buffer),
1679         (gst_base_transform_buffer_alloc):
1680         Go over the buffer_alloc function again and make sure we always end up
1681         allocating a buffer.
1682         Add some more docs.
1683         Avoid doing pad alloc when we have a pending suggestion because we
1684         cannot yet deal with changing caps in that case. Fixes #547728
1685
1686 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1687
1688         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1689
1690         * docs/manual/advanced-clocks.xml:
1691         * docs/manual/clocks.png:
1692         * docs/manual/diagrams-clocks.svg:
1693           Add one more image showing different times together with a describing
1694           paragraph. Fixes #547729.
1695
1696 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1697
1698         * win32/common/libgstbase.def:
1699         Add new method.
1700
1701 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1702
1703         * libs/gst/base/gstbasetransform.c:
1704         (gst_base_transform_transform_caps),
1705         (gst_base_transform_prepare_output_buffer),
1706         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1707         Don't overwrite the outsize when calculating the expected size of a new
1708         buffer because we still need it in case we cannot process the new
1709         buffer.
1710         When converting the size of the new buffer to an upstream size, actually
1711         use the expected size of the buffer, not some other random value.
1712         Use an atomic int to signal that a new upstream caps suggestion is
1713         available.
1714         When we can convert the current buffer to a new format, check if the
1715         buffer size is of the expected size and allocate a new buffer of the
1716         expected size when this is not the case. Fixes #546883.
1717
1718         * tests/check/libs/transform1.c: (GST_START_TEST):
1719         remove ifdeffed code from the unit test.
1720
1721 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1722
1723         * pkgconfig/gstreamer-uninstalled.pc.in:
1724         * pkgconfig/gstreamer.pc.in:
1725           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1726           called gstcontroller-0.10.
1727
1728 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1729
1730         * gst/gstchildproxy.h:
1731         * gst/gstpreset.h:
1732           Remove double interface from doc-string.        
1733
1734 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1735
1736         * libs/gst/base/gstbasesrc.c:
1737         * libs/gst/base/gstbasetransform.c:
1738           Fix headings in docs and gtk-doc warnings.
1739
1740 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1741
1742         * gst/gstregistrybinary.c:
1743           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1744           libc.
1745           Fixes #544776.
1746
1747 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1748
1749         * libs/gst/base/gstbasetransform.c:
1750         (gst_base_transform_buffer_alloc):
1751         Fix a "may be used unitialized" warning.
1752
1753 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1754
1755         * docs/gst/gstreamer-sections.txt:
1756         * gst/gstpreset.h:
1757           Document preset-iface vmethods.
1758
1759 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1760
1761         * docs/manual/advanced-interfaces.xml:
1762           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1763           only used to discover devices.
1764
1765 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1766
1767         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1768
1769         * gst/gst.c: (init_pre):
1770         Make sure gettext returns translations in UTF-8 encoding rather
1771         than in the current locale encoding (#546822).
1772
1773 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1774
1775         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1776         Fix subset test.
1777
1778         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1779         Improve unit test subset tests and add a testcase for the subset failure
1780         cases.
1781
1782         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1783         Improve subtraction unit test.
1784
1785 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1786
1787         * plugins/elements/gsttee.c:
1788           Unlock, instead of locking again.
1789
1790 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1791
1792         * gst/gstpad.h:
1793         Clarify the docs a bit more.
1794
1795 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1796
1797         * tests/examples/metadata/read-metadata.c:
1798           Don't leak old taglist.
1799
1800 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1801
1802         Patch by: Olivier Crete <tester at tester dot ca>
1803
1804         * gst/gststructure.c:
1805         (gst_structure_fixate_field_nearest_fraction):
1806         Avoid overflows in fixation code when dealing with MAXINT values, which
1807         v4l2src seems to do.
1808         Fixes #546328.
1809
1810         * tests/check/gst/gststructure.c: (GST_START_TEST):
1811         Make a unit test to check the fix. 
1812
1813 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1814
1815         * plugins/elements/gstcapsfilter.c: (copy_func),
1816         (gst_capsfilter_set_property):
1817         Use new caps suggestion feature of basetransform to request a caps
1818         negotiation upstream.
1819
1820 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1821
1822         * docs/libs/gstreamer-libs-sections.txt:
1823         Add new function:
1824         API: GstBaseTransform::gst_base_transform_suggest()
1825
1826         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1827         (gst_base_transform_init), (gst_base_transform_transform_caps),
1828         (gst_base_transform_transform_size),
1829         (gst_base_transform_configure_caps),
1830         (gst_base_transform_can_transform),
1831         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1832         (gst_base_transform_prepare_output_buffer),
1833         (gst_base_transform_buffer_alloc),
1834         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1835         (gst_base_transform_chain), (gst_base_transform_activate),
1836         (gst_base_transform_set_passthrough),
1837         (gst_base_transform_is_passthrough),
1838         (gst_base_transform_set_in_place),
1839         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1840         (gst_base_transform_set_qos_enabled),
1841         (gst_base_transform_is_qos_enabled),
1842         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1843         (gst_base_transform_reconfigure):
1844         * libs/gst/base/gstbasetransform.h:
1845         Rewrite of basetransform to perform negotiation outside of the
1846         buffer_alloc functions.  Fixes #545853.
1847
1848         * tests/check/libs/transform1.c: (GST_START_TEST),
1849         (buffer_alloc_ct2):
1850         Update unit test.
1851
1852 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1853
1854         * tests/check/gst/gstpreset.c:
1855           Only run preset tests when $HOME is writable. Preliminary fix for
1856           #545433.
1857
1858 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1859
1860         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1861         (gst_bin_change_state_func), (bin_handle_async_done),
1862         (gst_bin_handle_message_func):
1863         Fix race for bins that simulate ASYNC state changes by inserting
1864         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1865         pending ASYNC messages even when the bin does not have ASYNC children.
1866         We note detect this behaviour because we will receive an ASYNC message
1867         that is originating from the bin itself. 
1868         Fixes races with decodebin2 state changes.
1869
1870         * tests/check/gst/gstbin.c: (GST_START_TEST):
1871         Add some more debug.
1872
1873 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1874
1875         * gst/gsttaglist.c: (_gst_tag_initialize):
1876           Fix typo.
1877
1878 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1879
1880         * gst/gsttaglist.c:
1881           Argh. actually save the text before committing. Now adds
1882           gst_tag_merge_strings_with_comma() to gst_tag_register().
1883
1884 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1885
1886         * gst/gsttaglist.c:
1887         * gst/gsttaglist.h:
1888           Do as tim pointed out and actually register the new tag. Also improve
1889           te docs and use gst_tag_merge_strings_with_comma() method to allow
1890           retriving all keywords merged in one list.
1891
1892 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1893
1894         * configure.ac:
1895         * docs/gst/gstreamer.types:
1896           Revert 'accidential' change of the configure option removal. We still
1897           need to generate the types file in configure --disable-load-save.
1898
1899 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1900
1901         * docs/gst/gstreamer-sections.txt:
1902         * gst/gsttaglist.h:
1903           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1904
1905 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1906
1907         * gst/gstpadtemplate.c:
1908           (gst_pad_template_class_init), (gst_static_pad_template_get),
1909           (gst_pad_template_new), (gst_pad_template_pad_created),
1910           (gst_pad_template_set_property), (gst_pad_template_get_property):
1911           Add "name-template", "direction", "presence" and "caps" properties,
1912           so that gst_pad_template_new() is just a thin wrapper around
1913           g_object_new(), which is better for bindings. (Fixes: #539772)
1914
1915 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1916
1917         * gst/gsturi.c:
1918           Be more liberal in what URIs we accept.
1919           Do not unescape bits of the URI for no apparent reason before passing to
1920           the element. Fixes #545352.
1921
1922 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1923
1924         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1925
1926         * gst/gst.c:
1927         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1928
1929 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1930
1931         * configure.ac:
1932         * docs/gst/gstreamer-sections.txt:
1933         * docs/gst/gstreamer.types:
1934         * docs/gst/gstreamer.types.in:
1935         * gst/Makefile.am:
1936         * gst/gst.c:
1937         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1938         * gst/gstconfig.h.in:
1939         * gst/gstelement.c: (gst_element_get_index):
1940         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1941         (gst_registry_binary_load_feature),
1942         (gst_registry_binary_read_cache):
1943         * gst/gstregistryxml.c: (load_feature),
1944         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1945         * plugins/Makefile.am:
1946         * tools/gst-indent:
1947         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1948         (print_plugin_features), (print_element_features):
1949         * tools/gst-xmlinspect.c: (print_event_masks),
1950         (print_element_info):
1951         * win32/common/gstconfig.h:
1952         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1953
1954         Disabling the indexers and URI handler code will only reduce the
1955         required amount of memory by a very small amount but on the other hand
1956         requires much more maintaince work. Apart from that many places of
1957         code are broken when disabling them.
1958
1959         Disabling the enum types doesn't reduce the required amount of memory
1960         by more than a few bytes and makes it hard to fix bugs like #539772,
1961         i.e. use the enums as GObject properties.
1962
1963 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1964
1965         * docs/design/part-TODO.txt:
1966         Add some thoughts and problems with upstream renegotiation.
1967
1968 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1969
1970         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1971         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1972         Remove silly redundant debug.
1973         Add some more debug info.
1974         Clarify the docs regarding new caps received from pad_alloc.
1975
1976 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1977
1978         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1979         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1980         Make setting the caps more threadsafe.
1981
1982 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1983
1984         * docs/design/part-element-transform.txt:
1985         Update docs.
1986
1987 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1988
1989         * plugins/elements/gstqueue.c: (gst_queue_init),
1990         (gst_queue_acceptcaps):
1991         Add and use a custom acceptcaps function instead of falling back to the
1992         potentially less optimized default implementation.
1993
1994 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1995
1996         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1997           Only sanity-check the buffer size if requested_caps == buffer_caps
1998           (ie. don't take pad caps into account, they're not relevant here)
1999
2000 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
2001
2002         * plugins/elements/gsttee.c:
2003         * plugins/elements/gsttee.h:
2004           Reverting as not everything is clear yet. Needs some general design
2005           work.
2006
2007 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
2008
2009         * ChangeLog:
2010           ChangeLog surgery for tee commit.
2011
2012 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
2013
2014         * docs/gst/gstreamer-sections.txt:
2015           Cleanup section-file.
2016
2017 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
2018
2019         * plugins/elements/gsttee.c:
2020         * plugins/elements/gsttee.h:
2021           Relay tag events in tee. Fixes parts of #474016.
2022           Downgrades 3 reoccurring debugs to log.
2023
2024 2008-07-28  Michael Smith <msmith@songbirdnest.com>
2025
2026         * configure.ac:
2027         * libs/gst/Makefile.am:
2028           Build the net library if we have winsock2.
2029
2030 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
2031
2032         patch by: Luc Pionchon <luc.pionchon@nokia.com>
2033
2034         * docs/manual/advanced-threads.xml:
2035         * docs/manual/diagrams-pipelines.svg:
2036         * docs/manual/hello-world.png:
2037         * docs/manual/linked-elements.png:
2038         * docs/manual/mime-world.png:
2039         * docs/manual/queue.png:
2040         * docs/manual/thread-buffering.png:
2041         * docs/manual/thread-synchronizing.png:
2042           Replace one diagram with two separate ones and updates others.
2043           Fixes #542401.
2044
2045 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2046
2047         * gst/gstelement.h:
2048         Fix link in documentation.
2049
2050 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
2051
2052         * gst/gstmessage.c:
2053         Fix confusing documentation.
2054
2055 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
2056
2057         * libs/gst/base/gstbasesrc.h:
2058         revert the changes to the header file for the ABI.
2059
2060 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
2061
2062         * libs/gst/base/gstbasesrc.c:
2063         * libs/gst/base/gstbasesrc.h:
2064         Don't cache the seekable status.
2065         Fixes bug #544174
2066
2067 2008-07-24  Rene Stadler  <mail@renestadler.de>
2068
2069         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
2070         code to close the pipeline graph.  This prevents the program from
2071         printing internal data flow errors.
2072
2073 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2074
2075         * docs/manual/basics-bus.xml:
2076         Correct typo. Fixes bug #544320.
2077
2078 2008-07-22  Michael Smith <msmith@songbirdnest.com>
2079
2080         * configure.ac:
2081           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
2082           Add check (taken from -base) for winsock, adds WIN32_LIBS
2083         * gst/Makefile.am:
2084           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
2085           winsock.
2086           Define GST_EXPORTS when building libgstreamer (only used on win32)
2087         * gst/gst_private.h:
2088         * gst/gstinfo.h:
2089           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
2090           for symbols that we need to export in both these files.
2091         * gst/gstpoll.c:
2092           Include gst_private.h higher up to avoid some compile problems on win32.
2093
2094 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2095
2096         * gst/gstvalue.c:
2097         Fix typos.
2098
2099 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2100
2101         * gst/gstcaps.c:
2102         Previous commit was wrong NULL caps does not exist
2103         and indicate an error, so also add a FIXME to
2104         gst_caps_is_equal where NULL caps are accepted.
2105
2106 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2107
2108         * gst/gstcaps.c:
2109         Allow passing of NULL to gst_caps_union
2110
2111 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2112
2113         * gst/gstghostpad.c:
2114         Add in doc that gst_ghost_pad_set_target can accept
2115         NULL to clear target
2116
2117 2008-07-15  Michael Smith <msmith@songbirdnest.com>
2118
2119         * gst/gstplugin.c:
2120         * gst/gstregistry.c:
2121           GstRegistryPool doesn't exist; don't refer to it in docs.
2122           Don't refer to functions that don't exist in docs, it's
2123           unhelpful.
2124
2125 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2126
2127         * gst/gst.c:
2128         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
2129
2130 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2131
2132         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
2133
2134         * docs/pwg/building-testapp.xml:
2135         Don't use an undeclared variable in the example program.
2136         Fixes bug #542573.
2137
2138 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
2139
2140         * gst/gstdebugutils.c:
2141           Squeeze ghost-pad links and remove <> from classname labels to save
2142           more horizontal space.
2143
2144 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
2145
2146         * gst/gstdebugutils.c:
2147           Give request and sometimes pads a different shpe style. Condense the
2148           graphs a little more.
2149
2150 2008-07-09  Michael Smith <msmith@songbirdnest.com>
2151
2152         * configure.ac:
2153           Don't require flex and bison if the parser is disabled.
2154
2155 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2156
2157         * libs/gst/controller/gstinterpolationcontrolsource.c:
2158         (_list_find_sorted_custom):
2159         Don't use declarations after statements.
2160
2161 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2162
2163         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2164         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2165         of the the child-added / -removed signals as GstChildProxy
2166         only supports GstObjects.
2167
2168 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
2169
2170         * gst/gstdebugutils.c:
2171         Fix memleak
2172
2173 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2174
2175         Patch by: Alessandro Decina <alessandro at nnva dot org>
2176
2177         * gst/gstpoll.c:
2178         Fix "ignored return value" compiler warning with newer glibc.
2179
2180 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2181
2182         * gst/gstchildproxy.c:
2183         Fix copy&paste error in gst_child_proxy_removed() documentation.
2184
2185 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
2186
2187         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2188           Print error debug message if plugin description fields that should
2189           be set are NULL.
2190
2191         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2192           Don't crash if the string to serialise is NULL (it really should
2193           not be, but apparently this used to work with the xml registry ...).
2194
2195 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
2196
2197         * tools/gst-plot-timeline.py:
2198         Fix parsing of log messages
2199
2200 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
2201
2202         * win32/common/libgstbase.def::
2203           Sort alphabetically so make check-exports doesn't barf.
2204
2205 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
2206
2207         * gst/gstevent.c:
2208           Use gst_format_get_name() to improve debug output.
2209
2210         * gst/gstpreset.c:
2211           Remove #ifdef'ed code. Add TODO comment.
2212
2213         * gst/gstsegment.c:
2214           Add debug output to ease spotting format != segment.format assertions.
2215
2216 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2217
2218         * tests/check/libs/gdp.c: (gst_dp_suite):
2219         Also enable the GDP unit test again on PPC now that the bug
2220         is fixed.
2221
2222 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2223
2224         * libs/gst/dataprotocol/dataprotocol.c:
2225         Don't write to the same region of memory as a uint64 and uint16
2226         as this breaks strict aliasing rules and apparantly breaks on PPC
2227         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2228
2229 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2230
2231         * libs/gst/controller/gstinterpolationcontrolsource.c:
2232           Optimize list handling. Use own find function. Exploit that fact that
2233           the list is sorted. Also pass back the node before, so that we can
2234           insert quickly. Have a fast path for append.
2235
2236 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2237
2238         * docs/design/draft-framestep.txt:
2239         * docs/design/part-negotiation.txt:
2240           Fix two typos.
2241
2242 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2243
2244         * configure.ac:
2245           Show configuration sumary after configure run. Based on patch by
2246           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2247
2248 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2249
2250         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2251
2252         * docs/manual/advanced-autoplugging.xml:
2253         * docs/manual/advanced-threads.xml:
2254         * docs/manual/basics-bins.xml:
2255         * docs/manual/basics-elements.xml:
2256         * docs/manual/basics-helloworld.xml:
2257         * docs/manual/basics-pads.xml:
2258           Add scale factor for pdf output.
2259
2260         * docs/manual/intro-basics.xml:
2261           Switched sections "pads" and "bins" and added a pipeline diagram.
2262
2263         * docs/manual/intro-gstreamer.xml:
2264           Added more info on gstreamer.
2265
2266         * docs/manual/intro-motivation.xml:
2267           Commented out the whole section "current problem", which sounds
2268           historical and somehow osolete; it could be turned in a positive
2269           way and reused to improve the design principles.
2270
2271         * docs/manual/intro-preface.xml:
2272           - Update URLs to library.gnome.org. 
2273           - Do not mention GTK+ in preliminary reading (irrelevant). 
2274           - Mention Plugin Writer's Manual and further reading only in the
2275             previous section.
2276           - Added a list of most relevant GObject/glib topics.
2277
2278         * docs/manual/Makefile.am:
2279         * docs/manual/bin-element-ghost.fig:
2280         * docs/manual/bin-element-ghost.png:
2281         * docs/manual/bin-element-noghost.fig:
2282         * docs/manual/bin-element-noghost.png:
2283         * docs/manual/bin-element.fig:
2284         * docs/manual/bin-element.png:
2285         * docs/manual/filter-element-multi.fig:
2286         * docs/manual/filter-element-multi.png:
2287         * docs/manual/filter-element.fig:
2288         * docs/manual/filter-element.png:
2289         * docs/manual/gstreamer-overview.png:
2290         * docs/manual/hello-world.fig:
2291         * docs/manual/hello-world.png:
2292         * docs/manual/linked-elements.fig:
2293         * docs/manual/linked-elements.png:
2294         * docs/manual/mime-world.fig:
2295         * docs/manual/mime-world.png:
2296         * docs/manual/queue.fig:
2297         * docs/manual/queue.png:
2298         * docs/manual/simple-player.png:
2299         * docs/manual/sink-element.fig:
2300         * docs/manual/sink-element.png:
2301         * docs/manual/src-element.fig:
2302         * docs/manual/src-element.png:
2303         * docs/manual/diagrams-general.svg:
2304         * docs/manual/diagrams-pipelines.svg:
2305           Removed .fig, added .png counterpart.
2306           
2307           Fixes: #539137
2308
2309 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
2310
2311         * plugins/elements/gstmultiqueue.c:
2312         * plugins/elements/gstmultiqueue.h:
2313         revert extra-size-buffers stuff, caused some race conditions
2314         and extra-size-buffers is not used anymore. Docs needs some updates
2315
2316 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2317
2318         * win32/common/config.h:
2319         * win32/common/gstenumtypes.c:
2320         * win32/common/gstenumtypes.h:
2321         * win32/common/gstversion.h:
2322           Update win32 files.
2323
2324 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2325
2326         * gst/gstdebugutils.h: (GstDebugGraphDetails),
2327           (GST_DEBUG_BIN_TO_DOT_FILE):
2328           Add missing Since' markers to gtk-doc blurbs.
2329
2330 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
2331
2332         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2333         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2334         (set_caps_1), (set_caps_ct1), (transform_ct1),
2335         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2336         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2337         (transform_size_ct2), (buffer_alloc_ct2):
2338         Add some more tests with switching caps in buffer_alloc.
2339
2340 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2341
2342         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2343         (gst_test_trans_class_init), (result_sink_chain),
2344         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2345         (gst_test_trans_push), (gst_test_trans_pop):
2346         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2347         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2348         (set_caps_1), (set_caps_ct1), (transform_ct1),
2349         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2350         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2351         (transform_size_ct2), (buffer_alloc_ct2),
2352         (gst_basetransform_suite):
2353         More tests, prepare for tests with switching caps in buffer_alloc.
2354
2355 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2356
2357         * plugins/elements/gstmultiqueue.c:
2358         * plugins/elements/gstmultiqueue.h:
2359         Fix dead-lock in underrun_cb
2360
2361 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2362
2363         * docs/design/part-states.txt:
2364         Fix device open/close docs.
2365
2366 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2367
2368         * ChangeLog:
2369           Mention bugnumber for last commit.
2370
2371 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2372
2373         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2374
2375         * docs/manual/manual.xml:
2376         - Reorganised the previous "introduction" bundle into Foreword,
2377         Introduction, and About GStreamer. The two first are <preface>
2378         docbook elements. The later is the first part of the book.
2379         - added intro-gstreamer.xml (content partially from
2380         intro-preface.xml)
2381         - moved appendix-win32.xml into appendix-integration.xml
2382
2383         * docs/manual/intro-preface.xml: gstreamer section moved...
2384         * docs/manual/intro-gstreamer.xml: ...here. new file.
2385
2386         * docs/manual/appendix-win32.xml: removed file. Content moved...
2387         * docs/manual/appendix-integration.xml: ...here.
2388         
2389         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2390         * docs/manual/appendix-checklist.xml: ...here.
2391         
2392         Fixes: 538764
2393
2394 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2395
2396         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2397
2398         * docs/manual/basics-helloworld.xml:
2399         * docs/manual/hello-world.fig:
2400           - Explicitely include glib.h.
2401           - Do not use global variables.
2402           - Use g_printerr() instead of g_print().
2403           - Minor formating/renaming to increase readibility.
2404           - Renamed new_pad() to on_pad_added()
2405           - Improved explenatory comments.
2406           - renamed ogg parser to ogg demuxer
2407           - Use "autoaudiosink" instead of "alsasink".
2408           Fixes: #538619
2409
2410 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2411
2412         * ChangeLog:
2413           Remove cvs conflict marker.
2414
2415 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2416
2417         * docs/README:
2418           Document that for plgin-docs we extraxt he short-desc from the element
2419           details.
2420
2421         * docs/design/part-states.txt:
2422           Tell that devices should be closed in PAUSED -> READY.
2423
2424         * docs/manual/README:
2425           Document how tests in the manual are handled.
2426
2427         * docs/manuals.mak:
2428           Typo in comment.
2429
2430 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2431
2432         * gst/gstbin.c: (bin_query_latency_fold):
2433         Only care about latency min and max when the sink is actually a live
2434         sink.
2435
2436 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2437
2438         * docs/design/part-block.txt:
2439         Fix typo.
2440
2441         * docs/design/part-element-transform.txt:
2442         Add notes about why transform needs to know input/output sizes.
2443         Add some issues that need to be solved.
2444         Add some more use cases.
2445
2446         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2447         (gst_test_trans_class_init), (result_sink_chain),
2448         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2449         (gst_test_trans_push), (gst_test_trans_pop):
2450         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2451         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2452         (set_caps_1), (set_caps_ct1), (transform_ct1),
2453         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2454         (gst_basetransform_suite):
2455         Add suport for different pad templates and buffer-alloc.
2456         Add more checks for caps and buffer-alloc.
2457         Add checks for proxy buffer alloc.
2458         Add unit test for copy transform.
2459
2460 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2461
2462         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2463
2464         * docs/manual/appendix-integration.xml:
2465         * docs/manual/appendix-licensing.xml:
2466         * docs/manual/basics-elements.xml:
2467         * docs/manual/basics-helloworld.xml:
2468         * docs/manual/basics-pads.xml:
2469         * docs/manual/highlevel-components.xml:
2470         * docs/manual/highlevel-xml.xml:
2471         * docs/manual/intro-basics.xml:
2472         * docs/manual/intro-preface.xml:
2473           Typo and formatting fixes (#538594).
2474
2475 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2476
2477         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2478         Fix some memory leaks and uses of object instances that we don't
2479         actually own.
2480
2481 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2482
2483         * plugins/elements/gstmultiqueue.c:
2484         Add functionality to extra-size-buffers property.
2485
2486 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2487
2488         * plugins/elements/gstmultiqueue.c:
2489         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2490         activate the pads if they are added in STATE_NULL.
2491
2492 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2493
2494         * docs/libs/gstreamer-libs-sections.txt:
2495         Add new API to doc
2496         * libs/gst/check/gstcheck.c:
2497         * libs/gst/check/gstcheck.h:
2498         API: gst_check_teardown_pad_by_name
2499
2500 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2501
2502         * libs/gst/check/gstcheck.c:
2503         * libs/gst/check/gstcheck.h:
2504         Also setup request pads and allow setup pads by name (#537812)
2505         API: gst_check_setup_src_pad_by_name
2506         API: gst_check_setup_sink_pad_by_name
2507
2508 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2509
2510         * tests/check/gst/gstbuffer.c:
2511         * tests/check/pipelines/parse-launch.c:
2512           Use HAVE_VALGRIND_H some more.
2513
2514 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2515
2516         * scripts/cvs-update.sh:
2517           Pass arguments to make.
2518           Run autoregen.sh if Makefile is not there.
2519
2520 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2521
2522         * configure.ac:
2523         * gst/gstinfo.c:
2524           Don't assume that <valgrind/valgrind.h> exists just because
2525           the binary is there.
2526
2527 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2528
2529         * tests/check/Makefile.am:
2530         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2531         (gst_test_trans_class_init), (gst_test_trans_init),
2532         (gst_test_trans_set_data), (result_sink_chain),
2533         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2534         (gst_test_trans_pop):
2535         * tests/check/libs/transform1.c: (GST_START_TEST),
2536         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2537         Add some test basetransform element and the beginnings of various
2538         unit tests for it.
2539
2540 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2541
2542         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2543         Increase code readability.
2544         Don't try to compare buffer offsets when ther are invalid.
2545
2546 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2547
2548         * docs/design/Makefile.am:
2549           Dist some more design docs.
2550
2551         * docs/random/moving-plugins:
2552           Small addition: good plugins mustn't have functional code
2553           within assertion macros.
2554
2555 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2556
2557         * docs/design/draft-framestep.txt:
2558         Some ideas about a framestep API
2559
2560         * docs/design/part-element-transform.txt:
2561         Start design and use cases for basetransform in order to get it
2562         fixed soon.
2563
2564 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2565
2566         * gst/gsttaglist.h:
2567           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2568           be in UTF-8 encoding.
2569
2570 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2571
2572         * gst/gstbus.c:
2573           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2574
2575 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2576
2577         * plugins/elements/gstcapsfilter.c:
2578         * plugins/elements/gstfakesink.c:
2579         * plugins/elements/gstfakesrc.c:
2580         * plugins/elements/gstfdsink.c:
2581         * plugins/elements/gstfdsrc.c:
2582         * plugins/elements/gstfilesink.c:
2583         * plugins/elements/gstfilesrc.c:
2584         * plugins/elements/gstidentity.c:
2585         * plugins/elements/gstmultiqueue.c:
2586         * plugins/elements/gstqueue.c:
2587         * plugins/elements/gsttee.c:
2588         * plugins/elements/gsttypefindelement.c:
2589           Remove short_description. Add basic docs for gsttypefindelement.
2590           Simplify markup for fakesrc/fdsrc.
2591
2592 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2593
2594         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2595         Added Since doc.
2596
2597 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2598
2599         Patch by: Joel Larsson <tilljoel at gmail dot com>
2600
2601         * docs/plugins/gstreamer-plugins.args:
2602         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2603         (gst_fd_src_init), (gst_fd_src_update_fd),
2604         (gst_fd_src_set_property), (gst_fd_src_get_property),
2605         (gst_fd_src_create):
2606         * plugins/elements/gstfdsrc.h:
2607         Add timeout property like udpsrc. Fixes #538628.
2608         Add some more docs and example pipelines.
2609
2610 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2611
2612         * docs/libs/gstreamer-libs-sections.txt:
2613         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2614         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2615         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2616         (gst_base_sink_do_sync):
2617         * libs/gst/base/gstbasesink.h:
2618         * win32/common/libgstbase.def:
2619         Add method to allow sinks to specify additional delay between the sync
2620         times and the actual rendering of the data.
2621         API: gst_base_sink_set_render_delay()
2622         API: gst_base_sink_get_render_delay()
2623
2624 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2625
2626         * configure.ac:
2627         Bump version number back to dev -> 0.10.20.1
2628
2629 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2630
2631         * docs/gst/gstreamer-sections.txt:
2632         * gst/gsttaglist.c: (_gst_tag_initialize):
2633         * gst/gsttaglist.h:
2634         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2635         Fixes bug #538568.
2636
2637 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2638
2639         * libs/gst/controller/gstcontroller.c:
2640           Revert one change, that make ret value possible uninitialized.
2641
2642 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2643
2644         * libs/gst/controller/gstcontroller.c:
2645           Use freeze/thaw notify to sync notify emission a bit (its also more
2646           efficient). Move debug output to LOG (is called a lot in a loop).
2647           Always unset g_values if the have been initialized.
2648
2649 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2650
2651         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2652         (gst_base_sink_wait_eos), (gst_base_sink_event):
2653         If we have not seen a buffer before EOS, use the segment values to
2654         report the current position instead of invalid positions.
2655
2656 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2657
2658         * docs/plugins/tmpl/.cvsignore:
2659         * tests/check/gst/.cvsignore:
2660           Ignore more.
2661
2662 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2663
2664         * libs/gst/controller/gstinterpolation.c:
2665         * libs/gst/controller/gstinterpolationcontrolsource.c:
2666         * tests/check/libs/controller.c:
2667           Rewrite handling of default values. Fix overflow with unsigned types
2668           in linear interpolation. Remove now obsolete _first_value() function.
2669           Add more tests. Fixes #538201.
2670
2671 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2672
2673         * libs/gst/base/gstbasetransform.c:
2674         (gst_base_transform_class_init), (gst_base_transform_init),
2675         (gst_base_transform_transform_caps),
2676         (gst_base_transform_prepare_output_buffer):
2677         Add debug info.
2678         When a buffer is writable, its metadata is also writable so we don't
2679         need to subbuffer (which then makes the buffer not-writable anymore).
2680
2681 === release 0.10.20 ===
2682
2683 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2684
2685         * configure.ac:
2686           releasing 0.10.20, "You Crazy Diamond"
2687
2688 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2689
2690         * configure.ac:
2691         0.10.19.3 pre-release
2692
2693 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2694
2695         * configure.ac:
2696         * gst/gstpreset.c:
2697         Rename DATADIR to GST_DATADIR to avoid build problems
2698         on win32. Patch By: David Schleef <ds@schleef.org>
2699         Fixes: #536857
2700
2701 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2702
2703         * configure.ac:
2704         Explicitely link with -ldl if dladdr() is found there. Before it was
2705         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2706         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2707
2708 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2709
2710         * gst/gsterror.c: (_gst_stream_errors_init):
2711           Fix typo (spotted by Fabricio Godoy, #536723).
2712
2713 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2714
2715         * configure.ac:
2716         0.10.19.2 pre-release
2717
2718 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2719
2720         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2721         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2722         Add some debug.
2723         Make sure we don't generate invalid QoS messages.
2724
2725 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2726
2727         * gst/gstevent.c: (gst_event_new_qos):
2728         Add some assert and docs for invalid input to the qos function.
2729
2730 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2731
2732         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2733         (gst_base_sink_get_position):
2734         The reported position must always be smaller than the last seen
2735         timestamps (or timestamp + duration for reverse).
2736
2737 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2738
2739         Patch by: Rob Bradford <rob at robster dot org dot uk>
2740
2741         * gst/gstregistry.c: (gst_registry_scan_path_level):
2742         Don't recurse into .debug directories as some distros install
2743         the debugging symbols next to the plugins in .debug directories
2744         and dlopen() crashes on them sometimes. Fixes bug #508070.
2745
2746         Add FIXME for 0.11 to not recurse into directories at all because
2747         it's very inconsistent to the behaviour of other PATH environment
2748         variables.
2749
2750 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2751
2752         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2753         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2754         Fix position query range checks in reverse playback.
2755
2756 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2757
2758         * gst/gstelement.c:
2759         * gst/gstelement.h:
2760         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2761         clear of the reference to the resulting pad must be released later
2762         or not, resulting in possible leaks. Fixes bug #533865.
2763
2764 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2765
2766         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2767
2768         * gst/gstelementfactory.c:
2769         Small doc fix. Fixes #535285.
2770
2771 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2772
2773         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2774
2775         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2776         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2777         (gst_base_src_loop), (gst_base_src_set_flushing),
2778         (gst_base_src_change_state):
2779         Make sending an EOS event to the basesrc non-blocking even if the
2780         implementation does blocking waits in the create function. This is done
2781         by unlocking the create function when EOS is sent.
2782         Fixes #535218.
2783
2784 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2785
2786         * tools/gst-inspect.c: (print_element_properties_info):
2787         If possible print the element type of GValueArray properties.
2788
2789 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2790
2791         * gst/gstiterator.c:
2792         Remove an unused field from the private GstListIterator struct.
2793
2794 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2795
2796         * libs/gst/controller/gstcontroller.c:
2797           Add parameter guards.
2798
2799 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2800
2801         * tests/check/gst/gstpipeline.c:
2802           Revert test change and add comment why it should not work.
2803
2804 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2805
2806         * tests/check/gst/gstpipeline.c:
2807           Extending the test a little to verify that we also get the NULL state-
2808           change message.
2809
2810 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2811
2812         * gst/gstpreset.c: (gst_preset_default_get_meta),
2813           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2814           (gst_preset_load_preset), (gst_preset_save_preset),
2815           (gst_preset_rename_preset), (gst_preset_delete_preset),
2816           (gst_preset_set_meta):
2817           Add Since: markers to docs blurbs.
2818
2819         * win32/common/libgstreamer.def:
2820           Add recently-added API.
2821
2822 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2823
2824         Patch by: Stefan Kost  <ensonic@users.sf.net>
2825
2826         * configure.ac:
2827         Add DATADIR for storing presets.
2828
2829         * docs/gst/gstreamer-docs.sgml:
2830         * docs/gst/gstreamer-sections.txt:
2831         * docs/gst/gstreamer.types.in:
2832         Add GstPreset to docs.
2833
2834         * gst/Makefile.am:
2835         * gst/gst.h:
2836         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2837         (preset_open_and_parse_header), (preset_parse_version),
2838         (preset_merge), (preset_get_keyfile),
2839         (gst_preset_default_get_preset_names),
2840         (gst_preset_default_get_property_names),
2841         (gst_preset_default_load_preset),
2842         (gst_preset_default_save_presets_file),
2843         (gst_preset_default_save_preset),
2844         (gst_preset_default_rename_preset),
2845         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2846         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2847         (gst_preset_default_reset), (gst_preset_get_preset_names),
2848         (gst_preset_get_property_names), (gst_preset_load_preset),
2849         (gst_preset_save_preset), (gst_preset_rename_preset),
2850         (gst_preset_delete_preset), (gst_preset_set_meta),
2851         (gst_preset_get_meta), (gst_preset_class_init),
2852         (gst_preset_base_init), (gst_preset_get_type):
2853         * gst/gstpreset.h:
2854         Add GstPreset to core. Fixes #396779
2855
2856         * tests/check/Makefile.am:
2857         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2858         (gst_preset_test_set_property), (gst_preset_test_class_init),
2859         (gst_preset_test_base_init), (gst_preset_test_get_type),
2860         (gst_preset_test_plugin_init), (GST_START_TEST),
2861         (remove_preset_file), (test_setup), (test_teardown),
2862         (gst_preset_suite):
2863         Add GstPreset unit tests.
2864
2865 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2866
2867         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2868         The default event function on a sinkpad should return TRUE when
2869         there are no internal links but should collect the return values from
2870         the internal links otherwise.
2871
2872 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2873
2874         * plugins/elements/gsttypefindelement.c:
2875         (gst_type_find_element_src_event),
2876         (gst_type_find_element_handle_event):
2877         Use faster and safer _pad_push_event().
2878
2879 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2880
2881         * docs/gst/gstreamer-sections.txt:
2882         * gst/gstutils.c: (element_find_unlinked_pad),
2883           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2884         * gst/gstutils.h:
2885           API: add gst_bin_find_unlinked_pad()
2886           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2887
2888 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2889
2890         * gst/gstclock.c:
2891         * gst/gstclock.h:
2892         * gst/gsttask.c:
2893         * gst/gsttask.h:
2894         Fixed a bunch of typos.
2895
2896 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2897
2898         * gst/gstpad.h:
2899         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2900           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2901           (gst_parse_bin_from_description_full):
2902         * gst/gstutils.h:
2903           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2904
2905 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2906
2907         * docs/pwg/advanced-tagging.xml:
2908           Small docs update, can't be bothered to rewrite the nonsensical
2909           examples right now.
2910
2911 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2912
2913         * gst/gstevent.h:
2914           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2915
2916 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2917
2918         * gst/parse/grammar.y:
2919           Remove unneeded casts.
2920
2921 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2922
2923         * gst/parse/grammar.y:
2924         * tests/check/pipelines/parse-launch.c:
2925           Get all missing elements from a parse launch string if possible
2926           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2927
2928 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2929
2930         * tests/check/Makefile.am:
2931         * tests/check/pipelines/parse-launch.c:
2932           Add some unit tests for the new gst_parse_launch*_full() API.
2933           (Exposes a previously-existing memory leak in the error code
2934           path, so adding to VALGRIND_TO_FIX for now).
2935
2936 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2937
2938         * docs/gst/gstreamer-sections.txt:
2939         * gst/gst.c: (init_post):
2940         * gst/gst_private.h: (_GstParseContext):
2941         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2942           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2943           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2944           (gst_parse_launch_full):
2945         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2946           (GstParseFlags), (GstParseContext):
2947         * gst/gstutils.c: (gst_parse_bin_from_description),
2948           (gst_parse_bin_from_description_full):
2949         * gst/gstutils.h:
2950         * gst/parse/grammar.y:
2951         * gst/parse/types.h:
2952         * win32/common/libgstreamer.def:
2953           Add new gst_parse_*_full API (#528178):
2954           API: gst_parse_launch_full()
2955           API: gst_parse_launchv_full()
2956           API: gst_parse_bin_from_description_full()
2957           API: gst_parse_context_new()
2958           API: gst_parse_context_free()
2959           API: gst_parse_context_get_missing_elements()
2960
2961 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2962
2963         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2964
2965         * docs/faq/gst-uninstalled:
2966           Also support ffmpeg in gst-uninstalled.
2967
2968 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2969
2970         * configure.ac:
2971         After discussion on IRC use the binary registry as default
2972         but allow to disable it with --disable-binary-registry.
2973
2974         * win32/common/libgstreamer.def:
2975         Add the two new symbols for the binary registry.
2976
2977 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2978
2979         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2980         * gst/gstutils.c: (gst_parse_bin_from_description):
2981         * gst/parse/grammar.y: (graph):
2982           More guards against bad input; typo fix; some minor clean-ups.
2983
2984 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2985
2986         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2987
2988         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2989         If nothing else can be used, use the last buffer's start time as
2990         the segment's last stop. Fixes bug #534258.
2991
2992 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2993
2994         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2995           Move size sanity check to the right place: downstream may return
2996           a buffer with a smaller size if the buffer caps are different than
2997           the requested ones, as may happen when doing reverse negotiation.
2998
2999 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3000
3001         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
3002         (gst_file_sink_render):
3003         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
3004         (gst_file_src_start):
3005         Small cleanups. Add note adbout g_fopen() on windows and why we don't
3006         use it yet.
3007
3008 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3009
3010         * gst/gstpad.c: (gst_pad_load_and_link):
3011         * gst/gstutils.c: (gst_element_link_pads),
3012         (gst_element_unlink_pads):
3013         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3014         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3015         (gst_check_teardown_sink_pad),
3016         (gst_check_element_push_buffer_list):
3017         * tests/check/elements/fakesink.c: (GST_START_TEST):
3018         * tests/check/elements/filesink.c:
3019         * tests/check/elements/filesrc.c: (GST_START_TEST):
3020         * tests/check/elements/multiqueue.c: (setup_multiqueue),
3021         (mq_sinkpad_to_srcpad):
3022         * tests/check/elements/tee.c: (GST_START_TEST):
3023         * tests/check/generic/sinks.c: (GST_START_TEST):
3024         * tests/check/gst/gstbin.c: (GST_START_TEST):
3025         * tests/check/gst/gstevent.c: (GST_START_TEST):
3026         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3027         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
3028         * tests/check/gst/gstquery.c: (GST_START_TEST):
3029         * tests/check/gst/gstutils.c: (GST_START_TEST):
3030         * tests/check/libs/basesrc.c: (GST_START_TEST):
3031         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
3032         (gst_parse_test_element_change_state):
3033         Don't use gst_element_get_pad().
3034
3035 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
3036
3037         * docs/Makefile.am:
3038         Fix installing plugin documentation when gtk-doc is disabled.
3039
3040 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3041
3042         * docs/manual/advanced-autoplugging.xml:
3043         * docs/manual/basics-helloworld.xml:
3044         * docs/manual/basics-pads.xml:
3045         * docs/manual/highlevel-components.xml:
3046         Avoid using a bad function in the example code.
3047
3048 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3049
3050         * gst/gstclock.c: (gst_clock_set_calibration):
3051         Fix debug of the new clock rate.
3052
3053 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3054
3055         * win32/common/libgstbase.def:
3056         Add gst_base_sink_wait_clock() to the exported symbols.
3057
3058 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
3059
3060         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
3061
3062         * libs/gst/base/gstbasetransform.c:
3063         (gst_base_transform_sink_event):
3064         Unref events that the GstBaseTransform::event vfunc didn't want to
3065         have forwarded by the base class. Closes a leak in identity.
3066         Fixes bug #446763.
3067
3068 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3069
3070         * docs/libs/gstreamer-libs-sections.txt:
3071         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
3072         * libs/gst/base/gstbasesink.h:
3073         Expose a method that was previously used internally to synchronize
3074         against the clock because it can be useful for subclasses too.
3075         API: GstBaseSink::gst_base_sink_wait_clock()
3076
3077 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3078
3079         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3080           Add sanity check to make sure we don't get smaller buffers
3081           than requested (and fallback to normal buffer alloc if we do).
3082
3083 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3084
3085         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
3086         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
3087         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
3088         Refactor adjusting the running_time with latency and offset into a
3089         separate method.
3090         When doing clipping, we still want to use the subclass get_times method,
3091         just in case the DURATION or TIMESTAMP are not set.
3092
3093 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3094
3095         * docs/gst/gstreamer-sections.txt:
3096         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
3097         * gst/gsttypefind.h:
3098         * win32/common/libgstreamer.def:
3099           API: add gst_type_find_suggest_simple(), #533740.
3100
3101 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3102
3103         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
3104           Use right error code when typefinding fails, so we can use
3105           the default (translated) error messages.
3106
3107 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3108
3109         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3110         (gst_base_src_start):
3111         When the subclass did not set caps on outgoing buffers, configure the
3112         caps we negotiated on the source pad.
3113         When the typefind helper does not find caps, error out properly instead
3114         of doing things with NULL caps.
3115
3116 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3117
3118         * gst/gsttypefind.h:
3119           Tabs to spaces, oh yes!
3120
3121 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3122
3123         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
3124           Add David's and Benjamin's tests for array intersection to the
3125           unit test suite (#147931).
3126
3127 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3128
3129         * gst/gstevent.c:
3130           Document that gst_event_new_tag() and gst_event_new_navigation()
3131           take ownership of the taglist/structure passed to them. (#533635).
3132
3133 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
3134
3135         * docs/Makefile.am:
3136         Don't descend into the plugins dir if plugin docs building
3137         is disabled.
3138
3139         * docs/README:
3140         Add a note about the new type:GTypeName syntax for the plugin
3141         documentation .types file.
3142
3143 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3144
3145         * gst/gstmessage.c: (gst_message_new_error),
3146         (gst_message_new_warning), (gst_message_new_info):
3147         * gst/gstmessage.h:
3148         Mark the debug string parameters as const. Fixes bug #533490.
3149
3150 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
3151
3152         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3153         Sort buffer cache list by end offsets. This makes sure that we don't
3154         stop to search for a cached buffer that contains the requested data
3155         too early.
3156         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3157         more efficient. Fixes bug #459862.
3158
3159 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
3160
3161         * gst/gstinfo.c:
3162           Explain why we copy the list.
3163
3164         * gst/gstpipeline.c:
3165           Improve docs.
3166
3167         * gst/gstutils.c:
3168           Add one debug-log statement to help tracing probelms with linking pads.
3169
3170 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
3171
3172         * tests/check/gst/gstinfo.c:
3173         Add a test for removing the default log handler. Seems to fail under
3174         windows.
3175
3176 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3177
3178         * gst/gstpad.c: (gst_pad_peer_accept_caps):
3179         Release pad lock before calling out to avoid a possible deadlock.
3180
3181 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3182
3183         * gst/parse/grammar.y:
3184         Remove unneeded value unset.
3185
3186         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3187         Add unit test for de/serialization of caps.
3188
3189 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3190
3191         * plugins/elements/gstfakesink.c:
3192         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3193         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3194         (gst_fake_src_class_init):
3195         Use custom marshalers that take GstMiniObject as first parameter.
3196         Using OBJECT as parameter while a GstMiniObject is given will lead
3197         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3198
3199 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3200
3201         * plugins/elements/gsttypefindelement.c:
3202         (gst_type_find_element_handle_event),
3203         (gst_type_find_element_send_cached_events),
3204         (gst_type_find_element_change_state):
3205         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3206         immediately.
3207
3208 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3209
3210         * plugins/elements/gsttypefindelement.c:
3211         (gst_type_find_handle_src_query), (stop_typefinding),
3212         (gst_type_find_element_handle_event),
3213         (gst_type_find_element_send_cached_events),
3214         (gst_type_find_element_change_state):
3215         Forward FLUSH_START events immediately and clean up instead of
3216         caching them.
3217
3218 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3219
3220         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3221
3222         * libs/gst/base/gstbasetransform.c:
3223         (gst_base_transform_buffer_alloc):
3224         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3225         fall back to default negotiation in the chain function if the caps
3226         are different from what was requested. Fixes bug #526768.
3227
3228 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3229
3230         * gst/gstsegment.c:
3231         * tests/check/gst/gstsegment.c:
3232           No, let's not use g_slice_{dup|copy} here, since they only exist
3233           since GLib 2.14 and we still depend only on >= 2.12. Also add
3234           unit test for gst_segment_copy().
3235
3236 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3237
3238         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3239           Try to fix 'dereferencing type-punned pointer will break strict
3240           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3241           changed the default GType typedef from gulong to gsize at some point,
3242           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3243           g_once_* functions all take a gsize * though, so work around the type
3244           mismatch for C++ by doing everything in gsize and casting to GType
3245           later.
3246
3247 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
3248
3249         * plugins/elements/gstmultiqueue.c:
3250         Add documentation for the signals to push our core plugin docs
3251         coverage back up to 100%.
3252
3253 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3254
3255         * gst/gstinfo.h (GST_FUNCTION):
3256           Reverted GST_FUNCTION to the old version as we don't want the
3257           full signature in C++ code. Also added support for MSVC.
3258
3259 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3260
3261         * gst/gstutils.h:
3262         Intern the type name string, similar to what G_DEFINE_TYPE does.
3263
3264 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3265
3266         * gst/gstutils.h:
3267         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3268
3269 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3270
3271         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3272
3273         * libs/gst/base/gstbasetransform.c:
3274         (gst_base_transform_buffer_alloc):
3275         Don't passthrough buffer allocation too easily if the caps change.
3276         This breaks when working in passthrough mode and upstream changes
3277         it's caps. Fixes bug #526768.
3278
3279 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3280
3281         * gst/gstinfo.c (gst_debug_log_valist):
3282           Improved the __FILE__ part of debug output for MSVC.
3283
3284 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3285
3286         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3287           Declaration after statement fix for compilers like MSVC.
3288
3289 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3290
3291         * win32/common/config.h.in:
3292           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3293           use the real thing than having "???" unconditionally.
3294
3295 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3296
3297         * gst/gstinfo.h (GST_FUNCTION):
3298           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3299
3300 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3301
3302         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3303         Small code cleanup.
3304
3305         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3306         (gst_base_sink_set_flushing):
3307         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3308         Fix some comments.
3309
3310 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3311
3312         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3313         (gst_fake_src_init), (gst_fake_src_set_property),
3314         (gst_fake_src_get_property), (gst_fake_src_start):
3315         * plugins/elements/gstfakesrc.h:
3316         Added format property to control the format of the newsegment events.
3317         API: GstFakeSrc:format
3318
3319 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3320
3321         * win32/common/libgstreamer.def:
3322         Add gst_pad_has_name() to the exported symbols.
3323
3324 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3325
3326         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3327         * libs/gst/base/gstbasetransform.c:
3328         (gst_base_transform_prepare_output_buffer):
3329         Don't allow negative sizes when allocating new buffers.
3330         Fixes bug #461253.
3331
3332 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3333
3334         Patch by: Sjoerd Simons <sjoerd at luon net>
3335
3336         * gst/gstbus.c: (gst_bus_source_dispatch):
3337           Don't print a warning if the queue is empty when we try to pop
3338           here. That could happen if another thread or callback set the
3339           bus to flushing between the source's check/prepare and the
3340           dispatch being called (#531538).
3341
3342 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3343
3344         * plugins/elements/gstmultiqueue.c:
3345           Small docs fix.
3346         
3347 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
3348
3349         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3350         Add unit test for deserializing uint64s and check some really large
3351         numbers in the int64 test.
3352
3353 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3354
3355         * tools/gst-inspect.c: (n_print), (print_hierarchy),
3356         (print_interfaces), (print_element_properties_info),
3357         (print_signal_info):
3358         Use "%s" as format string instead of printing strings directly.
3359
3360 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3361
3362         * gst/gstclock.c: (gst_clock_set_calibration):
3363         Make some checks actually useful.
3364
3365         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3366         Remove some unused code. Unsigned integers tend to be >= 0.
3367
3368 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3369
3370         * gst/gstminiobject.c: (gst_value_get_mini_object):
3371           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3372           function was not in the unscheduled 0.10.19 release.
3373
3374 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3375
3376         * gst/gstregistry.c: (gst_registry_scan_path_level):
3377           Only print one log message per non-plugin file.
3378
3379 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3380
3381         * gst/gstinfo.c: (gst_debug_log_default):
3382           Fix alignment of debug log columns on 64-bit.
3383
3384 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3385
3386         * docs/libs/Makefile.am:
3387         * docs/libs/gstreamer-libs-sections.txt:
3388           Ignore private controller headers for docs.
3389
3390 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3391
3392         * libs/gst/controller/gstcontrollerprivate.h:
3393         * libs/gst/controller/gsthelper.c:
3394         * libs/gst/controller/gstinterpolation.c:
3395         * libs/gst/controller/gstinterpolationcontrolsource.c:
3396         (gst_interpolation_control_source_set_interpolation_mode):
3397         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3398         * libs/gst/controller/lib.c:
3399         Move some private declarations into private headers.
3400
3401 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3402
3403         * gst/gstdebugutils.c: (debug_dump_element_pad):
3404         Remove some code that is unused after Stefan's refactoring and uses
3405         uninitialized variables now, resulting in a compiler warning.
3406
3407 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3408
3409         * gst/gstregistry.c: (gst_registry_scan_path_level):
3410           Run g_str_has_suffix() only on the file name, not the
3411           entire file path.
3412
3413 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3414
3415         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3416           Since we're not called only from the chain function any longer,
3417           we can't assume that there's always data in the queue, so move
3418           the is_full check to the beginning of the loop (otherwise we'd
3419           hit the assert when changing the limit properties while the
3420           queue is empty or not running yet).
3421           Also, only set a discont if items were actually removed from
3422           the queue.
3423
3424         * tests/check/elements/queue.c: (test_leaky_downstream):
3425           Test case for the above.
3426
3427 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3428
3429         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3430
3431         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3432         (gst_queue_chain), (queue_capacity_change),
3433         (gst_queue_set_property):
3434         When changing thr max capacity of a leaky queue, immediatly drop buffers
3435         instead of waiting for a push on the sinkpad. Fixes #530637.
3436
3437 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3438
3439         * gst/gstdebugutils.c:
3440           Refactor code and fix handling of ghostpads and their proxypads.
3441
3442 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3443
3444         * docs/gst/gstreamer-sections.txt:
3445         * gst/gstevent.c: (gst_event_has_name):
3446         * gst/gstevent.h:
3447         * tests/check/gst/gstevent.c: (GST_START_TEST):
3448         Add method to conveniently check the name of a custom event with
3449         gst_event_has_name().
3450         Reformat the event docs so that related methods are put together instead
3451         of the default alphabetical sort.
3452         Update unit test with new method.
3453         API: GstEvent::gst_event_has_name()
3454
3455 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3456
3457         * libs/gst/check/Makefile.am:
3458           Don't add an explicit link to libgstreamer-0.10.la; it's already
3459           included in GST_OBJ_LIBS.
3460
3461 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3462
3463         * gst/gst.c:
3464         Register GstClock type from a type-safe context. Fixes bug #530317.
3465
3466 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3467
3468         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3469         * tools/gst-run.c:
3470           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3471
3472 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3473
3474         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3475         (gst_bin_dispose):
3476         Use the GLib stuff to create a private structure.
3477         Add some locking around some dispose methods to make them a little
3478         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3479
3480 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3481
3482         * libs/gst/base/gstbasesink.h:
3483         * libs/gst/base/gstbasesrc.h:
3484         * libs/gst/base/gstbasetransform.h:
3485         * libs/gst/base/gstcollectpads.h:
3486           Fix doc typos and unify caps a bit.
3487
3488 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3489
3490         * tools/gst-launch.1.in:
3491           Forgot to also add the envvar docs here.
3492
3493 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3494
3495         * gst/gst.c: (init_post), (gst_deinit):
3496         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3497           (test_concurrent_create), (gst_pipeline_suite):
3498           Ref some more classes in gst_init() to work around thread-safety
3499           issues in pre-2.16 GLibs, and add basic unit test.
3500
3501 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3502
3503         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3504         (gst_base_sink_send_event):
3505         Rearrange the latency query code. We always want to do the upstream
3506         query, even if we are not live so that the upstream elements can get the
3507         latency results too. If we fail doing the query and we are live, we
3508         return TRUE afterwards.
3509
3510 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3511
3512         patch by: Jason Zhao <e3423c@motorola.com>
3513
3514         * docs/gst/running.xml:
3515         * gst/gst.c:
3516           Enable/disable scan_and_update_registry() based on commandline switch
3517           or environment variable. Fixes #520468.
3518           
3519         * ChangeLog:
3520           Fix typo in my previous commit.
3521
3522 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3523
3524         * gst/gstregistrybinary.c:
3525           Add a warning if we hit unhandled factories when saving.
3526           More debug logging detail, but move to LOG category.
3527
3528 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3529
3530         * gst/gstregistry.c:
3531           Tell the *truth* when improving the documentation.
3532
3533 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3534
3535         * gst/gstelementfactory.c: (gst_element_factory_make):
3536         Unref the factory after it was used the last time, not before.
3537
3538         * gst/gstindexfactory.c: (gst_index_factory_make):
3539         Improve debugging a bit and don't leak a ref to the index factory with
3540         each call.
3541
3542 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3543
3544         * gst/gstregistry.c:
3545           Improve the documentation.
3546
3547 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3548
3549         * gst/gstsegment.c:
3550           The glib macro seems to be borked. Use g_slice_copy directly and cast
3551           in the hope that this fixes the warning on 64bit.
3552
3553 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3554
3555         * gst/gstsegment.c:
3556           Document the new function. Use g_slice_dup() (no need for
3557           gst_segment_init()).    
3558
3559 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3560
3561         * docs/gst/gstreamer-sections.txt:
3562           Move GParamSepc macros to standart section.
3563   
3564         * gst/gstbin.c:
3565           Dn't document _get_type - its in private section in docs anyway and
3566           this doc-blob was incomplete.
3567
3568         * gst/gstclock.h:
3569           Fix wrong symbol names in docs.
3570
3571         * gst/gstmacros.h:
3572           Add once doc sentence.
3573
3574         * tests/check/gst/.cvsignore:
3575           Ignore more.
3576
3577 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3578
3579         * docs/gst/Makefile.am:
3580           And remove those libs here.
3581
3582 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3583
3584         * docs/libs/Makefile.am:
3585           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3586
3587 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3588
3589         Patch by: Olivier Crete <tester at tester dot ca>
3590
3591         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3592         Add the min-threshold to the min latency if possible. Fixes #529148.
3593
3594 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3595
3596         * docs/gst/gstreamer.types.in:
3597           Stupid editor, I removed that line as it should go in yet.
3598
3599 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3600
3601         * docs/gst/gstreamer.types.in:
3602         * docs/libs/gstreamer-libs.types:
3603           Remove library types fro core docs and have them in libs docs.
3604           Reformat and cleanup. Add comment for miniobject types.
3605
3606 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3607
3608         * gst/gsturi.c: (gst_uri_get_protocol):
3609           Fix leak: g_strdown operates on the string in place, while
3610           g_ascii_strdown() returns a newly-allocated string.
3611
3612 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3613
3614         * tools/gst-inspect.c: (print_uri_handler_info),
3615         (print_element_info):
3616         Print the URI protocols and the URI type supported by the element.
3617
3618 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3619
3620         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3621         Use g_value_take_string() instead of the deprecated
3622         g_value_set_string_take_ownership().
3623
3624 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3625
3626         * gst/gstregistrybinary.c: (_gst_crc32):
3627         Return the old CRC instead of 0 if we give a NULL buffer
3628         or a buffer with a length of 0.
3629
3630 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3631
3632         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3633         (gst_uri_get_protocol), (gst_uri_has_protocol),
3634         (gst_uri_construct), (gst_uri_handler_set_uri):
3635         A valid URI scheme can also include '+', '-' and '.' additional
3636         to alphanumeric characters as per RFC 3986 Section 3.1.
3637
3638         Handle URI schemes case insensitive in all places and convert
3639         to lower-case when constructing an URI or setting an URI with
3640         the GstURIHandler interface. Fixes bug #528868.
3641         All elements can still assume (as before) that they will
3642         get passed URIs with a lower-case URI scheme by the GstURIHandler
3643         interface.
3644
3645 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3646
3647         * gst/gstcaps.c: (gst_static_caps_get):
3648         * gst/gstclock.c: (gst_clock_entry_new):
3649           Don't use g_atomic_set_int where it's not needed.
3650
3651 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3652
3653         * gst/gstvalue.c: (gst_value_deserialize_caps):
3654         * gst/parse/grammar.y:
3655         Fix 2 caps leaks.
3656
3657 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3658
3659         * gst/gstutils.c: (gst_atomic_int_set):
3660         Use g_atomic_int_set() here too instead of assignment +
3661         g_atomic_int_get().
3662
3663 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3664         
3665         * gst/gstutils.c:
3666         * gst/gstutils.h:
3667         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3668         now that we depend on new enough GLib.
3669
3670         * gst/gstcaps.c: (gst_static_caps_get):
3671         * gst/gstclock.c: (gst_clock_entry_new):
3672         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3673         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3674         (gst_debug_category_set_threshold):
3675         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3676         (gst_base_sink_set_qos_enabled):
3677         * libs/gst/net/gstnettimeprovider.c:
3678         (gst_net_time_provider_set_property):
3679         Use g_atomic_int_set() instead of gst_atomic_int_set().
3680
3681 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3682
3683         * gst/gstquery.c:
3684           Also use G_GINT64_CONSTANT for the queries.
3685
3686 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3687
3688         * gst/gstmessage.c:
3689           Use G_GINT64_CONSTANT in varargs function.
3690
3691 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3692
3693         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3694         Initialize the registry magic with zeroes.
3695
3696 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3697
3698         * gst/gstregistrybinary.c: (_gst_crc32),
3699         (gst_registry_binary_write),
3700         (gst_registry_binary_initialize_magic),
3701         (gst_registry_binary_write_cache),
3702         (gst_registry_binary_check_magic),
3703         (gst_registry_binary_read_cache):
3704         * gst/gstregistrybinary.h:
3705         Add crc32 checksum to the binary registry file and check this before
3706         accepting a registry file.
3707
3708         Also free the data list when writing to the registry file fails.
3709
3710 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3711
3712         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3713         (gst_registry_binary_load_feature),
3714         (gst_registry_binary_load_plugin):
3715         If an element supports the Uri interface, returns a valid pointer
3716         to the supported URI protocols but this pointer contains nothing
3717         don't try to save that as it will corrupt the registry.
3718
3719         Don't unref the plugin if we added it to the registry already but
3720         fail to load a feature as gst_registry_add_plugin() takes ownership
3721         of the plugin.
3722
3723         Improve debugging a bit.
3724
3725 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3726
3727         * gst/gsttaglist.h:
3728           Clarify some tag item docs after discussion on irc.
3729
3730 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3731
3732         * docs/gst/gstreamer-docs.sgml:
3733           Remove commented out plugins (they have their own docs). Update
3734           comments.
3735
3736 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3737
3738         * docs/gst/gstreamer-docs.sgml:
3739         * docs/gst/gstreamer-sections.txt:
3740         * gst/gstparamspecs.c:
3741         * gst/gstparamspecs.h:
3742           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3743           docs to own section.
3744
3745         * gst/gstvalue.c:
3746           This now only documents GValue.
3747           
3748         * docs/libs/gstreamer-libs-sections.txt:
3749         * libs/gst/controller/gstcontroller.h:
3750           Remove GST_PARAM_CONTROLLABLE.
3751
3752 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3753
3754         * docs/README:
3755           Correct file path. Tell about how to use -overrides.txt.
3756         * docs/design/draft-tagreading.txt:
3757           Small design update.
3758
3759 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3760
3761         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3762         (gst_registry_binary_load_plugin):
3763         Fix a typo in a debug message and revert change from yesterday as
3764         gst_registry_add_plugin() will only fail if something is really wrong
3765         already and we can't survive it anyway.
3766
3767 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3768
3769         * gst/gst.c: (init_post), (gst_deinit):
3770           Pre-register GstGError GType from a thread-safe context
3771           (fixes #527967); unref enum type classes in deinit.
3772
3773 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3774
3775         Patch by: Rene Stadler <mail at renestadler de>
3776
3777         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3778           Merging an empty list with another list in KEEP_ALL mode should
3779           yield an empty list as result and not the second list (#512578).
3780
3781         * tests/check/gst/gsttagsetter.c:
3782           Add unit test for tag merge modes and the aforementioned bug.
3783
3784 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3785
3786         Patch by: Rene Stadler <mail at renestadler de>
3787
3788         * gst/gsttaglist.h:
3789           Fix description to match the order in the table (#512577).
3790   
3791 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3792
3793         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3794
3795         * libs/gst/net/gstnettimepacket.h:
3796         * docs/libs/gstreamer-libs-sections.txt:
3797           Define socklen_t as int if it's not defined yet. Fixes compilation
3798           with MSVC6 and other versions where socklen_t is not defined in
3799           the windows headers (#518022).
3800
3801 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3802
3803         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3804         If gst_registry_add_plugin() fails our reference to the plugin is
3805         invalid so don't try to use it anymore and instead error out.
3806
3807 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3808
3809         * tools/gst-xmlinspect.c: (print_element_info), (main):
3810           De-cruft a bit. If no argument is specified, print all elements in
3811           XML syntax rather than a freestyle list of elements like gst-inspect.
3812           Also, don't print XML header chunk unless we actually have something
3813           to print (ie. don't print it before an error message); print error
3814           message to stderr not stdout. Remove support for printing plugin
3815           info (it would just output something freestyle along the lines of
3816           gst-inspect so far), which fixes #514507. Also add license header.
3817
3818 2008-04-11  Julien Moutte  <julien@fluendo.com>
3819
3820         Mac OS X love...
3821         * configure.ac: Merge platform specific defines, introduce a new
3822         define on OS X to remember that forking when updating registry is
3823         unsafe.
3824         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3825         module.
3826         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3827         is defined.
3828         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3829         condition that leads to absolutely no plugins being registered on
3830         OS X.
3831
3832 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3833
3834         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3835
3836         * gst/gstutils.c: (gst_pad_add_data_probe),
3837           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3838           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3839           (gst_pad_add_buffer_probe_full):
3840         * gst/gstutils.h:
3841         * docs/gst/gstreamer-sections.txt:
3842         * win32/common/libgstreamer.def:
3843           Add gst_pad_add_*_probe_full() functions with a notify callback that
3844           lets the caller free the data it passes to the probe functions. This
3845           is useful for bindings such as gst-python or gstreamermm (#526814).
3846           API: gst_pad_add_data_probe_full
3847           API: gst_pad_add_buffer_probe_full
3848           API: gst_pad_add_event_probe_full
3849
3850         * tests/check/gst/gstutils.c:
3851           Add minimal unit test to make sure freeing the data actually works
3852           as expected.
3853
3854         * tests/benchmarks/.cvsignore:
3855           Random cvsignore addendum.
3856
3857 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3858
3859         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3860           (GST_DEBUG_BIN_TO_DOT_FILE):
3861           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3862           to it in the docs (since these are macros the types of the arguments
3863           won't be shown in the docs otherwise).
3864
3865 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3866
3867         * gst/gstpad.c:
3868           Do not abort on out of memory for pad_alloc_buffer.
3869
3870 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3871
3872         * libs/gst/check/gstcheck.c:
3873           Remove blank line between symbol name ad parameters to fix gtkdoc
3874           warning.
3875
3876 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3877
3878         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3879
3880         * docs/gst/gstreamer-sections.txt:
3881         * gst/gstsegment.c:
3882         * gst/gstsegment.h:
3883         * win32/common/libgstreamer.def:
3884           Expose gst_segment_copy() to make things easier for the c++ bindings.
3885           Fixes #518932.
3886           API: gst_segment_copy()
3887
3888 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3889
3890         * gst/gst.c: (gst_init_get_option_group), (init_post):
3891           Fix const position; ref GType classes for enum types to work
3892           around thread-safety issues in GLib versions < 2.16.
3893
3894 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3895
3896         * docs/design/part-buffering.txt:
3897         Fix some typos and set the estimated total for push mode to -1.
3898
3899         * gst/gstquery.c: (gst_query_new_buffering):
3900         Set buffering-left to 0 as we're not buffering by default.
3901
3902         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3903         Implement BUFFERING query.
3904
3905 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3906
3907         Based on patch by: Milosz Derezynski <internalerror gmail com>
3908
3909         * gst/gsterror.c: (_gst_stream_errors_init):
3910         * gst/gsterror.h:
3911           Add two new error codes for encrypted content. Fixes #524659.
3912           API: GST_STREAM_ERROR_DECRYPT
3913           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3914
3915 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3916
3917         * gst/gstquery.h:
3918           Fix typo.
3919
3920         * win32/common/libgstreamer.def:
3921           Add new functions.
3922
3923 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3924
3925         * plugins/elements/gstidentity.c: (gst_identity_event),
3926         (gst_identity_start):
3927         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3928         event after processing some data. Fixes bug #526042.
3929
3930 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3931
3932         * docs/gst/gstreamer-sections.txt:
3933         * gst/gstquery.c: (gst_query_parse_latency),
3934         (gst_query_set_buffering_percent),
3935         (gst_query_parse_buffering_percent),
3936         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3937         * gst/gstquery.h:
3938         Rename _avail -> _range
3939         API: gst_query_set_buffering_range
3940         API: gst_query_parse_buffering_range
3941
3942 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3943
3944         * docs/design/part-buffering.txt:
3945         * gst/gstquark.c:
3946         * gst/gstquark.h:
3947         * gst/gstquery.c: (gst_query_parse_latency),
3948         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3949         (gst_query_parse_buffering_percent):
3950         * gst/gstquery.h:
3951         Add busy field and quark for the buffering query so that the app can
3952         only use the query to see if buffering is in progress.
3953
3954 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3955
3956         * docs/gst/gstreamer-sections.txt:
3957         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3958         (gst_message_parse_buffering_stats):
3959         * gst/gstmessage.h:
3960         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3961         (gst_query_parse_latency), (gst_query_new_buffering),
3962         (gst_query_set_buffering_percent),
3963         (gst_query_parse_buffering_percent),
3964         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3965         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3966         * gst/gstquery.h:
3967         Reorder the message docs and headers for clarity.
3968         Add aditional buffering stats API for messages.
3969         Add buffering query.
3970         Convert some leftover queries to use GstQuark.
3971         API: gst_message_set_buffering_stats
3972         API: gst_message_parse_buffering_stats
3973         API: GST_QUERY_BUFFERING
3974         API: GstBufferingMode
3975         API: gst_query_new_buffering
3976         API: gst_query_set_buffering_percent
3977         API: gst_query_parse_buffering_percent
3978         API: gst_query_set_buffering_stats
3979         API: gst_query_parse_buffering_stats
3980
3981 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3982
3983         * gst/gstmessage.c: (gst_message_new_error),
3984         (gst_message_new_warning), (gst_message_new_info),
3985         (gst_message_new_buffering), (gst_message_new_state_changed),
3986         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3987         (gst_message_new_new_clock), (gst_message_new_segment_start),
3988         (gst_message_new_segment_done), (gst_message_new_duration),
3989         (gst_message_new_async_start), (gst_message_parse_buffering),
3990         (gst_message_parse_state_changed),
3991         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3992         (gst_message_parse_new_clock), (gst_message_parse_error),
3993         (gst_message_parse_warning), (gst_message_parse_info),
3994         (gst_message_parse_segment_start),
3995         (gst_message_parse_segment_done), (gst_message_parse_duration),
3996         (gst_message_parse_async_start):
3997         Use GstQuark for messages.
3998
3999 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
4000
4001         * gst/gstquark.c: (_priv_gst_quarks_initialize):
4002         * gst/gstquark.h:
4003         Add some more quarks needed for messages and queries.
4004
4005 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
4006
4007         * docs/design/part-buffering.txt:
4008         Remove the "none" buffering mode, STREAM is a good default.
4009         Move estimated-time to the avail query, that's when it will be needed.
4010         Other small typo fixes and updates.
4011
4012 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
4013
4014         * gst/gstindex.c: (gst_index_resolver_get_type):
4015           Don't put descriptions into the nick field of a GEnumValue: it's not
4016           meant for that and some language bindings rely on the nick field to
4017           construct constants and the like. Fixes #526705.
4018
4019 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
4020
4021         * NEWS:
4022         * RELEASE:
4023         * gstreamer.doap:
4024           Merge other changes from 0.10.19 release branch.
4025
4026 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
4027
4028         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
4029
4030         * configure.ac:
4031         Actually build dlls when cross-compiling with mingw32.
4032         Fixes bug #526247.
4033
4034 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
4035
4036         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
4037
4038         * gst/gstpoll.c:
4039         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
4040
4041 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
4042
4043         * docs/design/draft-latency.txt:
4044         Fix typo.
4045
4046         * docs/design/part-buffering.txt:
4047         Update design docs with more buffering ideas.
4048
4049 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
4050
4051         * configure.ac:
4052           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
4053
4054 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
4055
4056         * configure.ac:
4057           Revert part that belongs to the preset patch.
4058
4059 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
4060
4061         * configure.ac:
4062           Add qoutes to the define. Fixes # 525961.
4063
4064 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
4065
4066         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
4067         (gst_file_index_load), (gst_file_index_add_id),
4068         (gst_file_index_get_assoc_entry):
4069         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
4070         (gst_mem_index_free_id), (gst_mem_index_add_id),
4071         (gst_mem_index_index_format):
4072         Use GSlice when possible.
4073
4074 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
4075
4076         * libs/gst/controller/gstinterpolationcontrolsource.c:
4077         (gst_control_point_free),
4078         (gst_interpolation_control_source_set_internal):
4079         Use GSlice for allocating the control points.
4080
4081 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
4082
4083         * plugins/elements/gsttypefindelement.c:
4084         (gst_type_find_element_class_init),
4085         (gst_type_find_element_set_property),
4086         (gst_type_find_element_get_property),
4087         (gst_type_find_element_activate):
4088         * plugins/elements/gsttypefindelement.h:
4089         Cleanup properties.
4090         Fix pad leak when peer query fails.
4091         We can still typefind when the peer returns -1.
4092         Add property to force caps and bypass typefinding. This will be used in
4093         uridecodebin.
4094         API::force-caps
4095
4096 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
4097
4098         * configure.ac:
4099         Require GLib 2.12.
4100
4101         * gst/glib-compat-private.h:
4102         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
4103         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4104         Unconditionally use GSlice for allocation.
4105
4106         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
4107         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
4108         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
4109         (gst_structure_free):
4110         Use GSlice for allocation.
4111
4112 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
4113
4114         * gst/parse/Makefile.am:
4115         * gst/parse/grammar.tab.pre.c:
4116         * gst/parse/grammar.tab.pre.h:
4117         * gst/parse/lex._gst_parse_yy.pre.c:
4118         Require a new enough flex and bison and remove the parser hacks to use
4119         a pre-regenerated version.
4120
4121 2008-04-01  Julien Moutte  <julien@fluendo.com>
4122
4123         patch by: Jason Zhao <E3423C@motorola.com>
4124
4125         * configure.ac: Add a configure switch to disable option parsing
4126         in gst_init.
4127         Fixes #522882.
4128
4129 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4130
4131         * configure.ac:
4132         * gst/gstregistry.c:
4133           MacOS has plugins under .so or under .dylib. Add detection for MacOS
4134           and handle this case.
4135
4136         * gst/gst.c:
4137           Add a comment here describing, why we stat each plugin and not try to
4138           be smart.
4139
4140 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
4141
4142         * libs/gst/base/gstbasetransform.c:
4143         (gst_base_transform_prepare_output_buffer):
4144         Also unset the GAP flag on buffers if we're working inplace but
4145         the element is not GAP-aware.
4146
4147         Mark a comment as FIXME 0.11.
4148
4149 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4150
4151         * gst/gst.c:
4152           Fix type in log message and add one to ease seeing how long registry
4153           cache verification takes.
4154
4155         * gst/gstregistry.c:
4156           Only test plugin filenames against G_MODULE_SUFFIX.
4157
4158 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4159
4160         * gst/gstdebugutils.c:
4161           Improve handling ghost/proxy pads.
4162
4163 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
4164
4165         * docs/gst/gstreamer-sections.txt:
4166         * gst/gstpad.c:
4167         * gst/gstpad.h:
4168           Expose macro to docs and fix link to it.
4169
4170 2008-03-27  Michael Smith <msmith@fluendo.com>
4171
4172         * libs/gst/dataprotocol/dataprotocol.c:
4173         (gst_dp_packet_from_event_1_0):
4174           When calculating GDP body CRC, use the correct pointer. 
4175           Fixes part of #522401.
4176
4177 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4178
4179         Patch by: Mark Nauwelaerts <manauw at skynet be>
4180
4181         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4182         (gst_identity_init), (gst_identity_prepare_output_buffer):
4183         Identity is not always a passthrough element, it can modify the buffer
4184         timestamps when it has a datarate and operates in single-segment mode.
4185         We therefore make it an in_place filter with a custom buffer prepare
4186         function that conditionally makes the input buffer metadata writable
4187         when needed.  Fixes #523985.
4188
4189 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4190
4191         Patch by: Mark Nauwelaerts <manauw at skynet be>
4192
4193         * gst/gstclock.h:
4194         * libs/gst/base/gstbasesrc.h:
4195         * libs/gst/base/gstbasetransform.c:
4196         * libs/gst/check/gstcheck.c:
4197         Small documentation fixes. Fixes #523978.
4198
4199 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4200
4201         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4202         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4203         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4204
4205 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4206
4207         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4208         (single_queue_underrun_cb):
4209         When trying to make room in the queue, bump the max allowed buffers
4210         bigger than the current amount of buffers in the queue. this fixes some
4211         nasty deadlocks in multiqueue when dynamically changing the limits of
4212         the queue.
4213
4214 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4215
4216         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
4217
4218         * gst/gstcaps.c: (gst_caps_set_simple),
4219         (gst_caps_set_simple_valist), (gst_caps_intersect):
4220         * gst/gstcaps.h:
4221         Constify the field gchar * params in set_simple and friends.
4222         Fixes #522326.
4223
4224 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4225
4226         * gst/gstvalue.c: (gst_value_transform_object_string):
4227         Transform a GstObject to a more meaningfull string that includes the
4228         object type in addition to its name.
4229
4230 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
4231
4232         * ChangeLog:
4233           ChangeLog surgery to add bugnumber to commit.
4234
4235 2008-03-23  Rene Stadler  <mail@renestadler.de>
4236
4237         * libs/gst/base/gstbasetransform.c:
4238         (gst_base_transform_set_gap_aware): Fix confusing documentation.
4239
4240 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4241
4242         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4243         Rename constant everywhere and don't forget one occurence.
4244
4245 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4246
4247         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4248         Align memory to the pointer size even if the architecture allows
4249         unaligned memory access. Unaligned memory access usually comes with
4250         performance penality.
4251
4252 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4253
4254         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4255         (gst_registry_binary_check_magic),
4256         (gst_registry_binary_load_pad_template),
4257         (gst_registry_binary_load_feature),
4258         (gst_registry_binary_load_plugin):
4259         Align memory to the pointer size instead of always 32 bit. Fixes
4260         unaligned memory accesses on ia64 and friends.
4261
4262         * gst/gstregistrybinary.h:
4263         Bump binary registry format version for this as it changes the
4264         format on those architectures that don't have unaligned access
4265         and 64 bit pointers.
4266
4267 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4268
4269         * docs/pwg/advanced-dparams.xml:
4270         * docs/pwg/building-props.xml:
4271         * docs/pwg/other-source.xml:
4272         * gst/glib-compat.h:
4273         * gst/gstbin.c: (gst_bin_class_init):
4274         * gst/gstclock.c: (gst_clock_class_init):
4275         * gst/gstindex.c: (gst_index_class_init):
4276         * gst/gstobject.c: (gst_object_class_init):
4277         * gst/gstpad.c: (gst_pad_class_init):
4278         * gst/gstpipeline.c: (gst_pipeline_class_init):
4279         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4280         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4281         * libs/gst/base/gstbasetransform.c:
4282         (gst_base_transform_class_init):
4283         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4284         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4285         (_gst_check_fault_handler_sighandler),
4286         (_gst_check_fault_handler_setup), (gst_check_init):
4287         * libs/gst/controller/gstcontroller.c:
4288         (_gst_controller_class_init):
4289         * libs/gst/controller/gstlfocontrolsource.c:
4290         (gst_lfo_control_source_class_init):
4291         * libs/gst/net/gstnetclientclock.c:
4292         (gst_net_client_clock_class_init):
4293         * libs/gst/net/gstnettimeprovider.c:
4294         (gst_net_time_provider_class_init):
4295         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4296         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4297         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4298         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4299         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4300         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4301         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4302         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4303         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4304         * plugins/elements/gstqueue.c: (gst_queue_class_init):
4305         * plugins/elements/gsttee.c: (gst_tee_class_init):
4306         * plugins/elements/gsttypefindelement.c:
4307         (gst_type_find_element_class_init):
4308         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4309         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4310         use it everywhere for GParamSpecs that use static strings (i.e. all).
4311         This gives us less memory usage, fewer allocations and thus less
4312         memory defragmentation. Fixes bug #523806.
4313
4314 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4315
4316         * gst/gstminiobject.c: (gst_value_dup_mini_object),
4317         (gst_param_spec_mini_object):
4318         * gst/gstminiobject.h:
4319         * win32/common/libgstreamer.def:
4320         * docs/gst/gstreamer-sections.txt:
4321         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4322         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4323         GstParamSpecMiniObject into a public header for this.
4324
4325         This make GstMiniObject a bit more consistent with GObject and makes
4326         it possible to extend the param specs.
4327
4328         gst_value_dup_mini_object is mainly useful for set_property methods.
4329
4330         Fixes bug #523798.
4331
4332         * tools/gst-inspect.c: (print_element_properties_info):
4333         Print something useful for GstMiniObject properties and not just
4334         "unknown type".
4335
4336 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4337
4338         * docs/gst/gstreamer-sections.txt:
4339         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4340         (gst_registry_binary_check_magic):
4341         * gst/gstregistrybinary.h:
4342         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4343         and add it to the (private part) of the docs to fix the build.
4344
4345 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4346
4347         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4348         (gst_registry_binary_check_magic),
4349         (gst_registry_binary_read_cache):
4350         * gst/gstregistrybinary.h:
4351         Don't use GST_MAJORMINOR for the binary registry version. Instead
4352         hardcode a value that must be changed whenever the format changes
4353         in an incompatible way.
4354         Also don't GST_ERROR when there is a version mismatch, just
4355         regenerate the registry silently.
4356
4357 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
4358
4359         * configure.ac:
4360         Back to development - 0.10.18.1
4361
4362 === release 0.10.18 ===
4363
4364 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
4365
4366         * configure.ac:
4367           releasing 0.10.18, "So far away"
4368
4369 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
4370
4371         * configure.ac:
4372         * win32/common/config.h:
4373         0.10.17.4 pre-release
4374
4375 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
4376
4377         Patch by: Ole André Vadla Ravnås
4378             <ole dot andre dot ravnas at tandberg dot com>
4379
4380         * docs/gst/gstreamer-sections.txt:
4381         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4382         (gst_poll_update_winsock_event_mask),
4383         (gst_poll_prepare_winsock_active_sets),
4384         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4385         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4386         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4387         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4388         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4389         * gst/gstpoll.h:
4390         * win32/common/libgstreamer.def:
4391         Add new function gst_poll_fd_ignored() for improved Windows
4392         compatibility.
4393         Various minor fixes and cleanups. See #520808.
4394
4395 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4396
4397         * gst/gstindex.c: (gst_index_entry_free):
4398         * gst/gstindex.h:
4399           Don't free key strings which we don't own. Fixes crash in
4400           gst_index_entry_free() (#522741).
4401
4402         * tests/check/Makefile.am:
4403         * tests/check/gst/.cvsignore:
4404         * tests/check/gst/gstindex.c: (test_index_entries),
4405           (gst_index_suite), (gst_index):
4406           Add unit test for the above.
4407
4408 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4409
4410         * win32/common/libgstreamer.def:
4411         Remove symbols that were removed recently. Fixes bug #521740.
4412
4413 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4414
4415         * configure.ac:
4416         * win32/common/config.h:
4417         0.10.17.3 pre-release
4418
4419 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4420
4421         Patch by: Ole André Vadla Ravnås
4422             <ole dot andre dot ravnas at tandberg dot com>
4423
4424         * docs/gst/gstreamer-sections.txt:
4425         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4426         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4427         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4428         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4429         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4430         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4431         (gst_poll_fd_can_write), (gst_poll_wait),
4432         (gst_poll_set_controllable), (gst_poll_restart),
4433         (gst_poll_set_flushing):
4434         * gst/gstpoll.h:
4435         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4436         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4437         (gst_net_time_provider_new):
4438         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4439         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4440         * tests/benchmarks/gstpollstress.c: (main):
4441         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4442         Remove GstPollMode from the API, it does not make sense to let the
4443         application control this.
4444         Add support for Win32.
4445         Fix the testsuite. Fixes #520671.
4446
4447 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4448
4449         Patch by: Ole André Vadla Ravnås
4450             <ole dot andre dot ravnas at tandberg dot com>
4451
4452         * gst/gstregistrybinary.c:
4453         Include io.h for write() and close() when building with MSVC. Fixes
4454         bug #520877.
4455
4456 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4457
4458         * configure.ac:
4459         * gst/gst_private.h:
4460         * gst/gstconfig.h.in:
4461         * gst/gstregistry.h:
4462         * gst/gstregistrybinary.c:
4463         * win32/common/gstconfig.h:
4464           Move registry backend API to private headers where we can. Add
4465           fixme-0.11 comments for the others. Add stubs for the xml backend when
4466           using the binary to ensure they functions exists (they should not be
4467           used though). Fixes #520756.
4468
4469 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4470
4471         * configure.ac:
4472         * win32/common/config.h:
4473         0.10.17.2 prelease
4474
4475 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4476
4477         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4478         (gst_registry_binary_read_cache):
4479         * gst/gstregistryxml.c: (gst_registry_save):
4480         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4481         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4482         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4483         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4484         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4485         Fixes #520152
4486
4487 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4488
4489         * gst/gstminiobject.c:
4490         Import gst_private.h before any other header that might include other
4491         glib headers. This fixes the build on windows using native compilers.
4492
4493 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4494
4495         * win32/common/gstconfig.h:
4496           Add here too, just for completeness.
4497
4498 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4499
4500         * configure.ac:
4501         * gst/gstconfig.h.in:
4502         * gst/gstregistry.h:
4503           Fix broken use of config.h-defined preprocessor directive in a public
4504           header file. Add a corresponding define to gstconfig.h, since we can't
4505           really remove those function declarations from the header file now
4506           (or can we? and why are they there in the first place?).
4507
4508 2008-03-03  Andy Wingo  <wingo@pobox.com>
4509
4510         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4511         the new warning.
4512
4513         * gst/gststructure.c (gst_structure_from_string): Warn if
4514         structure_from_string didn't consume the whole string, but the
4515         caller did not provide an end pointer.
4516
4517 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4518
4519         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4520
4521         * gst/gstregistryxml.c: (read_string), (load_feature):
4522           Strings allocated by libxml2 should be freed with xmlFree(), not
4523           with g_free(). Fixes issues on windows in certain contexts (#519698).
4524
4525 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4526
4527         * gst/gstinterface.c: (gst_element_implements_interface):
4528           Don't crash if the element supports the interface queried, but does
4529           not implement GstImplementsInterface. Fixes #519584.
4530
4531         * tests/check/Makefile.am:
4532         * tests/check/gst/.cvsignore:
4533         * tests/check/gst/gstinterface.c:
4534           Add unit test for the above.
4535
4536 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4537
4538         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4539         Small doc update.
4540
4541 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4542
4543         * gst/gstsegment.c: (gst_segment_set_seek),
4544         (gst_segment_to_stream_time):
4545         Improve some comment.
4546         Update variables where it makes more sense.
4547
4548 2008-02-29  Rene Stadler  <mail@renestadler.de>
4549
4550         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4551         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4552         URIHandlers implemented using language bindings.
4553
4554 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4555
4556         * gst/gstelementfactory.h:
4557         * tests/check/elements/fakesink.c:
4558         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4559         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4560         * tests/check/elements/filesink.c: (setup_filesink):
4561         * tests/check/elements/filesrc.c: (setup_filesrc):
4562         * tests/check/elements/identity.c: (setup_identity):
4563         * tests/check/elements/tee.c:
4564         * tests/check/generic/sinks.c:
4565         * tests/check/generic/states.c: (setup), (teardown):
4566         * tests/check/gst/gst.c:
4567         * tests/check/gst/gstabi.c:
4568         * tests/check/gst/gstbin.c:
4569         * tests/check/gst/gstbus.c: (pull_messages):
4570         * tests/check/gst/gstcaps.c:
4571         * tests/check/gst/gstelement.c:
4572         * tests/check/gst/gstevent.c:
4573         * tests/check/gst/gstghostpad.c:
4574         * tests/check/gst/gstiterator.c:
4575         * tests/check/gst/gstmessage.c:
4576         * tests/check/gst/gstminiobject.c: (my_foo_init):
4577         * tests/check/gst/gstobject.c: (thread_name_object),
4578         (gst_object_suite):
4579         * tests/check/gst/gstpad.c:
4580         * tests/check/gst/gstplugin.c:
4581         * tests/check/gst/gstpoll.c:
4582         * tests/check/gst/gstquery.c:
4583         * tests/check/gst/gstsegment.c:
4584         * tests/check/gst/gststructure.c:
4585         * tests/check/gst/gstsystemclock.c:
4586         * tests/check/gst/gsttask.c:
4587         * tests/check/gst/gstutils.c:
4588         * tests/check/gst/gstvalue.c:
4589         * tests/check/gst/struct_hppa.h:
4590         * tests/check/gst/struct_i386.h:
4591         * tests/check/gst/struct_ppc32.h:
4592         * tests/check/gst/struct_ppc64.h:
4593         * tests/check/gst/struct_x86_64.h:
4594         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4595         * tests/check/libs/basesrc.c:
4596         * tests/check/libs/controller.c: (GST_START_TEST):
4597         * tests/check/libs/gdp.c:
4598         * tests/check/libs/gstnetclientclock.c:
4599         * tests/check/libs/gstnettimeprovider.c:
4600         * tests/check/libs/libsabi.c:
4601         * tests/check/libs/struct_hppa.h:
4602         * tests/check/libs/struct_i386.h:
4603         * tests/check/libs/struct_ppc32.h:
4604         * tests/check/libs/struct_ppc64.h:
4605         * tests/check/libs/struct_x86_64.h:
4606         * tests/check/pipelines/cleanup.c:
4607         * tests/check/pipelines/simple-launch-lines.c:
4608         * tests/check/pipelines/stress.c:
4609         And correct even more valid sparse warnings.
4610
4611         * win32/common/libgstreamer.def:
4612         Add gst_poll_fd_init to the list of symbols.
4613
4614 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4615
4616         * gst/gstconfig.h.in:
4617         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4618         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4619         (gst_check_log_critical_func), (gst_check_drop_buffers),
4620         (gst_check_element_push_buffer_list):
4621         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4622         (gst_controller_get_type):
4623         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4624         (gst_object_get_controller), (gst_object_get_control_source):
4625         * libs/gst/controller/gstinterpolationcontrolsource.c:
4626         (gst_interpolation_control_source_new):
4627         * libs/gst/controller/gstlfocontrolsource.c:
4628         (gst_lfo_control_source_new):
4629         * libs/gst/dataprotocol/dataprotocol.c:
4630         (gst_dp_event_from_packet_0_2):
4631         * plugins/elements/gstfdsrc.c:
4632         * plugins/elements/gstmultiqueue.c:
4633         * plugins/elements/gsttee.c:
4634         * plugins/elements/gsttypefindelement.c:
4635         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4636         (gst_file_index_add_association):
4637         * plugins/indexers/gstmemindex.c:
4638         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4639         * tests/check/elements/queue.c: (setup_queue):
4640         * tests/check/gst/gstpipeline.c:
4641         * tests/check/libs/collectpads.c: (setup), (teardown),
4642         (gst_collect_pads_suite):
4643         * tests/examples/adapter/adapter_test.c:
4644         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4645         * tests/examples/xml/createxml.c:
4646         * tests/examples/xml/runxml.c:
4647         * tools/gst-inspect.c:
4648         * tools/gst-run.c:
4649         Correct all relevant warnings found by the sparse semantic code
4650         analyzer. This include marking several symbols static, using
4651         NULL instead of 0 for pointers, not using variable sized arrays
4652         on the stack, moving variable declarations to the beginning of
4653         a block and using "foo (void)" instead of "foo ()" for declarations.
4654
4655 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4656
4657         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4658         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4659         Don't reset GstPollFDs, this is not necessary at all.
4660
4661         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4662         (delayed_restart), (delayed_control):
4663         Use GST_POLL_FD_INIT.
4664
4665 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4666
4667         * gst/gstpoll.c: (gst_poll_fd_init):
4668         * gst/gstpoll.h:
4669         Added Since tags.
4670
4671         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4672         Use some more init macros.
4673
4674 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4675
4676         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4677         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4678         Use init macros and functions.
4679
4680 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4681
4682         * docs/gst/gstreamer-sections.txt:
4683         * gst/gstpoll.c: (gst_poll_fd_init):
4684         * gst/gstpoll.h:
4685         Add INIT macro and _init method for initializing the GstPollFD.
4686
4687 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4688
4689         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4690         (gst_fd_sink_update_fd):
4691         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4692         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4693         (delayed_restart), (delayed_control):
4694         Initialize some uninitialized variables as spotted by valgrind.
4695
4696 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4697
4698         * tests/benchmarks/Makefile.am:
4699         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4700         (main):
4701         Add poll stress test.
4702
4703 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4704
4705         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4706
4707         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4708         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4709         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4710         * plugins/elements/gstfdsink.h:
4711         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4712         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4713         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4714         (gst_fd_src_uri_set_uri):
4715         * plugins/elements/gstfdsrc.h:
4716         Port to GstPoll. See #505417.
4717
4718 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4719
4720         * win32/common/libgstreamer.def:
4721         Add new gst_poll_ symbols to win32 defs.
4722
4723 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4724
4725         * docs/libs/gstreamer-libs-sections.txt:
4726         * libs/gst/net/gstnetclientclock.c:
4727         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4728         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4729         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4730         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4731         * libs/gst/net/gstnetclientclock.h:
4732         * libs/gst/net/gstnettimeprovider.c:
4733         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4734         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4735         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4736         (gst_net_time_provider_new):
4737         * libs/gst/net/gstnettimeprovider.h:
4738         Use a private stuct to not break ABI.
4739
4740 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4741
4742         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4743
4744         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4745         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4746         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4747         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4748         * libs/gst/net/gstnetclientclock.h:
4749         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4750         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4751         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4752         (gst_net_time_provider_new):
4753         * libs/gst/net/gstnettimeprovider.h:
4754         Massive code removal and cleanups because of GstPoll.
4755         Fixes #505417.
4756
4757 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4758
4759         * configure.ac:
4760         Add checks for poll, ppoll and pselect.
4761
4762         * docs/gst/gstreamer-docs.sgml:
4763         * docs/gst/gstreamer-sections.txt:
4764         Add docs for GstPoll.
4765
4766         * gst/Makefile.am:
4767         * gst/gst.h:
4768         * gst/gstpoll.c: (find_index), (selectable_fds),
4769         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4770         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4771         (gst_poll_set_mode), (gst_poll_get_mode),
4772         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4773         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4774         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4775         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4776         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4777         (gst_poll_fd_can_write), (gst_poll_wait),
4778         (gst_poll_set_controllable), (gst_poll_restart),
4779         (gst_poll_set_flushing):
4780         * gst/gstpoll.h:
4781         Add generic poll abstraction. We ideally don't want to have this in core
4782         here but in glib intead...
4783         This code will be used in various network elements and ultimately for
4784         the nanosecond precision monotonic clock (that's why it's here in core).
4785         It'll allow us to implement cancelable socket operations for windows too.
4786
4787         * tests/check/Makefile.am:
4788         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4789         (delayed_stop), (delayed_restart), (delayed_flush),
4790         (delayed_control), (gst_poll_suite):
4791         Add GstPoll unit test.
4792
4793 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4794
4795         * gst/gstfilter.c:
4796           Improve documentation of gst_filter_run(). Fixes #518627.
4797
4798 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4799
4800         * docs/README:
4801           Add a few lines about the new 'check-inspected-versions' target.
4802
4803 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4804
4805         * tests/check/gst/gstevent.c:
4806           Add qos to the event test. Rename tcase/tsuite; is not only about
4807           custom events.
4808
4809 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4810
4811         * plugins/elements/gstqueue.c:
4812           Ensure that buffer metadata is writeable, before modifying. Spotted by
4813           Mike.
4814
4815 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4816
4817         * plugins/elements/gstqueue.c:
4818         * plugins/elements/gstqueue.h:
4819           When dropping buffers in leaky modes, mark next buffers we sent as
4820           DISCONT.
4821
4822 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4823
4824         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4825           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4826
4827 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4828
4829         * plugins/elements/Makefile.am:
4830         * plugins/elements/gstbufferstore.c:
4831         * plugins/elements/gstbufferstore.h:
4832         * plugins/elements/gsttypefindelement.h:
4833           Remove GstBufferStore, no idea why we were still building it.
4834           It's not used anywhere and superseded by GstAdapter.
4835
4836         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4837           (gst_file_src_create_mmap):
4838         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4839           Printf format fixes for 64-bit integers.
4840
4841 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4842
4843         * configure.ac:
4844         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4845         We're not in 0.8 times anymore.
4846
4847 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4848
4849         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4850         (gst_check_element_push_buffer_list):
4851         * libs/gst/check/gstcheck.h:
4852         Make the declaration in the header for
4853         gst_check_element_push_buffer_list match the implementation.
4854
4855         Fix up spelling, grammar and wording of the documentation in a few
4856         places, and add the Since keyword to new API functions.
4857         Use g_list_delete_link instead of g_list_remove in
4858         gst_check_drop_buffers, since it's immeasurably more efficient.
4859
4860         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4861         Use new gst_check_drop_buffers function where appropriate.
4862
4863         * win32/common/libgstbase.def:
4864         * win32/common/libgstreamer.def:
4865         Add new symbols gst_collect_pads_take_buffer, 
4866         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4867         exports
4868
4869         Changelog surgery to add API keyword to new gst_check API.
4870
4871 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4872
4873         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4874         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4875         Update pre-generated flex files with flex 2.3.34.
4876
4877 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4878
4879         * gst/gstminiobject.c:
4880           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4881           friendly to subclasses and not require them to know all internals
4882           of their parent class.
4883
4884 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4885
4886         * docs/libs/gstreamer-libs-sections.txt:
4887         * libs/gst/base/gstcollectpads.c:
4888         * libs/gst/base/gstcollectpads.h:
4889           Add sub-buffer functions to collectpads. Fixes #516187.
4890           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4891
4892 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4893
4894         * gst/gstbuffer.c:
4895           Copy selected buffer-flags when creating subbuffers.
4896           Fixes #516395.
4897
4898 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4899
4900         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4901         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4902         * gst/gstmessage.c: (gst_message_class_init),
4903         (gst_message_finalize):
4904         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4905         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4906         (gst_mmap_buffer_finalize):
4907         Properly chain up finalize functions to the parent class.
4908
4909 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4910
4911         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4912
4913         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4914         (gst_index_set_resolver_full):
4915         * gst/gstindex.h:
4916         Add new function with option to dispose of user_data in resolver.
4917         Actually call the dispose function when finalizing the object and not
4918         just when changing the resolver/filter.
4919         API: GstIndex::gst_index_set_resolver_full()
4920
4921         * docs/gst/gstreamer-sections.txt:
4922         Add new function to docs. Fixes #515469.
4923
4924 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4925
4926         * gst/gstindex.c: (gst_index_finalize):
4927         Chain up finalize to the parent class. Fixes leaking the GstObject
4928         name and other things.
4929
4930 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4931
4932         * configure.ac:
4933         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4934         pre-releases or releases.
4935
4936         * docs/faq/gst-uninstalled:
4937         Add gst-plugins-gl
4938
4939         * docs/random/release:
4940         Change one of the steps - we only upload core & base to Gnome FTP
4941
4942 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4943
4944         * gst/gstconfig.h.in:
4945           Add 'id' for example.
4946
4947         * gst/gstpad.c:
4948         * gst/gstutils.c:
4949         * plugins/elements/gstfdsink.c:
4950           Link to signals. Doc and comment fixes.
4951
4952 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4953
4954         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4955         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4956           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4957           unused and unimplemented; finally, it is plugin features, not
4958           plugins, that have ranks.
4959           
4960 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4961
4962         * gst/gstpluginfeature.h:
4963           Clarify GstRank range docs.
4964
4965 2008-02-05  David Schleef  <ds@schleef.org>
4966
4967         * gst/gst.c: Add a separate gst_deinitialized that prevents
4968           gst_init() from being called after gst_deinit().  Fixes #509559
4969
4970 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4971
4972         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4973         (gst_bin_class_init):
4974         * gst/gstelement.c: (gst_element_base_class_init),
4975         (gst_element_class_add_pad_template):
4976         * gst/gstpadtemplate.c: (gst_pad_template_init):
4977         * gst/gstpipeline.c: (gst_pipeline_get_type),
4978         (gst_pipeline_base_init), (gst_pipeline_class_init):
4979         * libs/gst/base/gstbasesink.c:
4980         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4981         (gst_base_src_base_init), (gst_base_src_class_init):
4982         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4983         (gst_capsfilter_class_init):
4984         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4985         (gst_fake_sink_class_init):
4986         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4987         (gst_fake_src_class_init):
4988         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4989         (gst_fd_sink_class_init):
4990         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4991         (gst_fd_src_class_init):
4992         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4993         (gst_file_sink_class_init):
4994         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4995         (gst_file_src_class_init):
4996         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4997         (gst_identity_class_init):
4998         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4999         (gst_multi_queue_class_init):
5000         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5001         (gst_queue_class_init):
5002         * plugins/elements/gsttee.c: (gst_tee_base_init),
5003         (gst_tee_class_init):
5004         * plugins/elements/gsttypefindelement.c:
5005         (gst_type_find_element_base_init),
5006         (gst_type_find_element_class_init):
5007         * tests/check/gst/gstelement.c: (gst_element_suite):
5008         Revert previous changes to the behaviour of GstPadTemplates, etc
5009         and the possiblity to call them in class_init as it breaks too
5010         many elements. Reopens bug #491501.
5011
5012         Should be applied again for 0.11, thus added a few FIXME 0.11 at
5013         several places.
5014
5015 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
5016
5017         * tools/gst-launch.c:
5018         Dump one graph per pipeline state-change and state change name
5019         (if GST_DEBUG_DUMP_DOT_DIR is set).
5020
5021 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
5022
5023         * gst/gstpad.c:
5024         * tests/check/gst/gstpad.c:
5025         Be sure that we have a new copy of the caps and not
5026         reffed caps from a template
5027
5028 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
5029
5030         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5031         * gst/gstpipeline.c: (gst_pipeline_get_type),
5032         (gst_pipeline_class_init):
5033         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5034         (gst_base_sink_class_init):
5035         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
5036         (gst_base_src_class_init):
5037         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
5038         (gst_base_transform_class_init):
5039         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
5040         (gst_collect_pads_class_init):
5041         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
5042         * libs/gst/net/gstnettimeprovider.c:
5043         (gst_net_time_provider_base_init),
5044         (gst_net_time_provider_class_init):
5045         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
5046         (gst_capsfilter_class_init):
5047         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
5048         (gst_fake_sink_class_init):
5049         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
5050         (gst_fake_src_class_init):
5051         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
5052         (gst_fd_sink_class_init):
5053         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
5054         (gst_fd_src_class_init):
5055         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
5056         (gst_file_sink_class_init):
5057         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
5058         (gst_file_src_class_init):
5059         * plugins/elements/gstidentity.c: (gst_identity_base_init),
5060         (gst_identity_class_init):
5061         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5062         (gst_multi_queue_class_init):
5063         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5064         (gst_queue_class_init):
5065         * plugins/elements/gsttee.c: (gst_tee_base_init),
5066         (gst_tee_class_init):
5067         * plugins/elements/gsttypefindelement.c:
5068         (gst_type_find_element_base_init),
5069         (gst_type_find_element_class_init):
5070         Don't use base_init where not absolutely necessary. For example it's
5071         not necessary anymore for adding pad templates or setting element
5072         details.
5073
5074         Leave empty base_init functions in several places as GST_BOILERPLATE
5075         still defines and uses them.
5076
5077 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
5078
5079         * gst/gstelement.c: (gst_element_base_class_init),
5080         (gst_element_class_add_pad_template):
5081         * gst/gstpadtemplate.c:
5082         Make it possible (and recommended) to set element details and add
5083         pad templates in the class_init functions by copying the details/pad
5084         templates in GstElement's base_init.
5085
5086         Also make it possible to replace existing pad templates by adding
5087         a new one with the same name. This was done in a hackish fashion
5088         in same elements before already.
5089
5090         Don't reference pad templates that are added a second time. A
5091         new pad template has a refcount of one and is not floating anymore
5092         and to be owned by the element's class. Make this more explicit by
5093         mentioning it in the docs of gst_element_class_add_pad_template().
5094
5095         These changes are backwards compatible. Fixes bug #491501.
5096
5097         * tests/check/gst/gstelement.c:
5098         Add unit test for setting element details, adding pad templates and
5099         replacing them in a subclass.
5100
5101 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
5102
5103         * tools/gst-inspect.c: (print_interfaces),
5104         (print_element_properties_info), (print_pad_info),
5105         (print_signal_info), (print_element_info):
5106         Fix a few memory leaks.
5107
5108 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5109
5110         * docs/libs/gstreamer-libs-sections.txt:
5111         * libs/gst/check/gstcheck.c:
5112         * libs/gst/check/gstcheck.h:
5113         Add more functions for unit testing: gst_check_drop_buffers,
5114         gst_check_caps_equal, gst_check_element_push_buffer_list,
5115         gst_check_element_push_buffer
5116         API: gst_check_drop_buffers
5117         API: gst_check_caps_equal
5118         API: gst_check_element_push_buffer_list
5119         API: gst_check_element_push_buffer
5120
5121 2008-02-01  Julien Moutte  <julien@fluendo.com>
5122
5123         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
5124         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
5125         (gst_index_finalize), (gst_index_entry_free),
5126         (gst_index_add_association): Fix memory leaks.
5127         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
5128         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
5129         (gst_mem_index_free_format), (gst_mem_index_free_id),
5130         (gst_mem_index_finalize): Fix memory leaks.
5131         * win32/common/config.h: Updated to CVS HEAD.
5132
5133 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
5134
5135         * docs/README:
5136           Some more details about how the plugin docs works.
5137
5138         * docs/plugins/gstreamer-plugins-sections.txt:
5139           Whitespace cleanup.
5140
5141 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
5142
5143         * gst/parse/grammar.tab.pre.c:
5144         * gst/parse/grammar.tab.pre.h:
5145         * gst/parse/grammar.y:
5146         * gst/parse/lex._gst_parse_yy.pre.c:
5147           Add delayed set-property. This allows to set properties on dynamicaly
5148           created objects (pads in videomxer). Fixes #509391.
5149
5150 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5151
5152         * gst/gstutils.c:
5153         Check if caps are not NULL (fix bug #510194)
5154
5155 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5156
5157         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5158         (gst_base_sink_get_position_paused):
5159         Add fixme regarding EOS in pull mode.
5160         Fix position reporting in PAUSED for negative rates.
5161
5162 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5163
5164         * gst/gstminiobject.c: (gst_mini_object_replace):
5165         When replacing a miniobject, do a quick equality check first so that we
5166         can avoid a ref/unref pair.
5167
5168 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5169
5170         * docs/design/part-synchronisation.txt:
5171         Update some docs.
5172
5173         * docs/plugins/Makefile.am:
5174         * docs/plugins/gstreamer-plugins-docs.sgml:
5175         * docs/plugins/gstreamer-plugins-sections.txt:
5176         * plugins/elements/gstmultiqueue.c:
5177         Add multiqueue to the docs.
5178
5179 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5180
5181         * configure.ac:
5182           Back to CVS
5183
5184 === release 0.10.17 ===
5185
5186 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
5187
5188         * configure.ac:
5189           releasing 0.10.17, "Due Negligence"
5190
5191 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5192
5193         * gst/gstutils.c:
5194         Revert caps != NULL check temporarily for 0.10.17 release.
5195
5196 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5197
5198         * gst/gstutils.c:
5199         Check if caps are not NULL (fix bug #510194)
5200
5201 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5202
5203         * gst/gstutils.c:
5204         Fix compilation on systems that have posix timers but no
5205         monotonic clock.
5206         Fixes: #512715
5207         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5208         dot net>
5209
5210 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5211
5212         * tools/gst-inspect.c:
5213         Revert previous commit in preparation for an impromptu 0.10.17 release
5214
5215 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
5216
5217         * tools/gst-inspect.c: (print_interfaces),
5218         (print_element_properties_info), (print_pad_info),
5219         (print_signal_info), (print_element_info):
5220         Fix a few memory leaks.
5221
5222 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
5223
5224         * configure.ac:
5225         Back to CVS
5226
5227 === release 0.10.16 ===
5228
5229 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
5230
5231         * configure.ac:
5232           releasing 0.10.16, "Special Dispensation"
5233
5234 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
5235
5236         * configure.ac:
5237           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5238           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5239           not fail when trying to crosscompile on OpenEmbedded (#511750).
5240
5241 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
5242
5243         * docs/manuals.mak:
5244         Use $(MAKE) instead of make to fix the build if GNU make is
5245         called different. Fixes bug #510747.
5246
5247 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5248
5249         * gst/gstplugin.c: (_gst_plugin_initialize):
5250           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5251           again, which I broke two commits ago when changing the API
5252           of gst_plugin_register_static(): the g_list_foreach() in
5253           _gst_plugin_register_static still assumed the old function
5254           signature and would therefore fail (re-fixes #510187).
5255
5256         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5257           (_gst_plugin_register_static), (gst_plugin_register_static):
5258           Revert the (technically correct) change to call g_thread_init() from
5259           the pre-main() constructor. This will break programs which call
5260           g_thread_init() without an if (!g_thread_supported()) guard in their
5261           main function. We could just blame it on GLib or the application, but
5262           it's probably best to just avoid this altogether and simply not use
5263           any GLib functions here and use plain old malloc() with a simple
5264           array to store the plugins to register later when gst_init() is
5265           finally called (re-fixes #510187).
5266
5267         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5268           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5269           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5270           (GST_START_TEST), (gst_plugin_suite):
5271           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5272           works.
5273
5274 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5275
5276         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5277           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5278           This makes gtk-doc complain, but results in slightly better
5279           compiler errors. The old _gst_plugin_register_static() is
5280           still guarded, so there'll be a compiler warning about that
5281           instead. Fixes #510187 too.
5282
5283 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5284
5285         * gst/gst.c: (init_post):
5286         * gst/gstplugin.c: (_gst_plugin_register_static),
5287           (gst_plugin_register_static), (_gst_plugin_initialize):
5288         * gst/gstplugin.h: (GstPluginFilter):
5289           Change API of gst_plugin_register_static() to not take
5290           a GstPluginDesc, but rather just take all the arguments
5291           in a GstPluginDesc directly. This is more intuitive and
5292           avoids certain mistakes when porting code from
5293           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5294           Fixes #510187.
5295
5296         * tests/check/gst/gstplugin.c:
5297           Fix up for changed API.
5298
5299 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5300
5301         * docs/faq/legal.xml:
5302           Update FAQ, Totem actually has an exception these days.
5303
5304 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
5305
5306         * win32/common/libgstreamer.def:
5307         Add new API declarations
5308
5309 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5310
5311         * gst/gstminiobject.c:
5312           Spelling fixes for the API docs.
5313
5314 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5315
5316         * libs/gst/base/gstbasetransform.c:
5317           Fix long property description for QoS.
5318
5319 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
5320
5321         * gst/gst.c:
5322         _gst_trace_on is already provided by gsttrace.h, no need to declare
5323         it ourselves.
5324
5325         * docs/libs/gstreamer-libs-sections.txt:
5326         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5327         and remove strange tcase_add_test which is outputting a warning.
5328
5329         * libs/gst/check/gstcheck.c:
5330         * libs/gst/check/gstcheck.h:
5331         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5332         and define them in gstcheck.c instead of having every .c file whcih
5333         includes gstcheck.h be defining its own copy and relying on symbol
5334         interposing to marry them all, which doesn't work on Solaris.
5335
5336         * tests/check/elements/identity.c: (GST_START_TEST):
5337         Don't define 'buffers' locally, it comes from libgstcheck.
5338
5339         * tests/check/generic/sinks.c: (send_buffer):
5340         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5341
5342         * tests/check/gst/gststructure.c: (GST_START_TEST):
5343         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5344         * tests/check/gst/gstutils.c: (GST_START_TEST):
5345         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5346         Add a bunch of casts to make various constants fit the types
5347         they're being assigned to.
5348
5349 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
5350
5351         * gst/gstchildproxy.c:
5352           Improve docs and add some ideas for making this more general-purpose.
5353
5354 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5355
5356         * gst/gst_private.h: (GST_CAT_TYPES):
5357           Add GST_CAT_TYPES, for consistency, and so that the other
5358           debug categories don't make fun of it. Spotted by Saur on IRC.
5359
5360 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5361
5362         * gst/parse/Makefile.am:
5363           Move types.h from EXTRA_DIST to noinst_HEADERS.
5364
5365 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5366
5367         * autogen.sh:
5368           Add -Wno-portability to the automake parameters to stop warnings
5369           about GNU make extensions being used. We require GNU make in almost
5370           every Makefile anyway.
5371
5372         * configure.ac:
5373           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5374           at the same time is required for per target flags.
5375
5376 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5377
5378         * gst/gstmacros.h:
5379           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5380           __GNUC__ is defined before using it.
5381
5382 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5383
5384         * docs/gst/gstreamer-sections.txt:
5385         * gst/gst.c: (init_post):
5386         * gst/gstplugin.c: (_gst_plugin_register_static),
5387           (gst_plugin_register_static), (_gst_plugin_initialize),
5388           (gst_plugin_register_func):
5389         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5390           API: add gst_plugin_register_static() and deprecate
5391           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5392           (#498924).
5393           Also, in _gst_plugin_register_static(), make sure to call
5394           g_thread_init() before calling GLib functions such as
5395           g_list_append() if we're not initialised yet, since that
5396           may lead to random crashes with older GSlice/GLib versions.
5397
5398         * tests/check/gst/gstplugin.c:
5399           Adapt unit test to above changes.
5400
5401 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5402
5403         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5404         * gst/gstcaps.c: (gst_caps_to_string):
5405         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5406           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5407           Yet another gratuitous GString micro-optimisation: add a (private)
5408           function that serialises a structure appending to an existing
5409           GString, so that when we serialise caps we don't need to alloc+free
5410           a throwaway GString for each structure (each of which also entailing
5411           multiple reallocs on the way); also use g_string_sized_new() in
5412           various places with an approximate string length to avoid reallocs
5413           within GString. See #500143.
5414
5415 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5416
5417         * gst/gststructure.c: (gst_structure_id_set_value):
5418           Always check UTF-8 conformance of structure strings and not only
5419           if the debugging system is enabled; reasoning: the behaviour of
5420           the actual code shouldn't really change depending on whether the
5421           debugging system is enabled or not (#508291).
5422
5423 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5424
5425         * Makefile.am:
5426           Remove old coverage target in favour of "make lcov".
5427
5428 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5429
5430         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5431         (gst_base_src_loop):
5432         The start segment for reverse playback goes from start to last_stop.
5433
5434 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5435
5436         Patch by: Peter Kjellerstedt <pkj axis com>
5437
5438         * gst/gstclock.h:
5439         Cast the results from the timeval/spec_to_time macros to what the
5440         docs say it casts to, a GstClockTime. fixes #508175.
5441
5442 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5443
5444         * gst/gstbuffer.c:
5445         Update some comments.
5446
5447         * tools/gst-inspect.c: (print_element_properties_info):
5448         Improve printing of flags.
5449
5450 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5451
5452         * libs/gst/base/gstbasetransform.c:
5453           (gst_base_transform_transform_size):
5454           Print element name with g_warning() if there's a problem
5455           with the unit size.
5456
5457 2008-01-07  David Schleef  <ds@schleef.org>
5458
5459         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5460
5461         * libs/gst/controller/gstcontroller.h:
5462         * libs/gst/controller/gstcontrolsource.h:
5463         * libs/gst/controller/gstinterpolationcontrolsource.h:
5464         * libs/gst/controller/gstlfocontrolsource.h:
5465         * libs/gst/dataprotocol/dataprotocol.h:
5466           Fix empty prototypes.  Fixes bug #507957.
5467
5468 2008-01-07  David Schleef  <ds@schleef.org>
5469
5470         * docs/faq/dependencies.xml: Fix typo.
5471
5472 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5473
5474         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5475         (gst_base_src_loop):
5476         Don't update the last_stop position in do_seek, that's the position we
5477         did a seek to.
5478         Read backwards when we have a negative rate.
5479
5480         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5481         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5482         (filesrc_suite):
5483         Add check for reverse reading.
5484
5485 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5486
5487         Patch by: Alexis Ballier <aballier at gentoo org>
5488
5489         * tests/check/gst/gstabi.c:
5490         * tests/check/gst/struct_ppc64.h:
5491         * tests/check/libs/libsabi.c:
5492         * tests/check/libs/struct_ppc64.h:
5493           Decide which header to include based on the userland ABI target
5494           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5495           for 64-bit userland (#503590).  Might need something similar for
5496           x86 too.
5497
5498 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5499
5500         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5501           Log the reason why fopen fails in addition to the fact that it failed.
5502           
5503 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5504
5505         * gst/parse/parse.l:
5506         Use "%option never-interactive" to prevent useless calls to isatty()
5507         on every input when parsing. Also use "%option noinput" to not define
5508         the static input/yyinput functions which we don't use anyway. This
5509         removes a compiler warning with gcc 4.3 and saves some bytes in the
5510         library.
5511         
5512         * gst/parse/lex._gst_parse_yy.pre.c:
5513         Regenerated for the above change.
5514
5515 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5516
5517         * gst/gstpad.c: (fixate_value):
5518         Don't crash when trying to fixate and empty list.
5519         Fixes #506643.
5520
5521 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5522
5523         * docs/faq/gst-uninstalled:
5524         Clarify the comments to make the usage of this script and what it
5525         does easier to understand.
5526
5527 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5528
5529         * tools/gst-plot-timeline.py:
5530         Add more options to gst-plot-timeline
5531
5532 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5533
5534         * docs/design/part-synchronisation.txt:
5535         Some more info on how the stream_time in GstBaseSink is done.
5536
5537 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5538
5539         * tests/check/generic/sinks.c: (gst_sinks_suite):
5540           Put back the tcase_set_timeout(), apparently it's needed after
5541           all; fix it up in a way that makes things work with valgrind too.
5542
5543 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5544
5545         * gst/gstdebugutils.c:
5546           Add warning when failed to open file for writing.
5547
5548 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5549
5550         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5551
5552         * gst/gstvalue.c: (gst_value_is_fixed):
5553           Optimisation: bail out of the loop as early as possible (#500143).
5554
5555 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5556
5557         * gst/gstcaps.c: (gst_caps_to_string):
5558         * gst/gstinfo.c: (gst_debug_construct_term_color):
5559         * gst/gstparse.c: (gst_parse_launchv):
5560         * gst/gstutils.c: (gst_util_dump_mem):
5561         * gst/gstvalue.c: (gst_value_serialize_any_list),
5562           (gst_value_transform_any_list_string):
5563           Bunch of gratuitous nano-optimisations.
5564
5565 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5566
5567         * tests/check/generic/sinks.c: (async_done_func),
5568           (async_done_eos_func):
5569           Fix leak in unit test (bus sync handler must unref the message
5570           if it returns GST_BUS_DROP). Don't fiddle with the default test
5571           timeout, this is smaller than the current preconfigured value
5572           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5573           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5574
5575 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5576
5577         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5578
5579         * configure.ac:
5580         Check for stdio_ext.h for the filesink changes.
5581
5582         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5583         (gst_file_sink_class_init), (gst_file_sink_init),
5584         (gst_file_sink_dispose), (gst_file_sink_set_property),
5585         (gst_file_sink_get_property), (gst_file_sink_open_file),
5586         (gst_file_sink_close_file):
5587         * plugins/elements/gstfilesink.h:
5588         Add two properties to control the buffering mode and size.
5589         API: GstFileSink::buffer-mode
5590         API: GstFileSink::buffer-size
5591         Fixes #500150.
5592
5593 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5594
5595         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5596         Add some more docs to explain why a FIXME was wrongly added. 
5597
5598 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5599
5600         * gst/gstobject.c:
5601           Fix typo in the gst_object_{ref,unref} documentation.
5602
5603 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5604
5605         * tests/check/libs/controller.c:
5606         * tests/check/libs/typefindhelper.c:
5607         * tests/check/pipelines/parse-launch.c:
5608           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5609           going to be deprecated (see #498924).
5610
5611 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5612
5613         * gst/gsttypefind.c: (gst_type_find_register):
5614           Make gst_type_find_register work for static typefind functions,
5615           ie. allow passing plugin == NULL (prerequisite for #498924).
5616
5617         * gst/gstelementfactory.c: (gst_element_register):
5618           Small docs addition.
5619
5620 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5621
5622         * gst/gstpad.c: (gst_pad_dispose):
5623         Really unlink the peer pad instead of setting the peer pointer to NULL
5624         when we dispose the pad.
5625         This correctly calls the unlink functions and makes sure that the peer
5626         does not have a handle to invalid memory. See #504671.
5627
5628         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5629         Add testsuite for above case.
5630
5631 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5632
5633         Patch by: Peter Kjellerstedt <pkj axis com>
5634
5635         * libs/gst/check/gstcheck.h:
5636           Fix detection of the check version we're compiling against (would
5637           otherwise break if check goes v0.10.0); correctly report the
5638           name of the failed test again in case of failure, instead of
5639           just 'tf' (fixes #504499).
5640
5641 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5642
5643         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5644         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5645         (gst_base_src_loop), (gst_base_src_set_flushing),
5646         (gst_base_src_change_state):
5647         Allow sending EOS to the source to make it send out an EOS event from
5648         the streaming thread.
5649         Update docs and deprecate the old NULL/READY shutdown method.
5650
5651         * tests/check/libs/basesrc.c: (GST_START_TEST),
5652         (gst_basesrc_suite):
5653         Add unit test for controlled shutdown.
5654
5655 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5656
5657         * docs/design/part-synchronisation.txt:
5658         Small updates.
5659
5660         * gst/gstsegment.c: (gst_segment_set_seek),
5661         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5662         (gst_segment_to_running_time):
5663         The seek format can be different from the segment format when the start
5664         and stop values are not to be updated, when we only do a rate change for
5665         example.
5666
5667         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5668         (gst_segment_suite):
5669         Add a testcase for the rate-only seeks, checking that the format is
5670         correctly ignored when start and stop are not updated.
5671
5672 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5673
5674         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5675
5676         * win32/vs8/grammar.vcproj:
5677         * win32/vs8/libgstcontroller.vcproj:
5678         * win32/vs8/libgstreamer.vcproj:
5679         Fix compilation with VS8 and include some missing files.
5680
5681 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5682
5683         * gst/gsttaglist.c:
5684           Small docs addition: mention that the strings returned by
5685           gst_tag_list_get_string*() are in UTF-8 encoding.
5686
5687 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5688
5689         * Makefile.am:
5690           The check-exports stuff moved to common/win32.mak, so include that.
5691
5692 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5693
5694         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5695         (gst_base_src_perform_seek), (gst_base_src_get_range),
5696         (gst_base_src_set_playing), (gst_base_src_change_state):
5697         Make _wait_playing() not check any variables so that we can call this
5698         function from subclasses. Move the checks elsewhere similar to
5699         _wait_preroll() in basesink.
5700         Add some debugging.
5701         Only signal the LIVE cond when we are going back to PLAYING.
5702
5703 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5704
5705         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5706           Use g_remove() and g_rename(). Check result of g_rename(), and
5707           don't leak the open file descriptor if we error out when writing.
5708
5709         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5710           Must check the return value of close() after writing out the new
5711           registry file.  Sometimes write problems such as out-of-diskspace
5712           are only reported when the file is closed and not already during
5713           the write.  This may have caused partial/broken registry files in
5714           some rare circumstances. Should fix #503675.
5715
5716 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5717
5718         * docs/gst/.cvsignore:
5719         * docs/libs/.cvsignore:
5720         * docs/plugins/.cvsignore:
5721         Ignore files generated by new common/* modifications
5722
5723 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5724
5725         * win32/common/libgstbase.def:
5726           Yes, you can also have a <TAB> if you want.
5727
5728 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5729
5730         * win32/common/libgstbase.def:
5731           Add new basetransform API to win export file.
5732
5733 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5734
5735         * tests/check/gst/gstbin.c:
5736           Adjust the test to the refcount change two days ago.
5737
5738 2007-12-14  David Schleef  <ds@schleef.org>
5739
5740         * docs/faq/getting.xml: Fix typo.
5741
5742 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5743
5744         * docs/libs/gstreamer-libs-sections.txt:
5745         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5746           (gst_base_transform_prepare_output_buffer),
5747           (gst_base_transform_set_gap_aware):
5748         * libs/gst/base/gstbasetransform.h:
5749           API: Add gst_base_transform_set_gap_aware() to control whether
5750           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5751           get buffers with this flag at all. Fixes #503231.
5752
5753 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5754
5755         * libs/gst/base/gstbasesink.c:
5756         * libs/gst/base/gstbasesrc.c:
5757         * libs/gst/base/gstbasetransform.c:
5758           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5759           thread. Correct log message in gstbasesrc.c.
5760
5761 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5762
5763         * gst/gstutils.c: (element_find_unconnected_pad):
5764           Fix possible compiler warning (#503417).
5765
5766 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5767
5768         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5769           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5770
5771 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5772
5773         * tools/gst-inspect.c: (print_element_properties_info):
5774           Add support for GstFraction properties.
5775
5776 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5777
5778         * Makefile.am:
5779           Add check-exports target and run it as part of 'make check'
5780           (see #499140 and #493983).
5781
5782         * gst/gst_private.h:
5783         * gst/gstelementfactory.h:
5784         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5785         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5786           (_priv_gst_in_valgrind):
5787         * gst/gstinfo.h: (GstLogFunction):
5788         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5789           (gst_type_find_register):
5790         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5791           (gst_type_find_factory_get_type):
5792         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5793           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5794           (gst_controller_new_valist), (gst_controller_new_list),
5795           (_gst_controller_dispose), (_gst_controller_class_init):
5796         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5797         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5798           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5799           (gst_object_get_controller), (gst_object_set_controller),
5800           (gst_object_suggest_next_sync), (gst_object_sync_values),
5801           (gst_object_set_control_source), (gst_object_get_control_source),
5802           (gst_object_get_value_arrays), (gst_object_get_value_array),
5803           (gst_object_get_control_rate), (gst_object_set_control_rate):
5804         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5805         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5806           Make some functions that should be static static; rename some
5807           private symbols so that they don't get exported; add some FIXME
5808           comments so we can move accidentally exported functions into
5809           our private section in 0.11.
5810
5811         * win32/common/libgstreamer.def:
5812           Add gst_utils_get_timestamp().
5813
5814 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5815
5816         * gst/gstvalue.c:
5817         * gst/gstvalue.h:
5818           Add more missing "Since:" tags to docs.
5819
5820 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5821
5822         * gst/gstutils.c:
5823           Add mising "Since:" to docs.
5824
5825 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5826
5827         * gst/gstplugin.c:
5828           Include "glib-compat-private.h" to fix the build on system with
5829           glib < 2.10. Fixes #503131.
5830
5831 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5832
5833         * gst/gstutils.c:
5834         * gst/gstutils.h:
5835           Actually its not PURE as it gets the time from elsewhere.
5836
5837 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5838
5839         * docs/gst/gstreamer-sections.txt:
5840         * gst/gstclock.h:
5841         * gst/gstdebugutils.c:
5842         * gst/gstinfo.c:
5843         * gst/gstutils.c:
5844         * gst/gstutils.h:
5845         * libs/gst/base/gstbasesink.c:
5846         * tools/gst-launch.c:
5847           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5848           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5849           Thanks Tim for spotting.
5850           API: gst_util_get_timestamp
5851
5852 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5853
5854         * configure.ac:
5855           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5856
5857 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5858
5859         * gst/gststructure.c: (gst_structure_validate_name),
5860           (gst_structure_new_valist), (gst_structure_parse_value),
5861           (gst_structure_from_string):
5862           Don't crash in _from_string() if the structure name is not valid
5863           (fixes #501560).  Allow structure names to start with a number
5864           again (this apparently broke the ubuntu codec installer).
5865
5866         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5867           (GST_START_TEST):
5868           Add unit test for the crash; update unit tests for new behaviour.
5869
5870 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5871
5872         * gst/gstutils.c:
5873         Clarify gst_element_get_compatible_pad() documentation.
5874         Fixes #500919.
5875
5876 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5877
5878         * tests/check/Makefile.am:
5879           Don't forget to dist {gst,libs}/struct_hppa.h.
5880
5881 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5882
5883         * libs/gst/base/gstbasesink.c:
5884           Use new API to get elapsed time.
5885
5886 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5887
5888         * gst/gstdebugutils.c:
5889         * gst/gstinfo.c:
5890           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5891
5892         * tools/gst-launch.c:
5893           Use new API to get elapsed time.
5894
5895 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5896
5897         * docs/gst/gstreamer-sections.txt:
5898         * gst/gstclock.h:
5899         * gst/gstdebugutils.c:
5900         * gst/gstinfo.c:
5901           Rename new API + ChangeLog surgery to remove old name from last entry..
5902
5903 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5904
5905         * docs/gst/gstreamer-sections.txt:
5906         * gst/gstclock.h:
5907         * gst/gstdebugutils.c:
5908         * gst/gstinfo.c:
5909           Now hide the different clock stuff behind a macro.
5910
5911 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5912
5913         * configure.ac:
5914         * gst/gstdebugutils.c:
5915         * gst/gstinfo.c:
5916           Apply the posix-timer check from #361155. Conditionally use the posix
5917           timer for logging. This gives better timestamp precission, less
5918           overhead and no ntp jitter.
5919
5920 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5921
5922         * gst/gstminiobject.c: (gst_mini_object_get_type),
5923         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5924         (gst_mini_object_finalize), (gst_mini_object_copy),
5925         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5926         (gst_mini_object_replace), (param_mini_object_validate),
5927         (gst_param_spec_mini_object_get_type):
5928         Some cleanup and checking against invalid function parameters.
5929
5930 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5931
5932         * docs/gst/gstreamer-sections.txt:
5933         * gst/gstclock.h:
5934         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5935         (gst_systemclock_suite):
5936         Start merging in the easy bits of #361155, the monotonic clock patch.
5937         This one adds a few handy macros with docs and a testsuite.
5938
5939 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5940
5941         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5942         Be a bit smarter when seeking, like, don't try to do a seek when it's
5943         not needed. This avoids errors when the file is not seekable.
5944         Fixes #499771.
5945
5946 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5947
5948         * docs/gst/gstreamer-docs.sgml:
5949         * docs/gst/gstreamer-sections.txt:
5950         * docs/gst/gstreamer.types.in:
5951         * gst/Makefile.am:
5952         * gst/gst.h:
5953         * gst/gstpreset.c:
5954         * gst/gstpreset.h:
5955         * plugins/elements/gstqueue.c:
5956           Due to popular request remove preset interface again. :-(.
5957
5958 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5959
5960         * tools/gst-inspect.c:
5961           Print 'default value' for enums and flags too.
5962
5963 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5964
5965         * docs/random/ensonic/profiling.txt:
5966           More ideas.
5967
5968         * gst/gstbin.c:
5969           Fix typo and give better log output.
5970
5971         * gst/gstdebugutils.c:
5972         * gst/gstdebugutils.h:
5973           More ideas, make graphs a bit smaller and fix param name in macro.
5974
5975 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5976
5977         * gst/gstpreset.c:
5978           Try harder to use the return value from fgets().
5979
5980 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5981
5982         * gst/gstpreset.c:
5983           For theses two fgets we handle the error below.
5984
5985 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5986
5987         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5988         Only send upstream events upstream. Fixes #498746.
5989
5990 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5991
5992         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5993
5994         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5995         (gst_identity_init), (gst_identity_transform_ip),
5996         (gst_identity_set_property), (gst_identity_get_property):
5997         * plugins/elements/gstidentity.h:
5998         Add property to disable handoff signal emission. Fixes #498694.
5999         API: GstIdentity::signal-handoffs
6000
6001 2007-11-21  Julien Moutte  <julien@fluendo.com>
6002
6003         * docs/faq/gst-uninstalled: Yet another missing library for the
6004         uninstalled script (fft)
6005
6006 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
6007
6008         * docs/faq/developing.xml:
6009         Add a question about how to submit new translations.
6010
6011         * docs/random/release:
6012         Update the contact email address for the Translation Project
6013
6014         * plugins/elements/gstfdsrc.c:
6015         The parent_class for fdsrc is pushsrc, not GstElement.
6016
6017 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
6018
6019         * gst/gstpreset.c:
6020           Plug a leak and fix saving.
6021
6022 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
6023
6024         * docs/gst/gstreamer-sections.txt:
6025         Add new gst_preset__get_property_names() function to the docs
6026         to fix the build.
6027
6028 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
6029
6030         * gst/gstpreset.c:
6031         * gst/gstpreset.h:
6032           Change _get_preset_names API to return a strv with copies. Add
6033           _get_property_names to allow implementations to filter and provide
6034           good default implementation.
6035
6036 2007-11-20  Julien MOUTTE  <julien@moutte.net>
6037
6038         * docs/faq/gst-uninstalled: Add another library to the uninstalled
6039         script (sdp).
6040
6041 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
6042
6043         * gst/gstpreset.c:
6044           More cleanups, docs, and TODOs from comments that now slowly come in.
6045
6046 2007-11-19  Julien MOUTTE  <julien@moutte.net>
6047
6048         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
6049         search path.
6050
6051 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
6052
6053         * gst/gstpreset.c:
6054           Fix bogus warning and make the property type specific code more
6055           similar.
6056
6057 2007-11-19  Julien MOUTTE  <julien@moutte.net>
6058
6059         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
6060         it build on OS X.
6061
6062 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
6063
6064         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6065         (gst_bin_add_func), (gst_bin_remove_func),
6066         (gst_bin_change_state_func), (gst_bin_continue_func):
6067         Change email, cleanups add some more debug and comments.
6068         Also set bus and clock on new elements when the pipeline was in error.
6069
6070 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
6071
6072         * gst/gstbin.c:
6073         * gst/gstdebugutils.c:
6074           Fix build with --disable-gst-debug. Fixes #497859.
6075           Spotted by Sameer Naik.
6076
6077 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6078
6079         * gst/gstevent.c:
6080           Little documentation improvment.
6081
6082         * gst/gstpreset.c:
6083           More TODO cleanups. Remove c++ comments.
6084
6085         * libs/gst/controller/gstcontroller.c:
6086           Add TODO and use quark from static string.
6087
6088         * tests/check/gst/gstmessage.c:
6089         * tests/check/gst/gststructure.c:
6090           Use quark from static string.
6091
6092 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6093
6094         * gst/gstpreset.c:
6095           Add some comments and TODOs.
6096
6097         * gst/gstpreset.h:
6098           Add padding for future changes.
6099
6100         * plugins/elements/gstqueue.c:
6101           Implement the iface.    
6102
6103 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6104
6105         * docs/gst/gstreamer-docs.sgml:
6106         * docs/gst/gstreamer-sections.txt:
6107         * docs/gst/gstreamer.types.in:
6108         * gst/Makefile.am:
6109         * gst/gst.h:
6110         * gst/gstpreset.c:
6111         * gst/gstpreset.h:
6112           Add the preset interface (Fixes #396779). Do some doc cleanups along.
6113
6114 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
6115
6116         * configure.ac:
6117
6118         Back to CVS
6119
6120 === release 0.10.15 ===
6121
6122 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
6123
6124         * configure.ac:
6125           releasing 0.10.15, "October"
6126
6127 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
6128
6129         * win32/vs6/libgstreamer.dsp:
6130         Convert line endings back to DOS.
6131
6132 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
6133
6134         * docs/design/draft-tagreading.txt:
6135         * docs/random/ensonic/profiling.txt:
6136         Update fast tagreading draft and performance profiling ideas.
6137
6138 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
6139
6140         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
6141         Don't hold the object lock when unreffing a buffer because it could
6142         cause a deadlock when the finalize function wants to grab the object
6143         lock too. Fixes #495133.
6144
6145 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
6146
6147         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6148         (gst_segment_to_stream_time), (gst_segment_to_running_time):
6149         Also accumulate time correctly when doing reverse playback. Fixes
6150         #488201,
6151         When converting to running and stream time, use default values for
6152         start/stop/time/accum when comparing different formats. Fixes #494245.
6153
6154         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6155         Do running/stream time in TIME format.
6156
6157         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6158         (gst_segment_suite):
6159         2 new unit tests for segment accumulation.
6160
6161 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
6162
6163         * gst/gst.c: (init_pre):
6164         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6165           (_gst_debug_bin_to_dot_file):
6166           Move getenv() back into gst_init, so everyone can live happily
6167           ever after. Make sure the symbol isn't exported though.
6168
6169 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6170
6171         Patch by: Sebastien Moutte  <sebastien moutte net>
6172
6173         * win32/common/gstenumtypes.c:
6174         * win32/common/gstenumtypes.h:
6175           Update enum types.
6176
6177         * win32/vs6/libgstreamer.dsp:
6178           Update vs6 project files (#494343).
6179
6180 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6181
6182         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6183         (gst_base_src_perform_seek), (gst_base_src_default_event),
6184         (gst_base_src_set_flushing), (gst_base_src_activate_push),
6185         (gst_base_src_activate_pull):
6186         Unify flushing code, remove some old unlock code that is no longer used.
6187         Take the streaming lock when seeking to avoid races. Fixes #492729.
6188         Added some more comments.
6189
6190 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6191
6192         * gst/gst.c: (_gst_disable_segtrap):
6193           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
6194           we can use gst_segtrap_is_enabled() there now that we have that API.
6195           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6196           to do the getenv here (and export the variable).
6197
6198         * gst/gstdebugutils.c: (debug_dump_element),
6199           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6200           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6201
6202         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6203           (gst_debug_log_default):
6204           Rename _gst_info_start_time to priv_gst_info_start_time so it
6205           doesn't get exported (was never in any header).
6206
6207         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6208           (gst_plugin_loading_mutex):
6209           Make static mutex gst_plugin_loading_mutex really static (was never
6210           in any header), and use gst_segtrap_is_enabled() instead of
6211           _gst_disable_segtrap.
6212
6213         * gst/gsttrace.c: (_gst_trace_default):
6214           Make local _gst_trace_default static (was never in any header).
6215
6216 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6217
6218         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6219
6220         * win32/common/libgstbase.def:
6221         * win32/common/libgstcontroller.def:
6222         * win32/common/libgstdataprotocol.def:
6223         * win32/common/libgstnet.def:
6224         * win32/common/libgstreamer.def:
6225           Add more missing symbols, remove some duplicates, and sort
6226           as the 'sort' command sorts it (partially fixes #493983).
6227
6228 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6229
6230         * gst/gstelement.c: (gst_element_set_state_func):
6231         Only change the state cookie if a different state was set on the
6232         element. See #492729.
6233
6234 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6235
6236         * gst/gstvalue.c:
6237           Remove unused and uninitialised type variables that were still
6238           exported for some reason (they were never in any header files
6239           though).
6240
6241 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6242
6243         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6244         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6245         (gst_base_sink_event), (gst_base_sink_get_position_last),
6246         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6247         (gst_base_sink_change_state):
6248         Don't try to report a 0 position when we don't know, return -1 and FALSE
6249         instead. This mostly happens when we are prerolling.
6250         Make sure we can report the right position before we post the ASYNC_DONE
6251         message so that a message handler can query position without races.
6252
6253         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6254         (async_done_handoff), (async_done_func), (send_buffer),
6255         (async_done_eos_func), (gst_sinks_suite):
6256         Add two tests for the above.
6257
6258 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6259
6260         * MAINTAINERS:
6261         Update with new email address.
6262
6263         * docs/design/part-TODO.txt:
6264         Add some more info about future pad-block and negotiation changes.
6265
6266         * docs/design/part-buffering.txt:
6267         Add some ideas about buffering reporting.
6268
6269 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
6270
6271         * tests/check/gst/gstobject.c:
6272         Disable silly racy test that always fails on this combination of CPU
6273         and kernel.
6274
6275 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
6276
6277         Patch by: Murray Cumming  <murrayc@murrayc.com>
6278
6279         * gst/gstobject.c:
6280           Corrected the registration of the parent-set and parent-unset
6281           signals: The parameter is a GstObject, not a GObject (#493134).
6282
6283 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6284
6285         * gst/gst_private.h:
6286         * gst/gstbuffer.h:
6287         * gst/gstevent.h:
6288         * gst/gstformat.h:
6289         * gst/gstmessage.h:
6290         * gst/gstplugin.h:
6291         * gst/gstquery.h:
6292         * gst/gsttaglist.h:
6293         * gst/gstvalue.h:
6294           Move declaration of private _gst_foo_initialize() functions into
6295           our private header file where they should have been all along.
6296
6297 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6298
6299         * docs/plugins/gstreamer-plugins-sections.txt:
6300         * gst/gstdebugutils.h:
6301         * gst/gstxml.h:
6302         * plugins/elements/gstqueue.c:
6303           gtk-doc fixes; trailing-comma-in-enum fix.
6304
6305 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6306
6307         * gst/gst.c: (gst_deinit):
6308           Clean up on deinit (not the external ones though, doesn't seem to be
6309           needed for some reason).
6310
6311 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6312
6313         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6314           Remove __declspec(dllimport) for MSVC that was copied over into core
6315           from a plugin, obviously without ever having been tested (note the
6316           single underscore in _declspec in the initial commit), and that doesn't
6317           really make sense.  See #492077.
6318
6319 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6320
6321         * gst/gst.c: (init_post):
6322         * gst/gstevent.c: (_gst_event_initialize):
6323         * gst/gstquery.c: (_gst_query_initialize):
6324         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6325           g_type_class_ref() other types as well, see #349410 and #64764.
6326
6327         * gst/gstbuffer.c: (_gst_buffer_initialize):
6328         * gst/gstmessage.c: (_gst_message_initialize):
6329           Simplify existing g_type_class_ref().
6330
6331 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6332
6333         * gst/gstformat.c: (_gst_format_initialize):
6334           g_type_class_ref() our GstFormat type to make sure we avoid the
6335           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6336           bug #64764. Should fix intermittent tee unit test failures (#474823).
6337
6338 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6339
6340         * tests/check/elements/tee.c: (test_num_buffers):
6341           Simplify, simplify, simplify - or not.  Rewrite unit test
6342           not to use gst_parse_launch(); allow N sub-streams. Increasing
6343           the number of sub-streams seems to reproduce #474823 more easily.
6344
6345 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6346
6347         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6348
6349         * gst/gsttrace.c:
6350         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6351         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6352         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6353           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6354           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6355           so use _pipe() directly (#492077).
6356
6357         * win32/common/dirent.c: (_treaddir):
6358           Add a couple of casts to make it build without warnings with MSVC.
6359
6360         * win32/common/libgstreamer.def:
6361           Add some more symbols that need to be exported.
6362
6363 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6364
6365         * tests/examples/metadata/read-metadata.c: (message_loop):
6366           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6367           arriving in a second or third tag message are added to
6368           the tag list as well.
6369
6370 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
6371
6372         * libs/gst/base/gstbasesrc.c:
6373           Its "Since:" and not "@Since:". And remove an superflous cast.
6374
6375 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
6376
6377         * docs/libs/gstreamer-libs-sections.txt:
6378         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6379         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6380         (gst_base_sink_get_property), (gst_base_sink_render_object),
6381         (gst_base_sink_preroll_object),
6382         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6383         (gst_base_sink_change_state):
6384         * libs/gst/base/gstbasesink.h:
6385         Add a new last-buffer property that contains the last buffer used in
6386         basesink for preroll or rendering. useful for making snapshots.
6387         API: gst_base_sink_get_last_buffer()
6388         API: GstBaseSink::last-buffer
6389
6390 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6391
6392         * docs/gst/running.xml:
6393         * gst/gst.c:
6394         * gst/gstdebugutils.c:
6395         * gst/gstdebugutils.h:
6396         * tools/gst-launch.c:
6397           Improve bin graph dumping, by using the envvar to specify a path.
6398           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6399
6400 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6401
6402         * plugins/elements/gsttypefindelement.c:
6403           (gst_type_find_element_handle_event),
6404           (gst_type_find_element_activate):
6405           Post special error message if we can't determine the type of a stream
6406           because it's empty.
6407
6408 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6409
6410         * docs/gst/running.xml:
6411         * gst/gstdebugutils.c:
6412           Document new env-var. Add one log-line after dumpng a graph.
6413
6414 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6415
6416         * configure.ac:
6417           Ugly hack to put the (recently removed and non-portable, apparently)
6418           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6419           GNU ld, because without that 'make check' fails miserably on my debian
6420           stable box.  Someone with more knowledge of linker intricacies and
6421           portability issues than me fix this properly please.
6422
6423 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6424
6425         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6426         Reset last seen position after flushing so that we don't report the old
6427         position anymore.
6428
6429 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6430
6431         * gst/gstelementfactory.c: (gst_element_register):
6432         * gst/gsturi.h:
6433         Patch from Alessandro Decina adding get_type_full and
6434         get_protocols_full private vfuncs to the URIHandler interface
6435         to allow bindings to support creating URI handlers. 
6436         Partially fixes: #339279
6437         API: GstURIHandlerInterface::get_type_full
6438         API: GstURIHandlerInterface::get_protocols_full
6439
6440 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6441
6442         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6443         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6444         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6445         Make it so that pads are considered linked until a buffer is pushed
6446         and discovered otherwise. This avoids problems with decodebin2 hanging
6447         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6448         case.
6449
6450         Make sure we lock the multiqueue when updating the max-size properties.
6451         
6452         Fix a crash on Solaris in a debug statement in get_request_pad that
6453         passes a NULL string to GST_DEBUG. 
6454
6455         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6456         (run_output_order_test):
6457         Fix the test to allow the first buffer on not-linked pads to come out
6458         of sequence while multiqueue discovers that they are not-linked.
6459
6460 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6461
6462         * configure.ac:
6463         * libs/gst/check/Makefile.am:
6464         Use a custom export symbol regex for libgstcheck, as it needs
6465         to export symbols that don't match the standard GStreamer gst_*
6466         pattern, and  --export-dynamic is not portable (only works on 
6467         GNU ld)
6468
6469         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6470         (gst_check_setup_sink_pad):
6471         Make sure to pass a message parameter to the fail_* macros.
6472
6473         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6474         Fix some compiler warnings.
6475
6476 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6477
6478         * tests/check/gst/gststructure.c: (test_to_string):
6479           Disable test that checks that white spaces are not allowed
6480           in structure names or field names, since we need to
6481           support that for now for backwards compatibility reasons.
6482
6483 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6484
6485         * docs/gst/gstreamer-sections.txt:
6486         * gst/gsttaglist.c:
6487         * gst/gsttaglist.h:
6488           API: add GST_TAG_ARTIST_SORTNAME
6489           API: add GST_TAG_ALBUM_SORTNAME
6490           API: add GST_TAG_TITLE_SORTNAME
6491           Add tag variants for sorting (#414539).
6492
6493 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6494
6495         * gst/gststructure.c:
6496           Also allow white space for names so we don't break
6497           backwards compatibility.
6498
6499 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6500
6501         * docs/design/part-TODO.txt:
6502         * docs/design/part-segments.txt:
6503         * docs/design/part-streams.txt:
6504         Small updates.
6505
6506 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6507
6508         * docs/gst/gstreamer-sections.txt:
6509          Fixed documentation from my previous commit (added new API add
6510          gst_value_set_structure(), add gst_value_get_structure() and
6511          GST_VALUE_HOLDS_STRUCTURE).
6512
6513 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6514
6515         * gst/gstdebugutils.c:
6516           Reflow code to fix uninitialized variable warning.
6517
6518 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6519
6520         * gst/gstcaps.c: (gst_caps_to_string),
6521         (gst_caps_from_string_inplace):
6522         * gst/gststructure.c: (gst_structure_get_abbrs),
6523         (gst_structure_to_string), (gst_structure_from_string):
6524         * gst/gstvalue.c: (gst_value_set_structure),
6525         (gst_value_get_structure), (gst_value_serialize_structure),
6526         (gst_value_deserialize_structure), (_gst_value_initialize):
6527         * gst/gstvalue.h:
6528         * tests/check/gst/gststructure.c: (GST_START_TEST),
6529         (gst_structure_suite):
6530         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6531          Added GstStructure to gst_value_table and its related functions.
6532          Changed gst_structure_to_string to print ';' in the end.
6533          Changed gst_caps_to_string to not print ';' beteween its
6534          fields (structures) anymore and remove the lastes ';' from latest
6535          structure. Now it is possible to have nested structures.
6536          In addition, backward compatibilty is assured by accepting '\0' as
6537          end delimiter. Fixes: #487969.
6538          API: add gst_value_set_structure()
6539          API: add gst_value_get_structure()
6540          API: add GST_VALUE_HOLDS_STRUCTURE
6541
6542 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6543
6544         * gst/gstbus.c:
6545           When no GSource callback has been set up, tell developer
6546           to use a function that actually exists.
6547
6548 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6549
6550         * docs/gst/gstreamer-sections.txt:
6551         * gst/Makefile.am:
6552         * gst/gst.c:
6553         * gst/gst.h:
6554         * gst/gstdebugutils.c:
6555         * gst/gstdebugutils.h:
6556         * gst/gstinfo.c:
6557         * gst/gstinfo.h:
6558         * tools/gst-launch.c:
6559           Allow dumping pipelines as dot graphs. Fixes #456573.
6560
6561 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6562
6563         * gst/gststructure.c:
6564           Allow '+' as well, it can be part of media or mime types
6565           such as image/svg+xml.
6566
6567 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6568
6569         * docs/gst/gstreamer-sections.txt:
6570         * gst/gstbus.c:
6571         * gst/gstbus.h:
6572           API: add gst_bus_pop_filtered
6573           API: add gst_bus_timed_pop_filtered
6574           Two new functions for waiting for specific message types on the
6575           bus for a specified amount of time without iterating any main
6576           loops or main contexts.
6577
6578         * tests/check/gst/gstbus.c:
6579           Some tests for the new functions.
6580
6581 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6582
6583         * docs/libs/gstreamer-libs-sections.txt:
6584           Make gtk-doc ignore stuff it should ignore.
6585
6586 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6587
6588         * libs/gst/check/gstcheck.c:
6589         * libs/gst/check/gstcheck.h:
6590           Allow runtime selection of unit tests to run via the GST_CHECKS
6591           environment variable (test case function names, comma-separated).
6592
6593 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6594
6595         * gst/gststructure.c:
6596         * tests/check/gst/gststructure.c:
6597           Revert serialisation change and constrain structure-names after
6598           consensus on irc. Update api documentation to reflect the change.
6599
6600 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6601
6602         * gst/gststructure.c:
6603           Improve serialization and fix tests.
6604
6605         * tests/check/gst/gststructure.c:
6606           Add another test that covers why I actually did the previous structure
6607           change.
6608
6609 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6610
6611         * tools/gst-inspect.c: (print_element_info):
6612         Don't crash when inspecting an element.
6613
6614 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6615
6616         * tests/check/gst/gststructure.c:
6617           Add unit test for escaping of structure name when serialising
6618           and deserialising to/from strings.
6619
6620 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6621
6622         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6623         (gst_single_queue_new):
6624         * plugins/elements/gstqueue.c: (gst_queue_init),
6625         (gst_queue_push_one):
6626         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6627         upstream is tricked into thinking it can suggest a format downstream
6628         while downstream does not support that format. The real problem is that
6629         core calls acceptcaps when pushing a buffer with new caps, for which we
6630         do a little workaround by setting the caps on the srcpad ourselves
6631         before pushing the buffer (until this is figured out). Fixes #486758.
6632
6633 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6634
6635         * gst/gststructure.c:
6636         * gst/gstvalue.c:
6637           Add some more comments and debug output. Quote structure name to fix
6638           deserialisation of some strings.
6639
6640 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6641
6642         * gst/gstbuffer.h:
6643           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6644           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6645
6646 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6647
6648         * tools/gst-inspect.c:
6649           Save approx. 400 1 byte allocs when printing. Use API to acces element
6650           details.
6651
6652         * tools/gst-run.c:
6653           Avoid a strdup.
6654
6655         * tools/gst-xmlinspect.c:
6656           Use API to acces element details.
6657
6658 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6659
6660         * gst/gstinfo.c:
6661           Fix some spelling errors.
6662
6663 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6664
6665         * gst/gstbin.c: (bin_handle_async_done):
6666         Correctly set the next state if all of our async children commited their
6667         state. This makes sure we can actually cancel the state change in
6668         progress. Fixes a regression in Rhythmbox when seeking.
6669
6670 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6671
6672         * gst/gstbin.c:
6673           Don't shadow local variable.
6674
6675         * gst/gstinfo.c:
6676           Don't shadow global function name.
6677
6678 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6679
6680         * gst/gstelementfactory.c:
6681         * gst/gstpluginfeature.c:
6682         * gst/gstpluginfeature.h:
6683         * gst/gstregistrybinary.c:
6684         * gst/gstregistryxml.c:
6685         * gst/gsttypefind.c:
6686           Use already-interned string for the private GstPluginFeature
6687           plugin_name field.
6688
6689 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6690
6691         * docs/libs/gstreamer-libs-sections.txt:
6692           Add new API to docs; fixes the build.
6693
6694 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6695         
6696         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6697
6698         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6699         (gst_base_sink_event):
6700         * libs/gst/base/gstbasesink.h:
6701         Add function to wait for EOS, subclasses can use this to correctly wait
6702         for devices to drain before performing the EOS logic. Fixes #485343.
6703         API: gst_base_sink_wait_eos()
6704
6705 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6706
6707         * gst/gstplugin.h:
6708           Cast description string constants in GST_PLUGIN_DEFINE macros
6709           to a (gchar*) to make C++ code using these macros compile
6710           without warning with g++-4.2 (see #462737).  Even if slightly
6711           ugly, this seems preferable to putting the description strings
6712           into the GLib quark table or making the structure member a
6713           const gchar * and doing casts in core code that allocs and
6714           frees these strings, or requiring a cast in the C++ code.
6715
6716 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6717
6718         * gst/gstinfo.h:
6719           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6720           to print the entire class/function signature into the log
6721           file for C++ code.  This only affects C++ code, for C code
6722           everything remains the same.
6723
6724 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6725
6726         * gst/gstbin.c: (remove_from_queue):
6727         Work around a problem with pipelines containing (semi)loops until a
6728         proper, more complicated solution is ready. See #475455.
6729
6730 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6731
6732         * gst/gstplugin.c:
6733         * gst/gstplugin.h:
6734         * gst/gstregistrybinary.c:
6735         * gst/gstregistryxml.c:
6736           Put more strings into the GLib quark table. No need to keep
6737           a hundred-something copies of identical version strings,
6738           license strings, package name strings and package origin
6739           strings around. 
6740
6741 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6742
6743         * docs/manual/advanced-dataaccess.xml:
6744           Don't imply that it's okay to unconditionally change
6745           buffer data or buffer metadata in a pad probe callback,
6746           and a bunch of other comments. Fixes #430031.
6747
6748 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6749
6750         * win32/common/gstenumtypes.c:
6751         * win32/common/gstenumtypes.h:
6752         * win32/common/gstversion.h:
6753           Update generated files.
6754
6755 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6756
6757         * docs/manual/advanced-autoplugging.xml:
6758           Prefix section with broken code with a warning (see #342432).
6759
6760 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6761
6762         * docs/manual/appendix-integration.xml:
6763         * docs/manual/basics-init.xml:
6764           Call g_thread_init() before g_option_context_new() to
6765           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6766
6767 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6768
6769         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6770         (gst_base_sink_queue_object_unlocked),
6771         (gst_base_sink_queue_object), (gst_base_sink_event),
6772         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6773         When we received EOS and are waiting for when to post the EOS message,
6774         our state is prerolled and we should not return ASYNC.
6775         Reorganize some code paths to implement this behavior.
6776
6777         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6778         (gst_sinks_suite):
6779         Add unit test to verify above EOS fix.
6780
6781 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6782
6783         * plugins/elements/gsttypefindelement.c:
6784         (gst_type_find_element_have_type), (gst_type_find_element_init),
6785         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6786         Move detecting the input caps of the sinkpad to the setcaps function.
6787         This allows us to update the output caps when we receive new input caps
6788         instead of always using the first detected caps.
6789
6790 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6791
6792         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6793         (gst_base_sink_get_position):
6794         Don't try to preroll non-async elements after a flush.
6795         Subtract latency form clock times when reporting position.
6796
6797 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6798
6799         * gst/gstpad.c: (gst_pad_pause_task):
6800         * gst/gstutils.c:
6801         Small comment and documentation update.
6802
6803 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6804
6805         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6806         (gst_base_src_set_live), (gst_base_src_is_live),
6807         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6808         (gst_base_src_default_event), (gst_base_src_wait),
6809         (gst_base_src_do_sync), (gst_base_src_get_range),
6810         (gst_base_src_pad_get_range), (gst_base_src_loop),
6811         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6812         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6813         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6814         (gst_base_src_change_state):
6815         Rework the locking of basesrc in a similar fashion to basesink. We
6816         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6817         us to handle live sources and semi live ones much better.
6818         Simplify flushing.
6819         Fix unlocking when seeking, shutting down and pausing in live sources.
6820
6821 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6822
6823         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6824         Fix compilation again.
6825
6826 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6827
6828         * gst/gstelement.c:
6829           Use meaningful categories for the logs to clean the default one.
6830
6831 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6832
6833         * tests/check/pipelines/cleanup.c:
6834           Print message name and not just number.
6835
6836 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6837
6838         * docs/design/draft-tagreading.txt:
6839           Add some more thoughts.
6840
6841 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6842
6843         * tests/check/pipelines/simple-launch-lines.c:
6844           Print message name and not just number.
6845
6846 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6847
6848         * libs/gst/base/gsttypefindhelper.c:
6849           Speedup typefinding. This is work in progress (see #459862).
6850
6851 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6852
6853         * gst/gstplugin.c:
6854           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6855           Spotted by Josep Torra Valles <josep@fluendo.com>.
6856
6857 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6858
6859         * gst/gstclock.h:
6860           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6861           field has moved to GstObject.
6862
6863 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6864
6865         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6866         (gst_base_src_get_range), (gst_base_src_change_state):
6867         Call unlock for live sources so that they can't get stuck in _create and
6868         produce a buffer before they are set back to PLAYING.
6869
6870 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6871
6872         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6873         (gst_queue_locked_dequeue):
6874         Comment the segment-related code... in the PROPER function.
6875         See #482147 and my commit from yesterday.
6876
6877 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6878
6879         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6880         Also initialize the counter that calculates the first timestamp on a
6881         buffer correctly for non-live sources.
6882
6883 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6884
6885         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6886         Disable code that's breaking the current-time-level reporting.
6887         See #482147
6888
6889 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6890
6891         * docs/gst/gstreamer-sections.txt:
6892         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6893         as they shouldn't show up. Fixes the docs build.
6894
6895 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6896         
6897         * gst/gstinfo.h:
6898         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6899         Define M_PI which is used in files which are including gstinfo.h. 
6900         VS6 includes doesn't define it.
6901         * win32/common/libgstbase.def:
6902         * win32/common/libgstcontroller.def:
6903         * win32/common/libgstreamer.def:
6904         Add new exported functions and variables.
6905         * win32/vs6/libgstcontroller.dsp:
6906         * win32/vs6/libgstreamer.dsp:
6907         Update the list of files to build.
6908         
6909 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6910
6911         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6912
6913         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6914         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6915         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6916         Improve debugging. Fixes #480858.
6917
6918 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6919
6920         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6921
6922         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6923         First patch of code cleanups, use the macros and right arguments in the
6924         macros to signal and lock the queue. See #480858.
6925
6926 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6927
6928         * gst/gstbus.c: (poll_func):
6929         Improve debugging when dealing with _poll().
6930
6931 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6932
6933         * gst/gstregistryxml.c:
6934           Fix memory leak I introduced a few days ago.
6935
6936 2007-09-26  Michael Smith <msmith@fluendo.com>
6937
6938         * gst/gstbuffer.c: (gst_buffer_finalize):
6939           Make it once again possible to free GstBuffers in the default
6940           build.
6941           The poisoning scribbles on parts of the miniobject we need in
6942           order to free it.
6943           Fixes #480341
6944
6945 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6946
6947         * docs/gst/gstreamer-sections.txt:
6948         * gst/gsttaglist.c:
6949         * gst/gsttaglist.h:
6950         API: add GST_TAG_COMPOSER, fixes #459809.
6951
6952 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6953
6954         * gst/gstplugin.c:
6955         * gst/gstplugin.h:
6956         Add the 3-clause BSD license and the MIT/X11 license to the license
6957         list. Fixes #479784.
6958
6959 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6960
6961         * docs/faq/getting.xml:
6962           Add Q+A about different GStreamer versions (#364056).
6963
6964 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6965
6966         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6967         (gst_base_sink_event), (gst_base_sink_change_state):
6968         Return correct gboolean from query function.
6969
6970 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6971
6972         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6973         (gst_base_sink_event), (gst_base_sink_query),
6974         (gst_base_sink_change_state):
6975         Simplify latency query.
6976         When not synchronizing, we can report latency without querying the peer
6977         element.
6978
6979 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6980
6981         * gst/gstobject.h:
6982         * gst/gstvalue.c:
6983         Fix small typos in the docs.
6984
6985 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6986
6987         * docs/design/draft-latency.txt:
6988         * docs/design/draft-push-pull.txt:
6989         * docs/design/draft-tagreading.txt:
6990         * docs/design/part-MT-refcounting.txt:
6991         * docs/design/part-activation.txt:
6992         * docs/design/part-block.txt:
6993         * docs/design/part-element-source.txt:
6994         * docs/design/part-events.txt:
6995         * docs/design/part-gstbin.txt:
6996         * docs/design/part-gstelement.txt:
6997         * docs/design/part-gstobject.txt:
6998         * docs/design/part-gstpipeline.txt:
6999         * docs/design/part-messages.txt:
7000         * docs/design/part-preroll.txt:
7001         * docs/design/part-push-pull.txt:
7002         * docs/design/part-qos.txt:
7003         * docs/design/part-query.txt:
7004         * docs/design/part-scheduling.txt:
7005         * docs/design/part-seeking.txt:
7006         * docs/design/part-segments.txt:
7007         * docs/design/part-states.txt:
7008         Documentation updates and typo fixes.
7009
7010 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
7011
7012         * plugins/elements/gstfakesink.c:
7013           Add some debug text to error message to indicate that
7014           we errored out on request.
7015
7016         * tools/gst-launch.c:
7017           When the state change to PLAYING fails, check for an
7018           error message on the bus and print it.
7019
7020 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7021
7022         translated by: Jorge González González <aloriel@gmail.com>
7023
7024         * po/LINGUAS:
7025         * po/es.po:
7026           Added Spanish translation.
7027
7028 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
7029
7030         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7031         Fix printf arguments.
7032
7033 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
7034
7035         * tests/check/generic/states.c:
7036           Improved state change unit test.
7037
7038 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
7039
7040         * gst/gstbin.h:
7041           Move priv to the right place.
7042
7043         * gst/gstsystemclock.c:
7044           Add FIXME: and improve log.
7045
7046         * tests/check/Makefile.am:
7047         * tests/examples/manual/Makefile.am:
7048           Work with all types of registries.
7049
7050 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
7051
7052         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7053         Don't unref the event after pushing it. Fixes #478401.
7054
7055 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
7056
7057         * .cvsignore:
7058         * tests/examples/manual/.cvsignore:
7059           Ignore registries in any format.
7060
7061 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
7062
7063         * gst/glib-compat-private.h:
7064           Add compatibility macro for g_intern_string() for
7065           GLib-2.8 (any reason we can't just bump the
7066           requirement to at least 2.10?)
7067
7068         * gst/gstpadtemplate.h:
7069         * gst/gstelementfactory.c:
7070         * gst/gstregistryxml.c:
7071         * gst/gstregistrybinary.c:
7072           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
7073           up the internal code accordingly.  This shouldn't be a problem, since
7074           there is no reason external code could ever assume the string in such
7075           a structure is dynamically allocated unless it did that itself;  the
7076           use of g_strdup() is private to element factories.  The new code also
7077           saves some memory by putting pad template name strings into the GLib
7078           quark table instead of allocating them dynamically.
7079           Declaring this field constant fixes warnings with g++-4.2 when using
7080           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
7081
7082 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
7083
7084         * gst/gstelementfactory.c:
7085           Release static caps. Fixes #475723.
7086
7087 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
7088
7089         * gst/gstinfo.c:
7090         * gst/gstinfo.h:
7091           Make some internal API take const gchar * instead of just
7092           gchar * to avoid compiler warnings with g++-4.2.2 when
7093           passing string constants (partially fixes #478092).
7094
7095 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
7096
7097         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
7098         A latency query fails when one of the sinks fail.
7099
7100         * gst/gstelement.c: (gst_element_set_base_time):
7101         Improve debugging.
7102
7103 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
7104
7105         * gst/gstbin.c: (gst_bin_continue_func):
7106         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7107         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
7108         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
7109
7110         Fix minor compilation warnings shown with Forte.
7111
7112 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
7113
7114         * plugins/elements/gstqueue.c: (apply_buffer),
7115         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
7116         Measure queue level based on the diff between head and tail timestamps
7117         even when pushing the first buffer.
7118
7119 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7120
7121         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7122         (gst_base_sink_event), (gst_base_sink_change_state):
7123         Sinks that don't preroll can always be queried for the latency.
7124         Don't post ASYNC start when we are not async.
7125
7126 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7127
7128         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
7129         (gst_queue_handle_sink_event), (gst_queue_chain),
7130         (gst_queue_push_one), (gst_queue_handle_src_query),
7131         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
7132         * plugins/elements/gstqueue.h:
7133         When downstream returns UNEXPECTED from pushing a buffer, don't try to
7134         push more buffers but allow pushing of EOS and NEWSEGMENT.
7135         Add some more debug info here and there. Fixes #476514.
7136
7137 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7138
7139         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7140         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
7141         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7142         (gst_base_sink_set_flushing), (gst_base_sink_query),
7143         (gst_base_sink_change_state):
7144         Latency query is allowed after we are prerolled. Introduce a new flag
7145         for this and stop abusing other variables.
7146
7147 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7148
7149         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7150         Push OOB events downstream when we get them in send_event. This allows
7151         the application to insert events in the pipeline.
7152         Add some more comments.
7153
7154 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7155
7156         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7157         (do_bin_latency), (gst_bin_change_state_func):
7158         * gst/gstpipeline.c: (gst_pipeline_change_state):
7159         Move latency query from GstPipeline to GstBin so that we can also
7160         use it when async-handling is enabled on bins.
7161
7162 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7163
7164         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7165         (gst_base_src_do_sync), (gst_base_src_change_state):
7166         Update docs.
7167         Clean up the timestamping and syncing code for pseudo live sources.
7168
7169 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
7170
7171         Patch by: Steve Fink  <sphink gmail com>
7172
7173         * docs/manual/appendix-checklist.xml:
7174           Mention less -R switch in the section about debug output (#474055).
7175
7176 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7177
7178         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7179         Queue can latency to the pipeline up to the configured max size in time.
7180         Report this fact in the latency query.
7181
7182 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7183
7184         Patch by: Sebastien Moutte <sebastien at moutte dot net>
7185
7186         * libs/gst/controller/gstinterpolation.c:
7187         * libs/gst/controller/gstlfocontrolsource.c:
7188         Use gst_guint64_to_gdouble() when converting from a uint64 or
7189         GstClockTime to double to fix the build on win32. Fixes #474371.
7190
7191 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7192
7193         * gst/gstbuffer.c: (gst_buffer_finalize):
7194         Implement poisoning for GstBuffer if --enable-poisoning is specified.
7195         When finalizing a buffer the complete struct is filled with 0xff,
7196         thus making a use of the buffer after the final unref impossible.
7197
7198 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7199
7200         * tests/check/libs/controller.c: (GST_START_TEST):
7201         Use fail_unless_equals_int(a, b) instead of
7202         fail_unless_equals (a == b) to get better output on failures.
7203
7204 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7205
7206         * tests/check/gst/gsturi.c:
7207           Also check for the other file URI variant on win32.
7208
7209 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7210
7211         * gst/gsturi.c: (gst_uri_get_location):
7212           If there's no hostname, we want to return 'c:/foo/bar.txt'
7213           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7214
7215         * tests/check/gst/gsturi.c:
7216           Unit test for the above and a few more things.
7217
7218 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7219
7220         * docs/design/part-live-source.txt:
7221         Add docs on how live sources should timestamp.
7222
7223         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7224         Add some more debug info.
7225         For subclasses that are live and like to sync, add aditional startup
7226         latency to sync time and timestamps so that we timstamp according to the
7227         design doc.
7228
7229 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7230
7231         * gst/gstbuffer.c:
7232           Also do a g_type_class_ref() for the subbuffer type in
7233           the init function.
7234
7235 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7236
7237         * docs/gst/gstreamer-sections.txt:
7238         * gst/gstpad.c: (gst_pad_peer_query):
7239         * gst/gstpad.h:
7240         Add function to perform a query on the peer of a pad.
7241         API: gst_pad_peer_query()
7242
7243 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
7244
7245         * tests/check/gst/gstsystemclock.c:
7246           Cleanup the test a little (use gst-logging and not g_message). Improve
7247           test to check if a wait reached the target.
7248
7249 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7250
7251         * docs/libs/gstreamer-libs-sections.txt:
7252           Add new API to docs and fix the build.
7253
7254 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
7255
7256         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7257         (gst_base_src_init), (gst_base_src_set_do_timestamp),
7258         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7259         (gst_base_src_get_property), (gst_base_src_do_sync):
7260         * libs/gst/base/gstbasesrc.h:
7261         Add property to make the basesrc timestamp buffers based on the current
7262         running time.
7263         API: GstBaseSrc::do-timestamp
7264         API: gst_base_src_set_do_timestamp()
7265         API: gst_base_src_get_do_timestamp()
7266
7267 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
7268
7269         * docs/random/release:
7270           Really make sure translations are up-to-date before
7271           a release (#465010).
7272
7273 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
7274
7275         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7276         Always destroy the timer, also in error cases.
7277
7278 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7279
7280         * docs/manual/highlevel-xml.xml:
7281         Fix XML example code. Fixes #472714.
7282
7283 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7284
7285         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7286         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7287         (gst_base_sink_query):
7288         Protect eos and have_preroll with the OBJECT lock so we don't need to
7289         take the PREROLL lock when querying the latency. Fixes #473846.
7290
7291 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
7292
7293         * gst/gstelement.c:
7294           Give some log-messages a category.
7295
7296 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
7297
7298         * gst/gststructure.c:
7299         (gst_structure_fixate_field_nearest_fraction):
7300         Fix fraction list fixation code. Take the fraction with the smallest
7301         difference with the target instead of the first one in the list.
7302
7303         * tests/check/gst/gststructure.c: (GST_START_TEST),
7304         (gst_structure_suite):
7305         Added test to verify correct fraction list fixation behaviour.
7306
7307 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
7308
7309         * win32/common/libgstreamer.def:
7310           Export gst_bus_add_signal_watch too.
7311
7312 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
7313
7314         * docs/libs/gstreamer-libs-sections.txt:
7315         Add new methods to docs.
7316
7317         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7318         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7319         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7320         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7321         * libs/gst/base/gstbasesink.h:
7322         Add ts-offset property to fine-tune the synchronisation.
7323         API: GstBaseSink::ts-offset property
7324         API: gst_base_sink_set_ts_offset()
7325         API: gst_base_sink_get_ts_offset()
7326
7327 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
7328
7329         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7330         (gst_base_sink_init), (gst_base_sink_set_sync),
7331         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7332         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7333         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7334         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7335         (gst_base_sink_get_property), (gst_base_sink_change_state):
7336         * libs/gst/base/gstbasesink.h:
7337         Add async property to instruct the sink never to inform the parent about
7338         ASYNC state changes, update docs.
7339         Check argument with g_return_* for the public functions.
7340         API: GstBaseSink::async property
7341         API: gst_base_sink_set_async_enabled()
7342         API: gst_base_sink_is_async_enabled()
7343
7344 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
7345
7346         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7347         Improve debugging.
7348
7349         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7350         (gst_base_src_default_query), (gst_base_src_wait),
7351         (gst_base_src_do_sync), (gst_base_src_change_state):
7352         Rearrange some code so that we can add support for measuring the 
7353         startup latency.
7354
7355 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
7356
7357         * docs/random/ensonic/dynlink.txt:
7358           More thoughs on this.
7359
7360         * plugins/elements/gstcapsfilter.c:
7361           Add bugzilla ticket number to FIXME comment.
7362
7363 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
7364
7365         * docs/design/part-TODO.txt:
7366         * docs/design/part-block.txt:
7367         Update some docs.
7368
7369 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7370
7371         * gst/Makefile.am:
7372           Revert patch which uses $(gst_headers) instead of $^ because it
7373           breaks make dist.
7374
7375 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7376
7377         * tests/check/gst/gstbin.c: (GST_START_TEST):
7378           Fix leaks in the new unit test.
7379
7380 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7381
7382         * gst/gst.c:
7383           Don't use GST_INFO before the debug system is actually initialised
7384           (shouldn't do any harm, but won't print anything either, so we can
7385           just as well remove it).
7386
7387         * gst/gstinfo.h:
7388           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7389           compilers that don't support variadic macros (such as MSVC), should
7390           check for debug_level <= __gst_debug_min as well, since that's the
7391           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7392           inline helper functions. Should improve performance a bit, but also
7393           makes sure uses of GST_INFO et.al are ignored if the debugging
7394           system isn't initialised yet (instead of printing an assertion
7395           failure).
7396
7397 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7398
7399         patch by: David Nečas <yeti@physics.muni.cz>
7400
7401         * gst/Makefile.am:
7402           Replace some non portable makefile constructs.
7403
7404 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7405
7406         * common/gtk-doc-plugins.mak:
7407           Grrrrr. Don't remove the types file on make clean.
7408
7409 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7410
7411         * tools/gst-launch.1.in:
7412         Add colorspace to example pipeline. Fixes #458274.
7413
7414 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7415
7416         * docs/random/release:
7417           The release manager should run 'make download-po' before making a
7418           release to make sure translations are up-to-date.
7419
7420         * po/LINGUAS:
7421         * po/be.po:
7422         * po/pl.po:
7423         * po/rw.po:
7424           Add some new translations.
7425
7426 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7427
7428         * tools/gst-launch.c: (event_loop), (main):
7429         Don´t try to do any state management when a live pipeline posts
7430         buffering messages.
7431         Also make the buffering string translatable.
7432
7433 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7434
7435         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7436         (bin_handle_async_start), (gst_bin_handle_message_func):
7437         Improve debugging.
7438         When adding elements, insert messages into the bus of the newly added
7439         element and make sure the element is the source of the message. This
7440         allows the parent bin to intercept the message and do the
7441         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7442         messages to the app (which is not allowed).
7443         Update some docs.
7444
7445         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7446         Fix testsuite so that is does not work around messages that should not
7447         have been posted in the first place.
7448
7449 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7450
7451         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7452         (update_degree), (gst_bin_sort_iterator_next):
7453         Fix annoying bug in the sorted iterator where a sink that is not really
7454         a sink (when it has downstream links) screwed up the iterator.
7455
7456         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7457         Unit test to verify the fix.
7458
7459 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7460
7461         * gst/gstmessage.h:
7462         Add some more docs for the messages.
7463
7464         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7465         (gst_base_sink_query):
7466         Add some more debugging.
7467
7468         * tools/gst-launch.c: (event_loop):
7469         When interrupting, don't try to set pipeline to PAUSED twice.
7470
7471 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7472
7473         
7474         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7475         (bin_handle_async_start), (gst_bin_handle_message_func):
7476         Move ASYNC_START message posting to where it belongs, similar to
7477         async_done. 
7478         Don't post ASYNC_START when we are in error. 
7479         Post ASYNC_START when we added an async element to a bin.
7480
7481 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7482
7483         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7484         generation from vargs. Fixes #466595.
7485
7486 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7487
7488         * gst/gstbin.c: (gst_bin_element_set_state):
7489         Always change the state of a NO_PREROLL element even if it has ASYNC
7490         elements inside (in case of a bin).
7491
7492         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7493         Unit test for this case.
7494
7495 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7496
7497         * libs/gst/check/gstbufferstraw.c:
7498         * libs/gst/check/gstcheck.h:
7499         * libs/gst/controller/gstcontroller.c:
7500         * libs/gst/controller/gstcontrolsource.h:
7501         * libs/gst/controller/gstlfocontrolsource.h:
7502         * plugins/elements/gstcapsfilter.h:
7503         * plugins/elements/gstfdsink.h:
7504         * plugins/elements/gstfdsrc.h:
7505           Add more missing docs.
7506
7507 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7508
7509         * gst/gststructure.c:
7510         Add Since tag to docs.
7511
7512 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7513
7514         * docs/gst/gstreamer-sections.txt:
7515         * gst/gststructure.c: (gst_structure_get_uint):
7516         * gst/gststructure.h:
7517         Add function to get uint from a structure.
7518         API: gst_structure_get_uint()
7519
7520 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7521
7522         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7523         (gst_caps_intersect):
7524         Fix proper check for simple caps.
7525
7526 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7527
7528         * docs/gst/Makefile.am:
7529         * docs/libs/Makefile.am:
7530           Remove cruft and do some cleanups.
7531
7532         * docs/gst/gstreamer-docs.sgml:
7533         * docs/libs/gstreamer-libs-docs.sgml:
7534           Prepare for comming gtkdoc features (rebase against online docs).
7535
7536 2007-08-10  Michael Smith <msmith@fluendo.com>
7537
7538         * docs/gst/gstreamer-sections.txt:
7539           Add gst_registry_add_path to docs.
7540
7541 2007-08-10  Michael Smith <msmith@fluendo.com>
7542
7543         * gst/gstregistry.h:
7544           Add gst_registry_add_path, which was missing from this header.
7545
7546 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7547
7548         * libs/gst/controller/gstlfocontrolsource.c:
7549           Printf format fix.
7550
7551 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7552
7553         * libs/gst/base/gstbasesink.c:
7554           Don't send an async_start message during downwards state change if 
7555           target state is less than READY
7556
7557 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7558
7559         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7560
7561         * po/LINGUAS:
7562         * po/hu.po:
7563           Added Hungarian translation.
7564
7565 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7566
7567         * po/fi.po:
7568         * po/it.po:
7569         * po/nl.po:
7570         * po/sv.po:
7571         * po/uk.po:
7572           Updated translations.
7573
7574 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7575
7576         * libs/gst/controller/Makefile.am:
7577         Dist gstlfocontrolsourceprivate.h
7578
7579 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7580
7581         * docs/libs/gstreamer-libs.types:
7582         Don't register the enum type gst_lfo_waveform_get_type() in the
7583         .types file - only GObject derived types belong.
7584
7585 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7586
7587         Patch by: <arenevier at fdn dot fr>
7588
7589         * gst/gstbuffer.h:
7590         Remove comma from last element in enum to avoid compile errors when
7591         using -pendantic. Fixes #464366.
7592
7593 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7594
7595         * docs/design/part-TODO.txt:
7596         Add some more TODO items
7597
7598         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7599         Improve debugging.
7600
7601         * gst/gstcaps.c: (gst_caps_intersect):
7602         Optimize trivial intersection case between identical caps pointers.
7603
7604         * gst/gstelement.c: (gst_element_continue_state),
7605         (gst_element_set_state_func):
7606         * gst/gstpad.c:
7607         Fix spelling and grammar mistakes.
7608
7609 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7610
7611         * po/POTFILES.in:
7612         * po/POTFILES.skip:
7613           Update POTFILES. Fixes #461599.
7614
7615 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7616
7617         * gst/gst.c:
7618         Fix confusing typo in debug output.
7619
7620 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7621
7622         reviewed by: Stefan Kost <ensonic@users.sf.net>
7623
7624         * libs/gst/controller/Makefile.am:
7625         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7626         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7627         (gst_lfo_control_source_new),
7628         (gst_lfo_control_source_set_waveform),
7629         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7630         (gst_lfo_control_source_finalize),
7631         (gst_lfo_control_source_dispose),
7632         (gst_lfo_control_source_set_property),
7633         (gst_lfo_control_source_get_property),
7634         (gst_lfo_control_source_class_init):
7635         * libs/gst/controller/gstlfocontrolsource.h:
7636         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7637         API: Add GstLFOControlSource, a control source that gives values
7638         for specific timestamps based on several periodic waveforms.
7639         Fixes #459717.
7640
7641         * tests/check/libs/controller.c: (GST_START_TEST),
7642         (gst_controller_suite):
7643         * docs/libs/gstreamer-libs-docs.sgml:
7644         * docs/libs/gstreamer-libs-sections.txt:
7645         * docs/libs/gstreamer-libs.types:
7646         Add documentation and unit tests for GstLFOControlSource.
7647
7648 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7649
7650         * configure.ac:
7651         Back to CVS
7652
7653 === release 0.10.14 ===
7654
7655 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7656
7657         * configure.ac:
7658           releasing 0.10.14, "Breathing Vacuum"
7659
7660 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7661
7662         * gst/gstelement.c: (gst_element_class_set_details_simple):
7663         * gst/gstelement.h:
7664           Make strings passed to gst_element_class_set_details_simple()
7665           constant, as they should be (#462752).
7666
7667 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7668
7669         * gst/gstbin.c: (gst_bin_change_state_func),
7670         (bin_handle_async_done), (gst_bin_handle_message_func):
7671         Don't forget about the fact that some element went ASYNC even after a
7672         resync. This makes us post the ASYNC_DONE message correctly.
7673         Fixes #462558.
7674
7675 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7676
7677         * gst/gstregistry.c: (gst_registry_add_feature):
7678         When replacing an existing feature in the registry, make sure to
7679         continue holding a reference until we've replaced the name string
7680         within our feature hash table. Make sure to use g_hash_table_replace
7681         instead of g_hash_table_insert to ensure the new name string is used
7682         as a key instead of the old one that we're about to free.
7683         Fixes: #462085
7684
7685 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7686
7687         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7688         (gst_plugin_feature_set_name):
7689         Revert patch from #459466 until after the release and we can work
7690         out exactly what the problem is (if any).
7691
7692 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7693
7694         * docs/gst/gstreamer-sections.txt:
7695         * gst/gsttaglist.c:
7696         * gst/gsttaglist.h:
7697           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7698
7699 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7700
7701         * docs/libs/Makefile.am:
7702         Include our build-prefix libs and includes before the generic ones to
7703         avoid linking against the installed libs when we want the build-tree
7704         ones.
7705
7706 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7707
7708         Patch by: Steve Fink  <sphink gmail com>
7709
7710         * docs/pwg/building-testapp.xml:
7711           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7712           if people try to build or install the example from the plugin
7713           template against a GStreamer from package using the configure
7714           defaults.
7715
7716 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7717
7718         Patch by: Steve Fink  <sphink gmail com>
7719
7720         * tools/gst-inspect.1.in:
7721           Document --print-all and --print-plugin-auto-install-info command
7722           line options in man page.
7723
7724 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7725
7726         * docs/gst/gstreamer-sections.txt:
7727         Add docs for new api function.
7728
7729 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7730
7731         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7732         * gst/gstelementfactory.h:
7733         API: gst_element_factory_has_interface()
7734         Added method to check if an element factory implements a named
7735         interface.
7736
7737 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7738
7739         * configure.ac:
7740         * docs/gst/gstreamer.types.in:
7741           Another conditional doc check.
7742
7743         * gst/gstmessage.c:
7744         * gst/gstparamspecs.h:
7745         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7746         * gst/gstvalue.c:
7747         * gst/gstxml.h:
7748           API-doc fixes.
7749
7750 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7751
7752         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7753         (gst_registry_binary_load_feature),
7754         (gst_registry_binary_load_plugin),
7755         (gst_registry_binary_read_cache):
7756           Print error just once and with additional info.
7757
7758 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7759
7760         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7761         (helper_find_suggest), (helper_find_get_length),
7762         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7763         (gst_type_find_helper_for_buffer):
7764           Cleanup the typefindhelper code and add private doc comments.
7765
7766 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7767
7768         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7769         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7770         Fix capsfilter for cases where the caps set on capsfilter will provide
7771         additional information.
7772         Fixes #449197
7773
7774 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7775
7776         * gst/gsttypefindfactory.c:
7777           Fix docs that recommened wrong function to use.
7778
7779 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7780
7781         * tools/gst-inspect.c: (print_plugin_features):
7782           Also give media-type for typefinders in element output.
7783
7784 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7785
7786         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7787         (gst_registry_remove_features_for_plugin_unlocked),
7788         (gst_registry_add_feature), (gst_registry_remove_feature),
7789         (gst_registry_lookup_feature_locked):
7790         * gst/gstregistry.h:
7791           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7792           Fixes #459501.
7793
7794 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7795
7796         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7797         (gst_plugin_feature_set_name):
7798           Avoid double memory usage for pluginfeature names. Fixes #459466.
7799
7800 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7801
7802         * gst/gstpad.h:
7803           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7804           driving the pipeline may need to explicitly check for NOT_LINKED as
7805           well, since IS_FATAL doesn't cover that.
7806
7807 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7808
7809         * docs/pwg/advanced-types.xml:
7810           Fix typo and duplicate entry in video formats list.
7811
7812 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7813
7814         * libs/gst/controller/gstinterpolation.c:
7815         Also round to the nearest int when using cubic interpolation.
7816
7817 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7818
7819         * libs/gst/controller/gstinterpolation.c:
7820         When linearly interpolating integer types, round to the nearest int
7821         by adding 0.5. Don't do it for float/double types.
7822         Fixes the failing controller test on my machine, which is somehow
7823         rounding differently than on the buildbots.
7824
7825 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7826
7827         * tools/gst-plot-timeline.py:
7828           Better log parsing (categories can have -). Adjust text vs. lines, so
7829           that they span the same y-range.        
7830
7831 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7832
7833         * docs/random/ensonic/audiobaseclasses.txt:
7834         * docs/random/ensonic/dynlink.txt:
7835         * docs/random/ensonic/profiling.txt:
7836           Save my thoughts.
7837
7838         * docs/random/moving-plugins:
7839           Add note to use g_assert type macros.
7840
7841 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7842
7843         * configure.ac:
7844         * libs/gst/check/Makefile.am:
7845           Add libm check as we use in for plugins.
7846
7847 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7848
7849         * gst/gstbin.c: (gst_bin_continue_func):
7850         Check that the state_cookie hasn't changed since the continue_func
7851         was scheduled. Avoids problems where the state changes back to
7852         something it shouldn't be because it was changed in the meantime.
7853
7854 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7855
7856         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7857         (gst_registry_binary_save_string),
7858         (gst_registry_binary_save_pad_template),
7859         (gst_registry_binary_save_feature),
7860         (gst_registry_binary_save_plugin),
7861         (gst_registry_binary_load_feature),
7862         (gst_registry_binary_load_plugin),
7863         (gst_registry_binary_read_cache):
7864           Fix memory leak. Be less verbose in the log.
7865
7866 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7867
7868         * tests/check/elements/.cvsignore:
7869         Add file to cvsignore as commanded.
7870
7871 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7872
7873         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7874         (mq_dummypad_event), (run_output_order_test):
7875         Use a GStaticMutex to protect all cases where libcheck
7876         fail_if/fail_unless macros might be called from multiple threads
7877         simultaneously to avoid errors like:
7878           "check_pack.c:107: :-1081725400:Bad message type arg"
7879
7880 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7881
7882         * tests/check/pipelines/stress.c: (GST_START_TEST):
7883         Make sure we set the pipeline back to the NULL state before
7884         dropping our final reference.
7885
7886 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7887
7888         * tests/check/elements/tee.c: (GST_START_TEST):
7889         Make the tee stress-test a little less stressful so it doesn't just
7890         time out on slow-machines, and remove a small race when it's starting 
7891         up by adding a get_state() call.
7892
7893 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7894
7895         * gst/gst.c:
7896           Avoid reading registry twice on startup. Fixes #457322.
7897
7898 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7899
7900         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7901         * pkgconfig/gstreamer-check.pc.in:
7902         Substitute the CFLAGS for libcheck into our .pc file too so that
7903         dependent modules will pick it up properly if libcheck is installed
7904         into some other prefix.
7905
7906 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7907
7908         * configure.ac:
7909         Revert the pkg-config check for libcheck, since it pulls in the
7910         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7911         a proper solution, either from the check project, or something else.
7912
7913 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7914
7915         * configure.ac:
7916           Use pkg-config to locate check.
7917
7918 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7919
7920         * gst/gsttaglist.c:
7921           Fix doc syntax.
7922
7923         * gst/gstutils.c:
7924         * gst/gstutils.h:
7925           Add deprecation guards.
7926
7927         * libs/gst/base/gstcollectpads.h:
7928           Don't document object (this is implicitly private).
7929
7930 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7931
7932         * gst/gststructure.c: (gst_structure_parse_value):
7933           When deserialising foo=bar without a type cast, check if it's a
7934           boolean before falling back to a string type, otherwise things like
7935           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7936           because the filtercaps end up having a signed=(string)true field,
7937           which causes problems later when intersection caps.
7938
7939         * tests/check/gst/gststructure.c: (GST_START_TEST):
7940           Add a unit test for this.
7941
7942 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7943
7944         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7945
7946         * libs/gst/controller/Makefile.am:
7947         * libs/gst/controller/gstcontroller.c:
7948         (gst_controlled_property_add_interpolation_control_source),
7949         (gst_controlled_property_new), (gst_controlled_property_free),
7950         (gst_controller_find_controlled_property),
7951         (gst_controller_new_valist), (gst_controller_new_list),
7952         (gst_controller_new), (gst_controller_remove_properties_valist),
7953         (gst_controller_remove_properties_list),
7954         (gst_controller_remove_properties),
7955         (gst_controller_set_property_disabled),
7956         (gst_controller_set_disabled), (gst_controller_set_control_source),
7957         (gst_controller_get_control_source), (gst_controller_get),
7958         (gst_controller_sync_values), (gst_controller_get_value_array),
7959         (_gst_controller_dispose), (gst_controller_get_type),
7960         (gst_controlled_property_set_interpolation_mode),
7961         (gst_controller_set), (gst_controller_set_from_list),
7962         (gst_controller_unset), (gst_controller_unset_all),
7963         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7964         * libs/gst/controller/gstcontroller.h:
7965         * libs/gst/controller/gstcontrollerprivate.h:
7966         * libs/gst/controller/gstcontrolsource.c:
7967         (gst_control_source_class_init), (gst_control_source_init),
7968         (gst_control_source_get_value),
7969         (gst_control_source_get_value_array), (gst_control_source_bind):
7970         * libs/gst/controller/gstcontrolsource.h:
7971         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7972         (gst_object_get_control_source):
7973         * libs/gst/controller/gstinterpolation.c:
7974         (gst_interpolation_control_source_find_control_point_node),
7975         (gst_interpolation_control_source_get_first_value),
7976         (_interpolate_none_get), (interpolate_none_get),
7977         (interpolate_none_get_boolean_value_array),
7978         (interpolate_none_get_enum_value_array),
7979         (interpolate_none_get_string_value_array),
7980         (_interpolate_trigger_get), (interpolate_trigger_get),
7981         (interpolate_trigger_get_boolean_value_array),
7982         (interpolate_trigger_get_enum_value_array),
7983         (interpolate_trigger_get_string_value_array):
7984         * libs/gst/controller/gstinterpolationcontrolsource.c:
7985         (gst_control_point_free), (gst_interpolation_control_source_reset),
7986         (gst_interpolation_control_source_new),
7987         (gst_interpolation_control_source_set_interpolation_mode),
7988         (gst_interpolation_control_source_bind),
7989         (gst_control_point_compare), (gst_control_point_find),
7990         (gst_interpolation_control_source_set_internal),
7991         (gst_interpolation_control_source_set),
7992         (gst_interpolation_control_source_set_from_list),
7993         (gst_interpolation_control_source_unset),
7994         (gst_interpolation_control_source_unset_all),
7995         (gst_interpolation_control_source_get_all),
7996         (gst_interpolation_control_source_get_count),
7997         (gst_interpolation_control_source_init),
7998         (gst_interpolation_control_source_finalize),
7999         (gst_interpolation_control_source_dispose),
8000         (gst_interpolation_control_source_class_init):
8001         * libs/gst/controller/gstinterpolationcontrolsource.h:
8002         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
8003         API: Refactor GstController into the core controller which can take
8004         a GstControlSource for providing actual values for timestamps.
8005         Implement a interpolation control source and use this for backward
8006         compatibility, deprecate a bunch of functions that are now handled
8007         by GstControlSource or GstInterpolationControlSource.
8008         Make it possible to disable the controller completely or only for
8009         specific properties. Fixes #450711.
8010         * docs/libs/gstreamer-libs-docs.sgml:
8011         * docs/libs/gstreamer-libs-sections.txt:
8012         * docs/libs/gstreamer-libs.types:
8013         Add new functions and classes to the docs.
8014         * tests/check/libs/controller.c: (GST_START_TEST),
8015         (gst_controller_suite):
8016         * tests/examples/controller/audio-example.c: (main):
8017         Port unit test and example to the new API and add some new
8018         unit tests.
8019
8020 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
8021
8022         Patch by: Mark Nauwelaerts <manauw at skynet be>
8023
8024         * plugins/elements/gstmultiqueue.c:
8025         (gst_multi_queue_get_internal_links), (apply_buffer),
8026         (single_queue_overrun_cb), (gst_single_queue_new):
8027         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
8028         the pipeline layout can be tracked correctly. Fixes #453732.
8029
8030 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
8031
8032         * docs/gst/Makefile.am:
8033         * docs/libs/Makefile.am:
8034         * docs/plugins/Makefile.am:
8035           Simplify --extra-dir as gtkdoc scans recursively.
8036
8037 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
8038
8039         * tools/gst-launch.c: (main):
8040         When we got an error, there is no point in waiting for preroll when
8041         shutting down.
8042
8043 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
8044
8045         * plugins/elements/gsttee.c: (gst_tee_base_init),
8046         (gst_tee_request_new_pad), (gst_tee_release_pad),
8047         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
8048         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
8049         (gst_tee_chain):
8050         Be a lot smarter when deciding what srcpad to use for proxying
8051         the buffer_alloc. Also handle pad added/removed when doing so.
8052         Fixes #357959.
8053         Keep track of what pads we already pushed on in case we have pads
8054         added/removed while pushing. Fixes #374639 
8055
8056         * tests/check/Makefile.am:
8057         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
8058         (tee_suite):
8059         Added unit test for pad resync.
8060
8061 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8062
8063         * po/nl.po:
8064         * po/sv.po:
8065           Updated translations.
8066
8067 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8068
8069         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
8070
8071         * po/LINGUAS:
8072         * po/fi.po:
8073           Added new Finnish translation.
8074
8075 2007-06-28  Wim Taymans  <wim@fluendo.com>
8076
8077         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8078         (single_queue_overrun_cb):
8079         When figuring out when a queue is filled, use our internal time estimate
8080         based on segments, just like check_full does.
8081
8082 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
8083
8084         * gst/gstminiobject.c: (gst_mini_object_get_type):
8085           Remove 3 do-nothing methods.
8086
8087 2007-06-27  Wim Taymans  <wim@fluendo.com>
8088
8089         Patch by: Tim Angus <tim at ngus dot net>
8090
8091         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8092         (gst_capsfilter_set_property):
8093         Take a reference instead of a copy when setting "caps".
8094         Fix documentation to clarify this behaviour. Fixes #449414.
8095
8096 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
8097
8098         * gst/gstindexfactory.c: (gst_index_factory_get_type):
8099         * gst/gstplugin.c: (gst_plugin_init):
8100         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
8101         * gst/gstquery.c: (gst_query_get_type):
8102         * gst/gstregistry.c: (gst_registry_init):
8103         * gst/gsturi.c: (gst_uri_handler_base_init):
8104           Remove empty instance_init() functions to save relocs and lessen the
8105           noise. Remove some of the function prototypes that are doubled by
8106           G_DEFINE_TYPE.
8107           
8108 2007-06-27  Wim Taymans  <wim@fluendo.com>
8109
8110         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
8111
8112         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
8113         Add peer and direction in the XML serialisation of ghostpads.
8114         Fixes #449226.
8115
8116 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
8117
8118         * configure.ac:
8119           Preserve useful information, thanks Tim.
8120
8121 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
8122
8123         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8124         (gst_single_queue_flush), (apply_segment), (apply_buffer),
8125         (gst_single_queue_push_one), (gst_multi_queue_loop),
8126         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8127         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
8128         (compute_high_id), (gst_single_queue_new):
8129         * plugins/elements/gstmultiqueue.h:
8130         Take the multiqueue lock when updating the fill level so we don't get
8131         confused. 
8132
8133         After applying a buffer or event on the src pad segment, make sure to
8134         call gst_data_queue_limits_changed() to get the data queue to unblock
8135         and check the filled state again.
8136         
8137         Rework the not-linked pad handling so the logic is that not-linked 
8138         pads can push as fast as they like, but only so they never get 
8139         ahead of any linked pads.
8140
8141         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8142         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8143         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8144
8145         Add a test to check that not-linked pads always stay behind
8146         linked pads.
8147
8148         Fixes: #430682
8149
8150 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
8151
8152         * docs/random/release:
8153           Some updates to the release procedure.
8154
8155 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
8156
8157         * gst/gstelementfactory.c: (__gst_element_details_clear):
8158           Microoptimization that saves stunning 80 bytes.
8159
8160 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
8161
8162         * docs/plugins/gstreamer-plugins.args:
8163         * docs/plugins/inspect/plugin-coreelements.xml:
8164         * docs/plugins/inspect/plugin-coreindexers.xml:
8165           Update docs with caps info.
8166
8167 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8168
8169         * po/it.po:
8170           Updated Italian translation.
8171
8172 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8173
8174         * ChangeLog:
8175         * po/vi.po:
8176           Update Vietnamese translations.
8177
8178 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8179
8180         * libs/gst/base/gstbasesink.c:
8181           Remove unused signal enum.
8182
8183 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8184
8185         * docs/gst/gstreamer-sections.txt:
8186         * gst/gstelement.c:
8187         * gst/gstutils.c: (gst_type_register_static_full):
8188         Beef up and include the docs for gst_type_register_static_full and
8189         gst_element_class_set_details_simple and add the API keyword
8190         in the ChangeLog.
8191
8192 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8193
8194         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8195         (update_time_level), (gst_single_queue_push_one),
8196         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8197         (single_queue_overrun_cb), (single_queue_underrun_cb),
8198         (single_queue_check_full):
8199         Fix setting max-* properties after adding queues.
8200         Use IS_FILLED for checking visible items.
8201         Signal overrun if multiple queues overrun.
8202         Add extra debug output.
8203         Patch by: Wim Taymans <wim@fluendo.com>
8204
8205 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
8206
8207         * gst/gstelement.c: (gst_element_class_set_details_simple):
8208         * gst/gstelement.h:
8209         * gst/gstutils.c: (gst_type_register_static_full):
8210         * gst/gstutils.h:
8211         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8212         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8213         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8214         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8215         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8216         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8217         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8218         * plugins/elements/gstidentity.c: (gst_identity_base_init):
8219         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8220         * plugins/elements/gstqueue.c: (gst_queue_base_init),
8221         (apply_buffer), (gst_queue_chain):
8222         * plugins/elements/gsttee.c: (gst_tee_base_init):
8223         * plugins/elements/gsttypefindelement.c:
8224         (gst_type_find_element_base_init),
8225         (gst_type_find_element_class_init):
8226           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8227           API: add gst_type_register_static_full
8228           API: add gst_element_class_set_details_simple
8229
8230 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8231
8232         * docs/pwg/advanced-types.xml:
8233           Fix typo in iana.org URI.
8234
8235 2007-06-19  Andy Wingo  <wingo@pobox.com>
8236
8237         * tests/check/pipelines/simple-launch-lines.c
8238         (test_state_change_returns): Enable pull-mode tests now that
8239         basesink has been fixed.
8240
8241         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8242         Changed from gst_base_sink_is_prerolled, reversing the sense of
8243         the return value. Returns FALSE also if the sink is in pull mode,
8244         in which case it needs no preroll.
8245         (gst_base_sink_query, gst_base_sink_change_state): Update for
8246         needs_preroll change.
8247         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8248         chaining up, in which we return SUCCESS directly if we activated
8249         in pull mode instead of ASYNC. Involves countering an async_start
8250         message sent before chaining up; not sure if this is correct, in
8251         an ideal world we only send async-start when activating in push
8252         mode.
8253
8254         * tests/check/pipelines/simple-launch-lines.c
8255         (test_state_change_returns): New test, partially disabled until
8256         basesink is fixed.
8257
8258 2007-06-19  Wim Taymans  <wim@fluendo.com>
8259
8260         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8261         (gst_multi_queue_sink_event):
8262         Fix event leak.
8263
8264 2007-06-19  Wim Taymans  <wim@fluendo.com>
8265
8266         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8267         (gst_bin_change_state_func), (bin_push_state_continue),
8268         (bin_handle_async_start), (bin_handle_async_done),
8269         (gst_bin_handle_message_func):
8270         Move the common code for posting state-change messages into
8271         one function.
8272         Broadcast the state signal after we posted the messages.
8273         Mark the bin as busy when it's doing a state-change.
8274         Make sure async-start/done messages don't interfere with the bin's
8275         state when it's busy.
8276         After the state change, let the bin check which elements completed the
8277         state change while it was busy so that it can update its state.
8278
8279 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
8280
8281         * docs/random/release:
8282         Add a note about updating the doap file to the release checklist
8283
8284 2007-06-18  Wim Taymans  <wim@fluendo.com>
8285
8286         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8287         (gst_single_queue_push_one), (gst_multi_queue_chain),
8288         (gst_multi_queue_sink_event):
8289         Make sure we don't reference the buffer/event after we have given away
8290         ownership in the queue.
8291
8292 2007-06-18  Wim Taymans  <wim@fluendo.com>
8293
8294         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8295         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8296         Update queue state _after_ adding the item in the queue because else we
8297         could end up being full without the element added yet.
8298
8299 2007-06-18  Wim Taymans  <wim@fluendo.com>
8300
8301         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8302         (gst_bin_remove_func), (gst_bin_get_state_func),
8303         (gst_bin_element_set_state), (gst_bin_continue_func),
8304         (bin_push_state_continue), (bin_handle_async_start),
8305         (bin_handle_async_done), (gst_bin_handle_message_func):
8306         * gst/gstbin.h:
8307         Immediatly commit the toplevel bin state when receiving an async-done
8308         message. This enables us to avoid spawning a thread to commit the state
8309         in some common cases and it also avoids some races.
8310         Avoid spawning a state thread when adding/removing async elements to a
8311         toplevel bin. Instead we immediatly update the bin state.
8312         Get rid of iterating all the children when getting the state in the bin
8313         because it is now always up-to-date.
8314         Fix bug where locked elements would always return _SUCCESS even it they
8315         returned NO_PREROLL before being locked.
8316         Fix the order of the state_change, async-start/done messages that was
8317         sometimes incorrect.
8318         Mark the state_dirty field as deprecated, we don't need it anymore as we
8319         are always up-to-date.
8320
8321         * gst/gstelement.c: (gst_element_get_state_func),
8322         (gst_element_continue_state):
8323         Small debug inprovements.
8324         Return the previous element state return when nothing is pending instead
8325         of blindly returning SUCCESS.
8326
8327         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8328         (gst_sinks_suite):
8329         Add a whole bunch of new testcases.
8330
8331 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8332
8333         * po/uk.po:
8334         * po/vi.po:
8335           Update translations.
8336
8337 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
8338
8339         * gst/gstpad.c:
8340         Fix typo in the docs.
8341
8342 2007-06-15  Wim Taymans  <wim@fluendo.com>
8343
8344         * docs/libs/gstreamer-libs-sections.txt:
8345         Add docs for new methods.
8346
8347 2007-06-15  Wim Taymans  <wim@fluendo.com>
8348
8349         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8350         (gst_multi_queue_item_new):
8351         Don't use GSlice because we don't depend on >= 2.10 yet.
8352
8353 2007-06-15  Wim Taymans  <wim@fluendo.com>
8354
8355         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8356         (update_time_level), (apply_segment), (apply_buffer),
8357         (gst_single_queue_push_one), (gst_multi_queue_item_new),
8358         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8359         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8360         (single_queue_underrun_cb), (single_queue_check_full):
8361         Remove debug printf.
8362
8363 2007-06-15  Wim Taymans  <wim@fluendo.com>
8364
8365         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8366         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8367         (gst_data_queue_set_flushing), (gst_data_queue_push),
8368         (gst_data_queue_pop), (gst_data_queue_drop_head),
8369         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8370         * libs/gst/base/gstdataqueue.h:
8371         Various cleanups.
8372         Added methods to get the current levels and to inform the queue that the
8373         'full' limits changed.
8374
8375         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8376         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8377         (gst_single_queue_flush), (update_time_level), (apply_segment),
8378         (apply_buffer), (gst_single_queue_push_one),
8379         (gst_multi_queue_item_steal_object),
8380         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8381         (gst_multi_queue_loop), (gst_multi_queue_chain),
8382         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8383         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8384         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8385         (single_queue_underrun_cb), (single_queue_check_full),
8386         (gst_single_queue_new):
8387         Keep track of time in the queue by measuring the difference between
8388         running_time on input and output. This gives more accurate results and
8389         can compensate for segments correctly.
8390         Make a queue by default only 5 buffers deep. We will now increase the
8391         buffer size depending on the filledness of the other queues.
8392         Factor out commong flush code.
8393         Make sure we don't add additional refcounts to buffers when we can avoid
8394         it.
8395         Propagate GstFlowReturn differently.
8396         Use GSlice for intermediate GstMultiQueueItems.
8397         Keep track of EOS.
8398         Resize queues on over and underruns based on filled level of other
8399         queues.
8400         When checking if the queue is filled, prefer to measure in time if we
8401         can and fall back to bytes when no time is known.
8402
8403         * plugins/elements/gstqueue.c:
8404         Fix return value.
8405
8406 2007-06-15  Wim Taymans  <wim@fluendo.com>
8407
8408         * libs/gst/base/gstbasetransform.c:
8409         (gst_base_transform_sink_event):
8410         Work around the brokenness of the event vmethod in basetransform. Prefer
8411         to return TRUE when the subclass returned FALSE (meaning don't forward
8412         the event). 
8413
8414         * libs/gst/base/gstbasetransform.h:
8415         Clarify the docs.
8416
8417 2007-06-15  Wim Taymans  <wim@fluendo.com>
8418
8419         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8420         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8421         (gst_base_src_default_query), (gst_base_src_get_range),
8422         (gst_base_src_start):
8423         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8424         Improve debugging.
8425
8426 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8427
8428         * docs/pwg/advanced-types.xml:
8429           Added more formats to caps table.
8430
8431 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8432
8433         * tools/gst-launch.c: (main):
8434           Remove crufy code. GOption does not need this workaround.
8435
8436 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8437
8438         * libs/gst/controller/gstcontroller.c:
8439         (gst_controlled_property_set_interpolation_mode):
8440           Fix wrong getter for enums in controller.
8441
8442 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8443
8444         * libs/gst/check/gstcheck.c: (gst_check_init):
8445           Intercept criticals and warnings in the Gst-Phonon log domain, so
8446           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8447           well.
8448         
8449 2007-06-14  Edward Hervey  <edward@fluendo.com>
8450
8451         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8452         Since this file doesn't include "gst.h" it will not go through the
8453         macros that disable GST_LOG if debugging was disabled.
8454
8455 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8456
8457         * libs/gst/check/Makefile.am:
8458         * libs/gst/check/gstcheck.h:
8459         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8460         * pkgconfig/gstreamer-check.pc.in:
8461           Ugly 'fix' for the controller unit test on the p5 bot: in
8462           fail_unless_equals_float() check whether the values are 'almost
8463           equal' by allowing a small absolute error, which should be good
8464           enough for our use cases (normal numbers and values close to 0).
8465           Proper fixage left to floating point arithmetic aficionados.
8466
8467 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8468
8469         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8470         (gst_base_sink_render_object), (gst_base_sink_get_position):
8471           Add two breaks thats where missing.
8472
8473 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8474
8475         * docs/libs/gstreamer-libs-sections.txt:
8476         * libs/gst/check/gstcheck.h:
8477           API: add fail_unless_equals_float() and assert_equals_float().
8478           Add documentation for some of the macros.
8479
8480         * tests/check/libs/controller.c: (GST_START_TEST):
8481           Use newly-added asserts.
8482
8483 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8484
8485         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8486           Show the caps change in the log to help spotting the case of not
8487           exactly matching caps.
8488
8489 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8490
8491         * docs/pwg/building-boiler.xml:
8492           Fix typos, spotted by Thijs Vermeir (#447190).
8493
8494 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8495
8496         * docs/plugins/tmpl/.cvsignore:
8497         Ignore file to keep the buildbots happy
8498
8499 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8500
8501         * docs/plugins/Makefile.am:
8502         * docs/plugins/gstreamer-plugins-docs.sgml:
8503         * docs/plugins/gstreamer-plugins-sections.txt:
8504         Pull fdsink into the docs too.
8505
8506 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8507
8508         * libs/gst/controller/gstinterpolation.c:
8509         Actually use the new functions with min/max checks for the trigger and
8510         none interpolation modes for get() and get_value_array() instead of
8511         just the latter.
8512
8513 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8514
8515         * libs/gst/controller/gstcontroller.c:
8516         (gst_controlled_property_free):
8517         Unset the minimum and maximum GValues when freeing the corresponding
8518         GstControllerProperty struct.
8519
8520 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8521
8522         * libs/gst/controller/gstcontroller.c:
8523         (gst_controlled_property_new):
8524         * libs/gst/controller/gstcontrollerprivate.h:
8525         * libs/gst/controller/gstinterpolation.c:
8526         (gst_controlled_property_find_control_point_node),
8527         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8528         (interpolate_none_get_string_value_array),
8529         (interpolate_trigger_get),
8530         (interpolate_trigger_get_enum_value_array),
8531         (interpolate_trigger_get_string_value_array):
8532         Protect against values larger or smaller than the minimum or maximum
8533         allowed value for the property when using values that can be compared.
8534
8535         Optimize trigger interpolator a bit by taking the last requested value
8536         into account instead of always looping through the complete list.
8537
8538         Fix coding style a bit, everywhere else we use "return foo" instead
8539         of "return (foo)".
8540         
8541         * tests/check/libs/controller.c: (GST_START_TEST),
8542         (gst_controller_suite):
8543         Add unit test for the protection against too large or too small
8544         values.
8545
8546 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8547
8548         * docs/random/slomo/controller.txt:
8549         Add some thoughts about the future of the controller.
8550
8551 2007-06-08  Wim Taymans  <wim@fluendo.com>
8552
8553         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8554         Don't overflow in retimestamping code.
8555
8556 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8557
8558         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8559         Use gst_util_guint64_to_gdouble for conversions.
8560         * win32/common/libgstreamer.def:
8561         Add new exported functions.
8562
8563 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8564
8565         * gst/gstutils.c:
8566           Small docs addition.
8567
8568 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8569
8570         * README:
8571           Remove that test line again.
8572
8573 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8574
8575         * README:
8576           Test commit mail sending.
8577
8578 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8579
8580         * configure.ac:
8581           Fix typo and test commit mail sending.
8582
8583 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8584
8585         * tests/examples/controller/audio-example.c:
8586           Improve comment and test commit mail sending.
8587
8588 2007-06-07  Wim Taymans  <wim@fluendo.com>
8589
8590         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8591         (gst_bin_remove_func), (gst_bin_element_set_state),
8592         (bin_handle_async_start), (bin_handle_async_done),
8593         (gst_bin_handle_message_func):
8594         Add helper function to find messages.
8595         Generate the async-done messages together with the state change
8596         messages.
8597         Small cleanups in handling toplevel bins.
8598
8599 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8600
8601         * libs/gst/base/gstdataqueue.c:
8602         * libs/gst/base/gstdataqueue.h:
8603         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8604         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8605         (gst_multi_queue_sink_event):
8606         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8607           Fix multiqueue leaking buffers and events when downstream or the
8608           queue are flushing. Make refcounting assumptions explicit and
8609           document them (shouldn't break existing code that uses it other than
8610           maybe leak miniobjects, but that already happens anyway). Add unit
8611           test for the most common flushing case. Fixes #423700.
8612           
8613 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8614
8615         * libs/gst/controller/gstcontroller.c:
8616         Clarify docs: The get_all, get_value_array(s) functions
8617         don't modify the GObject properties.
8618
8619 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8620
8621         * libs/gst/controller/gstcontroller.c:
8622         (gst_controlled_property_set_interpolation_mode),
8623         (gst_controlled_property_prepend_default),
8624         (gst_controlled_property_new), (gst_controller_set_unlocked),
8625         (gst_controller_set), (gst_controller_set_from_list),
8626         (gst_controller_unset), (gst_controller_unset_all):
8627         * libs/gst/controller/gstcontrollerprivate.h:
8628         * libs/gst/controller/gstinterpolation.c:
8629         Factor out the 'set' logic into gst_controller_set_unlocked for the
8630         gst_controller_set and gst_controller_set_from_list functions.
8631
8632         To make life of the interpolators easier always add a control point
8633         at timestamp zero with the default value.
8634
8635         In the linear interpolator make things more obvious by better variable
8636         naming (slope).
8637
8638         Implement cubic interpolation mode (by using a natural cubic spline)
8639         and map the quadratic interpolation mode to this too (as quadratic
8640         doesn't make much sense, see discussion on the list).
8641
8642         * tests/check/libs/controller.c: (GST_START_TEST),
8643         (gst_controller_suite):
8644         Add unit test for the cubic interpolation mode and check everywhere
8645         if the interpolation mode could be set as expected.
8646
8647 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8648
8649         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8650           Don't use GLib-2.10 functions, we still depend on
8651           GLib-how-old-is-it-again-2.8.
8652
8653 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8654
8655         * docs/gst/gstreamer-sections.txt:
8656         * gst/Makefile.am:
8657         * gst/gst.c:
8658         * gst/gst.h:
8659         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8660         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8661         (_gst_param_fraction_values_cmp),
8662         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8663         * gst/gstparamspecs.h:
8664         * gst/gstvalue.c:
8665         * tests/check/Makefile.am:
8666         * tests/check/gst/.cvsignore:
8667         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8668         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8669         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8670         (GST_START_TEST), (gst_param_spec_suite):
8671           API: add GstParamSpecFraction, so elements can have fraction
8672           properties without lots of painful string parsing (#444648).
8673
8674 2007-06-05  Wim Taymans  <wim@fluendo.com>
8675
8676         * gst/gstobject.c: (gst_object_class_init):
8677         Fix signal signature.
8678
8679         * gst/gstsegment.c:
8680         Add small clarification in the api docs.
8681
8682         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8683         States are protected with object lock.
8684
8685 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8686
8687         * AUTHORS:
8688         I should probably be listed as an author by now.
8689
8690         * docs/random/release:
8691         Update the release doc
8692
8693 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8694
8695         * gst/gstvalue.c:
8696           Make docs for gst_value_compare() mention return enums that
8697           actually exist.
8698
8699 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8700
8701         * configure.ac:
8702           Back to CVS
8703
8704 === release 0.10.13 ===
8705
8706 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8707
8708         * configure.ac:
8709           releasing 0.10.13, "With or without you"
8710
8711 2007-05-25  Wim Taymans  <wim@fluendo.com>
8712
8713         * gst/gstbin.c: (bin_handle_async_done):
8714         Make sure that the child bin stops after completing the async state
8715         change so that the parent can continue the state change to PLAYING.
8716         Fixes #441159.
8717
8718 2007-05-25  Wim Taymans  <wim@fluendo.com>
8719
8720         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8721         (unref_data), (gst_collect_pads_remove_pad),
8722         (gst_collect_pads_check_pads):
8723         Use additional refcounting to avoid crashes when dynamically adding and
8724         removing pads. Fixes #420206.
8725
8726 2007-05-24  Wim Taymans  <wim@fluendo.com>
8727
8728         * tools/gst-launch.c: (event_loop):
8729         When buffering goes from a two digit to a single digit number, make sure
8730         to remove the old second digit by writing a blank over it.
8731
8732 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8733
8734         * libs/gst/base/gstdataqueue.c:
8735           Eliminate tabs and trailing comma in enum list; fix some typos.
8736
8737 2007-05-24  Wim Taymans  <wim@fluendo.com>
8738
8739         * tests/check/gst/gstbin.c: (GST_START_TEST):
8740         Allow refcount of 3 and 4 because some state thread might still be busy
8741         with it.
8742
8743 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8744
8745         * plugins/elements/Makefile.am:
8746         * plugins/elements/gstmultiqueue.h:
8747         * plugins/elements/gstqueue.h:
8748           These are not installed headers, no need for padding.
8749
8750 2007-05-24  Wim Taymans  <wim@fluendo.com>
8751
8752         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8753         (gst_bin_continue_func):
8754         Enable latency for next release.
8755         Restore STATE_LOCK around recalc_state that was left out during the
8756         rewrite and could result in racy behaviour when _get_state and
8757         recalc_state are run concurrently. See #440463.
8758
8759 2007-05-23  Wim Taymans  <wim@fluendo.com>
8760
8761         * tests/check/gst/gstsystemclock.c: (store_callback),
8762         (GST_START_TEST):
8763         Improve test_async_order to also work when both timers are already
8764         expired when we get scheduled to check it.
8765
8766 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8767
8768         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8769         (gst_bin_set_property), (gst_bin_get_property),
8770         (gst_bin_remove_func), (gst_bin_handle_message_func):
8771         * gst/gstbin.h:
8772           'private' is a c++ keyword, let's not use that in header files,
8773           otherwise c++ compilers will throw a tantrum.
8774
8775 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8776
8777         * plugins/elements/gstelements.c:
8778         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8779         (gst_file_sink_get_current_offset):
8780         * plugins/indexers/gstindexers.c: (plugin_init):
8781           Use #ifdef for HAVE_XYZ for consistency.
8782
8783         * tests/check/Makefile.am:
8784         * tests/check/elements/.cvsignore:
8785         * tests/check/elements/filesink.c: (setup_filesink),
8786         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8787           Add some unit tests for filesink.
8788
8789 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8790
8791         Patch by: Mark Nauwelaerts <manauw at skynet be>
8792
8793         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8794         (gst_file_sink_query), (gst_file_sink_do_seek),
8795         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8796         * plugins/elements/gstfilesink.h:
8797           Fix position reporting; rename data_written member to current_pos to
8798           reflect its real meaning (fixes #412648).
8799
8800 2007-05-22  Edward Hervey  <edward@fluendo.com>
8801
8802         * docs/gst/gstreamer-sections.txt:
8803         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8804         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8805         (gst_bin_remove_func), (gst_bin_handle_message_func):
8806         * gst/gstbin.h:
8807         Add a property for bins that handle the state change of their childs.
8808         Fixes #435880
8809
8810 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8811
8812         * libs/gst/controller/gstinterpolation.c:
8813         Use an array of the correct type when using _get_value_array with
8814         linear interpolation.
8815
8816 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8817
8818         * gst/gstelement.c (gst_element_requires_clock,
8819           gst_element_provides_clock, gst_element_request_pad,
8820           gst_element_class_set_details, gst_element_class_set_details_simple,
8821           gst_element_default_send_event, gst_element_abort_state,
8822           gst_element_continue_state, gst_element_set_state,
8823           gst_element_set_state_func, iterator_activate_fold_with_resync):
8824         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8825           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8826           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8827           gst_pad_get_range, gst_pad_pull_range):
8828         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8829           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8830           GstPadActivateModeFunction, GstPadChainFunction,
8831           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8832           GstPadFixateCapsFunction, GstPadTemplate):
8833         * gst/gstpipeline.c (gst_pipeline_change_state,
8834           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8835           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8836           gst_pipeline_get_delay):
8837           Whitespace and docs fixes.
8838
8839 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8840
8841         * libs/gst/controller/gstinterpolation.c:
8842         (interpolate_trigger_get_enum_value_array),
8843         (interpolate_trigger_get_string_value_array):
8844         Add support for retrieving value arrays when using the trigger
8845         interpolation mode. 
8846
8847 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8848
8849         * libs/gst/controller/gstcontroller.c:
8850         (gst_controller_get_value_array):
8851         * libs/gst/controller/gstcontroller.h:
8852         Clarify the docs of gst_controller_get_value_array(): The array where
8853         the values should be written to must be allocated as there seems to be
8854         no way to get the size of a random GType. This doesn't change any
8855         behaviour. Also fix some typos all over the place and remove an unused,
8856         commented function that is not necessary as g_object_set() could be
8857         used instead.
8858         * tests/check/libs/controller.c: (GST_START_TEST),
8859         (gst_controller_suite):
8860         Add unit test for gst_controller_get_value_array().
8861
8862 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8863
8864         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8865
8866         Disable part of the gst_buffer_try_new_and_alloc test, because
8867         it can happily succeed on 64-bit systems where there's more address
8868         space available.
8869
8870 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8871
8872         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8873         Add unit test for the improved caps checking from bug #421543.
8874
8875 2007-05-21  Wim Taymans  <wim@fluendo.com>
8876
8877         * docs/design/part-synchronisation.txt:
8878         Small addition.
8879
8880         * gst/gstbin.c: (gst_bin_query):
8881         * plugins/elements/gstqueue.c: (apply_segment):
8882         Improve debugging.
8883
8884         * gst/gstmessage.h:
8885         Improve docs.
8886
8887 2007-05-21  Wim Taymans  <wim@fluendo.com>
8888
8889         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8890         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8891         (gst_pad_configure_src):
8892         Added simple version of improved caps checking. It was previously
8893         assumed that a setcaps function would check the validity of the caps but
8894         people prefer us to check caps against the template automatically. 
8895         Fixes #421543.
8896
8897 2007-05-21  Wim Taymans  <wim@fluendo.com>
8898
8899         * libs/gst/base/gstbasetransform.h:
8900         Fix macro for locking/unlocking the transform lock.
8901
8902 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8903
8904         * docs/plugins/tmpl/.cvsignore:
8905           Ignore more.
8906
8907 2007-05-18  Edward Hervey  <edward@fluendo.com>
8908
8909         * plugins/elements/gstqueue.c: (gst_queue_loop):
8910         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8911         for the subtle art of warning a potentially blocking thread that it
8912         should check the source pad return value, and relay the information
8913         upstream.
8914
8915 2007-05-18  Edward Hervey  <edward@fluendo.com>
8916
8917         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8918         Release the queue lock !
8919
8920 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8921
8922         * docs/libs/gstreamer-libs-sections.txt:
8923         Add the two new controller functions to the appropiate places.
8924
8925 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8926
8927         reviewed by: Stefan Kost <ensonic@users.sf.net>
8928
8929         * libs/gst/controller/gstcontroller.c:
8930         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8931         (_gst_controller_get_property), (_gst_controller_set_property),
8932         (_gst_controller_init), (_gst_controller_class_init):
8933         * libs/gst/controller/gstcontroller.h:
8934         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8935         (gst_object_get_control_rate), (gst_object_set_control_rate):
8936         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8937         Add API that provides sync suggestion timestamps for elements that
8938         call gst_object_sync_values() from which those elements can subdivide
8939         their processing loop to get the best results for the controlled
8940         properties. For now it just suggests last_sync + control_rate as
8941         new timestamp but this will be improved in the future.
8942
8943         While doing that change the control-rate property to a GstClockTime
8944         from guint and change it's meaning from samples to nanoseconds as
8945         the GstController doesn't know anything about sampling rate. Strictly
8946         speaking this breaks ABI but as the control-rate property didn't do
8947         anything in the past and as such couldn't be used this should be no
8948         problem.        
8949
8950 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8951
8952         reviewed by: Stefan Kost <ensonic@users.sf.net>
8953
8954         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8955         (gst_controller_unset_all):
8956         * libs/gst/controller/gstcontrollerprivate.h:
8957         * libs/gst/controller/gstinterpolation.c:
8958         (gst_controlled_property_find_control_point_node):
8959         Save last synced value from the list to continue searching from there
8960         in future syncs. This speeds everything up a bit.
8961         
8962 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8963
8964         reviewed by: Stefan Kost <ensonic@users.sf.net>
8965
8966         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8967         (gst_control_point_find), (gst_controlled_property_new),
8968         (gst_control_point_free), (gst_controlled_property_free),
8969         (gst_controller_set), (gst_controller_set_from_list),
8970         (gst_controller_unset), (gst_controller_unset_all),
8971         (gst_controller_sync_values):
8972         * libs/gst/controller/gstcontroller.h:
8973         * libs/gst/controller/gstcontrollerprivate.h:
8974         * libs/gst/controller/gstinterpolation.c:
8975         (gst_controlled_property_find_control_point_node),
8976         (interpolate_none_get), (interpolate_trigger_get):
8977         Add a new private GstControlPoint struct which "inherits" from
8978         GstTimedValue to allow different interpolators to store internal
8979         values next to each control point. From the outside everything is
8980         still a GstControlPoint so we don't loose binary compatibility.
8981         Also fixup all the GValue handling to not leak GValues or list nodes.
8982         * tests/check/libs/controller.c: (GST_START_TEST):
8983         Free the list nodes and GValues in the controller_misc test.
8984
8985 2007-05-17  Edward Hervey  <edward@fluendo.com>
8986
8987         * gst/gstsegment.c:
8988         Small doc fix.
8989
8990 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8991
8992         * gst/gstplugin.c: (gst_plugin_load_file):
8993           If we fail to load a plugin because of unresolved symbols or missing
8994           libraries and spew a warning to stderr, we may just as well mention
8995           which plugin it was that failed to load.
8996
8997 2007-05-13  David Schleef  <ds@schleef.org>
8998
8999         * docs/Makefile.am: the gtk-doc makefile snippet correctly
9000           handles the case when ENABLE_GTK_DOC is false, and installs
9001           the prebuilt documentation.  So gtk-doc subdirs are 
9002           unconditionally enabled.  Fixes: #349099.
9003
9004 2007-05-13  David Schleef  <ds@schleef.org>
9005
9006         * gst/gstutils.h: Reword some documentation.
9007
9008 2007-05-12  David Schleef  <ds@schleef.org>
9009
9010         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
9011           do anything with the passed "module" parameter, so remove it.
9012           Allows removal of additional vestigal code.
9013
9014 2007-05-12  David Schleef  <ds@schleef.org>
9015
9016         * gst/gstplugin.c:
9017           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
9018           Switch to using g_stat() because it's more portable.
9019
9020 2007-05-12  David Schleef  <ds@schleef.org>
9021
9022         * gst/gst.c:
9023           Add GST_DISABLE_OPTION_PARSING, in order to disable option
9024           parsing for embedded systems.
9025         * gst/gstelementfactory.c:
9026           Allow gst_element_register() to be called with plugin==NULL.
9027           Did nobody notice that static elements were broken?
9028
9029 2007-05-12  Wim Taymans  <wim@fluendo.com>
9030
9031         * tools/gst-launch.c: (event_loop):
9032         Give more interesting info when buffering starts and stops.
9033         Fix case where buffering starts but we fail to update the buffering flag
9034         because the target state is not PLAYING.
9035
9036 2007-05-12  Wim Taymans  <wim@fluendo.com>
9037
9038         * plugins/elements/gstqueue.c: (gst_queue_init),
9039         (gst_queue_finalize), (update_time_level), (apply_segment),
9040         (apply_buffer), (gst_queue_locked_flush),
9041         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
9042         (gst_queue_handle_sink_event), (gst_queue_chain),
9043         (gst_queue_push_one), (gst_queue_loop):
9044         * plugins/elements/gstqueue.h:
9045         Refactor an cleanup queue a bit.
9046         Do better time level calculations that also work when the srcpad is not
9047         yet running.
9048         Remove some unneeded debug lines.
9049
9050         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
9051         Added testcase for time level measurement.
9052         Try to make some stuff more racefree.
9053
9054 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
9055
9056         * gst/gsturi.c: (gst_element_make_from_uri):
9057           Don't leak plugin feature.
9058
9059         * tests/check/Makefile.am:
9060         * tests/check/gst/.cvsignore:
9061         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
9062           Add brain-dead unit test.
9063
9064 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
9065
9066         Patch by: Jeroen Wouters <woutersj at gmail com>
9067
9068         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
9069           Treat protocol strings in a case-insensitive way (#437563).
9070
9071 2007-05-11  Michael Smith <msmith@fluendo.com>
9072
9073         * gst/gstplugin.c: (gst_plugin_load_file):
9074         * gst/gstregistry.c: (gst_registry_scan_path_level):
9075           Don't print a g_warning for any failure to load a shared object.
9076           Instead, push this down into gstplugin.c, and warn _only_ if we
9077           failed to open the module (i.e. failure to link).
9078           Avoids warnings on normal, working, non-plugin .so files.
9079
9080 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
9081
9082         * gst/gstplugin.c (gst_plugin_load_file):
9083         * gst/gstregistry.c (GST_CAT_DEFAULT,
9084           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
9085           Print a g_warning if there was an error when loading a plugins during
9086           registry scan. The shuld help beginners starting with gst-plugin
9087           template.
9088
9089 2007-05-10  Wim Taymans  <wim@fluendo.com>
9090
9091         * plugins/elements/gstqueue.c: (gst_queue_class_init),
9092         (update_time_level), (gst_queue_locked_flush),
9093         (gst_queue_handle_sink_event), (gst_queue_chain),
9094         (gst_queue_push_one), (gst_queue_loop):
9095         * plugins/elements/gstqueue.h:
9096         Be smarter when calculating the current amount of data in the queue by
9097         measuring the difference between start and end timestamps (in running
9098         time) inside the queue. Fixes #432876.
9099         API: GstQueue::pushing to notify elements that we are pushing data again
9100         since the running signal is rather broken for this purpose.
9101
9102 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
9103
9104         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
9105           gst_queue_base_init, gst_queue_init):
9106           use GST_BOILERPLATE
9107
9108 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
9109
9110         * win32/common/libgstreamer.def:
9111         Add new exported functions.
9112         * win32/vs6/grammar.dsp:
9113         Use grammar pre-generated files.
9114
9115 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9116
9117         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
9118
9119         * gst/Makefile.am:
9120         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
9121         * gst/gstparse.h:
9122         * gst/gstutils.c: (gst_parse_bin_from_description):
9123         * gst/gstutils.h:
9124           Maintain API and ABI when --disable-parse is used. Now that
9125           we have an appropriate error code, we can just return NULL and the
9126           appropriate error when gst_parse_launch() is used despite it having
9127           been disabled (#342564).
9128
9129         * tests/check/Makefile.am:
9130         * tests/check/pipelines/.cvsignore:
9131         * tests/check/pipelines/parse-disabled.c:
9132           Make sure these functions exist and return NULL plus a GError when
9133           --disable-parse is used.
9134
9135 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9136
9137         * tests/benchmarks/complexity.c: (main):
9138         * tests/benchmarks/mass-elements.c: (main):
9139           Set a good example and don't leak messages.
9140
9141 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
9142
9143         * docs/gst/Makefile.am:
9144         * docs/libs/Makefile.am:
9145           Correct fixxrefs options.
9146
9147         * docs/plugins/Makefile.am:
9148         * docs/plugins/gstreamer-plugins-docs.sgml:
9149         * docs/plugins/gstreamer-plugins-sections.txt:
9150         * plugins/elements/Makefile.am:
9151         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9152         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9153           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9154           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9155           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9156           _GstCapsFilterClass, trans_class):
9157         * plugins/elements/gstelements.c (name, rank, type, _elements):
9158         * plugins/elements/gstidentity.c
9159           (gst_identity_check_imperfect_timestamp,
9160           gst_identity_check_imperfect_offset):
9161           Document capsfilter and add doc-blurb to identity.
9162
9163 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9164
9165         * libs/gst/controller/gstcontroller.c:
9166         (gst_controlled_property_set_interpolation_mode):
9167         * libs/gst/controller/gstinterpolation.c:
9168           Don't crash if someone tries to set an interpolation mode that
9169           is invalid or that isn't supported yet. Fixes #422295.
9170
9171         * tests/check/libs/controller.c: (GST_START_TEST),
9172         (gst_controller_suite):
9173           Add a test case for the above.
9174
9175 2007-05-03  Edward Hervey  <edward@fluendo.com>
9176
9177         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9178         Properly set the last_stop position on GstSegment. This will only happen
9179         if there is a buffer to push out.
9180
9181 2007-05-03  Wim Taymans  <wim@fluendo.com>
9182
9183         * libs/gst/base/gstbasetransform.c:
9184         (gst_base_transform_buffer_alloc):
9185         always_in_place does not mean that the sink and source caps are the
9186         same! Make sure we don't blindly proxy the buffer_alloc in this case.
9187
9188 2007-05-03  Wim Taymans  <wim@fluendo.com>
9189
9190         * docs/libs/gstreamer-libs-sections.txt:
9191         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9192         (gst_base_src_default_query), (gst_base_src_get_range):
9193         * libs/gst/base/gstbasesrc.h:
9194         API: gst_base_src_query_latency(). Added method so that subclasses can
9195         easily get the latency values of the base source class.
9196
9197 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
9198
9199         * tools/gst-inspect.c (print_implementation_info):
9200         Remove 0.8 cruft.
9201
9202 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
9203
9204         * tools/Makefile.am:
9205         * tools/gst-launch.1.in:
9206           Don't create a customised man page based on the host architecture,
9207           describe the default registry path generically. That way the man
9208           page is the same for all architectures and packagers have one
9209           multilib issue less to deal with. Fixes #434926.
9210
9211 2007-05-02  Wim Taymans  <wim@fluendo.com>
9212
9213         * gst/gstpad.c:
9214         Fix documentation as spotted by rg on IRC. 
9215
9216 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
9217
9218         * gst/gstutils.c:
9219           Improve docs for gst_element_{link,unlink}.
9220
9221 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
9222
9223         * docs/design/part-events.txt:
9224         * docs/design/part-overview.txt:
9225         * gst/gstevent.c:
9226         * gst/gsturi.c:
9227         * gst/gsturi.h:
9228         * libs/gst/base/gstbasesink.c:
9229           Typo fixes; minor docs addition.
9230
9231 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9232
9233         * docs/gst/gstreamer-sections.txt:
9234         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9235         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9236         * gst/gsturi.h:
9237         API: Add gst_uri_protocol_is_supported(), which checks if a sink
9238         or src that supports a given URI protocol exists.
9239
9240 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9241
9242         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9243         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9244         Set the location to NULL if "file://" is set as URI. Otherwise
9245         some random previous URI would still be set if "file://" is
9246         set on an already used filesink/filesrc.
9247
9248 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9249
9250         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9251         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9252         Special case the "file://" URI as as this is used by some
9253         applications to test with gst_element_make_from_uri if there's
9254         an element that supports the URI protocol.
9255         Also move the g_path_is_absolute() check for the location part
9256         of the URI to also check this for "file://localhost/bla" URIs.
9257
9258 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
9259
9260         * docs/gst/gstreamer-sections.txt:
9261         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9262         * gst/gstbuffer.h:
9263         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9264         (gst_buffer_suite):
9265           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9266
9267 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
9268
9269         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9270         (gst_registry_binary_load_pad_template),
9271         (gst_registry_binary_load_plugin),
9272         (gst_registry_binary_read_cache):
9273         * gst/gstregistrybinary.h:
9274           Implement no-mmap alternative for registry reading. Do code cleanups.
9275           Add more comments about avoiding strdups for all text data. Comments
9276           welcome.
9277
9278 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9279
9280         * gst/gstregistrybinary.h (GstBinaryPluginElement,
9281           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9282           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9283           Comment structs and reformat to fix the build (that stuff should go
9284           into a priv. header).
9285
9286 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9287
9288         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9289         (gst_registry_binary_load_feature):
9290         * gst/gstregistrybinary.h:
9291           Refactor so that we can implement multiple features. Add support for
9292           TypeFindFactory features.
9293
9294 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
9295
9296         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9297
9298         * configure.ac:
9299           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9300
9301 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
9302
9303         * gst/gstbin.c: (gst_bin_element_set_state),
9304         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9305         (bin_handle_async_done), (gst_bin_handle_message_func):
9306           Fix build with --gst-disable-gst-debug
9307
9308 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
9309
9310         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9311           Make sure streaming has finished before calling the ::stop() vfunc,
9312           since that vfunc might clear state which is being used in the
9313           streaming thread. This fixes a race that caused crashes in
9314           audioresample when shutting down a pipeline (#420106).
9315
9316 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9317
9318         * docs/gst/gstreamer-sections.txt:
9319           That was one byte missing.
9320
9321 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9322
9323         * configure.ac:
9324         * docs/gst/gstreamer-sections.txt:
9325         * gst/Makefile.am:
9326         * gst/gstconfig.h.in:
9327         * gst/gstobject.c: (gst_object_class_init),
9328         (gst_signal_object_class_init):
9329         * gst/gstobject.h:
9330           2nd attempt to have a xml-less build as a joined effort of #413123
9331           and #421480.
9332
9333 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9334
9335         * docs/design/draft-tagreading.txt:
9336           Added open issues/thoughts to draft.
9337
9338 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9339
9340         * gst/parse/grammar.tab.pre.c:
9341         * gst/parse/grammar.tab.pre.h:
9342         * gst/parse/lex._gst_parse_yy.pre.c:
9343         Update the prebuild parser sources.
9344
9345 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9346
9347         * gst/parse/Makefile.am:
9348         And now fix the building of the flex sources. Now everything should
9349         work as expected.
9350
9351 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9352
9353         * gst/parse/Makefile.am:
9354         Now hopefully fix the build failures by setting proper rule
9355         dependencies and moving instead of copying.
9356
9357 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9358
9359         * tests/benchmarks/complexity.gnuplot:
9360         * tests/benchmarks/complexity.scm:
9361         * tests/benchmarks/mass-elements.gnuplot:
9362         * tests/benchmarks/mass-elements.scm:
9363           Total licensification.
9364
9365 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9366
9367         * gst/parse/Makefile.am:
9368           Fix the build by correcting the rule that gave wrong files to flex.
9369
9370 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9371
9372         * tests/benchmarks/complexity.c:
9373         * tests/benchmarks/mass-elements.c:
9374           Change licence to LGPL as granted by Benjamin and Andy.
9375
9376 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9377
9378         * gst/parse/Makefile.am:
9379         Add correct grammar.tab.h dependency if compiling without new enough
9380         flex. Fixes #431150.
9381
9382 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9383
9384         * gst/parse/Makefile.am:
9385         Fix typo and use outdated sources if the flex/bison sources are newer
9386         than the pregenerated ones but flex is too old. Print a warning in
9387         that case. This should fix the build on the build bot.
9388
9389 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9390
9391         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9392         * gst/parse/Makefile.am:
9393         * gst/parse/grammar.y:
9394         * gst/parse/parse.l:
9395         Make the parser reentrant and recursively callable. This requires flex
9396         >= 2.5.31, for older versions pregenerated sources are used as we
9397         can't bump the build dependency. Finally fixes #349180.
9398
9399         * gst/gstparse.c: (gst_parse_launch):
9400         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9401         now anyway.
9402
9403         * docs/gst/Makefile.am:
9404         * docs/gst/Makefile.am:
9405         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9406         (__gst_parse_strfree), (__gst_parse_link_new),
9407         (__gst_parse_link_free), (__gst_parse_chain_new),
9408         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9409         (gst_parse_element_set), (gst_parse_free_link),
9410         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9411         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9412         (_gst_parse_launch):
9413         * gst/parse/grammar.tab.pre.h:
9414         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9415         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9416         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9417         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9418         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9419         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9420         (_gst_parse_yypop_buffer_state),
9421         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9422         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9423         (yy_fatal_error), (_gst_parse_yyget_extra),
9424         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9425         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9426         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9427         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9428         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9429         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9430         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9431         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9432         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9433         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9434         (_gst_parse_yyfree):
9435         If the installed flex version is too old use pre-generated parser
9436         sources. These pre-generated parser sources are always updated when
9437         the actual flex/bison sources change but require everybody who wants
9438         to change something in the parser to have flex >= 2.5.31 installed.
9439
9440 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9441
9442         * common/m4/gst-gettext.m4:
9443         * gst/gst-i18n-lib.h:
9444           Make --disable-nls to work
9445
9446 2007-04-17  Wim Taymans  <wim@fluendo.com>
9447
9448         * gst/gstconfig.h.in:
9449         Revert previous change that broke the build.
9450
9451 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9452
9453         * configure.ac:
9454         * gst/Makefile.am:
9455         * gst/gstconfig.h.in:
9456           Drop libxml2 dependency when building with 
9457           --enable-binary-registry --disable-loadsave
9458
9459 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9460
9461         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9462         (gst_registry_binary_read_cache):
9463         * gst/gstregistrybinary.h:
9464           Remove unnecessary <sys/mman.h> include which broke the win32 build
9465           with MingW; move includes from header file to .c file, even if the
9466           header file isn't installed; use g_strerror() where UTF-8 strings
9467           are expected, such as in GST_DEBUG messages.
9468
9469 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9470
9471         * docs/libs/gstreamer-libs-sections.txt:
9472         Remove bogus addition for API I didn't end up keeping.
9473
9474         * libs/gst/base/gstbasesrc.h:
9475         Mention Since: 0.10.13 in the documentation.
9476
9477         Add the API keyword to the previous ChangeLog entry.
9478
9479 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9480
9481         * docs/libs/gstreamer-libs-sections.txt:
9482         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9483         (gst_base_src_default_prepare_seek_segment),
9484         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9485         * libs/gst/base/gstbasesrc.h:
9486         Allow basesrc derived classes to execute seeks in other formats
9487         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9488         to prepare the GstSegment in any format that their perform_seek method
9489         will be able to understand. The default implementation provides the
9490         old behaviour of attempting to convert the seek offsets to the 
9491         configured native format.
9492
9493         API: basesrc::prepare_seek_segment vmethod.
9494
9495 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9496
9497         * gst/gstelement.c: (gst_element_get_state_func):
9498         Don't output the same debug statement twice.
9499
9500         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9501         (gst_adapter_peek), (gst_adapter_take_buffer):
9502         Optimise the case where we have buffers at the head of the queue that
9503         can be joined quickly (because they're contiguous sub-buffers) by
9504         merging them together rather than copying data out into new memory.
9505
9506         * gst/parse/grammar.y:
9507         * tests/check/pipelines/parse-launch.c:
9508         Fix a leak in an error path for parse_launch, and add a check 
9509         for it to the testsuite.
9510
9511 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9512
9513         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9514           Don't deadlock when releasing a pad - gst_pad_set_active may try
9515           and take the multiqueue lock too.
9516
9517 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9518
9519         * gst/gsterror.c: (_gst_core_errors_init):
9520         * gst/gsterror.h:
9521           API: add GST_CORE_ERROR_DISABLED (#392804).
9522
9523 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9524
9525         * docs/faq/gst-uninstalled:
9526           don't get empty paths on the PATH variables
9527         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9528           Don't format for the uncommon terminal width of 84 characters.
9529
9530 2007-04-06  Wim Taymans  <wim@fluendo.com>
9531
9532         * gst/gstpipeline.c: (reset_stream_time),
9533         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9534         Only try to select a different pipeline clock when we went back to
9535         PAUSED and not when we merely got flushed.
9536
9537 2007-04-05  Michael Smith  <msmith@fluendo.com>
9538
9539         * tools/gst-launch.1.in:
9540           fractions are better supported in gstreamer than ractions, so
9541           suggest using those.
9542
9543 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9544
9545         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9546
9547         * po/LINGUAS:
9548         * po/da.po:
9549           Added Danish translation.
9550
9551 2007-04-05  Wim Taymans  <wim@fluendo.com>
9552
9553         * libs/gst/base/gstbasesink.c:
9554         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9555         Fix leak caused when refusing newsegment after EOS.
9556
9557         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9558         (gst_fake_sink_init), (gst_fake_sink_set_property),
9559         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9560         (gst_fake_sink_render), (gst_fake_sink_change_state):
9561         * plugins/elements/gstfakesink.h:
9562         Add num-buffers property to make the element generate EOS after a
9563         configurable amount of buffers.
9564         API: fakesink::num-buffers property.
9565
9566         * tests/check/elements/fakesink.c: (GST_START_TEST),
9567         (fakesink_suite):
9568         Fix GstBus leak in test.
9569         Test for fakesink num-buffers.
9570
9571 2007-04-05  Wim Taymans  <wim@fluendo.com>
9572
9573         * libs/gst/base/gstbasesink.c:
9574         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9575         (gst_base_sink_change_state):
9576         Don't accept anything after an EOS, return UNEXPECTED instead.
9577
9578         * tests/check/elements/fakesink.c: (GST_START_TEST),
9579         (fakesink_suite):
9580         Unit test for new EOS behaviour.
9581
9582 2007-04-05  Wim Taymans  <wim@fluendo.com>
9583
9584         * gst/gstelement.c: (gst_element_get_request_pad):
9585         Make padtemplates also work when they don't contain %s or %d.
9586
9587 2007-04-05  Wim Taymans  <wim@fluendo.com>
9588
9589         * docs/gst/gstreamer-sections.txt:
9590         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9591         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9592         * gst/gstclock.h:
9593         Improve _adjust_unlocked() so that it overflows less.
9594         Add gst_clock_unadjust_unlocked to convert from external time to
9595         internal time based on calibration.
9596         Add some more debug.
9597         API: GstClock::gst_clock_unadjust_unlocked()
9598
9599 2007-04-03  Wim Taymans  <wim@fluendo.com>
9600
9601         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9602
9603         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9604         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9605         when releasing sink pad. Fixes #425400.
9606
9607 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9608
9609         * docs/random/ensonic/dynlink.txt:
9610           More work on proposal for new core api.
9611
9612         * docs/libs/gstreamer-libs-sections.txt:
9613         * libs/gst/base/gstbasetransform.h:
9614           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9615           
9616         * libs/gst/controller/gstcontroller.c:
9617         (on_object_controlled_property_changed),
9618         (gst_controller_sync_values),
9619         (gst_controller_set_interpolation_mode):
9620         * libs/gst/controller/gstcontroller.h:
9621           Less verbose logging add docs for unimplemented parts and correctly
9622           return when using unavailable parts.
9623
9624 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9625
9626         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9627         Move all the debug to the CLOCK category, and associate it with
9628         the clock object.
9629
9630 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9631
9632         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9633         Make take_buffer a bit quicker by removing redundant checks
9634         caused by calling gst_adapter_take.
9635
9636 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9637
9638         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9639           Don't leak GCond.
9640
9641         * tests/check/Makefile.am:
9642         * tests/check/elements/.cvsignore:
9643         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9644         (GST_START_TEST), (multiqueue_suite):
9645           Add some dead simple unit tests for the 'multiqueue' element
9646           (some bits don't work yet and are disabled for now).
9647
9648 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9649
9650         * gst/gstelement.c: (gst_element_get_request_pad),
9651         (gst_element_class_get_request_pad_template):
9652           Make gst_element_get_request_pad() create request pads only for
9653           request pad templates and not for, say, sometimes pad templates.
9654
9655 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9656
9657         * docs/design/draft-klass.txt:
9658           Add example that needs more thinking.
9659         
9660         * docs/design/draft-missing-plugins.txt:
9661           More thoughts about wrapper plugins.
9662         
9663         * docs/random/ensonic/embedded.txt:
9664         * docs/random/ensonic/profiling.txt:
9665           More design work.
9666
9667 2007-03-25  Wim Taymans  <wim@fluendo.com>
9668
9669         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9670         (gst_base_src_loop):
9671         Only push the segment events in the PLAYING state for live sources.
9672
9673 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9674
9675         * gst/gstpipeline.c: (gst_pipeline_change_state):
9676         Modify the clock distribution path in PAUSED->PLAYING so that we 
9677         never attempt to choose a new clock unless we're actually leaving
9678         the PAUSED state for the first time. This prevents choosing a
9679         different clock when the state_change gets called for a 2nd time due
9680         to some element doing an async state change.
9681
9682 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9683
9684         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9685         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9686         (gst_pad_chain_unchecked), (gst_pad_push):
9687         Revert last commit. This needs some more thoughts.
9688
9689 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9690
9691         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9692         (gst_pad_chain_unchecked), (gst_pad_push):
9693         Check in set_caps if the caps are compatible with the pad and remove
9694         two functions that are redundant now. Fixes #421543.
9695
9696 2007-03-22  Wim Taymans  <wim@fluendo.com>
9697
9698         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9699         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9700         Unref some more to make valgrind happy.
9701
9702 2007-03-22  Wim Taymans  <wim@fluendo.com>
9703
9704         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9705         (gst_system_clock_id_wait_jitter),
9706         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9707         Fix anoying regression that survived a few releases. When adding an
9708         async entry while blocking on a sync entry, the sync entry will unblock
9709         but still be busy, so it should continue to wait instead of returning
9710         _BUSY to the app.
9711         Add some comments here and there.
9712
9713         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9714         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9715         Add testcase for this.
9716
9717 2007-03-22  Wim Taymans  <wim@fluendo.com>
9718
9719         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9720         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9721         WRONG_STATE and can silently pause the task. All other cases should
9722         error out.
9723
9724 2007-03-22  Wim Taymans  <wim@fluendo.com>
9725
9726         Patch by: Ville Syrjala <syrjala at sci dot fi>
9727
9728         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9729         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9730         Improve debugging.
9731
9732 2007-03-21  Michael Smith  <msmith@fluendo.com>
9733
9734         * docs/pwg/advanced-types.xml:
9735           Fix some errors in the typefinding docs pointed out on irc.
9736
9737 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9738
9739         * libs/gst/base/gstbasesrc.c:
9740         Clarify FIXME comment in the face of having added unlock_stop()
9741
9742 2007-03-21  Wim Taymans  <wim@fluendo.com>
9743
9744         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9745         Prepare for release where we warn against possible app breakage in the
9746         case of live pipelines along with an env var to enable/disable live
9747         preroll mode (GST_COMPAT=[no-]live-preroll).
9748
9749 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9750
9751         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9752         So we should use correct constants for checking for None offset.
9753
9754 2007-03-20  Wim Taymans  <wim@fluendo.com>
9755
9756         * docs/design/part-block.txt:
9757         Mention the fact that the newly switched element should be set to at
9758         least PAUSED.
9759
9760 2007-03-20  Wim Taymans  <wim@fluendo.com>
9761
9762         * gst/gst.c:
9763         Fix compilation with registry disabled as spotted by Saur.
9764
9765 2007-03-20  Wim Taymans  <wim@fluendo.com>
9766
9767         Patch by: Olivier Crete <tester at tester dot ca>
9768
9769         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9770         Look at the pending state too when syncing the element state to the
9771         parent. Fixes #420133.
9772
9773 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9774
9775         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9776         (gst_base_sink_change_state):
9777         * libs/gst/base/gstbasesink.h:
9778         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9779         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9780         (gst_base_src_deactivate):
9781         * libs/gst/base/gstbasesrc.h:
9782         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9783         for sub-classes to correctly clear any state they set trying to
9784         unlock, such as clearing out unlock commands from a command fd.
9785         API: basesrc::unlock_stop
9786         API: basesink::unlock_stop
9787
9788         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9789         (gst_fd_sink_render), (gst_fd_sink_unlock),
9790         (gst_fd_sink_unlock_stop):
9791         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9792         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9793         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9794
9795         Implement unlock_stop in fdsrc and fdsink.
9796         Implement seeking in fdsrc when a seekable fd is passed, as in
9797         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9798
9799 2007-03-19  Wim Taymans  <wim@fluendo.com>
9800
9801         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9802
9803         * gst/gstelement.c: (gst_element_class_init):
9804         Fix pad-added and pad-removed signal signatures so that the pad type is
9805         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9806
9807 2007-03-19  Wim Taymans  <wim@fluendo.com>
9808
9809         * docs/gst/gstreamer-sections.txt:
9810         Add new element field and method.
9811
9812         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9813         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9814         (gst_bin_recalc_state), (gst_bin_get_state_func),
9815         (gst_bin_element_set_state), (gst_bin_change_state_func),
9816         (gst_bin_continue_func), (bin_bus_handler),
9817         (bin_push_state_continue), (bin_handle_async_start),
9818         (bin_handle_async_done), (gst_bin_handle_message_func):
9819         Make async state changes a bit smarter by using new ASYNC_START and
9820         ASYNC_DONE messages. This reduces the number of times we run the state
9821         recalculation thread.
9822         Don't change state of element with a pending ASYNC_START message.
9823         Deprecate STATE_DIRTY messages.
9824         
9825         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9826         (gst_element_get_state_func), (gst_element_continue_state),
9827         (gst_element_lost_state), (gst_element_set_state_func),
9828         (gst_element_change_state):
9829         * gst/gstelement.h:
9830         Keep the state that was last set by the app in a new element field.
9831         Don't allow state changes when handling an element event.
9832         Post ASYNC_START and ASYNC_DONE messages.
9833         Change lost_state so that we go to PAUSED and wait for the parent to set
9834         us to PLAYING again (so latency calculation can be performed)
9835         Export gst_element_change_state() method so that subclasses can use it.
9836         API: gst_element_change_state()
9837         API: GST_STATE_TARGET
9838
9839         * gst/gstpipeline.c: (gst_pipeline_class_init),
9840         (reset_stream_time), (gst_pipeline_change_state),
9841         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9842         Using the new ASYNC_START message we can reset the base_time when
9843         needed. This can then be used to implement base_time redistribution in
9844         flushing seeks so that we can remove the explicit seek handling.
9845         Perform latency query and configuration when going to PLAYING.
9846
9847         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9848         (gst_base_sink_query), (gst_base_sink_change_state):
9849         Post new ASYNC_START/ASYNC_DONE messages.
9850
9851         * tests/check/generic/sinks.c: (GST_START_TEST):
9852         Fix test because the bin will not set the async element to PLAYING right
9853         away.
9854
9855         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9856         Make the message check a little stronger.
9857         Handle ASYNC messages.
9858
9859         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9860         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9861         Expect ASYNC_DONE messages.
9862
9863 2007-03-19  Wim Taymans  <wim@fluendo.com>
9864
9865         * docs/gst/gstreamer-sections.txt:
9866         * gst/gstmessage.c: (gst_message_new_async_start),
9867         (gst_message_new_async_done), (gst_message_parse_info),
9868         (gst_message_parse_async_start):
9869         * gst/gstmessage.h:
9870         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9871         support.
9872
9873 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9874
9875         * tools/gst-inspect.c:
9876         (print_plugin_automatic_install_info_codecs):
9877           Now that we don't check for the 'Codec' keyword any longer in the
9878           klass, we shouldn't spew a warning if the klass isn't a decoder or
9879           encoder (since it might be a Source/Network, for example).
9880
9881 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9882
9883         * tools/gst-inspect.c:
9884         (print_plugin_automatic_install_info_codecs):
9885           Don't require decoder/demuxer/depayloader elements or
9886           encoder/muxer/paylader elements to have 'Codec' as part of their
9887           factory class string when introspecting a plugin's capabilities.
9888           draft-klass.txt mentions that it might be removed in future, and
9889           flump3dec doesn't have it as part of its class string, so chances
9890           are others might also not have it.
9891
9892 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9893
9894         * po/af.po:
9895         * po/az.po:
9896         * po/bg.po:
9897         * po/ca.po:
9898         * po/cs.po:
9899         * po/de.po:
9900         * po/en_GB.po:
9901         * po/fr.po:
9902         * po/it.po:
9903         * po/nb.po:
9904         * po/nl.po:
9905         * po/ru.po:
9906         * po/sq.po:
9907         * po/sr.po:
9908         * po/sv.po:
9909         * po/tr.po:
9910         * po/uk.po:
9911         * po/vi.po:
9912         * po/zh_CN.po:
9913         * po/zh_TW.po:
9914           Update translations from translation project
9915
9916 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9917
9918         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9919         (gst_child_proxy_set_property):
9920           Invert precondition check to be alike the ones in the mimiced gobject
9921           api.
9922
9923 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9924
9925         * docs/design/draft-tagreading.txt:
9926         * docs/random/ensonic/audiobaseclasses.txt:
9927           Do some Architect work.
9928
9929         * gst/gstobject.c: (gst_object_set_name):
9930           Add a WARNING.
9931
9932         * gst/gstpad.c:
9933           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9934
9935 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9936
9937         * gst/gstsystemclock.c: (gst_system_clock_init),
9938         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9939         Defer starting the async system clock thread until the first async
9940         wait is scheduled. Fixes #414986.
9941
9942 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9943
9944         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9945         (gst_single_queue_free):
9946           Fix small leak (free GstSingleQueue structure too, not only contents).
9947
9948 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9949
9950         * gst/gstbin.c:(gst_bin_add):
9951         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9952         * win32/common/libgstbase.def:
9953         * win32/common/libgstreamer.def:
9954         Add new exported functions.
9955
9956 2007-03-09  Wim Taymans  <wim@fluendo.com>
9957
9958         * docs/plugins/gstreamer-plugins-sections.txt:
9959         Fix GstTee docs.
9960
9961 2007-03-09  Wim Taymans  <wim@fluendo.com>
9962
9963         * docs/gst/gstreamer-sections.txt:
9964         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9965         * gst/gstbuffer.h:
9966         Add metadata copy functions. Fixes #393099.
9967         API: gst_buffer_copy_metadata()
9968
9969         * gst/gstutils.c: (gst_buffer_stamp):
9970         * libs/gst/base/gstbasetransform.c:
9971         (gst_base_transform_prepare_output_buffer):
9972         Use new metadata copy functions.
9973
9974 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9975
9976         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9977         (gst_identity_init), (gst_identity_check_perfect),
9978         (gst_identity_check_imperfect_timestamp),
9979         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9980         (gst_identity_set_property), (gst_identity_get_property):
9981         * plugins/elements/gstidentity.h:
9982         Separate out check-imperfect-timestamp and check-imperfect-offset.
9983         Put back check-perfect as it was to keep compatibility.
9984
9985 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9986
9987         * gst/gstelement.c: (gst_element_dispose):
9988         There's no need to warn if VOID_PENDING is not NONE here, as
9989         long as the state is NULL it's ok, and that's checked immediately
9990         above.
9991
9992 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9993
9994         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9995         Fix check for perfect stream to ignore buffers with -1 
9996         offsets/offset ends when checking data contiguity.
9997
9998 2007-03-08  Wim Taymans  <wim@fluendo.com>
9999
10000         * tools/gst-launch.c: (event_loop):
10001         Print INFO messages.
10002
10003 2007-03-08  Wim Taymans  <wim@fluendo.com>
10004
10005         * libs/gst/base/gstbasetransform.c:
10006         (gst_base_transform_sink_eventfunc),
10007         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10008         (gst_base_transform_activate):
10009         * libs/gst/base/gstbasetransform.h:
10010         Add support for dropping buffers with custom GstFlowReturn.
10011         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
10012         buffers or dropped buffers.
10013
10014         * docs/libs/gstreamer-libs-sections.txt:
10015         docs for new custom return code.
10016
10017         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10018         Use drop support in base class to implement drop-probability.
10019
10020 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
10021
10022         * gst/gst.c: (load_plugin_func):
10023         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
10024         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10025         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
10026           Remove newlines at end of debug log strings.
10027
10028 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10029
10030         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10031         Only post bus message at max, once per buffer received.
10032
10033 2007-03-07  Wim Taymans  <wim@fluendo.com>
10034
10035         * docs/design/Makefile.am:
10036         * docs/design/part-synchronisation.txt:
10037         Add doc about synchronisation
10038
10039         * docs/design/draft-latency.txt:
10040         * docs/design/part-TODO.txt:
10041         * docs/design/part-clocks.txt:
10042         * docs/design/part-events.txt:
10043         * docs/design/part-gstbus.txt:
10044         * docs/design/part-gstpipeline.txt:
10045         * docs/design/part-live-source.txt:
10046         * docs/design/part-messages.txt:
10047         * docs/design/part-overview.txt:
10048         * docs/design/part-streams.txt:
10049         * docs/design/part-trickmodes.txt:
10050         Documentation updates.
10051
10052 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
10053
10054         * gstreamer.doap:
10055         Update the doap file.
10056
10057 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10058
10059         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10060         Rename non-perfect to imperfect for Mike and for the sanctity of the
10061         language.
10062         Also make sure bus message gets emitted for data-incontiguities.
10063
10064 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10065
10066         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
10067         (gst_identity_start):
10068         * plugins/elements/gstidentity.h:
10069         Emit bus message if check-perfect is true and we encounter a
10070         non-perfect stream between 2 consecutive buffers.
10071         Fixes #415394.
10072
10073 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
10074
10075         * configure.ac:
10076         Back to CVS
10077
10078 === release 0.10.12 ===
10079
10080 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
10081
10082         * configure.ac:
10083           releasing 0.10.12, "Inevitable Demise"
10084
10085 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
10086
10087         * configure.ac:
10088          Version 0.10.11.2 (0.10.12 pre-release)
10089          Bump libtool versioning.
10090
10091 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
10092
10093         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10094           Log flow-names and not numbers.
10095
10096 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10097
10098         * configure.ac:
10099           Convert to new AG_GST style.
10100
10101 2007-02-28  Wim Taymans  <wim@fluendo.com>
10102
10103         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
10104         Don't unref query twice.
10105
10106 2007-02-28  Wim Taymans  <wim@fluendo.com>
10107
10108         * gst/gstvalue.c: (gst_value_transform_object_string),
10109         (_gst_value_initialize):
10110         Implement GstObject -> string transform so we print object names
10111         when serializing GValues containing GstObjects.
10112
10113 2007-02-28  Wim Taymans  <wim@fluendo.com>
10114
10115         * docs/gst/gstreamer-sections.txt:
10116         Add new stuff to docs.
10117
10118 2007-02-28  Wim Taymans  <wim@fluendo.com>
10119
10120         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
10121         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
10122         (gst_base_sink_change_state):
10123         Improve latency query code.
10124         Don't leak latency events.
10125
10126         * tests/check/gst/gstbin.c: (GST_START_TEST):
10127         Improve debugging.
10128
10129 2007-02-28  Wim Taymans  <wim@fluendo.com>
10130
10131         * gst/gstelement.c: (gst_element_message_full),
10132         (gst_element_get_state_func):
10133         * gst/gstelement.h:
10134         Improve docs a little. Added Since: for new macro.
10135
10136         * gst/gstobject.c: (gst_object_sink):
10137         * gst/gstpipeline.c: (gst_pipeline_change_state),
10138         (gst_pipeline_set_new_stream_time):
10139         * gst/gstpipeline.h:
10140         Improve debugging and docs.
10141
10142         * gst/gstutils.c: (gst_element_state_change_return_get_name):
10143         Improve debugging.
10144
10145 2007-02-28  Wim Taymans  <wim@fluendo.com>
10146
10147         * gst/gstelement.c: (gst_element_message_full),
10148         (gst_element_set_locked_state), (gst_element_get_state_func),
10149         (gst_element_change_state):
10150         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10151         Documentation updates.
10152         Small code cleanups.
10153
10154         * gst/gstmessage.c: (gst_message_new_info),
10155         (gst_message_parse_info):
10156         * gst/gstmessage.h:
10157         API: gst_message_new_info()
10158         API: gst_message_parse_info()
10159         Add INFO message create and parse code.
10160
10161 2007-02-28  Wim Taymans  <wim@fluendo.com>
10162
10163         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10164         (bin_query_latency_done):
10165         Also report the live parameter of a latency query.
10166
10167 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10168
10169         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10170           Copy the current generic/states example from -base and adapt so
10171           we can use the exact same code everywhere.
10172           Check a STATES_IGNORE_ELEMENTS env var which can be used
10173           to ignore certain element factories for this test, which is
10174           what is being done in -base
10175         * tests/check/Makefile.am:
10176           Mention this environment variable.
10177
10178 2007-02-27  Wim Taymans  <wim@fluendo.com>
10179
10180         * docs/gst/gstreamer-sections.txt:
10181         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10182         (gst_bus_timed_pop), (gst_bus_pop):
10183         * gst/gstbus.h:
10184         API: gst_bus_timed_pop()
10185         Implement gst_bus_timed_pop() to do a blocking timed wait for a
10186         message to arrive on the bus.
10187
10188         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10189         (gst_bus_suite):
10190         Two unit tests for new _timed_pop() function.
10191
10192 2007-02-23  Wim Taymans  <wim@fluendo.com>
10193
10194         * gst/gstpipeline.c: (gst_pipeline_change_state),
10195         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10196         Don't ref a NULL clock in _provide_clock_func().
10197         Don't allow an INVALID delay.
10198         Don't try to calculate base_time with an invalid start_time.
10199         Also distribute and notify a NULL clock when it was selected.
10200
10201         * tools/gst-launch.c: (event_loop):
10202         Don't crash when a NULL clock was selected in the pipeline.
10203
10204 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10205
10206         * docs/design/Makefile.am:
10207         * docs/design/draft-missing-plugins.txt:
10208         * docs/random/draft-missing-plugins.txt:
10209           Some small updates: update plugin system identifier prefix
10210           ('gstreamer.net' to 'gstreamer'), mention our new install
10211           API in libgstbaseutils rather than libgimme-codec, add
10212           reference to the online docs.
10213
10214 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10215
10216         * win32/common/config.h:
10217           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
10218           use moap cl ci to only check in what is mentioned in the ChangeLog.
10219
10220 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10221
10222         * docs/gst/gstreamer-sections.txt:
10223         * gst/gstelement.h:
10224           Fix up documentation to link to the correct GstGError section.
10225           Add GST_ELEMENT_INFO macro since someone else added a Info message.
10226
10227 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10228
10229         * tools/gst-launch.c: (event_loop):
10230           Make sure that we actually show the important message part of a
10231           warning message.
10232           No need to check if the gerror is not NULL to free; first of all
10233           g_free accepts NULL; and second the default error handler would
10234           segfault if gerror was NULL.
10235
10236 2007-02-21  Wim Taymans  <wim@fluendo.com>
10237
10238         * docs/gst/gstreamer-sections.txt:
10239         Removed docs as well.
10240
10241 2007-02-21  Wim Taymans  <wim@fluendo.com>
10242
10243         * gst/gstmessage.c: (gst_message_parse_duration):
10244         * gst/gstmessage.h:
10245         Remove new messages for release.
10246
10247 2007-02-20  Wim Taymans  <wim@fluendo.com>
10248
10249         * docs/design/part-gstghostpad.txt:
10250         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10251         (gst_ghost_pad_new_full):
10252         Make the ghostpad a parent of the internal pad again for better backward
10253         compatibility. Don't write code that relies on this however.
10254
10255         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10256         (gst_pad_link_check_hierarchy):
10257         Require that parents should be GstElements in the hierarchy check.
10258
10259 2007-02-20  Wim Taymans  <wim@fluendo.com>
10260
10261         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10262         (gst_bin_change_state_func), (bin_query_min_max_init),
10263         (bin_query_latency_fold), (bin_query_latency_done),
10264         (gst_bin_query):
10265         Improve debug info.
10266         Implement latency query.
10267
10268 2007-02-20  Wim Taymans  <wim@fluendo.com>
10269
10270         * docs/design/part-gstghostpad.txt:
10271         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10272         (gst_ghost_pad_internal_do_activate_push),
10273         (gst_ghost_pad_internal_do_activate_pull),
10274         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10275         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10276         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10277         Do not set the internal pad as a parent anymore so we can avoid
10278         hierarchy linking errors when the ghostpad has no parent yet. This also
10279         fixes failed activation because of unlinked internal pads, which in
10280         turn fixes the impossible case where you have to activate a pad before
10281         you can add it to a running element.
10282         Also fix the docs.
10283
10284         * gst/gstpad.c: (pre_activate), (post_activate),
10285         (gst_pad_set_active), (gst_pad_activate_pull),
10286         (gst_pad_activate_push), (gst_pad_check_pull_range):
10287         Add some more debug info.
10288         Mark activation mode in pre_activate so that we don't try to activate in
10289         endless loops. Fixes #385084.
10290
10291 2007-02-19  Wim Taymans  <wim@fluendo.com>
10292
10293         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10294         (gst_base_transform_check_get_range):
10295         Implement a checkgetrange function instead of relying on the default
10296         core behaviour that assumes we can operate in pull mode if we have a
10297         getrange function. First step at fixing #385084.
10298
10299 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
10300
10301         * gst/gstchildproxy.h:
10302         * libs/gst/base/gstbasesink.h:
10303         * libs/gst/base/gstbasesrc.h:
10304         * libs/gst/base/gstbasetransform.h:
10305         More docs coverage and some ChangeLog surgery (add missing names)
10306
10307 2007-02-15  Wim Taymans  <wim@fluendo.com>
10308
10309         * docs/design/part-TODO.txt:
10310         * docs/design/part-activation.txt:
10311         * docs/design/part-block.txt:
10312         * docs/design/part-buffering.txt:
10313         * docs/design/part-clocks.txt:
10314         * docs/design/part-element-source.txt:
10315         * docs/design/part-events.txt:
10316         * docs/design/part-gstbin.txt:
10317         * docs/design/part-gstbus.txt:
10318         * docs/design/part-gstpipeline.txt:
10319         * docs/design/part-live-source.txt:
10320         * docs/design/part-messages.txt:
10321         * docs/design/part-overview.txt:
10322         * docs/design/part-qos.txt:
10323         * docs/design/part-query.txt:
10324         * docs/design/part-states.txt:
10325         * docs/design/part-trickmodes.txt:
10326         Some doc updates. Start renaming from stream_time to running_time where
10327         it was used wrongly.
10328
10329 2007-02-15  Wim Taymans  <wim@fluendo.com>
10330
10331         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10332         Answer LATENCY query.
10333
10334 2007-02-15  Wim Taymans  <wim@fluendo.com>
10335
10336         * tests/check/gst/gstevent.c: (event_probe), (test_event),
10337         (GST_START_TEST):
10338         Improve debugging.
10339
10340 2007-02-15  Wim Taymans  <wim@fluendo.com>
10341
10342         * gst/gstpad.c: (gst_pad_get_internal_links_default),
10343         (gst_pad_dispatcher):
10344         Improve debugging of default pad dispatcher and query functions.
10345
10346 2007-02-15  Wim Taymans  <wim@fluendo.com>
10347
10348         * docs/gst/gstreamer-sections.txt:
10349         Remove old unused method.
10350
10351 2007-02-13  Wim Taymans  <wim@fluendo.com>
10352
10353         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10354         Fix check
10355
10356 2007-02-13  Wim Taymans  <wim@fluendo.com>
10357
10358         * docs/design/part-seeking.txt:
10359         Some small update.
10360
10361         * gst/gstsegment.c: (gst_segment_set_seek):
10362         Revert old bogus change that should make seeking work again.
10363
10364 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10365
10366         * docs/random/ensonic/dynlink.txt:
10367         * docs/random/ensonic/interfaces.txt:
10368         * docs/random/ensonic/receipies.txt:
10369           Possible dynamic reconnection api, plus some type fixes the other two
10370           docs.
10371
10372 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
10373
10374         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10375         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10376         Also check for an absolute path following file:// in the filesrc
10377         element. Remove redundant check and call g_path_is_absolute() on the
10378         unescaped location.
10379
10380 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10381
10382         * docs/design/draft-klass.txt:
10383           Add existing category analysis.
10384           
10385         * gst/gstcaps.c:
10386           Fix doc example, framerate is a fraction.
10387
10388 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10389
10390         * configure.ac:
10391         * docs/gst/Makefile.am:
10392         * docs/gst/gstreamer-sections.txt:
10393         * docs/libs/Makefile.am:
10394           Erm, forgot a bunch of --extra-dir.
10395
10396 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10397
10398         * configure.ac:
10399         * docs/gst/Makefile.am:
10400         * docs/libs/Makefile.am:
10401         * docs/plugins/Makefile.am:
10402           Add crossreferences to glib/gobject docs.
10403
10404 2007-02-12  Wim Taymans  <wim@fluendo.com>
10405
10406         * docs/design/draft-latency.txt:
10407         Small update.
10408
10409         * docs/libs/gstreamer-libs-sections.txt:
10410         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10411         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10412         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10413         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10414         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10415         (gst_base_sink_get_position), (gst_base_sink_query),
10416         (gst_base_sink_change_state):
10417         * libs/gst/base/gstbasesink.h:
10418         API: gst_base_sink_query_latency() to let subclasses query the upstream
10419         latency.
10420         API: gst_base_sink_get_latency() to let subclasses query the configured
10421         latency in the sink.
10422         Implement query and set latency.
10423         Update some docs.
10424         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10425         don't continue preroll when we are flushing. Fixes #405284.
10426
10427         * tests/check/pipelines/stress.c: (change_state_timeout),
10428         (quit_timeout), (GST_START_TEST), (stress_suite):
10429         Test for #405284.
10430
10431 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10432
10433         Patch by: René Stadler <mail at renestadler de>
10434
10435         * docs/gst/gstreamer-sections.txt:
10436         * gst/gsttaglist.c: (_gst_tag_initialize):
10437         * gst/gsttaglist.h:
10438           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10439
10440 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10441
10442         * docs/libs/Makefile.am:
10443           Fix path to core docs.
10444
10445         * gst/gstbin.c: (gst_bin_get_by_interface),
10446         (gst_bin_iterate_all_by_interface):
10447           Refix docs by also renaming 'interface' to 'iface' in implementation.
10448
10449         * docs/gst/gstreamer-sections.txt:
10450         * gst/gstcaps.c:
10451         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10452         * gst/gstchildproxy.h:
10453         * gst/gstelementfactory.c:
10454         * gst/gstpadtemplate.h:
10455         * libs/gst/controller/gstcontroller.c:
10456         (gst_controlled_property_new):
10457           Document more.
10458
10459 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10460
10461         * gst/gstbin.h:(gst_bin_get_by_interface),
10462         (gst_bin_iterate_all_by_interface):
10463         Replace interface parameter name by iface as interface is 
10464         a reserved keyword in Visual Studio for C++ projects so it removes
10465         a build error for application developpers using VS.
10466         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10467         Fix a bug on Windows in uri format check. Now the prefix checked
10468         is file:// and next we check if the path after file:// is absolute.
10469         * win32/common/libgstbase.def:
10470         * win32/common/libgstdataprotocol.def:
10471         * win32/common/libgstgstreamer.def:
10472         Add new exported functions.
10473
10474 2007-02-09  Andy Wingo  <wingo@pobox.com>
10475
10476         * tests/check/pipelines/simple-launch-lines.c
10477         (simple_launch_lines_suite, test_tee): Disable tee test until I
10478         have time to fix it :-(
10479
10480         * tests/check/Makefile.am (noinst_HEADERS): 
10481         * tests/check/libs/libsabi.c: 
10482         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10483         * tests/check/gst/gstabi.c: 
10484         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10485
10486         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10487         tests for push and pull tee behavior.
10488
10489         * plugins/elements/gsttee.h: 
10490         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10491         mark as deprecated as well as unimplemented. It was a crack idea.
10492         Add support for tee operating in pull mode, off by default.
10493
10494         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10495         normal-case logs down to LOG, raise errors to WARNING.
10496         (gst_registry_xml_read_cache): Don't log before calling a function
10497         that logs.
10498
10499         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10500         exit (registry finalize).
10501         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10502         DEBUG log when we emit signals that people don't even have the
10503         chance to connect to.
10504         (gst_registry_scan_path_level): Less logging in the normal case.
10505
10506 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10507
10508         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10509
10510         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10511         Correctly generate EOS for non-seekable files. We don't have a total
10512         length for them and would get an unexpected end of file if we only
10513         special-cased for regular files. (Fixes: #404569)
10514
10515 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10516
10517         * tests/check/elements/filesrc.c: (GST_START_TEST),
10518         (filesrc_suite):
10519         Add unit test for the GstURIHandler interface in filesrc. This also
10520         tests the newly added file://localhost/foo/bar support.
10521
10522 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10523
10524         * gst/gstelementfactory.h:
10525           The klass string is not a hierarchy. Add reference to the design doc
10526           for more information and common types.
10527
10528 2007-02-02  Wim Taymans  <wim@fluendo.com>
10529
10530         * gst/gstquery.c: (gst_query_new_latency):
10531         Remove old structure field.
10532
10533 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10534
10535         * tools/gst-launch.1.in:
10536           Give example for network streaming (#351998)
10537
10538 2007-02-02  Wim Taymans  <wim@fluendo.com>
10539
10540         * docs/gst/gstreamer-sections.txt:
10541         Add docs for new methods.
10542
10543         * gst/gstevent.c: (gst_event_new_latency),
10544         (gst_event_parse_latency):
10545         * gst/gstevent.h:
10546         Add new LATENCY event to configure latency in a pipeline.
10547         API: gst_event_new_latency
10548         API: gst_event_parse_latency
10549
10550         * gst/gstmessage.c: (gst_message_new_buffering),
10551         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10552         (gst_message_new_latency), (gst_message_parse_buffering),
10553         (gst_message_parse_lost_preroll):
10554         * gst/gstmessage.h:
10555         Added messages used in draft-latency.
10556         API: gst_message_new_lost_preroll
10557         API: gst_message_parse_lost_preroll
10558         API: gst_message_new_prerolled
10559         API: gst_message_new_latency
10560
10561         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10562         (gst_query_parse_latency):
10563         * gst/gstquery.h:
10564         Implemented new latency query as in design doc.
10565         API: gst_query_new_latency
10566         API: gst_query_set_latency
10567         API: gst_query_parse_latency
10568
10569 2007-02-02  Wim Taymans  <wim@fluendo.com>
10570
10571         * docs/design/draft-latency.txt:
10572         Slight redesign to allow for dynamic latency adjustments.
10573
10574         * docs/design/part-negotiation.txt:
10575         Fix some typos.
10576
10577 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10578
10579         reviewed by: Wim Taymans <wim@fluendo.com>
10580
10581         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10582         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10583         Allow file://localhost/foo/bar URLs and correctly fail for every other
10584         hostname that one sets. This was gnomevfssrc is linked for those if
10585         installed as it can handle it (#403172)
10586
10587 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10588
10589         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10590
10591         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10592         (unref_data), (gst_collect_pads_add_pad_full):
10593         * libs/gst/base/gstcollectpads.h:
10594         Don't put the previously added destroy notify in the GstCollectData
10595         struct as all it's padding is already used and we don't want to break
10596         ABI. Instead put in the pad's GObject data for now. This should be
10597         cleaned up for 0.11 (#402393).
10598
10599 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10600
10601         reviewed by: Wim Taymans <wim@fluendo.com>
10602
10603         * docs/libs/gstreamer-libs-sections.txt:
10604         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10605         (unref_data), (gst_collect_pads_add_pad),
10606         (gst_collect_pads_add_pad_full):
10607         * libs/gst/base/gstcollectpads.h:
10608         API: Add function to specify a destroy notification for custom
10609         GstCollectData when adding new pads in GstCollectPads (#402393).
10610
10611 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10612
10613         * po/sv.po:
10614           Update Swedish translation (#378255).
10615
10616 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10617
10618         * docs/design/draft-klass.txt:
10619           Fix the previous change, this is a list of categories and not a hierarchy.
10620
10621 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10622
10623         * docs/design/draft-klass.txt:
10624           Add info about how to get a list of used classes.
10625
10626 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10627
10628         * plugins/elements/gsttypefindelement.c:
10629         (gst_type_find_element_chain_do_typefinding),
10630         (gst_type_find_element_change_state):
10631           Don't leak found caps in chain function (no idea why that never
10632           showed up as a leak anywhere).
10633
10634 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10635
10636         * gst/gstplugin.h:
10637           Fix and expand GstPluginDesc API docs.
10638
10639 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10640
10641         * gst/gstcaps.c:
10642         * gst/gstelementfactory.c:
10643         * gst/gstpadtemplate.h:
10644           api doc fixes
10645
10646         * libs/gst/controller/gstcontroller.c:
10647         (gst_controlled_property_new):
10648         * tests/examples/controller/audio-example.c:
10649           comment fixes
10650
10651 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10652
10653         * configure.ac:
10654           comment about refining the xml deps
10655
10656         * docs/manuals.mak:
10657           comments about moving away from jade for docs
10658         
10659         * gst/gst.c:
10660           recommit the ifdefs to use the binary registry
10661         
10662         * gst/gstbin.c: (gst_bin_change_state_func):
10663           this break is obsolete
10664
10665         * gst/gstelementfactory.h:
10666           better GST_ELEMENT_DETAILS docs, add comment about translation
10667
10668         * gst/gstinfo.h:
10669           remove eol slash
10670
10671         * gst/gstobject.c: (gst_signal_object_get_type):
10672           add G_UNLIKELY as usual
10673
10674         * gst/gstpad.c: (gst_pad_event_default):
10675           add fall trhu comment
10676
10677         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10678         (gst_registry_binary_initialize_magic),
10679         (gst_registry_binary_save_string),
10680         (gst_registry_binary_save_pad_template),
10681         (gst_registry_binary_save_feature),
10682         (gst_registry_binary_save_plugin),
10683         (gst_registry_binary_write_cache),
10684         (gst_registry_binary_check_magic),
10685         (gst_registry_binary_load_pad_template),
10686         (gst_registry_binary_load_feature),
10687         (gst_registry_binary_load_plugin),
10688         (gst_registry_binary_read_cache):
10689           comment typo and formatting
10690
10691         * gst/gstutils.c: (gst_element_state_get_name),
10692         (gst_element_state_change_return_get_name):
10693           remove obsolete breaks
10694
10695         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10696           add FIXME 0.11 and remove cpp comment
10697
10698 2007-01-29  Edward Hervey  <edward@fluendo.com>
10699
10700         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10701         Fix print statement in an even more portable way.
10702
10703 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10704
10705         * docs/gst/gstreamer-sections.txt:
10706         * gst/gstutils.h:
10707           API: add GST_ROUND_DOWN_* macros (#401781).
10708
10709 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10710
10711         * docs/gst/gstreamer.types.in:
10712         * gst/gstregistry.c: (gst_registry_class_init):
10713           Document registry signals and make gtk-doc pick them up (#401381).
10714
10715 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10716
10717         * docs/pwg/building-testapp.xml:
10718           Add some audioconverts and audioresample to the pipeline, and some
10719           more comments and error handling.
10720
10721 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10722
10723         * docs/manual/manual.xml:
10724         * docs/pwg/pwg.xml:
10725           Fix typo (#400987).
10726
10727 2007-01-26  Wim Taymans  <wim@fluendo.com>
10728
10729         * gst/gstcaps.c: (gst_static_caps_get):
10730         Init caps flags too.
10731
10732 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10733
10734         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10735
10736         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10737         If not using mmap'ed files try to seek to the end instead of the
10738         start to determine whether we can seek at all. This fixes the case
10739         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10740         seeks for everything afterwards fail. Fixes #400656
10741
10742 2007-01-25  Wim Taymans  <wim@fluendo.com>
10743
10744         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10745         Add some refcount debugging.
10746         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10747         in multiple streaming threads.
10748
10749 2007-01-25  Wim Taymans  <wim@fluendo.com>
10750
10751         Patch by: David Schleef <ds at schleef dot org>
10752
10753         * docs/libs/gstreamer-libs-sections.txt:
10754         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10755         * libs/gst/base/gstadapter.h:
10756         API: gst_adapter_copy() that can reduce the amount of memcpy when
10757         getting data from the adapter. Fixes #388201.
10758
10759 2007-01-25  Edward Hervey  <edward@fluendo.com>
10760
10761         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10762         In print statements, "%x" is for guint. Fixes build on macosx.
10763
10764 2007-01-24  Edward Hervey  <edward@fluendo.com>
10765
10766         * plugins/elements/gstmultiqueue.c:
10767         (gst_multi_queue_loop):
10768         Small fix.
10769         (single_queue_overrun_cb), (single_queue_underrun_cb),
10770         (single_queue_check_full), (gst_single_queue_new):
10771         Implement single queue growth system.
10772         This uses the extra-size properties, and will grow single queues by
10773         that much if one goes full whereas there are others empty. This is
10774         called extra-mode in the code.
10775         When a single queue's levels go back below the initial max-size
10776         limits, it is no longer in extra-mode. This is to ensure we don't
10777         consume too much memory.
10778         Fixes #399875
10779
10780 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10781
10782         * gst/gst.c: (gst_init_get_option_group):
10783           Make warning about late g_thread_init() calls a bit more explicit,
10784           so that it's more obvious to application developers what they need
10785           to do if a user files a bug against their application.
10786
10787 2007-01-22  Edward Hervey  <edward@fluendo.com>
10788
10789         * plugins/elements/gstmultiqueue.c:
10790         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10791         Remove previous hack of unsetting the flushing flag for the source pad
10792         instead of activating it. Instead, fix the source pad activate function
10793         so that it no longer depends on having a parent set or not.
10794
10795 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10796
10797         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10798
10799         * docs/manual/basics-bus.xml:
10800           Fix example code, gst_element_unref() doesn't exist any longer.
10801
10802 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10803
10804         Patch by: Mark Nauwelaerts <manauw at skynet be>
10805
10806         * gst/gstpad.c:
10807           Fix two docs typoes (#399094).
10808
10809 2007-01-19  Edward Hervey  <edward@fluendo.com>
10810
10811         * docs/faq/gst-uninstalled:
10812         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10813         depending on libgstbaseutils can work in uninstalled environment.
10814
10815 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10816
10817         * gst/gsttaglist.h:
10818         * gst/gsttagsetter.c:
10819         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10820         statement for new tag.
10821
10822 2007-01-17  Edward Hervey  <edward@fluendo.com>
10823
10824         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10825         When dynamically creating single queues, activate sinkpad before adding
10826         it.
10827         We should be doing the same thing for the source pad, but we can't
10828         since it would call a method which needs the parent to be set in order
10829         to work propertly. Instead of activating the source pad, we just unset
10830         the flushing flag, which is the minimal requirement for adding a pad
10831         to an element in a state greater than READY.
10832
10833 2007-01-17  Edward Hervey  <edward@fluendo.com>
10834
10835         * docs/faq/gst-uninstalled:
10836         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10837         Mac OS X.
10838
10839 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10840
10841         * tests/check/gst/gstabi.c:
10842         * tests/check/gst/struct_hppa.h:
10843         * tests/check/libs/libsabi.c:
10844         * tests/check/libs/struct_hppa.h:
10845           Add ABI structs for HPPA (see #393796).
10846
10847 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10848
10849         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10850           Actually write ABI structs to the file specified in the GST_ABI
10851           environment variable, as the message we print claims we would.
10852
10853 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10854
10855         * tests/check/gst/gsttask.c:
10856           Fix header comment.
10857
10858 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10859
10860         * gst/gsttaglist.c: (_gst_tag_initialize):
10861           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10862           previous two entries.
10863
10864 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10865
10866         * docs/gst/gstreamer-sections.txt:
10867         * gst/gsttaglist.c: (_gst_tag_initialize):
10868         * gst/gsttaglist.h:
10869           Add tag support for beat-per-minute.
10870
10871 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10872
10873         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10874         (gst_registry_binary_initialize_magic),
10875         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10876         (gst_registry_binary_save_pad_template),
10877         (gst_registry_binary_save_feature),
10878         (gst_registry_binary_save_plugin),
10879         (gst_registry_binary_write_cache),
10880         (gst_registry_binary_check_magic),
10881         (gst_registry_binary_load_pad_template),
10882         (gst_registry_binary_load_feature),
10883         (gst_registry_binary_load_plugin),
10884         (gst_registry_binary_read_cache):
10885         * gst/gstregistrybinary.h:
10886           Use glib types, cleanup comments, impement interfaces and uri-types.
10887
10888 2007-01-13  Andy Wingo  <wingo@pobox.com>
10889
10890         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10891         getrange() to return buffers with other caps, while we fix
10892         demuxers and typefind, or otherwise change part-negotiation.txt.
10893
10894 2007-01-12  Andy Wingo  <wingo@pobox.com>
10895
10896         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10897         Factor start/stop into this private function instead of partially
10898         in activate functions and partially in the change_state function.
10899         Fixes setup before the element has changed from READY->PAUSED, as
10900         is the case in pull-mode pipelines.
10901         (gst_base_transform_sink_activate_push)
10902         (gst_base_transform_src_activate_pull): Refactor to use
10903         gst_base_transform_activate().
10904         (gst_base_transform_change_state): Removed, not needed any more.
10905
10906         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10907         Truncate before fixating.
10908         
10909         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10910         Don't set_caps() if the result of fixating is ANY, as it's not
10911         supported, and not necessary in the case of a link with no
10912         template caps on either side. Fixes tests/check/libs/basesrc in
10913         some pull-mode tests.
10914
10915         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10916         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10917         (gst_base_transform_src_activate_pull): 
10918         Track the activation mode.
10919         (gst_base_transform_setcaps): In pull mode, when activating the
10920         src pad, after activating the sink pad, activate the sink pad's
10921         peer, as discussed in part-negotiation.txt.
10922
10923         * libs/gst/base/gstbasesrc.h: 
10924         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10925         vmethod, as in basesink.
10926
10927         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10928
10929         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10930         mode, first proxy the setcaps to the peer pad.
10931         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10932         new fixate vmethod.
10933         (gst_base_sink_default_activate_pull): Rename from
10934         gst_base_sink_activate_pull.
10935         (gst_base_sink_negotiate_pull): New function, performs negotiation
10936         in pull mode before calling ::activate_pull().
10937         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10938         vmethod instead of the default implementation. I have no idea how
10939         this worked before. Negotiate before calling activate_pull.
10940
10941         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10942         sink pads in pull mode. In addition to being correct, fixes
10943         filesrc ! decodebin ! identity ! fakesink.
10944         (gst_pad_get_range, gst_pad_pull_range): Don't call
10945         gst_pad_set_caps() if the caps changes; instead error out with
10946         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10947
10948 2007-01-12  Andy Wingo  <wingo@pobox.com>
10949
10950         * docs/design/part-negotiation.txt: Update with more policy.
10951
10952 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10953
10954         * libs/gst/check/gstbufferstraw.h:
10955         * libs/gst/check/gstcheck.h:
10956           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10957           belongs.
10958
10959 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10960
10961         * tests/check/Makefile.am:
10962         * tests/check/gst/.cvsignore:
10963         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10964         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10965         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10966         (GST_START_TEST), (gst_tag_setter_suite):
10967           Add minimal unit test for beforementioned GstTagSetter bug.
10968
10969 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10970
10971         Patch by: René Stadler <mail at renestadler dot de>
10972
10973         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10974           gst_tag_list_merge() returns a new list, so it's not the best idea
10975           to ingore its return value. Effectively meant that tags could only
10976           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10977           Also add function guard to require a non-NULL taglist as input (has
10978           always been so due to gst_tag_list_copy(), just making it explicit).
10979
10980 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10981
10982         * docs/random/draft-missing-plugins.txt:
10983           Some additions: mention new API that is supposed to be used at the
10984           various stages; short blob about new gst-inspect introspection
10985           option; mention potential future problem with plugins that have
10986           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10987
10988 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10989
10990         * tools/gst-inspect.c:
10991         (print_plugin_automatic_install_info_codecs),
10992         (print_plugin_automatic_install_info_protocols),
10993         (print_plugin_automatic_install_info), (main):
10994         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10995         introspect plugin files and get machine-parsable output that corresponds
10996         to the last bit of the missing-plugin installer string (small gotcha:
10997         doesn't take into account ranks).
10998
10999 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
11000
11001         * configure.ac:
11002         * docs/gst/gstreamer-sections.txt:
11003         * gst/Makefile.am:
11004         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
11005         (gst_registry_lookup_locked):
11006         * gst/gstregistry.h:
11007         * gst/gstregistrybinary.c: (gst_registry_binary_write),
11008         (gst_registry_binary_initialize_magic),
11009         (gst_registry_binary_save_string),
11010         (gst_registry_binary_save_pad_template),
11011         (gst_registry_binary_save_feature),
11012         (gst_registry_binary_save_plugin),
11013         (gst_registry_binary_write_cache),
11014         (gst_registry_binary_check_magic),
11015         (gst_registry_binary_load_pad_template),
11016         (gst_registry_binary_load_feature),
11017         (gst_registry_binary_load_plugin),
11018         (gst_registry_binary_read_cache):
11019         * gst/gstregistrybinary.h:
11020         * gst/gstregistryxml.c: (load_feature),
11021         (gst_registry_xml_read_cache):
11022           commit binary registry (disabled by default, see #359653)
11023
11024 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
11025
11026         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
11027           Fix 'make check' too.
11028
11029 2007-01-10  Andy Wingo  <wingo@pobox.com>
11030
11031         * docs/design/part-negotiation.txt: Fix a typo, add a couple
11032         notes.
11033         
11034         * docs/design/part-negotiation.txt: Update with, um, one way that
11035         pull-mode negotiation might work?
11036
11037         * gst/gstpad.h: 
11038         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
11039         that the pad must be a src pad; makes sense to call it the other
11040         way in pull mode, and the logic is symmetric anyway.
11041
11042 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
11043
11044         * plugins/elements/gstfilesink.c:
11045           Include <stdio.h> for fseeko().
11046
11047 2007-01-10  Wim Taymans  <wim@fluendo.com>
11048
11049         * gst/gstevent.c:
11050         * gst/gstevent.h:
11051         Reserve LATENCY event.
11052
11053 2007-01-09  Wim Taymans  <wim@fluendo.com>
11054
11055         * docs/design/draft-latency.txt:
11056         Updates.
11057
11058 2007-01-09  Wim Taymans  <wim@fluendo.com>
11059
11060         * docs/design/draft-latency.txt:
11061         Updates.
11062
11063         * gst/gstelement.h:
11064         * gst/gststructure.c:
11065         * gst/gsttrace.c:
11066         Small typo fixes.
11067
11068 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
11069
11070         * tests/check/.cvsignore:
11071           Ignore test-registry.xml as well.
11072
11073 2007-01-09  Wim Taymans  <wim@fluendo.com>
11074
11075         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
11076         unref data at the end when we are done with the pad.
11077
11078 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
11079
11080         * docs/gst/gstreamer-sections.txt:
11081         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
11082         (init_post), (gst_deinit), (gst_update_registry):
11083         * gst/gst.h:
11084           API: add gst_update_registry() (#391296).
11085
11086         * tests/check/Makefile.am:
11087         * tests/check/gst/gstregistry.c:
11088         * tests/check/gst/.cvsignore:
11089           Simple unit test for the above.
11090
11091 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
11092
11093         * gst/gstregistry.c: (gst_registry_scan_path_level):
11094           Plugin extension on HP-UX is .sl, add that to the list of approved
11095           plugin extensions (see #393796).
11096
11097         * tests/check/gst/gstpad.c: (GST_START_TEST):
11098           ulong => gulong. Fixes compilation with HP-UX compiler.
11099
11100         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11101           Fix compilation if valgrind headers are not available.
11102
11103 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
11104
11105         * win32/common/libgstreamer.def: 
11106           Add new exported function.
11107         * win32/vs6/libgstbase.dsp: 
11108           Add gstdataqueue.c to the build.
11109         * win32/vs6/libgstcoreelements.dsp:
11110           Add gstmultiqueue.c to the build.
11111         
11112 2007-01-06  Andy Wingo  <wingo@pobox.com>
11113
11114         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
11115         activate_pull(), providing for a way to specialize the process of
11116         spawning a thread to pull on the sink pad. There is a default
11117         implementation.
11118
11119         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
11120         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
11121         (gst_base_sink_init): Renamed pad activation functions (inserting
11122         "_pad" in their names). Refactor to use the new activate_pull
11123         vmethod, as appropriate.
11124         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
11125         default activate_pull function to start a task pulling from the
11126         sink pad, as before.
11127
11128         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
11129         on the pads if necessary, as in push()/chain(). Update docs.
11130         Shouldn't affect existing pull() usage as it is currently only
11131         being used on buffers without caps.
11132
11133 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11134
11135         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11136         (init_pre):
11137           Call g_thread_init() first thing in gst_init() / gst_check_init().
11138           When initialisation is done via gst_init_get_option_group() and
11139           GOption parsing, issue a warning if the GLib thread system has not
11140           been initialised yet by the time gst_init_get_option_group() is
11141           called, as it's quite likely other GLib functions such as
11142           g_option_context_new() have been called already then, and
11143           g_thread_init() must be called before any other GLib function. The
11144           application in question must be fixed in that case, since memory
11145           corruption might happen otherwise.
11146           We issue the warning because even if the GLib folks decide to work
11147           around the problem on their end in future, this is still an issue
11148           with all GLib versions >= 2.10.0, so we should warn until we depend
11149           on a GLib version we know to be safe.
11150           Update documentation as well.
11151           Closes bug #391278.
11152
11153 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11154
11155         * tools/gst-inspect.c: (main):
11156         * tools/gst-launch.c: (main):
11157         * tools/gst-typefind.c: (main):
11158         * tools/gst-xmlinspect.c: (main):
11159           Call g_thread_init() really really early, before any other GLib
11160           function (see #342564 and recent discussion on gtk-devel-list).
11161
11162 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11163
11164         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
11165
11166         * gst/gst_private.h:
11167         * gst/gstconfig.h.in:
11168         * gst/gstinfo.h:
11169           On win32, all the __declspec stuff for symbol exporting is
11170           apparently only needed with MSVC, but doesn't work with MingW.
11171           Fixes compilation with MingW and #391909.
11172
11173 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11174
11175         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11176           Change some GST_ERROR_OBJECT that aren't really errors to
11177           GST_WARNING_OBJECT in order to reduce terminal spam.
11178
11179 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11180
11181         * tests/check/Makefile.am:
11182           disable test again, as there seem to be still race problems
11183
11184 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11185
11186         * tests/check/Makefile.am:
11187         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11188         (GST_START_TEST), (queue_suite):
11189           enable queue test again, add tests for the leaky behaviour
11190
11191 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
11192
11193         * configure.ac:
11194         * tests/examples/Makefile.am:
11195           Compile adapter test/example only if the required headers are
11196           available (fixes #391915).
11197
11198 2007-01-01  David Schleef  <ds@schleef.org>
11199
11200         * gst/gstplugin.c:
11201           Restore the previous signal handler for SIGSEGV instead of
11202           setting to default, since we may have stolen it away from
11203           someone.  (i.e., Mono)
11204
11205 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11206
11207         * docs/random/draft-missing-plugins.txt:
11208           Some small additions and clarifications.
11209
11210 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11211
11212         * gst/gstregistryxml.c: (gst_registry_save_escaped):
11213           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11214           since that can lead to random memory corruptions and crashes
11215           (may or may not be related to #383244, #386711, and #386711).
11216
11217 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11218
11219         * tests/check/.cvsignore:
11220         * tests/check/Makefile.am:
11221           sync .cvsignome and CLEANFILES
11222
11223 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11224
11225         * tests/check/Makefile.am:
11226           fix distcheck
11227
11228 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11229
11230         * docs/design/part-states.txt:
11231           two tiny additional comments
11232         
11233         * gst/gststructure.c:
11234           doc fixing
11235
11236         * tests/check/Makefile.am:
11237         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11238         (GST_START_TEST):
11239           disable test for now, unless it gets fixed
11240
11241 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11242
11243         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11244         (GST_START_TEST):
11245           fix race in underrun test
11246
11247 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11248
11249         * tests/check/elements/.cvsignore:
11250           ignore more
11251
11252         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11253         (GST_START_TEST):
11254           try to narrow test failure
11255
11256 2006-12-21  David Schleef  <ds@schleef.org>
11257
11258         * plugins/elements/gstfakesrc.c:
11259           Use g_random_int_range(), since it produces better random
11260           numbers in a range than almost-correct floating point code.
11261
11262 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11263
11264         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11265         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11266         (gst_check_teardown_sink_pad):
11267           do not automatically (de)activate pads
11268
11269         * tests/check/Makefile.am:
11270         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11271         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11272           add new, yet simple tests for queue
11273
11274         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11275         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11276         * tests/check/elements/filesrc.c: (cleanup_filesrc),
11277         (GST_START_TEST):
11278         * tests/check/elements/identity.c: (cleanup_identity):
11279           consistent pad (de)activation
11280
11281 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
11282
11283         Patch by: Sebastian Dröge  <slomo ubuntu com>
11284
11285         * libs/gst/base/gstcollectpads.c:
11286           Fix two doc typos (#387866).
11287
11288 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11289
11290         * docs/manual/advanced-dparams.xml:
11291           Fix typo (g_object_control_properties() doesn't exist).
11292
11293 2006-12-19  Edward Hervey  <edward@fluendo.com>
11294
11295         * gst/gstsegment.c: (gst_segment_set_seek):
11296         Fine tune the cases where the segment start/stop values are really
11297         updated.
11298         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11299         Add tests for the return values of gst_segment_set_seek().
11300
11301 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11302
11303         * gst/gst.c:
11304           Docs typo fix.
11305
11306         * plugins/elements/gstqueue.c: (gst_queue_class_init),
11307         (gst_queue_init):
11308           Fix incorrect documentation and flesh it out a bit more.
11309           Set default values for the max properties on the GParamSpec as well,
11310           so it shows up correctly in gst-inspect.
11311
11312 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
11313
11314         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11315           Correct docs of queue, add more detail and crosslink it more.
11316
11317 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11318
11319         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11320           Print additional debug info when the stream isn't perfectly
11321           timestamped; don't try to use invalid durations.
11322
11323 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11324
11325         * docs/design/Makefile.am:
11326           Dist new design docs.
11327
11328 2006-12-16  Wim Taymans  <wim@fluendo.com>
11329
11330         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11331
11332         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11333         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11334         (gst_collect_pads_stop), (gst_collect_pads_event),
11335         (gst_collect_pads_chain):
11336         * libs/gst/base/gstcollectpads.h:
11337         Add refcounting to the collectpads data so we can track when it's safe
11338         to free the data. Fixes #383382.
11339
11340 2006-12-15  Wim Taymans  <wim@fluendo.com>
11341
11342         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11343         (gst_collect_pads_remove_pad):
11344         Automatically activate/deactivate pads when they are added to a
11345         started/stoped collectpads.
11346
11347 2006-12-15  Wim Taymans  <wim@fluendo.com>
11348
11349         * gst/gstelement.c: (gst_element_add_pad):
11350         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11351         * gst/gstpad.c: (gst_pad_init):
11352         Set pads to FLUSHING when they are created. Check, warn and fix when a
11353         demuxer adds an inactive pad to itself when running. Fixes #339326.
11354
11355 2006-12-15  Wim Taymans  <wim@fluendo.com>
11356
11357         * gst/gstelement.c: (gst_element_class_init),
11358         (gst_element_default_send_event), (gst_element_send_event),
11359         (gst_element_default_query), (gst_element_query):
11360         Expose default element send_event and query handling as vmethods that
11361         subclasses can chain up to.
11362
11363 2006-12-15  Wim Taymans  <wim@fluendo.com>
11364
11365         * gst/gstelement.c: (gst_element_set_state_func):
11366         Small documentation fixes.
11367
11368 2006-12-15  Wim Taymans  <wim@fluendo.com>
11369
11370         * docs/design/draft-latency.txt:
11371         Checked in draft for handling latency in pipelines.
11372
11373 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11374
11375         * Makefile.am:
11376         * gstreamer.doap:
11377         * gstreamer.spec.in:
11378           adding .doap file
11379
11380 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11381
11382         * gst/gst.c: (init_pre), (init_post):
11383           init_pre() and init_post() might be called via our GOptionGroup or
11384           from gst_init(), and we should skip both of them if we've already
11385           been initialised, otherwise we will init some things twice or add
11386           two default log functions.
11387
11388 2006-12-13  Edward Hervey  <edward@fluendo.com>
11389
11390         * docs/manual/basics-bus.xml:
11391         No, gst_main_loop does not exist. Its g_main_loop.
11392         Discovered by somebody who abused the copy-paste technique of coding :)
11393
11394 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11395
11396         * gst/gstghostpad.c:
11397           Log ghostpad debug stuff to the GST_PADS category as well rather
11398           than just to the default category.
11399
11400 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11401
11402         * configure.ac:
11403         * gst/gst.c: (init_pre):
11404           Add some basic system details such as OS and architecture
11405           to the debug output if possible, courtesy of uname().
11406
11407 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11408
11409         * docs/gst/running.xml:
11410           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11411           environment variables.
11412
11413 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11414
11415         * tests/check/gst/gstbin.c: (GST_START_TEST):
11416         It is acceptable to have a refcount of 2 or 3 at this point in the
11417         test, because the pipeline might be just posting its state_change
11418         message. The next line then waits for that message to appear using
11419         bus_poll, so that should be fine too.
11420
11421 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11422
11423         * gst/gst.c: (ensure_current_registry_forking):
11424         Ignore EINTR when reading from the child registry pipe.
11425         Explicitly ignore the return value from close, since it makes no
11426         difference.
11427
11428         * gst/gstminiobject.c: (gst_mini_object_ref),
11429         (gst_mini_object_unref):
11430         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11431
11432         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11433         When removing cached plugins, remove their features too, so they're
11434         not visible after they've disappeared.
11435
11436         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11437         In the unlikely case that we are linking pads with no parents, don't
11438         crash trying to get the non-existent parent bin.
11439
11440         * gst/parse/grammar.y:
11441         Output debug in the PIPELINE category
11442
11443 2005-03-08  Wim Taymans  <wim@fluendo.com>
11444
11445         Patch by: René Stadler <mail at renestadler dot de>
11446
11447         * gst/gstclock.c: (gst_clock_new_periodic_id):
11448         Reject invalid clock times for interval of periodic ids.
11449         Fixes ##383506.
11450
11451 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11452
11453         * gst/gstelementfactory.c: (gst_element_factory_create):
11454         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11455         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11456         * tools/gst-inspect.c: (print_element_info):
11457         Fix refcounting of gst_plugin_feature_load to match the docs. 
11458         Fixes: #380129
11459
11460 2006-12-07  Wim Taymans  <wim@fluendo.com>
11461
11462         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11463         (gst_base_sink_get_position):
11464         Improve debugging of events.
11465
11466 2006-12-07  Wim Taymans  <wim@fluendo.com>
11467
11468         Patch by: René Stadler <mail at renestadler dot de>
11469
11470         * gst/gstclock.c: (gst_clock_id_wait):
11471         Make period ids add the interval to the origial requested time instead
11472         of the possibly updated time which can be wrong when there are multiple
11473         waiters for the same id. Fixes #382592.
11474
11475         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11476         (gst_system_clock_id_wait_jitter_unlocked),
11477         (gst_system_clock_id_wait_jitter):
11478         Fix restart in the async notify thread when an async entry is added to
11479         the front of the list. Fixes #381492. 
11480
11481         * tests/check/gst/gstsystemclock.c: (store_callback),
11482         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11483         Added test for multiple async waits.
11484         Added test for async wait order.
11485
11486 2006-12-07  Wim Taymans  <wim@fluendo.com>
11487
11488         * gst/gstbin.c: (gst_bin_query):
11489         Add some more docs about the POSITION query.
11490
11491 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11492
11493         * configure.ac:
11494         Bump version nano - back to CVS.
11495
11496 === release 0.10.11 ===
11497
11498 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11499
11500         * configure.ac:
11501           releasing 0.10.11, "Love never runs on time"
11502
11503 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11504
11505         * win32/common/libgstbase.def:
11506         * win32/common/libgstreamer.def:
11507         * win32/vs8/libgstbase.vcproj:
11508         * win32/vs8/libgstcoreelements.vcproj:
11509         * win32/vs8/libgstreamer.vcproj:
11510         Fix compilation on win32 under VS8
11511         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11512         Partially fixes #381175
11513
11514 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11515
11516         * gst/gstvalue.c: (gst_value_compare_fraction):
11517         If someone is foolish enough to compare 2 fractions with denominator =
11518         0, return UNORDERED rather than aborting.
11519
11520 2006-11-28  Edward Hervey  <edward@fluendo.com>
11521
11522         * libs/gst/base/Makefile.am:
11523         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11524         (gst_data_queue_base_init), (gst_data_queue_class_init),
11525         (gst_data_queue_init), (gst_data_queue_new),
11526         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11527         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11528         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11529         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11530         (gst_data_queue_set_flushing), (gst_data_queue_push),
11531         (gst_data_queue_pop), (gst_data_queue_drop_head),
11532         (gst_data_queue_set_property), (gst_data_queue_get_property):
11533         * libs/gst/base/gstdataqueue.h:
11534         New GstDataQueue object for threadsafe queueing. Most useful for
11535         elements that need some queueing functionnality.
11536         * docs/libs/gstreamer-libs-docs.sgml:
11537         * docs/libs/gstreamer-libs-sections.txt:
11538         Insert documentation for GstDataQueue
11539         * plugins/elements/Makefile.am:
11540         * plugins/elements/gstelements.c:
11541         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11542         (gst_multi_queue_class_init), (gst_multi_queue_init),
11543         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11544         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11545         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11546         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11547         (gst_multi_queue_loop), (gst_multi_queue_chain),
11548         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11549         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11550         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11551         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11552         (wake_up_next_non_linked), (compute_next_non_linked),
11553         (single_queue_overrun_cb), (single_queue_underrun_cb),
11554         (single_queue_check_full), (gst_single_queue_new):
11555         * plugins/elements/gstmultiqueue.h:
11556         New multiqueue element, using GstDataQueue. Used for queuing multiple
11557         streams.
11558         Closes #344639 and #347785
11559
11560 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11561
11562         * docs/pwg/advanced-types.xml:
11563           add more missing type details
11564
11565         * tools/gst-run.c: (main):
11566           remove unused variable
11567
11568 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11569
11570         * docs/libs/Makefile.am:
11571         * docs/libs/gstreamer-libs.types:
11572           add types of base classes to enable gobject specific stuff in the docs
11573
11574         * docs/random/ensonic/embedded.txt:
11575           more ideas about isolating platform specific things
11576
11577 2006-11-20  Wim Taymans  <wim@fluendo.com>
11578
11579         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11580
11581         * libs/gst/check/gstcheck.h:
11582         Fix compilation and running against 0.9.4. Fixes #377332.
11583
11584 2006-11-20  Wim Taymans  <wim@fluendo.com>
11585
11586         * gst/gstsegment.c: (gst_segment_set_seek),
11587         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11588         (gst_segment_to_running_time):
11589         Fix boundary checking in to_running_time() and to_stream_time().
11590         Fixes #377183.
11591
11592         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11593         stream and running time can now be calculated for the complete
11594         clipped segment.
11595
11596 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11597
11598         * gst/gstpad.c: (gst_pad_push_event):
11599           Can't access event structure after giving away ownership of
11600           the event.
11601
11602 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11603
11604         * docs/random/ensonic/embedded.txt:
11605         * docs/random/ensonic/profiling.txt:
11606         * docs/random/ensonic/receipies.txt:
11607           more thinking
11608
11609 2006-11-13  Wim Taymans  <wim@fluendo.com>
11610
11611         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11612
11613         * gst/gstpad.c:
11614         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11615
11616 2006-11-13  Wim Taymans  <wim@fluendo.com>
11617
11618         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11619
11620         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11621         Store new length in segment duration so we don't keep on calling the
11622         potentially expensize get_size() call. Fixes #370865.
11623
11624 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11625
11626         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11627
11628         * win32/common/libgstreamer.def:
11629           Add two missing symbols (#366492).
11630
11631 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11632
11633         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11634         (gst_adapter_take_buffer):
11635         Fix format string to use all its arguments.
11636         Remove useless >= check on a guint
11637
11638 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11639
11640         * tests/examples/adapter/.cvsignore:
11641         Ignore build file as commanded by the build-bot
11642
11643 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11644
11645         * tests/examples/adapter/Makefile.am:
11646         * tests/examples/adapter/adapter_test.c: (run_test_take),
11647         (run_test_take_buffer), (run_tests), (main):
11648
11649         Add new files from the previous commit
11650
11651 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11652
11653         * Makefile.am:
11654         * configure.ac:
11655         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11656         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11657         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11658         * libs/gst/base/gstadapter.h:
11659         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11660         (GST_START_TEST), (gst_adapter_suite):
11661         * tests/examples/Makefile.am:
11662         Do some optimisation work in GstAdapter to avoid copies in more cases.
11663         It could still do slightly better by merging buffers when
11664         gst_buffer_is_span_fast is true, but is already faster. 
11665
11666         Also, avoid traversing a single-linked list to append each incoming 
11667         buffer inside the adapter.
11668
11669         Add simple test app that times the adapter behaviour in different
11670         situations, and extend the unit test to check that bytes enter and
11671         exit the adapter in their original order.
11672
11673 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11674
11675         * docs/random/draft-missing-plugins.txt:
11676           Update: use element message instead of adding a new message
11677           type to the core; don't provide GStreamer API to initiate the
11678           plugin download, just provide API to compose the strings needed
11679           and let an external libgimmestuff handle the rest.
11680
11681 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11682
11683         * tools/gst-inspect.c: (print_element_properties_info):
11684         Print a string instead of 'unknown type' for GValueArray properties
11685
11686 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11687
11688         * docs/random/draft-missing-plugins.txt:
11689         More small fixes.
11690
11691 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11692
11693         * tests/examples/typefind/typefind.c: (type_found), (main):
11694           Make typefind element example work again (#371894); add a
11695           license header.
11696
11697 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11698
11699         * docs/random/draft-missing-plugins.txt:
11700           Commit initial draft about how to deal with missing plugins,
11701           needs work (API too).
11702
11703 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11704
11705         * docs/pwg/advanced-types.xml:
11706           documents the new caps elements (see #363118)
11707
11708 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11709
11710         * gst/gstplugin.c: (gst_plugin_load_file):
11711         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11712         (gst_file_src_map_region), (gst_file_src_start):
11713         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11714         (gst_file_index_commit):
11715           Use g_strerror() instead of strerror() - we want UTF-8.
11716
11717 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11718
11719         Patch by: Peter Kjellerstedt <pkj at axis com>
11720
11721         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11722           Another printf fix (#371493).
11723
11724 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11725
11726         * tests/check/gst/gsttag.c:
11727           relicence (okay with author=company)
11728
11729 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11730
11731         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11732         (gst_pad_push_event):
11733           Enhance debug and improve docs
11734         
11735         * gst/gsturi.c:
11736           Fix docs
11737
11738 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11739
11740         * docs/random/ensonic/distributed.txt:
11741         * docs/random/ensonic/profiling.txt:
11742           more ideas
11743
11744 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11745
11746         * docs/gst/gstreamer-sections.txt:
11747           add new API and fix the build
11748           
11749         * gst/gstbin.c: (gst_bin_recalc_state):
11750         * gst/gstelement.c: (gst_element_message_full),
11751         (gst_element_get_state_func), (gst_element_set_state_func):
11752           use new API and improve logging
11753         
11754         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11755         * gst/gstutils.h:
11756           API: add function to get StateChangereturn names to improve logs 
11757
11758 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11759
11760         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11761           I'm considering shooting the next person to put strerror stuff
11762           in the translateable part of the message.
11763
11764 2006-11-03  Wim Taymans  <wim@fluendo.com>
11765
11766         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11767         Get the type and printf conversion specifiers right.
11768
11769 2006-11-03  Wim Taymans  <wim@fluendo.com>
11770
11771         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11772
11773         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11774         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11775         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11776         Some small cleanups. Improve debugging.
11777         * gst/gstpad.h:
11778         Signal all waiting threads with a broadcast instead of just one.
11779         Fixes #369942.
11780
11781 2006-11-03  Wim Taymans  <wim@fluendo.com>
11782
11783         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11784         (gst_fd_src_create):
11785         Add some debugging. 
11786         Only update fd when it's different from the old.
11787
11788 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11789
11790         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11791           Printf fixes for PPC/OSX, take two (#369366).
11792
11793 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11794
11795         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11796
11797         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11798         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11799         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11800           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11801           don't cast to long long for portability reasons, but use
11802           GLib's types instead.
11803
11804 2006-10-30  Michael Smith  <msmith@fluendo.com>
11805
11806         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11807           Get the arguments to lseek() the right way around.
11808           Fixes 367677.
11809
11810 2006-10-30  Wim Taymans  <wim@fluendo.com>
11811
11812         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11813
11814         * gst/gstinfo.h:
11815         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11816
11817 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11818
11819         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11820
11821         * docs/design/part-MT-refcounting.txt:
11822         * docs/random/wtay/capsnego2-docs:
11823         * gst/gstclock.c:
11824         * gst/gstxml.c:
11825           Typo fixes (#366212).
11826
11827 2006-10-28  Wim Taymans  <wim@fluendo.com>
11828
11829         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11830
11831         * gst/gst.c:
11832         * win32/common/libgstbase.def:
11833         * win32/common/libgstreamer.def:
11834         * win32/vs8/libgstbase.vcproj:
11835         * win32/vs8/libgstcontroller.vcproj:
11836         Add needed entries in .def files.
11837         Use HAVE_UNISTD_H.
11838         Rearrange def files in vs8 solutions. Fixes #366286.
11839
11840 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11841
11842         * win32/common/gstconfig.h:
11843           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11844           hand-made win32 gstconfig.h. Fixes #366321.
11845
11846 2006-10-27  Wim Taymans  <wim@fluendo.com>
11847
11848         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11849         (gst_ghost_pad_new_full):
11850         Make acceptcaps return TRUE when we don't have a target, just like
11851         setcaps does.
11852
11853 2006-10-27  Wim Taymans  <wim@fluendo.com>
11854
11855         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11856         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11857
11858 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11859
11860         * gst/gststructure.c: (gst_structure_id_set_value):
11861           If someone tries to set a non-UTF8 string field on a structure,
11862           don't just print a warning, but also ignore the request and do
11863           not change/add that field to the structure.
11864
11865         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11866           Test for the above.
11867
11868 2006-10-25  David Schleef  <ds@schleef.org>
11869
11870         * gst/gstinfo.c:
11871           g_hash_table_insert() needs a cast to a non-const pointer duh.
11872
11873 2006-10-25  David Schleef  <ds@schleef.org>
11874
11875         * gst/gstinfo.c:
11876         * gst/gstinfo.h:
11877           Change name parameter of _gst_debug_register_funcptr to const
11878           to reflect the constness of its use in the function as well
11879           as to quiet a gcc warning.
11880
11881 2006-10-25  Edward Hervey  <edward@fluendo.com>
11882
11883         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11884         Don't push the buffer if it's empty.
11885         Closes #363095
11886
11887 2006-10-24  Wim Taymans  <wim@fluendo.com>
11888
11889         * gst/gstevent.h:
11890         Add small comment.
11891
11892         * libs/gst/base/gstbasetransform.c:
11893         (gst_base_transform_sink_eventfunc):
11894         Debug segment values *after* updating them as this is more
11895         interesting.
11896
11897 2006-10-23  Wim Taymans  <wim@fluendo.com>
11898
11899         * docs/design/part-events.txt:
11900         Update some docs.
11901
11902         * docs/design/part-block.txt:
11903         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11904         (gst_pad_push_event):
11905         Revert BLOCKING patch, it tries to be smart without really having a
11906         clear idea what or how. So, now we discard all FLUSHING events again on
11907         a blocking pad. Should fix gnonlin again.
11908
11909 2006-10-23  Wim Taymans  <wim@fluendo.com>
11910
11911         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11912
11913         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11914         (gst_base_src_start), (gst_base_src_activate_push):
11915         Make sure size is always initialized. Fixes #364388.
11916
11917 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11918
11919         * docs/random/ensonic/distributed.txt:
11920           add some ideas about doing distributed processing
11921
11922         * docs/random/ensonic/profiling.txt:
11923           get_rusage look promising
11924
11925 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11926
11927         * docs/manual/basics-helloworld.xml:
11928           Add a cast in example to fix compile warning
11929
11930 2006-10-18  Wim Taymans  <wim@fluendo.com>
11931
11932         * gst/gstsegment.c: (gst_segment_set_last_stop),
11933         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11934         Relax arg checking again, -1 is allowed.
11935
11936 2006-10-18  Wim Taymans  <wim@fluendo.com>
11937
11938         * gst/gstsegment.c: (gst_segment_set_last_stop),
11939         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11940         _set_last_stop() must be with a value != -1
11941         A _TYPE_SET to -1 means seek to 0.
11942         Calc last_stop correctly for negative rates.
11943         Make sure we work with positive durations when updating a segment.
11944
11945 2006-10-18  Wim Taymans  <wim@fluendo.com>
11946
11947         * docs/design/part-live-source.txt:
11948         * gst/gstclock.h:
11949         Small docs fixes.
11950
11951 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11952
11953         * gst/gstbuffer.h:
11954           Add an explicit cast to GstBuffer** to keep old code that added an
11955           explicit cast to GstMiniObject** for gst_mini_object_replace()
11956           compiling without warning.
11957
11958 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11959
11960         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11961           check for validity of dates
11962
11963 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11964
11965         * docs/gst/gstreamer-sections.txt:
11966           Forgot this one, makes gtk-doc shut up.
11967
11968 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11969
11970         Patch by: Peter Kjellerstedt <pkj at axis com>
11971
11972         * gst/gstobject.h:
11973           Don't define xmlNodePtr to gpointer if the core was built with
11974           --disable-loadsave and --disable-registry, this will break
11975           applications that want to use libxml2 but are buildling against a
11976           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11977           instead so we don't have to mess with the libxml2 namespace
11978           (#361675).
11979
11980 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11981
11982         * gst/gstbuffer.h:
11983           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11984           type-punned pointer warnings.
11985
11986 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11987
11988         * gst/gstelement.h:
11989           Add casts to the correct return type to state <=> state transition
11990           macros.
11991
11992 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11993
11994         * docs/design/part-live-source.txt:
11995           describe howto handle latency
11996         
11997         * docs/random/ensonic/profiling.txt:
11998           more ideas
11999
12000         * tools/gst-plot-timeline.py:
12001           fix log parsing for solaris, remove unused function
12002
12003 2006-10-16  Wim Taymans  <wim@fluendo.com>
12004
12005         * docs/design/part-trickmodes.txt:
12006         * gst/gstevent.c:
12007         Update some docs regarding reverse playback.
12008
12009 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
12010
12011         Patch by: Marcus Granado  <mrc dot gran at gmail com>
12012
12013         * win32/vs8/grammar.vcproj:
12014           Error out with a warning if glib-genmarshal.exe is not in path,
12015           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
12016
12017 2006-10-13  Wim Taymans  <wim@fluendo.com>
12018
12019         * gst/gstsegment.c: (gst_segment_set_seek):
12020         When seeking to stop -1, set last_stop (current position) to the
12021         duration of the segment.
12022
12023 2006-10-13  Wim Taymans  <wim@fluendo.com>
12024
12025         * gst/gstelement.h:
12026         Clarify _NO_PREROLL a bit more.
12027
12028         * gst/gstevent.c:
12029         Fix docs.
12030
12031         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
12032         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
12033         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
12034         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
12035         due to wrong locking order. Fixes #361769.
12036         Remove some redundant/misplaced checks in pad_block.
12037
12038         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12039         For negative rates, count backwards from the duration.
12040
12041 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
12042
12043         * gst/gsterror.c: (_gst_library_errors_init):
12044           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
12045           up with something better).
12046
12047 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
12048
12049         * win32/vs6/libgstreamer.dsp:
12050         * win32/vs7/libgstreamer.vcproj:
12051         * win32/vs8/libgstreamer.vcproj:
12052           Don't reference glib-compat.c which is currently not used and not
12053           disted; add gstquark.c which was recently added. Fixes #361730.
12054
12055 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
12056
12057         * win32/common/libgstbase.def:
12058         * win32/common/libgstcontroller.def:
12059         * win32/common/libgstreamer.def:
12060           Add gst_caps_merge() and a bunch of other recently-added functions.
12061           Fixes #361732.
12062
12063 2006-10-11  Wim Taymans  <wim@fluendo.com>
12064
12065         * docs/plugins/gstreamer-plugins.args:
12066         * docs/plugins/inspect/plugin-coreelements.xml:
12067         * docs/plugins/inspect/plugin-coreindexers.xml:
12068         Update element args.
12069
12070         * gst/gstsystemclock.c:
12071         Small comment update.
12072
12073         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12074         (gst_tee_request_new_pad), (gst_tee_release_pad),
12075         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
12076         (gst_tee_sink_activate_pull):
12077         * plugins/elements/gsttee.h:
12078         Some tee loving:
12079         Add default property defines.
12080         Implement release pad function.
12081         Give properties better blubs etc.
12082         Activate pads before adding them to a running tee.
12083         Do simple buffer_alloc on the first requested pad.
12084         Post error when activation fails.
12085
12086 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
12087
12088         * gst/gst.c: (ensure_current_registry_forking):
12089           Check return value of write() to make compiler happy.
12090
12091 2006-10-11  Wim Taymans  <wim@fluendo.com>
12092
12093         Patch by: Sjoerd Simons <sjoerd at luon dot net>
12094
12095         * plugins/elements/gstqueue.c: (gst_queue_chain):
12096         Recheck queue filledness after signalling the overrun when we're about
12097         to leak downstream because we released the lock when emitting the signal
12098         and the queue could be empty again. Fixes #352345.
12099
12100 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
12101
12102         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12103           Fix refcounting here too, just like we did for _new_valist() a few
12104           days ago (#357180) (thanks to René Stadler). Also remove all those
12105           'Since: 0.9' from the gtk-doc blobs.
12106
12107         * tests/check/libs/controller.c: (controller_refcount_new_list),
12108         (gst_controller_suite):
12109           Unit test for the above.
12110
12111 2006-10-10  Wim Taymans  <wim@fluendo.com>
12112
12113         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
12114
12115         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
12116         (gst_pad_save_thyself):
12117         Update some docs.
12118         Write pad direction in XML output. Fixes #345496.
12119
12120 2006-10-10  Wim Taymans  <wim@fluendo.com>
12121
12122         Patch by: René Stadler <mail at renestadler dot de>
12123
12124         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12125         (gst_controller_new_list), (_gst_controller_dispose),
12126         (_gst_controller_finalize), (_gst_controller_class_init):
12127         Take ref to controlled object so that it cannot disappear. 
12128         Fixes #357432.
12129
12130 2006-10-10  Wim Taymans  <wim@fluendo.com>
12131
12132         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
12133         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12134         (gst_check_teardown_sink_pad):
12135         Activate/deactivate pads in setup/teardown respectively.
12136
12137 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12138
12139         Patch by: Josep Torra Valles <josep@fluendo.com>
12140
12141         * gst/Makefile.am:
12142         Cast values when making gstenumtypes.h.  This pacifies Forte
12143         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12144         in the enumeration.
12145
12146 2006-10-09  Wim Taymans  <wim@fluendo.com>
12147
12148         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12149         Rename some more @cur to @start to fix docs. 
12150
12151         * gst/gstsegment.c: (gst_segment_set_seek):
12152         Fix typo.
12153         time and start must always stay in sync as defined in design doc.
12154
12155         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12156         Rename param to fix docs.
12157
12158         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12159         Check that start and time are in sync.
12160
12161         * tests/check/pipelines/parse-launch.c:
12162         (gst_parse_test_element_change_state):
12163         Activate pad before adding to the element.
12164
12165 2006-10-09  Wim Taymans  <wim@fluendo.com>
12166
12167         * docs/design/part-qos.txt:
12168         Fix typo.
12169
12170         * gst/gstevent.c:
12171         * gst/gstevent.h:
12172         Update seek event docs regarding negative rates.
12173         Rename @cur to @start. 
12174
12175         * gst/gstsegment.c: (gst_segment_set_seek):
12176         * gst/gstsegment.h:
12177         Update set_seek docs regarding negative rates.
12178         Correctly update last_stop to @stop when dealing with negative
12179         rates.
12180         Rename @cur to @start. 
12181
12182         * tests/check/gst/gstpad.c: (GST_START_TEST):
12183         Activate pads before trying to use them.
12184
12185         * tests/check/gst/gstsegment.c: (GST_START_TEST),
12186         (gst_segment_suite):
12187         Add simple check for segments and negative rates.
12188
12189 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
12190
12191         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12192         * gst/gsttaglist.h:
12193         * docs/gst/gstreamer-sections.txt:
12194           API: add gst_tag_list_is_empty() (#360467).
12195
12196         * tests/check/gst/gsttag.c: (GST_START_TEST):
12197           And a test case.
12198
12199 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12200
12201         * gst/gstmessage.h:
12202         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12203         a value that doesn't fit on enumeration.
12204
12205 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12206
12207         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12208         Remove local debugging system and use Gstreamer's instead.
12209
12210 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12211
12212         Patch by: Josep Torra Valles <josep@fluendo.com>
12213
12214         * common/m4/gst-error.m4:
12215         Disable warning of statement not reached on Forte.
12216         * gst/gstmessage.h:
12217         Fix warning on Forte (value doesn't fit on enumeration).
12218         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12219         Fix warning on Forte (value doesn't fit on enumeration).
12220         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12221         DEBUG macro says it takes minimum of 2 args and so Forte
12222         complains about the use with just 1 arg.
12223         * plugins/elements/gstfdsink.c:
12224         * plugins/elements/gstfdsrc.c:
12225         * plugins/elements/gstfilesink.c:
12226         * plugins/elements/gstfilesrc.c:
12227         Use correct return type for the uri handler implementations.
12228
12229         All these fix warnings in Forte.  Fixes bug #360860.
12230
12231 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
12232
12233         * gst/gstelement.h:
12234           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12235           format string, so don't use G_GNUC_PRINTF for those versions.
12236
12237 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12238
12239         * gst/gsttaglist.c: (gst_is_tag_list):
12240         * gst/gsttaglist.h:
12241           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12242
12243         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12244           Small test for the above.
12245
12246 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12247
12248         * gst/gsttaglist.h:
12249           Less tabs, more spaces.
12250
12251 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
12252
12253         * gst/gstinfo.h:
12254           Those two function declarations do actually belong there, revert
12255           commit from yesterday that turned them intro macros.
12256
12257 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12258
12259         Patch by: Josep Torra Valles <josep@fluendo.com>
12260
12261         * gst/gst.c: (gst_init_get_option_group):
12262         Fix empty declaration and type mismatch.
12263         * gst/gstbin.c: (gst_bin_change_state_func):
12264         Fix type mismatch.
12265         * gst/gstelement.c: (gst_element_continue_state),
12266         (gst_element_set_state_func), (gst_element_change_state),
12267         (gst_element_change_state_func):
12268         Fix type mismatches.
12269         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12270         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12271         Cast as appropriate.
12272         * gst/gstobject.c: (gst_class_signal_connect):
12273         Cast as appropriate.  The function pointer parameter really
12274         has the wrong type but would break API if we change it.
12275         * gst/gstquery.c:
12276         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12277         order of including string.h.
12278         * gst/gstutils.c: (gst_element_state_get_name):
12279         Remove unreachable line.
12280         * gst/gstxml.c: (gst_xml_parse_doc):
12281         Fix type mismatch.
12282         All these caught by Forte.
12283
12284 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12285
12286         Patch by: Josep Torra Valles <josep@fluendo.com>
12287
12288         * common/m4/gst-error.m4:
12289         Fixed bug #360151.
12290         We need to disable warnings on Forte for empty declarations
12291         due to gst-indent adding ;s to lines that just use macros
12292         where the macro actually doesn't need a ; at end to end
12293         statement.
12294
12295 2006-10-06  Wim Taymans  <wim@fluendo.com>
12296
12297         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12298         (gst_file_sink_close_file), (gst_file_sink_event),
12299         (gst_file_sink_render):
12300         Add some FIXME for the NEWSEGMENT handling.
12301
12302 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12303
12304         * gst/parse/grammar.y:
12305         Remove static function gst_parse_element_lock as all it does
12306         is return.  Looks like cruft from 0.8.
12307
12308 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12309
12310         Patch by: Josep Torra Valles <josep@fluendo.com>
12311
12312         * common/m4/gst-error.m4:
12313         * configure.ac:
12314         * libs/gst/net/Makefile.am:
12315         Fix a compilation issue with Forte on Solaris.  inet_aton is in
12316         libresolv.
12317
12318 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12319
12320         * gst/gstpad.c: (pre_activate):
12321         * gst/gstregistry.c: (gst_registry_scan_path_level):
12322         * gst/gstregistryxml.c: (load_plugin):
12323         * libs/gst/controller/gstcontroller.c:
12324         (gst_controlled_property_set_interpolation_mode):
12325         * libs/gst/dataprotocol/dataprotocol.c:
12326         (gst_dp_packet_from_event_1_0):
12327         * libs/gst/net/gstnetclientclock.c:
12328         (gst_net_client_clock_observe_times):
12329         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12330           Printf fixes.
12331
12332 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12333
12334         * configure.ac:
12335         * docs/gst/gstreamer-sections.txt:
12336         * gst/gstconfig.h.in:
12337         * gst/gstelement.h:
12338         * gst/gstinfo.h:
12339           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12340           whether we can use G_GNUC_PRINTF in other header files and at
12341           least check the printf format/arguments of debug messages and
12342           GST_ELEMENT_ERROR messages when the printf extension is not
12343           being used.
12344           Replace more tabs with spaces in gstinfo.h and remove two spurious
12345           function declarations in GST_DISABLE_DEBUG part with macros.
12346
12347 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
12348
12349         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12350           More docs for the sync-message signal (mention that it is not
12351           emitted by default); log message structures of messages posted on
12352           the bus as well.
12353
12354 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
12355
12356         * gst/gst.c: (ensure_current_registry_forking):
12357         Use a pipe pair to receive status results from the forked child, and
12358         ignore the result from waitpid. Fixes #355499
12359
12360 2006-10-02  Wim Taymans  <wim@fluendo.com>
12361
12362         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12363         (gst_ghost_pad_suite):
12364         Fix leak in check.
12365
12366 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12367
12368         * gst/gstpad.c:
12369           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12370
12371 2006-10-02  Edward Hervey  <edward@fluendo.com>
12372
12373         * docs/design/part-block.txt:
12374         Further explain the use of flushing on blocked pads.
12375         * docs/gst/gstreamer-sections.txt:
12376         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12377         (gst_pad_push_event):
12378         * gst/gstpad.h:
12379         Added new GstPadFlag : GST_PAD_BLOCKING.
12380         Adds the notion of pads really blocking, which enables to properly
12381         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12382         Fixes #358999
12383         API: gst_pad_is_blocking()
12384         API: GST_PAD_IS_BLOCKING() macro
12385         API: GST_PAD_BLOCKING GstPadFlag
12386         
12387 2006-10-02  Wim Taymans  <wim@fluendo.com>
12388
12389         Patch by: mrcgran <mrc.gran at gmail dot com>
12390
12391         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12392         Filter the proxied caps against the padtemplate if we have one.
12393
12394         * gst/gstquery.c: (gst_query_new_segment):
12395         Add include for gstinfo.h so that compilation with
12396         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12397
12398 2006-10-02  Wim Taymans  <wim@fluendo.com>
12399
12400         Patch by: Alessandro Decina  <alessandro at nnva org>
12401
12402         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12403         (gst_file_sink_set_location), (gst_file_sink_open_file),
12404         (gst_file_sink_close_file), (gst_file_sink_event),
12405         (gst_file_sink_render):
12406         Set file to NULL when closing filesink so that we can set a new filename
12407         in READY. Fixes #358613.
12408
12409 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12410
12411         Patch by: Alessandro Decina  <alessandro at nnva org>
12412
12413         * gst/gstevent.c: (_gst_event_copy):
12414           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12415           with event structures by setting the parent refcount address of the
12416           copied structure to the address of the refcount member of the newly
12417           copied event rather than the address of the refcount member of the
12418           original event. Fixes #358737.
12419
12420         * tests/check/gst/gstevent.c: (GST_START_TEST):
12421           Unit test for the above.
12422
12423 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12424
12425         * docs/design/Makefile.am:
12426           Dist some more files.
12427
12428 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12429
12430         * tests/check/libs/controller.c: (GST_START_TEST),
12431         (gst_controller_suite):
12432           Add test for the previous fix; add some more tests
12433           for correct refcounting behaviour; fix a few leaks
12434           in test cases; call gst_controller_init() at start
12435           of all tests.
12436
12437 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12438
12439         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12440         (gst_controller_set_from_list):
12441           Don't g_return_val_if_fail() on timed values with invalid timestamps
12442           inside a critical section without unlocking the mutex. Spotted by
12443           René Stadler. (#357617)
12444           Also, fix up refcounting properly: when returning an existing
12445           controller, we should increase the reference only once and not
12446           once per property and when trying to control a property again
12447           we should also increase the refcount.
12448
12449 2006-09-29  Wim Taymans  <wim@fluendo.com>
12450
12451         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12452         * libs/gst/net/gstnettimeprovider.c:
12453         (gst_net_time_provider_thread):
12454         Stop reading commands when EOF as well.
12455
12456         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12457         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12458         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12459         Unify description of the dump property.
12460
12461 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12462
12463         * tests/examples/manual/.cvsignore:
12464         OK, so it's actually cvsignore that needs changing. Stop laughing.
12465
12466 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12467
12468         * tests/examples/manual/Makefile.am:
12469         Gah, declare vars *before* using them
12470
12471 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12472
12473         * gst/gst.c: (init_pre), (scan_and_update_registry),
12474         (ensure_current_registry_nonforking),
12475         (ensure_current_registry_forking), (ensure_current_registry),
12476         (init_post), (gst_debug_help), (gst_deinit):
12477         * gst/gst_private.h:
12478         * gst/gstregistry.c: (gst_registry_finalize),
12479         (gst_registry_remove_features_for_plugin_unlocked),
12480         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12481         (gst_registry_scan_path),
12482         (_priv_gst_registry_remove_cache_plugins),
12483         (_priv_gst_registry_cleanup):
12484         * gst/gstregistry.h:
12485         Re-commit the registry changes, along with an extra fix:
12486           When a cached plugin is encountered at a different file path,
12487           update the stored path in the registry cache so that the parent
12488           process knows where it actually is now when it re-reads the registry
12489           cache. Fixes the thing that broke distcheck with the previous commit.
12490
12491         * tests/check/Makefile.am:
12492         Clean up files named 'core' too when running make clean.
12493
12494         * tests/examples/manual/Makefile.am:
12495         Set up a registry path for running these tests, and clean it properly
12496         for distcheck.
12497
12498 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12499
12500         * configure.ac:
12501         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12502         want gmodule-no-export-2.0.pc instead so that we don't drag in
12503         --export-dynamic on every project that links to GStreamer.
12504
12505         Also, make our export regex only match the start of symbols, rather 
12506         than any symbol that contains '_gst' somewhere.
12507
12508         * libs/gst/check/Makefile.am:
12509         The libgstcheck we build does however need export-dynamic, as it
12510         produces some symbols that don't match our _gst... style regex.
12511         Fixes: #318031
12512
12513 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12514
12515         * gst/gst.c: (init_pre), (scan_and_update_registry),
12516         (ensure_current_registry_nonforking),
12517         (ensure_current_registry_forking), (ensure_current_registry),
12518         (init_post), (gst_debug_help), (gst_deinit):
12519         * gst/gst_private.h:
12520         * gst/gstregistry.c: (gst_registry_finalize),
12521         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12522         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12523         (_gst_registry_cleanup):
12524         * gst/gstregistry.h:
12525           Revert previous change until I figure out why it breaks distcheck.
12526
12527 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12528
12529         * gst/gst.c: (init_pre), (scan_and_update_registry),
12530         (ensure_current_registry_nonforking),
12531         (ensure_current_registry_forking), (ensure_current_registry),
12532         (init_post), (gst_debug_help), (gst_deinit):
12533
12534           Make init_pre and init_post take the full complement of GOptionFunc
12535           args so they can return useful GErrors. Make the registry updating
12536           functions do so.
12537
12538           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12539           ensure that the registry we're about to write out doesn't contain
12540           stale information about old-deleted plugin files.
12541
12542           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12543           that deletion of plugin files is considered a registry change.
12544
12545         * gst/gst_private.h:
12546         * gst/gstregistry.c: (gst_registry_finalize),
12547         (gst_registry_remove_features_for_plugin_unlocked),
12548         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12549         (gst_registry_scan_path),
12550         (_priv_gst_registry_remove_cache_plugins),
12551         (_priv_gst_registry_cleanup):
12552         * gst/gstregistry.h:
12553         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12554         by adding _priv prefix, so that they won't appear in the global
12555         symbol table. They still do atm though because of #318031. Move the
12556         prototypes to gst_private.h
12557
12558         When removing a plugin, remove all features for that plugin too. 
12559         Fixes #340878.
12560
12561 2006-09-27  Wim Taymans  <wim@fluendo.com>
12562
12563         * docs/random/moving-plugins:
12564         Make it clear that the "compiled-in descriptions" really mean
12565         the element details.
12566
12567         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12568         (gst_base_sink_wait_preroll):
12569         Update docs.
12570
12571         * docs/libs/gstreamer-libs-sections.txt:
12572         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12573         (gst_base_src_get_range), (gst_base_src_activate_push):
12574         * libs/gst/base/gstbasesrc.h:
12575         Added function to block while waiting for PLAYING, this function
12576         is used by live sources that block on the clock.
12577         API: gst_base_src_wait_playing()
12578
12579 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12580
12581         Patch by: Peter Kjellerstedt <pkj at axis com>
12582
12583         * Makefile.am:
12584           gst-element-check.m4 is generated and should therefore be
12585           copied from the build dir rather than the source dir (#357593).
12586           'make distcheck' hasn't noticed this because we were disting
12587           the file as well, so stop doing that.
12588
12589 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12590
12591         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12592           Add some tests for gst_caps_intersect().
12593
12594         * tools/gst-launch.c: (event_loop):
12595           Print all buffering percentages we get, even the 100% one.
12596
12597 2006-09-26  Wim Taymans  <wim@fluendo.com>
12598
12599         * tools/gst-inspect.c: (print_element_properties_info),
12600         (print_signal_info):
12601         Fix printing of flags to match the look of enums.
12602
12603 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12604
12605         * gst/gstelementfactory.c:
12606           Fix typo in docs blurb.
12607
12608 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12609
12610         * gst/gsturi.c: (search_by_entry):
12611           Don't assert/crash here if a uri handler doesn't return any
12612           supported protocols. The list of protocols could be generated
12613           dynamically at runtime or at plugin registration, and an error
12614           in the underlying library shouldn't be fatal (#353301).
12615
12616 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12617
12618         * gst/gstinfo.c:
12619           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12620           (spotted by Peter Kjellerstedt).
12621
12622 2006-09-23  Wim Taymans  <wim@fluendo.com>
12623
12624         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12625
12626         * libs/gst/base/gstbasesrc.c:
12627         (gst_base_src_default_check_get_range), (gst_base_src_start),
12628         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12629         (gst_base_src_change_state):
12630         Match _start/_stop calls in the activate functions. Remove redundant
12631         _stop call from the state change function. Fixes #356910.
12632         Turn failure DEBUG into ERROR. 
12633
12634 2006-09-22  Wim Taymans  <wim@fluendo.com>
12635
12636         * docs/design/part-buffering.txt:
12637         * gst/gstmessage.c: (gst_message_new_buffering),
12638         (gst_message_parse_buffering):
12639         Update docs about buffering.
12640
12641         * docs/design/part-trickmodes.txt:
12642         Fix typo.
12643
12644 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12645
12646         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12647         (gst_controller_new_list):
12648           Ref instances when returning them again (fixes #357180)
12649
12650 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12651
12652         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12653           Don't forget to release proxy lock when there's an error.
12654
12655 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12656
12657         * gst/gstcaps.h:
12658           Add extra initialisers for Caps things, to fix some plugin warnings
12659           when using -Wextra
12660
12661 2006-09-18  Wim Taymans  <wim@fluendo.com>
12662
12663         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12664           Also set template on the internal pad so that a getcaps from the 
12665           target pad returns the template caps.
12666
12667 2006-09-18  Wim Taymans  <wim@fluendo.com>
12668
12669         * gst/gstelement.c: (gst_element_post_message),
12670         (gst_element_dispose):
12671         Use _DEBUG_OBJECT some more.
12672
12673         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12674         Avoid typechecks.
12675
12676         * tools/gst-launch.c: (main):
12677         If the toplevel element is not a GstPipeline, it must be put in a
12678         pipeline so that a bus and clock is selected.
12679
12680 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12681
12682         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12683           JITTER, RATE, and LATENCY query should be handled by the
12684           default case and not by the CONVERT query code.
12685
12686 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12687
12688         * gst/gstformat.c: (gst_format_register):
12689           Fix locking order (must take lock before using n_values).
12690
12691         * gst/gstvalue.c: (gst_value_serialize_enum),
12692         (gst_value_deserialize_enum_iter_cmp),
12693         (gst_value_deserialize_enum):
12694           Fix serialisation/deserialisation of custom registered GstFormats.
12695
12696         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12697           Unit test for custom format serialisation/deserialisation.
12698
12699 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12700
12701         * docs/pwg/building-boiler.xml:
12702         * plugins/elements/gstcapsfilter.c:
12703         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12704         section.
12705
12706 2006-09-16  Edward Hervey  <edward@fluendo.com>
12707
12708         * libs/gst/base/gstbasetransform.c:
12709         (gst_base_transform_buffer_alloc):
12710         Check if requested caps are the same as the sinks caps IF
12711         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12712         is FALSE.
12713         This fixes the renegotiation issues stated in #352827.
12714
12715 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12716
12717         * configure.ac:
12718         * docs/manual/advanced-autoplugging.xml:
12719         * tests/examples/Makefile.am:
12720         * tests/examples/manual/.cvsignore:
12721         * tests/examples/manual/Makefile.am:
12722         * tests/examples/manual/extract.pl:
12723           Extract the manual examples again like we used to do.
12724           Fix one of them.
12725
12726 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12727
12728         * win32/common/config.h:
12729           update for version
12730
12731 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12732
12733         * gst/gsterror.c:
12734           Documents how to receive errors.
12735
12736 2006-09-15  Wim Taymans  <wim@fluendo.com>
12737
12738         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12739         (event_loop), (main):
12740         Added some comments here and there.
12741         Post an application message when an interrupt is caught instead of doing
12742         an uncontrolled state change.
12743         Clean up the event loop.
12744         Handle buffering messages, pause/resume the pipeline.
12745         Make shutdown because of an interrupt more reliable.
12746
12747 2006-09-15  Wim Taymans  <wim@fluendo.com>
12748
12749         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12750         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12751         (gst_base_sink_preroll_object):
12752         Make sure that our internal state is correct when we commit our state
12753         asynchronously. This solves a race where a state change to PLAYING
12754         could cause the sink to remain blocked in preroll in some situations.
12755
12756 2006-09-15  Wim Taymans  <wim@fluendo.com>
12757
12758         * tools/gst-inspect.c: (print_element_properties_info),
12759         (print_signal_info):
12760         List flags as hex so it's easier to deal with.
12761
12762 2006-09-15  Wim Taymans  <wim@fluendo.com>
12763
12764         * docs/libs/gstreamer-libs-sections.txt:
12765         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12766         (gst_base_sink_do_sync):
12767         * libs/gst/base/gstbasesink.h:
12768         Expose logic to wait for preroll so that subclasses such as audiosink
12769         can also use this method.
12770         API: gst_base_sink_wait_preroll()
12771
12772 2006-09-15  Wim Taymans  <wim@fluendo.com>
12773
12774         * gst/gstobject.c: (gst_object_set_parent):
12775         * gst/gstpipeline.c: (do_pipeline_seek):
12776         Small cleanups in docs and code.
12777
12778         * gst/gstsegment.c: (gst_segment_clip):
12779         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12780         if stop == start and start is in the segment, no clipping should be
12781         done. Also add a test for this.
12782
12783 2006-09-15  Wim Taymans  <wim@fluendo.com>
12784
12785         * docs/design/part-buffering.txt:
12786         * docs/gst/gstreamer-sections.txt:
12787         * gst/gstmessage.c: (gst_message_new_buffering),
12788         (gst_message_parse_buffering):
12789         * gst/gstmessage.h:
12790         Added methods to create and parse BUFFERING messages.
12791         Added preliminary docs about buffering.
12792         API: gst_message_new_buffering
12793         API: gst_message_parse_buffering
12794
12795 2006-09-06  Wim Taymans  <wim@fluendo.com>
12796
12797         * gst/gstbin.c:
12798         Update documentation.
12799
12800         * gst/gstelement.c: (gst_element_class_init),
12801         (gst_element_release_request_pad), (gst_element_set_clock),
12802         (gst_element_get_index), (gst_element_add_pad),
12803         (gst_element_remove_pad), (gst_element_get_random_pad),
12804         (gst_element_send_event), (gst_element_get_query_types),
12805         (gst_element_query), (gst_element_post_message),
12806         (gst_element_message_full), (gst_element_continue_state),
12807         (gst_element_lost_state), (gst_element_save_thyself),
12808         (gst_element_restore_thyself):
12809         Documentation updates.
12810         Rename last bit of the new-pad -> pad-added signal rename.
12811         Fix the case where an element query would only work if the source
12812         pad was linked.
12813         Avoid some useless type checking in message handling.
12814
12815         * gst/gstevent.c:
12816         * gst/gstevent.h:
12817         * gst/gstutils.c:
12818         Documentation updates.
12819
12820 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12821
12822         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12823           add an INFO line for when we actually update the fd
12824
12825 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12826
12827         * configure.ac:
12828           back to TRUNK
12829
12830 === release 0.10.10 ===
12831
12832 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12833
12834         * configure.ac:
12835           releasing 0.10.10, "Pais"
12836
12837 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12838
12839         * docs/manual/advanced-position.xml:
12840           Fix typo in sample code.
12841
12842 2006-09-05  Wim Taymans  <wim@fluendo.com>
12843
12844         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12845         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12846         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12847         * libs/gst/net/gstnetclientclock.h:
12848         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12849         * libs/gst/net/gstnettimepacket.h:
12850         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12851         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12852         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12853         * libs/gst/net/gstnettimeprovider.h:
12854         Make stuff compile on windows. Fixes #345295.
12855
12856 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12857
12858         * gst/gst.c: (ensure_current_registry_forking):
12859           Print better details when child was terminated by signal.
12860
12861 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12862
12863         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12864           Print a warning rather than g_assert() if a plugin feature
12865           is a URI handler but returns no protocols (#353976).
12866
12867 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12868
12869         * docs/random/moving-plugins:
12870         Fix two typos.         
12871
12872 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12873
12874         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12875           Fix locking order, handle NULL function values properly.
12876
12877         * gst/gstinfo.h:
12878           Fix docs.
12879
12880         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12881           Initialise variable before using it and fix debug statement to
12882           print the address of the function rather than the address of the
12883           variable on the stack holding the address of the function.
12884
12885 2006-09-01  Wim Taymans  <wim@fluendo.com>
12886
12887         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12888         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12889         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12890         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12891         (gst_ghost_pad_parent_unset),
12892         (gst_ghost_pad_internal_do_activate_push),
12893         (gst_ghost_pad_internal_do_activate_pull),
12894         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12895         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12896         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12897         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12898         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12899         (gst_ghost_pad_new_no_target_from_template),
12900         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12901         More cleanups.
12902         Avoid needless typechecking in macros.
12903         Since the internal pad is always present and never changes, there is
12904         no need to locking or ref when retrieving it.
12905         Improve debugging a bit.
12906         Handle link errors when setting the target. Fixes #341029.
12907
12908 2006-09-01  Wim Taymans  <wim@fluendo.com>
12909
12910         * docs/libs/gstreamer-libs-sections.txt:
12911         * docs/plugins/gstreamer-plugins-sections.txt:
12912         Fix docs some more.
12913
12914         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12915         (gst_collect_pads_event):
12916         * libs/gst/base/gstcollectpads.h:
12917         Documentation updates.
12918         Free queued buffer when removing a pad.
12919
12920 2006-08-31  Michael Smith  <msmith@fluendo.com>
12921
12922         * gst/gstutils.c: (gst_element_link_pads),
12923         (gst_element_link_pads_filtered):
12924           Ensure that we set a capsfilter to NULL if we failed to link it
12925           when doing filtered linking, to avoid criticals.
12926
12927           No need to check for unreffing srcpad, which is explicly NULLed
12928           above (a trivial code cleanup).
12929
12930 2006-08-31  Wim Taymans  <wim@fluendo.com>
12931
12932         * docs/design/part-gstghostpad.txt:
12933         Update ascii art in documentation.
12934
12935         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12936         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12937         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12938         (gst_ghost_pad_internal_do_activate_push),
12939         (gst_ghost_pad_internal_do_activate_pull),
12940         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12941         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12942         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12943         (gst_ghost_pad_set_target):
12944         Small cleanups and leak fixes.
12945         Remove some checks now that the internal pad is never NULL.
12946         Fix the case where linking pads without a target would create nasty
12947         criticals. Fixes #341029.
12948         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12949         value of _set_target().
12950
12951         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12952         (gst_ghost_pad_suite):
12953         Some more tests for creating and linking untargeted ghostpads.
12954
12955 2006-08-31  Edward Hervey  <edward@fluendo.com>
12956
12957         * docs/gst/gstreamer-sections.txt:
12958         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12959         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12960         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12961         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12962         (gst_ghost_pad_new_from_template),
12963         (gst_ghost_pad_new_no_target_from_template):
12964         * gst/gstghostpad.h:
12965         Refactored *_new() functions.
12966         Templates are now used as a g_object_new() parameter.
12967         Use template in _do_getcaps() if we don't have a target.
12968         Small documentation cleanups.
12969         Added two new constructors:
12970         gst_ghost_pad_new_from_template()
12971         gst_ghost_pad_new_no_target_from_template()
12972         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12973         (gst_ghost_pad_suite):
12974         Added tests for new ghostpad instanciation functions.
12975
12976         API additions: gst_ghost_pad_new_from_template,
12977         gst_ghost_pad_new_no_target_from_template
12978
12979 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12980
12981         * docs/random/ensonic/profiling.txt:
12982           Ideas about qos profiling.
12983
12984 2006-08-29  Wim Taymans  <wim@fluendo.com>
12985
12986         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12987         Code cleanups.
12988         Fix memleak.
12989
12990 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12991
12992         * gst/gstxml.c:
12993           Improve and detypofy docs.
12994
12995         * tests/check/Makefile.am:
12996         * tests/check/gst/.cvsignore:
12997         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12998           Add a basic test suite for GstXML.
12999
13000 2006-08-29  Wim Taymans  <wim@fluendo.com>
13001
13002         * gst/gstelement.c: (activate_pads), (clear_caps),
13003         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13004         Clear the pad caps when the element shut down all of the pads and
13005         is not streaming data that could modify the caps. 
13006         Fixes #352958.
13007
13008 2006-08-28  Michael Smith  <msmith@fluendo.com>
13009
13010         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13011           Revert previous change; I misunderstood single-segment mode.
13012
13013 2006-08-28  Michael Smith  <msmith@fluendo.com>
13014
13015         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13016           Unset DISCONT on buffers when using single-segment mode.
13017
13018 2006-08-28  Wim Taymans  <wim@fluendo.com>
13019
13020         * gst/gstcaps.c: (gst_caps_merge_structure):
13021         * gst/gstcaps.h:
13022         Fix docs and indentation again.
13023
13024         * tests/check/gst/gstquery.c: (GST_START_TEST):
13025         Fix leak in tests and add some more tests.
13026
13027 2006-08-28  Edward Hervey  <edward@fluendo.com>
13028
13029         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13030         Inform GstSegment of the last stop position in order for the current
13031         segment to have a proper duration if it doesn't have a specific stop
13032         position from which a duration could be calculated.
13033         This bug was noticeable when a non-flushing, non-update new segment was
13034         followed by another segment (all buffers from the new segment were being
13035         dropped).
13036
13037 2006-08-28  Wim Taymans  <wim@fluendo.com>
13038
13039         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13040         Small comment update.
13041
13042         * plugins/elements/gstidentity.c: (gst_identity_class_init),
13043         (gst_identity_transform_ip):
13044         Drop-probability is broken, mention this in the code with a 
13045         FIXME and also in the property description.
13046         Make silent also be silent about the drop messages.
13047
13048 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
13049
13050         * docs/manual/appendix-win32.xml:
13051           Remove mention of popt, we don't depend on that any
13052           longer (#353136). Add some comments pointing out that
13053           this section is slightly outdated.
13054
13055 2006-08-28  Wim Taymans  <wim@fluendo.com>
13056
13057         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13058
13059         * gst/gstquery.c: (gst_query_new_segment):
13060         * tests/check/gst/gstquery.c: (GST_START_TEST):
13061         Initialize variables when creating a new segment query.
13062         Fixes #353121.
13063
13064 2006-08-28  Wim Taymans  <wim@fluendo.com>
13065
13066         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13067
13068         * gst/gstelement.c: (gst_element_get_bus):
13069         * tests/check/gst/gstelement.c: (GST_START_TEST):
13070         Check for NULL before _reffing the bus. Fixes #353122.
13071
13072 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
13073
13074         * docs/manual/basics-bus.xml:
13075           Docs update: fix wrong callback return value explanation; add
13076           some lines about the implicit relationship between main loop
13077           and main context; remove duplicate main loop variable declaration.
13078
13079 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
13080
13081         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13082           Don't leak caps in unit test; add a few more simple
13083           checks. 
13084
13085 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
13086
13087         * docs/gst/gstreamer-sections.txt:
13088         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
13089         (gst_caps_structure_is_subset), (gst_caps_merge),
13090         (gst_caps_merge_structure):
13091         * gst/gstcaps.h:
13092         * libs/gst/base/gstbasetransform.c:
13093         (gst_base_transform_transform_caps):
13094         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13095           implement caps merging (fixes #352580)
13096
13097 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
13098
13099         * tools/Makefile.am:
13100         * tools/gst-plot-timeline.py:
13101           add debug-log plotting developer tool (#340674)
13102
13103 2006-08-23  Wim Taymans  <wim@fluendo.com>
13104
13105         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
13106         (gst_pad_stop_task):
13107         Improve debugging for task functions.
13108
13109         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
13110         (gst_task_start), (gst_task_pause), (gst_task_join):
13111         Make sure that the task function started and finished after a 
13112         join(). 
13113         Don't try to push the task function on the threadpool multiple
13114         times.
13115         Improve the g_warning message with some useful suggestions
13116         about how to fix the problem. 
13117
13118 2006-08-23  Wim Taymans  <wim@fluendo.com>
13119
13120         * gst/gstutils.c: (gst_pad_proxy_getcaps):
13121         Handle RESYNC correctly in _proxy_getcaps.
13122
13123 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
13124
13125         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
13126         (gst_xml_parse_memory), (gst_xml_get_element):
13127           Chain up to parent class in dispose function and also
13128           unref the elements in the toplevel_elements GList.
13129           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
13130           Always return a reference in gst_xml_get_element() rather
13131           than only sometimes.
13132
13133         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13134           Don't leak GstXml object.
13135
13136 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
13137
13138         * docs/gst/gstreamer-sections.txt:
13139         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
13140         (gst_caps_merge):
13141         * gst/gstcaps.h:
13142         * libs/gst/base/gstbasetransform.c:
13143         (gst_base_transform_transform_caps):
13144           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13145           in a better way
13146
13147 2006-08-21  Edward Hervey  <edward@fluendo.com>
13148
13149         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13150         Implement GObject::dispose virtual method in GstXML so we can free the
13151         top_elements GList.
13152
13153 2006-08-21  Wim Taymans  <wim@fluendo.com>
13154
13155         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13156         (gst_buffer_create_sub):
13157         Copy duration/offset_end/caps when creating a subbuffer of the
13158         complete parent.
13159         Make the subbuffer read-only when we make the metadata writable for
13160         now. Fixes #351768.
13161
13162         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13163         Added check for metadata copy when creating subbuffers.
13164
13165 2006-08-21  Edward Hervey  <edward@fluendo.com>
13166
13167         * libs/gst/base/gstbasetransform.c:
13168         (gst_base_transform_buffer_alloc):
13169         Only call downstream buffer_alloc if transform element is passthrough
13170         or always_in_place. Closes #350449.
13171
13172 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13173
13174         * ChangeLog:
13175           ChangeLog surgery to add comments to previous changes
13176
13177 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13178
13179         * gst/gst.c:
13180           Add comments
13181
13182         * gst/gstpad.c: (gst_pad_set_active):
13183           Be more verbose in the log
13184
13185         * libs/gst/base/gstbasetransform.c:
13186         (gst_base_transform_transform_caps):
13187           Simplify caps to get rid of duplicates, fixes #345444
13188
13189 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13190
13191         * gst/gstvalue.c:
13192         * gst/gstvalue.h:
13193           Use these optimizations only internally.
13194
13195 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13196
13197         * gst/gstvalue.c: (gst_value_compare_list),
13198         (gst_value_compare_fraction_range),
13199         (gst_value_intersect_fraction_fraction_range),
13200         (gst_value_intersect_fraction_range_fraction_range),
13201         (gst_value_subtract_fraction_fraction_range),
13202         (gst_value_subtract_fraction_range_fraction_range),
13203         (gst_value_get_compare_func), (gst_value_compare),
13204         (gst_value_compare_with_func):
13205         * gst/gstvalue.h:
13206           Saves the expensive lookup of the compare function in many cases
13207          (#345444)
13208
13209 2006-08-18  Edward Hervey  <edward@fluendo.com>
13210
13211         * tests/check/gst/gstinfo.c: (gst_info_suite):
13212         Disable test that require gstdebug if it wasn't built in core.
13213
13214 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13215
13216         * docs/random/ensonic/logging.txt:
13217           update ideas
13218           
13219         * gst/gstinfo.c: (gst_debug_log_default):
13220           reorder fields, save some columns, add optional color codes for log
13221           levels
13222
13223 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13224
13225         * docs/random/ensonic/logging.txt:
13226           add ideas about making the logs a bit more useful
13227
13228 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13229
13230         * docs/pwg/advanced-events.xml:
13231         * docs/pwg/titlepage.xml:
13232           Update for 0.10 API (#340627). Add myself
13233           to authors list.
13234
13235 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13236
13237         * docs/libs/gstreamer-libs-docs.sgml:
13238         * docs/libs/gstreamer-libs-sections.txt:
13239         * libs/gst/check/gstbufferstraw.c:
13240           Make gstcheck stuff show up in docs (still needs to
13241           be documented properly though).
13242
13243 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
13244
13245         * docs/gst/gstreamer-sections.txt:
13246         * gst/Makefile.am:
13247         * gst/gst.c: (init_post):
13248         * gst/gst_private.h:
13249         * gst/gstquark.c: (_priv_gst_quarks_initialize):
13250         * gst/gstquark.h:
13251         * gst/gstquery.c: (gst_query_new_position),
13252         (gst_query_set_position), (gst_query_parse_position),
13253         (gst_query_new_duration), (gst_query_set_duration),
13254         (gst_query_parse_duration), (gst_query_new_convert),
13255         (gst_query_set_convert), (gst_query_parse_convert),
13256         (gst_query_new_segment), (gst_query_set_segment),
13257         (gst_query_parse_segment), (gst_query_new_seeking),
13258         (gst_query_set_seeking), (gst_query_parse_seeking):
13259         Add internal helpers for pre-registering quarks from static strings
13260         and using the quark values directly instead of looking them up when
13261         creating and parsing queries. Can be used for event construction too.
13262         Closes #350432.
13263
13264 2006-08-16  Wim Taymans  <wim@fluendo.com>
13265
13266         * gst/gstbin.c:
13267         Fix bogus docs.
13268
13269 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13270
13271         * gst/gstutils.c: (gst_util_set_value_from_string):
13272           Fix memleak (#351502).
13273
13274         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13275           Add unit test for most of gst_util_set_value_from_string()
13276           (not that one would want to encourage use of this function).
13277
13278 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13279
13280         * libs/gst/check/gstcheck.h:
13281           Use const gchar * variables in fail_unless_equals_string
13282           macro to avoid compiler warnings (and don't use tabs for
13283           indenting).
13284
13285 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13286
13287         * tools/gst-launch.c: (print_tag):
13288           More space on the left for the tag names, to cater
13289           for the 'extended comment' tag (not touching the
13290           string for the first line since it's translated).
13291
13292 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13293
13294         * libs/gst/check/gstcheck.h:
13295           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13296           print something when they fail.
13297
13298 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13299
13300         * docs/gst/gstreamer-sections.txt:
13301         * gst/gsttaglist.c: (_gst_tag_initialize):
13302         * gst/gsttaglist.h:
13303           API: add GST_TAG_EXTENDED_COMMENT (#350935).
13304           Also change merge function for GST_TAG_COMMENT to
13305           use_first.
13306
13307 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13308
13309         * gst/gstinfo.c: (gst_debug_print_object):
13310           Make GST_PTR_FORMAT print messages as well.
13311
13312         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13313         (GST_START_TEST), (gst_info_suite):
13314           More tests.
13315
13316 2006-08-14  Edward Hervey  <edward@fluendo.com>
13317
13318         * gst/gstelementfactory.c: (gst_element_register):
13319         If the GstElementClass doesn't have a GstElementDetails with all fields
13320         filled up correctly (longname, description AND author), then error out
13321         nicely instead of crashing.
13322
13323 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13324
13325         * gst/gststructure.c:
13326           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13327
13328         * gst/gstvalue.h:
13329           Expand on the difference between arrays and lists as we use them.
13330           
13331 2006-08-14  Wim Taymans  <wim@fluendo.com>
13332
13333         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13334         If the parent state change function failed, don't assume we can safely
13335         stop the source, this will be done when the pads are deactivated.
13336
13337 2006-08-14  Wim Taymans  <wim@fluendo.com>
13338
13339         * gst/gstbuffer.c:
13340         * gst/gsttask.c: (gst_task_join):
13341         Small doc updates.
13342
13343         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13344         (gst_pad_stop_task):
13345         When pad (de)activation failed for some reason, restore the old
13346         activation mode and set the pad to flushing instead of assuming the
13347         pad is deactivated.
13348         If the _task_join() failed, reinstall the task on the pad so that it can
13349         be stopped later and return an error.
13350
13351 2006-08-11  Andy Wingo  <wingo@pobox.com>
13352
13353         * configure.ac:
13354         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13355         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13356         is only for users of API that don't want to see deprecated
13357         functions in the headers; people that want to compile out
13358         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13359         CFLAGS. Fixes the build of multifdsink, or will soon..
13360
13361 2006-08-11  Wim Taymans  <wim@fluendo.com>
13362
13363         * docs/gst/gstreamer-sections.txt:
13364         Add GstClockClass vmethod docs.
13365
13366         * gst/gstcaps.h:
13367         Mark #endif with comment for associated #if
13368
13369         * gst/gstclock.c: (gst_clock_id_wait):
13370         * gst/gstclock.h:
13371         Add vmethod wait_jitter to avoid an unneeded _get_time() for
13372         most clock implementations.
13373         Document vmethods.
13374         Flesh out docs about resolution methods.
13375         API: GstClockClass::wait_jitter
13376
13377         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13378         (gst_system_clock_async_thread),
13379         (gst_system_clock_id_wait_jitter_unlocked),
13380         (gst_system_clock_id_wait_jitter):
13381         Use base class wait_jitter variant for improved performance
13382         due to less clock polling.
13383
13384 2006-08-11  Edward Hervey  <edward@fluendo.com>
13385
13386         * gst/gst.c: (gst_init_check), (init_post):
13387         Set gst as being initialized before scanning/updating the registry,
13388         since there might be my python plugin loader that calls gst_init() and
13389         we don't want to loop back in.
13390         Closes #350879
13391
13392 2006-08-11  Wim Taymans  <wim@fluendo.com>
13393
13394         * docs/design/part-qos.txt:
13395         Bring docs in line with the code. Mostly the sign of the jitter was
13396         wrong in the docs. Fixes #349943.
13397
13398         * gst/gstclock.c:
13399         Fix the docs for the jitter.
13400
13401         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13402         (gst_event_parse_tag), (gst_event_new_buffer_size),
13403         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13404         (gst_event_new_seek), (gst_event_parse_seek),
13405         (gst_event_new_navigation):
13406         Make sure the GstStructure has no parent when creating custom
13407         events.
13408         Add some more argument checking so that we avoid 0.0 rates.
13409         Flesh out the docs for the QoS event some more.
13410
13411 2006-08-11  Wim Taymans  <wim@fluendo.com>
13412
13413         * docs/gst/gstreamer-sections.txt:
13414         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13415         (ensure_current_registry_forking), (ensure_current_registry),
13416         (parse_one_option), (parse_goption_arg), (gst_deinit),
13417         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13418         * gst/gst.h:
13419         Doc updates.
13420         Added API and command line option to disable registry forking in
13421         addition to the environment variable.
13422         Constify some static arrays.
13423         Added some more debug.
13424         Don't deinit twice.
13425         API: gst_registry_fork_is_enabled()
13426         API: gst_registry_fork_set_enabled()
13427         API: --gst-disable-registry-fork command line option
13428         Fixes #348918.
13429
13430 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13431
13432         * gst/gst.c: (gst_init):
13433           Fix typo in error message.
13434
13435 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13436
13437         * libs/gst/controller/gstcontroller.h:
13438           fix ABI size-correction
13439
13440         * tests/check/libs/gdp.c: (gst_dp_suite):
13441           make tests that use deprecated API conditional
13442
13443 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13444
13445         * docs/libs/gstreamer-libs-sections.txt:
13446         * libs/gst/controller/gstcontroller.c:
13447         (_gst_controller_get_property), (_gst_controller_set_property),
13448         (_gst_controller_init), (_gst_controller_class_init):
13449         * libs/gst/controller/gstcontroller.h:
13450         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13451         (gst_object_set_control_rate):
13452           API: add gst_object_{s,g}et_control_rate(), add private data section,
13453           fix docs
13454
13455         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13456         * libs/gst/dataprotocol/dataprotocol.h:
13457           add deprecation guards to make gtk-doc happy and allow disabling cruft
13458
13459 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13460
13461         * tests/check/Makefile.am:
13462         * tests/check/gst/.cvsignore:
13463           Let's enable the new unit test as well.
13464
13465 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13466
13467         * configure.ac:
13468         * docs/gst/gstreamer-sections.txt:
13469         * gst/gstconfig.h.in:
13470         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13471         (_gst_info_printf_extension_ptr),
13472         (_gst_info_printf_extension_segment):
13473           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13474           register that lets us easily dump GstSegments into debug
13475           logs (#350419).
13476
13477         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13478         (info_segment_format_printf_extension), (gst_info_suite):
13479           Add simple unit test that logs a bunch of different segments (not
13480           valgrinded at the moment because of leaks in
13481           gst_debug_add_log_function).
13482
13483 2006-08-09  Edward Hervey  <edward@fluendo.com>
13484
13485         * libs/gst/base/gstbasetransform.c:
13486         (gst_base_transform_buffer_alloc):
13487         Even if we can't figure out the proper format to request downstream,
13488         call buffer_alloc() downstream with the input parameters without setting
13489         the caps on the srcpad. This will force negotiation in the chain
13490         function.
13491         Closes #350449
13492
13493 2006-08-08  Edward Hervey  <edward@fluendo.com>
13494
13495         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13496         Unlinking from a pad without a target is now a perfectly valid case
13497         which should NOT raise an assertion.
13498         This case would happen if a linked ghostpad its target set to NULL after
13499         it was previously linked.
13500
13501 2006-08-08  Edward Hervey  <edward@fluendo.com>
13502
13503         * tests/check/libs/gdp.c:
13504         Also comment out the test (see below).
13505
13506 2006-08-08  Edward Hervey  <edward@fluendo.com>
13507
13508         * tests/check/libs/gdp.c: (gst_dp_suite):
13509         Use the architecture information from config.h and not gcc macros
13510         in order to properly disable a test that fails on PPC64.
13511
13512 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13513
13514         * gst/gstelement.c: (gst_element_remove_pad):
13515           Don't crash printing the warning if the pad has no parent.
13516
13517 2006-08-02  Wim Taymans  <wim@fluendo.com>
13518
13519         * libs/gst/dataprotocol/dataprotocol.c:
13520         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13521         (gst_dp_crc), (gst_dp_header_payload_length),
13522         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13523         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13524         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13525         (gst_dp_event_from_packet), (gst_dp_validate_header),
13526         (gst_dp_validate_payload):
13527         Make debug category static
13528         Constify the crc table.
13529         Do some more arg checking in public functions.
13530         Fix some docs and do some small cleanups.
13531
13532         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13533         Add some more checks to see if GDP deals with bogus input.
13534
13535 2006-07-31  Wim Taymans  <wim@fluendo.com>
13536
13537         * gst/gstvalue.c: (gst_value_compare_list):
13538         Fix GstValueList comparison code. Fixes #347293.
13539
13540         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13541         Check to test GstValueList comparison.
13542
13543 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13544
13545         * gst/gstelementfactory.c: (gst_element_factory_create):
13546         Remove unnecessary ref/unref pair
13547
13548         * gst/parse/grammar.y:
13549         Make sure to free the parse buffer on all code paths.
13550         Move a g_free up to the error handler where it's easier to see.
13551
13552         * tests/check/gst/gstevent.c: (test_event):
13553         Extending timeout for downstream travelling events to 10 seconds to
13554         hopefully avoid intermittent failure on the buildbots.
13555
13556         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13557         Don't manually set the state of the src element - it will happen as a
13558         natural consequence of the pipeline changing state, and that way it
13559         will do it in the right order too.
13560
13561 2006-07-31  Wim Taymans  <wim@fluendo.com>
13562
13563         * libs/gst/base/gstbasetransform.c:
13564         (gst_base_transform_buffer_alloc):
13565         Use OBJECT_LOCK and refcounting to get the pad caps in the
13566         buffer_alloc function because the caps could change while we are
13567         busy with them. Fixes #349105
13568
13569 2006-07-31  Wim Taymans  <wim@fluendo.com>
13570
13571         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13572         Protect _PAD_CAPS with OBJECT_LOCK.
13573
13574 2006-07-31  Wim Taymans  <wim@fluendo.com>
13575
13576         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13577         (gst_pad_get_property), (gst_pad_activate_pull),
13578         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13579         (gst_pad_set_activate_function),
13580         (gst_pad_set_activatepull_function),
13581         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13582         (gst_pad_set_getrange_function),
13583         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13584         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13585         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13586         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13587         (gst_pad_set_acceptcaps_function),
13588         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13589         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13590         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13591         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13592         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13593         (gst_pad_configure_sink), (gst_pad_configure_src),
13594         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13595         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13596         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13597         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13598         (gst_pad_send_event):
13599         Use _DEBUG_OBJECT when it makes sense.
13600         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13601         Small cleanups and code reflows.
13602         Avoid caps refcounting in _accept_caps.
13603         Refactor alloc_buffer so that the code performed on the peer is in a
13604         separate function. Also if the pad does not implement a buffer alloc
13605         function, we should still check if the pad is flushing before falling
13606         back to the default allocator.
13607
13608 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13609
13610         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13611         Make all uses of identity and fakesink have silent=true to avoid
13612         serialising every passing data structure, which is breaking tests
13613         on FC4 for some unknown reason.
13614
13615 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13616
13617         * gst/parse/Makefile.am:
13618         * gst/parse/grammar.y:
13619         * gst/parse/parse.l:
13620           Reverted previous patch as it required to bump the flex dependency to
13621           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13622
13623 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13624
13625         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13626
13627         * gst/parse/Makefile.am:
13628         * gst/parse/grammar.y:
13629         * gst/parse/parse.l:
13630           push & pop the state of the lexer for reentrant use case
13631           Fixes #349180
13632
13633 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13634
13635         * libs/gst/base/gstbasesrc.h:
13636           Note in the docs that the ::newsegment vfunc is not actually used by
13637           GstBaseSrc.
13638
13639 2006-07-28  Wim Taymans  <wim@fluendo.com>
13640
13641         * libs/gst/base/gstcollectpads.c:
13642         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13643         (gst_collect_pads_clear), (gst_collect_pads_flush),
13644         (gst_collect_pads_event), (gst_collect_pads_chain):
13645         When flushing a pad, also clear the queued buffer so that we don't
13646         accidentally use it when we shouldn't.
13647         Fix leaks by inreffing incomming buffer.
13648         Flush out queued buffers in case of errors.
13649         Fixes #347452.
13650
13651 2006-07-28  Wim Taymans  <wim@fluendo.com>
13652
13653         * docs/random/phonon-gst:
13654         Random notes about a Phonon backend.
13655
13656 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13657
13658         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13659         Extra debug output
13660         * tests/check/libs/gdp.c: (gst_dp_suite):
13661         Take a whack at fixing the ppc compile using a different define to
13662         disable the broken test.
13663
13664         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13665         Remove excess g_print()
13666
13667 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13668
13669         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13670         Oops, meant to uncomment this line too to dampen the noise a bit.
13671
13672 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13673
13674         * gst/parse/grammar.y:
13675         * gst/parse/parse.l:
13676         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13677         (GST_START_TEST), (parse_suite):
13678         Fix some of the leaks exposed by extending the parse-launch testsuite,
13679         and move the 3 I can't figure out into a separate test that won't run
13680         the pipelines unless the appropriate line is uncommented.
13681
13682 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13683
13684         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13685           Requesting 0 bytes before the end of the file should result in
13686           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13687           unit test.
13688
13689 2006-07-27  Wim Taymans  <wim@fluendo.com>
13690
13691         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13692         Fix useless assert, a uint is always positive.
13693
13694         * gst/gststructure.c: (gst_structure_nth_field_name),
13695         (gst_structure_foreach), (gst_structure_map_in_place):
13696         Check input arguments for public functions to avoid obvious crashes.
13697
13698         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13699         * plugins/elements/gstfakesink.h:
13700         Do less useless typechecking.
13701
13702 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13703
13704         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13705           Do not use mmap() by default since there are a number of error
13706           conditions that we would like to handle in a non-fatal way that
13707           will result in a SIGBUS if we use mmap(). Examples: external
13708           devices (USB harddrive, portable music player) being unplugged
13709           while in use; file on mounted CD/DVD that can't be read because
13710           the medium is partly damaged. Fixes #348455 and #348475.
13711
13712 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13713
13714         * gst/gstquery.h:
13715         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13716         rates are a gdouble
13717
13718 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13719
13720         * gst/gstregistry.c:
13721           Move big documentation comment into class section header, so that it
13722           appears in the API docs.
13723
13724 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13725
13726         * docs/gst/gstreamer-sections.txt:
13727         Oops. Commit the docs additions too for new API.
13728         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13729
13730 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13731
13732         * gst/gststructure.c: (gst_structure_id_set),
13733         (gst_structure_id_set_valist):
13734         * gst/gststructure.h:
13735         Add API for setting values into structures without performing
13736         a quark lookup, if the appropriate quark is already known.
13737
13738         API: gst_structure_id_set
13739         API: gst_structure_id_set_valist
13740
13741         * gst/parse/grammar.y:
13742         * gst/parse/parse.l:
13743         Remove some dead code shown by the coverage information.
13744         Don't throw a critical g_warning when encountering a syntax error,
13745         just warn and let the normal error path handle it.
13746
13747         * plugins/elements/gstelements.c:
13748         Bump the rank of filesink up to PRIMARY so that it is preferred over
13749         gnomevfssink for file:// sink uri's
13750
13751         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13752         (GST_START_TEST), (run_delayed_test),
13753         (gst_parse_test_element_base_init),
13754         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13755         (gst_parse_test_element_change_state),
13756         (gst_register_parse_element), (parse_suite):
13757         Beef up the tests for parse syntax to check that more error cases
13758         fail as they are supposed to. Increases the test coverage a bit.
13759
13760 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13761
13762         * docs/manual/basics-elements.xml:
13763           Fix gst_element_link() example.
13764
13765         * gst/gstutils.c:
13766           Mention in API docs that one should usually gst_bin_add()
13767           elements to a bin or pipeline before doing the linking.
13768           
13769 2006-07-26  Wim Taymans  <wim@fluendo.com>
13770
13771         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13772         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13773         Avoid function call for known types by keeping the buffer and
13774         subbuffer GType global.
13775
13776         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13777         Random silly optimisations in read() path.
13778
13779 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13780
13781         * tools/gst-launch.c: (main):
13782           If the top-level of the parse is a normal bin, it doesn't do the
13783           right logic to run as a top-level element, so place it inside a
13784           pipeline.
13785
13786 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13787
13788         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13789           Remove superfluous g_object_notify() calls, GObject does
13790           that for us automatically.
13791
13792 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13793
13794         * gst/gstinfo.h:
13795           on Win32, use dllspec to export the debug category symbols
13796
13797 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13798
13799         * gst/gsttaglist.c: (_gst_tag_initialize):
13800           Allow more than one GST_TAG_IMAGE per taglist.
13801
13802 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13803
13804         * gst/gstminiobject.c:
13805           update docs
13806         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13807         (gst_fd_src_create):
13808           log recurring events at LOG level
13809           add more debug for when the fd gets set
13810
13811 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13812
13813         * gst/gstparse.c: (gst_parse_launch):
13814           Also remove reentrance checks if flex is MT safe (#348179)
13815          Fix my empty ChangeLog entry below
13816
13817 2006-07-21  Andy Wingo  <wingo@pobox.com>
13818
13819         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13820
13821         * libs/gst/check/Makefile.am
13822         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13823         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13824         * libs/gst/check/gstbufferstraw.h:
13825         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13826         functions, thus proving I am still a GStreamer haxor. OK I wrote
13827         them a long time ago, but anyways.
13828
13829 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13830
13831         * configure.ac:
13832         * gst/gstparse.c: (gst_parse_launch):
13833           Check for flex version and omit mutex if we have a MT save flex
13834           (fixes #348179)
13835
13836 2006-07-21  Wim Taymans  <wim@fluendo.com>
13837
13838         * gst/gstparse.c: (gst_parse_launch):
13839         Protect recursive calls to _parse with a recursive mutex
13840         and busy flag.
13841
13842 2006-07-21  Wim Taymans  <wim@fluendo.com>
13843
13844         * tests/check/gst/gstpad.c: (GST_START_TEST):
13845         Fix leak in test.
13846
13847 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13848
13849         * gst/gstparse.c: (gst_parse_launch):
13850           Do not hang on recursive usage of gst_parse_launch()
13851
13852 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13853
13854         * gst/gsttaglist.c:
13855           Add some more docs, comments and FIXME 0.11s here and there
13856           and also fix some typos.
13857
13858 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13859
13860         * gst/gstsegment.h:
13861           Convert tabs to spaces for better readability. 
13862
13863 2006-07-20  Edward Hervey  <edward@fluendo.com>
13864
13865         * tests/check/libs/gdp.c: (gst_dp_suite):
13866         the test_buffer test fails at line 140 on ppc64 at the following
13867         check:
13868         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13869                 GST_BUFFER_FLAG_IN_CAPS),
13870                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13871         See bug #348114 for more details.
13872
13873 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13874
13875         * docs/pwg/advanced-scheduling.xml:
13876         * gst/gstpad.c:
13877           Fix typos (#348000).
13878
13879 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13880
13881         * docs/pwg/intro-basics.xml:
13882           Fix wrong links (#347927).
13883
13884 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13885
13886         * gst/gstregistry.h:
13887         * gst/gstregistryxml.c: (load_feature),
13888         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13889         * win32/common/config.h:
13890           make --disable-index work (#342564)
13891
13892 2006-07-18  Wim Taymans  <wim@fluendo.com>
13893
13894         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13895
13896         * gst/Makefile.am:
13897         * gst/gsttrace.h:
13898         The attached patch adds two missing defines to gsttrace.h when tracing
13899         is disabled.  It also corrects one existing define.
13900         Fixes #347756.
13901
13902 2006-07-17  Wim Taymans  <wim@fluendo.com>
13903
13904         * docs/gst/gstreamer-sections.txt:
13905         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13906         * gst/gst.h:
13907         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13908         Add two functions to check and change the SIGSEGV behaviour
13909         when loading plugins.
13910         Don't mess with the SIGSEGV handler when we were told not to.
13911         Fixes #347794.
13912         API: gst_segtrap_is_enabled
13913         API: gst_segtrap_set_enabled
13914
13915 2006-07-14  Wim Taymans  <wim@fluendo.com>
13916
13917         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13918         * tests/check/elements/filesrc.c: (GST_START_TEST):
13919         Revert fix for regression in #347408 after release.
13920
13921 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13922
13923         Patch by: Antoine Tremblay <hexa00 at gmail com>
13924
13925         * gst/gstutils.c: (gst_element_unlink):
13926           Free iterator when done (#347311).
13927
13928         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13929           And add a test case for this.
13930
13931 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13932
13933         * configure.ac:
13934         Bump nano back to CVS
13935
13936 === release 0.10.9 ===
13937
13938 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13939
13940         * configure.ac:
13941           releasing 0.10.9, "On the road again"
13942
13943 2006-07-13  Wim Taymans  <wim@fluendo.com>
13944
13945         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13946         * tests/check/elements/filesrc.c: (GST_START_TEST):
13947         Revert pull-0 fix for release. Disable check. Fixes #347408.
13948
13949 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13950
13951         * libs/gst/dataprotocol/dataprotocol.c:
13952         (gst_dp_event_from_packet_1_0):
13953           Fixes #347337: failure to deserialize event packets with
13954           empty payload (only event type)
13955
13956 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13957
13958         * gst/Makefile.am:
13959           do not install a .c file in the header directory
13960
13961 2006-07-13  Edward Hervey  <edward@fluendo.com>
13962
13963         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13964         GhostPad no longer implicitely use the padtemplates of the targets.
13965         Fixes #347384
13966
13967 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13968
13969         * gst/gstvalue.c: (gst_value_compare_list),
13970         (gst_value_compare_array), (_gst_value_initialize):
13971         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13972         Make GstValueArray comparison be order dependent as designed.
13973         Add checks for value lists and value array comparisons.
13974         Fixes #347221
13975
13976 2006-07-11  Edward Hervey  <edward@fluendo.com>
13977
13978         * gst/gstbin.c: (activate_pads),
13979         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13980         (gst_bin_change_state_func):
13981         (de)activate src pads before calling state_change on the childs.
13982         This is to avoid the case where a src ghostpad is blocked (holding the
13983         stream lock), which would block the deactivation of the ghostpad's
13984         target pad.
13985         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13986         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13987         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13988         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13989         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13990         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13991         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13992         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13993         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13994         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13995         (gst_ghost_pad_class_init),
13996         (gst_ghost_pad_internal_do_activate_push),
13997         (gst_ghost_pad_internal_do_activate_pull),
13998         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13999         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
14000         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
14001         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
14002         GhostPads now create their internal GstProxyPad at creation (and not
14003         when they're linked, as it was being done previously).
14004         The internal and target pads are linked straight away.
14005         The data will also travel through the other pad in order to make
14006         pad blocking and probes non-hackish (the probe/block now really happens
14007         on the GhostPad and not on the target).
14008         * gst/gstpad.c: (gst_pad_set_blocked_async),
14009         (gst_pad_link_prepare), (gst_pad_push_event):
14010         Remove previous ghostpad cruft.
14011         * gst/gstutils.c: (gst_pad_add_data_probe),
14012         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14013         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14014         (gst_pad_remove_buffer_probe):
14015         Remove previous ghost pad cruft.
14016         Added more detailed debug statements.
14017         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14018         Fix the testsuite for refcounting changes.
14019         The comments about who has references were correct, but the refcount
14020         being checked wasn't the same (!?!).
14021
14022         Fixes #341029
14023
14024 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
14025
14026         * docs/gst/gstreamer-sections.txt:
14027         * gst/gstconfig.h.in:
14028         More docs for configuration options, add docs to gtk-doc.
14029
14030 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
14031
14032         * gst/Makefile.am:
14033         * gst/gstconfig.h.in:
14034         * win32/common/config.h:
14035         Fix build when disabling tracing (fixes #344016). Also start to document
14036         the defines that disable the sub-systems.
14037
14038 2006-07-10  Edward Hervey  <edward@fluendo.com>
14039
14040         * gst/gst.c: (ensure_current_registry_forking):
14041         let's make valgrind happy...
14042
14043 2006-07-09  Wim Taymans  <wim@fluendo.com>
14044
14045         * gst/gstelement.c: (activate_pads),
14046         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
14047         Better pad activation code: Reset the collect value too on resync.
14048         Add some comments.
14049
14050 2006-07-09  Wim Taymans  <wim@fluendo.com>
14051
14052         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
14053         (gst_pad_activate_push):
14054         Use some more macros where it makes sense.
14055         Allow pad mode switching instead of asserting. When a pad
14056         is activated in one mode and we activate it in another, 
14057         deactivate it first before activating it in a different mode.
14058         Fixes #329198.
14059
14060 2006-07-08  Andy Wingo  <wingo@pobox.com>
14061
14062         * tools/gst-launch.c (main): Handle err == NULL.
14063
14064         * gst/gst.c (init_post, ensure_current_registry)
14065         (ensure_current_registry_forking)
14066         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
14067         factoring out the registry scanning into separate functions. Don't
14068         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
14069         Better environment var name/interface suggestions accepted.
14070
14071 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14072
14073         * gst/gstobject.c: (gst_object_set_name_default),
14074         (gst_object_set_name):
14075           Random micro-optimisation: don't use a hash table
14076           with strings as keys and the usual strdup/strcmp
14077           involved, but rather just use the GQuark of the
14078           type name as key, since it needs to be looked up
14079           anyway to get the type name string.
14080
14081         * tests/check/gst/gstobject.c: (GST_START_TEST):
14082           Fix various leaks.
14083
14084 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14085
14086         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
14087         (gst_bin_iterate_all_by_interface):
14088           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
14089           GTypes are gulongs and thus the top 4 bytes might be cut
14090           off on some platforms when doing GPOINTER_TO_INT, leading
14091           to invalid GTypes and bad things happening (see RH bug #179654).
14092           Also add a check to make sure the type passed in is really
14093           an interface type.
14094
14095 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14096
14097         * .cvsignore:
14098           Ignore more.
14099
14100 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14101
14102         * Makefile.am:
14103         * configure.ac:
14104         * gst-element-check.m4:
14105         * gst-element-check.m4.in:
14106           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
14107           instead of the unversioned gst-inspect (#324176, #168659).
14108
14109 2006-07-06  Wim Taymans  <wim@fluendo.com>
14110
14111         * gst/gstmessage.h:
14112         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
14113         warnings.
14114
14115 2006-07-06  Wim Taymans  <wim@fluendo.com>
14116
14117         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14118         (gst_base_src_wait), (gst_base_src_update_length),
14119         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
14120         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
14121         (gst_base_src_loop), (gst_base_src_start),
14122         (gst_base_src_activate_pull):
14123         Update docs.
14124         blocksize == 0 now means the default blocksize when working in push
14125         based mode.
14126         Remove some pointless asserts in _wait function.
14127         Fix offset/length calculations and EOS handling. We can now pull 0
14128         bytes as well, which is allowed.
14129         use _check_get_range() to decide if we can operate in _pull based
14130         mode.
14131         Fix refcounting leak when check_get_range function was not 
14132         implemented.
14133         API GstBaseSrc::blocksize range can be 0 too now (default)
14134
14135         * tests/check/elements/filesrc.c: (GST_START_TEST),
14136         (filesrc_suite):
14137         Added check to test _get_range() behaviour.
14138
14139 2006-07-06  Wim Taymans  <wim@fluendo.com>
14140
14141         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14142         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14143         (gst_pad_pull_range):
14144         * gst/gstpad.h:
14145         Lots of comments and docs added to the pad functions.
14146         Flesh out the expected behaviour of the get_range() functions.
14147
14148 2006-07-06  Wim Taymans  <wim@fluendo.com>
14149
14150         * gst/gstbus.h:
14151         * gst/gstclock.h:
14152         * gst/gstevent.h:
14153         * gst/gstiterator.h:
14154         * gst/gstpad.h:
14155         * gst/gstplugin.h:
14156         * gst/gsttask.h:
14157         Remove comma at end of enumerator list. 
14158
14159 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
14160
14161         * win32/common/libgstbase.def:
14162         * win32/common/libgstdataprotocol.def:
14163         * win32/common/libsgtreamer.def:
14164         Add new exported functions.
14165
14166 2006-07-05  Wim Taymans  <wim@fluendo.com>
14167
14168         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14169         Add some more docs here and there.
14170
14171 2006-07-05  Wim Taymans  <wim@fluendo.com>
14172
14173         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14174         (gst_base_sink_loop), (gst_base_sink_get_position):
14175         When operating in pull mode update the offset so that we
14176         read sequentially.
14177
14178 2006-07-05  Wim Taymans  <wim@fluendo.com>
14179
14180         * gst/gstregistryxml.c: (read_string):
14181         Avoid strdup. (will happen in libxml, but hey!)
14182
14183         * gst/gsturi.c:
14184         Add some more docs.
14185
14186 2006-07-05  Wim Taymans  <wim@fluendo.com>
14187
14188         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14189         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14190         (gst_buffer_suite):
14191         No point in checking if the size of the subbuffer > 0, the
14192         code handles it correclty as demonstrated by unit test.
14193         Also add a unit test for the zero sized _new_and_alloc and
14194         _copy. Fixes #346663.
14195
14196 2006-07-05  Wim Taymans  <wim@fluendo.com>
14197
14198         * libs/gst/base/gstbasetransform.c:
14199         (gst_base_transform_prepare_output_buffer),
14200         (gst_base_transform_buffer_alloc),
14201         (gst_base_transform_handle_buffer):
14202         Make sure the buffer we pass to transform_ip has a refcount of
14203         1 and thus is writable. Fixes #343196
14204
14205 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
14206
14207         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14208         (gst_file_src_init), (gst_file_src_set_property),
14209         (gst_file_src_get_property), (gst_file_src_map_region):
14210         * plugins/elements/gstfilesrc.h:
14211         Add "sequential" property, off by default, to use madvise and hint
14212         to the kernel that sequential access is desired.
14213         Touch all retrieved pages by default to ensure they are pulled
14214         into memory. (Closes #345720)
14215
14216 2006-07-03  Wim Taymans  <wim@fluendo.com>
14217
14218         * docs/design/part-block.txt:
14219         * docs/design/part-dynamic.txt:
14220         Small docs updates.
14221
14222 2006-07-03  Wim Taymans  <wim@fluendo.com>
14223
14224         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14225         (gst_caps_unref), (gst_static_caps_get),
14226         (gst_caps_append_structure):
14227         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14228         Use GSlice when the glib we build against is >= 2.10
14229
14230 2006-07-03  Wim Taymans  <wim@fluendo.com>
14231
14232         * gst/gstelement.c: (gst_element_pads_activate):
14233         Small cleanup in pad activation code.
14234
14235 2006-07-03  Wim Taymans  <wim@fluendo.com>
14236
14237         Patch by: Peter Kjellerstedt <pkj at axis dot com>
14238
14239         * gst/gst-i18n-app.h:
14240         * gst/gst-i18n-lib.h:
14241         * tools/gst-inspect.c: (print_signal_info):
14242         The attached patch will make the inclusion of gettext.h unconditional in
14243         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14244         libintl.h in tools/gst-inspect.c.
14245         This allows use of --disable-nls again and fixes #344642.
14246
14247 2006-07-03  Edward Hervey  <edward@fluendo.com>
14248
14249         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14250         Implement pad blocking on events according to part-block.txt.
14251         More comments on behaviour.
14252         * tests/check/gst/gstevent.c: (test_event):
14253         Send event to peer pad of blocked pad (else it will block).
14254
14255 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14256
14257         * libs/gst/check/gstcheck.c: (gst_check_message_error),
14258         (gst_check_run_suite):
14259           if we get the wrong message, give us the types as string
14260         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14261           Fix a translatable
14262         * tests/check/elements/filesrc.c: (GST_START_TEST):
14263           add a test for trying to open a non-existing file
14264
14265 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14266
14267         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14268           add a test for adding self
14269
14270 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14271
14272         * libs/gst/check/gstcheck.h:
14273           add some assert_ as alias for fail_unless_*
14274         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14275           increase test coverage
14276
14277 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14278
14279         * Makefile.am:
14280           include lcov.mak for lcov coverage generation
14281         * tools/Makefile.am:
14282           add to CLEANFILES
14283
14284 2006-07-02  Edward Hervey  <edward@fluendo.com>
14285
14286         * tests/check/elements/.cvsignore:
14287         moaping
14288
14289 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14290
14291         * configure.ac:
14292           don't set CFLAGS and friends for gcov, done from GST_GCOV now
14293         * tests/check/Makefile.am:
14294           clean up gcov files
14295
14296 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14297
14298         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14299           remove gst_caps_simplify; it was not declared and not used
14300           and deprecated in 0.8
14301
14302 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14303
14304         * docs/faq/gst-uninstalled:
14305           don't put empty paths on PYTHONPATH
14306         * docs/gst/gstreamer-sections.txt:
14307           remove some symbols that are not there
14308
14309 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14310
14311         * gst/gstcaps.c: (gst_caps_compare_structures):
14312           whitespace fixes
14313         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14314         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14315           add more tests
14316
14317 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14318
14319         * libs/gst/dataprotocol/Makefile.am:
14320           build dataprotocol test by linking to the lib, instead of
14321           compiling the source, so we get coverage
14322         * tests/check/Makefile.am:
14323         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14324         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14325           add a test for filesrc
14326
14327 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14328
14329         * tests/check/gst/gststructure.c: (GST_START_TEST),
14330         (gst_structure_suite):
14331           Push coverage from 59.04% to 70.00%
14332
14333 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14334
14335         * tests/check/Makefile.am:
14336           gst-inspect every element; this makes sure that we also get
14337           coverage on element's get/set functions
14338
14339 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14340
14341         * configure.ac:
14342           set CFLAGS and friends to -O0 if gcov is being used
14343           add GCOV LIBS
14344         * gst/Makefile.am:
14345         * libs/gst/base/Makefile.am:
14346         * libs/gst/check/Makefile.am:
14347         * libs/gst/controller/Makefile.am:
14348         * libs/gst/dataprotocol/Makefile.am:
14349         * libs/gst/net/Makefile.am:
14350         * plugins/elements/Makefile.am:
14351         * plugins/indexers/Makefile.am:
14352           add makefile rules to generate gcov data and clean up
14353         * tests/check/Makefile.am:
14354           add a coverage target that generates an html overview
14355           of coverage data
14356
14357 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14358
14359         * tests/check/elements/fakesink.c:
14360         * tests/check/elements/fakesrc.c:
14361         * tests/check/elements/fdsrc.c:
14362         * tests/check/elements/identity.c:
14363         * tests/check/generic/sinks.c: (gst_sinks_suite):
14364         * tests/check/generic/states.c:
14365         * tests/check/gst/gst.c:
14366         * tests/check/gst/gstabi.c:
14367         * tests/check/gst/gstbin.c:
14368         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14369         * tests/check/gst/gstbus.c: (gst_bus_suite):
14370         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14371         * tests/check/gst/gstelement.c:
14372         * tests/check/gst/gstevent.c: (gst_event_suite):
14373         * tests/check/gst/gstghostpad.c:
14374         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14375         * tests/check/gst/gstmessage.c: (gst_message_suite):
14376         * tests/check/gst/gstminiobject.c:
14377         * tests/check/gst/gstobject.c:
14378         * tests/check/gst/gstpad.c:
14379         * tests/check/gst/gstpipeline.c:
14380         * tests/check/gst/gstplugin.c:
14381         * tests/check/gst/gstquery.c: (gst_query_suite):
14382         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14383         * tests/check/gst/gststructure.c:
14384         * tests/check/gst/gstsystemclock.c:
14385         * tests/check/gst/gsttag.c:
14386         * tests/check/gst/gsttask.c: (gst_task_suite):
14387         * tests/check/gst/gstutils.c:
14388         * tests/check/gst/gstvalue.c:
14389         * tests/check/libs/adapter.c:
14390         * tests/check/libs/basesrc.c:
14391         * tests/check/libs/collectpads.c:
14392         * tests/check/libs/controller.c:
14393         * tests/check/libs/gdp.c: (gst_dp_suite):
14394         * tests/check/libs/gstnetclientclock.c:
14395         * tests/check/libs/gstnettimeprovider.c:
14396         * tests/check/libs/libsabi.c: (libsabi_suite):
14397         * tests/check/libs/typefindhelper.c:
14398         * tests/check/pipelines/cleanup.c:
14399         * tests/check/pipelines/parse-launch.c:
14400         * tests/check/pipelines/simple-launch-lines.c:
14401         * tests/check/pipelines/stress.c: (stress_suite):
14402           use the new macro
14403
14404 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14405
14406         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14407         * libs/gst/check/gstcheck.h:
14408           create a macro and function so that the simple unit test
14409           case can be just one macro to create main()
14410
14411 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14412
14413         * gst/gstbin.c: (gst_bin_restore_thyself):
14414         * gst/gstxml.c: (gst_xml_make_element):
14415           Fix deserialisation from XML. Set parent manually
14416           instead of using gst_bin_add(), since gst_bin_add()
14417           will unlink all pads of the element being added.
14418           Fixes #341667.
14419
14420 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14421
14422         Patch by: Peter Kjellerstedt <pkj at axis com>
14423
14424         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14425           Fix missing g_strdup() and double free when using the
14426           --gst-plugin-load command line option (#346097).
14427
14428 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14429
14430         * gst/gstinfo.c:
14431           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14432
14433         * libs/gst/net/gstnetclientclock.c:
14434         * libs/gst/net/gstnettimeprovider.c:
14435           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14436
14437 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14438
14439         * docs/manual/advanced-dataaccess.xml:
14440           Fix buffer probe example compilation in
14441           ADM (#345708).
14442         
14443 2006-06-22  Edward Hervey  <edward@fluendo.com>
14444
14445         * gst/gstelement.c: (gst_element_pads_activate):
14446         We need to deactivate src pads first and then sink pads.
14447         The reason is the src pads might be blocking while holding the streaming
14448         lock, so we need to deactivate them first so that deactivating the sink
14449         pads doesn't block (since it will require the streaming lock).
14450
14451 2006-06-22  Wim Taymans  <wim@fluendo.com>
14452
14453         * libs/gst/base/gstbasetransform.c:
14454         (gst_base_transform_buffer_alloc):
14455         Forgot to remove two unneeded unrefs.
14456         Simplify a check _is_equal allready checks the obvious case.
14457
14458 2006-06-22  Wim Taymans  <wim@fluendo.com>
14459
14460         * docs/design/part-block.txt:
14461         Some docs about what pad_block should do.
14462
14463 2006-06-22  Wim Taymans  <wim@fluendo.com>
14464
14465         * gst/gstcaps.c: (gst_caps_replace):
14466         Fix crasher when passed NULL. Doc clarification.
14467         Optimize for the trivial case.
14468
14469         * gst/gstpipeline.c: (gst_pipeline_change_state):
14470         Small cleanups.
14471
14472         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14473         Small documentation cleanup.
14474
14475         * libs/gst/base/gstbasetransform.c:
14476         (gst_base_transform_buffer_alloc):
14477         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14478         is what we need and it avoids a whole lot of redundant 
14479         refcount operations.
14480
14481 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14482
14483         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14484
14485         * docs/manual/advanced-dataaccess.xml:
14486           Fix 'Embedding static elements' section to use
14487           GST_PLUGIN_DEFINE_STATIC (#345607).
14488
14489 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14490
14491         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14492           Attempt to 'fix' spuriously failing test case: it seems like the
14493           timeout of half a second is simply too small when the system is under
14494           load otherwise, and the timeout doesn't really seem to serve any
14495           particular purpose here. Give the pipeline a few seconds to preroll
14496           first, and then give it another half a second to go from PAUSED to
14497           PLAYING and marshal the message into the main thread.
14498
14499 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14500
14501         * tools/gst-feedback-m.m:
14502           Don't only use unversioned tools, try versioned tools as well
14503           (#345086).
14504
14505 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14506
14507         * gst/gstbus.c: (gst_bus_class_init):
14508           Fix some typos, make docs more explicit.
14509
14510 2006-06-20  Wim Taymans  <wim@fluendo.com>
14511
14512         * tests/check/gst/gstghostpad.c: (block_callback),
14513         (GST_START_TEST), (gst_ghost_pad_suite):
14514         Added some more ghostpad tests, mainly blocking
14515         and probes.
14516
14517 2006-06-16  Wim Taymans  <wim@fluendo.com>
14518
14519         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14520         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14521         (gst_file_sink_event), (gst_file_sink_render):
14522         * plugins/elements/gstfilesink.h:
14523         Check if we can seek in the file instead of assuming
14524         we always can. Post an error when we are asked to seek in a
14525         non-seekable file (like a fifo). Fixes #343312.
14526         Some cleanups.
14527
14528 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14529
14530         * tools/gst-launch.1.in:
14531           Un-garble (fourcc) bit in filtered caps section.
14532
14533 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14534
14535         * docs/manual/advanced-autoplugging.xml:
14536         * docs/manual/basics-helloworld.xml:
14537         * docs/manual/highlevel-components.xml:
14538           Don't leak bus reference in sample code.
14539
14540 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14541
14542         * autogen.sh:
14543           Add default for new --enable-plugin-docs switch.
14544
14545         * configure.ac:
14546           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14547           Fixes #344039.
14548
14549         * docs/Makefile.am:
14550           Use new ENABLE_PLUGIN_DOCS conditional.
14551
14552 2006-06-14  Wim Taymans  <wim@fluendo.com>
14553
14554         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14555         Make it clear with a FIXME and a real define what the #if 0
14556         previously disabled.
14557
14558 2006-06-14  Wim Taymans  <wim@fluendo.com>
14559
14560         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14561         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14562         * libs/gst/base/gstbasetransform.c:
14563         (gst_base_transform_sink_eventfunc):
14564         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14565         Don't randomly and silently reset a segment when the format 
14566         changes as this is a bug somewhere upstream. Fixes #330379.
14567
14568 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14569
14570         Patch by: Wouter Paesen  <wouter at kangaroot net>
14571
14572         * libs/gst/controller/gstcontroller.c:
14573         (gst_controlled_property_new):
14574           Fix controlling of float properties (#344849).
14575
14576         * tests/check/libs/controller.c:
14577         (gst_test_mono_source_get_property),
14578         (gst_test_mono_source_set_property),
14579         (gst_test_mono_source_class_init), (GST_START_TEST):
14580           While we're at it, add some float stuff to unit test.
14581
14582 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14583
14584         * docs/README:
14585         * docs/images/gdp-header.svg:
14586           add a gdp image
14587         * docs/libs/Makefile.am:
14588         * docs/libs/gdp-header.png:
14589         * libs/gst/dataprotocol/dataprotocol.c:
14590           add it to the API docs
14591         * docs/manual/intro-motivation.xml:
14592           fix typo
14593
14594 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14595
14596         * gst/gst.c: (scan_and_update_registry), (init_post):
14597           If the fork()'ed child process can't write the updated registry cache
14598           file to disk for some reason, make it exit with a failure exit code,
14599           so that the parent can then re-scan the plugins itself and update the
14600           registry structures in memory and work with that (rather than failing
14601           when creating elements because seemingly no plugins are available).
14602           Refactor registry scanning code into separate function for this and
14603           also separate fork() and non-fork() code paths. Fixes #344748.
14604
14605 2006-06-13  Wim Taymans  <wim@fluendo.com>
14606
14607         * docs/manual/advanced-dataaccess.xml:
14608         Fix wrong PluginDesc. Fixes #344755.
14609
14610 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14611
14612         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14613           Fix silly bug that prevented us from creating
14614           ~/.gstreamer-0.10 and writing the registry in one
14615           go (the first call to g_mkstemp() would overwrite the
14616           placeholder in the template string, so the second call
14617           to g_mkstemp() after creating the missing directory
14618           would then error out with 'invalid argument').
14619
14620 2006-06-13  Edward Hervey  <edward@fluendo.com>
14621
14622         * gst/gst.c: (init_post):
14623         Free string.
14624
14625 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14626
14627         * gst/glib-compat-private.h:
14628         * gst/glib-compat.c:
14629         * gst/glib-compat.h:
14630         * gst/gstvalue.c: (gst_value_serialize_flags):
14631           remove GLib 2.6 compatibility code
14632
14633 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14634
14635         * gst/parse/Makefile.am:
14636           Fix build with 'make -j N' even more (#340016).
14637
14638 2006-06-12  Wim Taymans  <wim@fluendo.com>
14639
14640         * docs/gst/gstreamer-sections.txt:
14641         Fix docs.
14642
14643 2006-06-12  Wim Taymans  <wim@fluendo.com>
14644
14645         * gst/gstsegment.c: (gst_segment_set_duration),
14646         (gst_segment_set_last_stop), (gst_segment_set_seek),
14647         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14648         (gst_segment_to_running_time), (gst_segment_clip):
14649         Use G_UNLIKELY to help the compiler a bit.
14650
14651 2006-06-12  Wim Taymans  <wim@fluendo.com>
14652
14653         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14654
14655         * gst/gstevent.c: (gst_event_get_type):
14656         * gst/gstmessage.c:
14657         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14658         (gst_pad_push):
14659         constify quark registration strings. Fixes #344115
14660         Avoid unneeded type checking is _pad_push() by internally
14661         calling gst_pad_chain_unchecked().
14662
14663 2006-06-12  Wim Taymans  <wim@fluendo.com>
14664
14665         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14666         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14667         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14668         (gst_buffer_is_span_fast), (gst_buffer_span):
14669         Init _type for consistency.
14670         Use _FLAGS macro to avoid type check.
14671         Avoid unneeded type checks in subbufer code.
14672
14673 2006-06-12  Wim Taymans  <wim@fluendo.com>
14674
14675         * gst/gst.c: (gst_debug_help):
14676         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14677         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14678         (gst_plugin_feature_list_free):
14679         * gst/gstregistry.c: (gst_registry_add_plugin),
14680         (gst_registry_add_feature), (gst_registry_plugin_filter),
14681         (gst_registry_feature_filter), (gst_registry_find_plugin),
14682         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14683         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14684         * gst/gstregistryxml.c: (load_feature),
14685         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14686         * gst/gstminiobject.c: (gst_mini_object_unref),
14687         (gst_mini_object_replace), (gst_value_mini_object_free),
14688         (gst_value_mini_object_copy):
14689         Use _CAST macros to avoid unneeded type checking.
14690         Added some more G_UNLIKELY.
14691
14692 2006-06-12  Wim Taymans  <wim@fluendo.com>
14693
14694         * gst/gstbuffer.h:
14695         Avoid unneeded type checking.
14696         API: GST_BUFFER_IS_DISCONT
14697
14698         * gst/gstminiobject.h:
14699         Avoid type check in flag accessor.
14700
14701         * gst/gstelementfactory.h:
14702         * gst/gstplugin.h:
14703         * gst/gstpluginfeature.h:
14704         Add _CAST macros.
14705         API: GST_ELEMENT_FACTORY_CAST
14706         API: GST_PLUGIN_CAST
14707         API: GST_PLUGIN_FEATURE_CAST
14708
14709 2006-06-12  Wim Taymans  <wim@fluendo.com>
14710
14711         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14712         (gst_object_unref):
14713         Add G_UNLIKELY in type registration.
14714         Avoid type check in _ref/_unref since that is also
14715         done in glib.
14716
14717 2006-06-12  Wim Taymans  <wim@fluendo.com>
14718
14719         * gst/gsterror.c: (gst_g_error_get_type):
14720         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14721         (gst_static_pad_template_get_type):
14722         * gst/gsttaglist.c: (gst_tag_list_get_type):
14723         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14724         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14725         * gst/gsturi.c: (gst_uri_handler_get_type):
14726         * gst/gstvalue.c: (gst_date_get_type):
14727         * gst/gstxml.c: (gst_xml_get_type):
14728         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14729         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14730         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14731         Add G_UNLIKELY in type registration.
14732
14733 2006-06-12  Wim Taymans  <wim@fluendo.com>
14734
14735         * tools/gst-inspect.c: (print_signal_info):
14736         Properly print enum values.
14737
14738 2006-06-12  Wim Taymans  <wim@fluendo.com>
14739
14740         * gst/gstinfo.c: (gst_debug_set_active),
14741         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14742         * gst/gstinfo.h:
14743         Add some G_[UN]LIKELY.
14744         Maintain __gst_debug_min to avoid formatting the arguments of
14745         debug messages that will be dropped anyway to avoid a lot of 
14746         overhead from the debugging system.
14747
14748 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14749
14750         * po/POTFILES.in:
14751         * po/POTFILES.skip:
14752           add missing files containing translatable strings, tell intltool about
14753           one exception
14754
14755 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14756
14757         * tests/check/libs/.cvsignore:
14758         add test-binary to ignore list
14759
14760 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14761
14762         * docs/libs/gstreamer-libs-docs.sgml:
14763         reorder (put dp into a chapter) and indent
14764
14765 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14766
14767         * configure.ac:
14768           back to HEAD
14769
14770 === release 0.10.8 ===
14771
14772 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14773
14774         * configure.ac:
14775           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14776
14777 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14778
14779         * gst/gst.c: (init_post):
14780           move pid declaration to declaration block
14781
14782 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14783
14784         * gst/gst.c: (init_post):
14785           use _exit() instead of exit() in our forked child; this ensures
14786           that none of the registered exit handlers from whatever is using
14787           GStreamer get executed.  This fixes gnome-mixer-applet failing
14788           to load, because ORBit would shut down.
14789           Spotted by: Edward Hervey  <edward@fluendo.com>
14790           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14791           Fixes #344474
14792
14793 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14794
14795         * configure.ac:
14796           back to TRUNK
14797
14798 === release 0.10.7 ===
14799
14800 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14801
14802         * configure.ac:
14803           releasing 0.10.7, "Soepeke, ik zie ou"
14804
14805 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14806
14807         * configure.ac:
14808         * po/af.po:
14809         * po/az.po:
14810         * po/bg.po:
14811         * po/ca.po:
14812         * po/cs.po:
14813         * po/de.po:
14814         * po/en_GB.po:
14815         * po/fr.po:
14816         * po/it.po:
14817         * po/nb.po:
14818         * po/nl.po:
14819         * po/ru.po:
14820         * po/sq.po:
14821         * po/sr.po:
14822         * po/sv.po:
14823         * po/tr.po:
14824         * po/uk.po:
14825         * po/vi.po:
14826         * po/zh_CN.po:
14827         * po/zh_TW.po:
14828         * win32/common/config.h:
14829           0.10.6.2 prerelease
14830
14831 2006-06-07  Wim Taymans  <wim@fluendo.com>
14832
14833         * gst/gstindex.c: (gst_index_gtype_resolver):
14834         * tools/gst-xmlinspect.c: (print_plugin_info):
14835         Fix leak spotted by coverity checker. Fixes #343827
14836         Fix another other leak found by paolo borelli.
14837
14838 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14839
14840         * libs/gst/dataprotocol/dataprotocol.c:
14841         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14842         (gst_dp_version_get_type), (gst_dp_init),
14843         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14844         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14845         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14846         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14847         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14848         (gst_dp_packetizer_free):
14849         * libs/gst/dataprotocol/dataprotocol.h:
14850           API: add a GstDPPacketizer object, and create/free functions
14851           API: add GstDPVersion enum
14852           Add 1.0 event function that uses the string serialization
14853           Serialize more useful buffer flags
14854           Fixes #343988
14855
14856 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14857
14858         * tests/check/Makefile.am:
14859         * tests/check/gst/gstabi.c:
14860         * tests/check/gst/struct_ppc64.h:
14861         * tests/check/libs/libsabi.c:
14862         * tests/check/libs/struct_ppc64.h:
14863           add ppc64 structure sizes
14864
14865 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14866
14867         * tests/check/Makefile.am:
14868         * tests/check/gst/gstabi.c:
14869         * tests/check/gst/struct_x86_64.h:
14870         * tests/check/libs/libsabi.c:
14871         * tests/check/libs/struct_x86_64.h:
14872           generate and add structure size lists for x86_64
14873
14874 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14875
14876         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14877         * libs/gst/check/gstcheck.h:
14878           factor out the method from tests that checks size of structures,
14879           and add code to generate the header containing these sizes
14880         * tests/check/gst/gstabi.c: (GST_START_TEST):
14881         * tests/check/gst/struct_i386.h:
14882         * tests/check/libs/libsabi.c: (GST_START_TEST):
14883         * tests/check/libs/struct_i386.h:
14884           use it
14885
14886 2006-06-06  Michael Smith  <msmith@fluendo.com>
14887
14888         * gst/gstsegment.h:
14889           Don't use c++-style comments, fixes #343929
14890
14891 2006-06-05  Edward Hervey  <edward@fluendo.com>
14892
14893         * gst/gst.c:
14894         plugin_paths is not used if we build without registry support.
14895
14896         * gst/gstsegment.c: (gst_segment_copy): 
14897         _copy() was always returning NULL...
14898
14899 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14900
14901         * libs/gst/dataprotocol/dataprotocol.c:
14902         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14903         (gst_dp_packet_from_event):
14904           factor out CRC code
14905
14906 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14907
14908         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14909           make sure we unset caps
14910
14911 2006-06-02  Michael Smith  <msmith@fluendo.com>
14912
14913         * libs/gst/check/gstcheck.c: (gst_check_init),
14914         (gst_check_chain_func):
14915         * libs/gst/check/gstcheck.h:
14916           Add a cond/mutex to the check support lib, signal this whenever we
14917           add to the buffers list. This will allow tests to not busy-wait on
14918           the buffer-list.
14919
14920 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14921
14922         * libs/gst/dataprotocol/dataprotocol.c:
14923         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14924         (gst_dp_packet_from_event):
14925           factor out some common header init code
14926
14927 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14928
14929         * docs/libs/gstreamer-libs-sections.txt:
14930         * docs/libs/tmpl/gstdataprotocol.sgml:
14931         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14932         * libs/gst/dataprotocol/dataprotocol.h:
14933           API: make gst_dp_crc() public
14934
14935 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14936
14937         * plugins/indexers/gstindexers.c: (plugin_init):
14938         conditionally register fileindexer (fixes #343598)
14939
14940 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14941
14942         * gst/gsttagsetter.h:
14943         Can't cast ifaces to a class
14944
14945         * libs/gst/net/gstnetclientclock.h:
14946         * libs/gst/net/gstnettimeprovider.h:
14947         * plugins/elements/gstfakesink.h:
14948         * plugins/elements/gstfakesrc.h:
14949         * plugins/elements/gstfdsink.h:
14950         * plugins/elements/gstfdsrc.h:
14951         * plugins/elements/gstfilesink.h:
14952         * plugins/elements/gstfilesrc.h:
14953         * plugins/elements/gstidentity.h:
14954         * plugins/elements/gstqueue.h:
14955         * plugins/elements/gsttee.h:
14956         * plugins/indexers/gstfileindex.c:
14957         * plugins/indexers/gstmemindex.c:
14958         * tests/old/examples/plugins/example.h:
14959         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14960
14961 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14962
14963         * libs/gst/dataprotocol/dataprotocol.c:
14964         (gst_dp_header_from_buffer):
14965           make sure we zero the whole ABI-compatible area
14966
14967 2006-06-01  Wim Taymans  <wim@fluendo.com>
14968
14969         Patch by: Alessandro Decina <alessandro at nnva dot org>
14970
14971         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14972         Make sure the EOS flag is cleared from pads after a flush
14973         or stop. Fixes #343538.
14974
14975         * tests/check/libs/collectpads.c: (GST_START_TEST),
14976         (gst_collect_pads_suite):
14977         Added test for collectpads reusage after EOS.
14978
14979 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14980
14981         * gst/gst.c:
14982          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14983         * win32/common/libgstbase.def:
14984          export gst_collect_pads_set_flushing
14985         * win32/common/libgstreamer.def:
14986          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14987          gst_value_fraction_multiply
14988         * win32/vs6/gst_inspect.dsp:
14989          add a link to intl.lib
14990
14991 2006-05-30  Wim Taymans  <wim@fluendo.com>
14992
14993         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14994         (gst_collect_pads_chain):
14995         Handle the case where a pad is removed from the collection
14996         that could cause the other pads to become collectable.
14997
14998 2006-05-30  Wim Taymans  <wim@fluendo.com>
14999
15000         * gst/gstelement.c:
15001         Clarify the use of _release_request_pad() and
15002         _get_request_pad() a bit better.
15003
15004         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
15005         (gst_adapter_take_buffer):
15006         Fix some doc and comment typos.
15007
15008 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15009
15010         * docs/gst/gstreamer-sections.txt:
15011         * docs/libs/gstreamer-libs-sections.txt:
15012           add declared symbols
15013
15014 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
15015
15016         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15017         Add debug that can be enabled using a #define at the top of the file,
15018         for dumping stats about how late/early we were when waking up from
15019         waiting on the clock.
15020
15021 2006-05-30  Wim Taymans  <wim@fluendo.com>
15022
15023         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
15024         When rebuilding the pad list, don't leak the previous list.
15025
15026 2006-05-30  Wim Taymans  <wim@fluendo.com>
15027
15028         Patch by: Lutz Mueller <lutz at topfrose dot de>
15029
15030         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15031         (gst_base_src_get_query_types), (gst_base_src_update_length):
15032         Publish supported query types.
15033         Update last_stop field in get_range mode so the position
15034         query works. Fixes #342321.
15035
15036 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
15037
15038         * docs/gst/gstreamer-sections.txt:
15039         * gst/gsttaglist.c: (_gst_tag_initialize):
15040         * gst/gsttaglist.h:
15041           API: add GST_TAG_PREVIEW_IMAGE (#343341).
15042
15043 2006-05-30  Wim Taymans  <wim@fluendo.com>
15044
15045         Patch by: Alessandro Decina <alessandro at nnva dot org>
15046
15047         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
15048         Unlock mutex when removing an unknown pad.
15049         Fixes #343334.
15050
15051         * tests/check/Makefile.am:
15052         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
15053         (push_event), (setup), (teardown), (GST_START_TEST),
15054         (gst_collect_pads_suite), (main):
15055         Added collecpads check, disabled for now as check crashes for
15056         some reason.
15057
15058 2006-05-29  Wim Taymans  <wim@fluendo.com>
15059
15060         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
15061         Don't leak pads lists.
15062
15063 2006-05-29  Wim Taymans  <wim@fluendo.com>
15064
15065         * docs/libs/gstreamer-libs-sections.txt:
15066         * libs/gst/base/gstcollectpads.c:
15067         (gst_collect_pads_set_flushing_unlocked),
15068         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15069         (gst_collect_pads_stop):
15070         * libs/gst/base/gstcollectpads.h:
15071         API: gst_collect_pads_set_flushing()
15072         Added api to set the pads to flushing, useful for seeking
15073         code in elements using collectpads.
15074         Clear segment when receiving a flush.
15075
15076 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
15077
15078         * gst/gst.c: (add_path_func), (init_post):
15079           Don't scan registry paths passed via --gst-plugin-path immediately
15080           (will crash, because absolutely nothing is set up and no types are
15081           registered etc.); do this later in init_post(). Fixes #343057.
15082
15083 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15084
15085         * gst/gst.c: (init_post):
15086           if we have fork, fork while reading/rebuilding the registry
15087           so the parent doesn't take the hit of having all plugins loaded
15088           in memory.  Fixes #342777.
15089         * configure.ac:
15090           Check if we have fork()
15091         * win32/common/config.h.in:
15092           no fork() on win32
15093
15094 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
15095
15096         * plugins/elements/gstelements.c:
15097         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
15098         (gst_file_src_init), (gst_file_src_set_property),
15099         (gst_file_src_get_property), (gst_file_src_start):
15100         * plugins/elements/gstfilesrc.h:
15101           API: GstFileSrc::use-mmap
15102
15103         Add a use-mmap property to enable easier testing of all code paths.
15104         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
15105         in the absence of gnomevfssrc. (Closes #340501)
15106
15107 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15108
15109         * tools/gst-inspect.c:
15110         Add missing include, removes warning of ngettext not being defined on
15111         some arches.
15112
15113 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
15114
15115         * gst/gstvalue.c: (gst_value_deserialize_fraction):
15116         Handle NULL input and output pointers silently as a failed conversion,
15117         rather than g_warnings.
15118
15119 2006-05-25  Wim Taymans  <wim@fluendo.com>
15120
15121         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
15122         Initialize variable before using. Fixes #342820.
15123
15124 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
15125
15126         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
15127           Fix off-by-one bug that would only allow peeks of N-1 bytes
15128           from the start even if the buffer to typefind on contains
15129           in fact N bytes of data (makes vorbis typefinding from a
15130           vorbis identification header buffer work).
15131
15132         * tests/check/Makefile.am:
15133         * tests/check/libs/.cvsignore:
15134         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
15135         (gst_typefindhelper_suite), (main), (foobar_typefind),
15136         (plugin_init):
15137           Add very basic unit test for gst_type_find_helper_for_buffer()
15138           that checks for the problem fixed above.
15139
15140 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15141
15142         * tools/gst-inspect.c: (print_interfaces),
15143         (print_element_properties_info), (print_element_list), (main):
15144           add more translatable strings
15145
15146 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
15147
15148         Patch by: Julien Moutte  <julien at moutte net>
15149
15150         * docs/gst/gstreamer-sections.txt:
15151           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15152           
15153         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15154         (gst_fake_sink_preroll):
15155         * plugins/elements/gstfakesink.h:
15156           API: Add new GstFakeSink::preroll-handoff signal (#337100).
15157
15158 2006-05-23  Wim Taymans  <wim@fluendo.com>
15159
15160         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15161         * gst/gstpad.h:
15162         Added _CUSTOM error and success GstFlowReturn that can be
15163         used be elements internally. 
15164         Added macro to check for SUCCESS flowreturns.
15165         API: GST_FLOW_CUSTOM_SUCCESS
15166         API: GST_FLOW_CUSTOM_ERROR
15167         API: GST_FLOW_IS_SUCCESS
15168
15169         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15170         Added check for GstFlowReturn sanity.
15171
15172 2006-05-23  Wim Taymans  <wim@fluendo.com>
15173
15174         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15175
15176         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15177         (gst_collect_pads_event):
15178         clear/reset segment info in FLUSH_STOP.
15179         Fixes #336929.
15180
15181 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
15182
15183         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15184         (gst_collect_pads_check_collected):
15185         Flush queued buffer on _stop(), fixes playing again (#342454)
15186
15187 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15188
15189         * tests/check/gst/gststructure.c: (GST_START_TEST),
15190         (gst_structure_suite):
15191           add a test for a complete structure
15192
15193 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15194
15195         * docs/faq/developing.xml:
15196         * docs/faq/faq.xml:
15197         * docs/faq/troubleshooting.xml:
15198         * docs/faq/using.xml:
15199           Some minor FAQ updates that won't change the fact that
15200           our FAQ is badly structured, full of information hardly
15201           anyone new to GStreamer needs to know and lacking lots
15202           of information people constantly ask for.
15203           
15204 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
15205
15206         * gst/gstpad.c: (gst_pad_set_caps):
15207           Short-circuit gst_pad_set_caps if setting the existing
15208           caps pointer again, and avoid printing debug and 
15209           reffing/unreffing the caps.
15210
15211         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15212           There's actually no need to set the caps before pushing -
15213           the acceptcaps method will handle it anyway.
15214
15215 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15216
15217         * docs/gst/gstreamer-sections.txt:
15218         * win32/common/libgstreamer.def:
15219         * gst/gstutils.c: (gst_element_seek_simple):
15220         * gst/gstutils.h:
15221           API: add gst_element_seek_simple() (#342238).
15222
15223 2006-05-18  Edward Hervey  <edward@fluendo.com>
15224
15225         * gst/gsttypefind.c: (gst_type_find_get_type):
15226         * gst/gsttypefind.h:
15227         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15228         registered for GstTypeFind pointers. This allows wrapping the structure
15229         in bindings (i.e. gst-python).
15230
15231 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15232
15233         * gst/gsttagsetter.c:
15234           Docs additions and fixes (see #339918).
15235
15236 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
15237
15238         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15239         The caps intersection algorithm can produce multiple copies of the
15240         caps. Until that is fixed, we need to simplify the result to be
15241         sure whether the allowed caps are fixed or not.
15242
15243         * plugins/elements/gstqueue.c: (gst_queue_init),
15244         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15245         (gst_queue_push_one):
15246         Proxied buffer alloc should not set the caps on the source pad.
15247         When pushing buffers, we always accept the caps change that triggers.
15248         This prevents negotiation errors caused by caps changing mid-stream 
15249         and then being refused on our source pad (because upstream is now
15250         refusing those caps).
15251
15252 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15253
15254         * tests/examples/helloworld/helloworld.c: (main):
15255           Must plug audioconvert and audioresample between decoder
15256           and audio sink.
15257
15258 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
15259
15260         * gst/gstregistryxml.c: (read_string), (load_pad_template),
15261         (load_feature), (load_plugin):
15262         Allow empty strings for some of the plugin fields so we don't 
15263         drop valid plugin entries that were written out correctly
15264         (Fixes #341479)
15265
15266 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
15267         
15268         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15269           Use g_remove and g_rename instead of remove and rename that don't 
15270           handle utf8 characters. rename was failing for users who had specific
15271           characters in their name then the registry was built at each 
15272           gstreamer init.
15273         * win32/vs6/gst_inspect.dsp:
15274         * win32/vs6/gst_launch.dsp:
15275         * win32/vs6/libgstbase.dsp:
15276         * win32/vs6/libgstcoreelements.dsp:
15277         * win32/vs6/libgstreamer.dsp:
15278           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
15279           build of libgstreamer and clean unused libraries in projects link 
15280           settings.
15281
15282 2006-05-17  Edward Hervey  <edward@fluendo.com>
15283
15284         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15285         The queue is not responsible for pushing an EOS when receiving a fatal
15286         flow error. It's up to the real element driving the pipeline to do that.
15287
15288 2006-05-16  Edward Hervey  <edward@fluendo.com>
15289
15290         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15291         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15292         buffer returned a fatal error. It should just send an EOS and stop
15293         its task.
15294         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15295         when pushing buffers on the queue and will be able to handle the event.
15296
15297 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
15298
15299         * docs/manual/basics-bins.xml:
15300         * docs/manual/basics-init.xml:
15301           Fix typos and minor errors in sample code (#341856).
15302
15303 2006-05-16  Wim Taymans  <wim@fluendo.com>
15304
15305         * docs/design/part-qos.txt:
15306         Fix indexes in formulas to make more sense.
15307
15308 2006-05-15  Wim Taymans  <wim@fluendo.com>
15309
15310         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15311         Don't report POSITION based on clock time if sync is
15312         disabled in a sink.
15313
15314 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
15315
15316         * gst/gstobject.h:
15317           Add cast to make compiler happy - refcount variable was a gint
15318           in GstObject but is a guint in GObject and g_atomic_int_get()
15319           wants a gint *.
15320
15321 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15322
15323         * gst/parse/Makefile.am:
15324           chain commands using &&, which also makes parallel make work
15325
15326 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
15327
15328         * docs/gst/gstreamer-sections.txt:
15329         * gst/gstevent.c:
15330         * gst/gstevent.h:
15331         * gst/gstmessage.h:
15332           Minor docs fixes.
15333
15334 === release 0.10.6 ===
15335
15336 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
15337
15338         * configure.ac:
15339           releasing 0.10.6, "Take the cannoli"
15340
15341 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15342
15343         * tools/gst-launch.c: (print_tag):
15344           Fix use of uninitialized variable in the hypothetical
15345           case that some broken plugin creates a GST_TAG_IMAGE
15346           tag containing a NULL buffer (#341667).
15347
15348 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15349
15350         * tools/gst-launch.c: (print_tag):
15351           Print something more intelligible for image tags when
15352           using the -t switch (#341556).
15353
15354 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15355
15356         * Makefile.am:
15357           updates for win32
15358         * configure.ac:
15359           define GST_MAJORMINOR so we have it available in win32/common/config.h
15360           Possibly remove it from our Makefile.am files later
15361         * win32/common/config.h:
15362         * win32/common/config.h.in:
15363           added GST_MAJORMINOR
15364         * win32/common/gstenumtypes.c: (register_gst_resource_error):
15365         * win32/common/gstversion.h:
15366           updated
15367
15368 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
15369
15370         * win32/MANIFEST:
15371           Update win32 files listing.
15372         * win32/common/gstversion.h:
15373           Add GST_MAJORMINOR definition.
15374         * win32/common/libgstreamer.def:
15375           Add new exported functions.
15376           
15377 2006-05-12  Michael Smith  <msmith@fluendo.com>
15378
15379         * gst/gstplugin.c: (gst_plugin_load_file):
15380           If an so file has no plugin entry point, unload the module.
15381
15382 2006-05-11  Wim Taymans  <wim@fluendo.com>
15383
15384         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15385         (gst_queue_set_property):
15386         Don't forget to signal the _chain or _loop function 
15387         when the queue size or thresholds change since that might
15388         cause them to make progres again.
15389
15390 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15391
15392         * gst/gstclock.c: (gst_clock_class_init):
15393         * gst/gstindex.c: (gst_index_class_init):
15394         * gst/gstobject.c: (gst_object_class_init):
15395         * gst/gstpad.c: (gst_pad_class_init):
15396         * gst/gstpipeline.c: (gst_pipeline_class_init):
15397         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15398         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15399         * libs/gst/base/gstbasetransform.c:
15400         (gst_base_transform_class_init):
15401         * libs/gst/net/gstnetclientclock.c:
15402         (gst_net_client_clock_class_init):
15403         * libs/gst/net/gstnettimeprovider.c:
15404         (gst_net_time_provider_class_init):
15405         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15406         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15407         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15408         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15409         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15410         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15411         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15412         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15413         * plugins/elements/gsttee.c: (gst_tee_class_init):
15414         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15415         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15416           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15417
15418 2006-05-11  Wim Taymans  <wim@fluendo.com>
15419
15420         * gst/gstbuffer.c: (_gst_buffer_initialize):
15421         Register subbufer along with the buffer type so that
15422         it does not accidentally gets registered from N
15423         different streaming threads in a non threadsafe way.
15424
15425 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15426
15427         * gst/gstbuffer.h:
15428         * gst/gstevent.h:
15429         * gst/gstmessage.h:
15430           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15431           gst_event_ref() and gst_message_ref() functions again
15432           (ugly hack, please do fix if there's a better way besides
15433           overrides.txt, which doesn't seem to work).
15434
15435 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15436
15437         * libs/gst/check/gstcheck.h:
15438           add an assert for setting state to avoid lots of repetitive code
15439           in the future
15440
15441 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15442
15443         * gst/gstvalue.c: (gst_value_serialize_flags):
15444           fix a leak if no flags are set
15445         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15446           fix leak in tests
15447
15448 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15449
15450         * docs/manual/basics-pads.xml:
15451           Expand a bit on caps and filtered links and update
15452           examples that were still using the no longer existing
15453           gst_pad_link_filtered() (#338206).
15454
15455 2006-05-10  Wim Taymans  <wim@fluendo.com>
15456
15457         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15458         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15459         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15460         (gst_collect_pads_stop):
15461         * libs/gst/base/gstcollectpads.h:
15462         No need to call _stop in _finalize.
15463         Iterate the main pad list in _finalize.
15464         Added some more debug.
15465         Free lists and data in the right order.
15466         Also free data whem doing _remove_pad when stopped for
15467         backward compatibility protect ::started with PAD_LOCK as
15468         well.
15469
15470 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15471
15472         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15473         (gst_structure_parse_value):
15474           add some comments
15475           rename a method so that it actually says what it does better
15476
15477 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15478
15479         * gst/gstevent.c: (_gst_event_initialize):
15480         * gst/gstformat.c: (_gst_format_initialize):
15481           make sure some essential types used by events are registered
15482           as part of gst_init()
15483         * gst/gstvalue.c: (gst_value_serialize_flags):
15484           if no flags are set, serialize them to a value that represents NONE
15485           so that deserializing them works
15486         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15487           add tests for serialization and deserialization of flags
15488
15489 2006-05-10  Wim Taymans  <wim@fluendo.com>
15490
15491         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15492         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15493         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15494         (gst_collect_pads_event), (gst_collect_pads_chain):
15495         Update docs.
15496         Better debug info.
15497         Catch and return errors from the collect function
15498         Refuse data on eos pads.
15499
15500 2006-05-10  Edward Hervey  <edward@fluendo.com>
15501
15502         * gst/gstinterface.h:
15503         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15504         GInterface type checking.
15505         They were previously using non-defined macros.
15506
15507 2006-05-09  Wim Taymans  <wim@fluendo.com>
15508
15509         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15510         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15511         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15512         (gst_collect_pads_start), (gst_collect_pads_stop),
15513         (gst_collect_pads_peek), (gst_collect_pads_pop),
15514         (gst_collect_pads_available), (gst_collect_pads_read),
15515         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15516         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15517         (gst_collect_pads_chain):
15518         * libs/gst/base/gstcollectpads.h:
15519         Clean up the mess that is collectpads, add comments and
15520         FIXMEs where needed.
15521         Maintain a separate pad list so we can add pads while
15522         collecting the other ones. For this we need a new separate 
15523         lock (see comics).
15524         Fix memory leak in finalize.
15525         Refactor some weird code to set/unset pad flushing flags, mark
15526         with comments.
15527         Don't crash in _available, _read, _flush when we're EOS.
15528
15529         * tests/check/libs/.cvsignore:
15530         Ignore adapter check binary.
15531
15532 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15533
15534         * gst/gstindex.c: (gst_index_resolver_get_type):
15535         * plugins/elements/gstfakesink.c:
15536         (gst_fake_sink_state_error_get_type):
15537         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15538         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15539         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15540           Const-ify GEnumValue arrays.
15541
15542 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15543
15544         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15545           Add test case for flags + gst_buffer_make_metadata_writable().
15546
15547 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15548
15549         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15550           gst_buffer_make_metadata_writable() should maintain the
15551           buffer flags (those that make sense at least) (see #340859).
15552
15553 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15554
15555         * tools/gst-inspect.c:
15556         * tools/gst-launch.c:
15557         * tools/gst-typefind.c:
15558         * tools/gst-xmlinspect.c:
15559         * tools/tools.h:
15560           Fix up includes: need to include stdlib.h in tools.h for exit().
15561
15562 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15563
15564         * gst/gsttaglist.c: (_gst_tag_initialize):
15565         * gst/gsttaglist.h:
15566           API: add GST_TAG_IMAGE tag (#340721).
15567
15568 2006-05-08  Wim Taymans  <wim@fluendo.com>
15569
15570         * gst/gstquery.c:
15571         Added some docs for the segment query.
15572
15573 2006-05-08  Wim Taymans  <wim@fluendo.com>
15574
15575         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15576         (gst_base_src_loop), (gst_base_src_change_state):
15577         Always push non-flushing serialized events in the streaming 
15578         thread.
15579
15580 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15581
15582         * gst/gsterror.c: (_gst_stream_errors_init):
15583           Add a missing error string.
15584
15585 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15586
15587         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15588         Add applied_rate to the debug
15589
15590         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15591         Copy applied_rate into the outgoing NEWSEGMENT event
15592
15593 2006-05-08  Wim Taymans  <wim@fluendo.com>
15594
15595         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15596
15597         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15598         (gst_base_sink_change_state):
15599         call ::unlock before taking the PREROLL_LOCK so we can safely
15600         handle elements that lock in ::render.
15601         Fixes #340174.
15602
15603 2006-05-08  Edward Hervey  <edward@fluendo.com>
15604
15605         * autogen.sh: (CONFIGURE_DEF_OPT): 
15606         Darwin's libtoolize is in fact called glibtoolize.
15607         Adding glibtoolize to the list of accepted names for libtoolize.
15608
15609 2006-05-08  Wim Taymans  <wim@fluendo.com>
15610
15611         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15612         Unify error handling, don't post an error message
15613         when a push() returns EOS but perform our normal EOS
15614         handling code. Fixes #340772.
15615
15616 2006-05-08  Wim Taymans  <wim@fluendo.com>
15617
15618         * docs/design/part-overview.txt:
15619         Make upsteam/downstream concepts more clear.
15620         Give an example of serialized/non-serialized events.
15621
15622         * docs/design/part-events.txt:
15623         * docs/design/part-streams.txt:
15624         Mention applied_rate.
15625
15626         * docs/design/part-trickmodes.txt:
15627         Mention applied rate, flesh out some more use cases.
15628
15629         * gst/gstevent.c: (gst_event_new_new_segment),
15630         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15631         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15632         (gst_event_parse_tag), (gst_event_new_buffer_size),
15633         (gst_event_parse_buffer_size), (gst_event_new_qos),
15634         (gst_event_parse_qos), (gst_event_parse_seek),
15635         (gst_event_new_navigation):
15636         * gst/gstevent.h:
15637         Add applied_rate field to NEWSEGMENT event.
15638         API: gst_event_new_new_segment_full()
15639         API: gst_event_parse_new_segment_full()
15640
15641         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15642         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15643         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15644         * gst/gstsegment.h:
15645         Add applied_rate to GstSegment structure.
15646         Make calculation of stream_time and running_time more correct
15647         wrt rate/applied_rate.
15648         Add some more docs.
15649         API: GstSegment::applied_rate field
15650         API: gst_segment_set_newsegment_full();
15651
15652         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15653         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15654         * libs/gst/base/gstbasetransform.c:
15655         (gst_base_transform_sink_eventfunc),
15656         (gst_base_transform_handle_buffer):
15657         Parse and use applied_rate in the GstSegment field.
15658
15659         * tests/check/gst/gstevent.c: (GST_START_TEST):
15660         Add check for applied_rate field.
15661
15662         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15663         (gstsegments_suite):
15664         Add more checks for various GstSegment operations.
15665
15666 2006-05-08  Wim Taymans  <wim@fluendo.com>
15667
15668         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15669         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15670         (gst_base_sink_get_position), (gst_base_sink_change_state):
15671         Store the sync time of the buffer end position separatly in a
15672         new variable eos_rtime so we can properly sync the EOS event.
15673         Fixes #340697.
15674         Fix the docs for gst_base_sink_set_qos_enabled().
15675         Don't set segment start to invalid value when we receive a 
15676         non TIME newsegment.
15677         get closer to handling position reporting for negative rates 
15678         correctly.
15679
15680 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15681
15682         * gst/gstcaps.c:
15683         Docs about how to print caps for debug purposes.
15684
15685         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15686         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15687
15688 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15689
15690         * gst/gstelement.c:
15691           use full enum names and preprend a '%' in docs strings to make recent 
15692           gtk-doc turn that into a link
15693
15694 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15695
15696         * docs/manual/basics-bins.xml:
15697         * docs/manual/basics-bus.xml:
15698         * docs/manual/basics-pads.xml:
15699           Some typo fixes, some additions, some clarifications. 
15700
15701 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15702
15703         * tools/gst-inspect.c: (main):
15704         * tools/gst-launch.c: (main):
15705         * tools/gst-run.c: (main):
15706         * tools/gst-typefind.c: (main):
15707         * tools/gst-xmlinspect.c: (main):
15708           Use the string passed to g_option_context_new() for
15709           what it's intended for - the program name is already
15710           printed elsewhere.
15711
15712 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15713
15714         * tools/Makefile.am:
15715         * tools/gst-inspect.c: (main):
15716         * tools/gst-launch.c: (main):
15717         * tools/gst-xmlinspect.c: (main):
15718         * tools/tools.h:
15719           Add back --version command line option (#340460).
15720
15721         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15722           Add --version option and use GOption for argument parsing; refactor a
15723           bit; accept directories as arguments and recurse into them; lastly,
15724           print a decent error message when things go wrong.
15725
15726 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15727
15728         * docs/manual/basics-bins.xml:
15729         Don't mention GstThread (#340611)
15730         * docs/manual/basics-elements.xml:
15731         Update link to GObject tutorial (#340607)
15732         
15733 2006-05-05  Wim Taymans  <wim@fluendo.com>
15734
15735         * gst/gstbuffer.h:
15736         * gst/gstminiobject.c:
15737         Add note about refcounting and miniobject/buffer writeability
15738         to docs. Fixes #340604
15739
15740         * gst/gstelementfactory.h:
15741         Added some explanation about @klass.
15742
15743 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15744
15745         * docs/manual/intro-motivation.xml:
15746         * docs/manual/manual.xml:
15747         Avoid CORBA & Bonobo references (#340598)
15748
15749 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15750
15751         * docs/manual/basics-bus.xml:
15752         * docs/manual/basics-pads.xml:
15753         Fix up some inaccuracies and omissions (#340609)
15754         
15755 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15756
15757         * gst/gstghostpad.c:
15758           Small typo in docs (#340625)
15759
15760 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15761
15762         * gst/parse/Makefile.am:
15763           Make 'make -j' proof (see #340698).
15764
15765 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15766
15767         * configure.ac:
15768           Require GLib-2.8 here as well.
15769
15770 2006-05-05  Wim Taymans  <wim@fluendo.com>
15771
15772         * gst/glib-compat.c:
15773         * gst/gst.c: (init_pre):
15774         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15775         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15776         (gst_object_dispatch_properties_changed):
15777         * gst/gstobject.h:
15778         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15779         * gst/gststructure.c: (gst_structure_set_valist):
15780         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15781         Remove pre glib2.8 compatibility, fixes #340508
15782
15783 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15784
15785         * gst/gsttaglist.h:
15786           Mention type of tags in doc blurbs.
15787
15788 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15789
15790         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15791         (gst_pad_configure_src), (gst_pad_push):
15792         Restore acceptcaps checking behaviour now that good plugins have
15793         been released.
15794
15795 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15796
15797         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15798
15799         * gst/gst.c:
15800         * gst/gstbus.c:
15801         * gst/gstclock.c:
15802         * gst/gstevent.c:
15803         * gst/gstformat.c:
15804         * gst/gstmessage.c:
15805         * gst/gstparse.c:
15806         * gst/gstquery.c:
15807         * gst/gstutils.c:
15808         * gst/parse/Makefile.am:
15809         * libs/gst/base/gstadapter.c:
15810         * libs/gst/base/gstbasesrc.c:
15811         * libs/gst/base/gstpushsrc.c:
15812         * libs/gst/base/gsttypefindhelper.c:
15813         * plugins/elements/gstfakesrc.c:
15814         * plugins/elements/gstidentity.c:
15815           Make sure gstprivate.h and/or config.h are
15816           always included first, otherwise some of our
15817           defines (like _FILE_OFFSET_BITS) might be
15818           redefined in the system headers. Fixes build
15819           on opensolaris (#340016).
15820
15821 2006-05-04  Wim Taymans  <wim@fluendo.com>
15822
15823         * docs/libs/gstreamer-libs-sections.txt:
15824         API: addition: gst_adapter_take_buffer()
15825         
15826         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15827         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15828         (gst_adapter_available_fast):
15829         * libs/gst/base/gstadapter.h:
15830         Prepare for optimizing the hell out of this hugely inefficient
15831         piece of code. 
15832         Added gst_adapter_take_buffer() so we can at least start thinking
15833         about subbuffering and merging.
15834         Added some comments.
15835
15836         * tests/check/Makefile.am:
15837         * tests/check/libs/adapter.c: (GST_START_TEST),
15838         (gst_adapter_suite), (main):
15839         Added GstAdapter check.
15840
15841 2006-05-04  Wim Taymans  <wim@fluendo.com>
15842
15843         * docs/design/part-overview.txt:
15844         Fix some typos, add blurb about buffer flags.
15845
15846 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15847
15848         * docs/libs/gstreamer-libs-sections.txt:
15849           make sure GstBaseTransformClass shows up in the docs
15850         * libs/gst/base/gstbasetransform.c:
15851         * libs/gst/base/gstbasetransform.h:
15852           move docs so gtk-doc picks it up now
15853
15854 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15855
15856         * docs/libs/gstreamer-libs-sections.txt:
15857           add missing symbols to docs
15858
15859 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15860
15861         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15862           back out the newsegment handling change, see #340060 for ongoing
15863           discussion
15864
15865 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15866
15867         * tools/gst-run.c: (get_candidates), (main):
15868           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15869           work); fix typo in error message. Fixes #340079.
15870
15871 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15872
15873         * common/Makefile.am:
15874         * docs/Makefile.am:
15875         * docs/faq/Makefile.am:
15876         * docs/gst/Makefile.am:
15877         * docs/libs/Makefile.am:
15878         * docs/manual/Makefile.am:
15879         * docs/plugins/Makefile.am:
15880         * docs/pwg/Makefile.am:
15881         * docs/slides/Makefile.am:
15882         * docs/upload.mak:
15883         * common/upload.mak:
15884           move upload.mak to common
15885
15886 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15887
15888         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15889           add more asserts on refcounts
15890           do more cleanup at end of tests
15891           fix test leaks showing in FC5
15892
15893 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15894
15895         * plugins/elements/gsttypefindelement.c:
15896         (gst_type_find_element_handle_event):
15897         reverted wrong change and reflowed code to avoid others falling into
15898         this trap
15899
15900 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15901
15902         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15903           fix changelog entry about last collectpads change,
15904           add notes about proper fix
15905
15906 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15907
15908         * gst/gst.c:
15909         * gst/gstregistry.c: (gst_registry_scan_path_level),
15910         (gst_registry_scan_path):
15911         * gst/gstregistry.h:
15912           only write out registry if it has changed, fixes #338339
15913
15914 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15915
15916         * gst/gstbin.c:
15917         * gst/gstpipeline.c:
15918         * plugins/elements/gstcapsfilter.c:
15919         * plugins/elements/gstfakesink.c:
15920         * plugins/elements/gstfakesrc.c:
15921         * plugins/elements/gstfdsink.c:
15922         * plugins/elements/gstfdsrc.c:
15923         * plugins/elements/gstfilesink.c:
15924         * plugins/elements/gstfilesrc.c:
15925         * plugins/elements/gstidentity.c:
15926         * plugins/elements/gstqueue.c:
15927         * plugins/elements/gsttee.c:
15928         * plugins/elements/gsttypefindelement.c:
15929         (gst_type_find_element_handle_event):
15930           make GstElementDetails const
15931
15932 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15933
15934         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15935         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15936         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15937           more detailed debug and formatting cleanup,
15938           forward newsegments to src-pad (so that e.g. adder not eats them)
15939
15940 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15941
15942         * gst/gstutils.c: (gst_element_link_pads):
15943           cleanup double code
15944
15945 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15946
15947         * libs/gst/controller/gstcontroller.c:
15948         (gst_controller_sync_values):
15949           some little tuning
15950         * tests/check/libs/controller.c: (GST_START_TEST),
15951         (gst_controller_suite):
15952           a new test for live value handling
15953
15954 2006-04-28  Wim Taymans  <wim@fluendo.com>
15955
15956         * gst/gstutils.c: (push_and_ref):
15957         Added some more docs.
15958         Fix refcount issue whith gst_element_found_tags() helper 
15959         function. Fixes #338335
15960
15961         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15962         Added testsuite for gst_element_found_tags().
15963
15964 2006-04-28  Michael Smith  <msmith@fluendo.com>
15965
15966         * gst/gstvalue.c: (gst_value_serialize_flags):
15967           Avoid NULL dereference when trying to serialize flags containing
15968           invalid values.
15969
15970 2006-04-28  Michael Smith  <msmith@fluendo.com>
15971
15972         * plugins/elements/gsttypefindelement.c:
15973         (gst_type_find_element_handle_event):
15974           If we get EOS before any data is accumulated, don't use
15975           uninitialised local variables.
15976
15977 2006-04-28  Michael Smith  <msmith@fluendo.com>
15978
15979         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15980         (gst_dp_event_from_packet):
15981           Fixes in reading/writing events over GDP (not currently used?) - 
15982           dereferencing NULL events for unknown/invalid event types, memory
15983           leak, and change g_warning to GST_WARNING.
15984
15985 2006-04-28  Wim Taymans  <wim@fluendo.com>
15986
15987         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15988         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15989         (gst_base_sink_get_position), (gst_base_sink_change_state):
15990         When frame dropping is enabled, we should not ignore frames
15991         without a duration.
15992         Update some documentation.
15993
15994 2006-04-28  Wim Taymans  <wim@fluendo.com>
15995
15996         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15997         (gst_base_src_send_event), (gst_base_src_change_state):
15998         Documentation updates.
15999
16000 2006-04-28  Wim Taymans  <wim@fluendo.com>
16001
16002         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
16003         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
16004         handle EAGAIN, EINTR and short writes correctly. Also clean
16005         up some error cases, avoid a deadlock on bad file descriptors and
16006         use GST_DEBUG_OBJECT.
16007         Fixes #339843
16008
16009 2006-04-28  Wim Taymans  <wim@fluendo.com>
16010
16011         * gst/gstvalue.c: (gst_value_serialize_buffer),
16012         (gst_value_deserialize_buffer):
16013         Don't try to serialize a GValue with a NULL buffer. 
16014         Fixes #339821.
16015
16016         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16017         Added check for serialisation of NULL buffers.
16018
16019 2006-04-28  Wim Taymans  <wim@fluendo.com>
16020
16021         * gst/gstminiobject.c: (gst_value_take_mini_object):
16022         Taking a NULL miniobject is valid, fix the case where
16023         we try to unref the NULL miniobject.
16024
16025 2006-04-28  Wim Taymans  <wim@fluendo.com>
16026
16027         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
16028
16029         * gst/gstbin.c: (gst_bin_handle_message_func):
16030         Update docs.
16031         Don't leak bin refcount when a state recalc is
16032         in progress and we delay another one #339808.
16033
16034 2006-04-28  Wim Taymans  <wim@fluendo.com>
16035
16036         * docs/design/part-TODO.txt:
16037         Mention QoS as an ongoing work item.
16038
16039         * docs/design/part-buffering.txt:
16040         New doc about buffering that needs to be fleshed out
16041         at some point.
16042
16043         * docs/design/part-qos.txt:
16044         More QoS policy for decoders/demuxers/transforms
16045
16046         * docs/design/part-trickmodes.txt:
16047         Small update.
16048
16049 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16050
16051         * configure.ac:
16052           back to HEAD
16053
16054 === release 0.10.5 ===
16055
16056 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
16057
16058         * configure.ac:
16059           releasing 0.10.5, "Fogo"
16060
16061 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16062
16063         patch by: Wim Taymans
16064
16065         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
16066         (gst_pad_configure_src), (gst_pad_push):
16067         * gst/gstpipeline.c: (gst_pipeline_init):
16068           Fix internal data flow errors.  Fixes #338711.
16069
16070 2006-04-12  Wim Taymans  <wim@fluendo.com>
16071
16072         * tests/check/gst/gstelement.c: (GST_START_TEST):
16073         Don't leak the factory.
16074
16075 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16076
16077         * configure.ac:
16078         * win32/common/config.h:
16079           prerelease
16080
16081 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
16082
16083         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16084         (gst_controller_unset_all):
16085           Free allocated GstTimedValues when freeing list nodes.
16086           Should fix leaks 'make check-valgrind' complains about.
16087
16088         * win32/common/libgstcontroller.def:
16089           Add gst_controller_unset_all.
16090
16091 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
16092
16093         * docs/libs/gstreamer-libs-sections.txt:
16094         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16095         (gst_controller_unset_all):
16096         * libs/gst/controller/gstcontroller.h:
16097         API: Added new method gst_controller_unset_all()
16098         fixed gst_controller_unset()
16099         * tests/check/libs/controller.c: (GST_START_TEST),
16100         (gst_controller_suite):
16101         Added two testcases for new and fixed method
16102
16103 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
16104
16105         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
16106           MSG_DONTWAIT is not defined on Cygwin, so work
16107           around that (fixes #317048).
16108           
16109 2006-04-11  Wim Taymans  <wim@fluendo.com>
16110
16111         * gst/gstelementfactory.c: (gst_element_register),
16112         (gst_element_factory_create), (gst_element_factory_make):
16113         Some cleanups.
16114         Fixed a FIXME.
16115         Updated docs (Fixes #131079)
16116
16117         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16118         Small cleanups.
16119
16120         * tests/check/gst/gstelement.c: (GST_START_TEST),
16121         (gst_element_suite):
16122         Added testcase for elementfactory class field.
16123
16124 2006-04-10  Wim Taymans  <wim@fluendo.com>
16125
16126         * gst/gstsegment.c:
16127         Added some more docs.
16128
16129         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
16130         (gst_base_sink_reset_qos):
16131         Calculate more accurate rate values.
16132
16133 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
16134
16135         * gst/gst_private.h:
16136           add a new #ifdef to use __declspec(dllimport) only for
16137           other modules and not for gstreamer core
16138         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
16139           use gst_guint64_to_gdouble for conversion
16140         * win32/common/libgstreamer.def:
16141           add new exported functions
16142         * win32/vs6/gst_inspect.dsp:
16143         * win32/vs6/gst_launch.dsp:
16144         * win32/vs6/libgstbase.dsp:
16145         * win32/vs6/libgstcontroller.dsp:
16146         * win32/vs6/libgstcoreelements.dsp:
16147         * win32/vs6/libgstdataprotocol.dsp:
16148         * win32/vs6/libgstnet.dsp:
16149           update project files
16150
16151 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16152
16153         * gst/gstbuffer.c: (gst_subbuffer_class_init):
16154         * gst/gstclock.c: (gst_clock_class_init):
16155         * gst/gstelement.c: (gst_element_class_init):
16156         * gst/gstindex.c: (gst_index_class_init):
16157         * gst/gstindexfactory.c: (gst_index_factory_class_init):
16158         * gst/gstobject.c: (gst_object_class_init),
16159         (gst_signal_object_class_init):
16160         * gst/gstpad.c: (gst_pad_class_init):
16161         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16162         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16163         * gst/gstregistry.c: (gst_registry_class_init):
16164         * gst/gstsystemclock.c: (gst_system_clock_class_init):
16165         * gst/gsttask.c: (gst_task_class_init):
16166         * gst/gstxml.c: (gst_xml_class_init):
16167         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16168         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16169         (gst_base_src_loop):
16170         * libs/gst/controller/gstcontroller.c:/
16171         (_gst_controller_class_init):
16172         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16173         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16174         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16175         * tests/old/examples/plugins/example.c: (gst_example_class_init):
16176         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16177         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16178
16179 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
16180
16181         * gst/gstpad.c: (gst_pad_link):
16182           Must set peer pads before calling the link function, otherwise
16183           a task started from a link function might get a flow-not-linked
16184           result when trying to push because the other thread where the
16185           linking happens hasn't had a chance to set the peers yet. This
16186           might happen for example when a queue gets linked to a downstream
16187           element, as queue starts a streaming task when its source pad
16188           gets linked. Happens in real life when playing back flac/musepack
16189           files in playbin (#332390).
16190           
16191 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16192
16193         * gst/gstindex.h:
16194         * gst/gstxml.h:
16195         * libs/gst/base/gstadapter.h:
16196         * libs/gst/base/gstbasesink.h:
16197         * libs/gst/base/gstbasesrc.h:
16198         * libs/gst/base/gstbasetransform.h:
16199         * libs/gst/base/gstcollectpads.h:
16200         * libs/gst/base/gstpushsrc.h:
16201         Fix broken GObject macros
16202
16203 2006-04-07  Wim Taymans  <wim@fluendo.com>
16204
16205         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16206         Initialize start and stop times, thanks valgrind.
16207
16208 2006-04-07  Wim Taymans  <wim@fluendo.com>
16209
16210         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16211         Be a bit nicer to badly behaving upstream elements that expect
16212         us to deal with non TIME segments and timestamps (such as fakesrc
16213         in the testsuite).
16214
16215 2006-04-07  Wim Taymans  <wim@fluendo.com>
16216
16217         * gst/gstbus.c:
16218         Small documentation clarification about the signal watch.
16219
16220         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16221         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16222         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16223         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16224         (gst_base_sink_get_position_last),
16225         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16226         Convert and store timestamps in stream time and running time, the
16227         raw timestamps are not useful, also document this better.
16228         Use different window sizes for good and bad QoS observations so
16229         we react to badness a little quicker.
16230         Keep track of the amount of rendered and dropped buffers.
16231         Send QoS timestamps in running time.
16232
16233         * libs/gst/base/gstbasetransform.c:
16234         (gst_base_transform_sink_eventfunc),
16235         (gst_base_transform_handle_buffer):
16236         Compare QoS timestamps against running time.
16237
16238 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16239
16240         * gst/gstpad.c:
16241           Typo fixes in docs.
16242
16243 2006-04-06  Michael Smith  <msmith@fluendo.com>
16244
16245         * gst/gstpad.c: (gst_pad_set_property):
16246           Use g_value_get_object() instead of g_value_dup_gst_object(),
16247           to avoid double-reffing the pad template (which we then sink,
16248           so this worked previously if (and only if) the pad template
16249           was floating.
16250
16251         * gst/gstpadtemplate.c: (gst_pad_template_init),
16252         (gst_pad_template_pad_created):
16253           Never return floating references to pad templates, create
16254           them as initially-sunken.
16255
16256           Document an extra function (and make this stop sinking our
16257           pad template, since that is now guaranteed to do nothing,
16258           since we created it sunken).
16259
16260         * gst/gstghostpad.c:
16261           Fix docs typo.
16262
16263 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16264
16265         * gst/gstinfo.c: (__gst_in_valgrind):
16266           Add some newlines.
16267
16268         * plugins/elements/gsttypefindelement.c:
16269         (gst_type_find_element_chain):
16270           Don't leak buffer caps.
16271
16272 2006-04-06  Michael Smith  <msmith@fluendo.com>
16273
16274         * gst/parse/grammar.y:
16275           Fix a leak in parse-launch for any source-or-sink named element 
16276           references used.
16277
16278         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16279           Unref the pipeline if it exists after we've failed parsing.
16280
16281 2006-04-05  Michael Smith  <msmith@fluendo.com>
16282
16283         * gst/gstpipeline.c: (gst_pipeline_init):
16284           When we create a pipeline bus, initially create it in flushing mode.
16285           Fixes leaks in at least one test, and makes a new pipeline work the
16286           same as one that has gone to READY and then back to NULL.
16287
16288         * gst/gstelement.c:
16289           Typo fix in docs.
16290
16291 2006-04-05  Michael Smith  <msmith@fluendo.com>
16292
16293         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16294           Unref a pad we reffed.
16295         * tests/check/gst/gstutils.c: (GST_START_TEST):
16296           Unref bins
16297
16298 2006-04-05  Michael Smith  <msmith@fluendo.com>
16299
16300         * gst/gstquery.c: (gst_query_set_formats),
16301         (gst_query_set_formatsv):
16302           Fix leaking GValues in queries, as shown by valgrind/testsuite.
16303
16304 2006-04-05  Michael Smith  <msmith@fluendo.com>
16305
16306         * tests/check/generic/sinks.c: (GST_START_TEST):
16307           Fix a variety of memleaks in sinks check, which are only sometimes 
16308           shown by running the tests under valgrind (weird?).
16309
16310 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
16311
16312         * docs/version.entities.in:
16313           Fix the substituted entity name after thomas' changes on the
16314           weekend.
16315
16316 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
16317
16318         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16319         VALGRIND_PRINTF
16320         
16321 2006-04-05  Andy Wingo  <wingo@pobox.com>
16322
16323         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16324
16325         * libs/gst/base/gstbasetransform.c
16326         (gst_base_transform_sink_eventfunc): When resetting our segment on
16327         FLUSH_STOP, also update the flag saying we haven't seen a
16328         newsegment.
16329
16330 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16331
16332         Patch by: Paolo Borelli  <pborelli at katamail dot com>
16333
16334         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16335         (gst_plugin_check_license):
16336           minor clean-ups: G_DEFINE_TYPE already takes care of the
16337           parent_class stuff, no need to do it twice. Mark array of
16338           license strings as constant. (#337103)
16339           
16340 2006-04-04  Michael Smith  <msmith@fluendo.com>
16341
16342         * tools/gst-inspect.c: (print_element_list):
16343           Free the right plugin list; fixes a memory leak.
16344
16345 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16346
16347         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
16348
16349         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16350           Don't error out on empty buffers (#336945).
16351           
16352 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
16353
16354         * docs/libs/gstreamer-libs-sections.txt:
16355         * gst/gsttaglist.c:
16356         * libs/gst/base/gstbasesink.c:
16357         * libs/gst/base/gstbasesink.h:
16358         * libs/gst/base/gstbasesrc.c:
16359         * libs/gst/base/gstbasesrc.h:
16360           Documentation updates. Make BaseSink and BaseSrc docs contain the
16361           class structure so that people can actually see the prototypes for
16362           virtual functions they're supposed to be overriding.
16363
16364 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16365
16366         * plugins/elements/gsttypefindelement.c:
16367         (gst_type_find_element_chain):
16368           More debug info; when skipping typefinding, send cached
16369           events in all cases.
16370
16371 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16372
16373         * configure.ac:
16374           use new AS_VERSION and AS_NANO macros
16375         * gst/gst-i18n-lib.h:
16376         * gst/gst.c:
16377         * gst/gsterror.c:
16378         * gst/gstversion.h.in:
16379         * win32/common/config.h:
16380         * win32/common/config.h.in:
16381           update accordingly
16382
16383 2006-03-31  Michael Smith  <msmith@fluendo.com>
16384
16385         * plugins/elements/gsttypefindelement.c:
16386         (gst_type_find_element_chain):
16387           Do not typefind content if the buffers already have caps.
16388           Neccesary for icydemux (#333657), and the right thing to do anyway.
16389
16390 2006-03-30  Wim Taymans  <wim@fluendo.com>
16391
16392         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16393         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16394         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16395         (gst_base_sink_record_qos_observation),
16396         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16397         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16398         (gst_base_sink_change_state):
16399         More QoS measurements as described in the design doc.
16400         Get rid of ringbuffer with observations, running average is
16401         more simple and equally good.
16402         Calculates valid proportion now.
16403         Added beginning of flood measurement.
16404
16405 2006-03-29  Wim Taymans  <wim@fluendo.com>
16406
16407         * docs/design/part-qos.txt:
16408         * gst/gstclock.c:
16409         Small documentation updates and additions.
16410
16411 2006-03-29  Wim Taymans  <wim@fluendo.com>
16412
16413         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16414         (gst_base_src_send_event), (gst_base_src_loop),
16415         (gst_base_src_change_state):
16416         Perform the EOS logic when we reach the segment stop position.
16417         Fix compilation on gcc4.1
16418
16419 2006-03-29  Wim Taymans  <wim@fluendo.com>
16420
16421         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16422
16423         * plugins/elements/gstqueue.c: (gst_queue_init),
16424         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16425         (gst_queue_set_property):
16426         * plugins/elements/gstqueue.h:
16427         In queue, when EOS is received, if minimum threshold > max_size -
16428         current_level, there is chance that queue blocks forever in conditional
16429         item del wait. This is because the queue is not emptied completely due
16430         to minimum threshold.  Here is another approach. Instead of setting
16431         cur_levels to max in EOS, just zero all minimum threshold levels. This
16432         should make sure that queue gives out all data. When going to READY
16433         (stop) state, just reset the original minimum threshold levels.
16434         Fixes #336336.
16435
16436 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16437
16438         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16439         (gst_type_find_element_handle_event),
16440         (gst_type_find_element_send_cached_events),
16441         (gst_type_find_element_change_state):
16442         * plugins/elements/gsttypefindelement.h:
16443           When typefinding is done in push mode, we should cache
16444           events we receive during typefinding instead of just
16445           dropping them (e.g. newsegment, custom events from
16446           dvdreadsrc etc.) and then send them out once we've
16447           determined the type of the stream (and decodebin
16448           has had a chance to plug in a decoder/demuxer).
16449           
16450 2006-03-27  Wim Taymans  <wim@fluendo.com>
16451
16452         * docs/design/part-qos.txt:
16453         First QoS ideas.
16454
16455 2006-03-27  Wim Taymans  <wim@fluendo.com>
16456
16457         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16458
16459         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16460         (gst_base_src_send_event), (gst_base_src_change_state):
16461         Handle element seek correctly when we are streaming.
16462         Fixes #326998.
16463
16464 2006-03-24  Michael Smith  <msmith@fluendo.com>
16465
16466         * docs/faq/gst-uninstalled:
16467           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16468           allow you to correctly run intalled applications built against old 
16469           core, using plugins that require updated core (e.g. running
16470           installed totem against a full uninstalled gstreamer stack)
16471
16472 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16473
16474         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16475         more debug details
16476
16477 2006-03-24  Wim Taymans  <wim@fluendo.com>
16478
16479         * docs/gst/gstreamer-sections.txt:
16480         Rearrange the order of the methods so that related methods
16481         are grouped together in sections.
16482
16483 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16484
16485         * gst/gstelement.c:
16486           Little clarification in the docs
16487
16488 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16489
16490         * docs/README:
16491         formatting fix
16492         * plugins/elements/gstidentity.c:
16493         * plugins/elements/gstqueue.c:
16494         * plugins/elements/gsttee.c:
16495         * plugins/elements/gsttypefindelement.c:
16496         GST_ELEMENT_DETAILS formatting
16497
16498 2006-03-24  Wim Taymans  <wim@fluendo.com>
16499
16500         * libs/gst/base/gstbasesink.h:
16501         Only add fields, not insert or we break ABI.
16502
16503 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16504
16505         * win32/common/libgstbase.def:
16506         * win32/common/libgstreamer.def:
16507           Update, add recently added functions.
16508
16509 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16510
16511         * docs/gst/gstreamer-sections.txt:
16512         * gst/gstutils.c: (gst_pad_query_peer_position),
16513         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16514         * gst/gstutils.h:
16515           API: add some new utility functions:
16516            - gst_pad_query_peer_position()
16517            - gst_pad_query_peer_duration()
16518            - gst_pad_query_peer_convert()
16519           
16520 2006-03-23  Wim Taymans  <wim@fluendo.com>
16521
16522         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16523         (gst_base_sink_init), (gst_base_sink_finalize),
16524         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16525         (gst_base_sink_set_property), (gst_base_sink_get_property),
16526         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16527         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16528         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16529         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16530         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16531         (gst_base_sink_preroll_object), (gst_base_sink_event),
16532         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16533         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16534         (gst_base_sink_query), (gst_base_sink_change_state):
16535         Decouple max-lateness and the fact that QoS messages are generated
16536         with a new property (qos).
16537         added API: GstBaseSink::async_play()
16538         Add vmethod so subclasses can be notified of ASYNC playing
16539         state changes.
16540         Collect timestamp start and stop to report better current
16541         position in EOS/PLAYING/PAUSED/READY/NULL.
16542         Refactor QoS/frame dropping and other measurements.
16543         API: GstBaseSrc::qos
16544         Fixes #326311
16545
16546         * libs/gst/base/gstbasesink.h:
16547         Added Private struct.
16548         API: gst_base_sink_set_qos_enabled()
16549         API: gst_base_sink_is_qos_enabled()
16550
16551 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16552
16553         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16554           If compiling against GLib-2.8 or newer, try to read the
16555           registry file using GMappedFile first before falling back
16556           to fopen() + fread() (#332151).
16557
16558 2006-03-22  Wim Taymans  <wim@fluendo.com>
16559
16560         * gst/gstinfo.c: (gst_debug_set_active),
16561         (gst_debug_category_set_threshold):
16562         Disable debugging unless explicitly activated.
16563         Fixes #335480.
16564
16565 2006-03-22  Wim Taymans  <wim@fluendo.com>
16566
16567         * gst/gstelement.c: (gst_element_set_locked_state),
16568         (gst_element_dispose):
16569         Cleanup the error case.
16570
16571         * gst/gstobject.c: (gst_object_dispose):
16572         print a critical when some object was disposed with
16573         a parent, also revive the object since it might
16574         crash the parent.
16575
16576 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16577
16578         * tools/gst-launch.1.in:
16579           Fix another typo.
16580
16581 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16582
16583         * configure.ac:
16584         * tests/check/Makefile.am:
16585           disable some tests when we don't have a registry
16586         * tests/check/gst/gstutils.c: (gst_utils_suite):
16587           don't build the part that needs parsing
16588
16589 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16590
16591         * gst/Makefile.am
16592         * tests/examples/Makefile.am:
16593           fix --disable-parse build
16594
16595 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16596
16597         * tools/gst-feedback.1.in:
16598           Fix typo: s/feeback/feedback/ (#133494).
16599
16600 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16601
16602         * tools/Makefile.am:
16603         * tools/gst-launch.1.in:
16604           Add FILES section and correct entry about GST_REGISTRY_PATH
16605           environment variable (#133495; #133494).
16606
16607 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16608
16609         * tools/Makefile.am:
16610         * tools/gst-md5sum.1.in:
16611         * tools/gst-md5sum.c:
16612           Remove gst-md5sum and man page (the md5sink element
16613           required was removed ages ago)
16614
16615 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16616
16617         * gst/gststructure.c: (gst_structure_id_set_value):
16618           Make sure that string fields in structures/taglists
16619           contain valid UTF-8 - we don't want to pass rubbish to
16620           applications because of a buggy plugin (cp. #334167).
16621
16622 2006-03-21  Edward Hervey  <edward@fluendo.com>
16623
16624         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16625         (gst_bin_handle_message_func):
16626         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16627         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16628         (gst_element_set_bus_func):
16629         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16630         * gst/gstminiobject.c: (gst_value_set_mini_object),
16631         (gst_value_take_mini_object):
16632         * gst/gstpad.c: (gst_pad_set_pad_template):
16633         * gst/gstpipeline.c: (gst_pipeline_dispose),
16634         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16635         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16636         (gst_collect_pads_chain):
16637         * libs/gst/net/gstnettimeprovider.c:
16638         (gst_net_time_provider_set_property):
16639         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16640         It's in fact all issues with gst_*object_replace().
16641
16642 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16643
16644         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16645         
16646         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16647         * pkgconfig/gstreamer-check.pc.in:
16648           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16649
16650 2006-03-21  Edward Hervey  <edward@fluendo.com>
16651
16652         * gst/gstbuffer.h:
16653         * gst/gstevent.h:
16654         * gst/gstmessage.h:
16655         gst_[buffer|event|message]_ref() macros are replaced by a static
16656         inline functions because gcc-4.1 will about if the return value
16657         isn't used.
16658         * tests/check/gst/gstevent.c: (event_probe):
16659         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16660
16661 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16662
16663         * gst/gstutils.h:
16664         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16665         the type' case. (Closes: #335195 for now). In the future, when we
16666         depend on GLib 2.10, we could also intern the type name using
16667         g_intern_static_string()
16668
16669 2006-03-20  Wim Taymans  <wim@fluendo.com>
16670
16671         * gst/gstbin.c: (gst_bin_handle_message_func),
16672         (bin_query_max_init), (bin_query_position_fold),
16673         (bin_query_position_done), (gst_bin_query):
16674         Position query should also take max of all streams.
16675
16676 2006-03-20  Wim Taymans  <wim@fluendo.com>
16677
16678         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16679         (gst_fake_src_finalize):
16680         Fix leaks in fakesrc.
16681
16682         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16683         Fix leaks in the testcase.
16684
16685 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16686
16687         * gst/gst_private.h:
16688           add win32 specific import decoration(__declspec(dllimport)) 
16689           for all extern GstDebugCategory * variables
16690         * win32/common/libgstbase.def:
16691         * win32/common/libgstcontroller.def:
16692         * win32/common/libgstreamer.def:
16693           Add some exports, remove empty lines
16694         * win32/common/libgstdataprotocol.def:
16695         * win32/common/libgstdataprotocol.dsp:
16696         * win32/common/libgstnet.def:
16697         * win32/common/libgstnet.dsp:
16698           new project files and exportation files added
16699         
16700 2006-03-19  Wim Taymans  <wim@fluendo.com>
16701
16702         * tests/check/libs/basesrc.c: (eos_event_counter):
16703         Use proper return value for probe.
16704
16705 2006-03-17  Wim Taymans  <wim@fluendo.com>
16706
16707         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16708         (gst_pad_push):
16709         Don't leak buffers, caps and pads on negotiation errors.
16710
16711 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16712
16713         * docs/faq/cvs.xml:
16714         * docs/faq/dependencies.xml:
16715         * docs/faq/developing.xml:
16716         * docs/faq/faq.xml:
16717         * docs/faq/general.xml:
16718         * docs/faq/getting.xml:
16719         * docs/faq/legal.xml:
16720         * docs/faq/troubleshooting.xml:
16721         * docs/faq/using.xml:
16722         Faq review and update.
16723
16724 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16725
16726         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16727         (gst_pad_push):
16728         Don't pound the cpu to pieces by checking get_caps when accept_caps
16729         is called with the same caps as the pad already has.
16730         Use GST_DEBUG_OBJECT when outputting caps change information.
16731
16732 2006-03-15  Wim Taymans  <wim@fluendo.com>
16733
16734         * gst/gstclock.c: (gst_clock_class_init):
16735         Fix docs.
16736
16737 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16738
16739         * gst/gstbuffer.h:
16740         Documentation fix.
16741
16742         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16743         (gst_pad_accept_caps), (gst_pad_configure_sink),
16744         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16745         Make the default acceptcaps behaviour be to check the requested 
16746         caps against the gst_pad_get_caps output. 
16747
16748         Ensure that gst_pad_accept_caps is used to check caps when a pad
16749         doesn't have a setcaps function, so that pads automatically refuse 
16750         caps that they don't allow in their pad template. (Fixes #332986)
16751
16752         When a buffer with attached caps is pushed, ensure that the source 
16753         pad receives those caps even if the element didn't call
16754         gst_pad_set_caps first.
16755
16756 2006-03-15  Wim Taymans  <wim@fluendo.com>
16757
16758         * libs/gst/base/gstadapter.c:
16759         Add some docs.
16760
16761 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16762
16763         * win32/common/libgstbase.def:
16764         * win32/common/libgstcontroller.def:
16765         * win32/common/libgstreamer.def:
16766           Add a whole bunch of missing functions (#334434).
16767
16768 2006-03-14  Wim Taymans  <wim@fluendo.com>
16769
16770         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16771         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16772         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16773         Better debug info when we receive a segment event.
16774         Reorganize a bit so we can pass the get_times() results around.
16775         Use the segment format when calculating the running time.
16776         Don't do QoS is sync is disabled or we have no clock or the
16777         element does not want us to sync to the clock.
16778         Don't drop buffers if QoS is disabled for now.
16779
16780 2006-03-14  Wim Taymans  <wim@fluendo.com>
16781
16782         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16783         Marked the stats property as unimplemented so people don't get
16784         wild ideas.
16785         Add debug message when regression goes wrong.
16786         Added some more docs.
16787
16788 2006-03-14  Wim Taymans  <wim@fluendo.com>
16789
16790         * gst/gstsegment.c: (gst_segment_to_stream_time):
16791         Return correct return type in case of errors.
16792
16793 2006-03-14  Wim Taymans  <wim@fluendo.com>
16794
16795         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16796           Don't segfault on invalid formats.
16797
16798 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16799
16800         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16801           Can't use gst_segment_to_running_time() when the segment
16802           is not in GST_TIME_FORMAT (like with filesink, for example).
16803           Stops flac encoding pipelines from spewing critical warnings
16804           at EOS (#331248).
16805           
16806 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16807
16808         * gst/gstpipeline.c: (gst_pipeline_class_init):
16809           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16810
16811         * plugins/elements/gsttypefindelement.c:
16812         (gst_type_find_element_handle_event):
16813           Don't try to typefind empty streams.
16814
16815 2006-03-14  Wim Taymans  <wim@fluendo.com>
16816
16817         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16818         (gst_base_sink_do_qos):
16819         Separate QoS calculation.
16820         Only drop buffers when lateness is bigger than the 
16821         duration of the buffer.
16822
16823 2006-03-13  Wim Taymans  <wim@fluendo.com>
16824
16825         * gst/gstpipeline.c: (gst_pipeline_set_property),
16826         (gst_pipeline_get_property), (do_pipeline_seek),
16827         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16828         (gst_pipeline_get_delay):
16829         Don't deadlock when reading properties.
16830
16831 2006-03-13  Wim Taymans  <wim@fluendo.com>
16832
16833         * libs/gst/base/gstbasetransform.c:
16834         (gst_base_transform_class_init), (gst_base_transform_init),
16835         (gst_base_transform_sink_event),
16836         (gst_base_transform_sink_eventfunc),
16837         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16838         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16839         (gst_base_transform_set_property),
16840         (gst_base_transform_get_property),
16841         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16842         (gst_base_transform_set_qos_enabled),
16843         (gst_base_transform_is_qos_enabled):
16844         * libs/gst/base/gstbasetransform.h:
16845         Make basetransform virtual method for src events too.
16846         Handle QOS in basetransform.
16847         API: gst_base_transform_update_qos()
16848         API: gst_base_transform_set_qos_enabled()
16849         API: gst_base_transform_is_qos_enabled()
16850
16851 2006-03-13  Wim Taymans  <wim@fluendo.com>
16852
16853         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16854         (gst_base_sink_do_sync):
16855         Small cleanups.
16856         Use QOS debug category.
16857
16858 2006-03-13  Wim Taymans  <wim@fluendo.com>
16859
16860         * plugins/elements/gstqueue.c:
16861         Very small doc update.
16862
16863 2006-03-13  Wim Taymans  <wim@fluendo.com>
16864
16865         * gst/gst_private.h:
16866         * gst/gstinfo.c: (_gst_debug_init):
16867         Added QOS debug category
16868
16869 2006-03-13  Wim Taymans  <wim@fluendo.com>
16870
16871         * docs/gst/gstreamer-sections.txt:
16872         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16873         * gst/gstbin.h:
16874         * gst/gstbus.c: (gst_bus_class_init):
16875         * gst/gstbus.h:
16876         * gst/gstclock.c:
16877         * gst/gstelement.c: (gst_element_set_locked_state):
16878         * gst/gstsegment.c:
16879         Documentation updates.
16880
16881         * gst/gstpipeline.c: (gst_pipeline_get_type),
16882         (gst_pipeline_class_init), (gst_pipeline_init),
16883         (gst_pipeline_dispose), (gst_pipeline_set_property),
16884         (gst_pipeline_get_property), (do_pipeline_seek),
16885         (gst_pipeline_send_event), (gst_pipeline_change_state),
16886         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16887         (gst_pipeline_get_delay):
16888         * gst/gstpipeline.h:
16889         Added methods for setting the delay.
16890         API: gst_pipeline_set_delay()
16891         API: gst_pipeline_get_delay()
16892         Add pipeline debug category
16893         Various cleanups.
16894         Updated docs.
16895         Don't reset stream time when seek failed.
16896
16897 2006-03-13  Wim Taymans  <wim@fluendo.com>
16898
16899         * docs/design/draft-klass.txt:
16900         * docs/design/part-clocks.txt:
16901         * docs/design/part-events.txt:
16902         * docs/design/part-gstbin.txt:
16903         * docs/design/part-gstpipeline.txt:
16904         * docs/design/part-messages.txt:
16905         * docs/design/part-negotiation.txt:
16906         * docs/design/part-overview.txt:
16907         * docs/design/part-preroll.txt:
16908         * docs/design/part-seeking.txt:
16909         * docs/design/part-states.txt:
16910         * docs/design/part-streams.txt:
16911         Documentation updates.
16912
16913 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16914
16915         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16916         us to leak strings...
16917
16918 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16919
16920         * libs/gst/net/gstnettimeprovider.c:
16921           fix docs
16922         * win32/common/config.h:
16923           update
16924
16925 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16926
16927         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16928
16929         * configure.ac:
16930           Don't check for libgnomeui (leftover from old examples
16931           that aren't built or disted any longer) (#334303).
16932           
16933 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16934
16935         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16936         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16937           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16938           there's no space left on the device.
16939
16940 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16941
16942         * gst/gstclock.h:
16943           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16944           to cast the input to GstClockTime before comparing with
16945           another GstClockTime value.
16946
16947 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16948
16949         * configure.ac:
16950           back to trunk
16951
16952 === release 0.10.4 ===
16953
16954 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16955
16956         * configure.ac:
16957           releasing 0.10.4, "Light"
16958
16959 2006-03-10  Michael Smith  <msmith@fluendo.com>
16960
16961         * libs/gst/dataprotocol/dataprotocol.c:
16962           Fix docs for dataprocotol to not get the return types completely
16963           wrong for a few functions.
16964
16965 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16966
16967         * docs/gst/gstreamer-sections.txt:
16968         * gst/gstpipeline.c: (gst_pipeline_class_init),
16969         (gst_pipeline_init), (gst_pipeline_set_property),
16970         (gst_pipeline_get_property), (gst_pipeline_change_state),
16971         (gst_pipeline_set_auto_flush_bus),
16972         (gst_pipeline_get_auto_flush_bus):
16973         * gst/gstpipeline.h:
16974           Add new API: gst_pipeline_set_auto_flush_bus() and
16975           gst_pipeline_get_auto_flush_bus() to disable automatic
16976           flushing of the pipeline's GstBus when going from READY
16977           to NULL state (#332045).
16978
16979 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16980
16981         * docs/gst/gstreamer-sections.txt:
16982         * gst/gsturi.c: (gst_uri_has_protocol):
16983         * gst/gsturi.h:
16984            Add new API: gst_uri_has_protocol() (#333779).
16985
16986 2006-03-09  Wim Taymans  <wim@fluendo.com>
16987
16988         * gst/gstclock.c: (gst_clock_entry_new),
16989         (gst_clock_id_compare_func), (gst_clock_id_wait),
16990         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16991         (gst_clock_init), (gst_clock_get_internal_time),
16992         (gst_clock_set_master), (do_linear_regression),
16993         (gst_clock_add_observation), (gst_clock_set_property):
16994         * gst/gstclock.h:
16995         Review docs.
16996         Small cleanups.
16997         Fix a possible segfault when the window-size is made smaller.
16998         Calculate jitter before performing the clock wait. Ideally
16999         the clock implementation should calculate jitter but we need
17000         API breakage for that.
17001
17002         * gst/gstsystemclock.c: (gst_system_clock_init):
17003         Docs review.
17004         
17005         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17006         Remove leftover else
17007
17008         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
17009         (gst_systemclock_suite):
17010         Added check to test GST_CLOCK_DIFF.
17011
17012 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
17013
17014         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
17015         (gst_type_find_helper_get_range):
17016           If we are provided with the size, we should implement
17017           GstTypeFind::get_length, so that typefind functions who
17018           want to can actually peek at the middle of a file.
17019
17020 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
17021
17022         * docs/manual/advanced-dataaccess.xml:
17023           Add some very very basic error checking.
17024
17025         * docs/pwg/appendix-checklist.xml:
17026           Some updates to the list of things to check when writing an element.
17027
17028 2006-03-08  Wim Taymans  <wim@fluendo.com>
17029
17030         * docs/design/part-element-transform.txt:
17031         Added some docs about the design of tranform elements.
17032
17033         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
17034         (gst_base_src_loop), (gst_base_src_change_state):
17035         Mark buffers with the DISCONT flag.
17036
17037 2006-03-08  Michael Smith  <msmith@fluendo.com>
17038
17039         * gst/gstregistry.h:
17040         * gst/gstregistryxml.c: (gst_registry_save),
17041         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
17042         (gst_registry_xml_save_pad_template),
17043         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
17044         (gst_registry_xml_write_cache):
17045           Rewrite registry-saving to avoid race conditions and check for
17046           failed writes.
17047
17048 2006-03-08  Wim Taymans  <wim@fluendo.com>
17049
17050         * libs/gst/base/gstbasetransform.c:
17051         (gst_base_transform_transform_caps),
17052         (gst_base_transform_transform_size),
17053         (gst_base_transform_prepare_output_buffer),
17054         (gst_base_transform_get_unit_size),
17055         (gst_base_transform_buffer_alloc),
17056         (gst_base_transform_handle_buffer),
17057         (gst_base_transform_change_state):
17058         Cleanups, separate normal flow from errors, add sensible
17059         DEBUG lines.
17060         Don't try to renegotiate when allocating an output buffer.
17061         Also copy DISCONT buffer flag when copying a buffer.
17062         Reset the transform after we finish streaming, not during.
17063
17064 2006-03-08  Wim Taymans  <wim@fluendo.com>
17065
17066         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17067         Use last buffer timestamp in qos message.
17068
17069 2006-03-07  Wim Taymans  <wim@fluendo.com>
17070
17071         Patch by: Christophe Fergeau
17072
17073         * docs/pwg/advanced-tagging.xml:
17074         * docs/pwg/building-pads.xml:
17075           fixes #333416
17076
17077 2006-03-07  Wim Taymans  <wim@fluendo.com>
17078
17079         * docs/libs/gstreamer-libs-sections.txt:
17080         Added basesink new methods.
17081
17082         * gst/gstevent.c:
17083         * gst/gstevent.h:
17084         Docs updates. Flesh out the QoS docs.
17085
17086         * libs/gst/base/gstadapter.c:
17087         Small doc clarification about ownership and flushing.
17088
17089         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
17090         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
17091         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
17092         (gst_base_sink_get_property), (gst_base_sink_do_sync):
17093         * libs/gst/base/gstbasesink.h:
17094         API additions: 
17095         Added new methods to allow subclass to control max-lateness 
17096         and sync.
17097         Generate very basic QoS events based on last sync observation.
17098         Updated docs, fix typo, added some QoS blurb.
17099
17100         * libs/gst/base/gstbasesrc.c:
17101         Remove obsolete _get_state() calls from docs.
17102
17103 2006-03-07  Wim Taymans  <wim@fluendo.com>
17104
17105         * docs/libs/gstreamer-libs-sections.txt:
17106         * libs/gst/base/gstbasetransform.h:
17107         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
17108         Fix docs for GstBaseSrc.
17109
17110 2006-03-07  Wim Taymans  <wim@fluendo.com>
17111
17112         * docs/gst/gstreamer-sections.txt:
17113         * gst/gstbuffer.h:
17114         * gst/gstvalue.c:
17115         * libs/gst/base/gstbasetransform.h:
17116         Small documentation fixes.
17117
17118 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
17119
17120         * gst/gstvalue.c:
17121           Document thread-unsafety of gst_value_register_foo_func()
17122           when used at the same time as gst_value_foo() (#322628).
17123
17124 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
17125
17126         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
17127         (gst_push_src_check_get_range):
17128           Push sources don't support pull mode by default.
17129
17130 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
17131
17132         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17133         (gst_base_src_init), (gst_base_src_pad_check_get_range),
17134         (gst_base_src_default_check_get_range):
17135         * libs/gst/base/gstbasesrc.h:
17136           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
17137           provide default implementation, and rename
17138           gst_base_src_check_get_range() to
17139           gst_base_src_pad_check_get_range() for clarity.
17140
17141 2006-03-06  Wim Taymans  <wim@fluendo.com>
17142
17143         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17144         Make property overridable.
17145
17146 2006-03-06  Wim Taymans  <wim@fluendo.com>
17147
17148         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17149         (gst_base_sink_init), (gst_base_sink_set_property),
17150         (gst_base_sink_get_property), (gst_base_sink_do_sync):
17151         * libs/gst/base/gstbasesink.h:
17152         API addition: Make max-lateness a property.
17153
17154 2006-03-06  Wim Taymans  <wim@fluendo.com>
17155
17156         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17157         (gst_base_sink_do_sync), (gst_base_sink_render_object):
17158         Don't ever draw a frame that is >10ms late.
17159
17160 2006-03-06  Michael Smith  <msmith@fluendo.com>
17161
17162         * gst/gstmessage.c: (_gst_message_copy):
17163           When copying a message, set the parent_refcount of the enclosed
17164           structure to point at the copy, not the original message.
17165
17166 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
17167
17168         Patch by: Christophe Fergeau
17169
17170         * gst/gstutils.h:
17171           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17172           usable in c++ code (#333417)
17173
17174 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17175
17176         * gst/gstclock.h:
17177           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17178
17179 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
17180
17181         * libs/gst/base/gstbasetransform.c:
17182         (gst_base_transform_transform_caps):
17183           Make sure caps are writable before passing them to
17184           gst_caps_append().
17185
17186 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17187
17188         * gst/gsterror.h:
17189           Fix some minor docs errors.
17190
17191 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17192
17193           Patch by: Ross Burton <ross at burtonini dot com>
17194
17195         * gst/gsterror.c: (_gst_resource_errors_init):
17196         * gst/gsterror.h:
17197           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17198
17199 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17200
17201         * gst/gst.c:
17202         Add a check and output a g_warning when GStreamer is built
17203         against GLib 2.6 but running against 2.8 or higher, and vice 
17204         versa. (Closes: #323542)
17205
17206 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17207
17208         * gst/parse/parse.l:
17209           Commit patch for parse_launch syntax from #331255. Removes 
17210           support for quoted strings and mimetypes when writing filtered 
17211           caps. See the bug report for more details - I'm pretty sure this
17212           obscure feature is not in use by _anyone_ anywhere.
17213
17214           With this simple change, the size of the gstreamer.so here 
17215           drops from 2193KB to 1565KB.
17216
17217 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17218
17219         * plugins/elements/gsttypefindelement.h:
17220         * plugins/elements/gsttypefindelement.c:
17221         (gst_type_find_element_src_event), (start_typefinding),
17222         (stop_typefinding), (gst_type_find_element_handle_event),
17223         (gst_type_find_element_chain),
17224         (gst_type_find_element_chain_do_typefinding):
17225           Use gst_type_find_helper_for_buffer() for chain-based
17226           typefinding.
17227
17228 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17229
17230         * plugins/elements/gsttypefindelement.c:
17231         (gst_type_find_element_class_init),
17232         (gst_type_find_element_set_property),
17233         (gst_type_find_element_get_property):
17234           Deprecate "maximum" property (not only was it only taken into
17235           account for typefinding in push-mode anyway, it also was never
17236           actually possible to set it in the first place because the
17237           property was registered with the numeric property ID for the
17238           "minimum" property). Register "maximum" property correctly,
17239           for the sake of future copy'n'pasters. Remove some cruft
17240           from property get/set functions.
17241
17242 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17243
17244         * plugins/elements/gsttypefindelement.c:
17245         (gst_type_find_element_activate):
17246           Use gst_type_find_helper_get_range() here, so we
17247           can honour the "minimum" property and also emit
17248           the signal with the correct probability of the found caps.
17249
17250 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
17251
17252         * docs/libs/gstreamer-libs-sections.txt:
17253         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17254         (helper_find_suggest), (gst_type_find_helper_get_range),
17255         (gst_type_find_helper):
17256         * libs/gst/base/gsttypefindhelper.h:
17257           New API: gst_type_find_helper_get_range() (#333042).
17258
17259 2006-03-02  Michael Smith  <msmith@fluendo.com>
17260
17261         * gst/gstregistryxml.c: (load_feature):
17262           Asserting on a failure to read part of the registry is Not Cool.
17263           Just log a warning and return NULL (which is already handled)
17264
17265 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
17266
17267         * win32/common/libgstbase.def:
17268           added export of gst_type_find_helper_for_buffer
17269         * win32/common/libgstbase.def:
17270           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17271           gst_ghost_pad_get_target
17272
17273 2006-02-28  Wim Taymans  <wim@fluendo.com>
17274
17275         * docs/design/draft-klass.txt:
17276         We use Filter now.
17277         Added Connector to mark elements that are only used to
17278         allow pipeline connections.
17279         Moved Debug to extra feature since most of them are 
17280         functionally something else.
17281
17282 2006-02-28  Wim Taymans  <wim@fluendo.com>
17283
17284         * docs/design/draft-klass.txt:
17285         Some updates and clarifications.
17286
17287 2006-02-28  Wim Taymans  <wim@fluendo.com>
17288
17289         * docs/design/draft-klass.txt:
17290         Proposal for klass field values.
17291
17292         * docs/design/part-streams.txt:
17293         Start of a doc describing stream anatomy.
17294
17295 2006-02-28  Wim Taymans  <wim@fluendo.com>
17296
17297         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17298         Help the compiler a bit with type registration.
17299         Use existing forward cod path instead of duplicating it when 
17300         handling a message.
17301         
17302         * gst/gstbus.c: (gst_bus_get_type):
17303         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17304         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17305         * gst/gstclock.c: (gst_clock_get_type):
17306         * gst/gstelement.c: (gst_element_get_type),
17307         * gst/gstelementfactory.c: (gst_element_factory_get_type):
17308         * gst/gstindexfactory.c: (gst_index_factory_get_type):
17309         * gst/gstminiobject.c: (gst_mini_object_get_type):
17310         * gst/gstpad.c: (gst_pad_get_type):
17311         * gst/gstsegment.c: (gst_segment_get_type):
17312         * gst/gststructure.c: (gst_structure_get_type):
17313         * gst/gstsystemclock.c: (gst_system_clock_get_type):
17314         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17315         * gst/gstvalue.c:
17316         Help compiler with type registration.
17317
17318         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17319         Small doc update.
17320
17321 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17322
17323         * plugins/elements/gsttypefindelement.c:
17324         (gst_type_find_element_handle_event):
17325           When we get an EOS event and have not found a type yet
17326           (most likely because we had not yet accumulated
17327           TYPE_FIND_MIN_SIZE of data yet), try to determine the
17328           type given the data we have so far. Fixes typefinding
17329           for very short streams again, most notably quicktime
17330           redirections as used on Apple's trailer site (#331701).
17331
17332 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17333
17334         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17335         (gst_type_find_helper):
17336           Try typefinding factories with the highest rank first.
17337
17338 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17339
17340         * docs/libs/gstreamer-libs-docs.sgml:
17341         * docs/libs/gstreamer-libs-sections.txt:
17342         * libs/gst/base/gsttypefindhelper.c:
17343           Add section for typefind helper and add documentation
17344           for the old and the new function.
17345
17346 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17347
17348         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17349         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17350         (gst_type_find_helper_for_buffer):
17351         * libs/gst/base/gsttypefindhelper.h:
17352           New API: gst_type_find_helper_for_buffer() (#332723).
17353           
17354 2006-02-27  Michael Smith  <msmith@fluendo.com>
17355
17356         Patch by: Loïc Minier
17357
17358         * configure.ac:
17359         * docs/Makefile.am:
17360         * docs/slides/Makefile.am:
17361           prevent CVS directories getting disted.
17362
17363 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17364
17365         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17366           Use the REFCOUNTING category for caps refcounting.
17367           
17368 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17369
17370         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17371           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17372
17373 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17374
17375         * plugins/elements/gsttypefindelement.c:
17376         (gst_type_find_element_activate):
17377           Use gst_pad_check_pull_range() before _activate_pull()
17378           to avoid unnecessary open/close (see #331690).
17379
17380 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17381
17382         * gst/gstutils.c:
17383           Docs enhancement: make it crystal clear what the
17384           gst_pad_add_*_probe() callbacks should look like.
17385
17386 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17387
17388         * libs/gst/base/gstbasesrc.c:
17389           Document how applications can stop recording from
17390           live sources (see #330996).
17391
17392 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17393
17394         * tests/check/Makefile.am:
17395         * tests/check/libs/basesrc.c: (eos_event_counter),
17396         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17397         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17398         (gst_basesrc_suite), (main):
17399           ... and add some tests for the base source EOS stuff.
17400
17401 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17402
17403         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17404           Test case originally showed the problem fixed below,
17405           but was then amended. Add checks back at the place
17406           where they used to be.
17407
17408 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17409
17410         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17411         (gst_base_src_init), (gst_base_src_loop),
17412         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17413         (gst_base_src_change_state):
17414         * libs/gst/base/gstbasesrc.h:
17415           Don't unconditionally send EOS when going from PAUSED to
17416           READY state, esp. make sure we don't send two EOS events
17417           in some cases (e.g. one when reaching EOS and one when
17418           going from PAUSED to READY). Also, we don't want to send
17419           EOS events when operating in pull mode. However, we do
17420           want to send an EOS event when shutting down a live
17421           source explicitly, for example (fixes #330996).
17422           
17423 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17424
17425         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17426           Update src->read_position after a seek when not using mmap.
17427           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17428
17429 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17430
17431         * gst/Makefile.am:
17432         * gst/gstparse.h:
17433         * gst/gstutils.c:
17434         * gst/gstutils.h:
17435         Make things work with --disable-parse as they do with 
17436         --disable-load-save - the symbols involved disappear, but the
17437         header is still installed and GST_DISABLE_PARSE is included via
17438         gstconfig.h
17439
17440 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17441
17442         * libs/gst/base/gstbasetransform.c:
17443         (gst_base_transform_change_state): Fix a stupid bug. I was 
17444         sure I compiled that.
17445
17446 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17447
17448         * gst/gstpad.c: (gst_pad_set_blocked_async):
17449         * gst/gstutils.c: (gst_pad_add_data_probe),
17450         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17451         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17452         (gst_pad_remove_buffer_probe): Make those function act on the
17453         ghostpad target when it's a ghostpad. (Closes #331727)
17454
17455 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17456
17457         * libs/gst/base/gstbasetransform.c:
17458         (gst_base_transform_change_state): Make basetransform reusable.
17459         (Closes #331898)
17460
17461 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17462
17463         * docs/random/release:
17464         Move the current documentation of how to do a release to the top
17465         of the file.
17466
17467         * gst/gstbin.c: (gst_bin_class_init),
17468         (gst_bin_handle_message_func):
17469         Allow multiple state-recalculation threads. (Closes #328873)
17470
17471 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17472
17473         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17474         * gst/gstpad.c: (gst_pad_set_event_function),
17475         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17476         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17477         2 strings. You can't use the STR_NULL macro on that.
17478
17479 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17480
17481         * gst/gstpad.c: (gst_pad_set_event_function),
17482         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17483         (gst_pad_set_getcaps_function)
17484         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17485           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17486           So now, we can use --gst-debug-level=5 on Windows
17487         * win32/common/libgstcontroller.def:
17488           Added export of gst_controller_init
17489         * win32/vs6/libgstcontroller.dsp:
17490           Fixed Release post build configuration
17491
17492 2006-02-17  Wim Taymans  <wim@fluendo.com>
17493
17494         * tests/check/gst/gstquery.c: (GST_START_TEST):
17495         Added another check.
17496
17497 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17498
17499         * plugins/elements/gsttypefindelement.c: (find_peek):
17500           We can do peeks at non-zero offsets, as long as they
17501           fall within the buffer we have.
17502
17503 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17504
17505         * tests/check/Makefile.am:
17506         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17507         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17508         (parse_suite), (main):
17509           Add testsuite for parse launch syntax
17510
17511 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17512
17513         * plugins/elements/gsttypefindelement.c:
17514         (gst_type_find_element_chain):
17515           When typefinding is unsuccessful in the chain function, don't
17516           error out immediately. Only error out with NO_CAPS_FOUND if
17517           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17518           otherwise simply wait for more data so we can try typefinding
17519           again with more data later. Also, don't attempt to typefind
17520           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17521           this should improve typefinding from network sources where the
17522           size of the first buffer can be somewhat random.
17523
17524 2006-02-14  Wim Taymans  <wim@fluendo.com>
17525
17526         * docs/gst/gstreamer-sections.txt:
17527         * gst/gstpadtemplate.c:
17528         * gst/gstpadtemplate.h:
17529         Fix padtemplate docs, fixes #328805.
17530
17531 2006-02-14  Wim Taymans  <wim@fluendo.com>
17532
17533         * tools/gst-launch.c: (main):
17534         NO_PREROLL is not an ERROR so don't send confusing messages
17535         to the user.
17536
17537 2006-02-14  Wim Taymans  <wim@fluendo.com>
17538
17539         Patch by: Torsten Schoenfeld
17540
17541         * gst/gstregistry.c: (gst_registry_get_default),
17542         (_gst_registry_cleanup):
17543         Protect default registry with lock and ref/sink it.
17544         Fixes #324818
17545
17546 2006-02-14  Wim Taymans  <wim@fluendo.com>
17547
17548         * gst/gstbuffer.c:
17549         * gst/gstquery.c: (gst_query_list_add_format),
17550         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17551         (gst_query_parse_formats_nth):
17552         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17553         Docs fixes.
17554
17555 2006-02-14  Wim Taymans  <wim@fluendo.com>
17556
17557         * docs/gst/gstreamer-sections.txt:
17558         Reworked query docs.
17559
17560         * gst/gstquery.c: (gst_query_new_formats),
17561         (gst_query_list_add_format), (gst_query_set_formats),
17562         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17563         (gst_query_parse_formats_nth):
17564         * gst/gstquery.h:
17565         Flesh out formats query, added some new methods.
17566         Fix part of #324398.
17567
17568         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17569         Added query creation tests.
17570
17571 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17572
17573         * gst/gstpad.c: (fixate_value):
17574         Add a default fixation for fraction lists.
17575
17576 2006-02-13  Wim Taymans  <wim@fluendo.com>
17577
17578         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17579         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17580         (gst_task_join):
17581         * gst/gsttask.h:
17582         Detect and warn for obvious deadlocks. fixes #320340
17583         Fix error case where lock was not released.
17584
17585         * tests/check/Makefile.am:
17586         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17587         (task_func), (gst_element_suite), (main):
17588         Add task check.
17589
17590 2006-02-13  Wim Taymans  <wim@fluendo.com>
17591
17592         * docs/gst/gstreamer-sections.txt:
17593         * gst/gstbus.c:
17594         Add new functions to docs.
17595
17596 2006-02-13  Wim Taymans  <wim@fluendo.com>
17597
17598         * docs/design/part-TODO.txt:
17599         Updated TODO list, basesrc supports seeking to non-bytes
17600         formats.
17601
17602         * docs/design/part-element-sink.txt:
17603         Update docs.
17604
17605         * gst/gstbin.c: (bin_replace_message),
17606         (gst_bin_handle_message_func):
17607         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17608         * gst/gstevent.c: (gst_event_finalize):
17609         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17610         (gst_pad_send_event):
17611         Use shiny new _TYPE_NAME macros.
17612
17613         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17614         Move debug statement up.
17615
17616         * gst/gstelement.c: (gst_element_set_locked_state):
17617         Add some debugging.
17618
17619 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17620
17621         * docs/gst/gstreamer-sections.txt:
17622         * gst/gstmessage.h:
17623         * gst/gstquery.h:
17624           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17625           macros (#330906). Also, document the already existing
17626           GST_QUERY_TYPE macro.
17627
17628 2006-02-13  Wim Taymans  <wim@fluendo.com>
17629
17630         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17631         (event_probe), (GST_START_TEST):
17632         Only events up to the pipeline EOS are counted, there are
17633         some more when going to NULL currently which we don't care
17634         about for now.
17635
17636 2006-02-13  Wim Taymans  <wim@fluendo.com>
17637
17638         * gst/gstpad.c: (gst_pad_send_event):
17639         Correctly check flushing and emit probes. fixes #330125
17640
17641 2006-02-10  Andy Wingo  <wingo@pobox.com>
17642
17643         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17644         structure.
17645         (gst_bus_init): Cache the location of the private data in the
17646         instance structure.
17647         (gst_bus_enable_sync_message_emission) 
17648         (gst_bus_disable_sync_message_emission): Implement new public
17649         functions.
17650         (gst_bus_post): Emit the sync-message signal if the user asked for
17651         it. Fixes #330684.
17652
17653         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17654         location of the bus-private structure.
17655         (gst_bus_enable_sync_message_emission)
17656         (gst_bus_disable_sync_message_emission): API addition
17657
17658 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17659
17660         Patch by: Vincent Torri
17661
17662         * docs/pwg/building-boiler.xml:
17663         PWG patch from #326800
17664
17665 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17666
17667         * configure.ac:
17668         * docs/Makefile.am:
17669         * docs/design/Makefile.am:
17670           Dist design docs.
17671
17672 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17673
17674         * configure.ac:
17675           back to CVS
17676
17677 === release 0.10.3 ===
17678
17679 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17680
17681         * configure.ac:
17682           releasing 0.10.3, "Like a virgin"
17683
17684 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17685
17686         * configure.ac:
17687           2nd prerelease of 0.10.3
17688           Bump libtool versioning.
17689
17690 2006-02-07  Andy Wingo  <wingo@pobox.com>
17691
17692         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17693         update last_stop if we're in TIME format and the timestamp is
17694         valid.
17695
17696         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17697         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17698         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17699         If we get a new newsegment with a different format, adapt
17700         accordingly.
17701
17702         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17703         of 0. Not a problem, really.
17704
17705         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17706         warn if sync=true.
17707
17708 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17709
17710         * configure.ac:
17711           Prelease of 0.10.3
17712
17713 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17714
17715         * win32/vs7:
17716           project files updated to the default vs7 configuration
17717         * win32/common/libgstbase.def:
17718         * win32/common/libgstreamer.def:
17719           added new symbols,
17720           removed empty lines,
17721           sorted all exported symbols alphabetically
17722         * win32/common/dirent.c:
17723         * win32/common/dirent.h:
17724         * win32/common/gchar.h:
17725           use windows line end.
17726           
17727 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17728
17729         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17730           Send EOS event when stopping.
17731
17732 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17733
17734         * docs/README:
17735           Tell folks what to do if the plugin-foobar.xml file
17736           hasn't been generated for a newly-added plugin.
17737
17738 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17739
17740         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17741         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17742         (gst_collect_pads_start), (gst_collect_pads_stop),
17743         (gst_collect_pads_event): Collectpads now holds a reference
17744         to the GstPad that was added. Indeed we don't want to look
17745         at pads that might just go away with no warning...
17746
17747 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17748
17749         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17750         (gst_collect_pads_start), (gst_collect_pads_stop),
17751         (gst_collect_pads_event), (gst_collect_pads_chain):
17752         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17753         Mark Nauwelaerts's patch on bug #328491.
17754
17755 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17756
17757         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17758         (gst_utils_suite):
17759           Add some simple tests for gst_parse_bin_from_description() and
17760           gst_bin_find_unconnected_pad() (#329069).
17761
17762 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17763
17764         * tools/gst-launch.c: (event_loop), (main):
17765           Catch errors during preroll (#320084).
17766
17767 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17768
17769         * plugins/elements/gsttypefindelement.c:
17770         (gst_type_find_element_activate):
17771           Post TYPE_NOT_FOUND error message when typefinding
17772           is unsuccessful in the activate function as well.
17773
17774 2006-02-02  Wim Taymans  <wim@fluendo.com>
17775
17776         * docs/design/part-element-sink.txt:
17777         Updated doc.
17778
17779 2006-02-02  Wim Taymans  <wim@fluendo.com>
17780
17781         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17782         (gst_base_sink_render_object),
17783         (gst_base_sink_queue_object_unlocked):
17784         Only keep track of prerollable items when we are 
17785         prerolling.
17786         Before rendering after preroll, always check if we
17787         have queued items.
17788         Added some more debugging.
17789
17790 2006-02-02  Wim Taymans  <wim@fluendo.com>
17791
17792         * gst/gstelement.c: (gst_element_continue_state),
17793         (gst_element_set_state_func), (gst_element_change_state):
17794         Fixed #326576, been running this for quite some time with
17795         no regressions at all.
17796
17797 2006-02-02  Wim Taymans  <wim@fluendo.com>
17798
17799         * common/gst.supp:
17800         Added more suppressions
17801
17802 2006-02-02  Wim Taymans  <wim@fluendo.com>
17803
17804         * docs/design/part-element-sink.txt:
17805         Updated document.
17806
17807         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17808         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17809         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17810         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17811         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17812         (gst_base_sink_preroll_object),
17813         (gst_base_sink_queue_object_unlocked),
17814         (gst_base_sink_queue_object), (gst_base_sink_event),
17815         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17816         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17817         (gst_base_sink_get_position), (gst_base_sink_change_state):
17818         * libs/gst/base/gstbasesink.h:
17819         Totally refactored matching the design doc.
17820         Use two segments, one to clip incomming buffers and another to
17821         perform sync.
17822         Handle queueing correctly, bypass the queue when playing.
17823         Make EOS cancelable.
17824         Handle errors correctly when operating in pull based mode.
17825
17826         * tests/check/elements/fakesink.c: (GST_START_TEST),
17827         (fakesink_suite):
17828         Added new check for sinks.
17829
17830 2006-02-02  Wim Taymans  <wim@fluendo.com>
17831
17832         * gst/gstsegment.c: (gst_segment_clip):
17833         No reason to refuse to clip when start == -1
17834
17835 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17836
17837         * docs/README:
17838         * docs/manual/intro-basics.xml:
17839         * docs/manual/intro-preface.xml:
17840         * docs/manual/manual.xml:
17841         * docs/pwg/advanced-dparams.xml:
17842         * docs/pwg/intro-basics.xml:
17843         * docs/pwg/intro-preface.xml:
17844         * docs/pwg/pwg.xml:
17845           describe dparams (controller) for plugins
17846           unify docs a little more
17847
17848 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17849
17850         * docs/gst/gstreamer-sections.txt:
17851         * gst/gstutils.c: (element_find_unconnected_pad),
17852         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17853         * gst/gstutils.h:
17854           Add new API: gst_parse_bin_from_description() and
17855           gst_bin_find_unconnected_pad() (#329069).
17856
17857 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17858
17859         * docs/manual/README:
17860           uncover a nasty detail of the docs build
17861
17862 2006-01-31  Wim Taymans  <wim@fluendo.com>
17863
17864         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17865         Don't cache duration messages if we're not going to use or
17866         free them.
17867
17868 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17869
17870         * docs/manual/advanced-dparams.xml:
17871         * docs/pwg/advanced-dparams.xml:
17872           more dparam docs
17873         * gst/gstindex.c:
17874           fix docs
17875         * libs/gst/controller/lib.c: (gst_controller_init):
17876           init just once
17877
17878 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17879
17880         * gst/gstelement.c: (gst_element_message_full):
17881           also show file/line/func if no additional debug was given
17882
17883 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17884         
17885         * win32/vs7/grammar.vcproj:
17886           activate copy of autogenerated files for Release mode
17887
17888 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17889         
17890         * win32/common/libgstreamer.def:
17891           export gst_value_compare
17892
17893 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17894
17895         * plugins/elements/Makefile.am:
17896         * plugins/elements/gstelements.c:
17897         * plugins/elements/gstfdsink.c: (_do_init),
17898         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17899         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17900         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17901         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17902         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17903         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17904         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17905         * plugins/elements/gstfdsink.h:
17906         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17907
17908 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17909
17910         * docs/manual/advanced-dparams.xml:
17911           describe controller
17912         * docs/manual/advanced-position.xml:
17913         * docs/manual/basics-init.xml:
17914         * docs/manual/manual.xml:
17915         * docs/manual/titlepage.xml:
17916         * docs/pwg/pwg.xml:
17917         * docs/pwg/titlepage.xml:
17918           cleanup xml (more to come)
17919         * libs/gst/controller/gstcontroller.c:
17920           fix typo
17921
17922 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17923         
17924         * win32/vs6/grammar.dsp:
17925           add autogen of gstmarshal.c,h for Release mode
17926                 
17927 2006-01-30  Wim Taymans  <wim@fluendo.com>
17928
17929         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17930         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17931         (gst_base_sink_handle_object), (gst_base_sink_event),
17932         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17933         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17934         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17935         (gst_base_sink_deactivate), (gst_base_sink_activate),
17936         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17937         (gst_base_sink_query), (gst_base_sink_change_state):
17938         Basesink cleanups, remove some old code.
17939         Handle the case where a subclass can preroll in the render
17940         method (mostly audiosinks).
17941         Handle more events.
17942         Remove some locks around variables that are now protected
17943         with the PREROLL_LOCK (clock_id, flushing, ..).
17944         Optimize position query some more, do correct locking.
17945         Remove old code to push queue in state change, this is not
17946         needed anymore since preroll blocks on all prerollable items 
17947         now.
17948         Almost implemented as described in design doc.
17949
17950 2006-01-30  Wim Taymans  <wim@fluendo.com>
17951
17952         * tests/check/gst/gstbin.c: (GST_START_TEST):
17953         Wait for refcount to settle down before checking.
17954
17955 2006-01-30  Wim Taymans  <wim@fluendo.com>
17956
17957         * docs/design/part-element-sink.txt:
17958         Pseudo code overview of desired sink behaviour regarding
17959         preroll.
17960
17961 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17962         * win32/vs6/grammar.dsp:
17963           fix some bugs in Release mode for autogenerated files
17964                 
17965 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17966         * win32/common/libgstbase.def:
17967         * win32/common/libgstreamer.def:
17968           export some new symbols: gst_base_src_set_format,
17969           gst_iterator_next, gst_structure_set_valist
17970
17971 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17972
17973         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17974         Set pad functions unconditionally. Fixes #329105.
17975
17976 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17977         * win32/vs8:
17978           add vs8 project files created by Sergey Scobich
17979
17980 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17981
17982         * gst/gstutils.c: (gst_element_unlink_pads):
17983         Don't leak pad references.
17984
17985         * tests/check/elements/fakesink.c: (GST_START_TEST):
17986         * tests/check/generic/sinks.c: (GST_START_TEST):
17987         * tests/check/generic/states.c: (GST_START_TEST):
17988         * tests/check/gst/gstbin.c: (GST_START_TEST):
17989         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17990         * tests/check/gst/gstelement.c: (GST_START_TEST):
17991         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17992         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17993         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17994         Fix a bunch of leaks. Make generic/sinks.c
17995         use a bit less cpu by slowing the buffer rate
17996         between fakesrc and fakesink.
17997         
17998 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17999         * gst/gstcaps.c:
18000         * gst/gstelement.c: (gst_element_send_event):
18001         * gst/gstevent.c:
18002         * gst/gstinfo.c:
18003         * gst/gstiterator.c:
18004         * gst/gstiterator.h:
18005         * gst/gstpad.c: (gst_pad_send_event):
18006         * gst/gststructure.c:
18007         * gst/gsturi.c:
18008         * gst/gstutils.c:
18009         * gst/gstvalue.c:
18010         * libs/gst/base/gstadapter.c:
18011           doc fixes, to link to function, just write gst_cool_function(), don't
18012           prefix with '#'
18013
18014 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
18015
18016         * plugins/elements/gsttee.c: (gst_tee_do_push),
18017         (gst_tee_handle_buffer):
18018         Always prefer an actual return value from a src
18019         pad in place of NOT_LINKED. This means we return
18020         WRONG_STATE when all src pads are WRONG_STATE
18021         instead of NOT_LINKED.
18022
18023         Lock when replacing the last message to prevent
18024         racing with the get_property method.
18025
18026         Add debug output
18027
18028 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
18029
18030         * tests/check/Makefile.am:
18031         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
18032         (main):
18033         Add a very simple check that should have caught the memleak I fixed
18034         last night (if not for the slice allocator hiding it)
18035
18036 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
18037
18038         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18039         (gst_bin_remove_func), (gst_bin_handle_message_func),
18040         (bin_query_duration_fold), (bin_query_generic_fold):
18041         Clean up references to the clock provider when disposed or when
18042         handling a clock-lost message from it.
18043
18044         Unref sinks when performing a query via gst_iterator_fold, as the
18045         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
18046
18047         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
18048         (gst_clock_set_master):
18049         Drop our reference to the master clock, if any, when we are disposed.
18050
18051         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
18052         Chain up in dispose. 
18053
18054 2006-01-26  Wim Taymans  <wim@fluendo.com>
18055
18056         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
18057         Add some debugging.
18058
18059 2006-01-26  Julien MOUTTE  <julien@moutte.net>
18060
18061         * plugins/elements/gsttee.c: (gst_tee_do_push),
18062         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
18063         handles pad being NOT_LINKED or in WRONG_STATE.
18064
18065 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
18066
18067         * win32/MANIFEST:
18068           more updating
18069
18070 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
18071
18072         * win32/MANIFEST:
18073           remove obsolete entry
18074
18075 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
18076
18077         * docs/gst/gstreamer-sections.txt:
18078         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
18079         (gst_bin_iterate_sources), (gst_bin_send_event):
18080         * gst/gstbin.h:
18081         * gst/gstelement.c: (gst_element_send_event):
18082         * gst/gstevent.c:
18083         * gst/gstpad.c: (gst_pad_send_event):
18084           added code for downstream events, reviewed docs in gstevent.c
18085
18086 2006-01-25  Julien MOUTTE  <julien@moutte.net>
18087
18088         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18089         We only query position using the clock in the playing state.
18090         Query peer in the other cases.
18091         * win32/common/config.h: Updates.
18092
18093 2006-01-24  Wim Taymans  <wim@fluendo.com>
18094
18095         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18096         A clock entry that is scheduled for the exact time of the
18097         clock is still in time.
18098
18099         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18100         (gst_base_sink_do_sync):
18101         Add some more debug info.
18102
18103 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
18104
18105         * win32/vs7:
18106           Add new vs7 project files and solution.
18107
18108 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
18109
18110         * win32/vs7:
18111           all files removed as they were out-dated.
18112
18113 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18114
18115         * docs/random/release:
18116           update notes
18117         * gst/gstbin.c: (gst_bin_init):
18118         * gst/gstbus.c: (gst_bus_new):
18119         * gst/gstbus.h:
18120         * gst/gstpipeline.c: (gst_pipeline_init):
18121           use gst_bus_new(), improve logging, fix docs
18122         * win32/common/config.h:
18123           update for cvs build
18124
18125 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18126
18127         * autogen.sh:
18128           up required version of automake to 1.7
18129
18130 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
18131
18132         * win32/common/libgstreamer.def:
18133           export gst_buffer_is_metadata_writable
18134
18135 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
18136
18137         * docs/gst/gstreamer-sections.txt:
18138         * gst/gstevent.h:
18139           Add gst_event_replace() (#327001)
18140
18141 2006-01-20  Wim Taymans  <wim@fluendo.com>
18142
18143         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18144         Make it actually compile too..
18145
18146 2006-01-20  Wim Taymans  <wim@fluendo.com>
18147
18148         * gst/gstcaps.c:
18149         Clarify behaviour of _is_equal() when passing NULL parameters.
18150
18151         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18152         (gst_pad_set_caps):
18153         Cleanups. Don't unref NULL caps.
18154         When setting the same caps, protect caps of the pad with
18155         proper lock.
18156         Use full functionality of _is_equal() when comparing caps.
18157
18158 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18159
18160         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18161         Don't loop infinitely if there are no buffers to present. Partially
18162         fixes #327197, but collectpads is just broken for reusing elements
18163         to do multiple encodes atm.
18164
18165 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18166
18167         * tools/gst-inspect.c: (print_element_features):
18168         * tools/gst-xmlinspect.c: (main):
18169         URL_HANDLER is not a plugin feature we can search for in
18170         the registry.
18171
18172 2006-01-19  Edward Hervey  <edward@fluendo.com>
18173
18174         * gst/gstelement.c: (gst_element_pads_activate): 
18175         When activating, do src pads first, then sink pads.
18176         When de-activating, do sink pads first, then src pads.
18177
18178 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18179
18180         * docs/gst/gstreamer-sections.txt:
18181         Add gst_index_add_associationv to the docs
18182
18183 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18184
18185         * gst/gstevent.c:
18186           Fix docs typo
18187
18188         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18189         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18190           Do some refactoring. Doesn't actually change functionality,
18191           but makes landing the DRAIN event easier later.
18192
18193 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
18194
18195         * docs/pwg/advanced-scheduling.xml:
18196           Update from 0.9.x to 0.10 API and make example a bit
18197           clearer.
18198
18199 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18200
18201         * docs/gst/gstreamer-sections.txt:
18202         Add gst_buffer_(is|make)_metadata_writable methods.
18203
18204 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18205
18206         * docs/design/part-sparsestreams.txt:
18207         Update sparse streams doc, hopefully for greater clarity
18208
18209 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
18210
18211         * docs/design/part-events.txt:
18212         Remove mention of FILLER events.
18213         Add DRAIN event.
18214
18215         * docs/design/part-sparsestreams.txt:
18216         Write some things about using NEWSEGMENT to keep sparse streams
18217         flowing.
18218
18219 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18220
18221         * gst/gstbin.c: (gst_bin_dispose):
18222           Guard gst_object_unref call against a NULL object (dispose
18223           can theoretically be called multiple times).
18224           
18225 2006-01-18  Wim Taymans  <wim@fluendo.com>
18226
18227         * gst/gstbin.c: (gst_bin_element_set_state):
18228         * gst/gstclock.c: (gst_clock_id_wait):
18229         Added some more debug info.
18230
18231         * libs/gst/base/gstadapter.c:
18232         Added more docs.
18233
18234         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18235         (gst_base_sink_do_sync), (gst_base_sink_chain):
18236         Added some comments.
18237
18238 2006-01-18  Wim Taymans  <wim@fluendo.com>
18239
18240         * tests/check/Makefile.am:
18241         * tests/check/elements/fakesink.c: (chain_async_buffer),
18242         (chain_async), (chain_async_return), (GST_START_TEST),
18243         (fakesink_suite), (main):
18244         Added fakesink test that checks prerolling and clipping
18245         behaviour.
18246
18247         * tests/check/gst/gstutils.c: (GST_START_TEST):
18248         Make check run faster so that buildbots don't timeout.
18249
18250 2006-01-18  Wim Taymans  <wim@fluendo.com>
18251
18252         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18253         (gst_base_sink_do_sync):
18254         Some cleanups.
18255         When the sink finishes blocking on the preroll buffer, it can
18256         immediatly render it instead of rendering when the next buffer
18257         arrives.
18258
18259 2006-01-18  Wim Taymans  <wim@fluendo.com>
18260
18261         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18262         (gst_base_sink_get_property), (gst_base_sink_do_sync),
18263         (gst_base_sink_chain):
18264         Small cleanups.
18265         GST_ELEMENT_CLOCK and sync are protected with LOCK.
18266         Don't store _last_stop if the buffer is dropped.
18267
18268 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18269
18270         * plugins/elements/gsttypefindelement.c:
18271         (gst_type_find_element_class_init):
18272           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18273           object method handler that sets the caps on the pad and we want
18274           that to happen before we emit the signal (fixes e.g. feeding a
18275           plain text file to decodebin).
18276
18277 2006-01-18  Christian Schaller  <Christian@fluendo.com>
18278
18279         * gst/gstplugin.c: Add MPL and Proprietary as license options
18280
18281 2006-01-18  Andy Wingo  <wingo@pobox.com>
18282
18283         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18284         symbol was exported before, it appears this was just an oversight.
18285         Fixes #168703.
18286         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18287
18288         * gst/gstindex.c (gst_index_add_associationv): Changed int in
18289         prototype to gint. OK since this prototype was not in the header.
18290
18291 2006-01-17  Andy Wingo  <wingo@pobox.com>
18292
18293         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18294         registry while we remove plugins.
18295
18296         * tools/gst-inspect.c (print_element_info): Don't unref the
18297         factory arg, that should be the responsibility of whatever code
18298         received the ref. Fixes a double-free when called from
18299         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18300         (main): Unref the factory if we have one.
18301         (print_element_list): No change -- relies on the
18302         plugin_feature_list_free to free the list of features.
18303
18304 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
18305
18306         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18307         (gst_buffer_make_metadata_writable):
18308         * gst/gstbuffer.h:
18309         * libs/gst/base/gstbasetransform.c:
18310         (gst_base_transform_prepare_output_buf):
18311         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18312         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18313           Replace gst_buffer_(make|is)_metadata_writable patch now
18314           that the release is out.
18315
18316 2006-01-17  Andy Wingo  <wingo@pobox.com>
18317
18318         * gst/gstregistry.c: Reflow design comment. Update so as to speak
18319         in the present tense without reference to versions.
18320
18321         * gst/gstregistry.c (gst_registry_add_plugin)
18322         (gst_registry_remove_plugin, gst_registry_remove_feature)
18323         (gst_registry_find_feature, gst_registry_get_feature_list)
18324         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18325         (gst_registry_lookup, gst_registry_scan_path)
18326         (_gst_registry_remove_cache_plugins)
18327         (gst_registry_get_feature_list_by_plugin): Add argument
18328         validation.
18329
18330 === release 0.10.2 ===
18331
18332 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
18333
18334         * configure.ac:
18335           releasing 0.10.2, "If man is five"
18336
18337 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18338
18339         * gst/gstbuffer.c:
18340         * gst/gstbuffer.h:
18341         * libs/gst/base/gstbasetransform.c:
18342         (gst_base_transform_prepare_output_buf):
18343         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18344         * tests/check/gst/gstbuffer.c: (gst_test_suite):
18345           Back out patch until after the release.
18346
18347 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18348
18349         * gst/gstminiobject.c:
18350           Spelling fix in docs.
18351         * ChangeLog - remove conflict indicator
18352
18353 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18354
18355         Reviewed By: Andy Wingo
18356
18357         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18358         (gst_buffer_make_metadata_writable):
18359         * gst/gstbuffer.h:
18360           Add gst_buffer_(is|make)_metadata_writable as analogues of
18361           gst_buffer_(is|make)_writable.
18362
18363         * libs/gst/base/gstbasetransform.c:
18364         (gst_base_transform_prepare_output_buf):
18365         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18366           Use name gst_buffer_(is|make)_metadata_writable functions.
18367
18368         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18369           Test gst_buffer_(is|make)_metadata_writable
18370         
18371           (Closes: #324162)
18372
18373 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18374
18375         * docs/manual/Makefile.am:
18376           don't do parallel make
18377         * configure.ac:
18378           AC_SUBST HOST_CPU
18379         * win32/common/config.h.in:
18380           add generations for HOST_CPU and GST_MAJORMINOR
18381         * win32/common/config.h:
18382           commit generated result
18383
18384 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18385
18386         * docs/manual/appendix-integration.xml:
18387           Update GNOME integration section to use gst_init_get_option_group()
18388           instead of the old popt stuff (#322911). Also, GNOME applications
18389           should  now use gconf*sink and gconf*src instead of the old gconf
18390           helper lib we had.
18391
18392 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18393
18394
18395         * docs/gst/gstreamer-docs.sgml:
18396         * docs/gst/gstreamer-sections.txt:
18397         * docs/libs/gstreamer-libs-sections.txt:
18398           add new API entries to the docs
18399         * libs/gst/controller/Makefile.am:
18400         * libs/gst/controller/gstcontroller.c:
18401         * libs/gst/controller/gstcontroller.h:
18402         * libs/gst/controller/gstcontrollerprivate.h:
18403         * libs/gst/controller/gsthelper.c:
18404         * libs/gst/controller/gstinterpolation.c:
18405           move private structs to private header
18406         * po/README:
18407           gstreamer-0.7 -> gstreamer-0.10
18408         * tests/check/libs/struct_i386.h:
18409           remove private structs
18410
18411 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18412
18413         * plugins/indexers/Makefile.am:
18414           Fixes as part of #317048
18415
18416 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18417
18418         * plugins/indexers/Makefile.am:
18419           fix #316086 - compilation when mmap is missing
18420
18421 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18422
18423         * libs/gst/base/gstbasesink.c:
18424           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18425           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18426         * win32/common/config.h:
18427           added some defines GST_MAJORMINOR and HOST_CPU
18428         * win32/common/libgstbase.def:
18429         * win32/common/libgstreamer.def:
18430           added some exported functions.
18431
18432 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18433
18434         * libs/gst/controller/gstcontroller.c:
18435         (gst_controlled_property_set_interpolation_mode),
18436         (gst_controlled_property_new):
18437         * libs/gst/controller/gstcontroller.h:
18438         * libs/gst/controller/gstinterpolation.c:
18439         (interpolate_none_get_string_value_array):
18440           make G_TYPE_STRING controlable
18441
18442 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18443
18444         * tools/README:
18445         * tools/gst-feedback.1.in:
18446         * tools/gst-inspect.1.in:
18447         * tools/gst-launch.1.in:
18448         * tools/gst-md5sum.1.in:
18449         * tools/gst-typefind.1.in:
18450         * tools/gst-xmlinspect.1.in:
18451         * tools/gst-xmllaunch.1.in:
18452           cleanup man-pages, remove reference to gst-register, document env-vars
18453
18454 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18455
18456         * gst/gstbuffer.c: (gst_buffer_span):
18457           gst_buffer_span should copy the timestamp of the first buffer
18458           if they were both originally overlapping subbuffers of the 
18459           same parent, using the same logic as the 'slow copy' case.
18460
18461 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18462
18463         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18464           Need to awaken ALL the pads when we pop a buffer, otherwise
18465           collectpads only works when there is 2 input streams.
18466
18467 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18468
18469         * docs/random/ensonic/media-device-daemon.txt:
18470           more ideas (dbus)
18471         * gst/gstbuffer.c:
18472           fix doc example, add clarification
18473         * tools/gst-launch.1.in:
18474           add initial info about GST_PLUGIN_PATH, needs more work
18475
18476 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18477
18478         * docs/manual/basics-bins.xml:
18479         * docs/manual/basics-elements.xml:
18480         * docs/manual/intro-basics.xml:
18481           Some more minor docs additions and updates.
18482
18483 2006-01-11  Wim Taymans  <wim@fluendo.com>
18484
18485         * docs/manual/basics-bins.xml:
18486         * docs/manual/basics-elements.xml:
18487         Some small fixes as pointed out by Ser-ver on IRC.
18488
18489 2006-01-10  Edward Hervey  <edward@fluendo.com>
18490
18491         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18492         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18493         the single-segment mode.
18494
18495 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18496
18497         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18498
18499         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18500         (gst_base_src_perform_seek), (gst_base_src_send_event),
18501         (gst_base_src_set_property), (gst_base_src_get_property),
18502         (gst_base_src_loop), (gst_base_src_start),
18503         (gst_base_src_activate_push):
18504         * libs/gst/base/gstbasesrc.h:
18505           Name (private) union; makes Sun's Forte compiler happy (#324900).
18506
18507 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18508
18509         * README:
18510           gst-register is gone.
18511
18512 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18513
18514         * gst/gstvalue.c: (_gst_value_initialize):
18515           make the G_TYPE_DATE instantiation work if debug is disabled
18516
18517 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18518
18519         * gst/gstmessage.c: (gst_message_parse_tag),
18520         (gst_message_parse_error), (gst_message_parse_warning):
18521           Don't crash when return location for error/warning debug
18522           string is NULL; add fact that return locations can be
18523           NULL to docs where appropriate.
18524
18525 2006-01-05  Wim Taymans  <wim@fluendo.com>
18526
18527         * gst/gstplugin.c: (gst_plugin_load_file):
18528         Replace strdup by g_strdup.
18529
18530 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18531
18532         * docs/pwg/advanced-types.xml:
18533           fix doc borkage
18534
18535 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18536
18537         submitted by: Abel Cheung
18538
18539         * po/LINGUAS:
18540         * po/zh_TW.po:
18541           Added Chinese (traditional) translation
18542
18543 2006-01-04  Wim Taymans  <wim@fluendo.com>
18544
18545         * docs/manual/basics-pads.xml:
18546         * docs/plugins/Makefile.am:
18547         * docs/plugins/gstreamer-plugins-docs.sgml:
18548         * docs/plugins/gstreamer-plugins-sections.txt:
18549         * docs/pwg/advanced-clock.xml:
18550         * docs/pwg/advanced-scheduling.xml:
18551         * docs/pwg/advanced-types.xml:
18552         * plugins/elements/gstfdsink.c:
18553         * plugins/elements/gstfdsrc.c:
18554         * plugins/elements/gstfdsrc.h:
18555         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18556         * plugins/elements/gstidentity.h:
18557         * plugins/elements/gstqueue.h:
18558         * plugins/elements/gsttee.c:
18559         * plugins/elements/gsttee.h:
18560         * plugins/elements/gsttypefindelement.c:
18561         (gst_type_find_element_class_init):
18562         * plugins/elements/gsttypefindelement.h:
18563         Small updates to various docs.
18564         Added core plugins to docs.
18565
18566 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18567
18568         * common/gst.supp:
18569           add a suppression for liboil's uninitialized variable
18570
18571 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18572
18573         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18574
18575         * gst/gstutils.h:
18576           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18577           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18578           compiler switch is being used (#325429).
18579
18580 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18581
18582         * gst/gstbin.c: (gst_bin_query):
18583           Disable duration query caching in bins until it gets
18584           fixed (see #324807).
18585
18586 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18587
18588         * tools/gst-inspect.c: (print_element_properties_info):
18589           Handle properties of POINTER and BOXED type.
18590
18591 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18592
18593         * gst/gst.c: (init_post):
18594           Init tags stuff and some other things before loading
18595           any static plugins (there may be other static plugins
18596           than just the GStreamer ones, and they may want to
18597           register their own tags or formats or whatever, and
18598           preferably without segfaulting).
18599
18600         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18601           Print at least a warning in the debug logs if we drop a
18602           query just because we don't know how to adjust the value
18603           in the particular format.
18604
18605 2005-12-24  David Schleef  <ds@schleef.org>
18606
18607         * tools/gstreamer-completion:
18608           Replacement for gst-complete written in sh and sed.  Only
18609           completes names of features, but that's 90% of what I want
18610           it for.  Properties are not available in registry.xml.  (Maybe
18611           they should be...)
18612
18613 === release 0.10.1 ===
18614
18615 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18616
18617         * configure.ac:
18618           releasing 0.10.1, "Nollaig chridheil"
18619
18620 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18621
18622         * docs/faq/cvs.xml:
18623           Add missing quote, should be make ERROR_CFLAGS="".
18624
18625 2005-12-20  Wim Taymans  <wim@fluendo.com>
18626
18627         * docs/design/part-trickmodes.txt:
18628         More documentation on trickmodes.
18629
18630 2005-12-20  Edward Hervey  <edward@fluendo.com>
18631
18632         * gst/gstcaps.c: (gst_static_caps_get_type):
18633         * gst/gstcaps.h:
18634           API addition: GST_TYPE_STATIC_CAPS
18635         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18636         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18637         * gst/gstpadtemplate.h:
18638           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18639         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18640         bindings.
18641
18642 2005-12-18  Wim Taymans  <wim@fluendo.com>
18643
18644         * libs/gst/base/gstadapter.c:
18645         * libs/gst/base/gstadapter.h:
18646         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18647         (gst_base_sink_get_position):
18648         * libs/gst/base/gstbasesink.h:
18649         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18650         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18651         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18652         (gst_base_src_send_event), (gst_base_src_update_length),
18653         (gst_base_src_get_range), (gst_base_src_loop),
18654         (gst_base_src_start):
18655         * libs/gst/base/gstbasesrc.h:
18656         * libs/gst/base/gstbasetransform.h:
18657         * libs/gst/base/gstcollectpads.h:
18658         * libs/gst/base/gstpushsrc.c:
18659         * libs/gst/base/gstpushsrc.h:
18660         * libs/gst/dataprotocol/dataprotocol.c:
18661         * libs/gst/dataprotocol/dataprotocol.h:
18662         * libs/gst/net/gstnetclientclock.h:
18663         * libs/gst/net/gstnettimeprovider.h:
18664         Documentation updates.
18665
18666 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18667
18668         * docs/manual/basics-helloworld.xml:
18669           Remove superfluous closing bracket in helloworld example.
18670
18671 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18672
18673         * tools/gst-launch.1.in:
18674           Update gst-launch man page; add a section with useful
18675           environment variables. Fixes #323882.
18676
18677 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18678
18679         * gst/gst.c:
18680         * gst/gst_private.h:
18681           change some char* into char[]
18682
18683 2005-12-16  Wim Taymans  <wim@fluendo.com>
18684
18685         * gst/gstregistryxml.c: (load_feature):
18686         Cleanups.
18687         Don't use g_object_unref on GstObjects so that we avoid
18688         leaks on unsafe glibs.
18689
18690 2005-12-16  Wim Taymans  <wim@fluendo.com>
18691
18692         * gst/gstbin.c: (gst_bin_recalc_state):
18693         Small doc updates.
18694
18695 2005-12-16  Wim Taymans  <wim@fluendo.com>
18696
18697         * common/check.mak:
18698         Added make forever target for check.
18699
18700 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18701
18702         * gst/gst.c: (init_post):
18703           make the registry cache file HOST_CPU-dependent
18704
18705 2005-12-16  Andy Wingo  <wingo@pobox.com>
18706
18707         * plugins/elements/gstbufferstore.c
18708         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18709         return value.
18710
18711         * tests/check/gst/gstobject.c
18712         (test_fake_object_name_threaded_unique): Pay attention to
18713         g_list_sort return value.
18714
18715 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18716
18717         * tools/gst-feedback-m.m:
18718           Update for 0.9/0.10 (fixes #323870).
18719
18720 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18721
18722         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18723           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18724           
18725         * tests/check/gst/gstminiobject.c: (my_foo_init),
18726         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18727         (test_value_collection), (gst_mini_object_suite):
18728           Add test to ensure refcounts end up as expected when passing
18729           GstMiniObjects through g_object_get() and g_object_set().
18730
18731 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18732
18733         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18734         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18735         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18736         of collectpads. This version removes a lot of races without
18737         touching API/ABI. Yay !
18738
18739 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18740
18741         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18742           Don't allow activation of a srcpad in pull_range if it has no
18743           getrange function.
18744           Change some debug statements to be a little clearer
18745
18746         * plugins/elements/gsttypefindelement.c:
18747         (gst_type_find_handle_src_query):
18748           Check that we have a peer before executing queries thereupon.
18749
18750         * tests/examples/metadata/read-metadata.c: (message_loop):
18751           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18752           immediately return us any available message with 0 timeout.
18753
18754 2005-12-12  Michael Smith  <msmith@fluendo.com>
18755
18756         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18757           Don't unref factories after calling them.
18758         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18759         * plugins/elements/gsttypefindelement.c:
18760         (gst_type_find_element_chain):
18761           Free lists of factories after using them. Fixing typefinding memory
18762           leaks.
18763
18764 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18765
18766         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18767         (gst_plugin_feature_load):
18768           more meaningful debug output
18769         * configure.ac:
18770         * tests/Makefile.am:
18771         * tests/old/examples/Makefile.am:
18772           make make distcheck happy again
18773
18774 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18775
18776         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18777           Catch the special case where we are operating chain-based,
18778           but the downstream peer pad has no chain function. Emit a
18779           custom error message in this case instead of letting the
18780           core generate one implying that this is some sort of core
18781           bug. It's not, it just means that whatever got plugged
18782           into the pipeline downstream when we announced the type
18783           can only operate pull-based, while our source can only
18784           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18785           Error string has not been marked for translation yet, as
18786           it probably needs some more work first.
18787
18788         (gst_type_find_element_get_best_possibility):
18789           Add helper function to find the best of all available
18790           found possibilities that qualify given the min. threshold.
18791
18792         (gst_type_find_element_handle_event):
18793           Fix the case where we get an EOS while still in TYPEFIND
18794           mode (we want to chose the best of all possible types,
18795           not just the first type that happens to be in our unsorted
18796           list of possible types).
18797
18798         (gst_type_find_element_chain):
18799           Make sure we return GST_FLOW_ERROR when we errored out
18800           in stop_typefinding(); also, don't just find the best of
18801           all found type entries and then use the last examined
18802           type entry, but actually use the best entry.
18803
18804 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18805
18806         * tests/examples/typefind/typefind.c: (type_found):
18807         * tests/examples/xml/runxml.c: (xml_loaded):
18808           More gcc4 fixes and a mem leak fix.
18809
18810 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18811
18812         * tests/examples/xml/createxml.c: (object_saved):
18813           gcc 4 fixes
18814
18815 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18816
18817         * tests/Makefile.am:
18818           enable the examples even more
18819
18820 2005-12-12  Andy Wingo  <wingo@pobox.com>
18821
18822         * libs/gst/net/gstnettimeprovider.c
18823         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18824         (gst_net_time_provider_set_property)
18825         (gst_net_time_provider_get_property):
18826         API addition: Export "active" as a GObject property.
18827         (gst_net_time_provider_thread): Only respond to time queries if
18828         the time provider is active.
18829
18830         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18831         NetTimeProvider, preserving binary compat.
18832
18833 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18834
18835         * tests/examples/controller/audio-example.c: (main):
18836         * tests/examples/launch/Makefile.am:
18837           convert comments again
18838
18839 2005-12-12  Wim Taymans  <wim@fluendo.com>
18840
18841         * libs/gst/base/gstpushsrc.c:
18842         Fix typo.
18843
18844 2005-12-12  Wim Taymans  <wim@fluendo.com>
18845
18846         * docs/libs/gstreamer-libs-sections.txt:
18847         Added new symbol to docs.
18848
18849         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18850         (gst_base_src_init), (gst_base_src_set_format),
18851         (gst_base_src_default_query), (gst_base_src_query),
18852         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18853         (gst_base_src_perform_seek), (gst_base_src_send_event),
18854         (gst_base_src_default_event), (gst_base_src_event_handler),
18855         (gst_base_src_set_property), (gst_base_src_get_property),
18856         (gst_base_src_wait), (gst_base_src_do_sync),
18857         (gst_base_src_update_length), (gst_base_src_get_range),
18858         (gst_base_src_check_get_range), (gst_base_src_loop),
18859         (gst_base_src_default_negotiate), (gst_base_src_start),
18860         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18861         (gst_base_src_change_state):
18862         * libs/gst/base/gstbasesrc.h:
18863         Implement seeking to other formats than _BYTES.
18864         Implement more seeking methods correctly.
18865         Doc updates.
18866         Added query vmethod.
18867         Added do_seek vmethod to make life easier for subclasses
18868         when seeking.
18869         API addition: gst_base_src_set_format()
18870
18871 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18872
18873         * tests/examples/Makefile.am:
18874           added that too
18875
18876 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18877
18878         * configure.ac:
18879         * docs/random/ensonic/media-device-daemon.txt:
18880         * tests/examples/controller/.cvsignore:
18881         * tests/examples/controller/Makefile.am:
18882         * tests/examples/controller/audio-example.c: (main):
18883         * tests/examples/helloworld/.cvsignore:
18884         * tests/examples/helloworld/Makefile.am:
18885         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18886         * tests/examples/launch/.cvsignore:
18887         * tests/examples/launch/Makefile.am:
18888         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18889         * tests/examples/metadata/.cvsignore:
18890         * tests/examples/metadata/Makefile.am:
18891         * tests/examples/metadata/read-metadata.c: (message_loop),
18892         (make_pipeline), (print_tag), (main):
18893         * tests/examples/queue/.cvsignore:
18894         * tests/examples/queue/Makefile.am:
18895         * tests/examples/queue/queue.c: (event_loop), (main):
18896         * tests/examples/typefind/.cvsignore:
18897         * tests/examples/typefind/Makefile.am:
18898         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18899         (main):
18900         * tests/examples/xml/.cvsignore:
18901         * tests/examples/xml/Makefile.am:
18902         * tests/examples/xml/createxml.c: (object_saved), (main):
18903         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18904         * tests/old/examples/Makefile.am:
18905         * tests/old/examples/TODO:
18906         * tests/old/examples/controller/.cvsignore:
18907         * tests/old/examples/controller/Makefile.am:
18908         * tests/old/examples/controller/audio-example.c:
18909         * tests/old/examples/helloworld/.cvsignore:
18910         * tests/old/examples/helloworld/Makefile.am:
18911         * tests/old/examples/helloworld/helloworld.c:
18912         * tests/old/examples/launch/.cvsignore:
18913         * tests/old/examples/launch/Makefile.am:
18914         * tests/old/examples/launch/mp3parselaunch.c:
18915         * tests/old/examples/launch/mp3play:
18916         * tests/old/examples/manual/Makefile.am:
18917         * tests/old/examples/metadata/Makefile.am:
18918         * tests/old/examples/metadata/read-metadata.c:
18919         * tests/old/examples/queue/.cvsignore:
18920         * tests/old/examples/queue/Makefile.am:
18921         * tests/old/examples/queue/queue.c:
18922         * tests/old/examples/typefind/.cvsignore:
18923         * tests/old/examples/typefind/Makefile.am:
18924         * tests/old/examples/typefind/typefind.c:
18925         * tests/old/examples/xml/.cvsignore:
18926         * tests/old/examples/xml/Makefile.am:
18927         * tests/old/examples/xml/createxml.c:
18928         * tests/old/examples/xml/runxml.c:
18929           applied some simple fixing to some examples
18930           re-enabled the working examples
18931
18932 2005-12-12  Wim Taymans  <wim@fluendo.com>
18933
18934         * gst/gstsegment.c: (gst_segment_init),
18935         (gst_segment_set_last_stop), (gst_segment_set_seek),
18936         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18937         (gst_segment_to_running_time):
18938         Added more documentation.
18939         Make sure the last_pos value is updated properly.
18940         Make sure to_stream_time and to_running_time don't
18941         operate on wrong values.
18942
18943         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18944         Update check.
18945
18946 2005-12-12  Michael Smith  <msmith@fluendo.com>
18947
18948         * plugins/elements/gsttypefindelement.c: (free_entry),
18949         (gst_type_find_element_chain):
18950           Now that we're not leaking factories, make sure we keep references
18951           to them while we need them.
18952
18953 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18954
18955         * tests/check/gst/struct_i386.h:
18956           ifdef out the XML structs
18957
18958 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18959
18960         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18961           floor is not needed, F is always positive; this obviates the
18962           need for adding -lm when building without libxml
18963
18964 2005-12-12  Wim Taymans  <wim@fluendo.com>
18965
18966         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18967         Take current playback rate into account when reporting
18968         the position.
18969
18970 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18971
18972         * docs/manual/mime-world.fig:
18973           Let's try this again, this time with a file that is
18974           actually in XFig format.
18975
18976 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18977
18978         * docs/manual/mime-world.fig:
18979           Add audioconvert element to diagram so that it
18980           matches the text and the code (fixes #319526).
18981
18982 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18983
18984         * docs/pwg/building-chainfn.xml:
18985         * docs/pwg/building-pads.xml:
18986         * docs/pwg/building-state.xml:
18987         * docs/pwg/other-source.xml:
18988           Update state change stuff for 0.10 (fixes #322969).
18989
18990 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18991
18992         * docs/manual/advanced-dataaccess.xml:
18993         * docs/manual/appendix-checklist.xml:
18994         * docs/manual/appendix-programs.xml:
18995         * docs/manual/basics-pads.xml:
18996         * docs/manual/highlevel-components.xml:
18997         * docs/manual/manual.xml:
18998           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18999           add converters in front of pipelines; remove curly
19000           brackets for threads stuff, they no longer exist; use
19001           GST_TYPE_FRACTION for framerates; update some pieces of
19002           code to 0.10, but there's plenty more to do.
19003
19004         * docs/manual/appendix-porting.xml:
19005           Expand on asynchroneous state changes; s/0.9/0.10/;
19006           mention disappearance of gst_init_get_popt_table()
19007           (fixes #322916).
19008
19009 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
19010
19011         * docs/faq/using.xml:
19012           Spider no longer exists, and neither does gst-launch-ext.
19013           Update examples to use decodebin and playbin and put
19014           converters in front of sinks (fixes #323726).
19015
19016 2005-12-09  Michael Smith  <msmith@fluendo.com>
19017
19018         * plugins/elements/gsttypefindelement.c: (find_peek),
19019         (gst_type_find_element_chain):
19020           Fix leaking element factories in typefinding.
19021           Fix problem where we forgot about a probable type on non-seekable
19022           files, and thus later mis-typefound it.
19023
19024 2005-12-09  Michael Smith  <msmith@fluendo.com>
19025
19026         * common/m4/gst-makecontext.m4:
19027         * common/m4/gst-mcsc.m4:
19028         * configure.ac:
19029         * win32/common/config.h:
19030         * win32/common/config.h.in:
19031           Remove makecontext stuff; not used in 0.10 and causes problems on
19032           HPUX according to bug #322441
19033
19034 2005-12-07  Wim Taymans  <wim@fluendo.com>
19035
19036         * tests/check/Makefile.am:
19037         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
19038         (main):
19039         * tests/check/libs/struct_i386.h:
19040         Added ABI check for libs
19041
19042 2005-12-07  Wim Taymans  <wim@fluendo.com>
19043
19044         * tests/check/Makefile.am:
19045         And add the struct_i386.h to dist.
19046
19047 2005-12-07  Wim Taymans  <wim@fluendo.com>
19048
19049         * tests/check/Makefile.am:
19050         * tests/check/gst/.cvsignore:
19051         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
19052         (main):
19053         * tests/check/gst/struct_i386.h:
19054         Added check for ABI compatibility.
19055
19056 2005-12-07  Wim Taymans  <wim@fluendo.com>
19057
19058         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19059         (gst_fake_src_get_times), (gst_fake_src_create):
19060         Fix broken sync option, fixes #323259
19061
19062 2005-12-07  Wim Taymans  <wim@fluendo.com>
19063
19064         * gst/gstbuffer.c:
19065         Small docs update.
19066
19067         * gst/gstcaps.c: (gst_caps_is_equal):
19068         Don't assert on NULL <--> X. Fixes #323260
19069
19070         * gst/gstminiobject.c: (gst_mini_object_replace):
19071         If we're doing atomic operations, we might just as well use
19072         the proper way to get an atomic pointer.
19073
19074         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
19075         Clean up debugging.
19076
19077 2005-12-07  Michael Smith  <msmith@fluendo.com>
19078
19079         * gst/parse/grammar.y:
19080           Remove handling of { } for threads.
19081
19082 2005-12-06  David Schleef  <ds@schleef.org>
19083
19084         * libs/gst/base/gstbasetransform.c: speling fix.
19085
19086 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19087
19088         * docs/libs/tmpl/gstdataprotocol.sgml:
19089         * docs/random/omega/testing/gstobject.c:
19090         * gst/gst.c:
19091         * gst/gstclock.c:
19092         * gst/gstelement.c:
19093         * gst/gstelementfactory.c:
19094         * gst/gsterror.c:
19095         * gst/gstevent.c:
19096         * gst/gstghostpad.c:
19097         * gst/gstinfo.c:
19098         * gst/gstpadtemplate.c:
19099         * gst/gstregistryxml.c:
19100         * gst/gsttaglist.c:
19101         * gst/gsttagsetter.c:
19102         * gst/gsttypefind.c:
19103         * gst/gstvalue.c:
19104         * libs/gst/base/gstbasesrc.c:
19105         * libs/gst/net/gstnetclientclock.c:
19106         * libs/gst/net/gstnettimeprovider.c:
19107         * plugins/elements/gstfakesrc.c:
19108         * plugins/elements/gstfdsrc.c:
19109         * plugins/elements/gstfilesrc.c:
19110         * plugins/elements/gstidentity.c:
19111         * plugins/elements/gstqueue.c:
19112         * plugins/elements/gsttypefindelement.c:
19113         * plugins/indexers/gstfileindex.c:
19114         * plugins/indexers/gstmemindex.c:
19115         * tests/check/gst/gsttag.c:
19116         * tests/old/examples/cutter/cutter.c:
19117         * tests/old/examples/mixer/mixer.c:
19118         * tests/old/examples/xml/runxml.c: (main):
19119         * tests/old/testsuite/caps/normalisation.c:
19120         * tests/old/testsuite/debug/global.c:
19121         * tests/old/testsuite/parse/parse1.c:
19122         * tools/gst-xmlinspect.c:
19123         * win32/common/dirent.c:
19124           expand tabs
19125
19126 === release 0.10.0 ===
19127
19128 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19129
19130         * configure.ac:
19131           releasing 0.10.0, "Maroilles"
19132
19133 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19134
19135         submitted by: Funda Wang <fundawang@linux.net.cn>
19136
19137         * po/LINGUAS:
19138         * po/zh_CN.po:
19139           added Chinese (Traditional) translation
19140
19141 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19142
19143         * docs/gst/gstreamer-sections.txt:
19144         * docs/libs/tmpl/gstdataprotocol.sgml:
19145         * docs/random/thomasvs/TODO:
19146         * gst/gstutils.c:
19147         * gst/gstutils.h:
19148           fix docs
19149
19150 2005-12-05  Andy Wingo  <wingo@pobox.com>
19151
19152         patch by: Wim Taymans <wim@fluendo.com>
19153
19154         * libs/gst/base/gstbasetransform.c
19155         (gst_base_transform_prepare_output_buf)
19156         (gst_base_transform_buffer_alloc):
19157         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19158         alloc_buffer_and_set_caps.
19159
19160         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19161         set_caps on the source pad.
19162         (gst_pad_alloc_buffer_and_set_caps): New function, does what
19163         alloc_buffer used to do. Fixes #322874.
19164
19165         * docs/gst/gstreamer-sections.txt: 
19166         * docs/design/part-negotiation.txt: 
19167         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19168         changes.
19169
19170 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19171
19172         patch by: Sebastien Moutte
19173
19174         * win32/MANIFEST:
19175         * win32/common/config.h.in:
19176         * win32/vs6/libgstcontroller.dsp:
19177           win32 build fixes
19178
19179 2005-12-05  Wim Taymans  <wim@fluendo.com>
19180
19181         * gst/gstcaps.c: (gst_caps_is_equal):
19182         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19183         (gst_fake_src_create):
19184         Back out previous code changes, leave doc updates, file bugs 
19185         instead. 
19186
19187 2005-12-05  Wim Taymans  <wim@fluendo.com>
19188
19189         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19190         (gst_fake_src_get_times), (gst_fake_src_create):
19191         * plugins/elements/gstfakesrc.h:
19192         Fix broken sync code.
19193
19194 2005-12-05  Wim Taymans  <wim@fluendo.com>
19195
19196         * gst/gstcaps.c: (gst_caps_is_equal):
19197         Comparing NULL against !NULL yields different caps, not a
19198         failure.
19199
19200 2005-12-05  Wim Taymans  <wim@fluendo.com>
19201
19202         * gst/gstpipeline.c:
19203         Fix small typo in docs.
19204
19205 2005-12-05  Andy Wingo  <wingo@pobox.com>
19206
19207         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
19208
19209         * gst/gst.c (init_post): remove hard-coded 0.9 location for
19210         registries/plugins with a MAJORMINOR one.
19211         (plugin_desc): Rename library from gstcoreleements to
19212         staticelements. Fixes #323222.
19213
19214 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
19215
19216         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19217           Change debug category to 'collectpads' from 'collect_pads'
19218           (fixes #323250).
19219
19220 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19221
19222         patch by: Sebastien Moutte
19223
19224         * libs/gst/controller/gstinterpolation.c:
19225           use convert function for uint64/double
19226         * win32/vs6/libgstcontroller.dsp:
19227           link to GLib
19228
19229 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19230
19231         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19232         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19233         * gst/gstutils.h:
19234         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19235           add tests that seem to show that the guint64/gdouble conversions
19236           are correct.
19237
19238 2005-12-02  Wim Taymans  <wim@fluendo.com>
19239
19240         * gst/gstregistry.c: (gst_registry_add_path):
19241         * gst/gstregistry.h:
19242         * gst/gstregistryxml.c:
19243         Fix docs again.
19244
19245 2005-12-02  Wim Taymans  <wim@fluendo.com>
19246
19247         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19248         (gst_util_uint64_scale_int):
19249         Small cleanup.
19250
19251         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19252         Add debug log line.
19253
19254         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19255         Add FIXME.
19256
19257 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19258
19259         * win32/MANIFEST:
19260         * win32/common/config.h:
19261         * win32/vs6/gstreamer.dsw:
19262         * win32/vs6/libgstcoreelements.dsp:
19263         * win32/vs6/libgstelements.dsp:
19264           renamed core elements plugin
19265
19266 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19267
19268         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19269         (get_candidates):
19270           do piece-wise major/minor comparison so 0.9 < 0.10
19271           also allow .exe extensions for tools
19272
19273 2005-12-02  Michael Smith  <msmith@fluendo.com>
19274
19275         * gst/gst.c:
19276           Escape a % to make gtkdoc happier; bug 322958.
19277
19278 === release 0.9.7 ===
19279
19280 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19281
19282         * configure.ac:
19283           releasing 0.9.7, "My Dog Has No Nose"
19284
19285 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19286
19287         * common/gst-xmlinspect.py:
19288         * configure.ac:
19289         * docs/libs/tmpl/gstdataprotocol.sgml:
19290         * docs/random/release:
19291         * po/af.po:
19292         * po/az.po:
19293         * po/bg.po:
19294         * po/ca.po:
19295         * po/cs.po:
19296         * po/de.po:
19297         * po/en_GB.po:
19298         * po/fr.po:
19299         * po/it.po:
19300         * po/nb.po:
19301         * po/nl.po:
19302         * po/ru.po:
19303         * po/sq.po:
19304         * po/sr.po:
19305         * po/sv.po:
19306         * po/tr.po:
19307         * po/uk.po:
19308         * po/vi.po:
19309         * win32/common/config.h:
19310         * win32/common/config.h.in:
19311         * win32/vs6/gst_inspect.dsp:
19312         * win32/vs6/gst_launch.dsp:
19313         * win32/vs6/libgstbase.dsp:
19314         * win32/vs6/libgstelements.dsp:
19315         * win32/vs6/libgstreamer.dsp:
19316         * win32/vs7/GStreamer.vcproj:
19317         * win32/vs7/gst-inspect.vcproj:
19318         * win32/vs7/gst-launch.vcproj:
19319         * win32/vs7/libgstbase.vcproj:
19320           bump GST_MAJORMINOR to 0.10
19321           reset libtool version
19322
19323 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19324
19325         * po/LINGUAS:
19326         * po/bg.po:
19327           Added Bulgarian translation by (Alexander Shopov)
19328
19329 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19330
19331         * tests/check/gst/gstplugin.c:
19332           fix test
19333
19334 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19335
19336         * common/gst-xmlinspect.py:
19337         * common/gtk-doc-plugins.mak:
19338         * configure.ac:
19339         * docs/Makefile.am:
19340         * docs/gst/Makefile.am:
19341         * docs/gst/gstreamer-docs.sgml:
19342         * docs/gst/gstreamer-sections.txt:
19343         * docs/gst/gstreamer.types:
19344         * docs/gst/gstreamer.types.in:
19345         * docs/plugins/Makefile.am:
19346         * docs/plugins/gstreamer-plugins-docs.sgml:
19347         * docs/plugins/gstreamer-plugins-sections.txt:
19348         * docs/plugins/gstreamer-plugins.types:
19349         * docs/plugins/inspect.stamp:
19350         * docs/plugins/inspect/plugin-coreelements.xml:
19351         * docs/plugins/inspect/plugin-coreindexers.xml:
19352         * docs/plugins/scanobj-build.stamp:
19353         * gstreamer.spec.in:
19354         * plugins/elements/Makefile.am:
19355         * plugins/elements/gstelements.c:
19356         * plugins/elements/gstfakesink.c:
19357         * plugins/elements/gstfakesrc.c:
19358         * plugins/elements/gstfilesink.c:
19359         * plugins/elements/gstfilesrc.c:
19360         * plugins/elements/gstqueue.c:
19361         * plugins/indexers/Makefile.am:
19362         * plugins/indexers/gstindexers.c:
19363           document core plugins in a separate document just like all the
19364           others
19365           rename these plugins to something starting with core
19366
19367 2005-12-01  Andy Wingo  <wingo@pobox.com>
19368
19369         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19370         padding here before, but it missed the commit.
19371
19372 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19373
19374         * libs/gst/controller/gstinterpolation.c:
19375           whitespace prices have crashed, we should feel free to use some now
19376           use gst_guint64_to_gdouble
19377
19378 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19379
19380         * libs/gst/controller/gstcontroller.c:
19381         * libs/gst/controller/gsthelper.c:
19382         * libs/gst/controller/gstinterpolation.c:
19383         * libs/gst/controller/lib.c:
19384           wrap config.h include
19385
19386 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19387
19388         * docs/gst/gstreamer-sections.txt:
19389           update docs
19390
19391 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19392
19393         * plugins/elements/gstelements.c:
19394         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19395         (gst_fd_sink__class_init), (gst_fd_sink__init),
19396         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19397         (gst_fd_sink__get_property):
19398         * plugins/elements/gstfdsink.h:
19399         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19400         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19401         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19402         (gst_fd_src_unlock), (gst_fd_src_set_property),
19403         (gst_fd_src_get_property), (gst_fd_src_create),
19404         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19405         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19406         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19407         (gst_fd_src_uri_handler_init):
19408         * plugins/elements/gstfdsrc.h:
19409         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19410           more anal cleanup
19411
19412 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19413
19414         * docs/gst/Makefile.am:
19415         * docs/gst/gstreamer.types.in:
19416         * gst/Makefile.am:
19417           fix the docs build
19418
19419 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19420
19421         * configure.ac:
19422         * gst/Makefile.am:
19423         * gst/gst.c:
19424         * gst/gstplugin.h:
19425         * gst/gstregistry.h:
19426         * tests/benchmarks/complexity.c:
19427         * tests/benchmarks/mass-elements.c:
19428         * tests/check/Makefile.am:
19429         * tools/Makefile.am:
19430         * tools/gst-inspect.c:
19431         * tools/gst-xmlinspect.c:
19432           various fixes to make
19433           --disable-nls --disable-registry --disable-loadsave
19434           --disable-parse --disable-gst-debug
19435           work and get the core .so down to 360444 bytes after stripping
19436
19437 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19438
19439         * Makefile.am:
19440         * configure.ac:
19441           descend into tests
19442         * docs/random/thomasvs/TODO:
19443         * tests/Makefile.am:
19444         * tests/README:
19445           add a README
19446
19447 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19448
19449         * win32/GStreamer.vcproj:
19450         * win32/MANIFEST:
19451         * win32/Makefile:
19452         * win32/Makefile.inspect:
19453         * win32/Makefile.launch:
19454         * win32/Makefile.register:
19455         * win32/README.txt:
19456         * win32/gst-inspect.vcproj:
19457         * win32/gst-launch.vcproj:
19458         * win32/gst-register.vcproj:
19459         * win32/gstelements.vcproj:
19460         * win32/gstgetbits.def:
19461         * win32/gstgetbits.vcproj:
19462         * win32/gstreamer-dbg.def:
19463         * win32/gstreamer.def:
19464         * win32/libgstbase.def:
19465         * win32/libgstbase.vcproj:
19466         * win32/link_oldruntime.c:
19467         * win32/mman.c:
19468         * win32/mman.h:
19469         * win32/mman.inl:
19470         * win32/msvc71.sln:
19471           move even more stuff, win32/ is nice and clean now
19472
19473 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19474
19475         * libs/gst/control/.cvsignore:
19476         * win32/MANIFEST:
19477         * win32/config.h:
19478         * win32/dirent.c:
19479         * win32/dirent.h:
19480         * win32/gstbytestream.def:
19481         * win32/gstbytestream.vcproj:
19482         * win32/gstconfig.h:
19483         * win32/gstenumtypes.c:
19484         * win32/gstenumtypes.h:
19485         * win32/gstoptimalscheduler.vcproj:
19486         * win32/gstversion.h:
19487         * win32/gtchar.h:
19488         * win32/testsuite/bins.vcproj:
19489         * win32/testsuite/bytestream.vcproj:
19490         * win32/testsuite/caps.vcproj:
19491         * win32/testsuite/cleanup.vcproj:
19492         * win32/testsuite/clock.vcproj:
19493         * win32/testsuite/debug.vcproj:
19494         * win32/testsuite/dlopen.vcproj:
19495         * win32/testsuite/dynparams.vcproj:
19496         * win32/testsuite/elements.vcproj:
19497         * win32/testsuite/ghostpads.vcproj:
19498         * win32/testsuite/indexers.vcproj:
19499         * win32/testsuite/negotiation.vcproj:
19500         * win32/testsuite/parse.vcproj:
19501         * win32/testsuite/plugin.vcproj:
19502         * win32/testsuite/refcounting.vcproj:
19503         * win32/testsuite/schedulers.vcproj:
19504         * win32/testsuite/states.vcproj:
19505         * win32/testsuite/tags.vcproj:
19506         * win32/testsuite/threads.vcproj:
19507           remove old win32 stuff that isn't maintained and should be
19508           reorganized
19509
19510 2005-11-30  Andy Wingo  <wingo@pobox.com>
19511
19512         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19513         loading the gst.interfaces python module bork.
19514
19515         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19516         available since GLib 2.2. Fixes #318031.
19517
19518 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19519
19520         * Makefile.am:
19521         * check/.cvsignore:
19522         * check/Makefile.am:
19523         * check/elements/.cvsignore:
19524         * check/elements/fakesrc.c:
19525         * check/elements/fdsrc.c:
19526         * check/elements/identity.c:
19527         * check/generic/.cvsignore:
19528         * check/generic/states.c:
19529         * check/gst-libs/.cvsignore:
19530         * check/gst-libs/controller.c:
19531         * check/gst-libs/gdp.c:
19532         * check/gst/.cvsignore:
19533         * check/gst/capslist.h:
19534         * check/gst/gst.c:
19535         * check/gst/gstbin.c:
19536         * check/gst/gstbuffer.c:
19537         * check/gst/gstbus.c:
19538         * check/gst/gstcaps.c:
19539         * check/gst/gstelement.c:
19540         * check/gst/gstevent.c:
19541         * check/gst/gstghostpad.c:
19542         * check/gst/gstiterator.c:
19543         * check/gst/gstmessage.c:
19544         * check/gst/gstminiobject.c:
19545         * check/gst/gstobject.c:
19546         * check/gst/gstpad.c:
19547         * check/gst/gstpipeline.c:
19548         * check/gst/gstplugin.c:
19549         * check/gst/gstsegment.c:
19550         * check/gst/gststructure.c:
19551         * check/gst/gstsystemclock.c:
19552         * check/gst/gsttag.c:
19553         * check/gst/gstutils.c:
19554         * check/gst/gstvalue.c:
19555         * check/net/.cvsignore:
19556         * check/net/gstnetclientclock.c:
19557         * check/net/gstnettimeprovider.c:
19558         * check/pipelines/.cvsignore:
19559         * check/pipelines/cleanup.c:
19560         * check/pipelines/simple_launch_lines.c:
19561         * check/pipelines/stress.c:
19562         * check/states/.cvsignore:
19563         * check/states/sinks.c:
19564         * configure.ac:
19565         * examples/Makefile.am:
19566         * examples/appreader/.cvsignore:
19567         * examples/appreader/Makefile.am:
19568         * examples/appreader/appreader.c:
19569         * examples/controller/.cvsignore:
19570         * examples/controller/Makefile.am:
19571         * examples/controller/audio-example.c:
19572         * examples/cutter/.cvsignore:
19573         * examples/cutter/Makefile.am:
19574         * examples/cutter/cutter.c:
19575         * examples/cutter/cutter.h:
19576         * examples/events/Makefile.am:
19577         * examples/events/seek.c:
19578         * examples/helloworld/.cvsignore:
19579         * examples/helloworld/Makefile.am:
19580         * examples/helloworld/helloworld.c:
19581         * examples/helloworld2/.cvsignore:
19582         * examples/helloworld2/Makefile.am:
19583         * examples/helloworld2/helloworld2.c:
19584         * examples/launch/.cvsignore:
19585         * examples/launch/Makefile.am:
19586         * examples/launch/mp3parselaunch.c:
19587         * examples/launch/mp3play:
19588         * examples/manual/.cvsignore:
19589         * examples/manual/Makefile.am:
19590         * examples/manual/extract.pl:
19591         * examples/metadata/Makefile.am:
19592         * examples/metadata/read-metadata.c:
19593         * examples/mixer/.cvsignore:
19594         * examples/mixer/Makefile.am:
19595         * examples/mixer/mixer.c:
19596         * examples/mixer/mixer.h:
19597         * examples/pingpong/.cvsignore:
19598         * examples/pingpong/Makefile.am:
19599         * examples/pingpong/pingpong.c:
19600         * examples/plugins/.cvsignore:
19601         * examples/plugins/Makefile.am:
19602         * examples/plugins/example.c:
19603         * examples/plugins/example.h:
19604         * examples/pwg/.cvsignore:
19605         * examples/pwg/Makefile.am:
19606         * examples/pwg/extract.pl:
19607         * examples/queue/.cvsignore:
19608         * examples/queue/Makefile.am:
19609         * examples/queue/queue.c:
19610         * examples/queue2/.cvsignore:
19611         * examples/queue2/Makefile.am:
19612         * examples/queue2/queue2.c:
19613         * examples/queue3/.cvsignore:
19614         * examples/queue3/Makefile.am:
19615         * examples/queue3/queue3.c:
19616         * examples/queue4/.cvsignore:
19617         * examples/queue4/Makefile.am:
19618         * examples/queue4/queue4.c:
19619         * examples/retag/.cvsignore:
19620         * examples/retag/Makefile.am:
19621         * examples/retag/retag.c:
19622         * examples/retag/transcode.c:
19623         * examples/thread/.cvsignore:
19624         * examples/thread/Makefile.am:
19625         * examples/thread/thread.c:
19626         * examples/typefind/.cvsignore:
19627         * examples/typefind/Makefile.am:
19628         * examples/typefind/typefind.c:
19629         * examples/xml/.cvsignore:
19630         * examples/xml/Makefile.am:
19631         * examples/xml/createxml.c:
19632         * examples/xml/runxml.c:
19633         * tests/Makefile.am:
19634         * tests/check/Makefile.am:
19635         * testsuite/.cvsignore:
19636         * testsuite/Makefile.am:
19637         * testsuite/Rules:
19638         * testsuite/caps/.cvsignore:
19639         * testsuite/caps/Makefile.am:
19640         * testsuite/caps/app_fixate.c:
19641         * testsuite/caps/audioscale.c:
19642         * testsuite/caps/caps.c:
19643         * testsuite/caps/caps.h:
19644         * testsuite/caps/caps_strings:
19645         * testsuite/caps/compatibility.c:
19646         * testsuite/caps/deserialize.c:
19647         * testsuite/caps/enumcaps.c:
19648         * testsuite/caps/eratosthenes.c:
19649         * testsuite/caps/filtercaps.c:
19650         * testsuite/caps/fixed.c:
19651         * testsuite/caps/fraction-convert.c:
19652         * testsuite/caps/fraction-multiply-and-zero.c:
19653         * testsuite/caps/intersect2.c:
19654         * testsuite/caps/intersection.c:
19655         * testsuite/caps/normalisation.c:
19656         * testsuite/caps/random.c:
19657         * testsuite/caps/renegotiate.c:
19658         * testsuite/caps/sets.c:
19659         * testsuite/caps/simplify.c:
19660         * testsuite/caps/string-conversions.c:
19661         * testsuite/caps/structure.c:
19662         * testsuite/caps/subtract.c:
19663         * testsuite/caps/union.c:
19664         * testsuite/debug/.cvsignore:
19665         * testsuite/debug/Makefile.am:
19666         * testsuite/debug/category.c:
19667         * testsuite/debug/commandline.c:
19668         * testsuite/debug/global.c:
19669         * testsuite/debug/output.c:
19670         * testsuite/debug/printf_extension.c:
19671         * testsuite/dlopen/.cvsignore:
19672         * testsuite/dlopen/Makefile.am:
19673         * testsuite/dlopen/dlopen_gst.c:
19674         * testsuite/dlopen/loadgst.c:
19675         * testsuite/elements/.cvsignore:
19676         * testsuite/elements/Makefile.am:
19677         * testsuite/elements/gst-inspect-check.in:
19678         * testsuite/elements/struct_i386.h:
19679         * testsuite/elements/struct_size.c:
19680         * testsuite/indexers/.cvsignore:
19681         * testsuite/indexers/Makefile.am:
19682         * testsuite/indexers/cache1.c:
19683         * testsuite/indexers/indexdump.c:
19684         * testsuite/parse/.cvsignore:
19685         * testsuite/parse/Makefile.am:
19686         * testsuite/parse/parse1.c:
19687         * testsuite/parse/parse2.c:
19688         * testsuite/plugin/.cvsignore:
19689         * testsuite/plugin/Makefile.am:
19690         * testsuite/plugin/README:
19691         * testsuite/plugin/dynamic.c:
19692         * testsuite/plugin/linked.c:
19693         * testsuite/plugin/loading.c:
19694         * testsuite/plugin/registry.c:
19695         * testsuite/plugin/static.c:
19696         * testsuite/plugin/static2.c:
19697         * testsuite/plugin/testplugin.c:
19698         * testsuite/plugin/testplugin2.c:
19699         * testsuite/plugin/testplugin2_s.c:
19700         * testsuite/plugin/testplugin_s.c:
19701         * testsuite/refcounting/.cvsignore:
19702         * testsuite/refcounting/Makefile.am:
19703         * testsuite/refcounting/bin.c:
19704         * testsuite/refcounting/element.c:
19705         * testsuite/refcounting/element_pad.c:
19706         * testsuite/refcounting/mainloop.c:
19707         * testsuite/refcounting/mem.c:
19708         * testsuite/refcounting/mem.h:
19709         * testsuite/refcounting/object.c:
19710         * testsuite/refcounting/pad.c:
19711         * testsuite/refcounting/sched.c:
19712         * testsuite/refcounting/thread.c:
19713         * testsuite/states/.cvsignore:
19714         * testsuite/states/Makefile.am:
19715         * testsuite/states/bin.c:
19716         * testsuite/states/locked.c:
19717         * testsuite/states/parent.c:
19718         * testsuite/threads/.cvsignore:
19719         * testsuite/threads/159566.c:
19720         * testsuite/threads/159852.c:
19721         * testsuite/threads/Makefile.am:
19722         * testsuite/threads/queue.c:
19723         * testsuite/threads/signals.c:
19724         * testsuite/threads/staticrec.c:
19725         * testsuite/threads/thread.c:
19726         * testsuite/threads/threadb.c:
19727         * testsuite/threads/threadc.c:
19728         * testsuite/threads/threadd.c:
19729         * testsuite/threads/threade.c:
19730         * testsuite/threads/threadf.c:
19731         * testsuite/threads/threadg.c:
19732         * testsuite/threads/threadh.c:
19733         * testsuite/threads/threadi.c:
19734           move all of these under tests
19735
19736 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19737
19738         * configure.ac:
19739         * tests/Makefile.am:
19740           fix distcheck
19741
19742 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19743
19744         * docs/gst/gstreamer-sections.txt:
19745         * tests/sched/.cvsignore:
19746         * tests/sched/Makefile.am:
19747         * tests/sched/cases/(fs-fs).xml:
19748         * tests/sched/cases/(fs-i-fs).xml:
19749         * tests/sched/cases/(fs-i-i-fs).xml:
19750         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19751         * tests/sched/dynamic-pipeline.c:
19752         * tests/sched/interrupt1.c:
19753         * tests/sched/interrupt2.c:
19754         * tests/sched/interrupt3.c:
19755         * tests/sched/runtestcases:
19756         * tests/sched/runxml.c:
19757         * tests/sched/sched-stress.c:
19758         * tests/sched/sort.c:
19759         * tests/sched/testcases:
19760         * tests/sched/testcases1.tc:
19761         * tests/seeking/.cvsignore:
19762         * tests/seeking/Makefile.am:
19763         * tests/seeking/seeking1.c:
19764         * tests/threadstate/.cvsignore:
19765         * tests/threadstate/Makefile.am:
19766         * tests/threadstate/test1.c:
19767         * tests/threadstate/test2.c:
19768         * tests/threadstate/threadstate1.c:
19769         * tests/threadstate/threadstate2.c:
19770         * tests/threadstate/threadstate3.c:
19771         * tests/threadstate/threadstate4.c:
19772         * tests/threadstate/threadstate5.c:
19773           remove obsolete tests
19774         * configure.ac:
19775         * tests/bench-complexity.scm:
19776         * tests/bench-mass_elements.scm:
19777         * tests/complexity.c:
19778         * tests/complexity.gnuplot:
19779         * tests/instantiate/.cvsignore:
19780         * tests/instantiate/Makefile.am:
19781         * tests/instantiate/caps.c:
19782         * tests/mass_elements.c:
19783         * tests/network-clock-utils.scm:
19784         * tests/network-clock.scm:
19785         * tests/plot-data:
19786         First pass at cleaning up tests/ dir before moving the rest
19787         Combined with CVS surgery
19788
19789 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19790
19791         * po/POTFILES.in:
19792           queue has moved, update
19793
19794 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19795
19796         * docs/gst/gstreamer-sections.txt:
19797           remove double entries from the docs
19798         * gst/gst_private.h:
19799         * gst/gstinfo.c: (_gst_debug_init):
19800           remove the THREAD debug category
19801         * gst/Makefile.am:
19802         * gst/gstqueue.c:
19803         * gst/gstqueue.h:
19804         * docs/gst/gstreamer.types:
19805         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19806         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19807           completely move queue and fix up debugging categories
19808
19809 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19810
19811         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19812           make initialization portable, using LL is not
19813
19814 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19815
19816         * win32/common/gstconfig.h:
19817           add large padding
19818
19819 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19820
19821         * win32/common/libgstreamer.def:
19822           rename symbols; sort base section
19823
19824 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19825
19826         * gst/gstclock.c: (do_linear_regression):
19827           remove crack non-portable handrolled DEBUG macro
19828
19829 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19830
19831         * docs/random/release:
19832           update notes
19833         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19834         (gst_object_flags_get_type), (register_gst_bin_flags),
19835         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19836         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19837         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19838         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19839         (gst_caps_flags_get_type), (register_gst_clock_return),
19840         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19841         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19842         (gst_clock_flags_get_type), (register_gst_state),
19843         (gst_state_get_type), (register_gst_state_change_return),
19844         (gst_state_change_return_get_type), (register_gst_state_change),
19845         (gst_state_change_get_type), (register_gst_element_flags),
19846         (gst_element_flags_get_type), (register_gst_core_error),
19847         (gst_core_error_get_type), (register_gst_library_error),
19848         (gst_library_error_get_type), (register_gst_resource_error),
19849         (gst_resource_error_get_type), (register_gst_stream_error),
19850         (gst_stream_error_get_type), (register_gst_event_type_flags),
19851         (gst_event_type_flags_get_type), (register_gst_event_type),
19852         (gst_event_type_get_type), (register_gst_seek_type),
19853         (gst_seek_type_get_type), (register_gst_seek_flags),
19854         (gst_seek_flags_get_type), (register_gst_format),
19855         (gst_format_get_type), (register_gst_index_certainty),
19856         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19857         (gst_index_entry_type_get_type),
19858         (register_gst_index_lookup_method),
19859         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19860         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19861         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19862         (gst_index_flags_get_type), (register_gst_debug_level),
19863         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19864         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19865         (gst_iterator_result_get_type), (register_gst_iterator_item),
19866         (gst_iterator_item_get_type), (register_gst_message_type),
19867         (gst_message_type_get_type), (register_gst_mini_object_flags),
19868         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19869         (gst_pad_link_return_get_type), (register_gst_flow_return),
19870         (gst_flow_return_get_type), (register_gst_activate_mode),
19871         (gst_activate_mode_get_type), (register_gst_pad_direction),
19872         (gst_pad_direction_get_type), (register_gst_pad_flags),
19873         (gst_pad_flags_get_type), (register_gst_pad_presence),
19874         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19875         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19876         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19877         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19878         (gst_plugin_flags_get_type), (register_gst_rank),
19879         (gst_rank_get_type), (register_gst_query_type),
19880         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19881         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19882         (gst_tag_flag_get_type), (register_gst_task_state),
19883         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19884         (gst_alloc_trace_flags_get_type),
19885         (register_gst_type_find_probability),
19886         (gst_type_find_probability_get_type), (register_gst_uri_type),
19887         (gst_uri_type_get_type), (register_gst_parse_error),
19888         (gst_parse_error_get_type):
19889         * win32/common/gstenumtypes.h:
19890         * win32/common/gstversion.h:
19891           update visual studio generated files
19892
19893 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19894
19895         * win32/vs6/libgstbase.dsp:
19896         * win32/vs6/libgstelements.dsp:
19897           update project files for new locations
19898
19899 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19900
19901         * Makefile.am:
19902           remove some files
19903         * README:
19904           reinstate and update
19905         * DEVEL:
19906         * REQUIREMENTS:
19907           removed
19908         * LICENSE:
19909         * docs/random/LICENSE:
19910           moved to random
19911
19912 2005-11-30  Edward Hervey  <edward@fluendo.com>
19913
19914         * gst/gsttypefind.c: (gst_type_find_register):
19915         * gst/gsttypefind.h:
19916         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19917         (gst_type_find_factory_dispose):
19918         * gst/gsttypefindfactory.h:
19919         Fix memory leak in GstTypeFindFactory.
19920
19921 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19922
19923         * gst/gst.c:
19924         * plugins/elements/Makefile.am:
19925         * plugins/elements/gstelements.c:
19926         * plugins/elements/gstqueue.c:
19927           move queue from core to the elements plugin
19928
19929 2005-11-29  Andy Wingo  <wingo@pobox.com>
19930
19931         * libs/gst/base/gstbasetransform.h: 
19932         * libs/gst/base/gstbasesrc.h: 
19933         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19934
19935         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19936         of pointers by which to pad very extensible base classes (like the
19937         ones in libs/gst/base).
19938
19939 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19940
19941         * docs/gst/gstreamer-docs.sgml:
19942         * docs/gst/gstreamer-sections.txt:
19943         * docs/libs/gstreamer-libs-docs.sgml:
19944         * docs/libs/gstreamer-libs-sections.txt:
19945           moving documentation from core to lib
19946
19947 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19948
19949         * check/Makefile.am:
19950         * configure.ac:
19951         * docs/gst/Makefile.am:
19952         * gst/Makefile.am:
19953         * gst/base/.cvsignore:
19954         * gst/base/Makefile.am:
19955         * gst/base/README:
19956         * gst/base/gstadapter.c:
19957         * gst/base/gstadapter.h:
19958         * gst/base/gstbasesink.c:
19959         * gst/base/gstbasesink.h:
19960         * gst/base/gstbasesrc.c:
19961         * gst/base/gstbasesrc.h:
19962         * gst/base/gstbasetransform.c:
19963         * gst/base/gstbasetransform.h:
19964         * gst/base/gstcollectpads.c:
19965         * gst/base/gstcollectpads.h:
19966         * gst/base/gstpushsrc.c:
19967         * gst/base/gstpushsrc.h:
19968         * gst/base/gsttypefindhelper.c:
19969         * gst/base/gsttypefindhelper.h:
19970         * gst/check/Makefile.am:
19971         * gst/check/gstcheck.c:
19972         * gst/check/gstcheck.h:
19973         * gst/net/Makefile.am:
19974         * gst/net/gstnet.h:
19975         * gst/net/gstnetclientclock.c:
19976         * gst/net/gstnetclientclock.h:
19977         * gst/net/gstnettimepacket.c:
19978         * gst/net/gstnettimepacket.h:
19979         * gst/net/gstnettimeprovider.c:
19980         * gst/net/gstnettimeprovider.h:
19981         * libs/gst/Makefile.am:
19982         * libs/gst/base/Makefile.am:
19983         * libs/gst/base/gstbasetransform.c:
19984         * libs/gst/check/Makefile.am:
19985         * plugins/elements/Makefile.am:
19986         * po/POTFILES.in:
19987           CVS surgery + support to move base, check, and net out of gst
19988           and into libs/gst
19989
19990 2005-11-29  Andy Wingo  <wingo@pobox.com>
19991
19992         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19993
19994         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19995         padding.
19996
19997         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19998
19999         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
20000
20001         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
20002
20003         * gst/gstobject.h: (struct _GstObject): Only one pointer of
20004         padding; reduces object size by about 30%. We don't expect
20005         anything else to go into gstobject.
20006
20007         * gst/gstminiobject.h (struct _GstMiniObject)
20008         (struct _GstMiniObjectClass): Only one pointer of padding; the
20009         payload is only a pointer and two ints anyway. For the class there
20010         are only two methods as well.
20011         
20012         * gst/gstelement.h (struct _GstElementClass): Removed
20013         the state_changed signal callback, it is not used.
20014
20015 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20016
20017         * docs/gst/gstreamer.types:
20018           fix includes, though they are a little dinky
20019
20020 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
20021
20022         * check/Makefile.am:
20023           look in the right place for elements, a lot more chance of
20024           success
20025         * gst/Makefile.am:
20026           remove indexers and elements subdirs
20027         * plugins/Makefile.am:
20028           make indexers conditional
20029
20030 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
20031
20032         * Makefile.am:
20033         * configure.ac:
20034         * plugins/elements/Makefile.am:
20035         * plugins/elements/gstcapsfilter.c:
20036         * plugins/elements/gstfilesink.c:
20037         * plugins/elements/gstfilesrc.c:
20038         * plugins/elements/gstidentity.c:
20039         * plugins/indexers/Makefile.am:
20040           do CVS surgery and related build fixery to move elements
20041           and indexers in a new gstreamer/plugins directory, out of the
20042           gst/ directory
20043
20044 2005-11-29  Andy Wingo  <wingo@pobox.com>
20045
20046         * check/Makefile.am:
20047         * pkgconfig/gstreamer-net-uninstalled.pc.in:
20048         * pkgconfig/gstreamer-net.pc.in:
20049         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
20050         #322257.
20051
20052 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20053
20054         * tools/Makefile.am:
20055         * tools/gst-complete.1.in:
20056         * tools/gst-complete.c:
20057         * tools/gst-compprep.1.in:
20058         * tools/gst-compprep.c:
20059           removing -compprep and -complete
20060
20061 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20062
20063         * gst/gstevent.c: (gst_event_new_new_segment),
20064         (gst_event_parse_new_segment):
20065         * gst/gstevent.h:
20066           fix #320529 - clean up new_segment API and structure.
20067           Let's hope everyone was using the methods, and not the structure.
20068
20069 2005-11-29  Edward Hervey  <edward@fluendo.com>
20070
20071         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20072         (gst_base_sink_event), (gst_base_sink_do_sync),
20073         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20074         Properly handle non GST_FORMAT_TIME segment
20075         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20076         Properly handle non GST_FORMAT_TIME segment
20077         * gst/gstsegment.c:
20078         This function is valid if the accumulator is 0 and the format
20079         is different from the requested format.
20080         
20081 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
20082
20083         * docs/gst/gstreamer-sections.txt:
20084         Add gst_query_new_seeking and gst_query_parse_seeking to the
20085         docs.
20086
20087 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
20088
20089         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20090           Treat a pad alloc with new caps the same as if we were not
20091           negotiated, in order to allow a changing upstream output
20092           to produce a new format of data.
20093
20094 2005-11-29  Edward Hervey  <edward@fluendo.com>
20095
20096         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20097         (gst_base_transform_event), (gst_base_transform_eventfunc):
20098         The event virtual method is now properly implemented, with a default
20099         handler
20100         Sub classes should call the parent_class event method. They should
20101         return FALSE if they had a problem handling the given event, or don't
20102         want GstBaseTransform to send that even downstream
20103         * gst/elements/gstidentity.c: (gst_identity_class_init),
20104         (gst_identity_init), (gst_identity_event),
20105         (gst_identity_transform_ip), (gst_identity_set_property),
20106         (gst_identity_get_property):
20107         * gst/elements/gstidentity.h:
20108         Added the single-segment boolean property.
20109         If set to TRUE, it will output a single segment of data, starting from
20110         0, will eat up all incoming newsegment, and modify the timestamp of the
20111         buffers accordingly
20112
20113 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
20114
20115         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
20116           Don't ref NULL target pad (#322751). Improve docs.
20117
20118 2005-11-29  Michael Smith  <msmith@fluendo.com>
20119
20120         * gst/gstregistryxml.c: (load_plugin):
20121           Don't crash if we failed to load a feature from a plugin. 
20122
20123 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20124
20125         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20126         (GST_START_TEST):
20127           use more check API and less GLib API
20128
20129 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20130
20131         * Makefile.am:
20132           don't run checks if we don't have check
20133         * common/check.mak:
20134           remove the registry when running make torture
20135         * docs/gst/gstreamer-sections.txt:
20136           remove second multiply
20137         * gst/gstqueue.c: (gst_queue_loop):
20138           fix a compile warning when disabling debug
20139
20140 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20141
20142         * gst/gstinfo.h:
20143         Hey! Let's print the pad name if the pointer != NULL instead
20144         of when it == NULL :-)
20145
20146 2005-11-28  Wim Taymans  <wim@fluendo.com>
20147
20148         * check/gst/gstutils.c: (GST_START_TEST):
20149         Updated check, add some scaling accuracy checking code.
20150
20151         * gst/gstutils.c: (gst_util_div128_64),
20152         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20153         (gst_util_uint64_scale_int):
20154         Fix 6 times faster division code. Optimize for common 
20155         1/1 and less common X/1 cases.
20156
20157 2005-11-28  Wim Taymans  <wim@fluendo.com>
20158
20159         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20160         More checks.
20161
20162         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20163         (do_linear_regression), (gst_clock_add_observation):
20164         Cleanups.
20165         Release lock when the clock cannot be slaved.
20166         Catch the case where the regression returned an invalid denominator.
20167
20168         * gst/gstutils.c: (gst_util_div128_64_iterate),
20169         (gst_util_div128_64), (gst_util_uint64_scale_int64),
20170         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20171         Add protentially more performant non-iterative 128/64 divide function
20172         that unfortunatly does not work yet.
20173         Shortcut the trivial 0/X = 0 case.
20174         Remove the warnings on overflow.
20175
20176 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20177
20178         * gst/gstplugin.c: (gst_plugin_register_func):
20179           everything causing a plugin not to load should be at least a WARNING
20180
20181 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
20182
20183         * docs/random/ensonic/dparams.txt:
20184           some TODOs for the next dev cycle
20185         * libs/gst/controller/gstcontroller.c:
20186         (gst_controlled_property_set_interpolation_mode),
20187         (gst_controlled_property_new):
20188         * libs/gst/controller/gstcontroller.h:
20189           use base type to assign acccessor functions
20190
20191 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20192
20193         * check/Makefile.am:
20194         Oops, that should have been top_srcdir
20195
20196 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20197
20198         * check/Makefile.am:
20199         * check/elements/fdsrc.c: (GST_START_TEST):
20200         Use a cmdline define to specify the location of a file to use for
20201         testing, to avoid breaking distcheck.
20202
20203 2005-11-28  Andy Wingo  <wingo@pobox.com>
20204
20205         * gst/gstpad.c (fixate_value): Use array functions for arrays.
20206
20207 2005-11-28  Edward Hervey  <edward@fluendo.com>
20208
20209         * tools/gst-launch.c: (main):
20210         Clarify the output strings, makes it easier to translate.
20211         Fixes #322626
20212
20213 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20214
20215         * gst/Makefile.am:
20216           don't try and build net if we don't even have <sys/socket.h>
20217
20218 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
20219
20220         * check/Makefile.am:
20221         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20222         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20223           Add tests for fdsrc seekability
20224
20225         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20226         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20227         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20228         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20229         * gst/elements/gstfdsrc.h:
20230           fdsrc should not be a 'live' source.
20231           Implement seeking on seekable fd's.
20232
20233         * gst/gstquery.c: (gst_query_new_seeking),
20234         (gst_query_parse_seeking):
20235         * gst/gstquery.h:
20236           Implement SEEKING query functions: 
20237             *_new_seeking and *_parse_seeking
20238
20239 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
20240
20241         * gst/gstelement.c: (gst_element_dispose):
20242           don't loop forever
20243
20244         * gst/gstiterator.c:
20245         * gst/gststructure.c:
20246           doc fixes
20247
20248         * libs/gst/controller/gstcontroller.c:
20249         (gst_controlled_property_set_interpolation_mode):
20250         * libs/gst/controller/gstcontroller.h:
20251         * libs/gst/controller/gstinterpolation.c:
20252         (interpolate_none_get_enum_value_array):
20253           support controlling enums
20254
20255 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20256
20257         * gst/gstvalue.c:
20258           Improve documentation for gst_value_union().
20259
20260         * gst/gstvalue.h:
20261           Change return value for union, intersect and subtract functions
20262           from gint to gboolean.
20263
20264 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20265
20266         * gst/gstvalue.c: (gst_value_serialize_any_list),
20267         (gst_value_transform_any_list_string),
20268         (gst_value_deserialize_list), (gst_value_deserialize_array),
20269         (gst_value_set_int_range), (gst_value_deserialize_int_range),
20270         (gst_value_set_double_range), (gst_value_deserialize_double_range),
20271         (gst_value_set_fraction_range_full),
20272         (gst_value_deserialize_fraction_range),
20273         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20274         (gst_value_deserialize_boolean),
20275         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20276         (gst_value_serialize_float), (gst_value_deserialize_float),
20277         (gst_string_wrap), (gst_value_deserialize_string),
20278         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20279         (gst_value_union_int_range_int_range),
20280         (gst_value_intersect_int_range_int_range),
20281         (gst_value_intersect_double_range_double_range),
20282         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20283         (gst_value_subtract_int_range_int_range),
20284         (gst_value_subtract_double_double_range),
20285         (gst_value_subtract_double_range_double_range),
20286         (gst_value_deserialize_fraction):
20287         * gst/gstvalue.h:
20288           Use gint, gdouble and gchar in our API instead of int, double and
20289           char (and make usage in gstvalue.c more consistent).
20290
20291 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20292
20293         * check/Makefile.am:
20294         * libs/gst/controller/Makefile.am:
20295         * libs/gst/dataprotocol/Makefile.am:
20296           fix up Makefile.am and remove GST_ENABLE_NEW
20297
20298 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20299
20300         * configure.ac:
20301         * gst/Makefile.am:
20302         * gst/base/Makefile.am:
20303         * gst/check/Makefile.am:
20304         * gst/elements/Makefile.am:
20305         * gst/net/Makefile.am:
20306           update LDFLAGS use some more
20307
20308 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20309
20310         * common/m4/gst-doc.m4:
20311           Fixes #312589
20312
20313 2005-11-26  Edward Hervey  <edward@fluendo.com>
20314
20315         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20316         This shouldn't issue a g_warning since it returns NULL if it
20317         couldn't find the plugin, and all functions using this behave
20318         properly on a NULL return. Switching to a GST_WARNING.
20319
20320 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
20321
20322         * gst/gstbin.c: (gst_bin_handle_message_func):
20323         Don't leak clock messages.
20324
20325 2005-11-25  Wim Taymans  <wim@fluendo.com>
20326
20327         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20328         (gst_util_uint64_scale_int):
20329         Optimisations, remove unneeded vars.
20330
20331 2005-11-25  Wim Taymans  <wim@fluendo.com>
20332
20333         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20334         Added more checks for the high precision uint64 cases.
20335
20336         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20337         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20338         Implement high precision (guint64 * guint64) / guint64.
20339
20340 2005-11-24  Wim Taymans  <wim@fluendo.com>
20341
20342         * gst/base/gstbasesrc.c: (gst_base_src_query):
20343         Fix wrong percentage query.
20344
20345         * gst/gstutils.c: (gst_util_uint64_scale),
20346         (gst_util_uint64_scale_int):
20347         Add some more common cases that can be handled 
20348         efficiently to _scale.
20349
20350 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20351
20352         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20353         (gst_mini_object_suite):
20354           don't use check calls from threads; check probably isn't
20355           threadsafe and using a lock to make it threadsafe would
20356           defeat the purpose of this check
20357         * gst/check/gstcheck.c:
20358         * gst/check/gstcheck.h:
20359           use GST_DEBUG some more
20360
20361 2005-11-24  Wim Taymans  <wim@fluendo.com>
20362
20363         * gst/gstutils.c: (gst_util_uint64_scale),
20364         (gst_util_uint64_scale_int):
20365         Chain trivial case to _scale_int.
20366
20367 2005-11-24  Wim Taymans  <wim@fluendo.com>
20368
20369         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20370         Added test for scaling.
20371
20372         * gst/gstclock.h:
20373         Small doc fix.
20374
20375         * gst/gstutils.c: (gst_util_uint64_scale_int):
20376         Implemented high precision scaling code.
20377
20378 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
20379
20380         * gst/gstinfo.h:
20381           do not crash on pad==NULL
20382
20383 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20384
20385         Patch by: Stefan Kost
20386
20387         * common/gtk-doc.mak:
20388         * docs/gst/Makefile.am:
20389         * docs/libs/Makefile.am:
20390           Fix distcheck issues for the libraries docs build
20391           Closes #319599.
20392
20393 2005-11-24  Michael Smith <msmith@fluendo.com>
20394
20395         * docs/manual/basics-helloworld.xml:
20396           Fix bug #315027: memory leak in example code in docs.
20397
20398 2005-11-24  Michael Smith <msmith@fluendo.com>
20399
20400         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20401           Unlock the PREROLL_LOCK in a failure case.
20402
20403 2005-11-24  Wim Taymans  <wim@fluendo.com>
20404
20405         * docs/gst/gstreamer-sections.txt:
20406         * gst/base/gstadapter.h:
20407         * gst/base/gstbasesink.h:
20408         * gst/base/gstbasesrc.h:
20409         * gst/base/gstbasetransform.h:
20410         * gst/base/gstpushsrc.h:
20411         * gst/elements/gstfakesink.h:
20412         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20413         * gst/elements/gstfakesrc.h:
20414         * gst/elements/gstfilesink.h:
20415         * gst/elements/gstfilesrc.h:
20416         * gst/gst.c:
20417         * gst/gstbin.c:
20418         * gst/gstbuffer.c: (_gst_buffer_copy):
20419         * gst/gstbus.h:
20420         * gst/gstcaps.c:
20421         * gst/gstchildproxy.c:
20422         * gst/gstclock.c:
20423         * gst/gstelement.c:
20424         * gst/gstelementfactory.c:
20425         * gst/gstelementfactory.h:
20426         * gst/gstevent.c:
20427         * gst/gstghostpad.h:
20428         * gst/gstindex.h:
20429         * gst/gstinterface.h:
20430         * gst/gstminiobject.c:
20431         * gst/gstminiobject.h:
20432         * gst/gstpad.c:
20433         * gst/gstpad.h:
20434         * gst/gstpadtemplate.h:
20435         * gst/gstpipeline.h:
20436         * gst/gstpluginfeature.h:
20437         * gst/gstquery.h:
20438         * gst/gstqueue.h:
20439         * gst/gsttaglist.c:
20440         * gst/gsttaglist.h:
20441         * gst/gsttagsetter.c:
20442         * gst/gsttagsetter.h:
20443         * gst/gsttrace.c:
20444         * gst/gsttrace.h:
20445         * gst/gsttypefind.h:
20446         * gst/gsturi.h:
20447         * gst/gstvalue.c:
20448         * gst/net/gstnetclientclock.c:
20449         * gst/net/gstnetclientclock.h:
20450         * gst/net/gstnettimepacket.c:
20451         * gst/net/gstnettimeprovider.c:
20452         * gst/net/gstnettimeprovider.h:
20453         Doc fixes.
20454
20455 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20456
20457         * configure.ac: back to HEAD
20458
20459 === release 0.9.6 ===
20460
20461 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20462
20463         * configure.ac:
20464           releasing 0.9.6, "Always On Time"
20465
20466 2005-11-23  Wim Taymans  <wim@fluendo.com>
20467
20468         * docs/gst/gstreamer-sections.txt:
20469         * gst/glib-compat.c:
20470         * gst/gsttagsetter.c:
20471         * gst/gstvalue.c:
20472         * gst/net/gstnetclientclock.c:
20473         * gst/net/gstnettimepacket.h:
20474         Doc updates.
20475
20476 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20477
20478         * docs/faq/using.xml:
20479         * docs/libs/tmpl/gstcontrol.sgml:
20480         * docs/manual/advanced-dparams.xml:
20481         * docs/manual/appendix-checklist.xml:
20482         * docs/manual/basics-elements.xml:
20483         * docs/pwg/other-source.xml:
20484         * docs/random/moving-plugins:
20485         * gst/gstpad.c:
20486         * tools/gst-launch.1.in:
20487           remove mentions of sinesrc
20488
20489 2005-11-23  Michael Smith <msmith@fluendo.com>
20490
20491         * docs/gst/gstreamer-sections.txt:
20492           Update for new API and API changes.
20493         * gst/gstobject.h:
20494           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20495         * gst/gstvalue.c:
20496           Documentation typo fix.
20497         * gst/net/gstnettimepacket.c:
20498           Documentation fixes for arguments.
20499
20500 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20501
20502         * gst/gststructure.c: (gst_structure_get_fraction),
20503         (gst_structure_parse_value),
20504         (gst_structure_fixate_field_nearest_fraction):
20505         * gst/gststructure.h:
20506         * gst/gstutils.c: (gst_util_uint64_scale_int):
20507         * gst/gstutils.h:
20508         * scripts/update-funcnames:
20509         API Changes. 
20510         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20511         Make gst_structure_fixate_field_nearest_fraction take a numerator
20512         and denominator argument instead of a GValue
20513         add gst_structure_get_fraction helper function.
20514
20515 2005-11-23  Wim Taymans  <wim@fluendo.com>
20516
20517         * docs/design/part-TODO.txt:
20518         Update TODO.
20519
20520         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20521         * gst/net/gstnetclientclock.h:
20522         Use parent fields for timeout and window_size.
20523
20524 2005-11-23  Andy Wingo  <wingo@pobox.com>
20525
20526         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20527         rate_num/rate_denom change.
20528
20529         * gst/net/gstnetclientclock.c
20530         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20531         OBJECT_LOCK. Don't call add_observation with the lock.
20532
20533         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20534         fraction.
20535         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20536         rate fraction.
20537         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20538         deal with rate as a fraction whose numerator and denominator are
20539         GstClockTime values.
20540         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20541         master; the other fields are protected by the SLAVE_LOCK.
20542         (do_linear_regression): Note that this must be called with the
20543         SLAVE_LOCK.
20544         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20545         OBJECT_LOCK. Call set_calibration instead of touching the
20546         variables directly.
20547         (gst_clock_set_property, gst_clock_get_property): Protect
20548         master/slave parameters with the SLAVE_LOCK.
20549
20550         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20551         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20552         note that all of the instance variables that add_observation and
20553         the set_master functions use are protected by that lock and not
20554         the OBJECT_LOCK.
20555         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20556
20557         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20558         the caller to take the object lock.
20559
20560 2005-11-23  Wim Taymans  <wim@fluendo.com>
20561
20562         * gst/gsterror.c: (_gst_core_errors_init):
20563         * gst/gsterror.h:
20564         Add error for clock stuff.
20565
20566         * gst/gstpipeline.c: (gst_pipeline_change_state),
20567         (gst_pipeline_set_clock):
20568         Post clock error when clock cannot be used in a pipeline.
20569
20570 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20571
20572         * docs/gst/gstreamer-sections.txt:
20573           make two symbols from gstinfo private for the docs
20574         * gst/base/gstcollectpads.h:
20575         * gst/gstutils.c:
20576           fix doc typos, update docs
20577
20578 2005-11-22  Wim Taymans  <wim@fluendo.com>
20579
20580         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20581         (gst_base_sink_wait), (gst_base_sink_do_sync),
20582         (gst_base_sink_handle_event):
20583         * gst/base/gstbasesink.h:
20584         No need to store the clock, the parent element class already
20585         has it.
20586
20587         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20588         Updates for clock_set returning a gboolean
20589
20590         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20591         (gst_clock_id_wait_async), (gst_clock_class_init),
20592         (gst_clock_init), (gst_clock_finalize),
20593         (gst_clock_get_internal_time), (gst_clock_get_time),
20594         (gst_clock_slave_callback), (gst_clock_set_master),
20595         (gst_clock_get_master), (do_linear_regression),
20596         (gst_clock_add_observation), (gst_clock_set_property),
20597         (gst_clock_get_property):
20598         * gst/gstclock.h:
20599         Implement master/slave. When setting a clock as a slave, a
20600         periodic timeout is scheduled to sample master and slave times.
20601         Then the slave clock is recalibrated to match offset and rate
20602         of the master clock.
20603         Update logging a bit.
20604         Add flag so that a clock can state that is cannot be slaved to
20605         another clock.
20606
20607         * gst/gstelement.c: (gst_element_set_clock):
20608         * gst/gstelement.h:
20609         The set clock returns a gboolean for when an element cannot
20610         deal with the selected clock in the pipeline. 
20611
20612         * gst/gstpipeline.c: (gst_pipeline_change_state),
20613         (gst_pipeline_set_clock):
20614         * gst/gstpipeline.h:
20615         Handle the case where the selected clock cannot be set on
20616         the pipeline.
20617
20618         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20619         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20620         (gst_net_client_clock_set_property),
20621         (gst_net_client_clock_get_property),
20622         (gst_net_client_clock_observe_times):
20623         * gst/net/gstnetclientclock.h:
20624         Use regression code in GstClock parent, remove duplicated
20625         functionality.
20626
20627 2005-11-22  Michael Smith <msmith@fluendo.com>
20628
20629         * gst/gstutils.c: (gst_util_clock_time_scale):
20630         * gst/gstutils.h:
20631         * docs/gst/gstreamer-sections.txt:
20632           Rename method to have extra underscore.
20633
20634 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20635
20636         * gst/elements/Makefile.am:
20637         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20638         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20639         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20640         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20641         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20642         * gst/elements/gstfakesrc.h:
20643         * gst/gstqueue.c: (queue_leaky_get_type):
20644           correctly fix GEnumValues so that nick is the short lowercase
20645           dashed tag
20646         * tools/gst-inspect.c: (print_element_properties_info):
20647           also show the nick, since it's useful to use from parse_launch
20648           syntax
20649           Fixes #322139
20650
20651 2005-11-22  Michael Smith <msmith@fluendo.com>
20652
20653         * gst/gstutils.c: (gst_util_clocktime_scale):
20654         * gst/gstutils.h:
20655         * docs/gst/gstreamer-sections.txt:
20656           Add util method for scaling a clocktime by a fraction. Useful 
20657           implementation is left as an exercise for the reader.
20658
20659 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20660
20661         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20662         If needed, allocate storage in the destination value during
20663         collection.
20664
20665 2005-11-22  Edward Hervey  <edward@fluendo.com>
20666
20667         * docs/gst/gstreamer-sections.txt:
20668         * gst/Makefile.am:
20669         * gst/gst.h:
20670         * gst/gsturitype.c:
20671         * gst/gsturitype.h:
20672         * gst/gstutils.c: (gst_util_set_object_arg):
20673         * tools/gst-compprep.c: (main):
20674         * tools/gst-inspect.c: (print_element_properties_info):
20675         Removed GstURI, closes bug #321061
20676
20677 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20678
20679         * check/gst/gststructure.c: (GST_START_TEST):
20680         * gst/gststructure.c: (gst_structure_parse_value):
20681           Oops, broke automatic string type parsing.
20682           Add a test to catch it in future.
20683
20684 2005-11-22  Andy Wingo  <wingo@pobox.com>
20685
20686         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20687         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20688         Actually rename the function implementations. Grr.
20689
20690 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20691
20692         * check/gst/capslist.h:
20693           Comment test cases
20694         * check/gst/gststructure.c: (GST_START_TEST),
20695         (gst_structure_suite):
20696           Test automatic value type detection in gst_structure_from_string.
20697         * gst/gststructure.c: (gst_structure_parse_value):
20698           Add fraction as a type we try and guess automatically in
20699           caps/structure strings.
20700
20701 2005-11-22  Andy Wingo  <wingo@pobox.com>
20702
20703         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20704
20705         * gst/gsttagsetter.h:
20706         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20707         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20708         (gst_tag_setter_add_tag_valist)
20709         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20710         _add_values, _add_valist, and _add_valist_values. Since this is an
20711         interface the function suffixes should be more explicit so
20712         language binding don't end up with element.add_valist ->
20713         gst_tag_setter_add_valist, for example. Fixes #322069.
20714
20715 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20716
20717         * check/gst/gstcaps.c: (GST_START_TEST):
20718           Extend caps string tests to check that a caps to string
20719           conversion is reversible and produces the same caps.
20720
20721         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20722           Output "fraction" as the generic type fraction range, so caps
20723           serialisation and deserialisation works.
20724         * check/gst/capslist.h:
20725         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20726           Support 'MIN' and 'MAX' for deserialising fractions.
20727
20728 2005-11-22  Andy Wingo  <wingo@pobox.com>
20729
20730         * gst/gstevent.h (gst_event_new_new_segment)
20731         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20732         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20733         Renamed from *_newsegment, *_buffersize, *_notarget.
20734
20735         * scripts/update-funcnames: New script, performs the changes
20736         listed above.
20737
20738 2005-11-22  Wim Taymans  <wim@fluendo.com>
20739
20740         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20741         Make sure the GstFlowReturn is returned.
20742
20743         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20744         (gst_bus_add_signal_watch):
20745         * gst/gstbus.h:
20746         add gst_bus_add_signal_watch_full.
20747
20748         * gst/gstplugin.c: (gst_plugin_load_file):
20749         Small style cleanup.
20750
20751 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20752
20753         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20754           Block the fakesrc srcpad when we send an event, to avoid
20755           contention on the stream_lock causing random test failures.
20756
20757 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20758
20759         * check/gst/gstvalue.c: (GST_START_TEST):
20760         * gst/gstvalue.c: (gst_value_fraction_subtract):
20761           Fix subtraction.
20762
20763 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20764
20765         * gst/gst.h:
20766           include "gstchildproxy.h"
20767         * gst/gstchildproxy.h:
20768         * libs/gst/controller/gstcontroller.h:
20769           use G_GNUC_NULL_TERMINATED
20770
20771 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20772
20773         * check/gst/capslist.h:
20774         * check/gst/gstcaps.c: (GST_START_TEST):
20775         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20776         * gst/gststructure.c: (gst_structure_parse_range),
20777         (gst_structure_fixate_field_nearest_fraction):
20778         * gst/gststructure.h:
20779         * gst/gstvalue.c: (gst_value_init_fraction_range),
20780         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20781         (gst_value_collect_fraction_range),
20782         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20783         (gst_value_set_fraction_range_full),
20784         (gst_value_get_fraction_range_min),
20785         (gst_value_get_fraction_range_max),
20786         (gst_value_serialize_fraction_range),
20787         (gst_value_transform_fraction_range_string),
20788         (gst_value_compare_fraction_range),
20789         (gst_value_deserialize_fraction_range),
20790         (gst_value_intersect_fraction_fraction_range),
20791         (gst_value_intersect_fraction_range_fraction_range),
20792         (gst_value_subtract_fraction_fraction_range),
20793         (gst_value_subtract_fraction_range_fraction),
20794         (gst_value_subtract_fraction_range_fraction_range),
20795         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20796         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20797         (gst_value_transform_string_fraction), (_gst_value_initialize):
20798         * gst/gstvalue.h:
20799           Implement fraction ranges and extend GstFraction to support
20800           arithmetic subtraction, as well as deserialization from integer
20801           strings such as "100"
20802           Add a testsuite as for int and double range set operations
20803
20804 2005-11-21  Andy Wingo  <wingo@pobox.com>
20805
20806         * gst/gsttaglist.h: 
20807         * gst/gstcaps.h: 
20808         * gst/gststructure.h: Add glib-compat.h.
20809
20810 2005-11-21  Wim Taymans  <wim@fluendo.com>
20811
20812         * gst/gstbin.c: (gst_bin_change_state_func):
20813         Fix for #321595
20814
20815 2005-11-21  Wim Taymans  <wim@fluendo.com>
20816
20817         * gst/gstsegment.h:
20818         And add a nice define too.
20819
20820 2005-11-21  Wim Taymans  <wim@fluendo.com>
20821
20822         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20823         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20824         (gst_segment_set_duration), (gst_segment_set_last_stop),
20825         (gst_segment_set_seek), (gst_segment_set_newsegment),
20826         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20827         (gst_segment_clip):
20828         * gst/gstsegment.h:
20829         Make binding friendly.
20830
20831 2005-11-21  Andy Wingo  <wingo@pobox.com>
20832
20833         * gst/gsttagsetter.h: 
20834         * gst/gsttaglist.h: 
20835         * gst/gststructure.h: 
20836         * gst/gstcaps.h: 
20837         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20838         #319940.
20839
20840         * gst/gsterror.c (_gst_core_errors_init):
20841         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20842         category.
20843
20844         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20845         (noinst_HEADERS): noinst the -private.
20846
20847 2005-11-21  Michael Smith <msmith@fluendo.com>
20848
20849         * gst/gstplugin.h:
20850         * gst/gstregistry.h:
20851           Remove unimplemented declarations for which we can see no sensible
20852           use.
20853
20854 2005-11-21  Andy Wingo  <wingo@pobox.com>
20855
20856         * gst/gst.h: Include glib-compat.h.
20857
20858         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20859
20860         * gst/glib-compat.c: Include the public and the private header.
20861
20862         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20863
20864         * gst/gstvalue.c: 
20865         * gst/gstpad.c: 
20866         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20867
20868         * check/gst/gstevent.c (create_custom_events): Check that
20869         FLUSH_STOP is serialized.
20870
20871         * check/elements/identity.c (event_func): 
20872         * check/elements/fakesrc.c (event_func): No stream lock, the core
20873         takes it.
20874
20875         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20876         stream lock taking, yay.
20877
20878         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20879         ensure that core takes the stream lock.
20880
20881         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20882         lock name change.
20883
20884         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20885         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20886         it already. For the flush start we do take it though so we get the
20887         right preroll state change messages.
20888
20889         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20890         the stream lock here, the core does it for us.
20891
20892         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20893         GST_STREAM_GET_LOCK.
20894         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20895         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20896         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20897         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20898         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20899         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20900
20901         * gst/gstpad.c: Update for stream lock name change.
20902
20903         * gst/base/gstbasesink.c: Update for preroll lock name change.
20904
20905 2005-11-21  Wim Taymans  <wim@fluendo.com>
20906
20907         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20908         (gst_clock_get_master):
20909         * gst/gstclock.h:
20910         * gst/gstsystemclock.c: (gst_system_clock_init):
20911         Convert Clock flags to object flags.
20912         Added methods to manage master/slave clocks.
20913
20914 2005-11-21  Wim Taymans  <wim@fluendo.com>
20915
20916         * check/gst/gstsegment.c: (GST_START_TEST):
20917         * docs/design/part-TODO.txt:
20918         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20919         (gst_base_sink_event), (gst_base_sink_do_sync),
20920         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20921         (gst_base_sink_query), (gst_base_sink_change_state):
20922         * gst/base/gstbasesink.h:
20923         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20924         (gst_base_src_default_newsegment),
20925         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20926         (gst_base_src_get_range), (gst_base_src_loop),
20927         (gst_base_src_change_state):
20928         * gst/base/gstbasesrc.h:
20929         * gst/base/gstbasetransform.c:
20930         (gst_base_transform_prepare_output_buf),
20931         (gst_base_transform_event), (gst_base_transform_change_state):
20932         * gst/base/gstbasetransform.h:
20933         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20934         (gst_collect_pads_event):
20935         * gst/base/gstcollectpads.h:
20936         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20937         (gst_fake_src_create):
20938         * gst/elements/gstfakesrc.h:
20939         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20940         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20941         (gst_segment_set_last_stop), (gst_segment_set_seek),
20942         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20943         (gst_segment_to_running_time), (gst_segment_clip):
20944         * gst/gstsegment.h:
20945         More segment updates, replace code in plugins with segment
20946         helper functions.
20947
20948 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20949
20950         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20951         Don't ignore sscanf results
20952
20953 2005-11-21  Andy Wingo  <wingo@pobox.com>
20954
20955         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20956
20957         * *.h:
20958         * *.c: Ran scripts/update-macros. Oh yes.
20959
20960         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20961         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20962         GST_GET_LOCK, etc.
20963
20964         * scripts/update-macros: New script. Run it on your files to
20965         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20966         well.
20967
20968 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20969
20970         * docs/gst/Makefile.am:
20971         * docs/gst/gstreamer-docs.sgml:
20972         * docs/gst/gstreamer-sections.txt:
20973         * docs/gst/gstreamer.types:
20974         * gst/gstinfo.h:
20975           more docs fixes, add new api to the docs
20976
20977 2005-11-21  Andy Wingo  <wingo@pobox.com>
20978
20979         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20980         state_broadcast call.
20981
20982         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20983
20984 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20985
20986         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20987         function calls for arrays.
20988
20989 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20990
20991         * docs/random/ensonic/media-device-daemon.txt:
20992           wild idea, can this be done?
20993         * docs/gst/gstreamer-sections.txt:
20994         * gst/gsterror.h:
20995         * gst/gstfilter.c:
20996         * gst/gstfilter.h:
20997         * gst/gstplugin.h:
20998         * gst/gstpluginfeature.c:
20999         * gst/gsttrace.c:
21000         * gst/gstvalue.c:
21001         * gst/gstvalue.h:
21002           doc fixes and additions
21003
21004 2005-11-21  Andy Wingo  <wingo@pobox.com>
21005
21006         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
21007         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
21008         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
21009         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
21010         private to the basesrc implementation.
21011
21012         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
21013         behalf of event function if necessary. It should no longer be
21014         necessary to take the stream lock in pad's event functions. Fixes
21015         #320299.
21016
21017 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
21018         * docs/gst/gstreamer-sections.txt:
21019         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
21020         (gst_structure_fixate_field_nearest_double),
21021         (gst_structure_fixate_field_boolean):
21022         * gst/gststructure.h:
21023         * win32/common/libgstreamer.def:
21024         * win32/gstreamer.def:
21025
21026         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
21027         (#322027)
21028
21029 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
21030
21031         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
21032         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
21033         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
21034         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
21035         (gst_fdsrc_uri_handler_init):
21036         * gst/elements/gstfdsrc.h:
21037           Port fd:// URI handler from 0.8 to fdsrc
21038
21039 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21040
21041         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
21042         (gst_value_serialize_fourcc):
21043         * gst/gstvalue.h:
21044           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
21045           consistent with our other format defines (#320324).
21046
21047 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21048
21049         * gst/gstvalue.c: (gst_value_is_fixed):
21050           Revert previous commit. Value lists are by definition
21051           not fixed, as they are a list of possible values.
21052
21053 2005-11-21  Andy Wingo  <wingo@pobox.com>
21054
21055         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
21056         during the stable series if we need it. Fixes #319178.
21057
21058         * gst/gstevent.c (gst_event_new_filler): Removed.
21059
21060         * check/gst/gstevent.c: Update comment about filler events.
21061
21062 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21063
21064         * gst/gstvalue.c: (gst_value_is_fixed):
21065           Should handle both value arrays and value lists.
21066
21067 2005-11-21  Andy Wingo  <wingo@pobox.com>
21068
21069         patch by: Alessandro Dessina <alessandro nnva org>
21070
21071         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
21072         functions to access arrays. Fixes #321962.
21073
21074 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21075
21076         * docs/gst/gstreamer.types:
21077           gst_collectpads_get_type => gst_collect_pads_get_type.
21078           
21079         * gst/base/gstbasetransform.c:
21080           Remove unused SIGNAL_HANDOFF enum.
21081
21082 2005-11-21  Andy Wingo  <wingo@pobox.com>
21083
21084         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
21085         the event type (upstream, downstream, serialized). Renamed
21086         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
21087         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
21088         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
21089
21090         * gst/gstevent.c: Update for new CUSTOM event names.
21091
21092         * check/gst/gstevent.c: Update check for new CUSTOM event names.
21093
21094         * gst/gstevent.h:
21095         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
21096         bug #319392.
21097
21098 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21099
21100         * docs/gst/gstreamer-sections.txt:
21101         * win32/common/libgstbase.def:
21102         * win32/libgstbase.def:
21103         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
21104         (gst_collect_pads_class_init), (gst_collect_pads_init),
21105         (gst_collect_pads_finalize), (gst_collect_pads_new),
21106         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
21107         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
21108         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
21109         (gst_collect_pads_start), (gst_collect_pads_stop),
21110         (gst_collect_pads_peek), (gst_collect_pads_pop),
21111         (gst_collect_pads_available), (gst_collect_pads_read),
21112         (gst_collect_pads_flush), (gst_collect_pads_event),
21113         (gst_collect_pads_chain):
21114         * gst/base/gstcollectpads.h:
21115           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
21116           unimplemented functions as unimplemented. Add padding to
21117           GstCollectData. (#320766, #320423)
21118
21119 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21120
21121         * gst/gstmessage.c:
21122           Improve docs for DURATION message (usage of duration parameter)
21123           (#320113)
21124
21125 2005-11-20  Wim Taymans  <wim@fluendo.com>
21126
21127         * check/Makefile.am:
21128         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
21129         (main):
21130         * gst/Makefile.am:
21131         * gst/gst.h:
21132         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
21133         (gst_segment_set_seek), (gst_segment_set_newsegment),
21134         (gst_segment_to_stream_time), (gst_segment_to_running_time),
21135         (gst_segment_clip):
21136         * gst/gstsegment.h:
21137         Added segment helper structure and methods. Not fully implemented
21138         yet.
21139         Added segment check.
21140
21141 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
21142
21143         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21144           Add a deserialisation test for fractions
21145         * examples/metadata/read-metadata.c: (message_loop),
21146         (make_pipeline), (main):
21147           Fix up metadata reading sample.
21148         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21149           Debug format fix
21150         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21151           Don't try and fixate empty caps
21152         * gst/gst_private.h:
21153           Wrap in G_BEGIN_DECLS/G_END_DECLS
21154         * gst/gstvalue.c: (gst_value_collect_fraction),
21155         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21156         (gst_value_transform_string_fraction),
21157         (gst_value_compare_fraction):
21158           Add some extra guards to ensure that we don't end up 
21159           with an invalid denominator of 0 in a gstfraction and
21160           that fractions always get reduced.
21161
21162 2005-11-20  Wim Taymans  <wim@fluendo.com>
21163
21164         * docs/gst/gstreamer-sections.txt:
21165         * gst/gstbuffer.h:
21166         * gst/gstelement.c:
21167         * gst/gstformat.c:
21168         * gst/gstformat.h:
21169         * gst/gstindex.h:
21170         * gst/gstquery.c:
21171         * gst/gstquery.h:
21172         * gst/gstvalue.c:
21173         Doc fixes.
21174
21175 2005-11-20  Wim Taymans  <wim@fluendo.com>
21176
21177         * docs/design/part-TODO.txt:
21178         * gst/gstcaps.h:
21179         Make a proper enum of the flag.
21180
21181 2005-11-19  Wim Taymans  <wim@fluendo.com>
21182
21183         * docs/design/part-TODO.txt:
21184         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21185         (gst_format_to_quark), (gst_format_register):
21186         * gst/gstformat.h:
21187         * gst/gstquery.c: (_gst_query_initialize),
21188         (gst_query_type_get_name), (gst_query_type_to_quark),
21189         (gst_query_type_register):
21190         * gst/gstquery.h:
21191         Add type to quark and type to string conversions.
21192
21193 2005-11-19  Andy Wingo  <wingo@pobox.com>
21194
21195         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21196         #320097.
21197
21198 2005-11-19  Wim Taymans  <wim@fluendo.com>
21199
21200         * docs/design/part-TODO.txt:
21201         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21202         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21203         (gst_bin_handle_message_func):
21204         * gst/gstbin.h:
21205         Make message handling overridable.
21206
21207 2005-11-19  Andy Wingo  <wingo@pobox.com>
21208
21209         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21210
21211         * gst/gstclock.h:
21212         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21213         be a GstClockTime.
21214         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21215         is a GstClockTime. Fixes #321710.
21216
21217         * gst/gstclock.h (GstClock): Remove offset property. Add
21218         internal_calibration and external_calibration. Fix padding. Pad
21219         also by GstClockTime so we don't run into problems.
21220
21221         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21222         (gst_clock_get_rate_offset): Remove.
21223         (gst_clock_set_time_adjust): Remove. Fixes #321712.
21224
21225         * gst/gstutils.h:
21226         * gst/gstutils.c (g_static_rec_cond_wait)
21227         (g_static_rec_cond_timed_wait): Removed, no longer needed.
21228
21229         * gst/gstbin.c: Remove terrible continue_state prototype.
21230
21231         * gst/gstelement.h (gst_element_continue_state): Make public.
21232
21233         * gst/gstelement.h:
21234         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21235         by continue_state. Fixes #319389.
21236
21237         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21238         Really fixes #168438. However I don't see anywhere where the
21239         filter function is called... stupid GStreamer...
21240         
21241         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21242         don't have a dispose function, so it won't get called when the
21243         object is unreffed, but oh well!
21244
21245         * gst/gstindex.c (gst_index_set_filter_full): New API function,
21246         allows a destroy function to be set so user_data can be freed.
21247         Fixes #168438.
21248         (gst_index_set_filter): Call gst_index_set_filter_full.
21249
21250         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21251
21252         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21253         string should produce an error, given the lack of a way to
21254         represent NULL strings. Fixes #165650.
21255         
21256         * gst/gstvalue.h: 
21257         * gst/gstvalue.c (gst_value_array_append_value) 
21258         (gst_value_array_prepend_value, gst_value_array_get_size) 
21259         (gst_value_array_get_value): New API, copied from
21260         gst_value_list_*, only operates on arrays.
21261         (gst_value_list_append_value, gst_value_list_prepend_value) 
21262         (gst_value_list_concat, gst_value_list_get_size) 
21263         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21264
21265         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21266         init_list, because it works on both.
21267         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21268         (gst_value_copy_list_or_array): Renamed from copy_list.
21269         (gst_value_free_list_or_array): Renamed from free_list.
21270         (gst_value_collect_list_or_array): Renamed from collect_list.
21271         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21272         (gst_value_list_or_array_peek_pointer): Renamed from
21273         list_peek_pointer.
21274         (_gst_value_array_value_table, _gst_value_list_value_table):
21275         Update value table functions.
21276         (gst_value_compare_list_or_array): Renamed from compare_list.
21277
21278         * gsttaglist.h: Whoops, foreach function returns void. Also fix
21279         some constness.
21280
21281         * gst/gsttaglist.c:
21282         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21283         GstTagList*. Fixes #143472.
21284
21285         * gst/gststructure.h: Clarify what the foreach/map functions can
21286         or can't do to their arguments.
21287
21288 2005-11-18  Wim Taymans  <wim@fluendo.com>
21289
21290         * gst/gstclock.c: (gst_clock_set_calibration),
21291         (gst_clock_get_calibration):
21292         Doc and API fixes.
21293         Calibration can be set with internal time equal to current
21294         internal time too.
21295
21296 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21297
21298         * gst/gsterror.c:
21299         * gst/gsterror.h:
21300           document
21301
21302 2005-11-18  Andy Wingo  <wingo@pobox.com>
21303
21304         * configure.ac: 
21305         * pkgconfig/gstreamer-net.pc.in:
21306         * pkgconfig/gstreamer-net-uninstalled.pc.in:
21307         * pkgconfig/Makefile.am: Add net pkgconfig files.
21308
21309 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
21310
21311         * gst/gstcaps.c:
21312         * gst/gstghostpad.c:
21313         * gst/gsttrace.c:
21314         * gst/gstvalue.c:
21315         * gst/gstvalue.h:
21316           docs fixes
21317
21318 2005-11-18  Andy Wingo  <wingo@pobox.com>
21319
21320         * gst/net/gstnetclientclock.c: Turn off debugging.
21321
21322         * check/net/gstnetclientclock.c (test_functioning): Assert that the
21323         times connverge somewhat. Can't make a real test.
21324
21325         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21326         integer arithmetic. Return the minimum of the domain, which can be
21327         set as "internal" for gst_clock_set_calibration.
21328         (gst_net_client_clock_observe_times): Call _set_calibration.
21329         (gst_net_client_clock_new): Call _set_calibration instead of
21330         rate_offset.
21331
21332         * check/net/gstnetclientclock.c (test_functioning): Use the right
21333         adjustment api.
21334
21335         * gst/gstclock.h:
21336         * gst/gstclock.c (gst_clock_get_calibration) 
21337         (gst_clock_set_calibration): New functions, obsolete the ones I
21338         added yesterday. Doh. Precision issues mean we have to extrapolate
21339         from a point in the more recent past than 1970.
21340         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21341         obsolete.
21342         (gst_clock_adjust_unlocked): Use the right calibration data.
21343
21344 2005-11-18  Edward Hervey  <edward@fluendo.com>
21345
21346         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
21347         Also reset the ->current_* values in READY->PAUSED
21348
21349 2005-11-18  Andy Wingo  <wingo@pobox.com>
21350
21351         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21352         Whoops, check the right fd. Also add some debugging.
21353         (gst_net_client_clock_observe_times): Adjust for int64 offset.
21354         (do_linear_regression): Add a crapload of debugging. Subtract off
21355         the minimum values from the input series to discard unneeded bits.
21356         Use only int arithmetic. There is still double arithmetic when
21357         calculating the intercept that needs fixing. Return boolean to
21358         indicate success; FALSE would mean the domain or range is too
21359         great. Still needs fixes.
21360
21361 2005-11-18  Wim Taymans  <wim@fluendo.com>
21362
21363         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21364         For the current position in stream time, we need to subtract
21365         accumulated time.
21366         
21367         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21368         Release lock before calling the callback function of async
21369         entries.
21370
21371 2005-11-18  Andy Wingo  <wingo@pobox.com>
21372
21373         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21374         Port goes all the way to MAXUINT16.
21375
21376         * gst/net/gstnettimeprovider.c: Make the port range the same as
21377         for the kernel: 0 assigns, otherwise ports are less than
21378         MAXUINT16.
21379
21380         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21381         port change.
21382
21383         * check/net/gstnetclientclock.c (test_functioning): Add the start
21384         of another test. 
21385
21386 2005-11-18  Wim Taymans  <wim@fluendo.com>
21387
21388         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21389         (gst_bin_remove_func), (bin_bus_handler):
21390         * gst/gstbin.h:
21391         Removing a clock provider from a bin, triggers a clock lost message
21392         so that a new clock will be selected.
21393         Adding a clock to a bin triggers a clock provider message.
21394         Make sure we reselect a clock when we received a clock lost message.
21395         Keep a reference to the element that provided the clock.
21396
21397 2005-11-18  Andy Wingo  <wingo@pobox.com>
21398
21399         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21400         the clock initially so it produces values around the base time.
21401         (gst_net_client_clock_class_init): Typo fix.
21402         (gst_net_client_clock_thread): Add note on when the socket gets
21403         closed.
21404
21405 2005-11-17  Wim Taymans  <wim@fluendo.com>
21406
21407         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21408         Free remote and local time arrays.
21409
21410 2005-11-17  Wim Taymans  <wim@fluendo.com>
21411
21412         * gst/net/gstnetclientclock.c: (do_linear_regression),
21413         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21414         Fix compilation, uninitialized vars and a forgotten continue.
21415
21416 2005-11-17  Andy Wingo  <wingo@pobox.com>
21417
21418         * check/Makefile.am (check_PROGRAMS): 
21419         * check/net/gstnetclientclock.c: Add a most minimal test for the
21420         net client clock. More to come later.
21421
21422         * gst/net/gstnet.h: 
21423         * gst/net/Makefile.am: Add netclientclock.
21424
21425         * gst/net/gstnetclientclock.h:
21426         * gst/net/gstnetclientclock.c: New files, implement an untested
21427         GstClock that takes its time from a network time provider.
21428         Implements the algorithm in network-clock.scm.
21429
21430         * tests/network-clock.scm (*window-size*): Rename from
21431         *queue-length*.
21432         * tests/network-clock.scm (network-time): 
21433         * tests/network-clock-utils.scm (q-push): Update callers.
21434
21435 2005-11-17  Wim Taymans  <wim@fluendo.com>
21436
21437         * gst/gstbin.c: (gst_bin_provide_clock_func),
21438         (gst_bin_sort_iterator_new):
21439         And unref the child too..
21440
21441 2005-11-17  Wim Taymans  <wim@fluendo.com>
21442
21443         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21444         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21445         Refactor the sort iterator so it can be used while holding the
21446         LOCK too.
21447         Make clock selection select a clock closest to the source.
21448
21449 2005-11-17  Michael Smith <msmith@fluendo.com>
21450
21451         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21452         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21453         * gst/gstclock.h:
21454           Anonymous structs are a gcc (and some other compilers) extension, so
21455           don't use them. Since this is only for ABI-compatibility, and our
21456           API/ABI freeze is over in a few days, this whole thing will only
21457           last a few days, so don't bother trying to think up a meaningful
21458           name for the struct.
21459
21460 2005-11-17  Andy Wingo  <wingo@pobox.com>
21461
21462         * gst/gstclock.h (GstClock): Add rate and offset properties,
21463         preserving ABI stability. Add rate/offset accessors. Will file bug
21464         for the freeze break.
21465
21466         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21467         and offset, trying to keep precision and avoiding
21468         underflow/overflow.
21469         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21470         functions. Make gst_clock_set_time_adjust obsolete.
21471         (gst_clock_set_time_adjust): Note that this function is obsolete.
21472         Will file bug soon.
21473
21474         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21475         greppable by using GST_PADDING-1+1.
21476
21477 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21478
21479         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21480
21481         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21482           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21483
21484         * gst/gstpadtemplate.h:
21485         * gst/gstpluginfeature.h:
21486           Don't use c++ style comments in headers (#321638).
21487
21488 2005-11-16  Andy Wingo  <wingo@pobox.com>
21489
21490         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21491         buffer.
21492
21493         * check/net/gstnettimeprovider.c: Check to see that the time
21494         provider actually provides times. Works, yo!
21495
21496 2005-11-16  Wim Taymans  <wim@fluendo.com>
21497
21498         * check/Makefile.am:
21499         Enable more tests.
21500
21501         * check/elements/fakesrc.c: (GST_START_TEST):
21502         Set element to NULL before disposing it.
21503
21504 2005-11-16  Andy Wingo  <wingo@pobox.com>
21505
21506         * gst/net/Makefile.am:
21507         * gst/net/gstnet.h:
21508         * gst/net/gstnettimeprovider.c: 
21509         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21510         provider, include it from gstnet.h, and add it to the build.
21511
21512         * gst/net/gstnettimepacket.h: 
21513         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21514         sending and receiving.
21515
21516 2005-11-16  Wim Taymans  <wim@fluendo.com>
21517
21518         * check/Makefile.am:
21519         Enable valgrind check.
21520
21521         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21522         (gst_fake_src_alloc_buffer):
21523         Fix memleak.
21524
21525 2005-11-16  Wim Taymans  <wim@fluendo.com>
21526
21527         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21528         Call parent finalize too.
21529
21530 2005-11-16  Wim Taymans  <wim@fluendo.com>
21531
21532         * check/Makefile.am:
21533         Enable valgrind check that should work fine now.
21534
21535         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21536         * gst/gstqueue.c: (gst_queue_init):
21537         Fix memleaks in pad allocation.
21538
21539 2005-11-16  Andy Wingo  <wingo@pobox.com>
21540
21541         * gst/net/Makefile.am:
21542         * gst/net/gstnet.h: New part of core to hold network elements and
21543         objects. Put in core because it exposes API that applications want
21544         to use. The library is named libgstnet-tempname right now because
21545         of the existing libgstnet in gst-plugins-base. Solution is
21546         probably to rename the one in plugins-base; will file a bug for
21547         the freeze break.
21548
21549         * gst/net/gstnettimeprovider.c: 
21550         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21551         get_time call over the network.
21552
21553         * configure.ac: 
21554         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21555
21556         * check/Makefile.am:
21557         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21558         get additions shortly.
21559
21560 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21561
21562         * gst/gstpad.c: (gst_pad_new_from_static_template):
21563         * gst/gstpad.h:
21564           add gst_pad_new_from_static_template functions
21565         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21566         (gst_check_setup_sink_pad):
21567         * gst/elements/gsttee.c: (gst_tee_init):
21568           and use them
21569
21570 2005-11-16  Wim Taymans  <wim@fluendo.com>
21571
21572         * gst/gstpad.c: (gst_pad_pause_task):
21573         Removed warning, it's not really an error either.
21574
21575 2005-11-16  Wim Taymans  <wim@fluendo.com>
21576
21577         * gst/base/gstbasetransform.c:
21578         (gst_base_transform_prepare_output_buf),
21579         (gst_base_transform_event):
21580         Check if the caps are NULL, this can happen if the element
21581         is shutting down and the pad caps are set to NULL.
21582
21583 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21584
21585         * gst/elements/gsttee.c: (gst_tee_init):
21586           fix pad template leak in tee
21587
21588 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21589
21590         * gst/glib-compat.c: (g_value_dup_gst_object):
21591         * gst/glib-compat.h:
21592         * gst/gstpad.c: (gst_pad_set_property):
21593           use gst_object_ref when setting the pad template; this will
21594           trigger the pad template leaks on GLib 2.6 and the slaves
21595
21596 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21597
21598         * gst/glib-compat.c: (gst_flags_get_first_value):
21599         * gst/glib-compat.h:
21600         * gst/gstregistryxml.c:
21601           remove functions copied from GLib 2.6
21602
21603 2005-11-16  Michael Smith <msmith@fluendo.com>
21604
21605         * gst/Makefile.am:
21606           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21607           do, but only breaks with newer valgrind versions. We're not a
21608           valgrind tool, we have no link-time dependencies on libcoregrind.
21609
21610 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21611
21612         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21613           some debug changes
21614         * gst/gstmessage.h:
21615           typo fixes
21616
21617 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21618
21619         * gst/base/gstbasesrc.c: (gst_base_src_init):
21620         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21621         * gst/gstqueue.c: (gst_queue_init):
21622         * gst/gstregistryxml.c: (load_feature):
21623           Revert all these unrefs, they don't even pass make check !
21624
21625 2005-11-15  Johan Dahlin  <johan@gnome.org>
21626
21627         * gst/base/gstbasesrc.c: (gst_base_src_init):
21628         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21629         * gst/gstqueue.c: (gst_queue_init): 
21630         Free pad templates, fixes a couple of leaks.
21631
21632 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21633
21634         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21635
21636         * gst/gstpad.c: (gst_pad_get_property):
21637           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21638           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21639           (#321452)
21640
21641 2005-11-15  Wim Taymans  <wim@fluendo.com>
21642
21643         * gst/gstevent.c:
21644         Small doc update.
21645
21646 2005-11-15  Andy Wingo  <wingo@pobox.com>
21647
21648         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21649
21650         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21651         using GST_CLOCK_TIME_NONE to disable base time management.
21652         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21653         time if it was NONE before.
21654         (gst_pipeline_change_state): Only munge the base time if
21655         stream_time != GST_CLOCK_TIME_NONE.
21656
21657         * check/gst/gstpipeline.c (test_base_time): Punt around the
21658         problem of the probe not being called, because that's not the
21659         issue I'm looking at. Add a check that setting stream_time to NONE
21660         disables base time management.
21661         
21662 2005-11-15  Wim Taymans  <wim@fluendo.com>
21663
21664         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21665         segment_stop == -1 at startup.
21666
21667         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21668         (gst_base_transform_change_state):
21669         Init segment values at start.
21670
21671 2005-11-15  Wim Taymans  <wim@fluendo.com>
21672
21673         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21674         0 segment values are 0 in any format.
21675
21676         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21677         * gst/base/gstbasetransform.h:
21678         Parse newsegment correctly in basetransform
21679
21680         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21681         Sync to clock using updated segment values.
21682
21683 2005-11-15  Andy Wingo  <wingo@pobox.com>
21684
21685         * check/gst/gstpipeline.c (test_base_time): Add check that the
21686         base time and stream time are reset correctly.
21687
21688 2005-11-15  Wim Taymans  <wim@fluendo.com>
21689
21690         * docs/design/part-TODO.txt:
21691         Some more TODO items.
21692
21693 2005-11-15  Andy Wingo  <wingo@pobox.com>
21694
21695         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21696         error if the user selected "no clock" as the clocking method.
21697
21698         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21699         timestamps with live capture.
21700
21701         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21702         is 0 but we are a live source, timestamp the buffers using the
21703         element's clock.
21704
21705 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21706
21707         * docs/gst/gstreamer-sections.txt:
21708         * gst/gsterror.c:
21709         * gst/gstghostpad.c:
21710         * gst/gstobject.h:
21711         * gst/gstxml.c:
21712           more section docs
21713
21714 2005-11-14  Wim Taymans  <wim@fluendo.com>
21715
21716         * common/gst.supp:
21717           add suppressions from Wim's Debian machine
21718
21719 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21720
21721         * common/gst.supp:
21722           add suppressions from Andy's AMD64 Ubuntu machine
21723
21724 2005-11-14  Andy Wingo  <wingo@pobox.com>
21725
21726         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21727         STATE_LOCK not necessary. Fixes #311489.
21728
21729         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21730         #305291.
21731
21732         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21733         this function is not implemented.
21734
21735 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21736
21737         * gst/base/gstbasetransform.c:
21738         (gst_base_transform_prepare_output_buf):
21739         Ref the source pad caps while we need them.
21740         Fixes (#321386)
21741
21742 2005-11-11  Wim Taymans  <wim@fluendo.com>
21743
21744         * docs/gst/gstreamer-sections.txt:
21745         Added some docs for GstCollectData.
21746
21747         * gst/base/gstadapter.c:
21748         Some small code example fix.
21749
21750         * gst/base/gstcollectpads.c:
21751         * gst/base/gstcollectpads.h:
21752         Document some more.
21753
21754 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21755
21756         * configure.ac: back to HEAD
21757
21758 === release 0.9.5 ===
21759
21760 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21761
21762         * configure.ac:
21763           releasing 0.9.5, "Bike Lunch Day"
21764
21765 2005-11-11  Wim Taymans  <wim@fluendo.com>
21766
21767         * gst/gstbuffer.c: (_gst_buffer_copy):
21768         Copy more flags.
21769
21770         * gst/gstcaps.c: (gst_caps_is_equal):
21771         Fix some docs.
21772         Make _is_equal fast in the trivial cases.
21773
21774         * gst/gstminiobject.c:
21775         * gst/gstminiobject.h:
21776         More docs. Spifify .h file.
21777
21778         * gst/gstutils.c:
21779         Small doc update.
21780
21781 2005-11-11  Wim Taymans  <wim@fluendo.com>
21782
21783         * gst/base/gstbasetransform.c:
21784         (gst_base_transform_prepare_output_buf),
21785         (gst_base_transform_handle_buffer):
21786         Small cleanups.
21787         If we're processing a buffer and need to allocate an output
21788         buffer, we cannot accept a format change. If we did get a 
21789         format change, we have to alloc a buffer ourselves of the 
21790         right size.
21791
21792 2005-11-11  Wim Taymans  <wim@fluendo.com>
21793
21794         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21795         While checking the flag for reentrancy in the gstcaps function
21796         is nice to detect recursive invocations, it also makes it 
21797         impossible to call getcaps from multiple threads, which must be
21798         possible. So, checking for recursive calls has to go.
21799
21800 2005-11-11  Michael Smith <msmith@fluendo.com>
21801
21802         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21803           Don't sync on buffers that fall partially outside our current
21804           segment. Prevents an assertion failure/abort playing some files.
21805
21806 2005-11-10  Andy Wingo  <wingo@pobox.com>
21807
21808         * check/gst/gstbin.c (test_message_state_changed_children): Style
21809         fix..
21810
21811         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21812         gst_bus_poll with the signal watch. Ensures that poll and a signal
21813         watch see the same messages.
21814
21815         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21816         a poll and a watch at the same time get the same messages.
21817
21818 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21819
21820         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21821         * gst/gstcaps.c: (gst_caps_intersect):
21822           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21823           and it's not needed.
21824
21825 2005-11-10  Wim Taymans  <wim@fluendo.com>
21826
21827         * docs/design/part-TODO.txt:
21828         Updated todo.
21829
21830 2005-11-10  Wim Taymans  <wim@fluendo.com>
21831
21832         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21833         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21834         (gst_base_src_do_sync), (gst_base_src_get_range):
21835         Implement clock sync in base class.
21836
21837 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21838
21839         patch by: Tim-Philipp Müller <tim at centricular dot net>
21840
21841         * gst/gststructure.c: (gst_structure_parse_field),
21842         (gst_structure_from_string):
21843           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21844           so that gst_parse_launch() can deal with spaces in filtered link
21845           caps (fixes #164479)
21846         * check/gst/capslist.h:
21847         * check/gst/gststructure.c: (GST_START_TEST):
21848           add unit tests for this change
21849
21850 2005-11-10  Wim Taymans  <wim@fluendo.com>
21851
21852         * docs/gst/gstreamer-sections.txt:
21853         * gst/gstelement.c:
21854         * gst/gstelement.h:
21855         Fix docs, move some STATE macros to private.
21856
21857 2005-11-10  Wim Taymans  <wim@fluendo.com>
21858
21859         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21860         Added check for bug #317341
21861
21862         * gst/gstbuffer.c:
21863         * gst/gstbuffer.h:
21864         Some more spiffifying.
21865
21866         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21867         Call peer linkfunction if we are a source pad. Totally fixes
21868         #317341
21869
21870         * gst/gstpad.c:
21871         Update docs, source pads should call the peer linkfunction
21872         so they can atomically perform the pad link.
21873
21874 2005-11-09  Wim Taymans  <wim@fluendo.com>
21875
21876         * gst/gstbuffer.c:
21877         * gst/gstbuffer.h:
21878         Uber-spiffy-spiffify some more.
21879
21880 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21881
21882         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21883         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21884         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21885         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21886         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21887         * gst/gstpad.c: (gst_pad_init):
21888           Use GST_DEBUG_FUNCPTR() more extensively.
21889
21890 2005-11-09  Wim Taymans  <wim@fluendo.com>
21891
21892         * gst/gstobject.c: (gst_object_class_init):
21893         * gst/gstobject.h:
21894         Documentation fixes.
21895
21896 2005-11-09  Edward Hervey  <edward@fluendo.com>
21897
21898         * gst/gsttypefindfactory.c:
21899         Fix docs.
21900         
21901 2005-11-09  Edward Hervey  <edward@fluendo.com>
21902
21903         * gst/base/gsttypefindhelper.c:
21904         * gst/gsttypefind.c:
21905         * gst/gsttypefind.h:
21906         Fix docs.
21907
21908 2005-11-09  Wim Taymans  <wim@fluendo.com>
21909
21910         * gst/gstiterator.c:
21911         Fix revision data.
21912
21913         * gst/gsttask.c:
21914         * gst/gsttask.h:
21915         Fix docs.
21916
21917 2005-11-09  Wim Taymans  <wim@fluendo.com>
21918
21919         * gst/gstevent.h:
21920         * gst/gsturi.h:
21921         Fix docs.
21922
21923 2005-11-09  Wim Taymans  <wim@fluendo.com>
21924
21925         * docs/gst/gstreamer-sections.txt:
21926         Moved the message async delivery private lock and cond
21927         to the private section.
21928
21929         * gst/gstmessage.c:
21930         * gst/gstmessage.h:
21931         Fixed docs.
21932
21933 2005-11-09  Edward Hervey  <edward@fluendo.com>
21934
21935         * docs/gst/gstreamer-sections.txt:
21936         * gst/gsturi.c:
21937         * gst/gsturi.h:
21938         Document GstURIHandler
21939
21940 2005-11-09  Wim Taymans  <wim@fluendo.com>
21941
21942         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21943         (gst_iterator_find_custom):
21944         * gst/gstiterator.h:
21945         Fix iterator docs.
21946
21947 2005-11-09  Wim Taymans  <wim@fluendo.com>
21948
21949         * gst/gstbin.h:
21950         Document another field.
21951
21952         * gst/gststructure.c:
21953         * gst/gststructure.h:
21954         Document.
21955
21956 2005-11-09  Wim Taymans  <wim@fluendo.com>
21957
21958         * gst/gstbin.h:
21959         Documented structs.
21960
21961 2005-11-09  Wim Taymans  <wim@fluendo.com>
21962
21963         * docs/gst/gstreamer-sections.txt:
21964         Added some new macros.
21965
21966         * gst/gstclock.c:
21967         * gst/gstclock.h:
21968         * gst/gstobject.h:
21969         Docs updates.
21970
21971 2005-11-09  Wim Taymans  <wim@fluendo.com>
21972
21973         * docs/design/part-TODO.txt:
21974         Some more items for the TODO
21975
21976         * gst/gstcaps.c:
21977         * gst/gstcaps.h:
21978         Document GstCaps.
21979
21980 2005-11-09  Andy Wingo  <wingo@pobox.com>
21981
21982         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21983         to work on something else now tho...
21984
21985         * gst/base/gstadapter.c: More adapter docs.
21986
21987         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21988         (gst_file_sink_stop): New functions, replace the state change
21989         handler.
21990         (gst_file_sink_class_init): Hook up the start and stop functions.
21991         (gst_file_sink_base_init): Don't set the state change handler any
21992         more. It was a bit ugly too, being set from here...
21993         (gst_file_sink_get_property, gst_file_sink_set_property):
21994         Cleanups...
21995         (gst_file_sink_set_location): More robust check that doesn't call
21996         GST_STATE. Ugggggg.
21997
21998 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21999
22000         * gst/base/gstbasetransform.c: (gst_base_transform_event):
22001           Hold STREAM_LOCK while pushing newsegment or tag events as well.
22002
22003 2005-11-08  Wim Taymans  <wim@fluendo.com>
22004
22005         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22006         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22007         (gst_base_sink_chain), (gst_base_sink_change_state):
22008         * gst/base/gstbasesink.h:
22009         * gst/base/gstbasesrc.h:
22010         * gst/gstelement.h:
22011         * gst/gstevent.h:
22012         Avoid excessive typechecking in macros.
22013
22014         * gst/gstminiobject.c: (gst_mini_object_get_type),
22015         (gst_mini_object_init), (gst_mini_object_new),
22016         (gst_mini_object_free):
22017         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22018         (gst_object_finalize):
22019         Remove cruft code, optimize alloc_trace.
22020
22021 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22022
22023         * docs/faq/gst-uninstalled:
22024           fix up PS1 for systems that try to reset it
22025
22026 2005-11-07  Wim Taymans  <wim@fluendo.com>
22027
22028         * gst/base/gstbasesrc.c: (gst_base_src_init),
22029         (gst_base_src_get_range):
22030         Set the segment_end to -1 initially. Fixed typefind.
22031
22032 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
22033
22034         * gst/base/gstadapter.c:
22035           Debug category should be 'adapter', not 'GstAdapter'.
22036           
22037         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
22038         (gst_collectpads_class_init), (gst_collectpads_init),
22039         (gst_collectpads_peek), (gst_collectpads_pop),
22040         (gst_collectpads_event), (gst_collectpads_chain):
22041           Add debug category and some debugging output. Use boilerplate
22042           macros. Remove some extraneous words from docs.
22043
22044 2005-11-05  Andy Wingo  <wingo@pobox.com>
22045
22046         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
22047         macro.
22048
22049 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
22050
22051         * docs/gst/gstreamer-sections.txt:
22052         * gst/gstcaps.h:
22053         * gst/gstinfo.c:
22054         * gst/gstminiobject.h:
22055         * gst/gstobject.h:
22056         * gst/gstutils.h:
22057           more docs added
22058
22059 2005-11-04  Wim Taymans  <wim@fluendo.com>
22060
22061         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22062         Small update to stop at the configured segment_end
22063         position.
22064
22065 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
22066
22067         * gst/gstregistry.c:
22068         * gst/gstregistry.h:
22069           added missing docs
22070
22071 2005-11-04  Edward Hervey  <edward@fluendo.com>
22072
22073         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22074         Check if we are doing a segment seek and have arrived at the
22075         end of that segment.
22076
22077 2005-11-04  Wim Taymans  <wim@fluendo.com>
22078
22079         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
22080         Don't leak a mutex unlock in case of an error.
22081
22082         * gst/gstbus.h:
22083         Doc fixes.
22084
22085 2005-11-04  Wim Taymans  <wim@fluendo.com>
22086
22087         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
22088         (gst_bus_post):
22089         Get the context to wake up only once.
22090
22091 2005-11-03  Wim Taymans  <wim@fluendo.com>
22092
22093         * check/states/sinks.c: (GST_START_TEST):
22094         Uncomment fixed check.
22095
22096         * docs/design/part-TODO.txt:
22097         Updated TODO.
22098
22099         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22100         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22101         (gst_base_sink_get_position):
22102         If we are going to PLAYING, post the right pending state
22103         when we post the intermediate paused message.
22104
22105         * gst/gstelement.c: (gst_element_continue_state),
22106         (gst_element_set_state_func), (gst_element_change_state):
22107         Don't post state changes that were between the same state
22108         and were not ASYNC.
22109
22110 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
22111
22112         * docs/gst/gstreamer-sections.txt:
22113         * gst/gstcaps.h:
22114         * gst/gstinfo.c:
22115         * gst/gstminiobject.h:
22116         * gst/gstobject.h:
22117         * gst/gstutils.h:
22118           more docs and doc style fixes
22119
22120 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
22121
22122         * docs/gst/gstreamer-sections.txt:
22123         * gst/gstelement.c:
22124         * gst/gstminiobject.c:
22125         doc fixes
22126
22127 2005-11-03  Andy Wingo  <wingo@pobox.com>
22128
22129         * check/states/sinks.c (test_livesrc_sink): Add checks that the
22130         state-changed messages actually have the right order and the right
22131         values.
22132
22133 2005-11-03  Wim Taymans  <wim@fluendo.com>
22134
22135         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22136         Added some more checks. Specifically the case where NO_PREROLL
22137         elements are in the pipeline.
22138
22139         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22140         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22141         (gst_base_sink_get_position):
22142         Post READY->PAUSED state change messages too.
22143         Fix bug where VOID was posted as pending state...
22144
22145         * gst/gstbin.c: (gst_bin_recalc_state):
22146         use _element_continue_state() to continue the state change.
22147
22148         * gst/gstelement.c: (gst_element_continue_state),
22149         (gst_element_commit_state), (gst_element_set_state_func),
22150         (gst_element_change_state), (gst_element_change_state_func):
22151         Lots of state change cleanups, assign the STATE_RETURN in
22152         a new continue_state() function that also propagates the
22153         last return value from a state change to the app.
22154         Update some debug statements with proper category.
22155
22156 2005-11-03  Wim Taymans  <wim@fluendo.com>
22157
22158         * docs/design/part-events.txt:
22159         * docs/design/part-gstpipeline.txt:
22160         * docs/design/part-messages.txt:
22161         * docs/design/part-overview.txt:
22162         * docs/design/part-seeking.txt:
22163         * docs/design/part-states.txt:
22164         * docs/design/part-trickmodes.txt:
22165         * docs/manual/advanced-position.xml:
22166         Small docs updates.
22167
22168         * gst/gstobject.h:
22169         People think !! is ugly, this looks better.
22170
22171         * gst/gstpad.c: (gst_pad_set_blocked_async):
22172         Remove !! since it's fixed elsewhere now.
22173
22174 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22175
22176         * gst/gstminiobject.h:
22177         * gst/gstobject.h:
22178           Add !! to _FLAG_IS_SET macros to make the result boolean.
22179
22180 2005-11-03  Edward Hervey  <edward@fluendo.com>
22181
22182         * gst/gstpad.c: (gst_pad_set_blocked_async):
22183         comparing a flag and a gboolean rarely returns coherent results...
22184         Added two characters (!!) to make that work correctly.
22185         
22186 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22187
22188         * gst/gstbus.c: (gst_bus_class_init):
22189           Fix some typos.
22190           
22191         * gst/gstqueue.c: (gst_queue_loop):
22192           Don't assume a miniobject that isn't a buffer is an
22193           event (it could be that there is a refcounting
22194           problem somewhere and the pointer is stale and
22195           refers to an already destroyed miniobject).
22196
22197 2005-11-03  Julien MOUTTE  <julien@moutte.net>
22198
22199         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22200
22201 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22202
22203         * docs/manual/advanced-position.xml:
22204           Update seek example and explanations to current 0.9 API.
22205
22206         * gst/elements/gsttypefindelement.c:
22207         (gst_type_find_element_activate):
22208           Remove FIXME comment now that the found caps
22209           are unreffed.
22210
22211 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22212
22213         * gst/gstregistryxml.c: (load_feature):
22214           Add another GST_STR_NULL instance
22215
22216 2005-11-02  Edward Hervey  <edward@fluendo.com>
22217
22218         * gst/gstpad.c: (handle_pad_block):
22219         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22220         
22221 2005-11-02  Wim Taymans  <wim@fluendo.com>
22222
22223         * gst/gstbin.c:
22224         Fix typo in docs.
22225
22226         * gst/gstelement.c: (gst_element_commit_state):
22227         Remove unused value.
22228
22229         * gst/gstiterator.c:
22230         Mention that the returned element is reffed in the docs.
22231
22232 2005-11-02  Wim Taymans  <wim@fluendo.com>
22233
22234         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22235         (gst_pad_push), (gst_pad_push_event):
22236         Unlock blocked pads when they are flushed.
22237
22238 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22239
22240         * docs/README:
22241         * docs/gst/gstreamer-sections.txt:
22242         * gst/gstbin.c:
22243           doc updates
22244         * gst/gstregistry.c: (gst_registry_scan_path_level):
22245           fix for a nasty little missed situation where an installed plug-in
22246           which was in the cache did not get overridden by an uninstalled one
22247           which was earlier in the plugin path because the newly created plugin
22248           for the uninstalled one (not in the registry) didn't get its
22249           ->registered set to TRUE
22250
22251 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22252
22253         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22254         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22255         (gst_collectpads_is_active), (gst_collectpads_collect),
22256         (gst_collectpads_collect_range), (gst_collectpads_start),
22257         (gst_collectpads_stop), (gst_collectpads_peek),
22258         (gst_collectpads_pop), (gst_collectpads_available),
22259         (gst_collectpads_read), (gst_collectpads_flush):
22260           Guard public API with assertions.
22261         
22262         * gst/gstpad.c:
22263           Fix docs for gst_pad_set_link_function().
22264
22265 2005-11-02  Johan Dahlin  <johan@gnome.org>
22266
22267         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
22268         Unref found_caps after we used it.
22269
22270 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22271
22272         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22273           Don't try to ref NULL.
22274
22275 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22276
22277         * win32/common/config.h.in:
22278           provide a GST_FUNCTION that just gives a string for now
22279
22280 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22281
22282         * win32/common/gstenumtypes.c: (register_gst_object_flags),
22283         (gst_object_flags_get_type), (register_gst_bin_flags),
22284         (gst_bin_flags_get_type), (register_gst_buffer_flag),
22285         (gst_buffer_flag_get_type), (register_gst_bus_flags),
22286         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22287         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22288         (gst_clock_return_get_type), (register_gst_clock_entry_type),
22289         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22290         (gst_clock_flags_get_type), (register_gst_state),
22291         (gst_state_get_type), (register_gst_state_change_return),
22292         (gst_state_change_return_get_type), (register_gst_state_change),
22293         (gst_state_change_get_type), (register_gst_element_flags),
22294         (gst_element_flags_get_type), (register_gst_core_error),
22295         (gst_core_error_get_type), (register_gst_library_error),
22296         (gst_library_error_get_type), (register_gst_resource_error),
22297         (gst_resource_error_get_type), (register_gst_stream_error),
22298         (gst_stream_error_get_type), (register_gst_event_type),
22299         (gst_event_type_get_type), (register_gst_seek_type),
22300         (gst_seek_type_get_type), (register_gst_seek_flags),
22301         (gst_seek_flags_get_type), (register_gst_format),
22302         (gst_format_get_type), (register_gst_index_certainty),
22303         (gst_index_certainty_get_type), (register_gst_index_entry_type),
22304         (gst_index_entry_type_get_type),
22305         (register_gst_index_lookup_method),
22306         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22307         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22308         (gst_index_resolver_method_get_type), (register_gst_index_flags),
22309         (gst_index_flags_get_type), (register_gst_debug_level),
22310         (gst_debug_level_get_type), (register_gst_debug_color_flags),
22311         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22312         (gst_iterator_result_get_type), (register_gst_iterator_item),
22313         (gst_iterator_item_get_type), (register_gst_message_type),
22314         (gst_message_type_get_type), (register_gst_mini_object_flags),
22315         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22316         (gst_pad_link_return_get_type), (register_gst_flow_return),
22317         (gst_flow_return_get_type), (register_gst_activate_mode),
22318         (gst_activate_mode_get_type), (register_gst_pad_direction),
22319         (gst_pad_direction_get_type), (register_gst_pad_flags),
22320         (gst_pad_flags_get_type), (register_gst_pad_presence),
22321         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22322         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22323         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22324         (gst_plugin_error_get_type), (register_gst_plugin_flags),
22325         (gst_plugin_flags_get_type), (register_gst_rank),
22326         (gst_rank_get_type), (register_gst_query_type),
22327         (gst_query_type_get_type), (register_gst_tag_merge_mode),
22328         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22329         (gst_tag_flag_get_type), (register_gst_task_state),
22330         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22331         (gst_alloc_trace_flags_get_type),
22332         (register_gst_type_find_probability),
22333         (gst_type_find_probability_get_type), (register_gst_uri_type),
22334         (gst_uri_type_get_type), (register_gst_parse_error),
22335         (gst_parse_error_get_type):
22336         * win32/common/gstversion.h:
22337           update win32 copies
22338
22339 2005-11-01  Luca Ognibene  <luogni@tin.it>
22340
22341         * gst/gst.c:
22342           fix docs. popt is dead, long live GOption.
22343
22344 2005-10-31  Wim Taymans  <wim@fluendo.com>
22345
22346         * gst/gstbuffer.h:
22347         Small doc fix.
22348
22349 2005-10-31  Andy Wingo  <wingo@pobox.com>
22350
22351         * Boo!
22352
22353         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22354
22355         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22356         need to serialize property notifications on GLib 2.8. GLib 2.6 has
22357         the possibility of deadlocks here if code calling notify() or
22358         set() has a lock that can be taken in another notify handler (ABBA
22359         with class lock and e.g. python GIL state lock).
22360
22361 2005-10-28  Julien MOUTTE  <julien@moutte.net>
22362
22363         * gst/gstbus.c: Doc updates.
22364
22365 2005-10-28  Wim Taymans  <wim@fluendo.com>
22366
22367         * docs/design/part-TODO.txt:
22368         * gst/gstiterator.c:
22369         * gst/gstsystemclock.c:
22370         * gst/gstsystemclock.h:
22371         Doc updates.
22372
22373 2005-10-28  Edward Hervey  <edward@fluendo.com>
22374
22375         * docs/gst/gstreamer-docs.sgml:
22376         * docs/gst/gstreamer-sections.txt:
22377         the GstURIType documentation page is private, it only defines GstURIType
22378         which should be defined in the GstURIHandler page
22379         
22380 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22381
22382         * gst/gstbin.c: (gst_bin_class_init):
22383         * gst/gstbin.h:
22384         * gst/gstutils.c:
22385         Documentation updates.
22386
22387 2005-10-28  Wim Taymans  <wim@fluendo.com>
22388
22389         * docs/gst/gstreamer-sections.txt:
22390         * gst/gstclock.c:
22391         * gst/gstclock.h:
22392         Documented the clocks.
22393
22394 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22395
22396         * docs/gst/gstreamer-sections.txt:
22397           move some macros to private sections
22398         * gst/gstminiobject.c:
22399         * gst/gstminiobject.h:
22400           add descriptions provided by ds and some more
22401         * gst/gstpad.h:
22402           mark macro as to be removed
22403
22404 2005-10-28  Wim Taymans  <wim@fluendo.com>
22405
22406         * docs/design/part-TODO.txt:
22407         Add an item to TODO.
22408
22409         * gst/gstiterator.c: (gst_iterator_fold),
22410         (gst_iterator_find_custom):
22411         * gst/gstiterator.h:
22412         Add iterator docs.
22413
22414 2005-10-28  Wim Taymans  <wim@fluendo.com>
22415
22416         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22417         (gst_base_transform_init):
22418         Don't leak class.
22419
22420         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22421         An EOS event marks the queue as completely filled.
22422
22423 2005-10-27  Wim Taymans  <wim@fluendo.com>
22424
22425         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22426         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22427         Some more debugging.
22428
22429         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22430         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22431         (gst_base_transform_event), (gst_base_transform_getrange),
22432         (gst_base_transform_chain):
22433         * gst/base/gstbasetransform.h:
22434         Fix debugging,
22435         Protect transform and concurrent buffer alloc with a new lock.
22436         Try not to break ABI/API.
22437
22438 2005-10-27  Wim Taymans  <wim@fluendo.com>
22439
22440         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22441         (gst_base_src_init), (gst_base_src_query),
22442         (gst_base_src_default_newsegment),
22443         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22444         (gst_base_src_send_event), (gst_base_src_event_handler),
22445         (gst_base_src_pad_get_range), (gst_base_src_loop),
22446         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22447         (gst_base_src_start), (gst_base_src_deactivate),
22448         (gst_base_src_activate_push), (gst_base_src_change_state):
22449         Move some stuff around and cleanup things.
22450
22451 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22452
22453         * gst/base/gstbasesrc.c: (gst_base_src_query):
22454           Add missing break statements.
22455
22456 2005-10-27  Wim Taymans  <wim@fluendo.com>
22457
22458         * check/gst/gstbin.c: (GST_START_TEST):
22459         An extra refcount is taken in basesrc.
22460
22461         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22462         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22463         (gst_base_src_loop):
22464         Small cleanups, check for flushing after being unlocked from the 
22465         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22466         Don't send out EOS when going to READY.
22467
22468 2005-10-27  Wim Taymans  <wim@fluendo.com>
22469
22470         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22471         (gst_base_sink_get_position):
22472         Some more debug.
22473
22474         * gst/gstbin.c: (message_check), (bin_replace_message),
22475         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22476         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22477         (bin_query_duration_init), (bin_query_duration_fold),
22478         (bin_query_duration_done), (bin_query_generic_fold),
22479         (gst_bin_query):
22480         * tools/gst-launch.c: (main):
22481         Remove old option.
22482
22483 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22484
22485         * examples/controller/audio-example.c: (main):
22486         * examples/queue/queue.c: (event_loop):
22487         * gst/base/gstbasetransform.h:
22488         * gst/gstelement.c: (gst_element_send_event):
22489         * gst/gstevent.h:
22490         * gst/gstpad.c: (gst_pad_send_event):
22491           fixing examples
22492           fixing docs typos
22493           changing log priority in error situations
22494
22495 2005-10-25  Wim Taymans  <wim@fluendo.com>
22496
22497         * gst/gstbin.c: (message_check), (bin_replace_message),
22498         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22499         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22500         (bin_query_duration_init), (bin_query_duration_fold),
22501         (bin_query_duration_done), (bin_query_generic_fold),
22502         (gst_bin_query):
22503         Some doc and debug updates.
22504         Cache previously requested query DURATION for speed. invalidate
22505         cached duration if element posts a DURATION message.
22506
22507 2005-10-25  Wim Taymans  <wim@fluendo.com>
22508
22509         * docs/design/part-TODO.txt:
22510         Update TODO.
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         Handle SEGMENT_START/DONE messages correctly.
22519         More evolved query algorithm that handles duration queries
22520         correctly.
22521
22522         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22523         (gst_element_get_state_func), (gst_element_abort_state),
22524         (gst_element_commit_state), (gst_element_lost_state):
22525         Some more debugging.
22526
22527         * gst/gstmessage.h:
22528         Added doc.
22529
22530 2005-10-25  Wim Taymans  <wim@fluendo.com>
22531
22532         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22533         Don't use invalid stream_time.
22534
22535         * gst/gstevent.c: (gst_event_new_newsegment):
22536         stream_time in newsegment cannot be undefined.
22537
22538 2005-10-24  Wim Taymans  <wim@fluendo.com>
22539
22540         * gst/gstbus.c:
22541         Doc fix.
22542
22543         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22544         (gst_queue_loop):
22545         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22546
22547 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22548
22549         * docs/libs/tmpl/gstdparam.sgml:
22550         * docs/libs/tmpl/gstdplinint.sgml:
22551         * docs/libs/tmpl/gstdpman.sgml:
22552         * docs/libs/tmpl/gstdpsmooth.sgml:
22553         * docs/libs/tmpl/gstunitconvert.sgml:
22554           these are obsolete
22555
22556 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22557
22558         * configure.ac:
22559           back to HEAD
22560
22561 === release 0.9.4 ===
22562
22563 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22564
22565         * configure.ac:
22566           releasing 0.9.4, "Tyrannosaurus Rex"
22567
22568 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22569
22570         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22571         (gst_file_sink_get_current_offset):
22572           Use fseeko() and ftello() if available. When falling back on
22573           lseek() to get the current offset, fflush() first to make sure
22574           everything is up-to-date and we get the right offset.
22575
22576 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22577
22578         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22579         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22580         * gst/gsterror.c: (_gst_stream_errors_init):
22581         * gst/gsterror.h:
22582         * gst/gstqueue.c: (gst_queue_loop):
22583         * po/POTFILES.in:
22584           remove prematurely added error category and clean up the instances
22585
22586 2005-10-21  Wim Taymans  <wim@fluendo.com>
22587
22588         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22589         (gst_base_sink_get_position), (gst_base_sink_query),
22590         (gst_base_sink_change_state):
22591         Simply set the right flag when going to playing, that's all
22592         we need to do instead of calling a function inside the object
22593         lock (that could take the lock as well and deadlock)
22594
22595 2005-10-21  Wim Taymans  <wim@fluendo.com>
22596
22597         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22598         (gst_base_src_loop):
22599         Don't warn, the peer element knows what to do best when
22600         the seek failed, it might try something else.
22601
22602 2005-10-21  Wim Taymans  <wim@fluendo.com>
22603
22604         * gst/base/gstbasesrc.c: (gst_base_src_init),
22605         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22606         Fix seeking.
22607
22608 2005-10-21  Wim Taymans  <wim@fluendo.com>
22609
22610         * docs/design/part-segments.txt:
22611         More docs.
22612
22613         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22614         Correctly set caps, even on the subbufer.
22615
22616 2005-10-21  Wim Taymans  <wim@fluendo.com>
22617
22618         * docs/gst/gstreamer-docs.sgml:
22619         * docs/gst/gstreamer-sections.txt:
22620         * gst/gstelement.h:
22621         * gst/gstevent.c:
22622         * gst/gstevent.h:
22623         * gst/gstmessage.h:
22624         * gst/gstpad.h:
22625         * gst/gstparse.h:
22626         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22627         * gst/gsttask.h:
22628         * gst/gstutils.c:
22629         * gst/gstutils.h:
22630         And 2% more doc coverage.
22631
22632 2005-10-21  Andy Wingo  <wingo@pobox.com>
22633
22634         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22635         position reporting.
22636
22637 2005-10-20  Wim Taymans  <wim@fluendo.com>
22638
22639         * gst/gsterror.c: (gst_error_get_message):
22640         * gst/gstparse.h:
22641         * gst/gstquery.h:
22642         * gst/gststructure.c:
22643         * gst/gsttrace.c:
22644         * gst/gstutils.c:
22645         More docs.
22646
22647 2005-10-20  Wim Taymans  <wim@fluendo.com>
22648
22649         * gst/gstbuffer.h:
22650         * gst/gstpad.c:
22651         * gst/gstparse.c:
22652         Another 1% more coverage.
22653
22654 2005-10-20  Wim Taymans  <wim@fluendo.com>
22655
22656         * docs/gst/gstreamer-sections.txt:
22657         * gst/gstelement.c: (gst_element_get_state_func),
22658         (gst_element_abort_state), (gst_element_commit_state),
22659         (gst_element_lost_state):
22660         * gst/gstevent.h:
22661         * gst/gstquery.c: (gst_query_set_position),
22662         (gst_query_parse_position), (gst_query_set_duration),
22663         (gst_query_parse_duration), (gst_query_new_convert):
22664         * gst/gstutils.c:
22665         Yay! 1% more docs coverage.
22666
22667 2005-10-20  Wim Taymans  <wim@fluendo.com>
22668
22669         * gst/gstpad.h:
22670         * gst/gstquery.c: (gst_query_set_position),
22671         (gst_query_parse_position), (gst_query_set_duration),
22672         (gst_query_parse_duration), (gst_query_new_convert):
22673         * gst/gstquery.h:
22674         * gst/gstutils.c: (gst_element_query_convert):
22675         * gst/gstutils.h:
22676         Docs and consistency fixes.
22677
22678 2005-10-20  Wim Taymans  <wim@fluendo.com>
22679
22680         * gst/gsttask.c:
22681         * gst/gsttask.h:
22682         More docs.
22683
22684 2005-10-20  Wim Taymans  <wim@fluendo.com>
22685
22686         * gst/gstbin.c: (message_check), (bin_replace_message),
22687         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22688         (update_degree), (gst_bin_sort_iterator_next),
22689         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22690         Reworked the message handling a bit, cache the messages instead of
22691         only the senders. alows us to do more in the future.
22692
22693 2005-10-20  Wim Taymans  <wim@fluendo.com>
22694
22695         * docs/design/part-TODO.txt:
22696         Update TODO
22697
22698         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22699         (gst_base_sink_query):
22700         Don't use clock time to report position when in EOS.
22701
22702 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22703
22704         * tools/gst-inspect.c: (print_interfaces),
22705         (print_element_properties_info), (print_element_info):
22706           Fix interface output with gst-inspect -a; don't print
22707           newlines after double/float properties.
22708
22709 2005-10-20  Wim Taymans  <wim@fluendo.com>
22710
22711         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22712         (gst_base_sink_query):
22713         Speed up current position calculation.
22714
22715         * gst/base/gstbasesrc.c: (gst_base_src_query),
22716         (gst_base_src_default_newsegment):
22717         Correctly set stream position in newsegment.
22718
22719         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22720         (update_degree), (gst_bin_sort_iterator_next),
22721         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22722         * gst/gstmessage.c: (gst_message_new_custom):
22723         Clean up debugging info
22724
22725         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22726         (gst_queue_loop), (gst_queue_handle_src_query):
22727         Pause task faster.
22728
22729 2005-10-19  Wim Taymans  <wim@fluendo.com>
22730
22731         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22732         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22733         Fix query handling again.
22734
22735 2005-10-19  Wim Taymans  <wim@fluendo.com>
22736
22737         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22738         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22739         * gst/base/gstbasesrc.c: (gst_base_src_query):
22740         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22741         * gst/elements/gsttypefindelement.c:
22742         (gst_type_find_handle_src_query), (find_element_get_length),
22743         (gst_type_find_element_activate):
22744         API change fix.
22745
22746         * gst/gstquery.c: (gst_query_new_position),
22747         (gst_query_set_position), (gst_query_parse_position),
22748         (gst_query_new_duration), (gst_query_set_duration),
22749         (gst_query_parse_duration), (gst_query_set_segment),
22750         (gst_query_parse_segment):
22751         * gst/gstquery.h:
22752         Bundling query position/duration is not a good idea since duration
22753         does not change much and we don't want to recalculate it for every
22754         position query, so they are separated again..
22755         Base value in segment query is not needed.
22756
22757         * gst/gstqueue.c: (gst_queue_handle_src_query):
22758         * gst/gstutils.c: (gst_element_query_position),
22759         (gst_element_query_duration), (gst_pad_query_position),
22760         (gst_pad_query_duration):
22761         * gst/gstutils.h:
22762         Updates for query API change.
22763         Added some docs here and there.
22764
22765 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22766
22767         * check/gst/gstbin.c: (GST_START_TEST):
22768         * check/gst/gstghostpad.c: (GST_START_TEST):
22769         * check/pipelines/cleanup.c: (GST_START_TEST):
22770           wait on thread to die so we can check refcount correctly
22771
22772 2005-10-18  Wim Taymans  <wim@fluendo.com>
22773
22774         * check/pipelines/stress.c: (GST_START_TEST):
22775         Make check a little more time consuming.
22776
22777 2005-10-18  Wim Taymans  <wim@fluendo.com>
22778
22779         * check/Makefile.am:
22780         * check/pipelines/stress.c: (GST_START_TEST),
22781         (simple_launch_lines_suite), (main):
22782         Small state change torture test.
22783
22784         * docs/design/part-states.txt:
22785         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22786         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22787         (gst_base_sink_change_state):
22788         Never take state lock from streaming thread, clean up ugly
22789         hacks. Unfortunatly core does not yet support nice ways to
22790         async commit state.
22791         
22792         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22793         (bin_bus_handler):
22794         Start state recalc if a STATE_DIRTY message is posted, but only
22795         on the toplevel bin.
22796
22797         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22798         (gst_element_get_state_func), (gst_element_abort_state),
22799         (gst_element_commit_state), (gst_element_lost_state),
22800         (gst_element_set_state_func), (gst_element_change_state):
22801         * gst/gstelement.h:
22802         State variables are now protected with the LOCK, the state
22803         lock is only used to serialize _set_state().
22804
22805 2005-10-18  Wim Taymans  <wim@fluendo.com>
22806
22807         * check/gst/gstbin.c: (GST_START_TEST):
22808         * check/gst/gstmessage.c: (GST_START_TEST):
22809         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22810         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22811         (bin_bus_handler):
22812         * gst/gstelement.c: (gst_element_abort_state),
22813         (gst_element_commit_state), (gst_element_lost_state):
22814         * gst/gstmessage.c: (gst_message_new_state_changed),
22815         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22816         (gst_message_new_segment_done), (gst_message_new_duration),
22817         (gst_message_parse_state_changed),
22818         (gst_message_parse_segment_start),
22819         (gst_message_parse_segment_done), (gst_message_parse_duration):
22820         * gst/gstmessage.h:
22821         * tools/gst-launch.c: (event_loop):
22822         Seriously, this is better than a previous commit as we only need
22823         to notify the fact that an element changed state in a streaming
22824         thread, marking the state of the parents dirty, hence the 
22825         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22826         message.
22827
22828 2005-10-18  Wim Taymans  <wim@fluendo.com>
22829
22830         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22831         (gst_bin_recalc_func):
22832         * gst/gstelement.c: (gst_element_set_clock),
22833         (gst_element_abort_state), (gst_element_lost_state):
22834         Cleanups, prepare for state change fixes.
22835
22836 2005-10-18  Wim Taymans  <wim@fluendo.com>
22837
22838         * gst/gstbin.h:
22839         * gst/gstelement.c: (gst_element_class_init),
22840         (gst_element_set_state), (gst_element_set_state_func):
22841         * gst/gstelement.h:
22842         Pending ABI changes.
22843         GThreadPool in GstBinClass to monitor async state changes.
22844         state_cookie in GstElement to detect concurrent gst/set state.
22845         set_state is now virtual too in case a very complicated element
22846         has to be constructed.
22847
22848 2005-10-18  Wim Taymans  <wim@fluendo.com>
22849
22850         * check/gst/gstbin.c: (GST_START_TEST):
22851         * check/gst/gstmessage.c: (GST_START_TEST):
22852         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22853         * gst/gstbin.c: (bin_bus_handler):
22854         * gst/gstelement.c: (gst_element_commit_state),
22855         (gst_element_lost_state):
22856         * gst/gstmessage.c: (gst_message_new_state_changed),
22857         (gst_message_new_segment_start), (gst_message_new_segment_done),
22858         (gst_message_new_duration), (gst_message_parse_state_changed),
22859         (gst_message_parse_segment_start),
22860         (gst_message_parse_segment_done), (gst_message_parse_duration):
22861         * gst/gstmessage.h:
22862         * tools/gst-launch.c: (event_loop):
22863         Make messages future proof.
22864         state-change gets a flag if it was a message comming from the
22865         streaming thread.
22866         segment-start/stop can also be specified in other formats.
22867         A message to notify an app that a pipeline changed playback 
22868         duration.
22869         Also fix a GstMessage leak in -launch
22870
22871 2005-10-18  Andy Wingo  <wingo@pobox.com>
22872
22873         * gst/gstelement.c (gst_element_dispose): More helpful message.
22874
22875 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22876
22877         reviewed by: <delete if not using a buddy>
22878
22879         * common/gtk-doc.mak:
22880
22881 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22882
22883         * gst/gstregistry.c: (gst_registry_scan_path_level):
22884           unref a plug-in we get that was already initialized
22885
22886 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22887
22888         * docs/gst/gstreamer-sections.txt:
22889         * docs/libs/gstreamer-libs-sections.txt:
22890         * gst/gstelement.h:
22891           add new api entries
22892           hide internal macro
22893
22894 2005-10-17  Andy Wingo  <wingo@pobox.com>
22895
22896         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22897         cleanup.
22898
22899         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22900
22901         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22902
22903         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22904         (gst_element_get_state_func): Better debug message.
22905         (gst_element_commit_state): s/INFO/DEBUG/.
22906         (gst_element_lost_state, gst_element_change_state): 
22907
22908         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22909         (gst_message_new_custom): s/INFO/LOG/.
22910
22911 2005-10-17  Michael Smith <msmith@fluendo.com>
22912
22913         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22914           Check if end time is valid using end time, not start time.
22915
22916 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22917
22918         * check/gst-libs/controller.c: (GST_START_TEST),
22919         (gst_controller_suite):
22920         * libs/gst/controller/gstcontroller.c:
22921         (gst_controlled_property_set_interpolation_mode):
22922         * libs/gst/controller/gstcontroller.h:
22923         * libs/gst/controller/gstinterpolation.c:
22924         * testsuite/controller/.cvsignore:
22925         * testsuite/controller/Makefile.am:
22926         * testsuite/controller/interpolator.c:
22927           merge controller testsuites
22928           fix broken tests
22929           remove mem-chunk from docs
22930
22931 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22932
22933         * gst/gstmemchunk.c:
22934         * gst/gstmemchunk.h:
22935         * gst/gsttrashstack.c:
22936         * gst/gsttrashstack.h:
22937           out.  get out.  you're fired.  to the Attic !
22938
22939 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22940
22941         * gst/gstcaps.c: (gst_caps_intersect):
22942           fix signedness issues in a (hopefully) correct way
22943         * gst/gstelement.c: (gst_element_pads_activate):
22944           some debugging
22945         * gst/gstobject.c: (gst_object_set_parent):
22946           some debugging
22947
22948 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22949
22950         * gst/gstvalue.h: Fix prototypes.
22951
22952 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22953
22954         * docs/gst/gstreamer-sections.txt:
22955         * gst/gst.c: (gst_version_string):
22956         * gst/gst.h:
22957         * gst/gstversion.h.in:
22958         * win32/common/libgstreamer.def:
22959           add gst_version_string ()
22960
22961 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22962
22963         * configure.ac:
22964           clean up further
22965         * gst/gst.c: (init_post):
22966         * win32/common/config.h.in:
22967           it's PLUGINDIR now
22968         * gst/gstcaps.c: (gst_caps_intersect):
22969           use gint64, the range could be bigger than a guint
22970
22971 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22972
22973         * gst/gstclock.h:
22974           document potential problem in 2038
22975
22976 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22977
22978         * gst/gstcaps.c: (gst_caps_intersect):
22979           Fix guint j diving under 0
22980
22981 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22982
22983         * configure.ac:
22984         * win32/common/config.h:
22985         * win32/common/config.h.in:
22986           check for process.h, declares getpid() on Windows
22987         * gst/gstinfo.c:
22988           include process.h if we have it
22989         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22990         * gst/gstmemchunk.h:
22991           fix signedness issues
22992         * win32/common/libgstreamer.def:
22993           fix get_type's
22994
22995 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22996
22997         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22998         fix. Because of unsigned ints, caps intersection was going nuts and
22999         trying to access structures with G_MAXUINT index. That fixes
23000         videotestsrc ! ffmpegcolorspace ! fakesink
23001         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
23002         consistency.
23003
23004 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23005
23006         * configure.ac:
23007           use the gettext macro
23008         * gst/elements/gstelements.c:
23009         * gst/gst.c:
23010         * gst/indexers/gstindexers.c:
23011           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
23012         * win32/common/config.h:
23013           updated config.h
23014         * win32/common/config.h.in:
23015           add the template to generate config.h
23016         * win32/common/gstenumtypes.c:
23017         * win32/common/gstversion.h:
23018           updated copies
23019
23020 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23021
23022         * gst/gst.c: (gst_version):
23023         * gst/gstversion.h.in:
23024           add the nano
23025
23026 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
23027
23028         * gst/gstevent.h:
23029           Oops, add missing closing bracket.
23030
23031 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23032
23033         * configure.ac:
23034           use common m4's for argument checking
23035
23036 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
23037
23038         * docs/gst/gstreamer-sections.txt:
23039         * gst/gstevent.h:
23040           Add GST_EVENT_TYPE_NAME() macro.
23041
23042 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23043
23044         * gst/gstinfo.c:
23045         * gst/gstpluginfeature.c:
23046         * gst/gsttask.c:
23047           privatize more symbols
23048
23049 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23050
23051         * configure.ac:
23052           add srcdir, builddir includes to GST_ALL_CFLAGS, since
23053           everything that uses GStreamer API should have the includes
23054
23055 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23056
23057         * docs/gst/gstreamer-sections.txt:
23058         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
23059         * gst/gstvalue.h:
23060           give each value a _get_type, removes the DATA exports
23061
23062 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23063
23064         * gst/gst.c:
23065         * gst/gst.h:
23066           remove _gst_registry_auto_load, not used anymore
23067         * gst/gstbin.c: (gst_bin_get_type):
23068         * gst/gstbin.h:
23069         * gst/gstelement.c: (gst_element_get_type):
23070         * gst/gstelement.h:
23071         * gst/gstobject.c: (gst_object_get_type):
23072         * gst/gstobject.h:
23073         * gst/gstpad.c: (gst_pad_get_type):
23074         * gst/gstpad.h:
23075           make _get_type functions similar, fixes data export from library
23076
23077 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23078
23079         * configure.ac:
23080           correctly make conditionals
23081         * gst/elements/Makefile.am:
23082         * gst/elements/gstelements.c:
23083           fix typo causing fdsrc not to build
23084
23085 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23086
23087         * testsuite/Makefile.am:
23088         * testsuite/bytestream/.cvsignore:
23089         * testsuite/bytestream/Makefile.am:
23090         * testsuite/bytestream/filepadsink.c:
23091         * testsuite/bytestream/gstbstest.c:
23092         * testsuite/bytestream/test1.c:
23093         * testsuite/bytestream/testfile1:
23094         * testsuite/caps/normalisation.c:
23095         * testsuite/caps/random.c: (main):
23096         * testsuite/cleanup/.cvsignore:
23097         * testsuite/cleanup/Makefile.am:
23098         * testsuite/cleanup/cleanup1.c:
23099         * testsuite/cleanup/cleanup2.c:
23100         * testsuite/cleanup/cleanup3.c:
23101         * testsuite/cleanup/cleanup4.c:
23102         * testsuite/cleanup/cleanup5.c:
23103         * testsuite/controller/interpolator.c:
23104         * testsuite/debug/printf_extension.c: (main):
23105         * testsuite/elements/tee.c:
23106         * testsuite/negotiation/.cvsignore:
23107         * testsuite/negotiation/Makefile.am:
23108         * testsuite/negotiation/pad_link.c:
23109         * testsuite/pad/Makefile.am:
23110         * testsuite/pad/chainnopull.c:
23111         * testsuite/pad/getnopush.c:
23112         * testsuite/pad/link.c:
23113         * testsuite/refcounting/sched.c: (create_pipeline):
23114         * testsuite/registry/Makefile.am:
23115         * testsuite/registry/gst-print-formats.c:
23116         * testsuite/schedulers/.cvsignore:
23117         * testsuite/schedulers/142183-2.c:
23118         * testsuite/schedulers/142183.c:
23119         * testsuite/schedulers/143777-2.c:
23120         * testsuite/schedulers/143777.c:
23121         * testsuite/schedulers/147713.c:
23122         * testsuite/schedulers/147819.c:
23123         * testsuite/schedulers/147894-2.c:
23124         * testsuite/schedulers/147894.c:
23125         * testsuite/schedulers/Makefile.am:
23126         * testsuite/schedulers/group_link.c:
23127         * testsuite/schedulers/queue_link.c:
23128         * testsuite/schedulers/relink.c:
23129         * testsuite/schedulers/unlink.c:
23130         * testsuite/schedulers/unref.c:
23131         * testsuite/schedulers/useless_iteration.c:
23132         * testsuite/states/bin.c:
23133           clean out/remove some stuff from the testsuite directories
23134
23135 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23136
23137         * configure.ac:
23138           check for some headers
23139         * gst/elements/Makefile.am:
23140         * gst/elements/gstelements.c:
23141           don't compile fdsrc without sys/socket.h
23142         * gst/indexers/Makefile.am:
23143         * gst/indexers/gstindexers.c: (plugin_init):
23144           don't compile fileindex without mmap
23145
23146 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23147
23148         * configure.ac:
23149           reorganize
23150           clean up
23151           document more
23152           remove cruft
23153         * check/Makefile.am:
23154         * docs/gst/Makefile.am:
23155         * examples/helloworld/Makefile.am:
23156         * gst/Makefile.am:
23157         * gst/base/Makefile.am:
23158         * gst/check/Makefile.am:
23159         * gst/elements/Makefile.am:
23160         * gst/indexers/Makefile.am:
23161         * gst/parse/Makefile.am:
23162         * libs/gst/controller/Makefile.am:
23163         * libs/gst/dataprotocol/Makefile.am:
23164         * examples/helloworld/helloworld.c: (event_loop):
23165           compile fixes, though it's not being compiled currently
23166
23167 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23168
23169         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23170           Add some simple tests for the new taglist date API.
23171
23172 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23173
23174         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23175         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23176           Beautify 'last-message' output: print 'none' for buffer timestamps
23177           and durations if none is set; improve alignment with next messages.
23178
23179 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23180
23181         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23182         * gst/gstpluginfeature.h:
23183         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23184         * gst/gstregistry.h:
23185         * docs/gst/gstreamer-sections.txt:
23186           Add new API to check plugin feature version requirements.
23187
23188         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23189           Some basic tests for the above.         
23190
23191 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23192
23193         * gst/gststructure.c: (gst_structure_to_string):
23194           guard against NULL printf - happens when for example
23195           a message structure with GstClock gets serialized
23196
23197 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23198
23199         * gst/base/gstcollectpads.c: (gst_collectpads_event):
23200           Fix presumable copy'n'pasto.
23201
23202 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23203
23204         * gst/elements/gstfakesrc.h:
23205         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23206         * gst/elements/gsttypefindelement.c:
23207           fix some signedness
23208         * gst/elements/gstfilesink.c: (gst_file_sink_render):
23209           I wonder if this could actually write +2GB files before
23210
23211 2005-10-13  Andy Wingo  <wingo@pobox.com>
23212
23213         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23214         Fix Timmeke Waymans bug.
23215         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23216         string of the proper length to gst_caps_from_string. There's a
23217         potential for, before this fix, that this could cause someone
23218         connecting over the network to cause a segfault if the payload is
23219         not NUL-terminated.
23220
23221 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23222
23223         * docs/design/draft-push-pull.txt:
23224         * docs/design/part-overview.txt:
23225         * docs/random/TODO-pre-0.9:
23226         * docs/random/old/ChangeLog.gstreamer:
23227         * gst/base/gstpushsrc.c:
23228         * gst/gstclock.c:
23229           fixed typos
23230
23231 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23232
23233         * gst/glib-compat.c: (gst_flags_get_first_value):
23234         * gst/glib-compat.h:
23235         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23236         (gst_value_compare_double), (gst_value_serialize_flags):
23237           GLib 2.6 g_flags_get_first_value has a bug that triggers an
23238           infinite loop
23239
23240 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23241
23242         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23243         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23244           fix up debugging
23245         * tools/gst-launch.c: (event_loop):
23246           print out clock nicely
23247
23248 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23249
23250         * docs/gst/gstreamer-sections.txt:
23251         * gst/gsttaglist.h:
23252         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23253         (gst_tag_list_get_date_index):
23254           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23255           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23256
23257 2005-10-13  Julien MOUTTE  <julien@moutte.net>
23258
23259         * gst/base/gstcollectpads.c: (gst_collectpads_event),
23260         (gst_collectpads_chain):
23261         * gst/base/gstcollectpads.h: Handle newsegment and store informations
23262         in CollectData.
23263
23264 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23265
23266         * docs/gst/gstreamer-sections.txt:
23267         * gst/gst.c:
23268         * gst/gsterror.h:
23269         * tools/gst-inspect.c: (main):
23270         * tools/gst-launch.c: (main):
23271         * tools/gst-run.c: (main):
23272         * tools/gst-xmlinspect.c: (main):
23273           fix GOption context leaks
23274           doc fixes
23275
23276 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23277
23278         * gst/gstbus.c:
23279           use HAVE_UNISTD_H
23280         * win32/common/config.h:
23281           update config
23282         * win32/vs6/grammar.dsp:
23283         * win32/vs6/libgstelements.dsp:
23284         * win32/vs6/libgstreamer.dsp:
23285           update vs6 files
23286
23287 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23288
23289         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23290         * gst/base/gstbasesrc.c: (gst_base_src_query):
23291           fix more guint64<->gdouble conversions
23292
23293 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23294
23295         * Makefile.am:
23296           add win32-update target
23297         * win32/common/gstconfig.h:
23298         * win32/common/gstenumtypes.c:
23299         * win32/common/gstenumtypes.h:
23300         * win32/common/gstversion.h:
23301           add files that visual studio can't generate
23302
23303 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23304
23305         * Makefile.am:
23306           add a win32-update target
23307         * configure.ac:
23308
23309 2005-10-12  Wim Taymans  <wim@fluendo.com>
23310
23311         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23312         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23313         * gst/gstelement.c: (gst_element_commit_state),
23314         (gst_element_set_state):
23315         Protect flags with proper lock.
23316         unref provided cached clock in dispose.
23317
23318 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23319
23320         * gst/gst.c:
23321         * gst/gstminiobject.h:
23322         * gst/gstpad.h:
23323         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23324           removed unused flags from miniobject
23325           doc fixes
23326
23327 2005-10-12  Wim Taymans  <wim@fluendo.com>
23328
23329         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23330         (gst_file_sink_event), (gst_file_sink_render):
23331         Flush before seeking.
23332
23333 2005-10-12  Andy Wingo  <wingo@pobox.com>
23334
23335         * gst/gst.c (gst_init_check): Ignore unknown options, as has
23336         always been the case.
23337
23338 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23339
23340         * check/gst/gstbin.c: (GST_START_TEST):
23341         * docs/gst/gstreamer-sections.txt:
23342         * gst/base/gstbasesink.c: (gst_base_sink_init):
23343         * gst/base/gstbasesrc.c: (gst_base_src_init),
23344         (gst_base_src_get_range), (gst_base_src_check_get_range),
23345         (gst_base_src_start), (gst_base_src_stop):
23346         * gst/base/gstbasesrc.h:
23347         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23348         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23349         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23350         (bin_bus_handler):
23351         * gst/gstbin.h:
23352         * gst/gstbuffer.h:
23353         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23354         * gst/gstbus.h:
23355         * gst/gstelement.c: (gst_element_is_locked_state),
23356         (gst_element_set_locked_state), (gst_element_commit_state),
23357         (gst_element_set_state):
23358         * gst/gstelement.h:
23359         * gst/gstindex.c: (gst_index_init):
23360         * gst/gstindex.h:
23361         * gst/gstminiobject.h:
23362         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23363         (gst_object_set_parent):
23364         * gst/gstobject.h:
23365         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23366         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23367         * gst/gstpad.h:
23368         * gst/gstpadtemplate.h:
23369         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23370         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23371         * gst/gstpipeline.h:
23372         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23373         (gst_file_index_commit):
23374         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23375         * testsuite/pad/link.c: (gst_test_src_init),
23376         (gst_test_filter_init), (gst_test_sink_init):
23377         * testsuite/states/locked.c: (main):
23378           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23379           moved bitshift from macro to enum definition
23380
23381 2005-10-12  Wim Taymans  <wim@fluendo.com>
23382
23383         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23384         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23385         (gst_file_sink_render):
23386         Some more debugging info.
23387
23388 2005-10-12  Wim Taymans  <wim@fluendo.com>
23389
23390         * docs/design/part-states.txt:
23391         * tools/gst-launch.c: (main):
23392         Some doc updates.
23393         Revert non-intentional change.
23394
23395 2005-10-12  Wim Taymans  <wim@fluendo.com>
23396
23397         * check/gst/gstbin.c: (GST_START_TEST):
23398         * check/gst/gstelement.c: (GST_START_TEST):
23399         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23400         * check/gst/gstghostpad.c: (GST_START_TEST):
23401         * check/gst/gstpipeline.c: (GST_START_TEST):
23402         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23403         * check/states/sinks.c: (GST_START_TEST):
23404         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23405         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23406         (gst_bin_remove_func), (gst_bin_get_state_func),
23407         (gst_bin_recalc_state), (gst_bin_change_state_func),
23408         (bin_bus_handler):
23409         * gst/gstelement.c: (gst_element_get_state_func),
23410         (gst_element_get_state), (gst_element_abort_state),
23411         (gst_element_commit_state), (gst_element_set_state),
23412         (gst_element_change_state), (gst_element_change_state_func):
23413         * gst/gstelement.h:
23414         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23415         (gst_pipeline_provide_clock_func):
23416         * gst/gstutils.c: (gst_element_link_pads_filtered):
23417         * tools/gst-launch.c: (main):
23418         * tools/gst-typefind.c: (main):
23419         Use GstClockTime in _get_state() instead of GTimeVal.
23420         Remove old code in gstutils.c
23421
23422 2005-10-12  Andy Wingo  <wingo@pobox.com>
23423
23424         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23425         removed.
23426
23427         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23428         there is no task. Shouldn't affect any code, as nothing in our
23429         plugins checks this return value.
23430         (gst_pad_stop_task): Also take the stream lock if the pad has no
23431         task. Docs updated.
23432
23433 2005-10-12  Wim Taymans  <wim@fluendo.com>
23434
23435         * gst/gstpad.c: (pre_activate), (post_activate),
23436         (gst_pad_activate_pull), (gst_pad_activate_push):
23437         Cleanup activation code. Reset old state if
23438         activation failed.
23439
23440 2005-10-12  Wim Taymans  <wim@fluendo.com>
23441
23442         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23443         (gst_base_sink_change_state):
23444         No need to prerol after receiving EOS.
23445
23446         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23447         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23448         * gst/elements/gstidentity.c: (gst_identity_event):
23449         Print events more verbosely.
23450
23451 2005-10-12  Wim Taymans  <wim@fluendo.com>
23452
23453         * check/Makefile.am:
23454         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23455         * check/states/sinks2.c:
23456         Moved sinks2 testcode in sinks check.
23457
23458         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23459         (gst_bin_remove_func), (gst_bin_recalc_state),
23460         (gst_bin_change_state_func), (bin_bus_handler):
23461         Fix potential race condition when _get_state() iterated over an
23462         ASYNC element right before it posted a state completion.
23463
23464         * gst/gstclock.h:
23465         Do proper cast here.
23466
23467         * gst/gstevent.c: (gst_event_new_newsegment),
23468         (gst_event_parse_newsegment):
23469         A playback rate of 0.0 is not allowed.
23470
23471 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23472
23473         * win32/common/config.h:
23474         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23475         (_trewinddir), (_ttelldir), (_tseekdir):
23476         * win32/common/dirent.h:
23477         * win32/common/gtchar.h:
23478         * win32/common/libgstbase.def:
23479         * win32/common/libgstreamer.def:
23480         * win32/vs6/grammar.dsp:
23481         * win32/vs6/gst_inspect.dsp:
23482         * win32/vs6/gst_launch.dsp:
23483         * win32/vs6/gstreamer.dsw:
23484         * win32/vs6/libgstbase.dsp:
23485         * win32/vs6/libgstelements.dsp:
23486         * win32/vs6/libgstreamer.dsp:
23487           Visual Studio 6 project files, and a new common directory.
23488           Phear.
23489
23490 2005-10-11  Wim Taymans  <wim@fluendo.com>
23491
23492         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23493         (gst_base_sink_do_sync), (gst_base_sink_query),
23494         (gst_base_sink_change_state):
23495         * gst/base/gstbasesink.h:
23496         Correctly parse newsegment info.
23497
23498 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23499
23500         * gst/gst.c: (init_post):
23501           split plugin paths correctly
23502
23503 2005-10-11  Wim Taymans  <wim@fluendo.com>
23504
23505         * check/gst/gstevent.c: (GST_START_TEST):
23506         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23507         (gst_base_sink_change_state):
23508         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23509         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23510         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23511         * gst/gstevent.c: (gst_event_new_newsegment),
23512         (gst_event_parse_newsegment):
23513         * gst/gstevent.h:
23514         Added extra flag to newsegment for future API freeze.
23515         Updated check and base elements.
23516
23517 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23518
23519         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23520         (gst_collectpads_add_pad), (gst_collectpads_pop),
23521         (gst_collectpads_event), (gst_collectpads_chain):
23522         * gst/base/gstcollectpads.h: Handle EOS correctly.
23523
23524 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23525
23526         * tools/gst-launch.c: (main):
23527           more null protecting
23528
23529 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23530
23531         * gst/gst-i18n-lib.h:
23532           check for ENABLE_NLS, not GETTEXT_PACKAGE
23533         * gst/gstregistry.c: (gst_registry_add_plugin),
23534         (gst_registry_scan_path_level),
23535         (_gst_registry_remove_cache_plugins):
23536           protect possibly NULL strings
23537         * gst/parse/types.h:
23538           config.h already included before
23539         * tools/gst-inspect.c: (main):
23540           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23541           check for ENABLE_NLS, not GETTEXT_PACKAGE
23542         * tools/gst-launch.c: (main):
23543           check for ENABLE_NLS, not GETTEXT_PACKAGE
23544
23545 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23546
23547         * configure.ac:
23548           if we don't have glib, fail before testing 2.8
23549         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23550           fix a leak, should fix plugins-base testsuite
23551
23552 2005-10-11  Andy Wingo  <wingo@pobox.com>
23553
23554         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23555         take the mode we're going to as an arg. Go head and set the mode
23556         and flushing flags now, so that if the activate function starts a
23557         thread all the flags will be in the right state.
23558         (post_activate): Renamed also. Just handle making sure streaming
23559         finishes for the deactivation case, and setting the deactivated
23560         mode.
23561         (gst_pad_set_active): Complain loudly if deactivation fails.
23562         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23563         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23564         remove the terrible hack.
23565
23566 2005-10-11  Wim Taymans  <wim@fluendo.com>
23567
23568         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23569         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23570         (gst_bin_recalc_state), (gst_bin_change_state_func),
23571         (gst_bin_dispose), (bin_bus_handler):
23572         * gst/gstbin.h:
23573         Prepare to make current EOS message queue more generic.
23574         Fix some typos.
23575
23576         * gst/gstevent.c: (gst_event_new_newsegment),
23577         (gst_event_parse_newsegment):
23578         * gst/gstevent.h:
23579         Rename base to stream_time.
23580
23581         * gst/gstmessage.h:
23582         Fix typo in docs.
23583
23584 2005-10-11  Wim Taymans  <wim@fluendo.com>
23585
23586         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23587         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23588         (gst_bin_change_state_func), (bin_bus_handler):
23589         * gst/gstbin.h:
23590         Work on proper clock selection.
23591
23592 2005-10-11  Edward Hervey  <edward@fluendo.com>
23593
23594         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23595         * libs/gst/controller/gstcontroller.h:
23596         Added GList* version of _remove_properties() in order to be able to wrap
23597         it in bindings.
23598
23599 2005-10-11  Wim Taymans  <wim@fluendo.com>
23600
23601         * docs/design/part-states.txt:
23602         Some more docs.
23603
23604         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23605         (gst_bin_change_state_func), (bin_bus_handler):
23606         Doc updates. Don't distribute the same clock over and over again.
23607
23608         * gst/gstclock.c:
23609         * gst/gstclock.h:
23610         Doc updates.
23611
23612         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23613         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23614         (gst_pad_send_event):
23615         * gst/gstpad.h:
23616         Make probe emission threadsafe again.
23617         Register quarks and move _get_name() from utils.
23618         Doc updates.
23619
23620         * gst/gstpipeline.c: (gst_pipeline_class_init),
23621         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23622         Only redistribute the clock of it changed.
23623
23624         * gst/gstsystemclock.h:
23625         Doc updates. 
23626
23627         * gst/gstutils.c:
23628         * gst/gstutils.h:
23629         Moved the _flow_get_name() to GstPad.
23630
23631 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23632
23633         * check/gst-libs/gdp.c: (GST_START_TEST):
23634         * check/gst/gstcaps.c: (GST_START_TEST):
23635         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23636         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23637         (gst_dp_packet_from_caps):
23638           fix more valgrind warnings before turning up the heat
23639
23640 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23641
23642         * gst/parse/grammar.y:
23643           some cleanup before the hacking
23644
23645 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23646
23647         * gst/base/gstbasesrc.c: (gst_base_src_query):
23648           use conversions
23649         * gst/gstutils.c: (gst_guint64_to_gdouble),
23650         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23651         * gst/gstutils.h:
23652           externalize, basesrc uses it
23653           obviously the implementation needs testing
23654
23655 2005-10-10  Wim Taymans  <wim@fluendo.com>
23656
23657         * tests/sched/Makefile.am:
23658         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23659         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23660
23661 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23662
23663         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23664           apparently converting from guint64 to double is not implemented
23665           on MSVC
23666
23667 2005-10-10  Wim Taymans  <wim@fluendo.com>
23668
23669         * check/Makefile.am:
23670         * check/generic/states.c: (GST_START_TEST):
23671         * check/gst/gstbin.c: (GST_START_TEST):
23672         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23673         * check/states/sinks.c: (GST_START_TEST):
23674         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23675         (main):
23676         Check fixes, use API as stated in design docs, remove hacks.
23677
23678         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23679         (gst_base_sink_change_state):
23680         Catch stopping our task while we're shutting down.
23681
23682         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23683         (gst_bin_remove_func), (gst_bin_get_state_func),
23684         (gst_bin_recalc_state), (gst_bin_change_state_func),
23685         (bin_bus_handler):
23686         * gst/gstbin.h:
23687         * gst/gstelement.c: (gst_element_init),
23688         (gst_element_get_state_func), (gst_element_abort_state),
23689         (gst_element_commit_state), (gst_element_lost_state),
23690         (gst_element_set_state), (gst_element_change_state),
23691         (gst_element_change_state_func):
23692         * gst/gstelement.h:
23693         New state change algorithm (see #318116)
23694
23695         * gst/gstpipeline.c: (gst_pipeline_class_init),
23696         (gst_pipeline_init), (gst_pipeline_set_property),
23697         (gst_pipeline_get_property), (do_pipeline_seek),
23698         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23699         * gst/gstpipeline.h:
23700         Remove crude state change hacks.
23701
23702         * gst/gstutils.h:
23703         Remove crude hacks.
23704
23705         * tools/gst-launch.c: (main):
23706         Fixes for state change. Needs some more work to fully use the
23707         new stuff.
23708
23709 2005-10-10  Andy Wingo  <wingo@pobox.com>
23710
23711         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23712
23713         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23714         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23715         issue.
23716
23717 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23718
23719         * gst/gstiterator.c: (gst_iterator_new):
23720           Fix my previous commit: GTypes passed to gst_iterator_new()
23721           can be fundamental types.
23722
23723 2005-10-10  Wim Taymans  <wim@fluendo.com>
23724
23725         * gst/gstelement.c: (gst_element_iterate_pad_list),
23726         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23727         (gst_element_iterate_sink_pads):
23728         Use src/sink pads lists for the respective iterators instead
23729         of filtering.
23730
23731 2005-10-10  Andy Wingo  <wingo@pobox.com>
23732
23733         Merged in popt removal + GOption addition patch from Ronald, bug
23734         #169772.
23735
23736         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23737         GstElement macros around, remove popt-related symbols, add goption
23738         stuff.
23739
23740         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23741         
23742         * docs/gst/Makefile.am:
23743         * docs/libs/Makefile.am: No POPT_CFLAGS.
23744         
23745         * examples/manual/Makefile.am:
23746         * docs/manual/basics-init.xml: Doc updates with an example.
23747         
23748         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23749         (gst_init), (parse_one_option), (parse_goption_arg):
23750         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23751         bit of hand merging and debugging to get the GOption stuff working
23752         tho.
23753         
23754         * tests/Makefile.am:
23755         * tools/Makefile.am:
23756         * tools/gst-inspect.c: (main):
23757         * tools/gst-launch.c: (main):
23758         * tools/gst-run.c: (main):
23759         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23760
23761 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23762
23763         * gst/gstiterator.c: (gst_iterator_new):
23764           Add assertions to make sure passed GType is likely to really
23765           be a GType (as the compiler won't catch it if the size and
23766           GType arguments get mixed up, see #318447).
23767
23768 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23769
23770         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23771
23772         * gst/gstbin.c: (gst_bin_iterate_sorted):
23773           Pass GType and size arguments to gst_iterator_new() in the right
23774           order (maybe we should make _new() take the GType as first argument
23775           just like _new_list()?) (#318447).
23776           
23777
23778 2005-10-10  Wim Taymans  <wim@fluendo.com>
23779
23780         * gst/gstelement.c: (gst_element_finalize):
23781         And free the GStaticRecMutex too
23782
23783 2005-10-10  Andy Wingo  <wingo@pobox.com>
23784
23785         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23786         Allocate and free the mutex properly.
23787
23788         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23789         New macros.
23790         (GstElement): The state_lock is now recursive. Rebuild your
23791         plugins, suckers. Old macros adapted.
23792
23793         * docs/gst/gstreamer-sections.txt: Doc updates.
23794
23795         * gst/gstutils.h:
23796         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23797         (g_static_rec_cond_wait): Ported from state changes patch, while
23798         we wait on bug #317802 to be solved in a well-distributed GLib.
23799
23800         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23801         gst_element_change_state, variable name changes.
23802         (gst_element_change_state): Split out of gst_element_set_state in
23803         preparation for the state change merge. Doesn't pay attention to
23804         the 'transition' argument.
23805         (gst_element_set_state): Updates, hopefully purely cosmetic.
23806         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23807         state change patch.
23808         (gst_element_get_state_func): Renamed from get_state, cosmetic
23809         changes.
23810
23811 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23812
23813         * gst/elements/gstelements.c:
23814         * win32/GStreamer.vcproj:
23815         * win32/config.h:
23816         * win32/dirent.c: (_tseekdir):
23817         * win32/gst-inspect.vcproj:
23818         * win32/gst-launch.vcproj:
23819         * win32/gstconfig.h:
23820         * win32/gstelements.vcproj:
23821         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23822         * win32/gstreamer.def:
23823         * win32/msvc71.sln:
23824           updates for the win32 build (patch from Sebastien Moutte)
23825
23826 2005-10-10  Andy Wingo  <wingo@pobox.com>
23827
23828         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23829         gst_bin_get_state, cleaned up (but no logic changes).
23830         (bin_element_is_sink): Comment updates.
23831         (sink_iterator_filter): Remove needless cast.
23832         (gst_bin_iterate_sinks): Doc update.
23833         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23834         cleaned up (but no logic changes).
23835
23836         * check/states/sinks.c (test_src_sink): Cleanups from the state
23837         change patch.
23838         (test_livesrc_sink): Sync on the state.
23839
23840         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23841         the state change patch.
23842
23843         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23844         change patch.
23845
23846         * check/gst/gstbin.c: Merge in some style fixes and additional
23847         checks from Wim's state change patch.
23848
23849 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23850
23851         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23852         (gst_type_find_helper):
23853           Check whether we have the requested data already in our list of
23854           cached buffers before pulling a new buffer; also make the buffer
23855           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23856
23857 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23858
23859         * gst/gstcaps.c:
23860         * gst/gstevent.c:
23861           doc updates
23862         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23863           don't use long long, it's not portable.  Replacing with
23864           gint64 seems to work; let's hope no skeletons fall out of the closet.
23865
23866 2005-10-10  Andy Wingo  <wingo@pobox.com>
23867
23868         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23869
23870 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23871
23872         * docs/gst/gstreamer-sections.txt:
23873         * gst/gstevent.c:
23874         * gst/gstevent.h:
23875         * gst/gstinfo.c:
23876         * gst/gstinfo.h:
23877         * gst/gstmessage.c: (gst_message_parse_state_changed):
23878         * gst/gstpad.c:
23879         * gst/gstpad.h:
23880           more docs, fix compilation
23881
23882 2005-10-09  Philippe Khalaf <burger@speedy.org>
23883         * gst/gstmessage.c:
23884           Fixed a few forgotten variables on previous commit
23885
23886 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23887
23888         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23889           Fix evil typefind crasher: getrange() might return a short
23890           buffer at the end of a file, but gst_type_find_peek() must
23891           either return the full data as requested or NULL, but
23892           never a short buffer.
23893
23894 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23895
23896         * gst/gstmessage.c: (gst_message_new_state_changed),
23897         (gst_message_parse_state_changed):
23898         * gst/gstmessage.h:
23899           don't use "new", it's a C++ keyword
23900
23901 2005-10-08  Wim Taymans  <wim@fluendo.com>
23902
23903         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23904         * gst/gstelement.c: (gst_element_post_message):
23905         * gst/gstpipeline.c: (gst_pipeline_change_state):
23906         Small docs and debug updates.
23907
23908 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23909
23910         * docs/gst/gstreamer-sections.txt:
23911         * gst/gstelementfactory.c:
23912         * gst/gstevent.c:
23913         * gst/gsttaglist.c:
23914           more docs
23915
23916 2005-10-08  Wim Taymans  <wim@fluendo.com>
23917
23918         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23919         (gst_bin_dispose), (bin_bus_handler):
23920         Fix typos, add comments.
23921         Clear EOS list when going to PAUSED from any direction and do it
23922         in a threadsafe way.
23923         Get base time in a threadsafe way too.
23924         Fix confusing debug in the change_state function.
23925         Various other small cleanups.
23926         
23927         * gst/gstelement.c: (gst_element_post_message):
23928         Fix very verbose bus posting code.
23929
23930         * gst/gstpipeline.c: (gst_pipeline_class_init),
23931         (gst_pipeline_set_property), (gst_pipeline_get_property),
23932         (gst_pipeline_change_state):
23933         Small ARG_ -> PROP_ cleanup
23934
23935 2005-10-08  Wim Taymans  <wim@fluendo.com>
23936
23937         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23938         Do a less CPU demanding EOS check because we can.
23939
23940 2005-10-08  Wim Taymans  <wim@fluendo.com>
23941
23942         * libs/gst/dataprotocol/dataprotocol.c:
23943         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23944         (gst_dp_packet_from_event):
23945         * libs/gst/dataprotocol/dataprotocol.h:
23946         * libs/gst/dataprotocol/dp-private.h:
23947         It's about time we bump the version number.
23948         Since event types don't fit in the guint8 anymore describing
23949         the payload type, make payload type 16 bits wide.
23950
23951 2005-10-08  Wim Taymans  <wim@fluendo.com>
23952
23953         * docs/design/part-TODO.txt:
23954         * docs/design/part-clocks.txt:
23955         * docs/design/part-events.txt:
23956         * docs/design/part-gstbin.txt:
23957         * docs/design/part-gstelement.txt:
23958         * docs/design/part-gstpipeline.txt:
23959         * docs/design/part-live-source.txt:
23960         * docs/design/part-messages.txt:
23961         * docs/design/part-overview.txt:
23962         * docs/design/part-states.txt:
23963         Many doc updates.
23964
23965 2005-10-08  Wim Taymans  <wim@fluendo.com>
23966
23967         * gst/gstevent.c:
23968         * gst/gstevent.h:
23969         Fix event quark registration.
23970         Add some space between events so we can insert them in the
23971         right groups.
23972
23973 2005-10-08  Wim Taymans  <wim@fluendo.com>
23974
23975         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23976         (gst_base_sink_handle_buffer):
23977         Better log message.
23978
23979         * gst/gstbus.h:
23980         * gst/gstelement.h:
23981         More docs.
23982
23983         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23984         (gst_queue_set_property), (gst_queue_get_property):
23985         * gst/gstqueue.h:
23986         Remove old unused properties.
23987
23988 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23989         * docs/gst/gstreamer-sections.txt:
23990         * gst/gstmessage.c:
23991         * gst/gstmessage.h:
23992         * gst/gstminiobject.c:
23993         * gst/gstminiobject.h:
23994         * gst/gstobject.h:
23995         * gst/gstpad.h:
23996         * gst/gstutils.h:
23997           lots of new docs and doc fixes
23998
23999 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24000
24001         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
24002         * gst/gstplugin.h:
24003         * gst/gstregistry.c: (gst_registry_lookup_locked),
24004         (gst_registry_scan_path_level):
24005         * gst/gstregistryxml.c: (load_plugin):
24006           Only ever load one plugin for a given plugin basename.
24007           This ensures correct overriding of GST_PLUGIN_PATH over
24008           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
24009           system installed plugins.
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_do_sync), (gst_base_sink_handle_buffer):
24015         Prepare for doing QOS.
24016
24017 2005-10-08  Wim Taymans  <wim@fluendo.com>
24018
24019         * check/gst/gstbin.c: (GST_START_TEST):
24020         * check/pipelines/cleanup.c: (GST_START_TEST):
24021         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24022         Allow new clock message too.
24023
24024 2005-10-08  Wim Taymans  <wim@fluendo.com>
24025
24026         * gst/gstmessage.c: (gst_message_new_error),
24027         (gst_message_new_warning), (gst_message_new_tag),
24028         (gst_message_new_state_changed), (gst_message_new_clock_provide),
24029         (gst_message_new_clock_lost), (gst_message_new_new_clock),
24030         (gst_message_new_segment_start), (gst_message_new_segment_done),
24031         (gst_message_parse_state_changed),
24032         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
24033         (gst_message_parse_new_clock):
24034         * gst/gstmessage.h:
24035         Also carry the clock in question.
24036
24037 2005-10-08  Wim Taymans  <wim@fluendo.com>
24038
24039         * gst/gstmessage.c: (gst_message_new_custom),
24040         (gst_message_new_eos), (gst_message_new_error),
24041         (gst_message_new_warning), (gst_message_new_tag),
24042         (gst_message_new_state_changed), (gst_message_new_clock_provide),
24043         (gst_message_new_new_clock), (gst_message_new_segment_start),
24044         (gst_message_new_segment_done), (gst_message_parse_state_changed),
24045         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
24046         * gst/gstmessage.h:
24047         Clean up.
24048         Added clock related messages.
24049
24050         * gst/gstpipeline.c: (gst_pipeline_change_state):
24051         Post message when the clock changed.
24052
24053         * tools/gst-launch.c: (event_loop):
24054         Print new clock.
24055
24056 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
24057
24058         * tools/gst-inspect.c: (print_element_properties_info):
24059           Can't pass NULL strings to g_print() on windows.
24060
24061 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24062
24063         * docs/Makefile.am:
24064         * docs/gst/Makefile.am:
24065         * docs/gst/gstreamer-docs.sgml:
24066         * docs/gst/running.xml:
24067         * docs/version.entities.in:
24068           add a chapter on running GStreamer.
24069           document GST_DEBUG and GST_PLUGIN* env vars
24070
24071 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24072
24073         * Makefile.am:
24074           remove include dir
24075         * configure.ac:
24076           remove PLUGINS_BUILDDIR stuff
24077         * gst/gst.c: (init_post):
24078           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
24079         * idiottest.mak:
24080           remove, it was condescending and not needed
24081
24082 2005-10-08  Wim Taymans  <wim@fluendo.com>
24083
24084         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
24085         (gst_base_sink_handle_object), (gst_base_sink_event),
24086         (gst_base_sink_wait), (gst_base_sink_handle_event),
24087         (gst_base_sink_change_state):
24088         * gst/base/gstbasesink.h:
24089         Repost EOS message while going to PLAYING if still EOS.
24090         Make sure that when receiving a FLUSH_START we don't attempt
24091         to sync on the clock anymore.
24092
24093 2005-10-08  Wim Taymans  <wim@fluendo.com>
24094
24095         * tools/gst-launch.c: (event_loop):
24096         Better message printout.
24097
24098 2005-10-08  Wim Taymans  <wim@fluendo.com>
24099
24100         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
24101         (gst_bin_child_proxy_get_children_count):
24102         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24103         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
24104         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
24105         (gst_child_proxy_set_valist):
24106         * gst/parse/grammar.y:
24107         Make ChildProxy threadsafe and fix mem leaks.
24108
24109 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24110
24111         * gst/gst.c: (init_post):
24112           debug the GST_PLUGIN_ env vars
24113
24114 2005-10-08  Wim Taymans  <wim@fluendo.com>
24115
24116         * check/gst/gstbin.c: (GST_START_TEST):
24117         * check/gst/gstmessage.c: (GST_START_TEST):
24118         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
24119         * gst/gstelement.c: (gst_element_commit_state),
24120         (gst_element_lost_state):
24121         * gst/gstmessage.c: (gst_message_new_state_changed),
24122         (gst_message_parse_state_changed):
24123         * gst/gstmessage.h:
24124         * tools/gst-launch.c: (event_loop):
24125         Added extra field to STATE_CHANGE message with the pending
24126         state, which will be different from the new state soon.
24127
24128 2005-10-08  Wim Taymans  <wim@fluendo.com>
24129
24130         * gst/gstbus.c: (gst_bus_pop):
24131         * gst/gstclock.c:
24132         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
24133         Small cleanups and doc updates.
24134
24135 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24136
24137         * gst/gst.c: (init_pre):
24138         * gst/gstbin.c: (gst_bin_add_func):
24139           log distributing clocks and base time
24140         * gst/gstregistry.c: (gst_registry_add_plugin),
24141         (gst_registry_scan_path_level), (gst_registry_scan_path):
24142           clean up the debugging output a little
24143         * gst/gstutils.c: (gst_element_state_get_name):
24144           warn about a memleak (I've actually seen this be used, though
24145           it was probably a bug)
24146
24147 2005-10-07  Wim Taymans  <wim@fluendo.com>
24148
24149         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24150         (gst_base_src_init), (gst_base_src_default_newsegment),
24151         (gst_base_src_newsegment), (gst_base_src_do_seek),
24152         (gst_base_src_loop), (gst_base_src_start):
24153         * gst/base/gstbasesrc.h:
24154         Make the newsegment event customizable by subclasses.
24155
24156 2005-10-07  Wim Taymans  <wim@fluendo.com>
24157
24158         * gst/gstevent.c: (gst_event_new_buffersize),
24159         (gst_event_parse_buffersize):
24160         * gst/gstevent.h:
24161         New event for future idea.
24162
24163 2005-10-07  Andy Wingo  <wingo@pobox.com>
24164
24165         * gst/gstelement.c (gst_element_post_message): Doc update.
24166
24167         * docs/gst/gstreamer-sections.txt: Update.
24168
24169         * gst/gstmessage.c (gst_message_new_application): Made into a
24170         function like honest API calls.
24171         (gst_message_new_element): New message type.
24172
24173         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24174
24175         * check/elements/fakesrc.c (test_no_preroll): New check, checks
24176         that setting a live fakesrc to PAUSED returns NO_PREROLL both
24177         times.
24178
24179         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24180         NO_PREROLL from gst_element_change_state to fall through.
24181
24182 2005-10-07  Wim Taymans  <wim@fluendo.com>
24183
24184         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24185         (gst_ghost_pad_do_activate_push):
24186         Activating a ghostpad with no internal pad in push mode
24187         is ok.
24188
24189 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24190
24191         * gst/gstobject.h:
24192           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24193           Fixes compilation on Windows.
24194
24195 2005-10-07  Michael Smith <msmith@fluendo.com>
24196
24197         * tools/gst-inspect.c:
24198           Print out feature and plugin count at the end when printing out
24199           all features.
24200
24201 2005-10-04  Michael Smith <msmith@fluendo.com>
24202
24203         * gst/gsterror.c: (_gst_stream_errors_init):
24204           Add another error string used in a few existing plugins.
24205
24206         * gst/gstplugin.c:
24207         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24208         * tools/gst-inspect.c: (print_element_info):
24209           When a feature disappears from a plugin (and the feature exists in
24210           the cached registry file), things went horribly wrong. This isn't a
24211           complete fix, we should actually be removing the 'missing' features
24212           from the features list when we load the actual plugin. That's not
24213           yet implemented. 
24214
24215 2005-10-04  Johan Dahlin  <johan@gnome.org>
24216
24217         * check/gst/gstiterator.c: (GST_START_TEST):
24218         * gst/gstbin.c: (gst_bin_iterate_elements),
24219         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24220         * gst/gstelement.c: (gst_element_iterate_pads):
24221         * gst/gstformat.c: (gst_format_iterate_definitions):
24222         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24223         (gst_iterator_new_list), (gst_iterator_filter):
24224         * gst/gstiterator.h:
24225         * gst/gstquery.c: (gst_query_type_iterate_definitions):
24226         Add a GType to GstIterator, update callsites and tests.
24227
24228 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24229
24230         * gst/gstpad.c: (gst_pad_event_default_dispatch):
24231           give events a chance to be handled by event probes when the pad
24232           is not linked
24233
24234 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24235
24236         * gst/gstevent.c: (gst_event_type_get_name),
24237         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24238         * gst/gstevent.h:
24239           add string representations for event types
24240
24241 2005-10-06  Wim Taymans  <wim@fluendo.com>
24242
24243         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24244         Don't use NULL pointers.
24245
24246 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24247
24248         * gst/gst_private.h:
24249         * gst/gstbus.c:
24250         * gst/gstelement.c:
24251         * gst/gstinfo.c:
24252         * gst/gstpluginfeature.c:
24253           widen the debug category in output to fit the biggest one we have
24254           add a bus category and use it
24255           play with the colors
24256           fix up some categories
24257
24258 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24259
24260         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24261           add push activation of sink ghost pads.
24262           Andye, please verify
24263
24264 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24265
24266         * gst/gstutils.c: (gst_element_link_pads):
24267           fix a bug in the case where neither element has a pad
24268         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24269           add a test for that case
24270
24271 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24272
24273         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24274           emit have-data before checking for peers.  This allows
24275           for probe handlers to connect elements.  This helps autopluggers.
24276         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24277         (gst_pad_suite):
24278           add six checks, linked/unlinked with no/true/false probe
24279
24280 2005-10-04  Wim Taymans  <wim@fluendo.com>
24281
24282         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24283         (gst_fake_sink_event), (gst_fake_sink_preroll),
24284         (gst_fake_sink_render), (gst_fake_sink_change_state):
24285         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24286         (gst_fake_src_get_property), (gst_fake_src_create),
24287         (gst_fake_src_stop):
24288         * gst/elements/gstidentity.c: (gst_identity_stop):
24289         Protect last_message with lock.
24290
24291 2005-10-04  Edward Hervey  <edward@fluendo.com>
24292
24293         * gst/gstformat.h: 
24294         Added precision in the comments for GST_FORMAT_DEFAULT
24295
24296 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
24297
24298         * tools/gst-launch.c: (main):
24299           Don't try to run erroneous pipelines.
24300
24301 2005-10-04  Julien MOUTTE  <julien@moutte.net>
24302
24303         * gst/gstbus.c: We don't need this header.
24304
24305 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24306
24307         * configure.ac:
24308           back to development
24309
24310 === release 0.9.3 ===
24311
24312 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24313
24314         * README:
24315         * configure.ac:
24316           Releasing 0.9.3, "Unregistered"
24317
24318 2005-10-03  Andy Wingo  <wingo@pobox.com>
24319
24320         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24321         whereby calling a pad's activatepush() function can start a thread
24322         that starts to push or pull before the pad gets the FLUSHING flag
24323         unset. Hack around it by holding the stream lock until the flag is
24324         set. Need to replace this with a proper solution. Together with
24325         the ghost pad fixes, this fixes mp3 playing/tagreading.
24326
24327         * docs/design/part-gstghostpad.txt: Add a note about activation of
24328         proxy pads outside of ghost pads.
24329
24330         * gst/gstghostpad.c: Implement the ghost pad activation design.
24331
24332 2005-10-02  Andy Wingo  <wingo@pobox.com>
24333
24334         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24335         It is volatile, after all.
24336
24337         * docs/design/part-gstghostpad.txt: Flesh out activation with
24338         ghost pads.
24339
24340         * gst/base/gstbasesrc.c (gst_base_src_init): Use
24341         GST_DEBUG_FUNCPTR.
24342
24343 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
24344
24345         * configure.ac:
24346           Fix (unused) AM_CONDITIONAL tests.
24347
24348 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
24349
24350         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24351
24352         * gst/gstutils.c: (gst_pad_query_convert):
24353           Add assertion that makes sure src_val is >=0, just like
24354           gst_query_new_convert() has. (#315895)
24355
24356 2005-09-30  Edward Hervey  <edward@fluendo.com>
24357
24358         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24359         Let's not iterate pads we're not interested in, it avoids getting 
24360         sky-high refcounts on sinkpad.
24361
24362 2005-09-30  Wim Taymans  <wim@fluendo.com>
24363
24364         * gst/gstelement.c: (gst_element_set_state),
24365         (gst_element_change_state):
24366         Small tweak, element in ASYNC remains ASYNC.
24367
24368 2005-09-30  Wim Taymans  <wim@fluendo.com>
24369
24370         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24371         Only error is an error.
24372
24373         * gst/gstbin.c: (gst_bin_change_state):
24374         Better debugging.
24375
24376         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24377         Also call pad_block in pad alloc.
24378
24379         * gst/gstutils.c: (gst_flow_get_name):
24380         Better debugging.
24381
24382 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24383
24384         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24385         (gst_base_src_get_range):
24386           Fix documentation typos. Add some more debug info.
24387
24388 2005-09-29  David Schleef  <ds@schleef.org>
24389
24390         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24391           more end-user friendly.
24392         * tools/gst-inspect.c: (main): Check if command-line argument is
24393           a file and attempt to load that file as a plugin.
24394
24395 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24396
24397         * check/gst/gstbin.c:
24398         * check/states/sinks.c:
24399           fix tests for the new warning
24400         * check/gst/gstpipeline.c:
24401           add a test for pipeline and bus interaction
24402         * gst/gstelement.c:
24403           elements should be NULL if they get disposed; add a warning if not
24404
24405 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24406
24407         * gst/gstobject.c:
24408           for 2.6 refcounting, make debug log more correct by printing
24409           the actual refcounts at the time of swap (Wim)
24410
24411 2005-09-29  Andy Wingo  <wingo@pobox.com>
24412
24413         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24414         removes signal watches previously added via
24415         gst_bus_add_signal_watch.
24416         (gst_bus_add_signal_watch): Don't return the source id, just store
24417         it on the bus if there wasn't an id already.
24418
24419         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24420         add_signal_watch and remove_signal_watch.
24421
24422 2005-09-29  Edward Hervey  <edward@fluendo.com>
24423
24424         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24425         Better if we actually iterate the list :)
24426
24427 2005-09-29  Wim Taymans  <wim@fluendo.com>
24428
24429         * check/gst/gstbin.c: (GST_START_TEST):
24430         Change for new bus API.
24431
24432         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24433         (send_messages), (GST_START_TEST), (gstbus_suite):
24434         Change for new bus signal API.
24435
24436         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24437         (gst_bus_source_prepare), (gst_bus_source_check),
24438         (gst_bus_create_watch), (gst_bus_add_watch_full),
24439         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24440         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24441         * gst/gstbus.h:
24442         Remove support for multiple GSources operating on different
24443         message types as it is too complex and unneeded when using
24444         signals.
24445         Added support for receiving signals from the bus.
24446
24447 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24448
24449         * docs/libs/tmpl/gstdataprotocol.sgml:
24450         * docs/manual/advanced-dataaccess.xml:
24451         * gst/elements/gstcapsfilter.c:
24452         * gst/gstutils.c:
24453           rename filter-caps to caps property
24454
24455 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24456
24457         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24458           More robust fraction string parsing.
24459
24460         * docs/pwg/appendix-porting.xml:
24461           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24462
24463 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24464
24465         * gst/gstcaps.c: (gst_caps_do_simplify):
24466           Thou shalt not free a structure and then continue using it
24467           in the next loop iteration.
24468
24469         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24470         (gst_caps_suite):
24471           Add test case for caps simplification.
24472
24473 2005-09-29  Wim Taymans  <wim@fluendo.com>
24474
24475         * check/gst/gstbin.c: (GST_START_TEST):
24476         Oops.
24477
24478 2005-09-29  Wim Taymans  <wim@fluendo.com>
24479
24480         * check/gst/gstbin.c: (GST_START_TEST):
24481         Add bus to bin.
24482
24483         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24484         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24485         (find_element), (gst_bin_sort_iterator_next),
24486         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24487         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24488         (gst_bin_change_state), (gst_bin_dispose):
24489         A bin does not have a bus, it gets the bus from the parent.
24490
24491         * gst/gstelement.c: (gst_element_requires_clock),
24492         (gst_element_provides_clock), (gst_element_is_indexable),
24493         (gst_element_is_locked_state), (gst_element_change_state),
24494         (gst_element_set_bus_func):
24495         Small cleanups.
24496
24497         * gst/gstpipeline.c: (gst_pipeline_class_init),
24498         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24499         The pipeline provides a bus.
24500
24501 2005-09-28  Johan Dahlin  <johan@gnome.org>
24502
24503         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24504         gst_structure_get_enum instead of gst_structure_get_int
24505
24506         * gst/gststructure.c (gst_structure_get_enum): Impl.
24507
24508         * gst/gststructure.h (gst_structure_get_enum): Add
24509
24510         * docs/gst/gstreamer-sections.txt: Ditto
24511
24512         * gst/gstmessage.c (gst_message_new_state_changed): Use
24513         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24514         which does introspection.
24515         Reviewed by Christian Schaller
24516
24517 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24518
24519         * gst/gstinfo.c: (gst_debug_log_default):
24520           don't do dummy g_strdup()s
24521         * libs/gst/controller/gstcontroller.c:
24522         (on_object_controlled_property_changed),
24523         (gst_controlled_property_new), (gst_controller_new_valist),
24524         (gst_controller_new_list),
24525         (gst_controller_remove_properties_valist), (gst_controller_set),
24526         (gst_controller_get), (gst_controller_sync_values),
24527         (gst_controller_get_value_array), (_gst_controller_class_init),
24528         (gst_controller_get_type):
24529         * libs/gst/controller/gstcontroller.h:
24530         * libs/gst/controller/gstinterpolation.c:
24531         (gst_controlled_property_find_timed_value_node):
24532           convert // to /**/ comments
24533
24534 2005-09-28  Wim Taymans  <wim@fluendo.com>
24535
24536         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24537         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24538         (gst_bus_sync_signal_handler):
24539         * gst/gstbus.h:
24540         Added async-message and sync-message signals to the bus.
24541         Added helper BusFunc to emit signals for all posted messages.
24542
24543         * gst/gstmessage.c: (gst_message_type_get_name),
24544         (gst_message_type_to_quark), (gst_message_get_type):
24545         * gst/gstmessage.h:
24546         Register quarks for message names.
24547
24548 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24549
24550         * docs/libs/gstreamer-libs-sections.txt:
24551         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24552         (gst_controller_new_list):
24553         * libs/gst/controller/gstcontroller.h:
24554           added another constructor for language bindings
24555
24556 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24557
24558         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24559           add another check
24560         * gst/gstbus.c:
24561           add some doc
24562         * gst/gstinfo.c: (_gst_debug_init):
24563           slightly more readable color for refcount debugging
24564
24565 2005-09-28  Wim Taymans  <wim@fluendo.com>
24566
24567         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24568         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24569         (find_element), (gst_bin_sort_iterator_next),
24570         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24571         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24572         (gst_bin_change_state), (gst_bin_dispose):
24573         Small doc fixes. get_clock -> provide_clock.
24574
24575         * gst/gstelement.c: (gst_element_class_init),
24576         (gst_element_provides_clock), (gst_element_provide_clock),
24577         (gst_element_get_clock), (gst_element_commit_state),
24578         (gst_element_lost_state):
24579         * gst/gstelement.h:
24580         Make get/set_clock() symetric. Add provide_clock vmethod since
24581         that is actually what this function does.
24582
24583         * gst/gstpipeline.c: (gst_pipeline_class_init),
24584         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24585         (gst_pipeline_get_clock):
24586         get_clock -> provide_clock.
24587
24588 2005-09-28  Andy Wingo  <wingo@pobox.com>
24589
24590         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24591         lieu of real docs...
24592
24593         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24594
24595 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24596
24597         * gst/elements/gstcapsfilter.c:
24598         * gst/elements/gstfakesink.c:
24599         * gst/elements/gstfakesrc.c:
24600         * gst/elements/gstfdsink.c:
24601         * gst/elements/gstfdsrc.c:
24602         * gst/elements/gstfilesink.c:
24603         * gst/elements/gstfilesrc.c:
24604         * gst/elements/gstidentity.c:
24605         * gst/elements/gsttee.c:
24606         * gst/elements/gsttypefindelement.c:
24607           Make element details static.
24608
24609 2005-09-28  Wim Taymans  <wim@fluendo.com>
24610
24611         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24612         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24613         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24614         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24615         (gst_bin_change_state), (gst_bin_dispose):
24616         Some documentation updates.
24617         Clean up dispose handlers.
24618
24619         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24620         * gst/gstpad.c: (gst_pad_dispose):
24621         Clean up dispose handler.
24622
24623         * gst/gstpipeline.c: (gst_pipeline_change_state):
24624         Removed spurious UNLOCK.
24625
24626 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24627
24628         * docs/gst/gstreamer-sections.txt:
24629         * gst/base/gstbasesrc.h:
24630         * gst/gstelement.h:
24631         * gst/gstevent.h:
24632         * gst/gstobject.h:
24633         * gst/gstpad.h:
24634         * gst/gstpipeline.c:
24635         * gst/gstpipeline.h:
24636         * gst/gstutils.h:
24637         * gst/gstxml.h:
24638           added two new functions to the docs
24639                 documents all undocumented GstXXXFlags
24640                 completed some incomplete docs 
24641
24642 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24643
24644         * gst/gstbin.c: (gst_bin_dispose):
24645         * gst/gstelement.c: (gst_element_dispose):
24646           remove now useless and leaky resurrection code in dispose
24647         * gst/base/gstbasesrc.c: (gst_base_src_init):
24648         * gst/gstelementfactory.c: (gst_element_factory_create):
24649         * gst/gstobject.c: (gst_object_set_parent):
24650           add some debugging
24651
24652 2005-09-27  Wim Taymans  <wim@fluendo.com>
24653
24654         * docs/design/part-TODO.txt:
24655         Update TODO.
24656
24657         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24658         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24659         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24660         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24661         (gst_bin_change_state):
24662         * gst/gstelement.h:
24663         Remove element variable, we keep element info in the iterator now.
24664
24665 2005-09-27  Andy Wingo  <wingo@pobox.com>
24666
24667         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24668         values.
24669
24670 2005-09-27  Wim Taymans  <wim@fluendo.com>
24671
24672         * check/gst/gstbin.c: (GST_START_TEST):
24673         Enable check that works now.
24674
24675         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24676         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24677         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24678         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24679         (gst_bin_change_state):
24680         * gst/gstbin.h:
24681         Redid the state change algorithm using a topological sort algo.
24682         Handles all cases correctly.
24683         Exposed iterator for state change order.
24684
24685         * gst/gstelement.h:
24686         Temp storage for state changes. Need to get rid of this soon.
24687
24688 2005-09-27  Wim Taymans  <wim@fluendo.com>
24689
24690         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24691         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24692         (link_fold_func), (gst_pad_proxy_setcaps):
24693         Leak fixes, the fold functions need to unref the passed object and
24694         _get_parent_*() returns ref to parent.
24695
24696 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24697
24698         * check/gst/gstbuffer.c: (test_make_writable):
24699           Plug leak in test case and fix 'make check-valgrind'
24700
24701 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24702
24703         * gst/gstbuffer.c: (gst_subbuffer_init):
24704           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24705           works correctly in all circumstances (we could have just copied
24706           the parent buffer's readonly flag, but conceptually it seems
24707           cleaner to mark all subbuffers as read-only). (based on patch
24708           by Alessandro Decina, #314710).
24709         
24710         * check/gst/gstbuffer.c: (create_read_only_buffer),
24711         (test_make_writable), (test_subbuffer_make_writable),
24712         (gst_test_suite):
24713           Add some tests for gst_buffer_make_writable().
24714
24715 2005-09-27  Wim Taymans  <wim@fluendo.com>
24716
24717         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24718         use gst_object_has_ancestor().
24719
24720         * gst/gstobject.c: (gst_object_has_ancestor):
24721         * gst/gstobject.h:
24722         gst_object_has_ancestor() copied from gstbin.c as it is a
24723         useful function.
24724
24725         * tests/instantiate/create.c: (create_all_elements):
24726         * tests/lat.c: (handoff_src), (handoff_sink):
24727         * tests/sched/runxml.c: (main):
24728         * tests/seeking/seeking1.c: (main):
24729         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24730         (main):
24731         Fix compilation of some tests.
24732
24733 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24734
24735         * gst/gsterror.h:
24736           Remove comment. GST_TYPE_G_ERROR is here to stay,
24737           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24738           (#316961, #300610).
24739
24740 2005-09-26  Wim Taymans  <wim@fluendo.com>
24741
24742         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24743         Added check that shows error in state change order.
24744
24745 2005-09-26  Wim Taymans  <wim@fluendo.com>
24746
24747         * gst/gstbin.c: (gst_bin_change_state):
24748         Make state change function use 3 queues again, we were
24749         adding elements in the wrong order.
24750
24751         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24752         Some debug info,
24753
24754         * gst/gstpad.c: (gst_pad_dispose):
24755         Added some debug info first.
24756
24757 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24758
24759         * docs/design/draft-push-pull.txt:
24760         * docs/design/part-events.txt:
24761         * docs/design/part-overview.txt:
24762         * docs/design/part-scheduling.txt:
24763           Replace all _pull_region() with _pull_range()
24764           
24765 2005-09-26  Andy Wingo  <wingo@pobox.com>
24766
24767         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24768
24769         * check/gst-libs/controller.c: Update for controller api change.
24770
24771         * configure.ac: 
24772         * tests/Makefile.am:
24773         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24774         over by GLib bug 118439.
24775         
24776         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24777         routines to a function.
24778
24779         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24780
24781         * libs/gst/controller/gsthelper.c:
24782         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24783         (gst_object_sync_values): Renamed from sink_values. Ugh.
24784
24785         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24786
24787         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24788         Renamed from controller_key, as it is exported.
24789
24790         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24791
24792 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24793
24794         * gst/Makefile.am:
24795         * gst/gst.h:
24796         * gst/gstpad.h:
24797         * gst/gstpadtemplate.h:
24798         * gst/gstquery.c:
24799         * gst/gstquery.h:
24800         * gst/gstqueryutils.c:
24801         * gst/gstqueryutils.h:
24802           remove queryutils headers after moving the two used functions
24803           to gstquery.  also fixes build problem for gstsiddec
24804
24805 2005-09-26  Michael Smith <msmith@fluendo.com>
24806
24807         * tools/gst-launch.1.in:
24808         Correct documentation in manpage of debug syntax
24809
24810 2005-09-26  Wim Taymans  <wim@fluendo.com>
24811
24812         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24813         (gst_base_src_is_seekable), (gst_base_src_change_state):
24814         Some more debugging info.
24815
24816 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24817
24818         * docs/gst/gstreamer-sections.txt:
24819         * gst/base/gstbasetransform.h:
24820         * gst/gstindex.h:
24821           added more docs
24822
24823 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24824
24825         * docs/gst/.cvsignore:
24826         * docs/gst/tmpl/.cvsignore:
24827         * docs/gst/tmpl/gstpipeline.sgml:
24828         * docs/gst/tmpl/gstplugin.sgml:
24829         * gst/gstpipeline.c:
24830         * gst/gstplugin.c:
24831         * gst/gstplugin.h:
24832           inlined the last two docs files
24833           removed the tmpl directory from cvs (no more conflicts here!)
24834
24835 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24836
24837         * docs/gst/gstreamer-sections.txt:
24838         * docs/gst/tmpl/.cvsignore:
24839         * docs/gst/tmpl/gstpad.sgml:
24840         * docs/gst/tmpl/gstpadtemplate.sgml:
24841         * gst/Makefile.am:
24842         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24843         (gst_pad_finalize), (gst_pad_set_pad_template):
24844         * gst/gstpad.h:
24845         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24846         (gst_pad_template_class_init), (gst_pad_template_init),
24847         (gst_pad_template_dispose), (name_is_valid),
24848         (gst_static_pad_template_get), (gst_pad_template_new),
24849         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24850         (gst_pad_template_pad_created):
24851         * gst/gstpadtemplate.h:
24852           inlined two more docs
24853           factored gstpadtemplate out of gstpad
24854
24855 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24856
24857         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24858         (test_children_state_change_order_semi_sink):
24859           Fix test case: we can't rely on a fixed state change order when
24860           going from READY => PAUSED because the sink might commit its 
24861           new state first when the first buffer created by the source 
24862           reaches the sink before the source has finished its change state.
24863           (Test case still fails at times, see #316856, comment 5 onwards)
24864
24865 2005-09-24  Wim Taymans  <wim@fluendo.com>
24866
24867         * docs/design/part-events.txt:
24868         * docs/design/part-gstbus.txt:
24869         * docs/design/part-gstpipeline.txt:
24870         * docs/design/part-messages.txt:
24871         * docs/design/part-overview.txt:
24872         * docs/design/part-segments.txt:
24873         * gst/gstbin.c:
24874         * gst/gstbuffer.c:
24875         * gst/gstclock.c:
24876         * gst/gstelement.c:
24877         * gst/gstevent.c:
24878         * gst/gstfilter.c:
24879         * gst/gstiterator.c:
24880         Various documentation updates.
24881
24882 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24883
24884         * gst/gstclock.h:
24885           Well, that's embarassing.  Luckily we weren't using
24886           GST_CLOCK_DIFF anywhere.
24887
24888 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24889
24890         * common/gtk-doc.mak:
24891           don't fail on building XML, FC4 slave shows a bunch of doc
24892           missing bits that I don't get
24893         * gst/gstpad.c:
24894         * gst/gstpipeline.c:
24895         * gst/gststructure.c:
24896           some doc updates
24897
24898 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24899
24900         * docs/design/part-gstbin.txt:
24901         * docs/design/part-gstbus.txt:
24902         * gst/gstbus.c:
24903           Add blurb about how the bus goes into flushing mode and
24904           drops all messages when its bin goes from READY into NULL 
24905           state.
24906
24907 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24908
24909         * docs/gst/gstreamer-sections.txt:
24910         * gst/gststructure.c: (gst_structure_get_clock_time):
24911         * gst/gststructure.h:
24912           add a method to get a GstClockTime out of a structure
24913
24914 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24915
24916         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24917         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24918           Added test to check state change order in bins (can still be made
24919           to fail here under heavy disk load; bails out with 'Push on pad
24920           fakesink:sink0, but it was not activated in push mode').
24921
24922         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24923           Fix state change order when there is only a semi sink (#316856)
24924
24925         * gst/gstbus.c: (gst_bus_class_init):
24926           Use _class_peek_parent(), not _class_ref(); fix docs to say
24927           'default main context' instead of 'mainloop' where that is
24928           what's meant.
24929
24930         * gst/gstelement.c: (gst_element_commit_state),
24931         (gst_element_set_state):
24932           Fix typos in debug messages
24933
24934 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24935
24936         * docs/README:
24937         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24938         * gst/gstpluginfeature.c:
24939         * gst/gstutils.c:
24940           various doc updates
24941         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24942           change an assert into an error until it gets fixed properly
24943
24944 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24945
24946         * docs/gst/gstreamer-sections.txt:
24947         * docs/gst/tmpl/.cvsignore:
24948         * docs/gst/tmpl/gstelement.sgml:
24949         * docs/gst/tmpl/gstinfo.sgml:
24950         * docs/gst/tmpl/gstobject.sgml:
24951         * gst/gstelement.c:
24952         * gst/gstelement.h:
24953         * gst/gstinfo.c:
24954         * gst/gstinfo.h:
24955         * gst/gstobject.c: (gst_object_class_init):
24956         * gst/gstobject.h:
24957           inlined 3 more biiiig doc files and added some missing docs on the fly
24958
24959 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24960
24961         * check/gst/.cvsignore:
24962         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24963         * gst/gstregistryxml.c: (load_plugin),
24964         (gst_registry_xml_save_plugin):
24965           put back source in registry.  add checks for find_plugin.
24966         * testsuite/states/bin.c: (assert_state), (empty_bin),
24967         (test_adding_one_element), (main):
24968         * testsuite/states/locked.c: (main):
24969           some compile/run fixes
24970
24971 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24972
24973         * check/gst/gstvalue.c: (GST_START_TEST):
24974           fix leaks in the test itself
24975
24976 2005-09-22  Wim Taymans  <wim@fluendo.com>
24977
24978         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24979         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24980         (gst_base_sink_query):
24981         Prepare for more accurate position reporting and query
24982         handling.
24983
24984         * gst/gstelement.c: (gst_element_send_event),
24985         (gst_element_set_state):
24986         Add some comment.
24987
24988 2005-09-22  Wim Taymans  <wim@fluendo.com>
24989
24990         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24991         (gst_query_parse_segment):
24992         * gst/gstquery.h:
24993         More documentation.
24994         Add segment query for future use.
24995
24996 2005-09-22  Wim Taymans  <wim@fluendo.com>
24997
24998         * gst/gstbin.c: (gst_bin_add_func):
24999         Some more debug info.
25000
25001         * gst/gstelement.c: (gst_element_send_event):
25002         Simplify send_event
25003
25004         * gst/gstelement.h:
25005         Don't know how flags got broken.
25006
25007         * gst/gstquery.h:
25008         Added new query.
25009
25010 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
25011
25012         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
25013           Add simplistic test suite for GST_TYPE_DATE serialisation and
25014           deserialisation.
25015
25016 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
25017
25018         * docs/gst/gstreamer-sections.txt:
25019         * gst/gststructure.c: (gst_structure_set_valist),
25020         (gst_structure_get_date):
25021         * gst/gststructure.h:
25022         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
25023         (gst_date_copy), (gst_value_compare_date),
25024         (gst_value_serialize_date), (gst_value_deserialize_date),
25025         (gst_value_transform_date_string),
25026         (gst_value_transform_string_date), (_gst_value_initialize):
25027         * gst/gstvalue.h:
25028           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
25029           bunch of utility functions along with a hack that checks that
25030           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
25031           is required. Part of the grand scheme in #170777.
25032
25033 2005-09-22  Andy Wingo  <wingo@pobox.com>
25034
25035         * gst/gstconfig.h.in: Psych out gtk-doc.
25036
25037         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
25038
25039         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
25040
25041         * tools/gst-inspect.c (print_element_list): Plug some
25042         inconsequential leaks.
25043
25044         * gst/gstregistry.c (gst_registry_get_default): Doc.
25045
25046         * check/gst/gstplugin.c: 
25047         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
25048         * gst/gstelementfactory.c (gst_element_factory_create): 
25049         * gst/gstindexfactory.c (gst_index_factory_create): Update for
25050         refcount changes.
25051
25052         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
25053         (gst_plugin_feature_load): Doc, don't eat refs.
25054
25055         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
25056         (gst_plugin_list_free): Doc.
25057         (gst_plugin_load_file): Doc updates.
25058
25059         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
25060         accessors returning refcounted objects, return a ref.
25061
25062         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
25063         accessor for caps. IDEMPOTENCE. Oh yes.
25064
25065 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
25066
25067         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
25068
25069         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25070         (_gst_debug_register_funcptr):
25071           Add mutex to serialise access to the hash table with
25072           the function pointer => function name string mapping;
25073           make that hash table static scope (#316809).
25074
25075         * gst/registries/.cvsignore:
25076           Remove left-over file.
25077
25078 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
25079
25080         * docs/pwg/appendix-porting.xml:
25081           And something about newsegment events and caps-on-buffers to
25082           the porting guide (feel free to improve).
25083
25084 2005-09-21  Andy Wingo  <wingo@pobox.com>
25085
25086         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
25087         data and event probes on the same pad.
25088         (test_buffer_probe_once): Test that removing probes from within
25089         the probe functions works.
25090
25091 2005-09-21  Andy Wingo  <wingo@pobox.com>
25092
25093         * check/gst/gstutils.c: New file.
25094         (test_buffer_probe_n_times): A simple buffer probe test. More to
25095         come, foolios.
25096
25097         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
25098         have-data::buffer, not have-data.
25099         (gst_pad_add_event_probe): Likewise for have-data::event.
25100         (gst_pad_add_data_probe): More docs. The part about 'resolving the
25101         peer' isn't quite right yet though.
25102         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
25103         (gst_pad_remove_data_probe): Change to take the guint handler_id
25104         as their arg, not the function+data, which is more glib-like.
25105
25106         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
25107         the signal emission to indicate if the data is a buffer or an
25108         event.
25109         (gst_pad_get_type): Initialize buffer and event quarks.
25110         (gst_pad_class_init): have-data is now a detailed signal, yes it
25111         is.
25112
25113 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
25114
25115         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25116         * gst/gstutils.c: (gst_util_set_value_from_string),
25117         (gst_util_set_object_arg):
25118           Don't put functional code in g_return_if_fail() or
25119           g_return_val_if_fail() statements, otherwise things will 
25120           break when G_DISABLE_CHECKS is defined during compilation.
25121
25122 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25123
25124         * docs/gst/tmpl/.cvsignore:
25125         * docs/gst/tmpl/gstvalue.sgml:
25126         * gst/gstvalue.c:
25127         * gst/gstvalue.h:
25128           inlied another one and added  some obvious docs
25129
25130 2005-09-21  Wim Taymans  <wim@fluendo.com>
25131
25132         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
25133         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
25134         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
25135         (gst_fdsrc_get_property), (gst_fdsrc_create):
25136         * gst/elements/gstfdsrc.h:
25137         Properly implement fdsrc. Removed signal and timeout,
25138         better implemented somewhere else.
25139
25140 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25141
25142         * docs/gst/tmpl/.cvsignore:
25143         * docs/gst/tmpl/gstimplementsinterface.sgml:
25144         * gst/gstinterface.c:
25145           inlined more docs
25146
25147 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25148
25149         * docs/gst/gstreamer-sections.txt:
25150         * docs/gst/tmpl/.cvsignore:
25151         * docs/gst/tmpl/gstenumtypes.sgml:
25152           remove obsolete doc file
25153
25154 2005-09-21  David Schleef  <ds@schleef.org>
25155
25156         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25157         little beer, fix a little leak.
25158
25159 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25160
25161         * docs/gst/gstreamer-docs.sgml:
25162         * docs/gst/gstreamer-sections.txt:
25163         * docs/gst/tmpl/.cvsignore:
25164         * gst/Makefile.am:
25165         * gst/gst.h:
25166         * gst/gstbin.c:
25167         * gst/gstelement.h:
25168         * gst/gstindex.c: (gst_index_class_init):
25169         * gst/gstindex.h:
25170         * gst/gstindexfactory.c: (gst_index_factory_get_type),
25171         (gst_index_factory_class_init), (gst_index_factory_init),
25172         (gst_index_factory_finalize), (gst_index_factory_new),
25173         (gst_index_factory_destroy), (gst_index_factory_find),
25174         (gst_index_factory_create), (gst_index_factory_make):
25175         * gst/gstindexfactory.h:
25176         * gst/gstpluginfeature.c:
25177         * gst/gstpluginfeature.h:
25178         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25179           more docs inlined, splitted gstindex.{c,h}
25180
25181 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25182
25183         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25184           fix a leak
25185
25186 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25187
25188         * gst/elements/gstfilesink.c: (gst_file_sink_init):
25189           Set sync to FALSE by default.
25190
25191 2005-09-20  Wim Taymans  <wim@fluendo.com>
25192
25193         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25194         (gst_base_sink_init):
25195         Make sync property settable from subclass.
25196
25197         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25198         (gst_fake_sink_change_state):
25199         Set sync to FALSE by default.
25200
25201 2005-09-20  Wim Taymans  <wim@fluendo.com>
25202
25203         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25204         * tools/gst-launch.c: (main):
25205         The timeout handler should have lower priority than the source
25206         so we don't timeout before popping a message with 0 timeout.
25207         Dump error messages after failed state change.
25208
25209 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25210
25211         * tools/gst-inspect.c: (print_element_properties_info):
25212           Fix two typos.
25213
25214 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25215
25216         * check/gst/gstevent.c:
25217         * gst/elements/gstfakesink.c:
25218         * gst/elements/gstfakesink.h:
25219           remove the sync property from fakesink.
25220           has the side effect of setting sync TRUE
25221           for fakesink, which is a change.  Anyone who knows how
25222           to fix this nicely in a GObject-y way, feel free.
25223
25224 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25225
25226         * docs/gst/gstreamer-docs.sgml:
25227           remove probe refsection
25228
25229 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25230
25231         * check/Makefile.am:
25232           disable valgrinding the controller test again
25233         * docs/gst/gstreamer-sections.txt:
25234           update for api-changes
25235
25236 2005-09-20  Wim Taymans  <wim@fluendo.com>
25237
25238         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25239         (gst_base_sink_set_property), (gst_base_sink_get_property),
25240         (gst_base_sink_do_sync):
25241         * gst/base/gstbasesink.h:
25242         Added sync property to basesink to disable clock sync.
25243
25244 2005-09-20  Andy Wingo  <wingo@pobox.com>
25245
25246         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25247         eating the caller's refcount.
25248
25249         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
25250         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25251         refcount.
25252
25253         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25254         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25255         of GLib 2.8 public, so we can know which refcount to check in
25256         tests.
25257
25258         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25259         (gst_object_init): Only set the gst refcount if we're going ahead
25260         with the refcount hack.
25261
25262 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25263
25264         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25265         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25266           more leaks plumbed, added more debug-logging
25267         * gst/gstmacros.h:
25268           whitespace fix
25269
25270 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25271
25272         * gst/gstmessage.c:
25273           remove include of gstmemchunk.h
25274
25275 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25276
25277         * gst/gstclock.c: (_gst_clock_id_free):
25278           Commit from the Political Party For More Atomic CVS Commits,
25279           so that people don't waste too much of their day fishing
25280           out obvious leaks out of massive commits.
25281           Oh, and fix a pretty damn obvious leak in the memchunk
25282           removal code.
25283
25284 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25285
25286         * check/Makefile.am:
25287         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25288           plug mem-leak, re-add to valgrindable tests
25289
25290 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25291
25292         * gst/gstplugin.h:
25293           unbreak the build for those who have chronic arthritis
25294           and typing "make check" is just too taxing on the hands
25295
25296 2005-09-20  Andy Wingo  <wingo@pobox.com>
25297
25298         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25299         really want it out, you should fix plugins at the same time.
25300
25301 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
25302
25303         * configure.ac:
25304         * docs/gst/gstreamer-sections.txt:
25305         * gst/gstobject.c:
25306           added missing symbols to api docs
25307           disable ref-count hack if we have glib >= 2.8
25308
25309 2005-09-19  David Schleef  <ds@schleef.org>
25310
25311         * docs/gst/Makefile.am: Ignore a few more internal headers
25312         * docs/gst/gstreamer-docs.sgml: Remove old sections
25313         * docs/gst/gstreamer-sections.txt: Remove old sections
25314         * docs/gst/tmpl/gstobject.sgml: update
25315         * docs/gst/tmpl/gstplugin.sgml: update
25316         * docs/gst/tmpl/gstpluginfeature.sgml: update
25317         * docs/random/ds/0.9-suggested-changes: update.
25318         * gst/Makefile.am: remove memchunk and trashstack, since they're
25319           not used.
25320         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25321         * gst/gst.h: don't include some headers
25322         * gst/gstchildproxy.c: add gstmarshal.h
25323         * gst/gstclock.c: Don't use memchunks
25324         * gst/gstminiobject.c: Add some docs
25325         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25326         * gst/gstobject.h: same
25327         * gst/gstplugin.c: include gstmacros.h
25328         * gst/gstplugin.h: don't include gstmacros.h, since it's private
25329         * gst/gstquery.c: don't use memchunks
25330         * gst/gstregistry.c: rename gst_registry_deinit()
25331         * gst/gstregistry.h: same
25332
25333 2005-09-19  David Schleef  <ds@schleef.org>
25334
25335         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25336         * docs/libs/gstreamer-libs-sections.txt:
25337         * docs/libs/tmpl/gstgetbits.sgml:
25338         * docs/libs/tmpl/gstputbits.sgml:
25339
25340 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
25341
25342         * win32/gstenumtypes.c:
25343         * win32/gstenumtypes.h:
25344           Update.
25345
25346 2005-09-19  Wim Taymans  <wim@fluendo.com>
25347
25348         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25349         Automatically PAUSE and RESUME a pipeline when a flushing seek
25350         is performed.
25351
25352 2005-09-19  Andy Wingo  <wingo@pobox.com>
25353
25354         * gst/gstregistry.h: Spacing fixen.
25355
25356 2005-09-19  Wim Taymans  <wim@fluendo.com>
25357
25358         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25359         Handle state change failure more correctly.
25360
25361 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25362
25363         * check/Makefile.am:
25364         * check/pipelines/cleanup.c: (run_pipeline):
25365         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25366         (GST_START_TEST):
25367           enable cleanup again after fixing the leak
25368         * docs/README:
25369           some more info on docs
25370
25371 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25372
25373         * check/Makefile.am:
25374           re-enable tests now that leaks are plugged
25375         * check/gst/gst.c:
25376         * check/gst/gstbin.c:
25377         * check/gst/gstpipeline.c:
25378           add some more tests while fixing leaks
25379         * common/check.mak:
25380           make sure binaries are uptodate when valgrinding/gdbing
25381         * gst/gst.c:
25382         * gst/gstelementfactory.c:
25383           remove a ref too many, and add a FIXME for when we get
25384           round to disposing of classes
25385         * gst/gstplugin.c:
25386           fix the refcounting when loading a plugin from a file and
25387           the code pretends that the pointer is the same even though
25388           of course it can change
25389         * gst/gstpluginfeature.c:
25390           unref plugins marked cached (a bit confusing as a name)
25391           as the docs state should be done
25392           various doc additions to explain refcounting
25393         * gst/gstregistry.c:
25394         * gst/gstregistryxml.c:
25395           debugging
25396
25397 2005-09-19  Wim Taymans  <wim@fluendo.com>
25398
25399         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25400         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25401         (send_messages), (GST_START_TEST), (gstbus_suite):
25402         * check/gst/gstpipeline.c: (GST_START_TEST):
25403         * check/pipelines/cleanup.c: (run_pipeline):
25404         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25405         (GST_START_TEST):
25406         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25407         (gst_bus_source_check), (gst_bus_source_dispatch),
25408         (gst_bus_create_watch), (gst_bus_add_watch_full),
25409         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25410         * gst/gstbus.h:
25411         * tools/gst-launch.c: (event_loop):
25412         * tools/gst-md5sum.c: (event_loop):
25413         GstBusHandler -> GstBusFunc, return value has the same meaning as
25414         any other GSource (FALSE == remove source).
25415         _add_watch() and _add_watch_full() now take a MessageType mask to
25416         only handle specific types of messages.
25417         _poll() returns the GstMessage instead of the message type to avoid
25418         race conditions.
25419         _have_pending() takes a MessageType mask now too.
25420         Added testsuite for multiple bus watches.
25421         Fix testsuites and applications for new bus API.
25422
25423 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25424
25425         * check/Makefile.am:
25426           mark a bunch of the tests as to fix until we fix them
25427
25428 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25429
25430         * common/check.mak:
25431           use GST_PLUGIN settings for valgrind tests as well, so we're
25432           valgrinding the correct thing
25433         * gst/gst.c: (init_post):
25434           plug another leak
25435
25436 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25437
25438         * gst/gst.c: (init_post), (gst_deinit):
25439         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25440         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25441         * gst/gstindex.c: (gst_index_factory_class_init),
25442         (gst_index_factory_finalize):
25443         * gst/gstobject.c: (gst_object_dispose):
25444         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25445         (gst_plugin_load_file), (gst_plugin_desc_free):
25446         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25447         (gst_plugin_feature_finalize):
25448         * gst/gstregistry.c: (gst_registry_class_init),
25449         (gst_registry_init), (gst_registry_finalize),
25450         (gst_registry_get_default), (gst_registry_deinit):
25451         * gst/gstregistry.h:
25452         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25453           various cleanups and memleak plugging.  make valgrind is happy now.
25454
25455 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25456
25457         * common/check.mak:
25458           add a check-valgrind target
25459
25460 2005-09-18  David Schleef  <ds@schleef.org>
25461
25462         * tools/gst-inspect.c: Revert the GOption code.
25463
25464 2005-09-17  David Schleef  <ds@schleef.org>
25465
25466         * check/Makefile.am: Fix environment variables.
25467         * check/gst/gstplugin.c: Fix for API changes.
25468         * tools/gst-inspect.c: Fix for API changes.
25469         * tools/gst-xmlinspect.c: Fix for API changes.
25470         * gst/gstelementfactory.c:
25471         * gst/gstplugin.c:
25472         * gst/gstplugin.h:
25473         * gst/gstpluginfeature.c:
25474         * gst/gstpluginfeature.h:
25475         * gst/gstregistry.c:
25476         * gst/gstregistry.h:
25477         * gst/gstregistryxml.c:
25478         * gst/gsttypefind.c:
25479         * gst/gsttypefindfactory.c:
25480         * gst/indexers/gstfileindex.c:
25481         * gst/indexers/gstmemindex.c:
25482         * gst/schedulers/Makefile.am:
25483           Change registry to keep track of both plugins and features,
25484           removing the feature tracking from plugins themselves.
25485
25486 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25487
25488         * check/Makefile.am:
25489         * tools/gst-register.1.in:
25490           remove gst-register
25491
25492 2005-09-15  David Schleef  <ds@schleef.org>
25493
25494         * check/gst/gstplugin.c:
25495         * gst/gstelementfactory.c:
25496         * gst/gstplugin.c:
25497         * gst/gstpluginfeature.c:
25498         * gst/gstregistry.c:
25499           Getting tired of debugging.  Disabled all the unreffing of
25500           plugins and features, which fixes the segfaults, but of
25501           course leaks like crazy.  At least playbin works.
25502
25503 2005-09-15  David Schleef  <ds@schleef.org>
25504
25505         * check/gst/gstplugin.c: (register_check_elements),
25506         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25507         More testing
25508         * gst/elements/gsttypefindelement.c: Fix refcounting.
25509         * gst/gsttypefind.c:
25510         * gst/gsttypefindfactory.c:
25511         * gst/gsttypefindfactory.h:
25512
25513 2005-09-15  David Schleef  <ds@schleef.org>
25514
25515         * gst/gstindex.c: get refcounting correct.
25516         * gst/gstregistry.c: Handle the case where a feature/plugin is
25517           not found.
25518
25519 2005-09-15  David Schleef  <ds@schleef.org>
25520
25521         * check/Makefile.am:
25522         * check/gst/gstplugin.c: Add test
25523         * gst/gstplugin.c: Fix problems noticed by testsuite
25524         * gst/gstplugin.h:
25525         * gst/gstregistry.c: 
25526         * gst/gstregistry.h:
25527
25528 2005-09-15  David Schleef  <ds@schleef.org>
25529
25530         * gst/gstplugin.c: Implement semi-decent recounting and locking
25531           in plugins and plugin features.
25532         * gst/gstplugin.h:
25533         * gst/gstpluginfeature.c:
25534         * gst/gstpluginfeature.h:
25535         * gst/gstregistry.c:
25536
25537 2005-09-15  Michael Smith <msmith@fluendo.com>
25538
25539         * gst/gstregistry.c: (gst_registry_get_feature_list):
25540           Implement this. Makes oggdemux work; decodebin still broken.
25541
25542 2005-09-14  David Schleef  <ds@schleef.org>
25543
25544         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25545           #316076)
25546         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25547         * gst/check/Makefile.am:
25548         * libs/gst/controller/Makefile.am:
25549         * libs/gst/dataprotocol/Makefile.am:
25550
25551 2005-09-14  David Schleef  <ds@schleef.org>
25552
25553         * configure.ac: Remove getbits library.  Nothing uses it, and
25554           it should be in something like liboil if someone did want
25555           to use it.
25556         * libs/gst/Makefile.am:
25557         * libs/gst/getbits/Makefile.am:
25558         * libs/gst/getbits/gbtest.c:
25559         * libs/gst/getbits/getbits.c:
25560         * libs/gst/getbits/getbits.h:
25561         * libs/gst/getbits/gstgetbits_generic.c:
25562         * libs/gst/getbits/gstgetbits_i386.s:
25563         * libs/gst/getbits/gstgetbits_inl.h:
25564
25565 2005-09-14  David Schleef  <ds@schleef.org>
25566
25567         * gst/Makefile.am: Dist glib-compat.h
25568
25569 2005-09-14  David Schleef  <ds@schleef.org>
25570
25571         * configure.ac: Remove gst/registries, since it's no longer used.
25572         * gst/registries/Makefile.am:
25573         * gst/registries/gstlibxmlregistry.c:
25574         * gst/registries/gstlibxmlregistry.h:
25575         * gst/registries/gstxmlregistry.c:
25576         * gst/registries/gstxmlregistry.h:
25577         * gst/registries/registrytest.c:
25578
25579 2005-09-14  David Schleef  <ds@schleef.org>
25580
25581         * gst/glib-compat.h:
25582         * gst/gstregistryxml.c:
25583           Convergence is near.  Seriously.
25584
25585 2005-09-14  David Schleef  <ds@schleef.org>
25586
25587         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25588         * gst/glib-compat.h:
25589           Attempt #4 to appease the buildbots.
25590
25591 2005-09-14  David Schleef  <ds@schleef.org>
25592
25593         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25594           Attempt #3.
25595
25596 2005-09-14  David Schleef  <ds@schleef.org>
25597
25598         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25599         Attempt #2.
25600
25601 2005-09-14  David Schleef  <ds@schleef.org>
25602
25603         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25604           the new functions.
25605
25606 2005-09-14  David Schleef  <ds@schleef.org>
25607
25608         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25609         * gst/glib-compat.h: Add some functions that are in newer versions
25610           of glib than we care to require.
25611         * gst/gstregistryxml.c: Use them.
25612
25613 2005-09-14  David Schleef  <ds@schleef.org>
25614
25615         * po/POTFILES.in: remove gst-register.c
25616
25617 2005-09-14  David Schleef  <ds@schleef.org>
25618
25619         * docs/gst/gstreamer-docs.sgml:
25620         * docs/gst/gstreamer-sections.txt:
25621         * docs/gst/gstreamer.types:
25622         * docs/gst/tmpl/gstelement.sgml:
25623         * docs/gst/tmpl/gstplugin.sgml:
25624         * docs/gst/tmpl/gstpluginfeature.sgml:
25625           Documentation updates for registry changes.
25626
25627 2005-09-14  David Schleef  <ds@schleef.org>
25628
25629         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25630           because we don't require glib-2.8.
25631
25632 2005-09-14  David Schleef  <ds@schleef.org>
25633
25634         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25635           registries directory.
25636
25637 2005-09-14  David Schleef  <ds@schleef.org>
25638
25639         * check/Makefile.am:
25640         * check/generic/states.c:
25641         * gst/Makefile.am:
25642         * gst/gst.c:
25643         * gst/gst.h:
25644         * gst/gst_private.h:
25645         * gst/gstelementfactory.c:
25646         * gst/gstindex.c:
25647         * gst/gstinfo.c:
25648         * gst/gstplugin.c:
25649         * gst/gstplugin.h:
25650         * gst/gstpluginfeature.c:
25651         * gst/gstpluginfeature.h:
25652         * gst/gstregistry.c:
25653         * gst/gstregistry.h:
25654         * gst/gstregistrypool.c: remove
25655         * gst/gstregistrypool.h: remove
25656         * gst/gsttypefind.c:
25657         * gst/gsttypefindfactory.c:
25658         * gst/gsturi.c:
25659         * tools/Makefile.am:
25660         * tools/gst-compprep.c:
25661         * tools/gst-inspect.c:
25662         * tools/gst-register.c: remove
25663         * tools/gst-xmlinspect.c:
25664           Registry rewrite.  Changes registry from being a file created
25665           by a tool into a simple cache file created automatically by 
25666           libgstreamer.  Removed gst-register (because it's no longer
25667           needed).  Remove registry pools, because we only have one
25668           registry implementation (XML).  Fix up other subsystems as
25669           necessary.
25670
25671 2005-09-13  Michael Smith <msmith@fluendo.com>
25672
25673         * gst/gstconfig.h.in:
25674           Don't Use windows linking attributes for MinGW. Fixes #316157
25675
25676 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25677
25678         * gst/gstutils.c: (set_state_async_thread_func),
25679         (gst_element_set_state_async):
25680           Apparently people think it's better if this function doesn't
25681           try to set the state to whatever state was asked for on the first
25682           call to this function for any object.  Seriously.
25683
25684 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25685
25686         * check/gst/gstpipeline.c: (GST_START_TEST):
25687         * docs/gst/gstreamer-sections.txt:
25688         * gst/gstutils.c: (set_state_async_thread_func),
25689         (gst_element_set_state_async):
25690         * gst/gstutils.h:
25691           add a "gst_element_set_state_async" method that
25692           sets the state and starts a thread to make sure the state
25693           change completes as best as it can
25694
25695 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25696
25697         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25698           codify design+behaviour in testsuite after discussion
25699
25700 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25701
25702         * docs/gst/tmpl/gstelement.sgml:
25703         * docs/manual/appendix-quotes.xml:
25704           add a quote
25705         * gst/gstelement.c: (gst_element_set_state):
25706           add some debug
25707
25708 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25709
25710         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25711         (gst_base_transform_prepare_output_buf),
25712         (gst_base_transform_handle_buffer):
25713         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25714         (gst_capsfilter_prepare_buf):
25715           Remove the requirement for sub-classes to call the parent
25716           implementation of prepare_output_buffer with a wrapper function.
25717           
25718         * gst/gsttaglist.h:
25719         * gst/gsttagsetter.h:
25720           Fix #define wrapper
25721
25722 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25723
25724         * docs/gst/gstreamer-sections.txt:
25725           more doc cleanups
25726
25727 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25728
25729         * docs/gst/gstreamer-sections.txt:
25730         * docs/gst/tmpl/gstelement.sgml:
25731         * docs/gst/tmpl/gstplugin.sgml:
25732         * gst/gstminiobject.c:
25733         * gst/gstvalue.h:
25734           docs now stop throwing warnings
25735
25736 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25737
25738         * docs/gst/gstreamer-sections.txt:
25739         * docs/gst/gstreamer.types:
25740         * docs/gst/tmpl/gstpad.sgml:
25741         * docs/gst/tmpl/gsttypes.sgml:
25742         * gst/base/gstadapter.h:
25743         * gst/base/gstbasesink.h:
25744         * gst/base/gstbasesrc.h:
25745         * gst/gstbin.h:
25746         * gst/gstbuffer.h:
25747         * gst/gstbus.h:
25748         * gst/gstcaps.h:
25749         * gst/gstclock.h:
25750         * gst/gstelement.h:
25751         * gst/gstevent.h:
25752         * gst/gstmessage.h:
25753         * gst/gstpad.h:
25754         * gst/gststructure.c:
25755         * gst/registries/gstlibxmlregistry.h:
25756           various documentation fixes
25757
25758 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25759
25760         * docs/gst/gstreamer-sections.txt:
25761         * docs/gst/tmpl/gstvalue.sgml:
25762           rearrange gstvalue section
25763         * gst/gstutils.c: (gst_element_state_get_name):
25764           NONE -> VOID
25765         * gst/gstvalue.c: (_gst_value_initialize):
25766         * gst/gstvalue.h:
25767           doc updates
25768
25769 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25770
25771         * check/gst-libs/controller.c:
25772           Header include fix.
25773         * gst/base/gstbasetransform.c:
25774         (gst_base_transform_default_prepare_buf),
25775         (gst_base_transform_handle_buffer):
25776         * gst/base/gstbasetransform.h:
25777           Some more basetransform changes and fixes to enable sub-classes
25778           that modify buffer metadata only.
25779         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25780         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25781         (gst_capsfilter_prepare_buf):
25782           If the output pad has fixed allowed caps and input buffers 
25783           don't have any, set the fixed caps on outgoing buffers.
25784
25785 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25786         * check/elements/identity.c: (GST_START_TEST):
25787           Make the error a little clearer when the test fails because
25788           identity made a copy of the buffer.
25789         * docs/gst/gstreamer-sections.txt:
25790           New symbols in gstbasetransform.h
25791         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25792         (gst_base_transform_init), (gst_base_transform_transform_size),
25793         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25794         (gst_base_transform_default_prepare_buf),
25795         (gst_base_transform_get_unit_size),
25796         (gst_base_transform_buffer_alloc),
25797         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25798         (gst_base_transform_change_state),
25799         (gst_base_transform_set_passthrough),
25800         (gst_base_transform_set_in_place),
25801         (gst_base_transform_is_in_place):
25802         * gst/base/gstbasetransform.h:
25803           Change BaseTransform to separate in_place operate from same_caps
25804           output. in_place implies that the element can perform the transform
25805           on incoming buffers in-place, even if the caps on the output are
25806           different.
25807           Sub-class elements can now implement special buffer allocation
25808           methods for outgoing buffers if they wish to.
25809           Big documentation addition.
25810         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25811         * gst/elements/gstelements.c:
25812           Changes for basetransform modifications.
25813         * gst/elements/Makefile.am:
25814         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25815           Compile fix. Extra debug output.
25816
25817 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25818
25819         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25820         (gst_pad_suite):
25821           add tests for valid pad naming
25822         * gst/check/gstcheck.c: (gst_check_log_message_func),
25823         (gst_check_log_critical_func):
25824           add ASSERT_WARNING
25825           remove printing of code, it is fragile when the code contains
25826           % and the line number is enough info
25827         * gst/check/gstcheck.h:
25828         * gst/gstpad.c: (gst_pad_template_new):
25829           fix memleaks
25830
25831 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25832
25833         * configure.ac:
25834           say what CHECK flags we use
25835         * docs/libs/gstreamer-libs.types:
25836         * libs/gst/controller/Makefile.am:
25837         * libs/gst/controller/gst-controller.c:
25838         * libs/gst/controller/gst-controller.h:
25839         * libs/gst/controller/gst-helper.c:
25840         * libs/gst/controller/gst-interpolation.c:
25841         * libs/gst/controller/gstcontroller.c:
25842         * libs/gst/controller/gsthelper.c:
25843         * libs/gst/controller/gstinterpolation.c:
25844         * tools/gst-inspect.c: (print_plugin_info):
25845           we don't use dashes in header names
25846
25847 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25848
25849         * check/Makefile.am:
25850         * check/gst/.cvsignore:
25851         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25852         (gst_pipeline_suite), (main):
25853           adding a test for pipelines and state changes
25854         * gst/gstutils.c: (get_state_func):
25855           add some debugging
25856         * gstreamer.spec.in:
25857           fix up spec file
25858
25859 2005-09-08  Michael Smith <msmith@fluendo.com>
25860
25861         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25862         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25863         (gst_file_src_is_seekable), (gst_file_src_get_size),
25864         (gst_file_src_start):
25865         * gst/elements/gstfilesrc.h:
25866           Various fixes for unseekable, unmmapable, and non-normal files, so
25867           that fallback to read() rather than mmap() works.
25868         * gst/gstevent.c: (gst_event_new_newsegment):
25869           Allow newsegment events with segment_start == segment_end, as will
25870           correctly happen if you use filesrc on a zero-size file, for
25871           example.
25872
25873 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25874
25875         * gst/gstplugin.c: (gst_plugin_load_file):
25876           Call g_module_close when we don't load the module
25877
25878         * gst/registries/gstlibxmlregistry.c:
25879         (gst_xml_registry_get_property):
25880           Port leak fix from 0.8
25881
25882 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25883
25884         * docs/gst/gstreamer-docs.sgml:
25885         * docs/gst/tmpl/.cvsignore:
25886         * docs/gst/tmpl/gsttrace.sgml:
25887         * docs/gst/tmpl/gsttrashstack.sgml:
25888         * gst/Makefile.am:
25889         * gst/gst.h:
25890         * gst/gstelement.h:
25891         * gst/gstevent.h:
25892         * gst/gstmessage.c:
25893         * gst/gstmessage.h:
25894         * gst/gsttag.c:
25895         * gst/gsttag.h:
25896         * gst/gsttaginterface.c:
25897         * gst/gsttaginterface.h:
25898         * gst/gsttaglist.c:
25899         * gst/gsttaglist.h:
25900         * gst/gsttagsetter.c:
25901         * gst/gsttagsetter.h:
25902         * gst/gsttrace.c:
25903         * gst/gsttrace.h:
25904         * gst/gsttrashstack.c:
25905           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25906           inlined docs for gsttrace, gsttrashstack
25907
25908 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25909
25910         * gst/Makefile.am:
25911         * gst/elements/gstbufferstore.h:
25912         * gst/elements/gsttypefindelement.c:
25913         * gst/elements/gsttypefindelement.h:
25914         * gst/gst.h:
25915         * gst/gsttypefind.c:
25916         * gst/gsttypefind.h:
25917         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25918         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25919         (gst_type_find_factory_dispose),
25920         (gst_type_find_factory_unload_thyself),
25921         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25922         (gst_type_find_factory_get_caps),
25923         (gst_type_find_factory_get_extensions),
25924         (gst_type_find_factory_call_function):
25925         * gst/gsttypefindfactory.h:
25926         * gst/registries/gstlibxmlregistry.c:
25927         * gst/registries/gstxmlregistry.c:
25928           splitted gsttypefind into gsttypefind, gsttypefindfactory
25929
25930 2005-09-07  Andy Wingo  <wingo@pobox.com>
25931
25932         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25933         condition whereby the pad's task function is entered before the
25934         pad_mode variable was set.
25935
25936 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25937
25938         * gst/gstpad.c: (gst_pad_alloc_buffer):
25939           Catch misbehaving pad_alloc functions that don't
25940           set up caps and do it for them.
25941
25942 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25943
25944         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25945           test for pipe!=NULL
25946         * docs/gst/tmpl/.cvsignore:
25947         * docs/gst/tmpl/gstmemchunk.sgml:
25948         * docs/gst/tmpl/gstparse.sgml:
25949         * docs/gst/tmpl/gsttaglist.sgml:
25950         * docs/gst/tmpl/gsttagsetter.sgml:
25951         * docs/gst/tmpl/gsttypefind.sgml:
25952         * docs/gst/tmpl/gsttypefindfactory.sgml:
25953         * gst/gstmemchunk.c:
25954         * gst/gstparse.c:
25955         * gst/gsttag.c:
25956         * gst/gsttaginterface.c:
25957         * gst/gsttypefind.c:
25958         * gst/gsttypefind.h:
25959           inlined more docs
25960
25961 === release 0.9.2 ===
25962
25963 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25964
25965         * NEWS:
25966         * RELEASE:
25967         * configure.ac:
25968           releasing 0.9.2, "South"
25969
25970 2005-09-05  Andy Wingo  <wingo@pobox.com>
25971
25972         * gst/registries/gstxmlregistry.h:
25973         * gst/registries/gstxmlregistry.c: Um... resurrect...
25974         
25975         * gst/registries/gstxmlregistry.h:
25976         * gst/registries/gstxmlregistry.c: and update to newer API.
25977         Incidentally they should be a bit faster now that they don't have
25978         to parse the caps.
25979         
25980 2005-09-05  Andy Wingo  <wingo@pobox.com>
25981
25982         * gst/registries/gstxmlregistry.h:
25983         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25984         replaced by the libxml registry a while back
25985
25986 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25987
25988         * docs/gst/tmpl/gstplugin.sgml:
25989         * gst/elements/gstelements.c:
25990         * gst/gst.c:
25991         * gst/gstplugin.c: (gst_plugin_register_func),
25992         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25993         (gst_plugin_get_source):
25994         * gst/gstplugin.h:
25995         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25996         (gst_xml_registry_save_plugin):
25997         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25998         (gst_xml_registry_save_plugin):
25999         * tools/gst-inspect.c: (print_plugin_info):
26000           add a "source" plugin description field, to represent the source
26001           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
26002           will set it to PACKAGE, which is automake's idea of the name of
26003           the source project.
26004
26005 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
26006
26007         * Makefile.am:
26008         * autogen.sh:
26009         * configure.ac:
26010         * docs/Makefile.am:
26011         * docs/faq/Makefile.am:
26012         * docs/gst/tmpl/gstelement.sgml:
26013         * docs/gst/tmpl/gsttypes.sgml:
26014         * docs/htmlinstall.mak:
26015         * docs/manual/Makefile.am:
26016         * docs/pwg/Makefile.am:
26017           reorganize doc build a little
26018           split out docbook and gtk-doc stuff
26019           have two separate --enable's and enable them through autogen
26020           but disable by default in configure (to be similar to other
26021           projects)
26022         * gstreamer.spec.in:
26023           clean up docs install
26024         * po/af.po:
26025         * po/az.po:
26026         * po/ca.po:
26027         * po/cs.po:
26028         * po/de.po:
26029         * po/en_GB.po:
26030         * po/fr.po:
26031         * po/it.po:
26032         * po/nb.po:
26033         * po/nl.po:
26034         * po/ru.po:
26035         * po/sq.po:
26036         * po/sr.po:
26037         * po/sv.po:
26038         * po/tr.po:
26039         * po/uk.po:
26040         * po/vi.po:
26041           translation updates
26042
26043 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
26044
26045         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
26046           Add comment.
26047           
26048         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
26049         (gst_fake_sink_change_state):
26050           Make state change function thread-safe.
26051           
26052         * gst/gstpad.c: (gst_pad_alloc_buffer):
26053           Set offset on generic buffer allocated by fallback.
26054
26055 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
26056
26057         * docs/gst/gstreamer-sections.txt:
26058         * docs/gst/tmpl/gstelement.sgml:
26059         * gst/gstpad.c:
26060         * libs/gst/controller/gst-controller.c:
26061         (gst_controlled_property_set_interpolation_mode),
26062         (gst_controlled_property_new),
26063         (gst_controller_find_controlled_property):
26064          run the wingo-magic script against the docs
26065
26066 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
26067
26068         * docs/gst/gstreamer-docs.sgml:
26069         * docs/gst/gstreamer-sections.txt:
26070         * docs/gst/tmpl/.cvsignore:
26071         * docs/gst/tmpl/gstelementdetails.sgml:
26072         * docs/gst/tmpl/gstelementfactory.sgml:
26073         * gst/gst.c:
26074         * gst/gstbus.c:
26075         * gst/gstelementfactory.c:
26076         * gst/gstelementfactory.h:
26077           merged elementdetails docs into elementfactory docs
26078           inlined both
26079
26080 2005-09-02  Andy Wingo  <wingo@pobox.com>
26081
26082         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
26083         consider this enum an enum and not a flags.
26084
26085 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
26086
26087         * docs/gst/gstreamer-docs.sgml:
26088         * docs/gst/tmpl/.cvsignore:
26089         * docs/gst/tmpl/gstghostpad.sgml:
26090         * docs/gst/tmpl/gstiterator.sgml:
26091         * docs/gst/tmpl/gstmacros.sgml:
26092         * docs/gst/tmpl/gstrealpad.sgml:
26093         * docs/gst/tmpl/gstregistry.sgml:
26094         * docs/gst/tmpl/gstregistrypool.sgml:
26095         * docs/gst/tmpl/gststructure.sgml:
26096         * docs/gst/tmpl/gstsystemclock.sgml:
26097         * docs/gst/tmpl/gsttrace.sgml:
26098         * gst/gstghostpad.c:
26099         * gst/gstmacros.h:
26100         * gst/gstmemchunk.c:
26101         * gst/gstmemchunk.h:
26102         * gst/gstqueue.c:
26103         * gst/gstregistry.c:
26104         * gst/gstregistrypool.c:
26105         * gst/gststructure.c:
26106         * gst/gstsystemclock.c:
26107           more docs inlined
26108
26109 2005-09-02  Andy Wingo  <wingo@pobox.com>
26110
26111         * gst/gstelement.h (GstState): Renamed from GstElementState,
26112         changed to be a normal enum instead of flags.
26113         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
26114         munged to be GST_STATE_CHANGE_*.
26115         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
26116         work with the new state representation.
26117         (GstStateChange): New enumeration of possible state transitions.
26118         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
26119         (GstElementClass::change_state): Pass the GstStateChange along as
26120         an argument. Helps language bindings, so they don't have to use
26121         tricky lock-needing macros like GST_STATE_CHANGE ().
26122
26123         * scripts/update-states (file): New script. Run it on a file to
26124         update it for state naming and API changes. Updates files in
26125         place.
26126
26127         * All files updated for the new API.
26128
26129 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26130
26131         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
26132         * gst/gstutils.c: (gst_util_set_value_from_string),
26133         (gst_util_set_object_arg):
26134           fix a bunch of unchecked return values
26135         * tools/gst-complete.c: (main):
26136         * gstreamer.spec.in:
26137           clean up a little
26138
26139 2005-09-01  Wim Taymans  <wim@fluendo.com>
26140
26141         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26142         (gst_base_sink_event), (gst_base_sink_do_sync),
26143         (gst_base_sink_handle_event):
26144         * gst/base/gstbasesink.h:
26145         Handle newsegments more correctly.
26146
26147         * gst/gstbus.c:
26148         Fix docs.
26149
26150         * gst/gstevent.c: (gst_event_new_newsegment):
26151         A newsegment cannot have a start_time of -1
26152
26153 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
26154
26155         * win32/gstenumtypes.c:
26156         * win32/gstenumtypes.h:
26157           Update
26158
26159 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26160
26161         * libs/gst/controller/gst-controller.c:
26162         (gst_controlled_property_set_interpolation_mode),
26163         (gst_controlled_property_new):
26164          fixed boolean again
26165
26166 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
26167
26168         * docs/faq/gst-uninstalled:
26169           add -good
26170         * gst/gstevent.c:
26171         * gst/gstevent.h:
26172           remove wrong docs
26173         * gst/gstutils.c: (gst_element_link_filtered):
26174         * gst/gstutils.h:
26175           add gst_element_link_filtered
26176
26177 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26178
26179         * docs/gst/gstreamer-docs.sgml:
26180         * docs/gst/gstreamer-sections.txt:
26181         * docs/gst/tmpl/.cvsignore:
26182         * docs/gst/tmpl/gsterror.sgml:
26183         * docs/gst/tmpl/gstfilter.sgml:
26184         * docs/gst/tmpl/gsturihandler.sgml:
26185         * docs/gst/tmpl/gsturitype.sgml:
26186         * docs/gst/tmpl/gstutils.sgml:
26187         * docs/gst/tmpl/gstxml.sgml:
26188         * gst/gsterror.c:
26189         * gst/gsterror.h:
26190         * gst/gstfilter.c:
26191         * gst/gsturi.c:
26192         * gst/gsturitype.c:
26193         * gst/gstutils.c:
26194         * gst/gstxml.c:
26195           inlined more docs, fixed double id-ref
26196
26197 2005-08-31  Wim Taymans  <wim@fluendo.com>
26198
26199         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26200         (gst_base_transform_handle_buffer):
26201         Passthrough elements don't need the caps as they don't care.
26202
26203 2005-08-31  Wim Taymans  <wim@fluendo.com>
26204
26205         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26206         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26207         Don't leak refcounts on buffers.
26208
26209 2005-08-31  Wim Taymans  <wim@fluendo.com>
26210
26211         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26212         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26213         (gst_base_transform_chain), (gst_base_transform_change_state):
26214         * gst/base/gstbasetransform.h:
26215         Handle the case where we are not negotiated more gracefully.
26216
26217 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
26218
26219         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26220         (gst_file_src_map_region):
26221           Set READONLY flag on mmap'ed buffers, otherwise
26222           gst_buffer_make_writable() won't work properly (#314708).
26223
26224 2005-08-31  Wim Taymans  <wim@fluendo.com>
26225
26226         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26227         passthrough elements can even do inplace on non writable
26228         buffers (as they don't touch them).
26229
26230 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26231
26232         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26233         (gst_test_mono_source_set_property),
26234         (gst_test_mono_source_class_init), (GST_START_TEST),
26235         (gst_controller_suite):
26236           more tests (hehe I have the most)
26237         * gst/gstbus.c:
26238           describe popping messages whenusing mulltiple sources
26239         * libs/gst/controller/gst-controller.c:
26240         (gst_controlled_property_set_interpolation_mode),
26241         (gst_controlled_property_new):
26242         * libs/gst/controller/gst-controller.h:
26243         * libs/gst/controller/gst-interpolation.c:
26244           implement boolean properties
26245
26246 2005-08-31  Wim Taymans  <wim@fluendo.com>
26247
26248         * gst/gstminiobject.c: (gst_mini_object_ref):
26249         Cannot assert that the refcount has to be positive
26250         since a disposed object can be resurrected.
26251
26252 2005-08-31  Wim Taymans  <wim@fluendo.com>
26253
26254         * gst/gstpad.c: (gst_pad_init):
26255         Revert change, need to first fix badly behaving 
26256         apps.
26257
26258 2005-08-30  Wim Taymans  <wim@fluendo.com>
26259
26260         * check/elements/fakesrc.c: (setup_fakesrc):
26261         * check/elements/identity.c: (setup_identity):
26262         Activate pads before using them.
26263
26264 2005-08-30  Wim Taymans  <wim@fluendo.com>
26265
26266         * gst/base/gstadapter.c: (gst_adapter_flush):
26267         Flushing out 0 bytes is ok for this function.
26268
26269         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26270         no newsegment gives a warning and sets the start/stop to 
26271         invalid.
26272
26273         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26274         (gst_base_transform_set_passthrough):
26275         Some debug info.
26276
26277         * gst/gstminiobject.c: (gst_mini_object_ref):
26278         Check refcount here too.
26279
26280         * gst/gstpad.c: (gst_pad_init):
26281         Pads are initially flushing and refusing data.
26282
26283         * gst/gstutils.c: (gst_element_link_pads_filtered):
26284         When adding a capsfilter element make sure it has the
26285         same state as the parent bin.
26286
26287 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26288
26289         * docs/gst/tmpl/.cvsignore:
26290         * docs/gst/tmpl/gstformat.sgml:
26291         * docs/gst/tmpl/gstversion.sgml:
26292         * gst/gstbus.h:
26293         * gst/gstformat.c:
26294         * gst/gstformat.h:
26295         * gst/gstversion.h.in:
26296           more docs and two more inlined
26297
26298 2005-08-30  Wim Taymans  <wim@fluendo.com>
26299
26300         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26301         Don't sync to clock.
26302
26303 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26304
26305         * docs/gst/gstreamer-sections.txt:
26306           ultral33t func10ns deserve to appear in the docs actually
26307         * docs/gst/tmpl/.cvsignore:
26308         * docs/gst/tmpl/gstcompat.sgml:
26309         * docs/gst/tmpl/gstconfig.sgml:
26310         * gst/check/gstcheck.c:
26311         * gst/gstcompat.h:
26312         * gst/gstconfig.h.in:
26313           inlined more docs
26314
26315 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26316
26317         * docs/gst/tmpl/.cvsignore:
26318         * docs/gst/tmpl/gstquery.sgml:
26319         * docs/gst/tmpl/gstutils.sgml:
26320         * gst/gstquery.c:
26321         * gst/gstquery.h:
26322           inlined and extended docs
26323
26324 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26325
26326         * check/gst-libs/controller.c: (GST_START_TEST),
26327         (gst_controller_suite):
26328           more tests
26329         * docs/gst/tmpl/gstutils.sgml:
26330         * docs/libs/gstreamer-libs-sections.txt:
26331         * docs/libs/tmpl/gstdataprotocol.sgml:
26332           include path fixes
26333         * examples/controller/audio-example.c: (main):
26334           controller example works now
26335         * gst/gstclock.h:
26336           doc fixes
26337         * tools/gst-inspect.c: (print_element_properties_info):
26338           show param spec flags
26339
26340 2005-08-29  Andy Wingo  <wingo@pobox.com>
26341
26342         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26343
26344 2005-08-28  Andy Wingo  <wingo@pobox.com>
26345
26346         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26347         as having two arguments instead of just one. Allows superclasses
26348         to access information on subclasses -- see the terrible for() loop
26349         in gtype.c:g_type_create_instance for the reason why. All callers
26350         changed.
26351
26352 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26353
26354         * docs/design/part-messages.txt:
26355           update info
26356         * docs/gst/tmpl/.cvsignore:
26357         * docs/gst/tmpl/gstcaps.sgml:
26358         * docs/gst/tmpl/gstclock.sgml:
26359         * gst/gstbus.c:
26360         * gst/gstcaps.c:
26361         * gst/gstcaps.h:
26362         * gst/gstclock.c:
26363         * gst/gstclock.h:
26364         * gst/gstmessage.c:
26365           added descriptions for bus and message
26366           inline caps and clock docs
26367
26368 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26369
26370         * gst/gstmessage.c:
26371         * gst/gstmessage.h:
26372           doc fixes
26373
26374 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26375
26376         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26377           fix div-by-zero
26378
26379 2005-08-26  Andy Wingo  <wingo@pobox.com>
26380
26381         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26382         element_set_state's return val.
26383         (test_2_elements): Add test that's been disabled for months.
26384
26385         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26386         can-activate-pull properties.
26387
26388         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26389         can-activate-pull properties. Implement is_seekable so fakesrc can
26390         operate in pull mode.
26391
26392         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26393         properties.
26394         (gst_base_sink_activate, gst_base_sink_activate_pull)
26395         (gst_base_sink_activate_push): Make activation mode choosing work.
26396         Cleanups.
26397         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26398         is right. Make pull mode work. Post an eos before pausing in pull
26399         mode.
26400         (gst_base_sink_change_state): Pay attention to the core's
26401         change_state() return val.
26402         
26403         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26404         has-getrange properties. Cleanups.
26405         
26406         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26407         has_getrange and replace with can_activate_pull and
26408         can_activate_push.
26409
26410         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26411         locking comments. Remove has_loop, has_chain and replace with
26412         can_activate_pull and can_activate_push.
26413
26414 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26415
26416         * configure.ac:
26417         * examples/Makefile.am:
26418         * examples/metadata/Makefile.am:
26419         * examples/metadata/read-metadata.c: (message_loop),
26420         (have_pad_handler), (make_pipeline), (print_tag), (main):
26421           Add metadata reading example that loops over a list of filenames,
26422           dumping any tags found.
26423
26424         * gst/gstbus.c: (gst_bus_dispose):
26425         * gst/gstelement.c: (gst_element_dispose):
26426           Release a few potentially-held references in dispose.
26427
26428 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26429
26430         * docs/gst/tmpl/gstminiobject.sgml:
26431           do *not* add tmpl/*.sgml files to CVS!
26432
26433 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26434
26435         * libs/gst/bytestream/.cvsignore:
26436         * libs/gst/bytestream/Makefile.am:
26437         * libs/gst/bytestream/adapter.c:
26438         * libs/gst/bytestream/adapter.h:
26439         * libs/gst/bytestream/bytestream.c:
26440         * libs/gst/bytestream/bytestream.h:
26441         * libs/gst/bytestream/filepad.c:
26442         * libs/gst/bytestream/filepad.h:
26443           removing obsolete files
26444
26445 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26446
26447         * docs/gst/gstreamer-docs.sgml:
26448         * docs/libs/gstreamer-libs-docs.sgml:
26449           disabed additional index entries again, as this makes docs-gen just
26450           slow and they aren't useful yet
26451         * docs/libs/gstreamer-libs-sections.txt:
26452           little -section.txt cleanup for libs
26453
26454 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26455
26456         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26457         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26458           fix up some debugging
26459         (gst_base_transform_get_unit_size),
26460         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26461         (gst_base_transform_handle_buffer):
26462         * gst/base/gstbasetransform.h:
26463           handle and store timed NEWSEGMENT events so that subclasses that
26464           calculate time by counting samples have a segment_start time they
26465           need to add to their timestamps - see audioresample
26466
26467 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26468
26469         * gst/gstbin.h:
26470           removed ';' from the end of macro defs
26471         * docs/gst/gstreamer-docs.sgml:
26472         * docs/gst/gstreamer-sections.txt:
26473         * docs/gst/tmpl/.cvsignore:
26474         * gst/gstbus.h:
26475         * gst/gstelement.c: (gst_element_class_init),
26476         (gst_element_set_state), (activate_pads),
26477         (gst_element_save_thyself):
26478         * gst/gstevent.c: (gst_event_new_newsegment):
26479         * gst/gstevent.h:
26480         * gst/gstiterator.c:
26481         * gst/gstiterator.h:
26482         * gst/gstpad.c:
26483         * gst/gstprobe.h:
26484         * gst/gstutils.c: (gst_pad_query_convert):
26485         * gst/gstutils.h:
26486           fixed parameter name mismatches between source, header and docs
26487           added some more docs, resolved the last batch of unused elements in
26488           docs (now someone needs to doc them)
26489
26490 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26491
26492         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26493         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26494           don't walk through the plugins backwards.  Where is all this
26495           reversed logic coming from ?
26496
26497 2005-08-25  Wim Taymans  <wim@fluendo.com>
26498
26499         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26500         (gst_base_transform_transform_size),
26501         (gst_base_transform_configure_caps),
26502         (gst_base_transform_get_unit_size),
26503         (gst_base_transform_buffer_alloc),
26504         (gst_base_transform_change_state):
26505         * gst/base/gstbasetransform.h:
26506         Cache caps unit_size.
26507         Make sure we cannot negotiate up and downstream at the
26508         same time.
26509
26510 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26511
26512         * gst/gst.c: (init_pre), (init_post):
26513           register the installed plugin path after the env var
26514         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26515         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26516           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26517           directories, so the tests can prefer uninstalled over installed
26518
26519 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26520
26521         * gst/base/gstbasetransform.h:
26522           comment
26523         * gst/gstpad.c:
26524           add to docs
26525
26526 2005-08-25  Wim Taymans  <wim@fluendo.com>
26527
26528         * gst/gstbin.c: (bin_bus_handler):
26529         Be a bit more conservative about the posted message.
26530         
26531         * gst/gstbus.c: (gst_bus_post):
26532         Some cleanups, warn wrong return values.
26533
26534 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26535
26536         * check/gst/gstbin.c: (GST_START_TEST):
26537         * gst/gstbin.c: (bin_bus_handler):
26538         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26539         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26540         (gst_message_new_warning), (gst_message_new_tag),
26541         (gst_message_new_state_changed), (gst_message_new_segment_start),
26542         (gst_message_new_segment_done), (gst_message_new_custom):
26543         * gst/gstmessage.h:
26544         * tools/gst-launch.c: (event_loop):
26545         * tools/gst-md5sum.c: (event_loop):
26546           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26547
26548 2005-08-25  Wim Taymans  <wim@fluendo.com>
26549
26550         * check/generic/states.c: (GST_START_TEST):
26551         Cleanup can be done at the end.
26552
26553         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26554         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26555         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26556         Oh boy.. Thanks for finding this, Thomas. 
26557
26558 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26559
26560         * docs/gst/gstreamer.types:
26561           added missing types
26562
26563 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26564
26565         * docs/gst/gstreamer-docs.sgml:
26566         * docs/gst/gstreamer-sections.txt:
26567         * docs/gst/tmpl/.cvsignore:
26568         * gst/gstbin.c:
26569         * gst/gstiterator.c:
26570         * gst/gstutils.c:
26571         * gst/registries/gstxmlregistry.h:
26572           added missing classes and symbols (123 more to go)
26573           removed removed symbols from section file
26574           fixed many doc-comments
26575
26576 2005-08-24  Wim Taymans  <wim@fluendo.com>
26577
26578         * check/generic/states.c: (GST_START_TEST):
26579         Make sure all tasks are stopped.
26580
26581         * check/gst/gstbin.c: (GST_START_TEST):
26582         Unref after usage for proper valgrinding.
26583
26584         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26585         Really wait for the task to stop before destroying the
26586         mutex.
26587
26588         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26589         (gst_queue_src_activate_push):
26590         Small cleanups. Don't stop the task when we did not start
26591         it.
26592
26593         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26594         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26595         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26596         (gst_task_join):
26597         * gst/gsttask.h:
26598         Protect the stream lock with the object lock.
26599         Disallow setting the stream lock when running.
26600         Add cleanup_all to wait for the threadpool to finish.
26601         Remove code to autoallocate a mutex if none was provided.
26602         Add _join() to wait for a task to stop.
26603         Protect the thread pool with a global lock.
26604
26605 2005-08-24  Wim Taymans  <wim@fluendo.com>
26606
26607         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26608         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26609         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26610         * gst/base/gstbasesink.h:
26611         Handle newsegment events correctly.
26612         Drop buffers out of the segment range.
26613
26614 2005-08-22  Andy Wingo  <wingo@pobox.com>
26615
26616         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26617         macro, implements an interface and gstimplementsinterface for a
26618         new type.
26619
26620 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26621
26622         * check/Makefile.am:
26623         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26624           add a test that does a bunch of state changes on elements
26625           needs some fixing for valgrind
26626         * check/states/sinks.c: (gst_object_suite):
26627           whitespace
26628         * gst/gstcaps.h:
26629           add prototype for gst_caps_is_equal_fixed
26630         * gst/gstplugin.c:
26631         * gst/gstregistrypool.c:
26632           doc fixes
26633
26634 2005-08-24  Andy Wingo  <wingo@pobox.com>
26635
26636         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26637         convert a negative value. Doesn't make much sense. Mostly this is
26638         here to force callers to ensure -1 maps to -1.
26639
26640 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26641
26642         * docs/pwg/advanced-types.xml:
26643           Well done to Michael for catching my deliberate introduction
26644           of this spelling mistake. 
26645         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26646         * gst/gstelement.h:
26647           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26648           unlink pads before removing the element from the bin.
26649
26650 2005-08-24  Andy Wingo  <wingo@pobox.com>
26651
26652         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26653         the same thing as GST_DEBUG=*:4.
26654         (parse_debug_level, parse_debug_category): New helper parsers.
26655
26656 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26657
26658         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26659         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26660         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26661         (gst_base_transform_buffer_alloc),
26662         (gst_base_transform_handle_buffer):
26663           use gboolean return values and pointers to size so we can use the
26664           full GST_BUFFER_SIZE range (guint) for buffer sizes
26665           use GstPadDirection for transform_caps
26666         * gst/base/gstbasetransform.h:
26667           rename get_size to get_unit_size since that's what it is
26668         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26669           use GstPadDirection for transform_caps
26670         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26671         * gst/gstutils.h:
26672           cleanup and debugging
26673
26674 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26675
26676         * gst/gstelement.c: (gst_element_class_init),
26677         (gst_element_set_state), (activate_pads),
26678         (gst_element_save_thyself):
26679         * tools/gst-compprep.c: (main):
26680         * tools/gst-inspect.c: (print_element_properties_info):
26681         * tools/gst-xmlinspect.c: (print_element_properties):
26682           Fixed long standing mem-leak
26683
26684 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26685
26686         * check/gst/gstbin.c: (GST_START_TEST):
26687         * gst/gstbin.c: (bin_bus_handler):
26688         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26689         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26690         (gst_message_new_warning), (gst_message_new_tag),
26691         (gst_message_new_state_changed), (gst_message_new_segment_start),
26692         (gst_message_new_segment_done), (gst_message_new_custom):
26693         * gst/gstmessage.h:
26694         * tools/gst-launch.c: (event_loop):
26695         * tools/gst-md5sum.c: (event_loop):
26696           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26697           that applications can sensibly post custom messages with references
26698           to their own objects.
26699
26700 2005-08-24  Andy Wingo  <wingo@pobox.com>
26701
26702         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26703         already.
26704
26705 2005-08-24  Wim Taymans  <wim@fluendo.com>
26706
26707         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26708         (gst_base_transform_transform_caps),
26709         (gst_base_transform_transform_size),
26710         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26711         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26712         (gst_base_transform_handle_buffer):
26713         * gst/base/gstbasetransform.h:
26714         Many fixes and new features added by Thomas. Can now also do
26715         transforms with variable sizes and a custom fixate_caps function.
26716
26717 2005-08-24  Wim Taymans  <wim@fluendo.com>
26718
26719         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26720         Some debugging.
26721
26722         * gst/gstclock.h:
26723         Cast to ClockTime before formatting to time.
26724
26725         * gst/gstutils.h:
26726         Cleanups.
26727
26728 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26729
26730         * check/gst-libs/controller.c: (GST_START_TEST),
26731         (gst_controller_suite):
26732         * docs/gst/tmpl/gstcaps.sgml:
26733         * docs/gst/tmpl/gstghostpad.sgml:
26734         * docs/gst/tmpl/gstquery.sgml:
26735         * docs/gst/tmpl/gstutils.sgml:
26736         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26737         (gst_object_sink_values), (gst_object_get_value_arrays),
26738         (gst_object_get_value_array):
26739           gracefully handle helper method calls to objects that are not beeing
26740           controlled, added test case for that          
26741
26742 2005-08-23  Wim Taymans  <wim@fluendo.com>
26743
26744         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26745         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26746         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26747         (gst_event_parse_qos), (gst_event_new_seek),
26748         (gst_event_parse_seek):
26749         * gst/gstevent.h:
26750         Some more debugging output and doc cleanups.
26751
26752         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26753         Fix possible deadlock.
26754
26755 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26756
26757         * docs/gst/gstreamer-docs.sgml:
26758         * docs/gst/gstreamer-sections.txt:
26759         * docs/gst/gstreamer.types:
26760         * docs/gst/tmpl/.cvsignore:
26761         * gst/gstbin.h:
26762         * gst/gstbus.c:
26763         * gst/gstelement.c:
26764         * gst/gstevent.h:
26765           added 100 symbols from gstreamer-unused.txt to the right sections
26766           fixed more broken comments
26767           added GstBus to docs
26768
26769 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26770
26771         * docs/gst/gstreamer-sections.txt:
26772         * docs/gst/tmpl/.cvsignore:
26773         * docs/gst/tmpl/gstbin.sgml:
26774         * docs/gst/tmpl/gstbuffer.sgml:
26775         * gst/base/gstbasesrc.c:
26776         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26777         * gst/gstbuffer.c:
26778         * gst/gstbuffer.h:
26779         * tools/gst-launch.1.in:
26780           inlined more doc comments, added missing comments and fixed comments
26781           fixed typos
26782
26783 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26784
26785         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26786           some debugging
26787         * gst/gstcaps.h:
26788           whitespace fixes
26789         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26790           more debugging
26791         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26792         * gst/gststructure.h:
26793           add a fixate function for booleans; add a FIXME that these func
26794           names should probably be gst_structure_fixate_*
26795
26796 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26797
26798         * docs/gst/gstreamer-docs.sgml:
26799         * docs/gst/gstreamer-sections.txt:
26800         * gst/Makefile.am:
26801         * gst/gstbin.c: (gst_bin_get_type),
26802         (gst_bin_child_proxy_get_child_by_index),
26803         (gst_bin_child_proxy_get_children_count),
26804         (gst_bin_child_proxy_init):
26805         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26806         (gst_child_proxy_get_child_by_index),
26807         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26808         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26809         (gst_child_proxy_get), (gst_child_proxy_set_property),
26810         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26811         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26812         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26813         * gst/gstchildproxy.h:
26814         * gst/parse/grammar.y:
26815         * tools/gst-inspect.c: (print_interfaces),
26816         (print_element_properties_info), (print_element_info):
26817           ported gstchildproxy over from 0.8
26818           ported gst-inspect fixes and enhancements over from 0.8
26819
26820 2005-08-22  Wim Taymans  <wim@fluendo.com>
26821
26822         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26823         (gst_base_transform_handle_buffer):
26824         Also call the transform function if we have ANY caps.
26825
26826         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26827         Fix debug info.
26828
26829 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26830
26831         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26832           Don't pretend to handle seek events if the source is not seekable
26833
26834 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26835
26836         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26837           Remove extra parameter to debug output
26838
26839         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26840         (gst_base_src_do_seek), (gst_base_src_activate_push):
26841           Fix seek event handling.
26842
26843         * gst/gstpipeline.c: (gst_pipeline_change_state):
26844         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26845         (gst_queue_src_activate_push):
26846           Don't start the src pad task on FLUSH_STOP if the pad
26847           isn't linked.
26848           Debug changes.
26849
26850 2005-08-22  Wim Taymans  <wim@fluendo.com>
26851
26852         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26853         Added check for gst_static_caps_get() refcounting.
26854
26855 2005-08-22  Wim Taymans  <wim@fluendo.com>
26856
26857         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26858         Make _static_caps_get() refcounting sane.
26859         
26860         * gst/gstelement.c: (gst_element_set_state):
26861         Add g_return_val_if_fail() to protect against segfaults.
26862
26863 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26864
26865         * docs/gst/tmpl/gstevent.sgml:
26866         * gst/gstevent.c:
26867         * gst/gstevent.h:
26868           inlined remaining docs, added missing doc comments
26869
26870 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26871
26872         * check/gst/gstbin.c: (GST_START_TEST):
26873           since we don't know when preroll is done, use refcount range
26874           check for the sink
26875         * gst/check/gstcheck.h:
26876           add macro for checking refcount range
26877
26878 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26879
26880         * check/Makefile.am:
26881           clean up environment for when registry gets built versus
26882           when actual tests are run; valgrind seems to not report
26883           leaks if GST_PLUGIN_PATH is set to some specific values
26884         * check/gst/gstbin.c: (GST_START_TEST):
26885           add more refcounting checks; maybe this exposes a
26886           preroll lock bug ?
26887         * common/check.mak:
26888         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26889         * gst/check/gstcheck.h:
26890         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26891         (gst_bin_change_state):
26892         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26893           add/fix debugging/whitespace
26894
26895 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26896
26897         * check/gst/gstevent.c: (event_probe), (test_event),
26898         (GST_START_TEST):
26899          Er, don't call gst_bin_watch_for_state_change you idiot.
26900
26901 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26902
26903         * check/Makefile.am:
26904           Use CHECK_CFLAGS and CHECK_LIBS
26905         * check/gst/gstevent.c: (event_probe), (test_event),
26906         (GST_START_TEST):
26907           Don't leak events.
26908         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26909         (gst_base_src_start), (gst_base_src_stop),
26910         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26911         (gst_base_src_change_state):
26912           Sprinkle gst_base_src_stop liberally around error paths to fix
26913           problems reusing a source after failed state changes.
26914         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26915         (helper_find_suggest), (gst_type_find_helper):
26916           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26917         * gst/gstevent.h:
26918         * docs/gst/tmpl/gstevent.sgml:
26919           Migrate part of the docs from the SGML file. Wait for ensonic to
26920           tell me how I did it wrong ;)
26921         * tools/gst-typefind.c: (main):
26922           Extra robustness to state changes between files.
26923
26924 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26925
26926         * check/Makefile.am:
26927           don't valgrind the controller test - it's leaking - Stefan, HELP
26928         * gst/check/gstcheck.c: (gst_check_message_error),
26929         (gst_check_chain_func), (gst_check_setup_element),
26930         (gst_check_teardown_element), (gst_check_setup_src_pad),
26931         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26932         (gst_check_teardown_sink_pad):
26933         * gst/check/gstcheck.h:
26934           add a bunch of methods to set up elements, and src and sink pads
26935         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26936         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26937         (GST_START_TEST):
26938           use them
26939         * gst/gstmessage.c:
26940         * gst/gsttag.h:
26941           whitespace/doc fixes
26942
26943 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26944
26945         * gst/gstelement.h:
26946           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26947           be handled by the application and not always printed as well
26948
26949 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26950
26951         * check/Makefile.am:
26952           set GST_TOOLS_DIR
26953         * gst/check/gstcheck.c: (gst_check_message_error):
26954         * gst/check/gstcheck.h:
26955           add a fail_unless_equals_int
26956           add fail_unless for error messages
26957
26958 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26959
26960         * check/Makefile.am:
26961         * check/gst.supp:
26962         * common/Makefile.am:
26963         * common/check.mak:
26964         * common/gst.supp:
26965           factor out some of the common stuff so we can use it
26966
26967 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26968
26969         * check/Makefile.am:
26970         * check/gst/gstiterator.c: (GST_START_TEST):
26971         * check/gst/gstsystemclock.c: (GST_START_TEST),
26972         (gst_systemclock_suite):
26973         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26974         * gst/gstclock.c:
26975           valgrind more tests
26976
26977 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26978
26979         * check/elements/.cvsignore:
26980         * check/elements/gstfakesrc.c:
26981           rename to name of element
26982         * check/elements/identity.c: (chain_func), (event_func),
26983         (setup_identity), (cleanup_identity), (GST_START_TEST),
26984         (identity_suite), (main):
26985           add a test for identity
26986         * check/Makefile.am:
26987         * pkgconfig/Makefile.am:
26988         * pkgconfig/gstreamer-check.pc.in:
26989         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26990         * gst/check:
26991         * gst/Makefile.am:
26992         * configure.ac:
26993           move the check stuff to a library that gets installed
26994         * check/gst-libs/controller.c: (GST_START_TEST):
26995         * check/gst-libs/gdp.c:
26996         * check/gst/gst.c: (GST_START_TEST):
26997         * check/gst/gstbin.c:
26998         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26999         * check/gst/gstbus.c:
27000         * check/gst/gstcaps.c: (GST_START_TEST):
27001         * check/gst/gstelement.c:
27002         * check/gst/gstghostpad.c:
27003         * check/gst/gstiterator.c:
27004         * check/gst/gstmessage.c:
27005         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
27006         * check/gst/gstobject.c:
27007         * check/gst/gstpad.c: (GST_START_TEST):
27008         * check/gst/gststructure.c: (GST_START_TEST):
27009         * check/gst/gstsystemclock.c: (GST_START_TEST),
27010         (gst_systemclock_suite):
27011         * check/gst/gsttag.c: (gst_tag_suite):
27012         * check/gst/gstvalue.c:
27013         * check/pipelines/cleanup.c:
27014         * check/pipelines/simple_launch_lines.c:
27015         * check/states/sinks.c:
27016           change include statement
27017
27018         * docs/gst/gstreamer-sections.txt:
27019         * docs/gst/tmpl/gstpad.sgml:
27020           document more pad stuff
27021         * gst/gstminiobject.c: (gst_mini_object_ref),
27022         (gst_mini_object_unref):
27023           debug refcounting
27024
27025 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
27026
27027         * docs/gst/tmpl/gst.sgml:
27028         * gst/gst.c:
27029           eliminate another tmpl file, fix spelling in the long-description
27030
27031 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27032
27033         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27034         (test_event), (timediff), (gstevents_suite):
27035           Should fix build on 64-bit arch's
27036
27037 2005-08-18  Andy Wingo  <wingo@pobox.com>
27038
27039         Make sure that when a pipeline goes to PLAYING, that data has
27040         actually hit the sink.
27041
27042         * check/states/sinks.c (test_sink): A sink that doesn't get any
27043         data shouldn't return SUCCESS for going to either PLAYING or
27044         PAUSED. Test also the return values on the way back down.
27045
27046         * gst/gstelement.c (gst_element_set_state): When changing the
27047         state of an element currently changing state asynchronously, go to
27048         lost-state after commiting the pending state. Makes future calls
27049         to get_state continue to return ASYNC.
27050
27051         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
27052         ASYNC when going to PLAYING if we still don't have preroll, as can
27053         happen with live sources.
27054
27055 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27056
27057         * docs/pwg/advanced-types.xml:
27058           Hack long paragraph into 2 chunks as a workaround for buggy
27059           jadetex version in sid and breezy that loops infinitely and
27060           eats all RAM.
27061
27062 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27063
27064         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27065         (test_event), (timediff), (gstevents_suite):
27066           Provide more error margin in clock measurements to allow for 
27067           g_get_current_time inaccuracies.
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            Fix error message output so I might be able to tell why the
27074            test works here but fails on the build farm.
27075
27076 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27077
27078         * check/Makefile.am:
27079         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27080         (test_event), (timediff), (gstevents_suite), (main):
27081           I wrote a test!
27082
27083         * docs/design/part-seeking.txt:
27084           Spelling correction
27085
27086         * docs/gst/tmpl/gstevent.sgml:
27087         * docs/gst/tmpl/gstfakesrc.sgml:
27088           Docs updates.
27089
27090         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27091           Treat a buffer-without-newsegment the same as a receiving 
27092           a newsegment not in time format, and disable syncing to the clock
27093           with a warning.
27094
27095         * gst/gstbus.c: (gst_bus_set_sync_handler):
27096           Assert if anyone tries to replace the existing sync_handler for bus, 
27097           as only the owner should be setting it.
27098
27099         * gst/gstevent.h:
27100           Have a fixed set of custom event enums with events identified by
27101           their structure name (as in 0.8), rather than a free-for-all
27102           allowing collisions between enum values from different plugins.
27103
27104         * gst/gstpad.c: (gst_pad_class_init):
27105           Docs change.
27106           
27107         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27108           Handle out-of-band downstream events from the sending thread.
27109
27110 2005-08-17  Andy Wingo  <wingo@pobox.com>
27111
27112         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
27113         play-timeout==0 to mean no timeout at all. In that case, don't
27114         bother with a get_state or a warning, just return directly, even
27115         if it's ASYNC.
27116
27117         * gst/base/gstbasetransform.c: Debug changes.
27118
27119         * gst/gstutils.h:
27120         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
27121         ensure bins post state change messages. A bit of a hack but I can't
27122         think of a way to avoid it.
27123
27124         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
27125
27126 2005-08-16  Andy Wingo  <wingo@pobox.com>
27127
27128         * gst/base/gstadapter.h:
27129         * gst/base/gstadapter.c (gst_adapter_take): New function, like
27130         peek() but you own the data. Not terribly efficient atm.
27131
27132 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27133
27134         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
27135         (gst_element_found_tags):
27136         * gst/gstutils.h:
27137           Add two utility functions for tag handling.
27138
27139 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27140
27141         * docs/manual/advanced-dataaccess.xml:
27142         * docs/manual/basics-helloworld.xml:
27143           Fix docs to use _bin_add() before _link(), which fixes the examples
27144           with recent core versions (reported by Madhan Raj M
27145           <raj_madan@rediffmail.com>, #313199).
27146
27147 2005-08-16  Wim Taymans  <wim@fluendo.com>
27148
27149         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27150         Added subtract checks.
27151
27152         * docs/design/part-events.txt:
27153         Some more docs about newsegment
27154
27155         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27156         Fix FIXME
27157
27158         * gst/gstcaps.c: (gst_caps_to_string):
27159         Add comments, cleanups.
27160         
27161         * gst/gstelement.c: (gst_element_save_thyself):
27162         cleanups
27163         
27164         * gst/gstvalue.c: (gst_value_collect_int_range),
27165         (gst_string_unwrap), (gst_value_union_int_int_range),
27166         (gst_value_union_int_range_int_range),
27167         (gst_value_intersect_int_int_range),
27168         (gst_value_intersect_int_range_int_range),
27169         (gst_value_intersect_double_double_range),
27170         (gst_value_intersect_double_range_double_range),
27171         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27172         (gst_value_subtract_int_range_int),
27173         (gst_value_subtract_double_range_double),
27174         (gst_value_subtract_double_range_double_range),
27175         (gst_value_subtract_from_list), (gst_value_subtract_list),
27176         (gst_value_can_compare), (gst_value_compare_fraction):
27177         Cleanups, add comments, remove unneeded asserts.
27178
27179 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27180
27181         * tools/gst-launch.c: (event_loop):
27182           don't convert NULL structures to strings
27183
27184 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
27185
27186         * docs/gst/gstreamer-sections.txt:
27187           made some defines private
27188         * docs/gst/tmpl/gstconfig.sgml:
27189         * docs/gst/tmpl/gstqueue.sgml:
27190         * docs/gst/tmpl/gsttaglist.sgml:
27191         * docs/gst/tmpl/gsttypes.sgml:
27192         * docs/gst/tmpl/gstutils.sgml:
27193         * docs/pwg/appendix-porting.xml:
27194         * gst/base/gstbasesink.h:
27195         * gst/base/gstbasesrc.c:
27196         * gst/base/gstbasesrc.h:
27197         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27198         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27199         * gst/gstelement.c: (gst_element_class_init):
27200         * gst/gstpad.c: (gst_pad_class_init):
27201         * gst/gstqueue.c: (gst_queue_class_init):
27202         * gst/gstxml.c: (gst_xml_class_init):
27203           documented all undocumented signal inline
27204         * libs/gst/controller/gst-controller.h:
27205           added padding
27206
27207 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27208
27209         * docs/pwg/appendix-porting.xml:
27210           Document _set_link_function -> _set_setcaps_function.
27211
27212 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27213
27214         * check/Makefile.am:
27215           add a .check target for running the check
27216         * check/gst-libs/controller.c: (GST_START_TEST):
27217           cosmetic fixups
27218         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27219           complete checks for gstbuffer; would be nice if I could get the
27220           gcov stuff to work so I can see if I actually completed gstbuffer.c
27221         * check/gstcheck.h:
27222           add ASSERT_BUFFER_REFCOUNT
27223
27224 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
27225
27226         * docs/gst/gstreamer-sections.txt:
27227         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27228         * gst/gsttag.h:
27229           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27230           spew out a warning if a tag that is already registered
27231           is re-registered, unless it is re-registered with a 
27232           different type (#308438).
27233
27234 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
27235
27236         * docs/pwg/appendix-porting.xml:
27237         * docs/pwg/building-state.xml:
27238           Add some paragraphs about state changes in 0.9 to the PWG
27239           and the porting guide, in particular about the new meaning
27240           of GST_STATE_PAUSED and how to write state change functions
27241           with concurrent access by multiple threads in mind.
27242
27243 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
27244
27245         * docs/gst/gstreamer-docs.sgml:
27246         * docs/libs/gstreamer-libs-docs.sgml:
27247           added deprecation and since indexes
27248         * libs/gst/controller/gst-controller.c:
27249         * libs/gst/controller/gst-helper.c:
27250           added since tags
27251
27252
27253 2005-08-11  Wim Taymans  <wim@fluendo.com>
27254
27255         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27256         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27257         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27258         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27259         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27260         (gst_ghost_pad_set_target):
27261         Actually implement (re)setting the target on a ghostpad
27262         as described in the docs.
27263
27264 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27265
27266         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27267           Check whether GST_DEBUG_NO_COLOR environment variable is
27268           set and disable coloured debug output if that is the case.
27269
27270 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27271
27272         * gst/base/gsttypefindhelper.c: (helper_find_peek),
27273         (gst_type_find_helper):
27274           The memory returned by gst_type_find_peek() needs to
27275           stay valid until the end of a typefind function, and
27276           typefind functions may keep results from different 
27277           offsets around, so we can't just unref the buffer from
27278           the previous _peek(), but have to save all buffers 
27279           returned by _peek() until typefinding is done and only
27280           free them then.
27281
27282 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
27283
27284         * docs/gst/gstreamer-sections.txt:
27285         * gst/gstutils.h:
27286           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27287
27288 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27289
27290         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27291           Fix a pretty good memleak.
27292
27293 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27294
27295         * gst/gstiterator.h:
27296           Fix wrong include and 'make distcheck'.
27297
27298 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27299
27300         * gst/gstbin.c: (bin_bus_handler):
27301           Use gst_element_post_message() instead.
27302
27303 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27304
27305         * gst/base/gstadapter.h:
27306         * gst/base/gstbasesink.h:
27307         * gst/base/gstbasesrc.h:
27308         * gst/base/gstbasetransform.h:
27309         * gst/base/gstcollectpads.h:
27310         * gst/base/gstpushsrc.h:
27311         * gst/gstiterator.h:
27312           Add padding to our base elements' class and instance structs and
27313           to GstIterator (you will need to rebuild all plugins and apps!)
27314
27315 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27316
27317         * gst/gstbin.c: (bin_bus_handler):
27318           Make default message forwarding from child->bus to bin->bus
27319           threadsafe and make it not emit warnings if the parent has no bus.
27320
27321 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27322
27323         * gst/gstelement.c: (activate_pads):
27324           On paused->ready, set pad->caps to NULL, as is the documented
27325           behaviour in this state change. Fixes playback of series of
27326           media files when visualization is enabled in Totem.
27327
27328 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27329
27330         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27331           Allow NULL as filter-caps (which means "any").
27332
27333 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27334
27335         * docs/libs/gstreamer-libs-sections.txt:
27336         * libs/gst/controller/gst-controller.c:
27337         * libs/gst/controller/gst-controller.h:
27338         * libs/gst/controller/gst-helper.c:
27339           adding more entries to the docs and fix small doc-bugs
27340
27341 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27342
27343         * docs/gst/gstreamer-docs.sgml:
27344         * docs/gst/gstreamer-sections.txt:
27345         * docs/gst/gstreamer.types:
27346         * docs/gst/tmpl/gstbasesink.sgml:
27347         * docs/gst/tmpl/gstbasesrc.sgml:
27348         * docs/gst/tmpl/gstbasetransform.sgml:
27349         * docs/gst/tmpl/gstfakesrc.sgml:
27350         * gst/base/gstcollectpads.c:
27351         * gst/base/gstcollectpads.h:
27352         * libs/gst/controller/gst-controller.c:
27353         * libs/gst/controller/gst-controller.h:
27354         * libs/gst/controller/gst-helper.c:
27355         * libs/gst/controller/gst-interpolation.c:
27356         * libs/gst/controller/lib.c:
27357           added long/short desc for controller docs
27358           added collectpads base class docs
27359           added correct includes to base-class docs
27360
27361 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27362
27363         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27364         (gst_test_mono_source_set_property),
27365         (gst_test_mono_source_class_init), (GST_START_TEST),
27366         (gst_controller_suite):
27367         * docs/gst/gstreamer-docs.sgml:
27368         * docs/gst/gstreamer-sections.txt:
27369         * docs/gst/gstreamer.types:
27370         * docs/libs/gstreamer-libs-docs.sgml:
27371         * docs/libs/gstreamer-libs-sections.txt:
27372         * gst/base/gstadapter.c:
27373         * libs/gst/controller/gst-controller.c:
27374         (gst_controlled_property_new), (gst_controlled_property_free),
27375         (gst_controller_new_valist),
27376         (gst_controller_remove_properties_valist),
27377         (gst_controller_sink_values), (_gst_controller_finalize):
27378         * libs/gst/controller/gst-controller.h:
27379         * libs/gst/controller/gst-helper.c:
27380         (gst_object_control_properties), (gst_object_uncontrol_properties),
27381         (gst_object_get_controller), (gst_object_set_controller),
27382         (gst_object_sink_values), (gst_object_get_value_arrays),
27383         (gst_object_get_value_array):
27384           more tests (and fixes) for the controller
27385           more docs for the controller
27386           integrated companies docs for the adapter 
27387
27388 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27389
27390         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27391         (GST_START_TEST), (fakesrc_suite):
27392           add tests for sizetype
27393
27394 2005-08-04  Andy Wingo  <wingo@pobox.com>
27395
27396         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27397         fixes buffer_alloc proxying among other things.
27398
27399         * gst/base/gstbasetransform.c:
27400         * gst/base/gstbasetransform.h:
27401         Revert patch to gstbasetransform from 7-28 removing
27402         delay_configure.
27403
27404         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27405         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27406         Semantics changed, should return not the size of the output buffer
27407         but the byte size of a buffer with a given caps.
27408
27409         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27410         debug object.
27411         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27412         out) are not the pad caps until setcaps finishes.
27413         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27414         not-in-place case as well. Deal with changing from in-place to
27415         not-in-place within calling pad_alloc_buffer. Still a bit
27416         concerned about the overhead here...
27417
27418 2005-08-03  Andy Wingo  <wingo@pobox.com>
27419
27420         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27421         fixating is an error.
27422
27423 2005-08-04  Edward Hervey  <edward@fluendo.com>
27424
27425         * gst/base/gstadapter.h: 
27426         Added gst_adapter_get_type() to the header
27427
27428 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27429
27430         * check/Makefile.am:
27431         * check/gst-libs/controller.c:
27432         * libs/gst/controller/gst-controller.c:
27433         (gst_controller_new_valist):
27434           added check test suite for the controller
27435         * gst/base/gstpushsrc.c:
27436           fixed a doc typo
27437
27438 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27439
27440         * docs/gst/Makefile.am:
27441         * docs/gst/gstreamer-docs.sgml:
27442         * docs/gst/gstreamer-sections.txt:
27443         * docs/gst/gstreamer.types:
27444         * docs/gst/tmpl/gstfakesrc.sgml:
27445         * gst/base/README:
27446         * gst/base/gstbasesink.c:
27447         * gst/base/gstbasesink.h:
27448         * gst/base/gstbasesrc.c:
27449         * gst/base/gstbasesrc.h:
27450         * gst/base/gstbasetransform.c:
27451         * gst/base/gstpushsrc.c:
27452         * gst/base/gstpushsrc.h:
27453           add short/long description docs to base classes
27454           add pushsrc to the docs
27455           remove consolidated doc fragments
27456
27457 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27458
27459         * configure.ac:
27460         * docs/libs/Makefile.am:
27461         * docs/libs/gstreamer-libs-docs.sgml:
27462         * docs/libs/gstreamer-libs-sections.txt:
27463         * docs/libs/gstreamer-libs.types:
27464         * examples/Makefile.am:
27465         * examples/controller/.cvsignore:
27466         * examples/controller/Makefile.am:
27467         * examples/controller/audio-example.c: (main):
27468         * libs/gst/Makefile.am:
27469         * libs/gst/controller/.cvsignore:
27470         * libs/gst/controller/Makefile.am:
27471         * libs/gst/controller/gst-controller.c:
27472         (on_object_controlled_property_changed), (gst_timed_value_compare),
27473         (gst_timed_value_find),
27474         (gst_controlled_property_set_interpolation_mode),
27475         (gst_controlled_property_new), (gst_controlled_property_free),
27476         (gst_controller_find_controlled_property),
27477         (gst_controller_new_valist), (gst_controller_new),
27478         (gst_controller_remove_properties_valist),
27479         (gst_controller_remove_properties), (gst_controller_set),
27480         (gst_controller_set_from_list), (gst_controller_unset),
27481         (gst_controller_get), (gst_controller_get_all),
27482         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27483         (gst_controller_get_value_array),
27484         (gst_controller_set_interpolation_mode),
27485         (_gst_controller_finalize), (_gst_controller_init),
27486         (_gst_controller_class_init), (gst_controller_get_type):
27487         * libs/gst/controller/gst-controller.h:
27488         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27489         (g_object_uncontrol_properties), (g_object_get_controller),
27490         (g_object_set_controller), (g_object_sink_values),
27491         (g_object_get_value_arrays), (g_object_get_value_array):
27492         * libs/gst/controller/gst-interpolation.c:
27493         (gst_controlled_property_find_timed_value_node),
27494         (interpolate_none_get), (interpolate_trigger_get),
27495         (interpolate_trigger_get_value_array):
27496         * libs/gst/controller/lib.c: (gst_controller_init):
27497         * pkgconfig/Makefile.am:
27498         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27499         * pkgconfig/gstreamer-control.pc.in:
27500         * testsuite/Makefile.am:
27501         * testsuite/controller/.cvsignore:
27502         * testsuite/controller/Makefile.am:
27503         * testsuite/controller/interpolator.c: (main):
27504           added controller code
27505           removed dparam pc files
27506
27507 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27508         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27509         (gst_collectpads_stop):
27510           Broadcast the condition when shutting down, to make sure we wake all
27511           threads up. Shut down pads on finalize, for safety.
27512
27513 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27514         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27515         (gst_base_transform_handle_buffer),
27516         (gst_base_transform_change_state):
27517           Handle PAUSED->READY->PAUSED transition after negotiation
27518           occurred already.
27519         * gst/gstmessage.c: (gst_message_init):
27520           Extra piece of debug for new messages.
27521
27522 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27523
27524         * configure.ac:
27525         * docs/gst/tmpl/gstbasesrc.sgml:
27526         * docs/gst/tmpl/gstelement.sgml:
27527         * docs/gst/tmpl/gstevent.sgml:
27528         * docs/gst/tmpl/gstfakesrc.sgml:
27529         * docs/gst/tmpl/gstformat.sgml:
27530         * docs/gst/tmpl/gstghostpad.sgml:
27531         * docs/gst/tmpl/gstpad.sgml:
27532         * docs/gst/tmpl/gstquery.sgml:
27533         * docs/gst/tmpl/gststructure.sgml:
27534         * docs/gst/tmpl/gsttaglist.sgml:
27535         * docs/gst/tmpl/gstvalue.sgml:
27536         * docs/libs/gstreamer-libs-docs.sgml:
27537         * docs/libs/gstreamer-libs-sections.txt:
27538         * docs/libs/gstreamer-libs.types:
27539         * libs/gst/Makefile.am:
27540         * libs/gst/control/.cvsignore:
27541         * libs/gst/control/Makefile.am:
27542         * libs/gst/control/control.c:
27543         * libs/gst/control/control.h:
27544         * libs/gst/control/dparam.c:
27545         * libs/gst/control/dparam.h:
27546         * libs/gst/control/dparam_smooth.c:
27547         * libs/gst/control/dparam_smooth.h:
27548         * libs/gst/control/dparamcommon.h:
27549         * libs/gst/control/dparammanager.c:
27550         * libs/gst/control/dparammanager.h:
27551         * libs/gst/control/dplinearinterp.c:
27552         * libs/gst/control/dplinearinterp.h:
27553         * libs/gst/control/unitconvert.c:
27554         * libs/gst/control/unitconvert.h:
27555         * testsuite/Makefile.am:
27556         * testsuite/dynparams/.cvsignore:
27557         * testsuite/dynparams/Makefile.am:
27558         * testsuite/dynparams/dparamstest.c:
27559         * tools/Makefile.am:
27560         * tools/gst-inspect.c: (print_element_info), (main):
27561         * tools/gst-xmlinspect.c: (print_element_info), (main):
27562           deactivate and remove dparams (libgstcontrol)
27563
27564 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27565
27566         * gst/elements/gsttypefindelement.c:
27567         (gst_type_find_element_have_type), (gst_type_find_element_init),
27568         (stop_typefinding), (gst_type_find_element_handle_event),
27569         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27570         * gst/elements/gsttypefindelement.h:
27571           Set caps on all outgoing buffers, not just the first one.
27572
27573 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27574
27575         * gst/elements/gsttypefindelement.c:
27576         (gst_type_find_element_have_type),
27577         (gst_type_find_element_check_set_buffer_caps),
27578         (gst_type_find_element_init), (stop_typefinding),
27579         (gst_type_find_element_handle_event),
27580         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27581         * gst/elements/gsttypefindelement.h:
27582           Set caps on first outgoing buffer when we've found the type.
27583
27584 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27585
27586         * docs/gst/gstreamer-docs.sgml:
27587         * docs/gst/gstreamer-sections.txt:
27588         * docs/gst/tmpl/gstscheduler.sgml:
27589         * docs/gst/tmpl/gstschedulerfactory.sgml:
27590           Remove some old cruft from docs.
27591
27592 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27593
27594         * gst/gstpad.h:
27595           Fix inline docs for GstPadLinkReturn.
27596           
27597         * gst/gststructure.c: (gst_structure_has_name):
27598         * gst/gststructure.h:
27599         * docs/gst/gstreamer-sections.txt:
27600           New API: gst_structure_has_name().
27601
27602 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27603
27604         * configure.ac:
27605           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27606           and _LARGEFILE_SOURCE in config.h as required. Do not 
27607           export those flags in our .pc files any longer (#142209).
27608
27609           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27610
27611         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27612         (gst_file_sink_do_seek), (gst_file_sink_event),
27613         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27614           Redo seek/tell calls with large file support in mind; add some
27615           debugging messages; add log message that tells us when large
27616           file support is unavailable or not enabled for some reason.
27617
27618         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27619           Add log message that tells us when large file support 
27620           is unavailable or not enabled for some reason.
27621
27622 2005-07-29  Wim Taymans  <wim@fluendo.com>
27623
27624         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27625         Added test for removing an element with ghostpad from a bin.
27626         Fixed test as current implementation does the right thing.
27627
27628         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27629         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27630         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27631         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27632         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27633         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27634         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27635         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27636         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27637         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27638         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27639         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27640         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27641         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27642         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27643         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27644         * gst/gstghostpad.h:
27645         Clean up ghostpads, remove properties for internal stuff.
27646         Make threadsafe.
27647         Fix refcounting.
27648         Prepare for switching targets, not all use cases work yet.
27649
27650 2005-07-29  Wim Taymans  <wim@fluendo.com>
27651
27652         * docs/design/part-gstghostpad.txt:
27653         Small update.
27654
27655         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27656         (gst_bin_remove_func):
27657         Unlinking pads while holding the bin LOCK is not a good
27658         idea.
27659
27660         * gst/gstpad.c: (gst_pad_class_init),
27661         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27662         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27663         No prob setting template after creating the pad.
27664
27665 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27666
27667         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27668         (gst_bus_peek), (gst_bus_source_dispatch),
27669         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27670         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27671           gst_bus_poll may be called from other threads. Handle
27672           this nicely by not making poll_data disappear off the
27673           stack once gst_bus_poll returns.
27674           gst_bus_peek now increments the refcount on the returned
27675           message.
27676
27677 2005-07-29  Wim Taymans  <wim@fluendo.com>
27678
27679         * docs/design/part-gstghostpad.txt:
27680         Overview of current GhostPad datastructures and use
27681         cases for changing the target.
27682
27683 2005-07-28  Wim Taymans  <wim@fluendo.com>
27684
27685         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27686         Added checks for hierarchy consistency whan adding linked
27687         elements to bins.
27688
27689         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27690         Added check to test element scheduling without bin/pipeline.
27691
27692         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27693         First add elements to bin, then link.
27694         
27695         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27696         (gst_bin_remove_func):
27697         Unlink pads from elements added/removed from bin to maintain
27698         hierarchy consistency.
27699
27700 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27701
27702         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27703         (gst_base_transform_handle_buffer):
27704         * gst/base/gstbasetransform.h:
27705           Remove broken delay_configure (fixes renegotiation of software
27706           scaling pipelines); remove some leftover printf()s.
27707
27708 2005-07-28  Wim Taymans  <wim@fluendo.com>
27709
27710         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27711         Added some more tests for wrong hierarchy
27712
27713         * docs/design/part-overview.txt:
27714         Some updates.
27715
27716         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27717         Cleanups.
27718
27719         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27720         (gst_element_dispose):
27721         Some more cleanups.
27722
27723         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27724         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27725         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27726         (gst_pad_set_caps), (gst_pad_send_event):
27727         Check for correct hierarchy when linking pads. Moving to
27728         strict requirement for ghostpads when linking elements in
27729         different bins.
27730
27731         * gst/gstpad.h:
27732         Clean ups. Added WRONG_HIERARCHY return value.
27733
27734 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27735
27736         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27737           Better debug if no transform is possible.
27738
27739 2005-07-27  Wim Taymans  <wim@fluendo.com>
27740
27741         * docs/random/wtay/network-transp:
27742         Some old doc I had.
27743
27744 2005-07-27  Wim Taymans  <wim@fluendo.com>
27745
27746         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27747         (gst_dp_event_from_packet):
27748         Fix serialization of seek events.
27749
27750 2005-07-27  Wim Taymans  <wim@fluendo.com>
27751
27752         * check/gst-libs/gdp.c: (GST_START_TEST):
27753         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27754         Fix compilation and fix event serialization.
27755
27756 2005-07-27  Wim Taymans  <wim@fluendo.com>
27757
27758         * CHANGES-0.9:
27759         * docs/design/part-TODO.txt:
27760         * docs/design/part-events.txt:
27761         Some docs updates
27762
27763         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27764         (gst_base_sink_event), (gst_base_sink_do_sync),
27765         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27766         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27767         (gst_base_src_do_seek), (gst_base_src_event_handler),
27768         (gst_base_src_loop):
27769         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27770         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27771         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27772         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27773         (gst_base_transform_set_passthrough),
27774         (gst_base_transform_is_passthrough):
27775         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27776         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27777         Event updates.
27778
27779         * gst/gstbuffer.h:
27780         Use faster casts.
27781
27782         * gst/gstelement.c: (gst_element_seek):
27783         * gst/gstelement.h:
27784         Update gst_element_seek.
27785
27786         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27787         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27788         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27789         (gst_event_new_eos), (gst_event_new_newsegment),
27790         (gst_event_parse_newsegment), (gst_event_new_tag),
27791         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27792         (gst_event_parse_qos), (gst_event_new_seek),
27793         (gst_event_parse_seek), (gst_event_new_navigation):
27794         * gst/gstevent.h:
27795         Make GstEvent use GstStructure. Add parsing code, make sure the
27796         API is sufficiently generic.
27797         Mark possible directions of events and serialization.
27798
27799         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27800         (_gst_message_copy), (gst_message_new_segment_start),
27801         (gst_message_new_segment_done), (gst_message_new_custom),
27802         (gst_message_parse_segment_start),
27803         (gst_message_parse_segment_done):
27804         Small cleanups.
27805
27806         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27807         (gst_pad_set_caps), (gst_pad_send_event):
27808         Update for new events. 
27809         Catch events sent in wrong directions.
27810
27811         * gst/gstqueue.c: (gst_queue_link_src),
27812         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27813         (gst_queue_handle_src_query):
27814         Event updates.
27815
27816         * gst/gsttag.c:
27817         * gst/gsttag.h:
27818         Remove event code from this file.
27819
27820         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27821         (gst_dp_event_from_packet):
27822         Event updates.
27823
27824 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27825
27826         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27827         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27828         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27829           Make debugging actually useful.
27830
27831 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27832
27833         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27834         (gst_pad_fixate_caps):
27835           Implement default fixation once again, so that gst_pad_fixate()
27836           actually does anything at all. This probably needs to be some
27837           sort of a last resort, and use profile-based fixation first, but
27838           since that doesn't exist yet, this is the best we have. Fixes
27839           visualization in Totem.
27840
27841 2005-07-22  Wim Taymans  <wim@fluendo.com>
27842
27843         * docs/design/part-events.txt:
27844         Small update.
27845
27846         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27847         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27848         (gst_base_sink_activate_pull):
27849         Some more comments.
27850
27851         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27852         (gst_fake_src_create):
27853         Fix handoff marshall.
27854
27855         * gst/elements/gstidentity.c: (gst_identity_class_init),
27856         (gst_identity_transform_ip):
27857         We're a real inplace element.
27858
27859         * gst/gstbus.c: (gst_bus_post):
27860         Added some comments.
27861
27862         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27863         * tests/muxing/case1.c: (main):
27864         * tests/sched/dynamic-pipeline.c: (main):
27865         * tests/sched/interrupt1.c: (main):
27866         * tests/sched/interrupt2.c: (main):
27867         * tests/sched/interrupt3.c: (main):
27868         * tests/sched/runxml.c: (main):
27869         * tests/sched/sched-stress.c: (main):
27870         * tests/seeking/seeking1.c: (event_received), (main):
27871         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27872         (main):
27873         * tests/threadstate/threadstate3.c: (main):
27874         * tests/threadstate/threadstate4.c: (main):
27875         * tests/threadstate/threadstate5.c: (main):
27876         Fix the tests.
27877
27878 2005-07-21  Wim Taymans  <wim@fluendo.com>
27879
27880         * docs/design/part-seeking.txt:
27881         Some small additions.
27882
27883         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27884         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27885         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27886         * gst/base/gstbasesink.h:
27887         discont values are gint64, handle the math correctly.
27888
27889         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27890         Make the basesrc report error if the source pad is not linked.
27891
27892         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27893         (gst_queue_loop), (gst_queue_handle_src_query),
27894         (gst_queue_src_activate_push):
27895         Make queue collect data even if the srcpad is not linked.
27896         Start pushing out data as soon as it is linked.
27897
27898         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27899         * gst/gstutils.h:
27900         Added gst_flow_get_name() to ease error reporting.
27901
27902 2005-07-20  Wim Taymans  <wim@fluendo.com>
27903
27904         * gst/gstmessage.c: (gst_message_new_segment_start),
27905         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27906         (gst_message_parse_segment_done):
27907         * gst/gstmessage.h:
27908         Added a bunch of messages for advanced seeking.
27909
27910         * gst/parse/grammar.y:
27911         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27912         (gst_dpman_state_changed):
27913         Fix some new-pad -> pad-added signals
27914
27915 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27916
27917         * docs/manual/appendix-porting.xml:
27918         * docs/pwg/appendix-porting.xml:
27919           Document new-pad/state-change signal renames and the FixedList
27920           type rename.
27921
27922 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27923
27924         * docs/manual/advanced-autoplugging.xml:
27925         * docs/manual/basics-helloworld.xml:
27926         * docs/manual/basics-pads.xml:
27927         * docs/random/ds/0.9-suggested-changes:
27928         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27929         * gst/gstelement.h:
27930         * gst/gstevent.h:
27931         * gst/gstformat.h:
27932         * gst/gstquery.h:
27933         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27934         (gst_structure_parse_array), (gst_structure_parse_value):
27935         * gst/gstvalue.c: (gst_type_is_fixed),
27936         (gst_value_list_prepend_value), (gst_value_list_append_value),
27937         (gst_value_list_get_size), (gst_value_list_get_value),
27938         (gst_value_transform_array_string), (gst_value_serialize_array),
27939         (gst_value_deserialize_array), (gst_value_intersect_array),
27940         (gst_value_is_fixed), (_gst_value_initialize):
27941         * gst/gstvalue.h:
27942           GstElement::new-pad -> pad-added, GstElement::state-change ->
27943           state-changed, GstValueFixedList -> GstValueArray, add format and
27944           flags as their own arguments in gst_element_seek() (should improve
27945           "bindeability"), remove function generators since they don't work
27946           under a whole bunch of compilers (they were deprecated already
27947           anyway).
27948
27949 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27950
27951         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27952         (_gst_debug_register_funcptr):
27953         * gst/gstinfo.h:
27954           Fix illegal cast on some platforms (#309253).
27955
27956 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27957
27958         * gst/gstmessage.c: (gst_message_new_custom):
27959         * gst/gstmessage.h:
27960           Add _new_custom, make _new_application a macro to _new_custom.
27961
27962 2005-07-20  Wim Taymans  <wim@fluendo.com>
27963
27964         * gst/base/gstbasesrc.c: (gst_base_src_init),
27965         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27966         * gst/base/gstbasesrc.h:
27967         Add a gboolean to decide when to push out a discont.
27968
27969         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27970         (gst_queue_loop), (gst_queue_handle_src_query),
27971         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27972         (gst_queue_set_property), (gst_queue_get_property):
27973         Some cleanups.
27974
27975         * tests/threadstate/threadstate1.c: (main):
27976         Make a thread test compile and run... very silly..
27977
27978
27979 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27980
27981         * docs/manual/appendix-porting.xml:
27982           Mention removal of libgstgconf-0.9.la and existence of gconf
27983           elements.
27984
27985 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27986
27987         * docs/pwg/advanced-clock.xml:
27988         * docs/pwg/appendix-porting.xml:
27989         * docs/pwg/intro-preface.xml:
27990         * docs/pwg/other-base.xml:
27991         * docs/pwg/other-manager.xml:
27992         * docs/pwg/other-nton.xml:
27993         * docs/pwg/other-ntoone.xml:
27994         * docs/pwg/other-oneton.xml:
27995         * docs/pwg/pwg.xml:
27996           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27997           demuxer), remove n-to-n (was never written), fix some code examples
27998           and links and update the porting section to include all this.
27999
28000 2005-07-19  Wim Taymans  <wim@fluendo.com>
28001
28002         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
28003         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
28004         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
28005         (gst_queue_src_activate_push), (gst_queue_change_state),
28006         (gst_queue_get_property):
28007         * gst/gstqueue.h:
28008         Propagate GstFlowReturn more intelligently upstream and output
28009         an ERROR/EOS when streaming stopped due to fatal error.
28010
28011 2005-07-19  Wim Taymans  <wim@fluendo.com>
28012
28013         * tools/gst-launch.c: (check_intr), (event_loop), (main):
28014         Don't block forever for the state change to complete, the
28015         pipeline already did with a sensible timeout.
28016
28017 2005-07-19  Wim Taymans  <wim@fluendo.com>
28018
28019         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
28020         Make sure we never call the create function is we
28021         got deactivated.
28022
28023 2005-07-19  Andy Wingo  <wingo@pobox.com>
28024
28025         * gst/parse/parse.l: Attempt to solve bug #172815.
28026
28027 2005-07-19  Wim Taymans  <wim@fluendo.com>
28028
28029         * docs/design/part-clocks.txt:
28030         * docs/design/part-events.txt:
28031         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
28032         Small docs updates.
28033         Only update the seeking values when we are not
28034         busy streaming.
28035
28036 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
28037
28038         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28039           Oops, ignore the result of gst_pad_push_event here.
28040
28041 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
28042
28043         * gst/base/gstbasesrc.c: (gst_base_src_loop),
28044         (gst_base_src_activate_push):
28045           Send discont event from the loop function, as pads
28046           aren't activated yet in the activate_push handler.
28047
28048         * gst/gstbin.c: (bin_bus_handler):
28049           Don't leak element name.
28050
28051 2005-07-18  Andy Wingo  <wingo@pobox.com>
28052
28053         * configure.ac: Use AS_LIBTOOL_TAGS.
28054
28055 2005-07-18  Wim Taymans  <wim@fluendo.com>
28056
28057         * docs/gst/gstreamer.types:
28058         Remove deleted types.
28059
28060 2005-07-18  Wim Taymans  <wim@fluendo.com>
28061
28062         * check/elements/gstfakesrc.c: (GST_START_TEST):
28063         * configure.ac:
28064         * gst/Makefile.am:
28065         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
28066         (init_popt_callback):
28067         * gst/gst.h:
28068         * gst/gst_private.h:
28069         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
28070         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
28071         * gst/gstbin.h:
28072         * gst/gstbus.h:
28073         * gst/gstconfig.h.in:
28074         * gst/gstelement.c: (gst_element_class_init),
28075         (gst_element_set_base_time), (gst_element_get_base_time),
28076         (iterator_fold_with_resync), (gst_element_change_state),
28077         (gst_element_dispose), (gst_element_get_bus):
28078         * gst/gstelement.h:
28079         * gst/gstelementfactory.h:
28080         * gst/gsterror.c: (_gst_core_errors_init):
28081         * gst/gsterror.h:
28082         * gst/gstevent.h:
28083         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28084         * gst/gstindex.c:
28085         * gst/gstinfo.c: (_gst_debug_init):
28086         * gst/gstmessage.c: (_gst_message_copy):
28087         * gst/gstmessage.h:
28088         * gst/gstminiobject.h:
28089         * gst/gstobject.c:
28090         * gst/gstobject.h:
28091         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28092         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
28093         * gst/gstpad.h:
28094         * gst/gstparse.h:
28095         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28096         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28097         (gst_pipeline_get_last_stream_time):
28098         * gst/gstpipeline.h:
28099         * gst/gstpluginfeature.h:
28100         * gst/gstquery.h:
28101         * gst/gstscheduler.c:
28102         * gst/gstscheduler.h:
28103         * gst/gststructure.h:
28104         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28105         (gst_task_finalize), (gst_task_func), (gst_task_create),
28106         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
28107         (gst_task_stop), (gst_task_pause):
28108         * gst/gsttask.h:
28109         * gst/gsttypefind.h:
28110         * gst/gsttypes.h:
28111         * gst/registries/gstlibxmlregistry.c: (load_feature),
28112         (gst_xml_registry_load), (gst_xml_registry_save_feature):
28113         * gst/registries/gstxmlregistry.c:
28114         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
28115         * gst/schedulers/threadscheduler.c:
28116         * libs/gst/control/dparammanager.h:
28117         * tools/gst-inspect.c: (print_element_list),
28118         (print_plugin_features), (print_element_features):
28119         * tools/gst-xmlinspect.c: (print_element_list),
28120         (print_plugin_info), (main):
28121         Removed plugable schedulers.
28122         Removed Scheduler/Manager from elements.
28123         Removed gsttypes.h, rearranged includes.
28124         Removed dependency pad<->element, element<>pipeline, and
28125         various others,  fix includes.
28126         implement gst_pad_get_parent() with gst_object_get_parent()
28127         Make GstTask sefcontained.
28128         Fix _get_state() on GstBin, it did not return ASYNC with a 0
28129         timeout.
28130         Fix endless loop in iterator_fold_with_resync.
28131
28132
28133 2005-07-18  Wim Taymans  <wim@fluendo.com>
28134
28135         * gst/Makefile.am:
28136         * gst/gstarch.h:
28137         Remove old file.
28138
28139 2005-07-18  Wim Taymans  <wim@fluendo.com>
28140
28141         * gst/Makefile.am:
28142         No more cothreads.h
28143
28144 2005-07-18  Wim Taymans  <wim@fluendo.com>
28145
28146         * gst/cothreads.c:
28147         * gst/cothreads.h:
28148         Let's remove these.
28149
28150 2005-07-18  Wim Taymans  <wim@fluendo.com>
28151
28152         * docs/design/part-dynamic.txt:
28153         * docs/design/part-events.txt:
28154         * docs/design/part-seeking.txt:
28155         Some more docs in the works.
28156
28157         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28158         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28159         (gst_base_transform_setcaps), (gst_base_transform_get_size),
28160         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28161         (gst_base_transform_handle_buffer),
28162         (gst_base_transform_sink_activate_push),
28163         (gst_base_transform_src_activate_pull),
28164         (gst_base_transform_set_passthrough),
28165         (gst_base_transform_is_passthrough):
28166         Refcounting fixes.
28167
28168         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28169         Cleanups.
28170
28171         * gst/gstevent.c: (gst_event_finalize):
28172         Set SRC to NULL.
28173
28174         * gst/gstutils.c: (gst_element_unlink),
28175         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28176         (gst_pad_proxy_setcaps):
28177         * gst/gstutils.h:
28178         Add _get_parent_element() to get a pads parent as an element.
28179
28180 2005-07-18  Wim Taymans  <wim@fluendo.com>
28181
28182         * check/gst/gstbin.c: (GST_START_TEST):
28183         Remove bogus test.
28184
28185 2005-07-18  Wim Taymans  <wim@fluendo.com>
28186
28187         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28188         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28189         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28190         (gst_base_sink_event), (gst_base_sink_do_sync),
28191         (gst_base_sink_chain), (gst_base_sink_loop),
28192         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28193         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28194         Refcounting fixes.
28195         Fix logic for returning ASYNC when not prerolled.
28196
28197 2005-07-18  Wim Taymans  <wim@fluendo.com>
28198
28199         * gst/gstqueue.c: (gst_queue_handle_sink_event):
28200         Fix nasty refcount bug.
28201
28202 2005-07-16 Philippe Khalaf <burger@speedy.org>
28203
28204         * gst/elements/gstfdsrc.c:
28205         * gst/elements/gstfdsrc.h:
28206         * gst/elements/gstelements.c:
28207         * gst/elements/Makefile.am:
28208         Ported fdsrc to 0.9.
28209
28210 2005-07-16  Wim Taymans  <wim@fluendo.com>
28211
28212         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28213         (gst_base_sink_do_sync):
28214         Fix compile error.
28215
28216 2005-07-16  Wim Taymans  <wim@fluendo.com>
28217
28218         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28219         (gst_base_sink_event), (gst_base_sink_get_times),
28220         (gst_base_sink_do_sync), (gst_base_sink_change_state):
28221         * gst/base/gstbasesink.h:
28222         Store and use discont values when syncing buffers as described
28223         in design docs.
28224         
28225         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28226         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28227         (gst_base_src_activate_push):
28228         Push discont event when starting.
28229
28230         * gst/elements/gstidentity.c: (gst_identity_transform):
28231         Small cleanups.
28232
28233         * gst/gstbin.c: (gst_bin_change_state):
28234         Small cleanups in base_time  distribution.
28235
28236         * gst/gstelement.c: (gst_element_set_base_time),
28237         (gst_element_get_base_time), (gst_element_change_state):
28238         * gst/gstelement.h:
28239         Added methods for the base_time of the element.
28240         Some MT fixes.
28241
28242         * gst/gstpipeline.c: (gst_pipeline_send_event),
28243         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28244         (gst_pipeline_get_last_stream_time):
28245         * gst/gstpipeline.h:
28246         MT fixes.
28247         Handle seeking as described in design doc, remove stream_time
28248         hack.
28249         Cleanups clock and stream_time selection code. Added accessors
28250         for the stream_time.
28251         
28252
28253 2005-07-16  Andy Wingo  <wingo@pobox.com>
28254
28255         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28256         (#305291).
28257
28258 2005-07-16  Wim Taymans  <wim@fluendo.com>
28259
28260         * check/gst/gstbin.c: (GST_START_TEST):
28261         Make elements silent as the deep_notify refs the
28262         parent, which might make the test fail.
28263
28264         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28265         Don't hold the lock for too long.
28266
28267 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
28268
28269         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28270           Don't unref the caps we passed to gst_caps_make_writable() after
28271           passing them. gst_caps_make_writable() will do that for us.
28272
28273 2005-07-15  Andy Wingo  <wingo@pobox.com>
28274
28275         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28276         (#157311).
28277
28278         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28279         own marshalling function for the handoff signal. Properly type the
28280         buffer as a buffer. Fixes some warnings. Should do a more general
28281         solution.
28282         (gst_identity_class_init): Plug into the right marshaller.
28283
28284 2005-07-15  Wim Taymans  <wim@fluendo.com>
28285
28286         * docs/design/part-TODO.txt:
28287         * docs/design/part-clocks.txt:
28288         * docs/design/part-element-sink.txt:
28289         * docs/design/part-events.txt:
28290         * docs/design/part-gstpipeline.txt:
28291         Updated docs, mostly DISCONT related.
28292
28293 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
28294
28295         * docs/pwg/building-pads.xml:
28296           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28297
28298 2005-07-15  Andy Wingo  <wingo@pobox.com>
28299
28300         * tools/gst-typefind.c: Update, add copyright block.
28301
28302         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28303         Normalize and truncate caps before fixation.
28304
28305         * gst/gstcaps.h:
28306         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28307         discards all but the first structure from its argument.
28308
28309 2005-07-15  Wim Taymans  <wim@fluendo.com>
28310
28311         * gst/base/gstbasetransform.c: (gst_base_transform_init),
28312         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28313         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28314         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28315         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28316         (gst_base_transform_chain), (gst_base_transform_change_state),
28317         (gst_base_transform_set_passthrough),
28318         (gst_base_transform_is_passthrough):
28319         * gst/base/gstbasetransform.h:
28320         Make passthrough work using the bufferpools.
28321         Changed API a bit, subclasses have to write into a buffer
28322         provided by the base class.
28323         More debug info in nego functions.
28324         
28325         * gst/elements/gstidentity.c: (gst_identity_init),
28326         (gst_identity_transform):
28327         Port to new base class.
28328
28329 2005-07-15  Wim Taymans  <wim@fluendo.com>
28330
28331         * gst/gstmessage.c: (gst_message_new_state_changed):
28332         * tools/gst-launch.c: (event_loop), (main):
28333         Totally dump messages in -launch with the -m option.
28334         Fix message name for State messages,
28335
28336 2005-07-14  Wim Taymans  <wim@fluendo.com>
28337
28338         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28339         Post error messages on errors.
28340
28341 2005-07-14  Wim Taymans  <wim@fluendo.com>
28342
28343         * gst/gstcaps.c: (gst_caps_do_simplify):
28344         Remove debug info.
28345
28346         * gst/gsterror.h:
28347         Define error for stream stopped.
28348
28349         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28350         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28351         Do proper return values.
28352
28353         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28354         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28355         (gst_pad_get_range):
28356         Better return values.
28357
28358         * gst/gstpad.h:
28359         Reorganise return values, add macro to check for fatal errors.
28360
28361         * gst/gstqueue.c: (gst_queue_chain):
28362         Return proper GstFlowReturn values,
28363
28364 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
28365
28366         * docs/gst/gstreamer-sections.txt:
28367         * docs/gst/gstreamer.types:
28368         * docs/gst/tmpl/gst.sgml:
28369         * docs/gst/tmpl/gstbasesink.sgml:
28370         * docs/gst/tmpl/gstbasesrc.sgml:
28371         * docs/gst/tmpl/gstbasetransform.sgml:
28372         * docs/gst/tmpl/gstbin.sgml:
28373         * docs/gst/tmpl/gstbuffer.sgml:
28374         * docs/gst/tmpl/gstcaps.sgml:
28375         * docs/gst/tmpl/gstclock.sgml:
28376         * docs/gst/tmpl/gstcompat.sgml:
28377         * docs/gst/tmpl/gstconfig.sgml:
28378         * docs/gst/tmpl/gstelement.sgml:
28379         * docs/gst/tmpl/gstelementdetails.sgml:
28380         * docs/gst/tmpl/gstelementfactory.sgml:
28381         * docs/gst/tmpl/gstenumtypes.sgml:
28382         * docs/gst/tmpl/gsterror.sgml:
28383         * docs/gst/tmpl/gstevent.sgml:
28384         * docs/gst/tmpl/gstfakesink.sgml:
28385         * docs/gst/tmpl/gstfakesrc.sgml:
28386         * docs/gst/tmpl/gstfilesink.sgml:
28387         * docs/gst/tmpl/gstfilesrc.sgml:
28388         * docs/gst/tmpl/gstfilter.sgml:
28389         * docs/gst/tmpl/gstformat.sgml:
28390         * docs/gst/tmpl/gstghostpad.sgml:
28391         * docs/gst/tmpl/gstimplementsinterface.sgml:
28392         * docs/gst/tmpl/gstindex.sgml:
28393         * docs/gst/tmpl/gstindexfactory.sgml:
28394         * docs/gst/tmpl/gstinfo.sgml:
28395         * docs/gst/tmpl/gstiterator.sgml:
28396         * docs/gst/tmpl/gstmacros.sgml:
28397         * docs/gst/tmpl/gstmemchunk.sgml:
28398         * docs/gst/tmpl/gstminiobject.sgml:
28399         * docs/gst/tmpl/gstobject.sgml:
28400         * docs/gst/tmpl/gstpad.sgml:
28401         * docs/gst/tmpl/gstpadtemplate.sgml:
28402         * docs/gst/tmpl/gstparse.sgml:
28403         * docs/gst/tmpl/gstpipeline.sgml:
28404         * docs/gst/tmpl/gstplugin.sgml:
28405         * docs/gst/tmpl/gstpluginfeature.sgml:
28406         * docs/gst/tmpl/gstquery.sgml:
28407         * docs/gst/tmpl/gstqueue.sgml:
28408         * docs/gst/tmpl/gstregistry.sgml:
28409         * docs/gst/tmpl/gstregistrypool.sgml:
28410         * docs/gst/tmpl/gstscheduler.sgml:
28411         * docs/gst/tmpl/gstschedulerfactory.sgml:
28412         * docs/gst/tmpl/gststructure.sgml:
28413         * docs/gst/tmpl/gstsystemclock.sgml:
28414         * docs/gst/tmpl/gsttaglist.sgml:
28415         * docs/gst/tmpl/gsttagsetter.sgml:
28416         * docs/gst/tmpl/gsttrace.sgml:
28417         * docs/gst/tmpl/gsttrashstack.sgml:
28418         * docs/gst/tmpl/gsttypefind.sgml:
28419         * docs/gst/tmpl/gsttypefindfactory.sgml:
28420         * docs/gst/tmpl/gsttypes.sgml:
28421         * docs/gst/tmpl/gsturihandler.sgml:
28422         * docs/gst/tmpl/gsturitype.sgml:
28423         * docs/gst/tmpl/gstutils.sgml:
28424         * docs/gst/tmpl/gstvalue.sgml:
28425         * docs/gst/tmpl/gstversion.sgml:
28426         * docs/gst/tmpl/gstxml.sgml:
28427         * docs/libs/tmpl/gstcontrol.sgml:
28428         * docs/libs/tmpl/gstdataprotocol.sgml:
28429         * docs/libs/tmpl/gstdparam.sgml:
28430         * docs/libs/tmpl/gstdplinint.sgml:
28431         * docs/libs/tmpl/gstdpman.sgml:
28432         * docs/libs/tmpl/gstdpsmooth.sgml:
28433         * docs/libs/tmpl/gstgetbits.sgml:
28434         * docs/libs/tmpl/gstunitconvert.sgml:
28435         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28436         (gst_push_src_base_init), (gst_push_src_class_init),
28437         (gst_push_src_init), (gst_push_src_create):
28438         * gst/base/gstpushsrc.h:
28439         * gst/elements/gstelements.c:
28440         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28441         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28442         (gst_fake_sink_init), (gst_fake_sink_set_property),
28443         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28444         (gst_fake_sink_event), (gst_fake_sink_preroll),
28445         (gst_fake_sink_render), (gst_fake_sink_change_state):
28446         * gst/elements/gstfakesink.h:
28447         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28448         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28449         (gst_fake_src_base_init), (gst_fake_src_class_init),
28450         (gst_fake_src_init), (gst_fake_src_event_handler),
28451         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28452         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28453         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28454         (gst_fake_src_create_buffer), (gst_fake_src_create),
28455         (gst_fake_src_start), (gst_fake_src_stop):
28456         * gst/elements/gstfakesrc.h:
28457         * gst/elements/gstfilesink.c: (_do_init),
28458         (gst_file_sink_base_init), (gst_file_sink_class_init),
28459         (gst_file_sink_init), (gst_file_sink_dispose),
28460         (gst_file_sink_set_location), (gst_file_sink_set_property),
28461         (gst_file_sink_get_property), (gst_file_sink_open_file),
28462         (gst_file_sink_close_file), (gst_file_sink_query),
28463         (gst_file_sink_event), (gst_file_sink_render),
28464         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28465         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28466         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28467         * gst/elements/gstfilesink.h:
28468         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28469         (gst_file_src_class_init), (gst_file_src_init),
28470         (gst_file_src_finalize), (gst_file_src_set_location),
28471         (gst_file_src_set_property), (gst_file_src_get_property),
28472         (gst_file_src_map_region), (gst_file_src_map_small_region),
28473         (gst_file_src_create_mmap), (gst_file_src_create_read),
28474         (gst_file_src_create), (gst_file_src_is_seekable),
28475         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28476         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28477         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28478         (gst_file_src_uri_handler_init):
28479         * gst/elements/gstfilesrc.h:
28480           more autistic cleanliness in functions/names/defines
28481
28482 2005-07-13  Andy Wingo  <wingo@pobox.com>
28483
28484         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28485         source couldn't negotiate.
28486
28487         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28488         connections again.
28489
28490         * gst/gstutils.h:
28491         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28492         function. I am channeling Hades. Put your boots on suckers!!!
28493
28494 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28495
28496         * testsuite/caps/Makefile.am:
28497         * testsuite/caps/value_compare.c:
28498         * testsuite/caps/value_intersect.c:
28499         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28500           move two testsuite apps over to the check dir
28501
28502 2005-07-12  Wim Taymans  <wim@fluendo.com>
28503
28504         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28505         Added more debug info in the negotiate process.
28506
28507         * gst/gstmessage.h:
28508         Prepare for segment playback.
28509
28510         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28511         Better debugging.
28512
28513         * gst/gstutils.c:
28514         Some more docs.
28515
28516         * tools/gst-launch.c: (main):
28517         NULL pipeline on errors.
28518
28519 2005-07-12  Andy Wingo  <wingo@pobox.com>
28520
28521         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28522         not it comes from a malloc region. Make sure our copy gets freed.
28523
28524 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28525
28526         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28527         * check/gst/gstmessage.c: (GST_START_TEST):
28528         * check/gst/gststructure.c: (GST_START_TEST),
28529         (gst_structure_suite), (main):
28530           more testing
28531         * gst/gstelement.c: (gst_element_message_full):
28532           clean up GError and debug string now that they get copied
28533         * gst/gstmessage.c: (gst_message_new_error),
28534         (gst_message_new_warning), (gst_message_parse_error),
28535         (gst_message_parse_warning):
28536           use GST_TYPE_G_ERROR for structure_new, and take copies of
28537           arguments, so that we don't mess up refcounting
28538
28539 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28540
28541         * check/Makefile.am:
28542           add per-test valgrind targets
28543         * check/gst-libs/gdp.c: (GST_START_TEST),
28544         (gst_data_protocol_suite), (main):
28545           clean up
28546
28547 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28548
28549         * check/Makefile.am:
28550           instate more valgrindable tests
28551         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28552         (GST_START_TEST), (fakesrc_suite):
28553         * check/gst/gstpad.c: (GST_START_TEST):
28554         * check/gst/gststructure.c: (GST_START_TEST):
28555           fix test leaks
28556         * docs/gst/tmpl/gstminiobject.sgml:
28557         * gst/gstpad.c: (gst_pad_finalize):
28558           fix the static mutex leak
28559
28560 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28561
28562         * check/Makefile.am:
28563           add two more tests for valgrinding
28564         * check/gst/gstvalue.c: (GST_START_TEST):
28565           test refcount of deserialized buffer, found a leak
28566         * docs/gst/gstreamer-docs.sgml:
28567         * docs/gst/gstreamer-sections.txt:
28568         * docs/gst/gstreamer.types:
28569         * docs/gst/tmpl/gstminiobject.sgml:
28570           add miniobject to docs
28571         * gst/gstminiobject.c:
28572           add some docs
28573         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28574         (gst_string_unwrap):
28575           fix a hard-to-find invalid write for one of the tests
28576           fix a leak for deserialized buffers
28577
28578 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28579
28580         * docs/pwg/advanced-events.xml:
28581         * docs/pwg/advanced-request.xml:
28582         * docs/pwg/advanced-scheduling.xml:
28583         * docs/pwg/appendix-porting.xml:
28584         * docs/pwg/building-boiler.xml:
28585         * docs/pwg/intro-preface.xml:
28586         * docs/pwg/other-ntoone.xml:
28587           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28588           of example code and explanation for pad activation, loop() and
28589           getrange() functions and a bit more. Remove old comments pointing
28590           to loop-functions.
28591         * examples/pwg/Makefile.am:
28592           Add loop/getrange examples.
28593
28594 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28595
28596         * configure.ac:
28597           check for valgrind binary + some fixes
28598         * check/gst.supp:
28599           valgrind suppressions for the tests
28600         * check/Makefile.am:
28601           add a valgrind: target that valgrinds the unit tests
28602         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28603         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28604         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28605         * check/gst/gstghostpad.c:
28606           added some cleanup
28607         * check/gst/gstdata.c:
28608           removed
28609         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28610         (thread_unref), (gst_mini_object_suite), (main):
28611           added
28612         * gst/gst.c: (gst_deinit):
28613         * gst/gst.h:
28614           add a method to clean up.
28615         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28616         (gst_system_clock_obtain):
28617           allow for disposing the system clock.
28618         * tools/gst-launch.c: (main):
28619           deinit
28620
28621 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28622
28623         * docs/gst/tmpl/gstbasesrc.sgml:
28624         * docs/gst/tmpl/gstfakesrc.sgml:
28625         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28626         (gst_base_src_init), (gst_base_src_set_property),
28627         (gst_base_src_get_property), (gst_base_src_get_range),
28628         (gst_base_src_start):
28629         * gst/base/gstbasesrc.h:
28630           add num-buffers property
28631         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28632         (gst_fakesrc_init), (gst_fakesrc_set_property),
28633         (gst_fakesrc_get_property), (gst_fakesrc_create),
28634         (gst_fakesrc_start):
28635           remove num-buffers property
28636
28637 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28638
28639         * docs/gst/gstreamer-sections.txt:
28640         * docs/gst/tmpl/gstbasesink.sgml:
28641         * docs/gst/tmpl/gstbasesrc.sgml:
28642         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28643         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28644         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28645         (gst_base_sink_set_property), (gst_base_sink_get_property),
28646         (gst_base_sink_handle_object), (gst_base_sink_event),
28647         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28648         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28649         (gst_base_sink_loop), (gst_base_sink_deactivate),
28650         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28651         (gst_base_sink_change_state):
28652         * gst/base/gstbasesink.h:
28653         * gst/base/gstbasesrc.h:
28654         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28655         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28656         (gst_filesink_init):
28657           more macro splitting
28658
28659 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28660
28661         * gst/gstelement.c: (gst_element_get_bus):
28662           add debug
28663         * tools/gst-launch.c: (check_intr), (event_loop):
28664           fix bus leaks
28665
28666 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28667
28668         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28669           fix a caps leak
28670
28671 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28672
28673         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28674         (gst_base_src_finalize):
28675           add finalize method and clean up properly
28676         * gst/gstpipeline.c: (gst_pipeline_dispose):
28677           add debug
28678
28679 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28680
28681         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28682         (gst_bin_suite):
28683           add more things to check
28684         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28685         * gst/gstelement.c:
28686           more debug
28687
28688 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28689
28690         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28691         (GST_START_TEST), (fakesrc_suite):
28692         * check/gst-libs/gdp.c: (GST_START_TEST):
28693         * check/gst/gst.c: (GST_START_TEST):
28694         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28695         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28696         * check/gst/gstbus.c: (GST_START_TEST):
28697         * check/gst/gstcaps.c: (GST_START_TEST):
28698         * check/gst/gstdata.c: (GST_START_TEST):
28699         * check/gst/gstelement.c: (GST_START_TEST):
28700         * check/gst/gstghostpad.c: (GST_START_TEST):
28701         * check/gst/gstiterator.c: (GST_START_TEST):
28702         * check/gst/gstmessage.c: (GST_START_TEST):
28703         * check/gst/gstobject.c: (GST_START_TEST):
28704         * check/gst/gstpad.c: (GST_START_TEST):
28705         * check/gst/gststructure.c: (GST_START_TEST):
28706         * check/gst/gstsystemclock.c: (GST_START_TEST),
28707         (gst_systemclock_suite):
28708         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28709         * check/gst/gstvalue.c: (GST_START_TEST):
28710         * check/pipelines/cleanup.c: (GST_START_TEST):
28711         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28712         * check/states/sinks.c: (GST_START_TEST):
28713         * check/gstcheck.c: (gst_check_init):
28714         * check/gstcheck.h:
28715           add debugging category
28716           use GST_START_TEST now, so we add a debug line
28717
28718 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28719
28720         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28721           add test for state change message on a bin
28722         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28723           add another test
28724         * gst/gstbin.c: (gst_bin_init):
28725         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28726         * gst/gstelement.c: (gst_element_post_message),
28727         (gst_element_set_state):
28728         * gst/gstelementfactory.c: (gst_element_factory_create):
28729         * gst/gstmessage.c: (gst_message_new):
28730         * gst/gstscheduler.c:
28731           various debugging additions and cleanups
28732
28733 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28734
28735         * check/Makefile.am:
28736         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28737         (main):
28738           adding tests for elements
28739         * gst/gstelement.c: (gst_element_dispose):
28740
28741 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28742
28743         * gst/registries/gstlibxmlregistry.c: (load_feature):
28744           plug more leaks.  A simple gst_init() now is leakfree, yay.
28745
28746 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28747
28748         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28749         (gst_xml_registry_load):
28750           plug another memleak
28751
28752 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28753
28754         * configure.ac:
28755           use GST_SET_ERROR_CFLAGS
28756         * docs/faq/cvs.xml:
28757           change to ERROR_CFLAGS
28758
28759 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28760
28761         * configure.ac:
28762           make GST_ERROR_CFLAGS overridable and re-enable Werror
28763         * docs/faq/cvs.xml:
28764           add a note about error CFLAGS
28765         * docs/gst/tmpl/gstfakesrc.sgml:
28766         * gst/elements/gstfakesrc.c:
28767           comment out some unused code
28768         * gst/gst.c: (split_and_iterate):
28769         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28770         (load_feature):
28771           plug some memleaks
28772
28773 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28774
28775         * common/Makefile.am:
28776         * common/gtk-doc.mak:
28777         * docs/gst/Makefile.am:
28778           factor out gtk-doc.mak
28779
28780 2005-07-07  Wim Taymans  <wim@fluendo.com>
28781
28782         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28783         (gst_thread_scheduler_dispose):
28784         Unlock the STREAM_LOCK completely.
28785
28786 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28787
28788         * check/Makefile.am:
28789         * check/elements/.cvsignore:
28790         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28791         (START_TEST), (fakesrc_suite), (main):
28792         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28793         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28794         (gst_fakesrc_create), (gst_fakesrc_start):
28795         * gst/elements/gstfakesrc.h:
28796           adding a first element test
28797
28798 2005-07-07  Andy Wingo  <wingo@pobox.com>
28799
28800         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28801         debug message.
28802
28803 2005-07-07  Wim Taymans  <wim@fluendo.com>
28804
28805         * gst/gstquery.c:
28806         * gst/gstquery.h:
28807         Remove old types
28808
28809 2005-07-07  Wim Taymans  <wim@fluendo.com>
28810
28811         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28812         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28813         Allow subclasses to implement their own negotiation.
28814
28815 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28816
28817         * docs/design/part-gstbin.txt:
28818         * docs/design/part-gstpipeline.txt:
28819           Update design notes to reflect the movement of
28820           responsibility for bus handling from GstPipeline to
28821           GstBin
28822
28823 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28824
28825         * configure.ac:
28826           Remove unnecessary queue2/3/4 examples.
28827
28828 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28829
28830         * examples/Makefile.am:
28831         * examples/helloworld/helloworld.c: (event_loop), (main):
28832         * examples/queue/queue.c: (event_loop), (main):
28833         * examples/queue2/queue2.c: (main):
28834           Update a couple of the examples to work again.
28835
28836         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28837         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28838          Spelling corrections and extra debug.
28839         
28840         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28841         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28842         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28843         * gst/gstbin.h:
28844         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28845         (gst_pipeline_change_state):
28846         * gst/gstpipeline.h:
28847           Move the bus handler for children to the GstBin, and create a
28848           separate bus for receiving messages from children to the one the
28849           bus sends 'upwards' on.
28850
28851 2005-07-06  Wim Taymans  <wim@fluendo.com>
28852
28853         * gst/base/README:
28854         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28855         (gst_base_sink_handle_object), (gst_base_sink_loop),
28856         (gst_base_sink_change_state):
28857         * gst/base/gstbasesink.h:
28858         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28859         (gst_base_src_init), (gst_base_src_setcaps),
28860         (gst_base_src_getcaps), (gst_base_src_loop),
28861         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28862         (gst_base_src_start), (gst_base_src_change_state):
28863         * gst/base/gstbasesrc.h:
28864         Make basesrc negotiate.
28865         Handle the case where preroll fails in basesink.
28866         Update README.
28867
28868 2005-07-06  Wim Taymans  <wim@fluendo.com>
28869
28870         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28871         Implement the fixate function.
28872         Clean up acceptcaps.
28873
28874 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28875
28876         * docs/pwg/building-filterfactory.xml:
28877         * docs/pwg/pwg.xml:
28878           Remove never-written filter-factory chapter; I'll add the various
28879           base classes to part 4 ("other element types") later on.
28880
28881 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28882
28883         * docs/pwg/advanced-negotiation.xml:
28884         * docs/pwg/building-boiler.xml:
28885         * docs/pwg/building-pads.xml:
28886         * docs/pwg/pwg.xml:
28887         * examples/pwg/Makefile.am:
28888           Add a chapter on caps negotiation, simplify the original code
28889           samples a bit w.r.t. caps negotiation, add link to the advanced
28890           section. Add a bunch of examples showing different use cases of
28891           different types of caps negotiation. Upstream renegotiation isn't
28892           fully documented yet since nobody knows how that works.
28893
28894 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28895
28896         * check/gst/gstpad.c:
28897         * check/gstcheck.c:
28898         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28899           if pad has no parent, return NULL as list of internal links
28900
28901 2005-07-05  Andy Wingo  <wingo@pobox.com>
28902
28903         * gst/elements/gstfilesrc.c:
28904         * gst/elements/gstfakesrc.c: 
28905         * gst/base/gstpushsrc.c:
28906         * gst/base/gstbasesrc.h: 
28907         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28908         
28909 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28910
28911         * Makefile.am:
28912           better report generation target (lcov needs a patch)
28913
28914 2005-07-05  Andy Wingo  <wingo@pobox.com>
28915
28916         * gst/elements, testsuite: Null if we got it...
28917
28918 2005-07-05  Wim Taymans  <wim@fluendo.com>
28919
28920         * configure.ac:
28921         * libs/gst/dataprotocol/Makefile.am:
28922         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28923         * libs/gst/dataprotocol/dataprotocol.h:
28924         * pkgconfig/Makefile.am:
28925         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28926         * pkgconfig/gstreamer-dataprotocol.pc.in:
28927         Ported dataprotol to 0.9. 
28928         Added pkgconfig files.
28929
28930 2005-07-05  Andy Wingo  <wingo@pobox.com>
28931
28932         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28933         Default to returning TRUE for the case when tranform_caps returns
28934         a fixed caps, like for identity or volume.
28935
28936         * check/gst/gstbus.c (pound_bus_with_messages): 
28937         * check/gst/gstmessage.c (START_TEST): 
28938         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28939         message API change.
28940
28941         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28942         logic weaks here: always run transform_caps, trying passthrough
28943         operation only if the original caps intersects with the transform.
28944
28945         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28946         source and sink caps.
28947
28948         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28949         Intersect the peer caps with the pad template before going into
28950         transform_caps.
28951         (gst_base_transform_transform_caps): More debugging.
28952
28953         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28954         src argument.
28955
28956 2005-07-04  Edward Hervey  <edward@fluendo.com>
28957
28958         * gst/gstutils.c:
28959         * gst/gstutils.h:
28960         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28961         in bindings.
28962
28963 2005-07-04  Andy Wingo  <wingo@pobox.com>
28964
28965         * check/gst/gstpad.c: Only set explicit caps on pads.
28966
28967 2005-07-01  Andy Wingo  <wingo@pobox.com>
28968
28969         * tests/network-clock.scm: Commentary update.
28970
28971         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28972         Didn't really make sense, not implementable with basetransform,
28973         etc.
28974         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28975         attempt at implementing the sync property, needs an unlock method.
28976
28977         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28978         New func, by default returns the same caps (the identity
28979         transformation).
28980         (gst_base_transform_getcaps): Uses transform_caps to return
28981         something sensible.
28982         (gst_base_transform_setcaps): Complicated logic to get caps on
28983         both pads, even if they are different, and to call set_caps once
28984         for every time both pads get their caps set.
28985         (gst_base_transform_handle_buffer): Give the ref to the transform
28986         function. Allows in-place modification of the buffer.
28987
28988         * gst/base/gstbasetransform.h (transform_caps): New class method.
28989         Given caps on one side, what can I do on the other.
28990         (set_caps): Take two caps, one for each side of the element.
28991
28992         * gst/gstpad.h:
28993         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28994         caps in place. This is safe because we can check the mutability of
28995         the caps, and a good idea because fixate functions are just called
28996         as a matter of last resort. (Not actually implemented.)
28997         (gst_pad_set_caps): If the caps we're setting is actually the same
28998         as the existing pad caps, just update the pointer without calling
28999         setcaps. Assert that caps is either NULL or fixed, as per the
29000         docs.
29001
29002         * gst/gstghostpad.c: Update for fixate changes.
29003
29004 2005-07-02  Andy Wingo  <wingo@pobox.com>
29005
29006         * gst/gstcaps.c:
29007         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
29008         two refcounts makes it immutable, which is enough. Doc more.
29009
29010 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
29011
29012         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
29013           Put the mini_object into GValue as a mini_object,
29014           not a gpointer, since that's how we declared
29015           the signal.
29016
29017 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29018
29019         * examples/pwg/Makefile.am:
29020           Fix buildbot again.
29021
29022 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29023
29024         * docs/pwg/building-testapp.xml:
29025           Add extra check.
29026         * examples/pwg/Makefile.am:
29027           Fix buildbot.
29028
29029 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29030
29031         * configure.ac:
29032         * examples/Makefile.am:
29033         * examples/pwg/Makefile.am:
29034         * examples/pwg/extract.pl:
29035           Enable building the PWG examples.
29036         * docs/pwg/advanced-interfaces.xml:
29037           Add URI interface stub.
29038         * docs/pwg/advanced-types.xml:
29039         * docs/pwg/other-autoplugger.xml:
29040         * docs/pwg/appendix-porting.xml:
29041         * docs/pwg/pwg.xml:
29042           Add porting guide (mostly stubs), remove autoplugging (see ADM).
29043         * docs/pwg/building-boiler.xml:
29044         * docs/pwg/building-chainfn.xml:
29045         * docs/pwg/building-pads.xml:
29046         * docs/pwg/building-props.xml:
29047         * docs/pwg/building-state.xml:
29048         * docs/pwg/building-testapp.xml:
29049           Update the building-*.xml parts for 0.9 changes. All examples
29050           code blocks compile in examples/pwg/*.
29051
29052 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29053
29054         * docs/manual/advanced-autoplugging.xml:
29055         * docs/manual/appendix-checklist.xml:
29056         * docs/manual/appendix-integration.xml:
29057         * docs/manual/highlevel-components.xml:
29058           Fix playbin/decodebin examples, update docs a bit, mention bus
29059           instead of signals in various places, mention kmplayer and
29060           kaffeine since they have a working GStreamer backend in the KDE
29061           section.
29062
29063 2005-06-30  Wim Taymans  <wim@fluendo.com>
29064
29065         * CHANGES-0.9:
29066         * docs/design/draft-ghostpads.txt:
29067         * docs/design/draft-push-pull.txt:
29068         * docs/design/draft-query.txt:
29069         * docs/design/part-TODO.txt:
29070         * docs/design/part-query.txt:
29071         Added CHANGES-0.9 doc, updated status of other docs.
29072         
29073         * gst/gstquery.h:
29074         Remove "hmm" macro
29075
29076 2005-06-30  Wim Taymans  <wim@fluendo.com>
29077
29078         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
29079         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
29080         (gst_base_sink_change_state):
29081         * gst/base/gstbasesink.h:
29082         Some tweaks, only EOS and a buffer complete a preroll.
29083
29084 2005-06-30  Andy Wingo  <wingo@pobox.com>
29085
29086         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
29087         activate_push down to the internal pad as well.
29088
29089 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
29090
29091         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29092
29093         * gst/gsttaginterface.c:
29094           Some documentation fixes (#307394 and #307397).
29095
29096 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
29097
29098         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29099
29100         * gst/gstvalue.c: (gst_value_intersect_list):
29101           Fix memleak (#309125).
29102
29103 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29104
29105         * docs/manual/advanced-dataaccess.xml:
29106           Fix fakesrc example to compile; doesn't work, bug somewhere...?
29107         * docs/manual/basics-pads.xml:
29108           Add reference for filtered caps to above chapter.
29109
29110 2005-06-30  Wim Taymans  <wim@fluendo.com>
29111
29112         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
29113         (gst_bin_change_state):
29114         Probes are gone.
29115         Lame attempt at making the state change function a bit
29116         more readable.
29117
29118 2005-06-30  Wim Taymans  <wim@fluendo.com>
29119
29120         * docs/design/part-clocks.txt:
29121         * docs/design/part-element-sink.txt:
29122         * docs/design/part-events.txt:
29123         * docs/design/part-preroll.txt:
29124         * docs/design/part-states.txt:
29125         Some more tweeks and additions to the docs.
29126
29127 2005-06-30  Wim Taymans  <wim@fluendo.com>
29128
29129         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29130         (default_have_data), (gst_pad_class_init), (gst_pad_init),
29131         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29132         (gst_pad_check_pull_range), (gst_pad_get_range),
29133         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
29134         * gst/gstpad.h:
29135         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
29136         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29137         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29138         (gst_pad_remove_buffer_probe):
29139         Removed atomic operations, use existing LOCK.
29140         Move exception handling out of main code path.
29141
29142 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29143
29144         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29145         (silly_return_true_function), (gst_pad_class_init),
29146         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29147         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29148         (gst_pad_send_event):
29149           Fix accumulator, add default value by using _emitv() instead
29150           of _emit() for signal emission.
29151
29152 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29153
29154         * docs/manual/advanced-dataaccess.xml:
29155         * examples/manual/Makefile.am:
29156           Add probe example.
29157         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29158           Make work (??).
29159
29160 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
29161
29162         * gst/elements/gstfilesink.c: (gst_filesink_render):
29163           Simplify code so that we don't have to handle short
29164           writes and return GST_FLOW_ERROR if an error occured.
29165
29166 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29167
29168         * docs/gst/gstreamer-docs.sgml:
29169           Remove probes more.
29170
29171 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29172
29173         * docs/gst/gstreamer-sections.txt:
29174         * docs/gst/tmpl/gstpad.sgml:
29175         * docs/gst/tmpl/gstprobe.sgml:
29176         * gst/Makefile.am:
29177         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29178         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29179         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29180         (gst_pad_push_event), (gst_pad_send_event):
29181         * gst/gstpad.h:
29182         * gst/gstutils.c: (gst_pad_add_data_probe),
29183         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29184         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29185         (gst_pad_remove_buffer_probe):
29186         * gst/gstutils.h:
29187           Remove old probes, add new g-signal-based probes and some utility
29188           functions.
29189
29190 2005-06-29  Edward Hervey  <edward@fluendo.com>
29191
29192         * gst/gstelementfactory.c:
29193         * gst/gstutils.h:
29194         * gst/gstutils.c:
29195         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29196         the definition to the header file.
29197
29198 2005-06-29  Andy Wingo  <wingo@pobox.com>
29199
29200         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29201         plugins from the source directory.
29202
29203 2005-06-29  Wim Taymans  <wim@fluendo.com>
29204
29205         * docs/gst/tmpl/gstbuffer.sgml:
29206         * docs/gst/tmpl/gstclock.sgml:
29207         Some fixings for blantently wrong text.
29208
29209 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29210
29211         * check/Makefile.am:
29212         * gst/gst.c: (add_path_func), (init_pre):
29213         * gst/gstregistry.c: (gst_registry_add_path):
29214           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29215           only scan the GST_PLUGIN_PATH locations, and not add
29216           system locations
29217
29218 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29219
29220         * docs/gst/gstreamer-sections.txt:
29221         * docs/gst/tmpl/gstbasesrc.sgml:
29222         * gst/gstelement.c:
29223         * gst/gstelement.h:
29224         * gst/gstevent.c:
29225         * gst/gstutils.c:
29226           doc fixes
29227
29228 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29229
29230         * docs/manual/advanced-autoplugging.xml:
29231           Fix autoplugging example.
29232
29233 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29234
29235         * docs/manual/advanced-autoplugging.xml:
29236         * docs/manual/mime-world.fig:
29237           Try to get autoplugging working, fix type detection. Fix text
29238           in hello-world image.
29239
29240 2005-06-29  Wim Taymans  <wim@fluendo.com>
29241
29242         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29243         (gst_base_sink_change_state):
29244         Small debug line.
29245
29246         * gst/gstclock.h:
29247         map SIGNAL and BROADCAST to the right function.
29248
29249         * gst/gstobject.h:
29250         Remove redundant braces.
29251
29252         * gst/gstpad.c: (gst_pad_set_caps):
29253         Don't call setcaps function when reseting caps to NULL.
29254
29255         * gst/gstsystemclock.c: (gst_system_clock_dispose),
29256         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29257         (gst_system_clock_id_unschedule):
29258         Use BROADCAST as this is what we do.
29259
29260 2005-06-29  Wim Taymans  <wim@fluendo.com>
29261
29262         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29263         We are actually prerolling before commiting the state
29264         change. 
29265
29266 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29267
29268         * docs/manual/advanced-clocks.xml:
29269         * docs/manual/advanced-interfaces.xml:
29270         * docs/manual/advanced-metadata.xml:
29271         * docs/manual/advanced-position.xml:
29272         * docs/manual/advanced-schedulers.xml:
29273         * docs/manual/advanced-threads.xml:
29274         * docs/manual/appendix-porting.xml:
29275         * docs/manual/basics-bins.xml:
29276         * docs/manual/basics-bus.xml:
29277         * docs/manual/basics-elements.xml:
29278         * docs/manual/basics-helloworld.xml:
29279         * docs/manual/basics-pads.xml:
29280         * docs/manual/highlevel-components.xml:
29281         * docs/manual/manual.xml:
29282         * docs/manual/thread.fig:
29283           Update (until threads/scheduling) Application Development Manual;
29284           remove GstThread, add GstBus, add simple porting checklist, add
29285           documentation for tag writing, clocks, make all examples until this
29286           part compile and run.
29287         * examples/manual/Makefile.am:
29288           Update from changes to Application Development Manual; add bus
29289           example, remove thread example.
29290
29291 2005-06-28  Wim Taymans  <wim@fluendo.com>
29292
29293         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29294         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29295         (gst_bus_source_dispatch):
29296         Add debugging messages.
29297         Make internal methods static.
29298         Handle the case where the bus is flushed in the handler.
29299         
29300         * gst/gstelement.c: (gst_element_get_bus):
29301         Fix refcount in _get_bus();
29302
29303         * gst/gstpipeline.c: (gst_pipeline_change_state),
29304         (gst_pipeline_get_clock_func):
29305         Clock refcounting fixes.
29306         Handle the case where preroll timed out more gracefully.
29307         
29308         * gst/gstsystemclock.c: (gst_system_clock_dispose):
29309         Clean up the internal thread in dispose. This is needed
29310         for subclasses that actually get disposed.
29311         
29312         * gst/schedulers/threadscheduler.c:
29313         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29314         (gst_thread_scheduler_dispose):
29315         Free thread pool in dispose.
29316
29317 2005-06-28  Andy Wingo  <wingo@pobox.com>
29318
29319         * tests/network-clock-utils.scm (debug, print-event): New utils.
29320
29321         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29322         (*packet-loss*): Unified loss probability.
29323         (network-time): Report out-of-band events.
29324
29325         * tests/plot-data: Add support for out-of-band events. Hack it
29326         into this script instead of passing it down the pipe; should fix
29327         this later.
29328
29329 2005-06-28  Wim Taymans  <wim@fluendo.com>
29330
29331         * docs/gst/gstreamer.types:
29332         * docs/gst/tmpl/gstbasesrc.sgml:
29333         * docs/gst/tmpl/gstpad.sgml:
29334         Docs fixes.
29335
29336 2005-06-28  Wim Taymans  <wim@fluendo.com>
29337
29338         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29339         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29340         (gst_proxy_pad_do_fixatecaps):
29341         Correctly proxy the check_pull_range function.
29342
29343 2005-06-28  Andy Wingo  <wingo@pobox.com>
29344
29345         * tests/network-clock.scm: Removed need for slib.
29346         
29347 2005-06-28  Wim Taymans  <wim@fluendo.com>
29348
29349         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29350         (gst_basesink_preroll_queue_flush):
29351         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29352         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29353         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29354         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29355         (gst_proxy_pad_set_property):
29356         * gst/gstpad.c:
29357         * gst/gstpad.h:
29358         * gst/gstqueue.c: (gst_queue_init):
29359         The deprecated pad loop function is removed now.
29360
29361 2005-06-28  Andy Wingo  <wingo@pobox.com>
29362
29363         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29364         New parameters, simulate network packet loss.
29365
29366         * tests/network-clock-utils.scm: Initialize the RNG.
29367
29368 2005-06-28  Wim Taymans  <wim@fluendo.com>
29369
29370         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29371         (gst_basesink_event), (gst_basesink_deactivate):
29372         Flushing the preroll queue always needs to unlock the waiters.
29373
29374 2005-06-28  Edward Hervey  <edward@fluendo.com>
29375
29376         * gst/gstpipeline.c: (gst_pipeline_send_event): 
29377         Wheen a seek was successful on a pipeline, set the stream_time to the
29378         seek offset in order to have a synchronized stream_time.
29379
29380 2005-06-28  Wim Taymans  <wim@fluendo.com>
29381
29382         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29383         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29384         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29385         (gst_proxy_pad_do_fixatecaps):
29386         Call wrapper function instead of just calling the function
29387         pointers. This takes care of any locking and whatmore.
29388
29389 2005-06-28  Wim Taymans  <wim@fluendo.com>
29390
29391         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29392         (gst_pad_pull_range):
29393         * gst/gstpad.h:
29394         CONNECTED -> LINKED.
29395
29396 2005-06-28  Andy Wingo  <wingo@pobox.com>
29397
29398         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29399         source-munging commit!!!
29400
29401         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29402         (gst_object_sink): Take gpointer arguments, not GstObject --
29403         avoids casts. Like GLib.
29404
29405         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29406         activate.
29407
29408 2005-06-27  Andy Wingo  <wingo@pobox.com>
29409
29410         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29411         remaining buffer.
29412
29413         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29414         returns a sorted copy of the trace list.
29415         (gst_alloc_trace_print_live): New API, only prints traces with
29416         live objects. Sort the list.
29417         (gst_alloc_trace_print_all): Sort the list.
29418         (gst_alloc_trace_print): Align columns.
29419
29420         * gst/elements/gstttypefindelement.c:
29421         * gst/elements/gsttee.c:
29422         * gst/base/gstbasesrc.c:
29423         * gst/base/gstbasesink.c:
29424         * gst/base/gstbasetransform.c:
29425         * gst/gstqueue.c: Adapt for pad activation changes.
29426
29427         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29428         sched.
29429         (gst_pipeline_dispose): Drop ref on sched.
29430
29431         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29432         (gst_pad_activate_default): Push mode by default.
29433         (pre_activate_switch, post_activate_switch): New stubs, things to
29434         do before and after switching activation modes on pads.
29435         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29436         the pad's activate function to choose which mode to activate.
29437         Shortcut on deactivation and call the right function directly.
29438         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29439         mode.
29440         (gst_pad_activate_push): New API, same for push mode.
29441         (gst_pad_set_activate_function) 
29442         (gst_pad_set_activatepull_function) 
29443         (gst_pad_set_activatepush_function): Setters for new API.
29444
29445         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29446         Trace all miniobjects.
29447         (gst_mini_object_make_writable): Unref the arg if we copy, like
29448         gst_caps_make_writable.
29449
29450         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29451
29452         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29453         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29454         Adapt for new pad API.
29455
29456         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29457
29458         * gst/gstelement.h:
29459         * gst/gstelement.c (gst_element_iterate_src_pads) 
29460         (gst_element_iterate_sink_pads): New API functions.
29461         
29462         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29463         should fold into gstiterator.c in some form.
29464         (gst_element_pads_activate): Simplified via use of fold and
29465         delegation of decisions to gstpad->activate.
29466
29467         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29468         help in debugging.
29469
29470         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29471         class once in init, like gstmessage. Didn't run into this issue
29472         but it seems correct. Don't initialize a trace, gstminiobject does
29473         that.
29474
29475         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29476         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29477         to the bus.
29478         (assert_live_count): New util function, uses alloc traces to check
29479         cleanup.
29480
29481         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29482         To be modified when unlink drops the internal pad.
29483
29484 2005-06-27  Wim Taymans  <wim@fluendo.com>
29485
29486         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29487         (gst_bin_change_state):
29488         Cleanup the get_state() function a little, make sure it
29489         iterates the same set of elements.
29490         Added stub iterate_state_order().
29491
29492 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29493
29494         * docs/gst/gstreamer-docs.sgml:
29495         * docs/gst/gstreamer-sections.txt:
29496         * docs/gst/gstreamer.types:
29497         * docs/gst/tmpl/gstbasesink.sgml:
29498         * docs/gst/tmpl/gstbasesrc.sgml:
29499         * docs/gst/tmpl/gstbasetransform.sgml:
29500         * docs/gst/tmpl/gstelement.sgml:
29501         * docs/gst/tmpl/gstiterator.sgml:
29502         * gst/base/gstbasesrc.c:
29503         * gst/base/gstbasesrc.h:
29504         * gst/base/gstbasetransform.h:
29505         * gst/gstelement.c:
29506         * gst/gstiterator.h:
29507           adding basetransform and iterator docs
29508
29509 2005-06-27  Andy Wingo  <wingo@pobox.com>
29510
29511         * docs/design/part-activation.txt: Notes on how activation should
29512         work -- not quite implemented yet.
29513
29514 2005-06-25  Wim Taymans  <wim@fluendo.com>
29515
29516         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29517         At least get the chain function correct, needs more
29518         fixing.
29519
29520 2005-06-25  Wim Taymans  <wim@fluendo.com>
29521
29522         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29523         (gst_basesink_handle_object), (gst_basesink_event),
29524         (gst_basesink_do_sync), (gst_basesink_handle_event),
29525         (gst_basesink_change_state):
29526         * gst/gsttask.h:
29527         Right, two problems here: ghostpads don't take locks and
29528         glib _rec_mutex_lock_full() with depth==0 still locks.
29529         Catch illegal locking and g_warn them.
29530
29531 2005-06-25  Wim Taymans  <wim@fluendo.com>
29532
29533         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29534         Have to check for completion now...
29535
29536 2005-06-25  Wim Taymans  <wim@fluendo.com>
29537
29538         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29539         (gst_basesink_handle_object), (gst_basesink_event),
29540         (gst_basesink_do_sync), (gst_basesink_handle_event),
29541         (gst_basesink_change_state):
29542         * gst/gstpad.h:
29543         Unlock STREAM_LOCK whatever the recursion was.
29544
29545 2005-06-25  Wim Taymans  <wim@fluendo.com>
29546
29547         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29548         (gst_basesink_preroll_queue_empty),
29549         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29550         (gst_basesink_event), (gst_basesink_do_sync),
29551         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29552         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29553         (gst_basesink_change_state):
29554         Reworked the base sink, handle event and buffer serialisation
29555         correctly and removed possible deadlock.
29556         Handle EOS correctly.
29557
29558 2005-06-25  Wim Taymans  <wim@fluendo.com>
29559
29560         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29561         (gst_pipeline_change_state):
29562         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29563         Allow elements to post EOS in the state change function.
29564         Fix up -launch, make it exit the poll loop when the
29565         pipeline actually changed state.
29566         Fix up warning parsing in -launch.
29567
29568 2005-06-25  Wim Taymans  <wim@fluendo.com>
29569
29570         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29571         (gst_tee_sink_activate):
29572         Core takes STREAM_LOCK for us now.
29573
29574 2005-06-25  Wim Taymans  <wim@fluendo.com>
29575
29576         * gst/gstelement.c: (gst_element_get_state_func),
29577         (gst_element_set_state):
29578         * gst/gstelement.h:
29579         * gst/gstmessage.c: (gst_message_parse_error),
29580         (gst_message_parse_warning):
29581         Keep track of current target state while performing a state
29582         change so that subclasses can do something interesting.
29583         Fix parsing of warning/error messages when GError is NULL.
29584
29585 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29586
29587         * docs/gst/Makefile.am:
29588         * docs/gst/gstreamer-docs.sgml:
29589         * docs/gst/gstreamer-sections.txt:
29590         * docs/gst/gstreamer.types:
29591         * docs/gst/tmpl/gstbasesink.sgml:
29592         * docs/gst/tmpl/gstbasesrc.sgml:
29593         * docs/gst/tmpl/gstbin.sgml:
29594         * docs/gst/tmpl/gstcompat.sgml:
29595         * docs/gst/tmpl/gstfakesink.sgml:
29596         * docs/gst/tmpl/gstfakesrc.sgml:
29597         * docs/gst/tmpl/gstfilesink.sgml:
29598         * docs/gst/tmpl/gstfilesrc.sgml:
29599         * docs/gst/tmpl/gstindex.sgml:
29600         * docs/manual/appendix-quotes.xml:
29601         * gst/base/gstbasesrc.h:
29602         * gst/elements/gstfakesrc.h:
29603         * gst/gstmessage.h:
29604           start pulling in base classes and elements in our docs
29605
29606 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29607
29608         * docs/gst/Makefile.am:
29609         * docs/libs/Makefile.am:
29610           fixed make distcheck with gtk-doc 1.3
29611
29612 2005-06-23  Wim Taymans  <wim@fluendo.com>
29613
29614         * gst/gstelement.c: (gst_element_get_state_func),
29615         (gst_element_set_state), (gst_element_change_state):
29616         When the state did not change, also report NO_PREROLL
29617         when it matters.
29618
29619 2005-06-23  Wim Taymans  <wim@fluendo.com>
29620
29621         * gst/gstpad.c: (gst_pad_event_default):
29622         * gst/gstqueue.c: (gst_queue_loop):
29623         No unsafe task pausing please.
29624
29625 2005-06-23  Wim Taymans  <wim@fluendo.com>
29626
29627         * gst/schedulers/threadscheduler.c:
29628         (gst_thread_scheduler_task_start),
29629         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29630         Ref the task before pushing it on the threadpool. This
29631         makes sure that we have a ref when the threadfunction is
29632         actually called.
29633
29634 2005-06-23  Andy Wingo  <wingo@pobox.com>
29635
29636         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29637         offset is greater than the file's size.
29638
29639         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29640         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29641         * gst/gstobject.c (gst_object_class_init): Make the class lock
29642         recursive. Wim won't let me drop deep_notify. Decodebin works
29643         again, whoopdy doo.
29644
29645         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29646         internal pad, and hacks accordingly. Doesn't do it on the target
29647         pad because we change its caps. Probably catches all cases of
29648         interest tho.
29649         (gst_ghost_pad_set_property): Connect to notify::caps as
29650         appropritate.
29651
29652         * tests/network-clock.scm (plot-simulation): Pipe data to the
29653         elite python skript.
29654
29655         * tests/network-clock-utils.scm (define-parameter): New macro,
29656         defines a parameter that can be set via the command line.
29657         (set-parameter!, parse-parameter-arguments): Command line args
29658         parser.
29659
29660         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29661         stdin.
29662
29663 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29664
29665         * gst/elements/gsttypefindelement.c:
29666         (gst_type_find_element_handle_event):
29667           Don't restart typefinding on a discont.
29668         * gst/gstelement.c: (gst_element_set_state):
29669           Debug spelling fix.
29670         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29671           Allow changing mode of an active pad.
29672           Debug output fixes.
29673         * gst/registries/gstlibxmlregistry.c: (load_feature):
29674           Don't cast a static pad template to a normal pad template.
29675
29676 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29677
29678         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29679         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29680           remove gst_strtoll completely, since it didn't actually do
29681           anything more than what g_ascii_strtoull already does.
29682           check for range errors when deserializing
29683           do a cast for the unsigned cases; but further fixing needs
29684           a decision on what the interpretation of "(int)" and
29685           deserialization should be for values that fall outside the
29686           type's boundaries (ie, refuse, or interpret as casting)
29687
29688 2005-06-23  Wim Taymans  <wim@fluendo.com>
29689
29690         * check/Makefile.am:
29691         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29692         * docs/design/part-live-source.txt:
29693         * docs/design/part-states.txt:
29694         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29695         (gst_basesrc_set_live), (gst_basesrc_is_live),
29696         (gst_basesrc_get_range), (gst_basesrc_activate),
29697         (gst_basesrc_change_state):
29698         * gst/base/gstbasesrc.h:
29699         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29700         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29701         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29702         * gst/gstelement.c: (gst_element_get_state_func),
29703         (gst_element_set_state):
29704         * gst/gstelement.h:
29705         * gst/gsttypes.h:
29706         * tools/gst-launch.c: (event_loop), (main):
29707         Added support for live sources and other elements that
29708         cannot do preroll.
29709         Updated design docs, added live-source design doc.
29710         Implemented live source functionality in basesrc
29711         Fix error condition in _bin_get_state()
29712         Implement live source handling in -launch.
29713         Added check for live sources.
29714         Fixed case in GstBin where elements were changed state
29715         multiple times.
29716
29717
29718 2005-06-23  Andy Wingo  <wingo@pobox.com>
29719
29720         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29721         borken refcounting.
29722
29723         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29724         gst_caps_replace takes care of this for us.
29725
29726         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29727         gst_pad_set_caps on the target, not just its setcaps() function.
29728
29729         * tests/network-clock.scm: 
29730         * tests/network-clock-utils.scm: A network clock simulator.
29731         Something of an algorithmic testbed before doing something in C.
29732
29733 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29734
29735         * check/Makefile.am:
29736         * check/gst/capslist.h:
29737           copy over from 0.8, and add two with bitmasks specified with
29738           (int) 0xFF...
29739         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29740           add test to parse everything from capslist.h
29741         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29742         (main):
29743           add test for structure deserialization
29744         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29745           add tests for deserialization of strings to int types
29746         * gst/gststructure.c: (gst_structure_nth_field_name):
29747         * gst/gststructure.h:
29748           add a way to get the name of a field referenced by index
29749         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29750           instead of checking if the resulting long long lies between
29751           min and max, we check if the long long would fit into
29752           a number of bytes for the final type.
29753           This fixes cases where a string represents 2^32 - 1, which
29754           when cast to int would be the (valid) -1, but is bigger than
29755           G_MAXINT
29756
29757 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29758
29759         * gst/parse/grammar.y:
29760           add a log line for type deserialization
29761
29762 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29763
29764         * check/gst/gstvalue.c: (START_TEST):
29765         * gst/gstvalue.c: (gst_value_deserialize):
29766           return long long, not int, so gint64 deserialization actually
29767           works.  Is there any flag that makes the compiler check this ?
29768           Fixes #308559
29769
29770 2005-06-22  Wim Taymans  <wim@fluendo.com>
29771
29772         * gst/gstbuffer.h:
29773         Added convenience macros for setting buffers in GValue.
29774
29775 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29776
29777         * check/gst/.cvsignore:
29778         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29779           add a test deserializing int64, and comment part out because
29780           it fails, yay !
29781
29782 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29783
29784         * check/Makefile.am:
29785         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29786         * testsuite/Makefile.am:
29787         * testsuite/caps/Makefile.am:
29788         * testsuite/caps/value_serialize.c:
29789         * testsuite/test_gst_init.c:
29790           move a value_serialize test over
29791
29792 2005-06-20  Wim Taymans  <wim@fluendo.com>
29793
29794         * gst/gstpad.c:
29795         Small doc updates.
29796         
29797         * gst/gstvalue.c: (gst_value_compare_buffer),
29798         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29799         (gst_value_compare_flags), (gst_value_serialize_flags),
29800         (gst_value_deserialize_flags), (_gst_value_initialize):
29801         Fix serialisation of buffers, they are not boxed types anymore
29802
29803 2005-06-20  Wim Taymans  <wim@fluendo.com>
29804
29805         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29806         Testcase to show error in buffer-on-caps serialisation.
29807
29808 2005-06-20  Andy Wingo  <wingo@pobox.com>
29809
29810         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29811         will be adding to later.
29812
29813         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29814         if its socks fill with rocks.
29815         (gst_system_clock_obtain): Set the name on object construction.
29816         Avoid double-checked locking.
29817
29818 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29819
29820         * gst/gsturi.c: (gst_element_make_from_uri):
29821           Fix potential endless loop.
29822
29823 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29824
29825         * check/Makefile.am:
29826           add gsttag
29827         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29828         (main):
29829           move over from testsuite dir and clean up
29830         * configure.ac:
29831         * gst/gsttag.c:
29832         * testsuite/Makefile.am:
29833         * testsuite/tags/.cvsignore:
29834         * testsuite/tags/Makefile.am:
29835         * testsuite/tags/merge.c:
29836           remove testsuite/tags
29837
29838 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29839
29840         * docs/gst/gstreamer-sections.txt:
29841         * docs/gst/tmpl/gstenumtypes.sgml:
29842         * win32/gstenumtypes.c:
29843           clean up documentation build a little
29844
29845 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29846
29847         * check/gstcheck.h:
29848           add macros for checking refcounts on objects and caps
29849         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29850           add some more unit tests
29851         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29852         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29853           fix leaked refcounts (I hope :)) so unittest works
29854         * gst/gstpad.h:
29855           whitespace removal
29856
29857 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29858
29859         * configure.ac: back to HEAD
29860
29861 === release 0.9.1 ===
29862
29863 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29864
29865         * NEWS:
29866         * RELEASE:
29867           updated
29868
29869 2005-06-17  Andy Wingo  <wingo@pobox.com>
29870
29871         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29872         assert; it's always possible that the pad gets deactivated in
29873         between the checks in gstpad.c and the implementation. Rely on
29874         finish_preroll() to return a FLUSHING or similar instead of on the
29875         assert.
29876         
29877         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29878         clock and post an EOS message if we come out of finish_preroll in
29879         the playing state.
29880
29881 2005-06-16  David Schleef  <ds@schleef.org>
29882
29883         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29884         (gst_capsfilter_set_property): Allow NULL as possible value
29885         for filter_caps property, indicating GST_CAPS_ANY.
29886
29887 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29888
29889         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29890           fix debug output
29891         * gst/schedulers/Makefile.am:
29892           use libgst prefix
29893         * gstreamer.spec.in:
29894           fix spec for it
29895
29896 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29897
29898         * gstreamer.spec.in:
29899           clean up
29900
29901 2005-06-08  Andy Wingo  <wingo@pobox.com>
29902
29903         * gst/gstutils.c: RPAD fixes all around.
29904         (gst_element_link_pads): Refcounting fixes.
29905
29906         * tools/gst-inspect.c:
29907         * tools/gst-xmlinspect.c:
29908         * parse/grammar.y:
29909         * gst/base/gsttypefindhelper.c:
29910         * gst/base/gstbasesink.c:
29911         * gst/gstqueue.c: RPAD fixes.
29912
29913         * gst/gstghostpad.h:
29914         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29915         pads. The tricky thing is they provide both source and sink
29916         interfaces, since they proxy the internal pad for the external
29917         pad, and vice versa. Implement with lower-level ProxyPad objects,
29918         with the interior proxy pad as a child of the exterior ghost pad.
29919         Should write a doc on this.
29920         
29921         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29922         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29923         gst_object API.
29924         
29925         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29926         pads are real pads. No ghost pads in this file. Not documenting
29927         the myriad s/RPAD/PAD/ and REALIZE fixes.
29928         (gst_pad_class_init): Add properties for "direction" and
29929         "template". Both are construct-only, so they can't change during
29930         the life of the pad. Fixes properly deriving from GstPad.
29931         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29932         derived objects, just set properties when creating the objects via
29933         g_object_new.
29934         (gst_pad_get_parent): Implement as a function, return NULL if the
29935         parent is not an element.
29936         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29937         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29938         
29939         * gst/gstobject.c (gst_object_class_init): Make name a construct
29940         property. Don't set it in the object init.
29941
29942         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29943         with UNKNOWN direction.
29944         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29945         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29946         (gst_element_remove_pad): Remove ghost-pad special cases.
29947         (gst_element_pads_activate): Remove rpad cruft.
29948
29949         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29950         catch the pad's-parent-not-an-element case.
29951
29952         * gst/gst.h: Include gstghostpad.h.
29953
29954         * gst/gst.c (init_post): No more real, ghost pads.
29955
29956         * gst/Makefile.am: Add gstghostpad.[ch].
29957
29958         * check/Makefile.am:
29959         * check/gst/gstbin.c:
29960         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29961         into a bin creates ghost pads, and that the refcounts are right.
29962         Partly moved from gstbin.c.
29963
29964 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29965
29966         * check/gst-libs/.cvsignore:
29967         * check/gst/.cvsignore:
29968         * check/pipelines/.cvsignore:
29969           ignore more
29970         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29971         (START_TEST), (cleanup_suite), (main):
29972           add some tests related to cleanup after running pipelines
29973
29974 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29975
29976         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29977           add a testsuite for GstBuffer
29978
29979 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29980
29981         * gst/gstminiobject.h:
29982           add defines for accessing the refcount
29983
29984 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29985
29986         * Makefile.am: added support for html unit test coverage reports
29987
29988 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29989
29990         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29991           Free existing caps if the capsfilter changes. Add a FIXME about
29992           setting those caps on the pads.
29993
29994         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29995           Before adding a ghost pad to a parent bin, check that there isn't
29996           already one for the element on the bin. Prevents infinite recursion
29997           when using decodebin in parse pipelines. Andy says he'll rewrite the
29998           way this works anyway, so ignore the hack.
29999
30000 2005-06-02  Andy Wingo  <wingo@pobox.com>
30001
30002         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
30003         file size, pass it on to the type find helper.
30004
30005         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
30006         segment_start and segment_end properly according to the seek
30007         method. Segment_end is still a bit flaky because offset can be
30008         negative for CUR and END cases, but it takes -1 as an "unset"
30009         value.
30010
30011 2005-06-02  Wim Taymans  <wim@fluendo.com>
30012
30013         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
30014         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
30015         (gst_basesink_activate):
30016         * gst/base/gstbasesink.h:
30017         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30018         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30019         (gst_pad_query), (gst_pad_start_task):
30020         * gst/gstpad.h:
30021         * gst/gstqueue.c: (gst_queue_bufferalloc),
30022         (gst_queue_handle_sink_event), (gst_queue_chain):
30023         Bufferalloc: return GstFlowReturn to more accuratly report
30024         why allocation failed.
30025
30026 2005-06-02  Wim Taymans  <wim@fluendo.com>
30027
30028         * gst/gstpipeline.c: (gst_pipeline_send_event):
30029         Take snapshot of state without blocking.
30030
30031 2005-06-02  Wim Taymans  <wim@fluendo.com>
30032
30033         * docs/design/part-TODO.txt:
30034         * docs/design/part-caps.txt:
30035         * docs/design/part-clocks.txt:
30036         * docs/design/part-negotiation.txt:
30037         * docs/design/part-preroll.txt:
30038         Small doc updates 
30039
30040 2005-05-30  Wim Taymans  <wim@fluendo.com>
30041
30042         * gst/elements/gstidentity.c: (gst_identity_event),
30043         (gst_identity_transform), (gst_identity_get_property):
30044         Protect last_message property as it is accessed from
30045         multiple threads.
30046
30047 2005-05-30  Wim Taymans  <wim@fluendo.com>
30048
30049         * gst/gstelement.c: (gst_element_init),
30050         (gst_element_pads_activate), (gst_element_change_state):
30051         Slicker pad activation code.
30052
30053 2005-05-30  Wim Taymans  <wim@fluendo.com>
30054
30055         * gst/Makefile.am:
30056         * gst/gstelement.h:
30057         * gst/gstelementfactory.h:
30058         * gst/gsttypes.h:
30059         Move elementfactory methods to separate .h file.
30060
30061 2005-05-30  Wim Taymans  <wim@fluendo.com>
30062
30063         * docs/design/part-overview.txt:
30064         * gst/gstsystemclock.h:
30065         Small typo fixes, doc updates.
30066
30067 2005-05-30  Wim Taymans  <wim@fluendo.com>
30068
30069         * gst/gst.c: (gst_init_get_popt_table), (init_post),
30070         (init_popt_callback):
30071         Remove cpu-opt flag.
30072
30073 2005-05-30  Wim Taymans  <wim@fluendo.com>
30074
30075         * gst/gstbuffer.c: (gst_subbuffer_finalize),
30076         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
30077         * gst/gstbuffer.h:
30078         Avoid typechecking in places where not needed.
30079         Added accessor for malloc_data.
30080
30081 2005-05-30  Wim Taymans  <wim@fluendo.com>
30082
30083         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
30084         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
30085         (gst_pad_configure_sink), (gst_pad_configure_src),
30086         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
30087         (gst_pad_start_task):
30088         Propagate errors from _set_caps() in configure_src/sink
30089         functions instead of returning TRUE.
30090         FLUSH events can travel up and downstream
30091
30092
30093 2005-05-30  Wim Taymans  <wim@fluendo.com>
30094
30095         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30096         (gst_basesink_activate):
30097         Handle EOS in preroll.
30098
30099 2005-05-30  Wim Taymans  <wim@fluendo.com>
30100
30101         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30102         (gst_queue_loop), (gst_queue_handle_src_event):
30103         Remove old pieces of code
30104         Flushing the queue in an upstream event is a very bad idea.
30105
30106 2005-05-26  Andy Wingo  <wingo@pobox.com>
30107
30108         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
30109         gst_value_set_mini_object so as to add a ref on the object (which
30110         will be removed when the value is unset).
30111
30112         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
30113         arg type in ::handoff.
30114
30115         * gst/gstelement.c (gst_element_change_state): Also deactivate
30116         pads in READY->NULL, just in case the element didn't make it to
30117         PAUSED. Wingo tested, Wim approved.
30118
30119 2005-05-26  Wim Taymans  <wim@fluendo.com>
30120
30121         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30122         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30123         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
30124         A flushing pad cannot be used to alloc_buffer from.
30125
30126 2005-05-26  Wim Taymans  <wim@fluendo.com>
30127
30128         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
30129         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
30130         (gst_bus_source_dispatch), (gst_bus_source_finalize),
30131         (gst_bus_create_watch), (gst_bus_add_watch_full):
30132         * gst/gstbus.h:
30133         Implement a real GSource and use g_main_context_wakeup() to
30134         signal new messages instead of the socketpair.
30135
30136 2005-05-25  Wim Taymans  <wim@fluendo.com>
30137
30138         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
30139         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
30140         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30141         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30142         (gst_pad_send_event), (gst_pad_start_task):
30143         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30144         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30145         (gst_queue_sink_activate), (gst_queue_src_activate),
30146         (gst_queue_change_state):
30147         * gst/gstqueue.h:
30148         Fix state changes for non sinks. We now change sinks, then elements
30149         with unconnected srcpads, then the rest.
30150         More efficient queue unlocking in flush and state changes.
30151         Set the pad activate mode even if it does not have an activate
30152         function.
30153
30154 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30155
30156         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30157           Don't go in pull mode for non-seekable sources.
30158         * gst/elements/gsttypefindelement.h:
30159         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30160         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30161         (free_entry), (stop_typefinding),
30162         (gst_type_find_element_handle_event), (find_peek),
30163         (gst_type_find_element_chain), (do_pull_typefind),
30164         (gst_type_find_element_change_state):
30165           Allow typefinding (w/o seeking) in push-mode, simplified version
30166           of what was in 0.8.
30167         * gst/gstutils.c: (gst_buffer_join):
30168         * gst/gstutils.h:
30169           gst_buffer_join() from 0.8.
30170
30171 2005-05-25  Wim Taymans  <wim@fluendo.com>
30172
30173         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30174         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30175         (gst_pad_send_event), (gst_pad_start_task):
30176         Disable attempt at mode switching until it is figured out.
30177
30178 2005-05-25  Wim Taymans  <wim@fluendo.com>
30179
30180         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30181         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30182         (gst_basesink_finish_preroll), (gst_basesink_chain),
30183         (gst_basesink_loop), (gst_basesink_activate),
30184         (gst_basesink_change_state):
30185         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30186         (gst_basesrc_get_range), (gst_basesrc_loop),
30187         (gst_basesrc_activate):
30188         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30189         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30190         (gst_real_pad_init), (gst_real_pad_set_property),
30191         (gst_real_pad_get_property), (gst_pad_set_active),
30192         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30193         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30194         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30195         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30196         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30197         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30198         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30199         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30200         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30201         (gst_pad_stop_task):
30202         * gst/gstpad.h:
30203         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30204         (gst_queue_loop), (gst_queue_src_activate):
30205         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30206         (gst_task_get_state):
30207         * gst/gsttask.h:
30208         * gst/schedulers/threadscheduler.c:
30209         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30210         Implement gst_pad_pause/start/stop_task(), take STREAM lock
30211         in task function.
30212         Remove ACTIVE pad flag, use FLUSHING everywhere
30213         Added _pad_chain(), _pad_get_range() to call chain/getrange 
30214         functions.
30215         Add locks around IS_FLUSHING when reading.
30216         Take STREAM lock in chain(), get_range() functions so plugins
30217         don't need to take it anymore.
30218         
30219
30220
30221 2005-05-25  Wim Taymans  <wim@fluendo.com>
30222
30223         * tools/gst-launch.c: (event_loop):
30224         Unref message after using its contents instead of
30225         before.
30226
30227 2005-05-24  Wim Taymans  <wim@fluendo.com>
30228
30229         * docs/design/draft-ghostpads.txt:
30230         * docs/design/draft-push-pull.txt:
30231         * docs/design/draft-query.txt:
30232         * docs/design/part-overview.txt:
30233         Docs updates, added general overview doc.
30234
30235 2005-05-21  David Schleef  <ds@schleef.org>
30236
30237         * docs/gst/tmpl/old/GstBin.sgml:
30238         * docs/gst/tmpl/old/GstBuffer.sgml:
30239         * docs/gst/tmpl/old/GstCaps.sgml:
30240         * docs/gst/tmpl/old/GstClock.sgml:
30241         * docs/gst/tmpl/old/GstCompat.sgml:
30242         * docs/gst/tmpl/old/GstData.sgml:
30243         * docs/gst/tmpl/old/GstElement.sgml:
30244         * docs/gst/tmpl/old/GstEvent.sgml:
30245         * docs/gst/tmpl/old/GstIndex.sgml:
30246         * docs/gst/tmpl/old/GstStructure.sgml:
30247         * docs/gst/tmpl/old/GstTag.sgml:
30248         * docs/gst/tmpl/old/cothreads.sgml:
30249         * docs/gst/tmpl/old/cothreads_compat.sgml:
30250         * docs/gst/tmpl/old/gettext.sgml:
30251         * docs/gst/tmpl/old/gobject2gtk.sgml:
30252         * docs/gst/tmpl/old/grammar.tab.sgml:
30253         * docs/gst/tmpl/old/gst-i18n-app.sgml:
30254         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30255         * docs/gst/tmpl/old/gst_private.sgml:
30256         * docs/gst/tmpl/old/gstaggregator.sgml:
30257         * docs/gst/tmpl/old/gstarch.sgml:
30258         * docs/gst/tmpl/old/gstatomic_impl.sgml:
30259         * docs/gst/tmpl/old/gstbufferstore.sgml:
30260         * docs/gst/tmpl/old/gstdata_private.sgml:
30261         * docs/gst/tmpl/old/gstdisksink.sgml:
30262         * docs/gst/tmpl/old/gstdisksrc.sgml:
30263         * docs/gst/tmpl/old/gstelementfactory.sgml:
30264         * docs/gst/tmpl/old/gstextratypes.sgml:
30265         * docs/gst/tmpl/old/gstfakesink.sgml:
30266         * docs/gst/tmpl/old/gstfakesrc.sgml:
30267         * docs/gst/tmpl/old/gstfdsink.sgml:
30268         * docs/gst/tmpl/old/gstfdsrc.sgml:
30269         * docs/gst/tmpl/old/gstfilesink.sgml:
30270         * docs/gst/tmpl/old/gstfilesrc.sgml:
30271         * docs/gst/tmpl/old/gsthttpsrc.sgml:
30272         * docs/gst/tmpl/old/gstidentity.sgml:
30273         * docs/gst/tmpl/old/gstindexfactory.sgml:
30274         * docs/gst/tmpl/old/gstmarshal.sgml:
30275         * docs/gst/tmpl/old/gstmd5sink.sgml:
30276         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30277         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30278         * docs/gst/tmpl/old/gstpadtemplate.sgml:
30279         * docs/gst/tmpl/old/gstpipefilter.sgml:
30280         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30281         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30282         * docs/gst/tmpl/old/gstshaper.sgml:
30283         * docs/gst/tmpl/old/gstspider.sgml:
30284         * docs/gst/tmpl/old/gstspideridentity.sgml:
30285         * docs/gst/tmpl/old/gststatistics.sgml:
30286         * docs/gst/tmpl/old/gsttee.sgml:
30287         * docs/gst/tmpl/old/gsttimecache.sgml:
30288         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30289         * docs/gst/tmpl/old/gstxmlregistry.sgml:
30290         * docs/gst/tmpl/old/gthread-cothreads.sgml:
30291         * docs/gst/tmpl/old/types.sgml:
30292           I didn't intend to add these or check them in.
30293
30294 2005-05-19  David Schleef  <ds@schleef.org>
30295
30296         * configure.ac: Use -no-common everywhere.  In a sane world, it
30297           would be the default in libtool, because without it, you can't
30298           build DLLs on Windows.
30299         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30300         * docs/gst/gstreamer-sections.txt:
30301         * docs/gst/tmpl/gstcpu.sgml:
30302         * docs/gst/tmpl/gstdata.sgml:
30303         * docs/gst/tmpl/gstthread.sgml:
30304
30305 2005-05-19  David Schleef  <ds@schleef.org>
30306
30307         * gst/gstminiobject.c: (gst_value_set_mini_object),
30308         (gst_value_take_mini_object), (gst_value_get_mini_object):
30309         * gst/gstminiobject.h: Add GValue set/get functions.
30310
30311 2005-05-19  Wim Taymans  <wim@fluendo.com>
30312
30313         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30314         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30315         (gst_subbuffer_init), (gst_buffer_is_span_fast):
30316         * gst/gstbuffer.h:
30317         * gst/gstbus.c: (gst_bus_post):
30318         * gst/gstelement.c: (gst_element_get_random_pad):
30319         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30320         Make subbufer unref the parent in finalize.
30321         some more debugging info.
30322
30323
30324 2005-05-19  Wim Taymans  <wim@fluendo.com>
30325
30326         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30327         (gst_basesink_init), (gst_basesink_finalize),
30328         (gst_basesink_activate), (gst_basesink_change_state):
30329         Don't free preroll queue too early.
30330
30331 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30332
30333         * gst/Makefile.am:
30334         * gst/ROADMAP:
30335           Hi, I'm outdated. Please shoot me.
30336
30337 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30338
30339         * gst/gstpipeline.c: (gst_pipeline_send_event):
30340           Do not access variables after they have been deleted.
30341
30342 2005-05-19  Wim Taymans  <wim@fluendo.com>
30343
30344         * tools/gst-inspect.c: (print_plugin_features):
30345         A plugin feature does unfortunatly not use the
30346         object name yet...
30347
30348 2005-05-18  Wim Taymans  <wim@fluendo.com>
30349
30350         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30351         Port _span() functions to new subbuffers.
30352
30353 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30354
30355         * gst/gstbin.c: (gst_bin_add_func):
30356           Fix clock settery in bins when adding kids after the clock has
30357           been selected.
30358
30359 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30360
30361         * gst/elements/gstidentity.c: (gst_identity_class_init):
30362           Workaround until signals support GstMiniObject.
30363
30364 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
30365
30366         * gst/gstbuffer.c:
30367         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30368
30369 2005-05-18  Wim Taymans  <wim@fluendo.com>
30370
30371         * gst/base/Makefile.am:
30372         * gst/base/gstadapter.c: (gst_adapter_base_init),
30373         (gst_adapter_class_init), (gst_adapter_init),
30374         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30375         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30376         (gst_adapter_flush), (gst_adapter_available),
30377         (gst_adapter_available_fast):
30378         * gst/base/gstadapter.h:
30379         Ported and added adapter to the base classes.
30380
30381 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30382
30383         * gst/gst.c:
30384         * gst/gstmessage.c:
30385           Make sure the class is reffed/unreffed once before threads can be
30386           used.  Fixes #304551.
30387
30388 2005-05-17  Wim Taymans  <wim@fluendo.com>
30389
30390         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30391         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30392         * gst/gstminiobject.c: (gst_mini_object_get_type),
30393         (gst_mini_object_free):
30394         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30395         (gst_pad_push), (gst_pad_push_event):
30396         * gst/gstqueue.c: (gst_queue_change_state):
30397         Don't queue buffers in basesink when we are flushing.
30398         Unref buffer when flushing in basesink.
30399         Flush queue when going to READY
30400         Unref buffer when _push() returns an error.
30401         Don't free MiniObject instance when refcount is incremented
30402         in _finalize() so that we can recover objects.
30403
30404 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30405
30406         * docs/manual/advanced-schedulers.xml:
30407         * docs/manual/appendix-checklist.xml:
30408         * docs/pwg/advanced-clock.xml:
30409         * docs/pwg/advanced-interfaces.xml:
30410         * docs/pwg/advanced-request.xml:
30411         * docs/pwg/advanced-types.xml:
30412         * docs/pwg/intro-preface.xml:
30413         * examples/plugins/example.c: (gst_example_get_type),
30414         (gst_example_class_init), (gst_example_chain),
30415         (gst_example_set_property), (gst_example_get_property),
30416         (gst_example_change_state), (plugin_init):
30417         * examples/plugins/example.h:
30418           small doc fixes
30419
30420 2005-05-17  Wim Taymans  <wim@fluendo.com>
30421
30422         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30423         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30424         * gst/gstqueue.c: (gst_queue_change_state):
30425         Clear queue when going to READY.
30426         Remove IN_SETCAPS flag too.
30427
30428 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30429
30430         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30431           Remove implicit cast from gboolean to GstElementStateReturn;
30432           make sure we still return failure in paused => ready case if
30433           the parent class fails to change state and our own stop 
30434           vfunc succeeds.
30435
30436 2005-05-17  Wim Taymans  <wim@fluendo.com>
30437
30438         * tools/gst-launch.c: (event_loop):
30439         Message was unreffed too soon.
30440
30441 2005-05-16  Andy Wingo  <wingo@pobox.com>
30442
30443         * gst/gstbin.c (sink_iterator_filter): Err... um...
30444
30445         * check/gst/gstbin.c (test_ghost_pads): New test for the
30446         ghosting-if-elements-not-in-same-bin behavior.
30447
30448 2005-05-16  David Schleef  <ds@schleef.org>
30449
30450         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30451         accessing refcount directly.
30452
30453 2005-05-15  David Schleef  <ds@schleef.org>
30454
30455         * check/Makefile.am: remove GstData checks
30456         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30457         * gst/Makefile.am: add miniobject, remove data
30458         * gst/gst.h: add miniobject, remove data
30459         * gst/gstdata.c: remove
30460         * gst/gstdata.h: remove
30461         * gst/gstdata_private.h: remove
30462         * gst/gsttypes.h: remove GstEvent and GstMessage
30463         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30464         * gst/gstmarshal.list: change BOXED -> OBJECT
30465
30466         Implement GstMiniObject.
30467         * gst/gstminiobject.c:
30468         * gst/gstminiobject.h:
30469
30470         Modify to be subclasses of GstMiniObject.
30471         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30472         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30473         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30474         (gst_subbuffer_get_type), (gst_subbuffer_init),
30475         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30476         (gst_buffer_span):
30477         * gst/gstbuffer.h:
30478         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30479         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30480         (_gst_event_copy), (gst_event_new):
30481         * gst/gstevent.h:
30482         * gst/gstmessage.c: (_gst_message_initialize),
30483         (gst_message_get_type), (gst_message_class_init),
30484         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30485         (gst_message_new), (gst_message_new_error),
30486         (gst_message_new_warning), (gst_message_new_tag),
30487         (gst_message_new_state_changed), (gst_message_new_application):
30488         * gst/gstmessage.h:
30489         * gst/gstprobe.c: (gst_probe_perform),
30490         (gst_probe_dispatcher_dispatch):
30491         * gst/gstprobe.h:
30492         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30493         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30494         (_gst_query_copy), (gst_query_new):
30495
30496         Update elements for GstData -> GstMiniObject changes
30497         * gst/gstquery.h:
30498         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30499         (gst_queue_chain), (gst_queue_loop):
30500         * gst/elements/gstbufferstore.c:
30501         (gst_buffer_store_add_buffer_func),
30502         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30503         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30504         (gst_fakesink_render):
30505         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30506         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30507         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30508         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30509         (gst_filesrc_create_read):
30510         * gst/elements/gstidentity.c: (gst_identity_class_init):
30511         * gst/elements/gsttypefindelement.c:
30512         (gst_type_find_element_src_event), (free_entry_buffers),
30513         (gst_type_find_element_handle_event):
30514         * libs/gst/dataprotocol/dataprotocol.c:
30515         (gst_dp_header_from_buffer):
30516         * libs/gst/dataprotocol/dataprotocol.h:
30517         * libs/gst/dataprotocol/dp-private.h:
30518
30519 2005-05-15  David Schleef  <ds@schleef.org>
30520
30521         * gst/elements/gstelements.c: Don't include headers that were
30522         just removed.
30523
30524 2005-05-15  David Schleef  <ds@schleef.org>
30525
30526         * gst/elements/Makefile.am: Remove some elements that don't
30527         need to be in the core (or even exist at all).
30528         * gst/elements/gstaggregator.c:
30529         * gst/elements/gstaggregator.h:
30530         * gst/elements/gstmd5sink.c:
30531         * gst/elements/gstmd5sink.h:
30532         * gst/elements/gstmultifilesrc.c:
30533         * gst/elements/gstmultifilesrc.h:
30534         * gst/elements/gstpipefilter.c:
30535         * gst/elements/gstpipefilter.h:
30536         * gst/elements/gstshaper.c:
30537         * gst/elements/gstshaper.h:
30538         * gst/elements/gststatistics.c:
30539         * gst/elements/gststatistics.h:
30540         * po/POTFILES.in: Remove above files.
30541
30542 2005-05-14  Andy Wingo  <wingo@pobox.com>
30543
30544         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30545         so as to get the refs right.
30546         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30547         unreffing objects that don't pass the filter.
30548
30549         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30550         gst_element_set_bus.
30551         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30552         normal cases, this will destroy the bus.
30553
30554         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30555         object.
30556
30557         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30558         has no sinks.
30559
30560 2005-05-13  Andy Wingo  <wingo@pobox.com>
30561
30562         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30563         gst_pad_link, call pad_link_maybe_ghosting,
30564         (pad_link_maybe_ghosting): Links pads, making sure that the
30565         elements being linked are in the same bin.
30566         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30567         Helpers for pad_link_maybe_ghosting.
30568
30569 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30570
30571         * configure.ac:
30572           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30573
30574 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30575
30576         * docs/design/part-element-source.txt:
30577           Mention GstPushSrc
30578
30579 2005-05-12  Wim Taymans  <wim@fluendo.com>
30580
30581         * gst/base/gstbasesink.c: (gst_basesink_init),
30582         (gst_basesink_activate):
30583         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30584         (gst_basesrc_is_seekable):
30585         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30586         (bin_element_is_sink), (gst_bin_change_state):
30587         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30588         * gst/gstelement.h:
30589         Identify sinks by their flag to avoid overly complicated
30590         checks (fow now).
30591         Do state changes even for elements not reachable from the
30592         sinks.
30593         BaseSink is a sink now :)
30594         Some more debugging info in the basesrc.
30595
30596
30597 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30598
30599         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30600           Implement _query on a bin, similar to _send_event.
30601
30602 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30603
30604         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30605           Discont event offset format should be GST_FORMAT_BYTES,
30606           not GST_FORMAT_TIME.
30607
30608 2005-05-12  Wim Taymans  <wim@fluendo.com>
30609
30610         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30611         Same fix as Ronald's but without the signal. 
30612
30613 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30614
30615         * gst/gstutils.c: (gst_element_query_position):
30616           No, an element is not a pad.
30617
30618 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30619
30620         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30621         (gst_bin_get_state):
30622           If a child is removed from a bin while we remove the child from
30623           the bin and while we're retrieving its state, signal this to the
30624           get_state function so we abort the wait (instead of waiting for
30625           a timeout) and can immediately re-iterate over all other elements.
30626
30627 2005-05-12  Wim Taymans  <wim@fluendo.com>
30628
30629         * gst/base/Makefile.am:
30630         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30631         (gst_basesrc_start):
30632         * gst/base/gstbasesrc.h:
30633         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30634         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30635         (gst_pushsrc_init), (gst_pushsrc_create):
30636         * gst/base/gstpushsrc.h:
30637         Added is_seekable to BaseSrc
30638         Added simple PushSrc.
30639
30640 2005-05-11  Wim Taymans  <wim@fluendo.com>
30641
30642         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30643         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30644         (gst_element_link_pads), (gst_element_query_position),
30645         (gst_element_query_convert), (intersect_caps_func),
30646         (gst_pad_query_position), (gst_pad_query_convert):
30647         Fix refcounting in utils function.
30648         No point in trying to activate a pad when it's added, it could
30649         be added from the state change function and then we deadlock, the
30650         element has to decide what to do.
30651
30652 2005-05-10  Andy Wingo  <wingo@pobox.com>
30653
30654         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30655         *all* the arguments.
30656
30657         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30658         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30659         lock (according to the docs -- if this is wrong change the docs).
30660
30661         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30662         flush messages in the NULL state.
30663
30664         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30665         message immediately and return.
30666         (gst_bus_set_flushing): New function. If a bus is flushing, it
30667         flushes out any queued messages and immediately unrefs new
30668         messages. This is so when an element goes to NULL, all of the
30669         unhandled messages coming from it can be freed, and their
30670         references to the element dropped. In other words: message source
30671         ref considered harmful :P
30672
30673         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30674         we're finished with it.
30675
30676         * gst/gstmessage.c (gst_message_new_state_changed): 
30677
30678 2005-05-10  Wim Taymans  <wim@fluendo.com>
30679
30680         * gst/gstvalue.c: (gst_value_compare_flags),
30681         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30682         (_gst_value_initialize):
30683         Added flags serialize/deserialize/compare code.
30684
30685 2005-05-09  Andy Wingo  <wingo@pobox.com>
30686
30687         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30688         Intersect the peer's caps with our caps.
30689
30690 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30691
30692         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30693         * gst/elements/gsttypefindelement.c: (find_peek):
30694           Handle negative offsets better. Fixes decodebin.
30695
30696 2005-05-09  Wim Taymans  <wim@fluendo.com>
30697
30698         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30699         (gst_base_transform_event):
30700         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30701         Implement accept_caps.
30702         Fix silly lock/unlock mismatch in base class.
30703
30704 2005-05-09  Wim Taymans  <wim@fluendo.com>
30705
30706         * docs/design/draft-push-pull.txt:
30707         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30708         * gst/elements/gstfilesink.c: (gst_filesink_init),
30709         (gst_filesink_query):
30710         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30711         (gst_type_find_handle_src_query), (find_element_get_length):
30712         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30713         * gst/gstelement.h:
30714         * gst/gstmessage.c:
30715         * gst/gstmessage.h:
30716         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30717         (gst_real_pad_get_caps_unlocked),
30718         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30719         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30720         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30721         (gst_real_pad_dispose), (gst_real_pad_finalize),
30722         (gst_pad_load_and_link), (gst_pad_save_thyself),
30723         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30724         (gst_pad_check_pull_range), (gst_pad_pull_range),
30725         (gst_pad_template_get_type), (gst_pad_template_class_init),
30726         (gst_pad_template_init), (gst_pad_template_dispose),
30727         (name_is_valid), (gst_static_pad_template_get),
30728         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30729         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30730         (gst_pad_get_element_private), (gst_pad_start_task),
30731         (gst_pad_pause_task), (gst_pad_stop_task),
30732         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30733         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30734         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30735         (gst_ghost_pad_new):
30736         * gst/gstpad.h:
30737         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30738         (gst_query_new_position), (gst_query_set_position),
30739         (gst_query_parse_position), (gst_query_new_convert),
30740         (gst_query_set_convert), (gst_query_parse_convert):
30741         * gst/gstquery.h:
30742         * gst/gstqueryutils.c:
30743         * gst/gstqueryutils.h:
30744         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30745         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30746         (gst_queue_handle_src_query):
30747         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30748         (gst_element_query_position), (gst_element_query_convert),
30749         (intersect_caps_func), (gst_pad_query_position),
30750         (gst_pad_query_convert):
30751         * gst/gstutils.h:
30752         * tools/gst-inspect.c: (print_pad_info):
30753         * tools/gst-xmlinspect.c: (print_element_info):
30754         Remove old query functions. Ported old code.
30755         Added position/convert helper functions to gstutils.
30756         Reordered gstpad.c code, grouping relevant things.
30757         Remove gst_message_new(), always need to speficy a specific
30758         message.
30759
30760
30761 2005-05-09  Andy Wingo  <wingo@pobox.com>
30762
30763         * gst/gstiterator.h: Add some includes.
30764
30765         * gst/gstqueryutils.h: Include more headers.
30766
30767         * gst/gstpad.h:
30768         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30769         some uses of gst_pad_query.
30770
30771         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30772         NULL out parameters.
30773         (gst_query_new_position): New proc, allocates a new position
30774         query.
30775
30776         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30777         gstqueryutils.c to the build.
30778
30779         * gst/gststructure.c (gst_structure_set_valist): Implement with
30780         the generic G_VALUE_COLLECT.
30781         
30782 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30783
30784         * gst/Makefile.am: (gst_headers):
30785         Added gstqueryutils.h to the list of headers to install, that was
30786         a 'nachty' move wingo :)
30787
30788 2005-05-06  Andy Wingo  <wingo@pobox.com>
30789
30790         * gst/gstquery.h
30791         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30792         GstData, init a memchunk.
30793         (standard_definitions): Add a few query types, deprecate a few.
30794         (gst_query_get_type): New proc.
30795         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30796         implementation.
30797         (gst_query_new_application, gst_query_get_structure): New public
30798         procs.
30799
30800         * docs/design/draft-query.txt: Removed LINKS from the query types,
30801         because all the rest can be dispatched to other pads -- seemed
30802         ugly to have a query that couldn't be dispatched. internal_links
30803         is fine as a pad method.
30804
30805         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30806         in gstpad.c, but maintain binary compatibility for the moment.
30807         Will fix before 0.9 is out.
30808
30809         * gst/gstqueryutils.c: 
30810         * gst/gstqueryutils.h: New files, implement 3 methods for each
30811         query type: parse_query, parse_response, and set. Probably need an
30812         allocator as well.
30813
30814         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30815
30816         * gst/elements/gstfilesink.c (gst_filesink_query2):
30817         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30818         query_types, and formats methods.
30819
30820         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30821         (gst_pad_set_query2_function): New functions.
30822         (gst_real_pad_init): Set query2_default as the default query2
30823         function. Basically just dispatches to internally linked pads.
30824
30825         Needs review!
30826         
30827         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30828         without using the atomic operations. Only one thread can possibly
30829         be accessing the data at this point. Changed so as to avoid
30830         gst_atomic operations.
30831
30832 2005-05-06  Wim Taymans  <wim@fluendo.com>
30833
30834         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30835         Also set caps if we use the fallback buffer alloc.
30836
30837 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30838
30839         * docs/gst/Makefile.am:
30840         * docs/gst/gstreamer-docs.sgml:
30841         * docs/gst/gstreamer-sections.txt:
30842         * docs/gst/tmpl/gstatomic.sgml:
30843         * docs/gst/tmpl/gstmemchunk.sgml:
30844         * testsuite/elements/struct_i386.h:
30845         * win32/GStreamer.vcproj:
30846         * win32/Makefile:
30847           Purge GstAtomic stuff from docs and win32 makefiles as well
30848
30849 2005-05-06  Wim Taymans  <wim@fluendo.com>
30850
30851         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30852         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30853         * gst/gstpad.c: (gst_pad_peer_get_caps):
30854         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30855         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30856         (gst_queue_src_activate), (gst_queue_change_state):
30857         * gst/gstqueue.h:
30858         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30859         (intersect_caps_func):
30860         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30861         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30862         Some fixes for the peer_get_caps() change.
30863
30864 2005-05-06  Wim Taymans  <wim@fluendo.com>
30865
30866         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30867         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30868         (gst_basesink_activate):
30869         Actually do something with error codes returned from the push
30870         functions.
30871
30872 2005-05-06  Wim Taymans  <wim@fluendo.com>
30873
30874         * docs/design/part-element-sink.txt:
30875         * docs/design/part-element-source.txt:
30876         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30877         (gst_basesink_event), (gst_basesink_activate):
30878         * gst/base/gstbasesink.h:
30879         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30880         (gst_basesrc_activate):
30881         * gst/base/gstbasesrc.h:
30882         * gst/gstelement.c: (gst_element_pads_activate):
30883         Some more documentation.
30884         Fixed scheduling decision in _pads_activate().
30885
30886 2005-05-05  Andy Wingo  <wingo@pobox.com>
30887
30888         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30889         the test suite.
30890
30891 2005-05-05  Wim Taymans  <wim@fluendo.com>
30892
30893         * gst/base/Makefile.am:
30894         * gst/base/gstbasesink.h:
30895         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30896         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30897         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30898         (gst_collectpads_class_init), (gst_collectpads_init),
30899         (gst_collectpads_finalize), (gst_collectpads_new),
30900         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30901         (find_pad), (gst_collectpads_remove_pad),
30902         (gst_collectpads_is_active), (gst_collectpads_collect),
30903         (gst_collectpads_collect_range), (gst_collectpads_start),
30904         (gst_collectpads_stop), (gst_collectpads_peek),
30905         (gst_collectpads_pop), (gst_collectpads_available),
30906         (gst_collectpads_read), (gst_collectpads_flush),
30907         (gst_collectpads_chain):
30908         * gst/base/gstcollectpads.h:
30909         * gst/elements/Makefile.am:
30910         * gst/elements/gstelements.c:
30911         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30912         (gst_fakesink_get_times), (gst_fakesink_event),
30913         (gst_fakesink_preroll), (gst_fakesink_render):
30914         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30915         (gst_filesink_init), (gst_filesink_set_location),
30916         (gst_filesink_open_file), (gst_filesink_close_file),
30917         (gst_filesink_pad_query), (gst_filesink_event),
30918         (gst_filesink_render), (gst_filesink_change_state):
30919         * gst/elements/gstfilesink.h:
30920         Added object to help in making collect pad based elements.
30921         Ported filesink.
30922         Make event function in sink baseclass return gboolean.
30923
30924 2005-05-05  Wim Taymans  <wim@fluendo.com>
30925
30926         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30927         (gst_bin_get_by_name):
30928         * gst/gstbuffer.h:
30929         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30930         (gst_clock_finalize):
30931         * gst/gstdata.c: (gst_data_replace):
30932         * gst/gstdata.h:
30933         * gst/gstelement.c: (gst_element_request_pad),
30934         (gst_element_pads_activate):
30935         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30936         (gst_object_unref):
30937         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30938         (gst_pad_set_checkgetrange_function),
30939         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30940         (gst_pad_check_pull_range), (gst_pad_pull_range),
30941         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30942         (gst_pad_pause_task), (gst_pad_stop_task):
30943         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30944         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30945         Fix name lookup in GstBin.
30946         Added _data_replace() function and _buffer_replace()
30947         Use finalize method to clean up clock.
30948         Fix refcounting on request pads.
30949         Fix pad schedule mode error.
30950         Some more object refcounting debug info,
30951
30952
30953 2005-05-04  Andy Wingo <wingo@pobox.com>
30954
30955         * check/Makefile.am:
30956         * docs/gst/tmpl/gstatomic.sgml:
30957         * docs/gst/tmpl/gstplugin.sgml:
30958         * gst/base/gstbasesink.c: (gst_basesink_activate):
30959         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30960         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30961         (gst_basesrc_query), (gst_basesrc_set_property),
30962         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30963         (gst_basesrc_activate):
30964         * gst/base/gstbasesrc.h:
30965         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30966         (gst_base_transform_src_activate):
30967         * gst/elements/gstelements.c:
30968         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30969         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30970         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30971         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30972         (gst_type_find_element_checkgetrange),
30973         (gst_type_find_element_activate):
30974         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30975         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30976         (gst_caps_load_thyself):
30977         * gst/gstelement.c: (gst_element_pads_activate),
30978         (gst_element_save_thyself), (gst_element_restore_thyself):
30979         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30980         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30981         * gst/gstpad.h:
30982         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30983         (gst_xml_parse_file), (gst_xml_parse_memory),
30984         (gst_xml_get_element), (gst_xml_make_element):
30985         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30986         (_file_index_id_save_xml), (gst_file_index_commit):
30987         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30988         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30989         (load_paths):
30990         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30991         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30992         * tools/gst-complete.c: (main):
30993         * tools/gst-compprep.c: (main):
30994         * tools/gst-inspect.c: (print_element_properties_info):
30995         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30996         * tools/gst-xmlinspect.c: (print_element_properties):
30997         GCC 4 fixen.
30998         
30999 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
31000
31001         * gst/gstplugin.c: (gst_plugin_check_module),
31002         (gst_plugin_check_file), (gst_plugin_load_file):
31003             apply patch from #172526 to make register work on MacOSX
31004
31005 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
31006
31007         * docs/gst/tmpl/gstconfig.sgml:
31008         * gst/gstconfig.h.in:
31009           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
31010         * testsuite/debug/printf_extension.c: (main):
31011           Do not use GST_PTR_FORMAT on pointers to types with
31012           sizeof < sizeof(gpointer).  Fixes test on 64-bit
31013         * testsuite/elements/property.h:
31014           use correct printf format
31015
31016 2005-05-02  Wim Taymans  <wim@fluendo.com>
31017
31018         * docs/design/draft-push-pull.txt:
31019         * docs/design/draft-query.txt:
31020         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
31021         (gst_basesrc_start):
31022         Added draft for new query API.
31023         Added draft for better selecting scheduling methods.
31024         Make basesrc ignore length if the subclass does not support
31025         it.
31026
31027 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
31028
31029         * gst/Makefile.am:
31030           possible fixes for automake-1.5 - _LIBADD is reserved
31031
31032 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
31033
31034         * docs/faq/Makefile.am:
31035         * docs/manual/Makefile.am:
31036         * docs/manuals.mak:
31037         * docs/pwg/Makefile.am:
31038         * gst/Makefile.am:
31039           possible fixes for automake-1.5
31040
31041 2005-04-28  Wim Taymans  <wim@fluendo.com>
31042
31043         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31044         (gst_basesink_pad_getcaps), (gst_basesink_init),
31045         (gst_basesink_do_sync):
31046         * gst/gstclock.c: (gst_clock_entry_new):
31047         * gst/gstevent.c: (gst_event_discont_get_value):
31048         * gst/gstpipeline.c: (pipeline_bus_handler),
31049         (gst_pipeline_change_state):
31050         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
31051         Better debugging of clocking info.
31052         Allow NULL values when getting discont values.
31053
31054 2005-04-27  Wim Taymans  <wim@fluendo.com>
31055
31056         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31057         * check/gst/gstpad.c: (gst_pad_suite):
31058         Increase timeout for checks.
31059
31060 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
31061
31062         * check/Makefile.am:
31063           fix the broken rule for cleanup.  Apparently this rule is
31064           only needed on FC2, so maybe this warrants further autotool
31065           inspection.
31066
31067 2005-04-26  Wim Taymans  <wim@fluendo.com>
31068
31069         * gst/gsttrashstack.h:
31070         Ooohh. a nasty one! After having a failed pop() from the stack,
31071         it's possible that the stack is empty. In that case, don't
31072         follow the NULL pointer.
31073
31074 2005-04-25  Wim Taymans  <wim@fluendo.com>
31075
31076         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31077         (gst_pad_set_checkgetrange_function),
31078         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
31079         (gst_pad_check_pull_range), (gst_pad_pull_range),
31080         (gst_static_pad_template_get_caps), (gst_pad_start_task),
31081         (gst_pad_pause_task), (gst_pad_stop_task):
31082         * gst/gstplugin.c: (gst_plugin_load):
31083         * gst/gstplugin.h:
31084         Remove gst_library_load as it does more harm than good with
31085         the new g_module flags.
31086         Revert bogus caps template check in pad linking, pad caps
31087         are important when linking not the template, which is more
31088         general than the current caps.
31089
31090 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31091
31092         * gst/autoplug/.cvsignore:
31093         * gst/autoplug/Makefile.am:
31094         * gst/autoplug/gstsearchfuncs.c:
31095         * gst/autoplug/gstsearchfuncs.h:
31096         * gst/autoplug/gstspider.c:
31097         * gst/autoplug/gstspider.h:
31098         * gst/autoplug/gstspideridentity.c:
31099         * gst/autoplug/gstspideridentity.h:
31100         * gst/autoplug/spidertest.c:
31101           Die, spider, die.
31102
31103 2005-04-25  Wim Taymans  <wim@fluendo.com>
31104
31105         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31106         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31107         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
31108         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
31109         * gst/gstpad.h:
31110         Added stubs for unimplemented functions. 
31111
31112 2005-04-24  David Schleef  <ds@schleef.org>
31113
31114         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
31115         please fix.
31116
31117 2005-04-24  David Schleef  <ds@schleef.org>
31118
31119         Convert everything from GstAtomicInt to g_atomic_int_*, and
31120         remove gstatomic.
31121         * gst/Makefile.am:
31122         * gst/gstatomic.c:
31123         * gst/gstatomic.h:
31124         * gst/gstatomic_impl.h:
31125         * gst/gstbuffer.c:
31126         * gst/gstcaps.c:
31127         * gst/gstcaps.h:
31128         * gst/gstclock.c:
31129         * gst/gstclock.h:
31130         * gst/gstdata.c:
31131         * gst/gstdata.h:
31132         * gst/gstdata_private.h:
31133         * gst/gstevent.c:
31134         * gst/gstinfo.c:
31135         * gst/gstinfo.h:
31136         * gst/gstmessage.c:
31137         * gst/gstobject.c:
31138         * gst/gstobject.h:
31139         * gst/gststructure.c:
31140         * gst/gststructure.h:
31141         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31142         * gst/gstutils.h:
31143
31144 2005-04-24  David Schleef  <ds@schleef.org>
31145
31146         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31147         make the regressions tests work.  Remove some code that is no
31148         longer true.
31149         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31150         Disable warning for pads without templates.
31151
31152 2005-04-24  David Schleef  <ds@schleef.org>
31153
31154         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
31155         functions that handle filtered links.
31156         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31157         removed functions.
31158         * gst/gstutils.c: Fix/remove utility functions that handle
31159         filtered caps.
31160         * gst/gstutils.h:
31161         * gst/gstvalue.c: Add serialization/deserialization of caps
31162         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
31163         requires fixing so that the filter caps notation creates
31164         a capsfilter element and sets the filter_caps property.  I
31165         think everyone probably wants to keep the shorthand notation.
31166         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31167         * docs/gst/tmpl/gstpad.sgml:
31168
31169         * gst/elements/gstelements.c: Register capsfilter element.
31170         * gst/Makefile.am: fix spacing
31171         * docs/random/ds/0.9-suggested-changes: random
31172
31173 2005-04-23  David Schleef  <ds@schleef.org>
31174
31175         * gst/elements/Makefile.am:
31176         * gst/elements/gstcapsfilter.c: New element that acts like an
31177         identity, but filters caps.  Will eventually replace filtered
31178         caps in pad linking.
31179         * gst/gstutils.c: (gst_element_create_all_pads): New function
31180         to create all the ALWAYS pads that are registered with an
31181         element class.  This functionality should eventually be
31182         merged in with GstElement initialization.
31183         * gst/gstutils.h:
31184         * testsuite/trigger/README: part of trigger test code that should
31185         have been checked in a long time ago.
31186
31187 2005-04-23  David Schleef  <ds@schleef.org>
31188
31189         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
31190         needed with new versions of libtool (nobody will confirm this),
31191         and hard to carry around.
31192         * gst/autoplug/Makefile.am:
31193         * gst/base/Makefile.am:
31194         * gst/elements/Makefile.am:
31195         * gst/indexers/Makefile.am:
31196         * gst/schedulers/Makefile.am:
31197         * libs/gst/bytestream/Makefile.am:
31198         * libs/gst/control/Makefile.am:
31199         * libs/gst/dataprotocol/Makefile.am:
31200         * libs/gst/getbits/Makefile.am:
31201
31202 2005-04-21  Wim Taymans  <wim@fluendo.com>
31203
31204         * docs/design/draft-push-pull.txt:
31205         * docs/design/part-MT-refcounting.txt:
31206         * docs/design/part-TODO.txt:
31207         * docs/design/part-caps.txt:
31208         * docs/design/part-events.txt:
31209         * docs/design/part-gstbus.txt:
31210         * docs/design/part-gstpipeline.txt:
31211         * docs/design/part-messages.txt:
31212         * docs/design/part-push-pull.txt:
31213         * docs/design/part-query.txt:
31214         Some more docs.
31215
31216 2005-04-21  Wim Taymans  <wim@fluendo.com>
31217
31218         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31219         (gst_message_new), (gst_message_new_error),
31220         (gst_message_new_warning), (gst_message_new_tag),
31221         (gst_message_new_state_changed), (gst_message_new_application),
31222         (gst_message_get_structure):
31223         * gst/gstmessage.h:
31224         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31225         (gst_structure_copy_conditional):
31226         Use parent refcount in GstMessage to ensure GstStructure
31227         consistency.
31228         Cleaned up headers a bit.
31229         
31230
31231 2005-04-20  Wim Taymans  <wim@fluendo.com>
31232
31233         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31234         (gst_basesink_pad_getcaps), (gst_basesink_init),
31235         (gst_basesink_chain_unlocked):
31236         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31237         (gst_type_find_helper):
31238         * gst/elements/gsttypefindelement.c:
31239         (gst_type_find_element_have_type), (gst_type_find_element_init),
31240         (stop_typefinding), (gst_type_find_element_handle_event),
31241         (find_suggest), (gst_type_find_element_chain),
31242         (gst_type_find_element_checkgetrange),
31243         (gst_type_find_element_getrange), (do_typefind),
31244         (gst_type_find_element_activate):
31245         * gst/gstbuffer.c: (_gst_buffer_sub_free),
31246         (gst_buffer_default_free), (gst_buffer_default_copy),
31247         (gst_buffer_set_caps):
31248         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31249         (gst_caps_replace):
31250         * gst/gstmessage.c: (gst_message_new),
31251         (gst_message_new_state_changed):
31252         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31253         (gst_pad_set_checkgetrange_function),
31254         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31255         (gst_pad_set_caps), (gst_pad_check_pull_range),
31256         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31257         * gst/gstpad.h:
31258         * gst/gsttypefind.c: (gst_type_find_register):
31259         Make gst_caps_replace() work like other _replace() functions.
31260         Use _caps_replace() where possible.
31261         Make sure _message_new() initialises its field.
31262         Add gst_static_pad_template_get_caps()
31263
31264
31265 2005-04-18  Andy Wingo  <wingo@pobox.com>
31266
31267         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31268         on the peer, not the pad. I think that was a typo. Pass an extra
31269         arg to see if random access is possible. Activate the pads as
31270         PULL_RANGE if possible.
31271
31272         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31273
31274         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
31275         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31276         to PROP_....
31277
31278 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31279
31280         * docs/faq/using.xml:
31281           Add note on gstreamer-properties (#154996).
31282
31283 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31284
31285         * docs/random/bbb/optional-properties:
31286           Some analysis on optional properties.
31287
31288 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31289
31290         * docs/gst/tmpl/gstelementfactory.sgml:
31291         * gst/gstelement.h:
31292         * gst/gstelementfactory.c: (gst_element_factory_init),
31293         (gst_element_factory_cleanup), (gst_element_register),
31294         (__gst_element_factory_add_static_pad_template),
31295         (gst_element_factory_get_static_pad_templates),
31296         (gst_element_factory_can_src_caps),
31297         (gst_element_factory_can_sink_caps):
31298         * gst/registries/Makefile.am:
31299         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31300         (gst_xml_registry_class_init), (gst_xml_registry_init),
31301         (gst_xml_registry_new), (gst_xml_registry_set_property),
31302         (gst_xml_registry_get_property), (get_time), (make_dir),
31303         (gst_xml_registry_get_perms_func),
31304         (plugin_times_older_than_recurse), (plugin_times_older_than),
31305         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31306         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31307         (add_to_char_array), (read_string), (read_uint), (read_enum),
31308         (load_pad_template), (load_feature), (load_plugin), (load_paths),
31309         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31310         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31311         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31312         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31313         (gst_xml_registry_rebuild):
31314         * gst/registries/gstlibxmlregistry.h:
31315         * tools/gst-compprep.c: (main):
31316         * tools/gst-inspect.c: (print_pad_templates_info):
31317         * tools/gst-xmlinspect.c: (print_element_info):
31318           Use libxml2 for registry parsing, use staticpadtemplates in
31319           elementfactories. Makes gst_init() +/- 10x faster.
31320
31321 2005-04-12  Wim Taymans  <wim@fluendo.com>
31322
31323         * gst/base/Makefile.am:
31324         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31325         (gst_basesink_pad_getcaps), (gst_basesink_init),
31326         (gst_basesink_event), (gst_basesink_change_state):
31327         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31328         (gst_basesrc_init), (gst_basesrc_query),
31329         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31330         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31331         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31332         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31333         (gst_basesrc_stop), (gst_basesrc_activate),
31334         (gst_basesrc_change_state):
31335         * gst/base/gsttypefindhelper.c: (helper_find_peek),
31336         (helper_find_suggest), (gst_type_find_helper):
31337         * gst/base/gsttypefindhelper.h:
31338         * gst/elements/Makefile.am:
31339         * gst/elements/gstelements.c:
31340         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31341         (gst_fakesink_get_times), (gst_fakesink_event),
31342         (gst_fakesink_preroll), (gst_fakesink_render):
31343         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31344         (gst_fakesrc_init), (gst_fakesrc_event_handler),
31345         (gst_fakesrc_get_property), (gst_fakesrc_create),
31346         (gst_fakesrc_start), (gst_fakesrc_stop):
31347         * gst/elements/gstfakesrc.h:
31348         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31349         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31350         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31351         (gst_filesrc_create_read), (gst_filesrc_create),
31352         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31353         (gst_filesrc_start):
31354         * gst/elements/gsttypefindelement.c:
31355         (gst_type_find_element_have_type), (gst_type_find_element_init),
31356         (start_typefinding), (stop_typefinding), (push_buffer_store),
31357         (gst_type_find_element_handle_event),
31358         (gst_type_find_element_chain),
31359         (gst_type_find_element_checkgetrange),
31360         (gst_type_find_element_getrange), (do_typefind),
31361         (gst_type_find_element_activate),
31362         (gst_type_find_element_change_state):
31363         * gst/elements/gsttypefindelement.h:
31364         * gst/gstpipeline.c: (pipeline_bus_handler):
31365         Added typefind helper.
31366         Small preroll fix in the base sink.
31367         Disable typefind code in basesrc.
31368         Crude port of typefindelement.
31369         Fakesrc cleanups.
31370
31371
31372 2005-04-11  Wim Taymans  <wim@fluendo.com>
31373
31374         * check/gst/gstbus.c: (gstbus_suite):
31375         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31376         * check/gstcheck.h:
31377           Fix up the timeout so that the test does not fail.
31378
31379 2005-04-06  Wim Taymans  <wim@fluendo.com>
31380
31381         * gst/base/README:
31382         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31383         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31384         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31385         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31386         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31387         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31388         (gst_basesrc_stop), (gst_basesrc_activate),
31389         (gst_basesrc_change_state), (basesrc_find_peek),
31390         (basesrc_find_suggest), (gst_basesrc_type_find):
31391         * gst/base/gstbasesrc.h:
31392         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31393         (gst_filesrc_class_init), (gst_filesrc_init),
31394         (gst_filesrc_finalize), (gst_filesrc_set_location),
31395         (gst_filesrc_set_property), (gst_filesrc_get_property),
31396         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31397         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31398         (gst_filesrc_create_read), (gst_filesrc_create),
31399         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31400         * gst/elements/gstfilesrc.h:
31401         * gst/gstelement.c: (gst_element_get_state_func),
31402         (gst_element_lost_state), (gst_element_pads_activate):
31403         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31404         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31405         (gst_pad_pull_range):
31406         * gst/gstpad.h:
31407         More work on the generic source base class, implement seeking,
31408         query.
31409         Make filesrc extend the base source class.
31410         Added gst_pad_set_checkgetrange_function to GstPad.
31411
31412 2005-04-06  Andy Wingo  <wingo@pobox.com>
31413
31414         * pkgconfig/gstreamer-base.pc.in:
31415         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31416
31417         * pkgconfig/Makefile.am:
31418         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31419
31420 2005-04-04  Wim Taymans  <wim@fluendo.com>
31421
31422         * gst/base/Makefile.am:
31423         * gst/base/README:
31424         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31425         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31426         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31427         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31428         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31429         (gst_basesrc_base_init), (gst_basesrc_class_init),
31430         (gst_basesrc_init), (gst_basesrc_get_formats),
31431         (gst_basesrc_get_query_types), (gst_basesrc_query),
31432         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31433         (gst_basesrc_set_property), (gst_basesrc_get_property),
31434         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31435         (gst_basesrc_loop), (gst_basesrc_activate),
31436         (gst_basesrc_change_state):
31437         * gst/base/gstbasesrc.h:
31438         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31439         (gst_fakesrc_class_init), (gst_fakesrc_init),
31440         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31441         (gst_fakesrc_get_property), (gst_fakesrc_create):
31442         * gst/elements/gstfakesrc.h:
31443         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31444         (gst_filesrc_open_file), (gst_filesrc_loop),
31445         (gst_filesrc_activate), (filesrc_find_peek),
31446         (gst_filesrc_type_find):
31447         Made base source class, make fakesrc extend it.
31448         Add comments to basesink class.
31449         Some filesrc cleanup.
31450
31451 2005-03-31  David Schleef  <ds@schleef.org>
31452
31453         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31454         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31455         expected to link against libgstreamer.
31456         * gst/base/Makefile.am: link against libgstreamer
31457         * gst/elements/Makefile.am: same
31458
31459 2005-03-31  Andy Wingo  <wingo@pobox.com>
31460
31461         * tests/instantiate/Makefile.am:
31462         * tests/instantiate/caps.c: Add test to test speed of caps copy
31463         and free.
31464
31465         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31466         GMemChunk to be fair.
31467
31468         * gst/gsttrashstack.h: Remove warning about using the fallback
31469         trash stack implementation, it's still faster than malloc.
31470
31471 2005-03-30  Andy Wingo  <wingo@pobox.com>
31472
31473         * tests/complexity.c: Add a copyright.
31474
31475 2005-03-31  Wim Taymans  <wim@fluendo.com>
31476
31477         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31478         (gst_base_transform_class_init), (gst_base_transform_init),
31479         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31480         (gst_base_transform_get_property),
31481         (gst_base_transform_sink_activate),
31482         (gst_base_transform_src_activate),
31483         (gst_base_transform_change_state):
31484         * gst/base/gstbasetransform.h:
31485         * gst/elements/gstidentity.c: (gst_identity_class_init),
31486         (gst_identity_event), (gst_identity_check_perfect),
31487         (gst_identity_transform), (gst_identity_start),
31488         (gst_identity_stop):
31489         Added start/stop methods to transform base class so subclasses 
31490         don't need to deal with state changes even.
31491
31492 2005-03-31  Wim Taymans  <wim@fluendo.com>
31493
31494         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31495         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31496         * gst/gstevent.h:
31497         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31498         (gst_pad_pull_range):
31499         Added rate to the discont event to prepare for variable speed
31500         and reverse playback.
31501
31502 2005-03-29  David Schleef  <ds@schleef.org>
31503
31504         * configure.ac:
31505         * testsuite/trigger/Makefile.am:
31506         * testsuite/trigger/trigger.c: A little example program to show
31507         how trigger-based elements can work.
31508
31509 2005-03-29  Wim Taymans  <wim@fluendo.com>
31510
31511         * gst/base/Makefile.am:
31512         * gst/base/README:
31513         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31514         (gst_basesink_base_init), (gst_basesink_class_init),
31515         (gst_basesink_pad_getcaps), (gst_basesink_init),
31516         (gst_basesink_activate), (gst_basesink_change_state):
31517         * gst/base/gstbasesink.h:
31518         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31519         (gst_base_transform_base_init), (gst_base_transform_finalize),
31520         (gst_base_transform_class_init), (gst_base_transform_init),
31521         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31522         (gst_base_transform_event), (gst_base_transform_getrange),
31523         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31524         (gst_base_transform_set_property),
31525         (gst_base_transform_get_property),
31526         (gst_base_transform_sink_activate),
31527         (gst_base_transform_src_activate),
31528         (gst_base_transform_change_state):
31529         * gst/base/gstbasetransform.h:
31530         * gst/elements/gstidentity.c: (gst_identity_finalize),
31531         (gst_identity_class_init), (gst_identity_init),
31532         (gst_identity_event), (gst_identity_check_perfect),
31533         (gst_identity_transform), (gst_identity_set_property),
31534         (gst_identity_get_property), (gst_identity_change_state):
31535         * gst/elements/gstidentity.h:
31536         * gst/gstelement.c: (gst_element_get_state_func),
31537         (gst_element_lost_state), (gst_element_pads_activate):
31538         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31539         (gst_pad_check_pull_range), (gst_pad_pull_range):
31540         * gst/gstpad.h:
31541         Simplify pad activation.
31542         Added function to check if pull_range can be performed.
31543         Error out when pulling inactive or flushing pads.
31544         Removed const from refcounted types as it does not make sense.
31545         Simplify pad templates in basesink
31546         Added base class for simple 1-to-1 transforms.
31547         Make identity subclass the base transform.
31548
31549 2005-03-29  Andy Wingo  <wingo@pobox.com>
31550
31551         * docs/libs/gstreamer-libs-overrides.txt: 
31552         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31553         really don't understand what's going on, but like whatever. I want
31554         green buildbot!
31555
31556         * docs/gst/Makefile.am:
31557         * docs/libs/Makefile.am: Dist the overrides files.
31558
31559         * check/Makefile.am (clean-local): Remove .libs directories.
31560
31561         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31562         elements to EXTRA_DIST, so po/ files are happy.
31563
31564         * po/POTFILES.in: Er, remove it here.
31565
31566         * po/POTFILES: Remove gstspider.c.
31567
31568         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31569
31570         * docs/libs/gstreamer-libs-docs.sgml: 
31571         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31572         bytestream.
31573
31574         * tests/complexity.c (main): Set the length of the preroll queue
31575         on the sinks to prevent a lockup.
31576
31577         * libs/gst/dataprotocol/Makefile.am: 
31578         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31579         the same as the one in check/gst-libs/gdp.c.
31580
31581         * po/, docs/gst/: Commit automatic changes to docs and po files.
31582
31583         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31584         the versioned libgstbase.
31585
31586         * check/Makefile.am: Depend on an unversioned gst-register, seems
31587         to make autoconf happier.
31588
31589         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31590
31591 2005-03-28  Wim Taymans  <wim@fluendo.com>
31592
31593         * configure.ac:
31594         * docs/design/part-gstelement.txt:
31595         * docs/design/part-negotiation.txt:
31596         * docs/design/part-preroll.txt:
31597         * docs/design/part-scheduling.txt:
31598         * docs/design/part-states.txt:
31599         * gst/Makefile.am:
31600         * gst/base/Makefile.am:
31601         * gst/base/README:
31602         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31603         (gst_basesink_base_init), (gst_basesink_class_init),
31604         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31605         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31606         (gst_basesink_set_pad_functions),
31607         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31608         (gst_basesink_set_property), (gst_basesink_get_property),
31609         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31610         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31611         (gst_basesink_preroll_queue_push),
31612         (gst_basesink_preroll_queue_empty),
31613         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31614         (gst_basesink_event), (gst_basesink_get_times),
31615         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31616         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31617         (gst_basesink_loop), (gst_basesink_activate),
31618         (gst_basesink_change_state):
31619         * gst/base/gstbasesink.h:
31620         * gst/elements/Makefile.am:
31621         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31622         (gst_fakesink_class_init), (gst_fakesink_init),
31623         (gst_fakesink_set_property), (gst_fakesink_get_property),
31624         (gst_fakesink_get_times), (gst_fakesink_event),
31625         (gst_fakesink_preroll), (gst_fakesink_render),
31626         (gst_fakesink_change_state):
31627         * gst/elements/gstfakesink.h:
31628         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31629         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31630         * gst/gstelement.c: (gst_element_add_pad),
31631         (gst_element_get_state_func), (gst_element_abort_state),
31632         (gst_element_commit_state), (gst_element_lost_state),
31633         (gst_element_set_state), (gst_element_pads_activate):
31634         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31635         * gst/gstpipeline.c: (gst_pipeline_send_event),
31636         (gst_pipeline_change_state):
31637         Added state change code.
31638         Added/updated docs.
31639         Added sink base class, make fakesink extend the base class.
31640         Small cleanups in GstPipeline.
31641
31642 2005-03-26  David Schleef  <ds@schleef.org>
31643
31644         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31645         is broken and should be implemented in a different library.
31646         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31647         * gst/gst.h: remove gstcpu.h
31648         * gst/gstcpu.c: remove
31649         * gst/gstcpu.h: remove
31650         * gst/Makefile.am.future: Remove this file.  It's ancient.
31651
31652 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31653
31654         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31655         (gst_bin_send_event):
31656           Add default event/set_manager handlers. The set_manager handler
31657           takes care that the manager is distributed over kids that were
31658           already in the bin before the manager was set. The event handler
31659           is a utility virtual function that sends the event over all sinks,
31660           so that gst_element_send_event (bin, event); has the expected
31661           behaviour.
31662         * gst/gstpad.c: (gst_pad_event_default):
31663           Re-install default event handling for discontinuities, so that
31664           seeking works without requiring hacks in applications or extra
31665           code in sinks.
31666         * gst/gstpipeline.c: (gst_pipeline_class_init),
31667         (gst_pipeline_send_event):
31668           Half hack, half utility: set a pipeline to PAUSED for seek events,
31669           since that is the only way we can guarantee a/v sync. Means that
31670           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31671           and it "just works".
31672
31673 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31674
31675         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31676           Lock/unlock mismatch.
31677
31678 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31679
31680         * docs/faq/gst-uninstalled:
31681           add gst-plugins-base
31682         * docs/gst/Makefile.am:
31683           don't error out until docs are fixed
31684         * docs/gst/gstreamer.types:
31685           remove thread
31686
31687 2005-03-22  Wim Taymans  <wim@fluendo.com>
31688
31689         * check/Makefile.am:
31690         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31691         * gst/gststructure.c: (gst_structure_set_valist),
31692         (gst_structure_copy_conditional):
31693         Activated more tests.
31694         Added message test.
31695         Added G_TYPE_POINTER to GstStructure.
31696         
31697
31698 2005-03-22  Wim Taymans  <wim@fluendo.com>
31699
31700         * docs/design/part-TODO.txt:
31701         * docs/design/part-events.txt:
31702         * docs/design/part-gstbin.txt:
31703         * docs/design/part-gstbus.txt:
31704         * docs/design/part-gstpipeline.txt:
31705         * docs/design/part-messages.txt:
31706         * gst/gstbus.c:
31707         * gst/gstmessage.c:
31708         Docs updates
31709
31710 2005-03-21  Wim Taymans  <wim@fluendo.com>
31711
31712         * gst/gstbus.c: (gst_bus_post):
31713         Fix copy-and-paste error.
31714
31715 2005-03-21  Wim Taymans  <wim@fluendo.com>
31716
31717         * check/Makefile.am:
31718         * gst/Makefile.am:
31719         * gst/elements/Makefile.am:
31720         * gst/elements/gstelements.c:
31721         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31722         (gst_fakesink_event), (gst_fakesink_chain):
31723         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31724         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31725         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31726         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31727         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31728         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31729         (gst_fakesrc_loop), (gst_fakesrc_activate),
31730         (gst_fakesrc_change_state):
31731         * gst/elements/gstfakesrc.h:
31732         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31733         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31734         (gst_filesrc_open_file), (gst_filesrc_loop),
31735         (gst_filesrc_activate), (gst_filesrc_change_state),
31736         (filesrc_find_peek), (filesrc_find_suggest),
31737         (gst_filesrc_type_find):
31738         * gst/elements/gstidentity.c: (gst_identity_finalize),
31739         (gst_identity_class_init), (gst_identity_init),
31740         (gst_identity_proxy_getcaps), (identity_queue_push),
31741         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31742         (gst_identity_getrange), (gst_identity_chain),
31743         (gst_identity_sink_loop), (gst_identity_src_loop),
31744         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31745         (gst_identity_set_property), (gst_identity_get_property),
31746         (gst_identity_change_state):
31747         * gst/elements/gstidentity.h:
31748         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31749         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31750         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31751         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31752         (gst_tee_sink_activate):
31753         * gst/elements/gsttee.h:
31754         * gst/gst.c: (gst_register_core_elements), (init_post):
31755         * gst/gst.h:
31756         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31757         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31758         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31759         (gst_bin_change_state):
31760         * gst/gstbin.h:
31761         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31762         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31763         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31764         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31765         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31766         (bus_watch_callback), (bus_watch_destroy),
31767         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31768         (poll_timeout), (gst_bus_poll):
31769         * gst/gstbus.h:
31770         * gst/gstcaps.h:
31771         * gst/gstdata.h:
31772         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31773         (gst_element_post_message), (gst_element_message_full),
31774         (gst_element_get_state_func), (gst_element_get_state),
31775         (gst_element_abort_state), (gst_element_commit_state),
31776         (gst_element_lost_state), (gst_element_set_state),
31777         (gst_element_pads_activate), (gst_element_change_state),
31778         (gst_element_dispose), (gst_element_set_manager_func),
31779         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31780         (gst_element_set_manager), (gst_element_get_manager),
31781         (gst_element_set_bus), (gst_element_get_bus),
31782         (gst_element_set_scheduler), (gst_element_get_scheduler):
31783         * gst/gstelement.h:
31784         * gst/gstevent.c: (gst_event_new_segment_seek),
31785         (gst_event_new_flush):
31786         * gst/gstevent.h:
31787         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31788         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31789         (gst_message_new_eos), (gst_message_new_error),
31790         (gst_message_new_warning), (gst_message_new_tag),
31791         (gst_message_new_state_changed), (gst_message_new_application),
31792         (gst_message_get_structure), (gst_message_parse_tag),
31793         (gst_message_parse_state_changed), (gst_message_parse_error),
31794         (gst_message_parse_warning):
31795         * gst/gstmessage.h:
31796         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31797         (gst_real_pad_set_property), (gst_pad_set_active),
31798         (gst_pad_is_active), (gst_pad_set_blocked_async),
31799         (gst_pad_set_blocked), (gst_pad_is_blocked),
31800         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31801         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31802         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31803         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31804         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31805         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31806         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31807         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31808         (gst_pad_set_caps), (gst_pad_configure_sink),
31809         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31810         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31811         (gst_real_pad_dispose), (gst_real_pad_finalize),
31812         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31813         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31814         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31815         * gst/gstpad.h:
31816         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31817         (pipeline_bus_handler), (gst_pipeline_change_state),
31818         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31819         * gst/gstpipeline.h:
31820         * gst/gstprobe.h:
31821         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31822         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31823         (gst_queue_link_src), (gst_queue_bufferalloc),
31824         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31825         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31826         (gst_queue_loop), (gst_queue_handle_src_event),
31827         (gst_queue_handle_src_query), (gst_queue_src_activate),
31828         (gst_queue_change_state):
31829         * gst/gstqueue.h:
31830         * gst/gstscheduler.c: (gst_scheduler_init),
31831         (gst_scheduler_dispose), (gst_scheduler_create_task),
31832         (gst_scheduler_factory_create):
31833         * gst/gstscheduler.h:
31834         * gst/gststructure.c: (gst_structure_get_type),
31835         (gst_structure_copy_conditional):
31836         * gst/gststructure.h:
31837         * gst/gsttaginterface.h:
31838         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31839         (gst_task_init), (gst_task_dispose), (gst_task_create),
31840         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31841         (gst_task_pause):
31842         * gst/gsttask.h:
31843         * gst/gstthread.c:
31844         * gst/gstthread.h:
31845         * gst/gsttypes.h:
31846         * gst/schedulers/Makefile.am:
31847         * gst/schedulers/cothreads_compat.h:
31848         * gst/schedulers/entryscheduler.c:
31849         * gst/schedulers/faircothreads.c:
31850         * gst/schedulers/faircothreads.h:
31851         * gst/schedulers/fairscheduler.c:
31852         * gst/schedulers/gstbasicscheduler.c:
31853         * gst/schedulers/gstoptimalscheduler.c:
31854         * gst/schedulers/gthread-cothreads.h:
31855         * gst/schedulers/threadscheduler.c:
31856         (gst_thread_scheduler_task_get_type),
31857         (gst_thread_scheduler_task_class_init),
31858         (gst_thread_scheduler_task_init),
31859         (gst_thread_scheduler_task_start),
31860         (gst_thread_scheduler_task_stop),
31861         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31862         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31863         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31864         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31865         (plugin_init):
31866         * libs/gst/Makefile.am:
31867         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31868         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31869         (gst_file_pad_parent_set):
31870         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31871         (gst_dp_event_from_packet):
31872         * tests/complexity.c: (main):
31873         * tests/mass_elements.c: (main):
31874         * testsuite/states/locked.c: (message_received), (main):
31875         * testsuite/states/parent.c: (main):
31876         * tools/gst-inspect.c: (print_element_flag_info),
31877         (print_implementation_info), (print_pad_info):
31878         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31879         (main):
31880         * tools/gst-md5sum.c: (event_loop), (main):
31881         * tools/gst-typefind.c: (main):
31882         * tools/gst-xmlinspect.c: (print_element_info):
31883         Next big merge.
31884         Added GstBus for mainloop integration.
31885         Added GstMessage for sending notifications on the bus.
31886         Added GstTask as an abstraction for pipeline entry points.
31887         Removed GstThread.
31888         Removed Schedulers.
31889         Simplified GstQueue for multithreaded core.
31890         Made _link threadsafe, removed old capsnego.
31891         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31892         Added pad blocking functions.
31893         Reworked scheduling functions in GstPad to prepare for
31894         scheduling updates soon.
31895         Moved events out of data stream.
31896         Simplified GstEvent types.
31897         Added return values to push/pull.
31898         Removed clocking from GstElement.
31899         Added prototypes for state change function for next merge.
31900         Removed iterate from bins and state change management.
31901         Fixed some elements, disabled others for now.
31902         Fixed -inspect and -launch.
31903         Added check for GstBus.
31904
31905 2005-03-10  Wim Taymans  <wim@fluendo.com>
31906
31907         * docs/design/part-MT-refcounting.txt:
31908         * docs/design/part-clocks.txt:
31909         * docs/design/part-gstelement.txt:
31910         * docs/design/part-gstobject.txt:
31911         * docs/design/part-standards.txt:
31912         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31913         (gst_bin_remove_func), (gst_bin_remove):
31914         * gst/gstbin.h:
31915         * gst/gstbuffer.c:
31916         * gst/gstcaps.h:
31917         * testsuite/clock/clock1.c: (main):
31918         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31919         (main):
31920         * testsuite/dlopen/loadgst.c: (do_test):
31921         * testsuite/refcounting/bin.c: (add_remove_test1),
31922         (add_remove_test2), (main):
31923         * testsuite/refcounting/element.c: (main):
31924         * testsuite/refcounting/element_pad.c: (main):
31925         * testsuite/refcounting/pad.c: (main):
31926         * tools/gst-launch.c: (sigint_handler_sighandler):
31927         * tools/gst-typefind.c: (main):
31928         Doc updates.
31929         Added doc about clock.
31930         removed gst_bin_iterate_recurse_up(), marked methods
31931         for removal.
31932         Fix more testsuites.
31933
31934 2005-03-09  Wim Taymans  <wim@fluendo.com>
31935
31936         * gst/gstpad.c: (gst_pad_get_direction),
31937         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31938         (gst_pad_collect_valist):
31939         * testsuite/bins/interface.c: (main):
31940         * testsuite/caps/audioscale.c: (test_caps):
31941         * testsuite/caps/caps.c: (test1), (test2), (test3):
31942         * testsuite/caps/deserialize.c: (main):
31943         * testsuite/caps/enumcaps.c: (main):
31944         * testsuite/caps/filtercaps.c: (main):
31945         * testsuite/caps/intersect2.c: (main):
31946         * testsuite/caps/random.c: (main):
31947         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31948         * testsuite/caps/sets.c: (check_caps):
31949         * testsuite/caps/simplify.c: (check_caps), (main):
31950         * testsuite/caps/subtract.c: (check_caps):
31951         Fix _pad_get_direction wrt ghostpads.
31952         Fix caps testsuite.
31953
31954 2005-03-09  Wim Taymans  <wim@fluendo.com>
31955
31956         * check/Makefile.am:
31957         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31958         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31959         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31960         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31961         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31962         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31963         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31964         (bin_element_is_sink), (gst_bin_iterate_sinks),
31965         (gst_bin_iterate_all_by_interface):
31966         * gst/gstbin.h:
31967         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31968         (gst_element_change_state), (gst_element_dispose),
31969         (gst_element_finalize), (gst_element_set_loop_function):
31970         * gst/gstelement.h:
31971         * gst/gstiterator.c: (find_custom_fold_func):
31972         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31973         (gst_pad_collectv), (gst_pad_collect_valist),
31974         (gst_pad_template_new):
31975         * gst/gstpipeline.c: (gst_pipeline_class_init),
31976         (gst_pipeline_dispose), (gst_pipeline_set_property),
31977         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31978         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31979         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31980         * gst/gstutils.h:
31981         * gst/schedulers/entryscheduler.c:
31982         * gst/schedulers/gstbasicscheduler.c:
31983         (gst_basic_scheduler_cothreaded_chain),
31984         (gst_basic_scheduler_chain_add_element):
31985         * testsuite/bins/interface.c: (main):
31986         Added GstBin test.
31987         Added GstSystemClock test.
31988         Implemented clock distribution code in GstBin.
31989         Implemented iterate sinks method for future use.
31990         Rearranged gstelement.h
31991         Fix GstIterator comparison bug.
31992         Moved some code to GstPipeline, mostly clocking related.
31993
31994 2005-03-09  Wim Taymans  <wim@fluendo.com>
31995
31996         * configure.ac:
31997         * gst/gst_private.h:
31998         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31999         (gst_bin_remove_func), (gst_bin_remove),
32000         (gst_bin_get_by_name_recurse_up):
32001         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
32002         (gst_clock_id_compare_func), (gst_clock_id_wait),
32003         (gst_clock_id_wait_async), (gst_clock_init),
32004         (gst_clock_adjust_unlocked), (gst_clock_get_time):
32005         * gst/gstelement.h:
32006         * gst/gstinfo.c: (_gst_debug_init):
32007         * gst/gstobject.h:
32008         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
32009         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
32010         * gst/gstpad.h:
32011         Bump version number, we're now 0.9.0
32012         Add future debugging category.
32013         Fix NULL _unref() in _get_by_name_recurse_up
32014         Rearrange gstpad.h.
32015         Update some docs.
32016
32017 2005-03-08  Wim Taymans  <wim@fluendo.com>
32018
32019         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
32020         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
32021         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
32022         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
32023         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
32024         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
32025         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
32026         * gst/elements/gstidentity.c: (gst_identity_class_init):
32027         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
32028         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
32029         * gst/elements/gstshaper.c: (gst_shaper_class_init):
32030         * gst/elements/gststatistics.c: (gst_statistics_class_init):
32031         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
32032         (gst_tee_link):
32033         * gst/gstelement.c: (gst_element_class_init),
32034         (gst_element_base_class_init), (gst_element_init),
32035         (gst_element_get_random_pad), (gst_element_wait_state_change),
32036         (gst_element_change_state), (gst_element_dispose),
32037         (gst_element_finalize), (gst_element_set_loop_function):
32038         * gst/gstelement.h:
32039         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
32040         * gst/gstthread.c: (gst_thread_class_init),
32041         (gst_thread_release_children_locks), (gst_thread_change_state):
32042         * gst/schedulers/gstbasicscheduler.c:
32043         (gst_basic_scheduler_loopfunc_wrapper),
32044         (gst_basic_scheduler_chain_wrapper),
32045         (gst_basic_scheduler_src_wrapper),
32046         (gst_basic_scheduler_remove_element):
32047         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
32048         Remove threadsafe properties. Fix elements because GObject
32049         complains when installing a property before declaring a
32050         set/get_property handler.
32051         Rearrange gstelement.h file, use STATE macros for state locks.
32052         Free mutexes in the finalize method instead of dispose.
32053
32054 2005-03-08  Wim Taymans  <wim@fluendo.com>
32055
32056         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
32057         * gst/gstthread.c: (gst_thread_release_children_locks):
32058         Added parentage check.
32059         Fix build og GstThread again.
32060
32061 2005-03-08  Wim Taymans  <wim@fluendo.com>
32062
32063         * docs/design/part-MT-refcounting.txt:
32064         * docs/design/part-conventions.txt:
32065         * docs/design/part-gstobject.txt:
32066         * docs/design/part-relations.txt:
32067         * docs/design/part-standards.txt:
32068         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
32069         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
32070         (gst_bin_get_by_name), (gst_bin_get_by_interface),
32071         (gst_bin_iterate_all_by_interface):
32072         * gst/gstbuffer.h:
32073         * gst/gstclock.h:
32074         * gst/gstelement.c: (gst_element_class_init),
32075         (gst_element_change_state), (gst_element_set_loop_function):
32076         * gst/gstelement.h:
32077         * gst/gstiterator.c:
32078         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
32079         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
32080         (gst_object_dispatch_properties_changed), (gst_object_set_name),
32081         (gst_object_set_parent), (gst_object_unparent),
32082         (gst_object_check_uniqueness):
32083         * gst/gstobject.h:
32084         Docs updates, clean up some headers.
32085
32086 2005-03-07  Wim Taymans  <wim@fluendo.com>
32087
32088         * check/.cvsignore:
32089         * check/Makefile.am:
32090         * check/gst-libs/.cvsignore:
32091         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
32092         * check/gst/.cvsignore:
32093         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
32094         (START_TEST), (gstbus_suite), (main):
32095         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
32096         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
32097         (gst_data_suite), (main):
32098         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
32099         (add_fold_func), (gstiterator_suite), (main):
32100         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
32101         (thread_name_object), (thread_name_object_default),
32102         (gst_object_name_compare), (gst_object_suite), (main):
32103         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
32104         (gst_pad_suite), (main):
32105         * check/gstcheck.c: (gst_check_log_message_func),
32106         (gst_check_log_critical_func), (gst_check_init):
32107         * check/gstcheck.h:
32108         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
32109         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
32110         Added checks.
32111
32112 2005-03-07  Wim Taymans  <wim@fluendo.com>
32113
32114         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
32115         (gst_list_iterator_next), (gst_list_iterator_resync),
32116         (gst_list_iterator_free), (gst_iterator_new_list),
32117         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
32118         (gst_iterator_free), (gst_iterator_push), (filter_next),
32119         (filter_resync), (filter_uninit), (filter_free),
32120         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
32121         (gst_iterator_foreach), (find_custom_fold_func),
32122         (gst_iterator_find_custom):
32123         * gst/gstiterator.h:
32124         Added missing files.
32125
32126 2005-03-07  Wim Taymans  <wim@fluendo.com>
32127
32128         * Makefile.am:
32129         * configure.ac:
32130         * docs/design/part-MT-refcounting.txt:
32131         * docs/design/part-conventions.txt:
32132         * docs/design/part-gstobject.txt:
32133         * docs/design/part-relations.txt:
32134         * examples/mixer/mixer.c: (main):
32135         * examples/thread/thread.c: (eos), (main):
32136         * gst/Makefile.am:
32137         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
32138         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
32139         (gst_spider_plug_from_srcpad):
32140         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
32141         (gst_spider_identity_change_state),
32142         (gst_spider_identity_sink_loop_type_finding):
32143         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32144         * gst/elements/gstidentity.c: (gst_identity_init):
32145         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32146         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32147         * gst/elements/gsttypefindelement.c: (free_entry):
32148         * gst/gst.c:
32149         * gst/gst.h:
32150         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32151         (gst_bin_set_clock_func), (gst_bin_auto_clock),
32152         (gst_bin_set_index), (gst_bin_set_element_sched),
32153         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32154         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32155         (gst_bin_iterate_elements), (iterate_child_recurse),
32156         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32157         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32158         (compare_interface), (gst_bin_get_by_interface),
32159         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32160         * gst/gstbin.h:
32161         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32162         (gst_buffer_default_free), (gst_buffer_default_copy),
32163         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32164         (gst_buffer_create_sub):
32165         * gst/gstbuffer.h:
32166         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32167         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32168         (gst_caps_unref), (gst_static_caps_get),
32169         (gst_caps_remove_and_get_structure), (gst_caps_append),
32170         (gst_caps_append_structure), (gst_caps_remove_structure),
32171         (gst_caps_copy_nth), (gst_caps_set_simple),
32172         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32173         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32174         (gst_caps_structure_intersect_field), (gst_caps_intersect),
32175         (gst_caps_structure_subtract_field), (gst_caps_subtract),
32176         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32177         (gst_caps_structure_figure_out_union),
32178         (gst_caps_switch_structures), (gst_caps_do_simplify),
32179         (gst_caps_replace), (gst_caps_from_string),
32180         (gst_caps_copy_conditional):
32181         * gst/gstcaps.h:
32182         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32183         (_gst_clock_id_free), (gst_clock_id_unref),
32184         (gst_clock_id_compare_func), (gst_clock_id_wait),
32185         (gst_clock_id_wait_async), (gst_clock_class_init),
32186         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32187         (gst_clock_get_time), (gst_clock_set_time_adjust),
32188         (gst_clock_set_property), (gst_clock_get_property):
32189         * gst/gstclock.h:
32190         * gst/gstcompat.h:
32191         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32192         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32193         * gst/gstdata.h:
32194         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32195         (gst_element_requires_clock), (gst_element_provides_clock),
32196         (gst_element_set_clock), (gst_element_clock_wait),
32197         (gst_element_wait), (gst_element_set_time_delay),
32198         (gst_element_is_indexable), (gst_element_add_pad),
32199         (gst_element_add_ghost_pad), (gst_element_remove_pad),
32200         (pad_compare_name), (gst_element_get_static_pad),
32201         (gst_element_request_pad), (gst_element_get_request_pad),
32202         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32203         (gst_element_class_get_pad_template_list),
32204         (gst_element_class_get_pad_template), (gst_element_error_func),
32205         (gst_element_get_random_pad), (gst_element_get_event_masks),
32206         (gst_element_send_event), (gst_element_seek),
32207         (gst_element_get_query_types), (gst_element_query),
32208         (gst_element_get_formats), (gst_element_convert),
32209         (gst_element_is_locked_state), (gst_element_set_locked_state),
32210         (gst_element_sync_state_with_parent), (gst_element_change_state),
32211         (gst_element_finalize), (gst_element_yield),
32212         (gst_element_interrupt), (gst_element_set_scheduler),
32213         (gst_element_get_scheduler), (gst_element_set_loop_function):
32214         * gst/gstelement.h:
32215         * gst/gstevent.h:
32216         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32217         (gst_format_get_by_nick), (gst_format_get_details),
32218         (gst_format_iterate_definitions):
32219         * gst/gstformat.h:
32220         * gst/gstindex.c: (gst_index_gtype_resolver):
32221         * gst/gstinfo.c:
32222         * gst/gstinfo.h:
32223         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32224         (gst_mem_chunk_free):
32225         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32226         (gst_object_ref), (gst_object_unref), (gst_object_sink),
32227         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32228         (gst_object_dispatch_properties_changed),
32229         (gst_object_set_name_default), (gst_object_set_name),
32230         (gst_object_get_name), (gst_object_set_name_prefix),
32231         (gst_object_get_name_prefix), (gst_object_set_parent),
32232         (gst_object_get_parent), (gst_object_unparent),
32233         (gst_object_check_uniqueness), (gst_object_save_thyself),
32234         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32235         (gst_object_set_property), (gst_object_get_property),
32236         (gst_object_get_path_string):
32237         * gst/gstobject.h:
32238         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32239         (gst_real_pad_init), (gst_real_pad_get_property),
32240         (gst_pad_custom_new), (gst_pad_get_direction),
32241         (gst_pad_set_active), (gst_pad_is_active),
32242         (gst_pad_set_event_function), (gst_pad_is_linked),
32243         (gst_pad_link_free), (gst_pad_link_intersect),
32244         (gst_pad_link_fixate), (gst_pad_set_caps),
32245         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32246         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32247         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32248         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32249         (gst_pad_get_caps), (gst_pad_peer_get_caps),
32250         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32251         (gst_pad_realize), (gst_pad_get_allowed_caps),
32252         (gst_real_pad_dispose), (gst_real_pad_finalize),
32253         (gst_pad_collectv), (gst_pad_collect_valist),
32254         (gst_pad_template_dispose), (gst_pad_template_new),
32255         (gst_pad_get_internal_links):
32256         * gst/gstpad.h:
32257         * gst/gstpipeline.c: (gst_pipeline_dispose),
32258         (gst_pipeline_change_state):
32259         * gst/gstpipeline.h:
32260         * gst/gstplugin.c:
32261         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32262         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32263         * gst/gstpluginfeature.h:
32264         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32265         * gst/gstquery.c: (_gst_query_type_initialize),
32266         (gst_query_type_register), (gst_query_type_get_by_nick),
32267         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32268         * gst/gstquery.h:
32269         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32270         * gst/gstscheduler.c: (gst_scheduler_add_element),
32271         (gst_scheduler_factory_create):
32272         * gst/gststructure.c: (gst_structure_set_parent_refcount),
32273         (gst_structure_free), (gst_structure_set_name),
32274         (gst_structure_id_set_value), (gst_structure_set_value),
32275         (gst_structure_set_valist), (gst_structure_remove_field),
32276         (gst_structure_remove_fields),
32277         (gst_structure_remove_fields_valist),
32278         (gst_structure_remove_all_fields), (gst_structure_foreach),
32279         (gst_structure_map_in_place),
32280         (gst_caps_structure_fixate_field_nearest_int),
32281         (gst_caps_structure_fixate_field_nearest_double):
32282         * gst/gststructure.h:
32283         * gst/gstsystemclock.c: (gst_system_clock_class_init),
32284         (gst_system_clock_init), (gst_system_clock_dispose),
32285         (gst_system_clock_async_thread),
32286         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32287         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32288         * gst/gstsystemclock.h:
32289         * gst/gsttag.c: (gst_tag_list_add_value_internal),
32290         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32291         * gst/gsttaginterface.c:
32292         * gst/gstthread.c: (gst_thread_dispose),
32293         (gst_thread_release_children_locks), (gst_thread_change_state),
32294         (gst_thread_main_loop):
32295         * gst/gsttrashstack.h:
32296         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32297         * gst/gsttypes.h:
32298         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32299         (gst_element_request_pad), (gst_element_get_pad_from_template),
32300         (gst_element_request_compatible_pad),
32301         (gst_element_get_compatible_pad_filtered),
32302         (gst_element_get_compatible_pad), (gst_element_state_get_name),
32303         (gst_element_link_pads_filtered), (gst_element_link_filtered),
32304         (gst_element_link_many), (gst_element_link),
32305         (gst_element_link_pads), (gst_element_unlink_pads),
32306         (gst_element_unlink_many), (gst_element_unlink),
32307         (gst_pad_can_link_filtered), (gst_pad_can_link),
32308         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32309         (gst_object_default_error), (gst_bin_add_many),
32310         (gst_bin_remove_many), (gst_element_populate_std_props),
32311         (gst_element_class_install_std_props), (gst_buffer_merge),
32312         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32313         (link_fold_func), (gst_pad_proxy_setcaps):
32314         * gst/gstutils.h:
32315         * gst/gstvalue.c: (gst_value_deserialize_string):
32316         * gst/parse/grammar.y:
32317         * gst/schedulers/gstbasicscheduler.c:
32318         (gst_basic_scheduler_cothreaded_chain),
32319         (gst_basic_scheduler_chain_recursive_add),
32320         (gst_basic_scheduler_pad_link):
32321         * gst/schedulers/gstoptimalscheduler.c:
32322         (get_group_schedule_function),
32323         (gst_opt_scheduler_state_transition),
32324         (gst_opt_scheduler_add_element), (element_get_reachables_func):
32325         * libs/gst/bytestream/bytestream.c:
32326         * libs/gst/dataprotocol/dataprotocol.c:
32327         (gst_dp_header_from_buffer):
32328         * po/nb.po:
32329         * po/ru.po:
32330         * tests/threadstate/threadstate2.c: (eos):
32331         * tools/gst-compprep.c: (main):
32332         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32333         (print_pad_info), (print_children_info):
32334         * tools/gst-launch.c: (idle_func), (main):
32335         * tools/gst-md5sum.c: (idle_func), (main):
32336         * tools/gst-xmlinspect.c: (print_element_info):
32337         First THREADED backport attempt, focusing on adding locks and
32338         making sure the API is threadsafe. Needs more work. More docs
32339         follow this week.
32340
32341 2005-02-24  Andy Wingo  <wingo@pobox.com>
32342
32343         * tests/bench-complexity.scm:
32344         * tests/complexity.gnuplot: New files, good for running complexity
32345         benchmarks.
32346
32347         * tests/Makefile.am:
32348         * tests/complexity.c: New test, sets up N elements, at each level
32349         teeing into M streams per element. Eeeenteresting.
32350
32351         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32352         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32353         running bench-mass_elements.scm.
32354
32355         * tests/bench-mass_elements.scm: New script, runs mass_elements
32356         for various numbers of identities, outputting the results to a
32357         file. Requires guile 1.6. Just for testing.
32358
32359 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32360
32361         * gst/schedulers/fairscheduler.c:
32362           compile with debug disabled
32363
32364 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
32365
32366         * configure.ac:
32367           hunting season on 0.9 is now OPEN