Add API for making a GStreamer plugin 'dependent' on external files, directories...
[platform/upstream/gstreamer.git] / ChangeLog
1 2009-01-06  Tim-Philipp Müller  <tim.muller at collabora co uk>
2
3         * docs/gst/gstreamer-sections.txt::
4         * gst/gst_private.h: (GstPluginDep), (_GstPluginPrivate):
5         * gst/gstplugin.c: (gst_plugin_init), (gst_plugin_finalize),
6           (gst_plugin_class_init), (gst_plugin_list_free),
7           (gst_plugin_ext_dep_get_env_vars_hash),
8           (_priv_plugin_deps_env_vars_changed),
9           (gst_plugin_ext_dep_extract_env_vars_paths),
10           (gst_plugin_ext_dep_get_hash_from_stat_entry),
11           (gst_plugin_ext_dep_direntry_matches),
12           (gst_plugin_ext_dep_scan_dir_and_match_names),
13           (gst_plugin_ext_dep_scan_path_with_filenames),
14           (gst_plugin_ext_dep_get_stat_hash),
15           (_priv_plugin_deps_files_changed), (gst_plugin_ext_dep_free),
16           (gst_plugin_ext_dep_strv_equal), (gst_plugin_ext_dep_equals),
17           (gst_plugin_add_dependency), (gst_plugin_add_dependency_simple):
18         * gst/gstplugin.h: (GstPluginPrivate), (GstPluginFlags),
19           (GST_PLUGIN_DEPENDENCY_FLAG_NONE),
20           (GST_PLUGIN_DEPENDENCY_FLAG_RECURSE),
21           (GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY),
22           (GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX),
23           (GstPluginDependencyFlags), (GstPluginFilter):
24         * gst/gstregistry.c: (gst_registry_scan_path_level):
25         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
26           (gst_registry_binary_save_plugin_dep),
27           (gst_registry_binary_save_plugin),
28           (gst_registry_binary_load_feature),
29           (gst_registry_binary_load_plugin_dep_strv),
30           (gst_registry_binary_load_plugin_dep),
31           (gst_registry_binary_load_plugin):
32         * gst/gstregistrybinary.h: (GST_MAGIC_BINARY_VERSION_STR),
33           (GstBinaryPluginElement), (_GstBinaryDep), (GstBinaryDep):
34         * gst/gstregistryxml.c: (gst_registry_xml_save_plugin):
35           Add API for making a GStreamer plugin 'dependent' on external files,
36           directories or environment variables, so that GStreamer knows when
37           it needs to re-load GStreamer plugins that wrap other plugin systems.
38           Fixes bug #350477.
39           API: add gst_plugin_add_dependency()
40           API: add gst_plugin_add_dependency_simple()
41
42 2009-01-06  Tim-Philipp Müller  <tim.muller at collabora co uk>
43
44         * docs/faq/gst-uninstalled:
45           Add libgstapp-0.10 from -base to search path and remove the old
46           lib from -bad from the search path.
47
48 2009-01-05  Wim Taymans  <wim.taymans@collabora.co.uk>
49
50         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position_last),
51         (gst_base_sink_get_position_paused), (gst_base_sink_get_position):
52         Release the object lock before calling the query convert pad functions
53         to avoid deadlocks.
54
55 2009-01-05  Wim Taymans  <wim.taymans@collabora.co.uk>
56
57         * gst/gstbus.c: (gst_bus_wakeup_main_context):
58         The lock order should be maincontext > OBJECT_LOCK so we need to release
59         the object lock when waking up the mainloop to avoid deadlocks.
60
61 2009-01-05  Wim Taymans  <wim.taymans@collabora.co.uk>
62
63         * gst/gstbin.c: (gst_bin_set_index_func), (gst_bin_set_clock_func),
64         (gst_bin_change_state_func):
65         Use an iterator to set the clock and the index so that we can release
66         the object lock appropriately. Fixes #566393.
67
68 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
69
70         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_available):
71         Use the name of the pads instead of a pointer, helps in debugging.
72
73 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
74
75         * gst/gstindex.c: (gst_index_get_type):
76         Add a debugging category for GstIndex, first little step in making
77         indexing top-notch.
78
79 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
80
81         * gst/gstelement.c: (gst_element_message_full),
82         (gst_element_pads_activate):
83         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
84         * gst/gstutils.c: (gst_pad_proxy_getcaps), (gst_pad_proxy_setcaps),
85         (gst_pad_add_data_probe_full), (gst_pad_add_event_probe_full),
86         (gst_pad_add_buffer_probe_full), (gst_pad_remove_data_probe),
87         (gst_pad_remove_event_probe), (gst_pad_remove_buffer_probe):
88         Assign debug statements to relevant categories instead of the 'default'
89         category so they don't get lost in debugging.
90
91 2009-01-01  Stefan Kost  <ensonic@users.sf.net>
92
93         * gst/gstdebugutils.c:
94           Add some ideas, how to make the graph smaller.
95
96         * gst/gstutils.c:
97           Add a comment from a debug session.
98
99         * libs/gst/base/gstbasetransform.c:
100           Log more context.
101
102         * libs/gst/controller/gstinterpolationcontrolsource.c:
103           Indet.
104
105         * plugins/elements/gstcapsfilter.c:
106           Fix typo in docs.
107
108 2008-12-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
109
110         * gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
111           (gst_bus_wakeup_main_context), (gst_bus_set_main_context),
112           (gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
113           (gst_bus_create_watch):
114           Make GstBusSource work with non-default main contexts (#562170).
115
116         * tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
117           (test_watch), (test_watch_with_custom_context), (gst_bus_suite):
118           Add test case for GstBusSource with a non-default main context.
119
120         * tests/check/libs/.cvsignore:
121           Ignore more.
122
123 2008-12-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
124
125         * gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
126           (unpack_string)::
127           Wrap multi-line macros in G_STMT_{START|END}.
128
129 2008-12-20  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
130
131         * docs/gst/gstreamer-sections.txt:
132         * gst/gstquark.c:
133         * gst/gstquark.h:
134         * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
135         (gst_query_parse_uri):
136         * gst/gstquery.h:
137         API: Add URI query type. This is useful to query the URI
138         of a sink/source element and can be used by demuxers that
139         need to get data from other files.
140         This query should go upstream by default.
141         Fixes bug #562949.
142         * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
143         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
144         (gst_fd_src_query):
145         * plugins/elements/gstfilesink.c: (gst_file_sink_query):
146         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
147         (gst_file_src_query):
148         Implement URI query.
149
150 2008-12-19  Alessandro Decina <alessandro.decina@collabora.co.uk>
151
152         * gst/gstghostpad.c:
153         * tests/check/gst/gstghostpad.c:
154         Don't forward gst_pad_set_caps() on a source ghostpad to its target.
155         That would cause the ghostpad to emit notify::caps two times (fist
156         from gst_pad_set_caps() and after from on_src_target_notify()).
157
158 2008-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
159
160         * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
161         (GST_START_TEST):
162         Add some more unit-tests for the ghostpad notify signal, one of which
163         currently fails.
164
165 2008-12-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
166
167         * win32/common/libgstreamer.def:
168         Add gst_tag_setter_reset_tags to the list of exported symbols.
169
170 2008-12-17  Alessandro Decina  <alessandro.decina@collabora.co.uk>
171
172         * gst/gstghostpad.c:
173         * tests/check/gst/gstghostpad.c:
174         In a source ghostpad, when caps are changed in the target pad, the
175         change needs to be reflected in the ghostpad.
176         Fixes #564863.
177
178 2008-12-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
179
180         * gst/gstutils.c: (gst_element_found_tags_for_pad):
181         Add FIXME for 0.11 to set the pad as message source and not
182         the element. Otherwise it's impossible to detect for which
183         pad the tags were found without adding an event probe
184         or something similar to the pad.
185
186 2008-12-16  Wim Taymans  <wim.taymans@collabora.co.uk>
187
188         * docs/faq/general.xml:
189         Update the faq.
190
191 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
192
193         * docs/gst/gstreamer-sections.txt:
194         * gst/gsttagsetter.c:
195         * gst/gsttagsetter.h:
196           Rename api added in previous commit and add since tag to docs.
197           API: gst_tag_setter_reset_tags()
198
199 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
200
201         * docs/gst/gstreamer-sections.txt:
202         * gst/gsttagsetter.c:
203         * gst/gsttagsetter.h:
204           Add function to reset tagsetter for element reuse.
205
206 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
207
208         * gst/gsttaglist.c:
209           Avoid copy of empty taglist.
210
211 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
212
213         * gst/gsttaglist.c:
214         * tests/check/gst/gsttag.c:
215           More complete unit tests. Fix handling of empty taglists (they were
216           not merged before).
217
218 2008-12-15  Stefan Kost  <ensonic@users.sf.net>
219
220         * gst/gsttaglist.h:
221         * gst/gsttagsetter.c:
222           Update GstTagSetter and GstTagMergeMode documentation. Mention
223           that tags can come from events and from application. Fix example.
224
225 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
226
227         * docs/design/part-TODO.txt:
228         Remove the seqnum entry that we implemented in 0.10 already.
229         Add entry about removing the format return value for queries.
230
231 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
232
233         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
234         (gst_base_sink_init), (gst_base_sink_set_property),
235         (gst_base_sink_get_property):
236         Expose the render-delay as a property so things like appsink can use it
237         to tweak the synchronisation.
238
239 2008-12-10  Peter Kjellerstedt  <pkj@axis.com>
240
241         * libs/gst/check/gstcheck.h: Allow check tests to use
242         MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
243         CK_FORK=no to be used with multiple check test that use threads.
244
245 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
246
247         * gst/gstutils.c: (gst_element_get_compatible_pad):
248         Fix a caps memory leak introduced by the last change.
249
250 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
251
252         * gst/gstutils.c: (gst_element_get_compatible_pad):
253         Check if the caps of the pads are compatible before returning
254         a pad and claiming it is compatible. This, among other things,
255         fixes a bug with gst-launch where an incompatible pad is chosen
256         and linking fails. Fixes bug #544003.
257
258 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
259
260         * libs/gst/check/gstcheck.c: (gst_check_init):
261         Revert accidentially commited patch for bug #404631 which
262         tries to print a backtrace if a testcase is terminated by
263         a signal. This code was never activated as the corresponding
264         configure.ac change wasn't committed.
265
266 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
267
268         * tests/check/libs/controller.c: (GST_START_TEST):
269         This test should return TRUE now as syncing an uncontrolled
270         object will succeed now (there's nothing to sync).
271
272 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
273
274         * libs/gst/controller/gstcontroller.c:
275           Aggregate return value for gst_controller_sync_values(). More info in
276           logging. Always set values on first sync-call.
277
278         * libs/gst/controller/gstcontrolsource.c:
279           Microoptimizations.
280
281         * libs/gst/controller/gsthelper.c:
282           Fix return code and comment.
283
284 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
285
286         * tools/gst-launch.1.in:
287           Fix description of how to specify a type in caps. Fixes #553873.
288           Also ranges and list contain values and not property-assignments.
289
290 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
291
292         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
293         Check for changed pads-list before checking the last returned
294         GstFlowReturn because the pad could have been removed and we
295         need to ignore the value in that case.
296
297 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
298
299         * libs/gst/base/gstbasetransform.c:
300         (gst_base_transform_prepare_output_buffer),
301         (gst_base_transform_getrange), (gst_base_transform_chain):
302         * libs/gst/base/gstbasetransform.h:
303         Add vmethod that is called before we start the transform and which can
304         be used to configure the transform, such as dynamic properties.
305
306 2008-12-05  David Schleef  <ds@schleef.org>
307
308         * gst/gst.c:
309         Search for plugins on win32 based on the location of the
310         gstreamer DLL.  Fixes #548786
311
312 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
313
314         * configure.ac:
315         Apparently AC_CONFIG_MACRO_DIR breaks when using more
316         than one macro directory, reverting last change.
317
318 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
319
320         * configure.ac:
321         Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
322         our M4 macros.
323
324 2008-11-29  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
325
326         Patch by: Cygwin Ports maintainer
327                   <yselkowitz at users dot sourceforge dot net>
328
329         * autogen.sh:
330         * configure.ac:
331         Require gettext 0.17 because older versions don't mix with libtool
332         2.2. At build time an older gettext version will still work.
333         Fixes bug #556091.
334
335 2008-11-27  Wim Taymans  <wim.taymans@collabora.co.uk>
336
337         Patch by: 이문형 <iwings at gmail dot com>
338
339         * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
340         Adds support for FD_CONNECT event (win32). See #562258.
341
342 2008-11-24  Stefan Kost  <ensonic@users.sf.net>
343
344         * libs/gst/base/gstbasesink.c:
345           Turn comment into gtk-doc comment.
346
347 2008-11-24  Wim Taymans  <wim.taymans@collabora.co.uk>
348
349         * libs/gst/base/gstbasetransform.c:
350         (gst_base_transform_acceptcaps):
351         Revert quick accepcaps attempt, it's not fully equivalent to the old
352         behaviour and thus causes regressions.
353
354 2008-11-24  Edward Hervey  <edward.hervey@collabora.co.uk>
355
356         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
357         Fix memory leak.
358
359 2008-11-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
360
361         Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
362
363         * gst/gstregistry.c: (gst_registry_scan_path_level):
364         Reduce the number of stat() calls for every file from three times
365         to one time. Fixes bug #560360.
366
367 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
368
369         * libs/gst/base/gstbasetransform.c:
370         (gst_base_transform_acceptcaps):
371         Rename a variable to make the code clearer.
372
373 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
374
375         * plugins/elements/gstidentity.c:
376         Don't warning on offset==-1. Taken from _check_imperfect_offset().
377
378 2008-11-21  Michael Smith <msmith@songbirdnest.com>
379
380         * plugins/elements/gstfilesrc.c:
381           Check for localhost in URI was backwards, fix it. Fixes unit test.
382
383 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
384
385         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
386         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
387         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
388         Add beginnings of a more optimized acceptcaps function than the default
389         core one.
390
391 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
392
393         * gst/gstpad.c: (gst_pad_accept_caps):
394         Avoid getting the acceptcaps function too early.
395
396 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
397
398         * tools/gst-launch.c: (event_loop):
399         Make gst-launch handle LATENCY messages and make it recalculate the
400         latency.
401
402 2008-11-20  Michael Smith <msmith@songbirdnest.com>
403
404         * plugins/elements/gstfilesrc.c:
405           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
406           out own slightly incorrect version. Fixes use of some paths on
407           win32.
408
409 2008-11-20  Michael Smith <msmith@songbirdnest.com>
410
411         * gst/gstregistrybinary.c:
412           In win32 codepath, if we fail to write the registry, create the
413           directory for it and try again, matching the behaviour in non-win32
414           codepaths.
415
416 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
417
418         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
419         Changing the render delay changes the latency and so we must post a
420         latency message.
421
422 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
423
424         * gst/gstquery.c:
425         * gst/gstquery.h:
426         Add GstQueryType for custom queries instead of having to use the
427         not-so-very-convenient registration infrastructure to register new
428         types.
429
430 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
431
432         Patch by: Andrew Feren <acferen at yahoo dot com>
433
434         * gst/gstobject.c: (gst_object_default_deep_notify):
435         Unref the GEnumClass after usage again. Fixes bug #561501.
436
437 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
438
439         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
440         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
441         (gst_bin_change_state_func):
442         * gst/gstbin.h:
443         Add do-latency signal with the old default fallback implementation. This
444         allows for custom latency calculations for when the default is not
445         sufficient.
446         API: GstBin::do-latency signal.
447
448 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
449
450         * win32/common/libgstreamer.def:
451         Add new symbols to .def file.
452
453 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
454
455         * docs/gst/gstreamer-sections.txt:
456         * gst/gstbin.c: (gst_bin_recalculate_latency),
457         (gst_bin_change_state_func):
458         * gst/gstbin.h:
459         Add method to recalculate and redistribute the latency on a bin.
460         API: gst_bin_recalculate_latency().
461
462 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
463
464         * gst/gstbuffer.h:
465         Document the free_func.
466
467 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
468
469         * libs/gst/controller/gstinterpolation.c:
470         * libs/gst/controller/gstlfocontrolsource.c:
471         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
472         as it is mapped to a cast on non-win32 platforms.
473
474 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
475
476         * libs/gst/controller/gstcontroller.c:
477         * libs/gst/controller/gstcontrollerprivate.h:
478           Keep last-value and only call set_property if value has changed. This
479           supresses all the g_object_notifies we would trigger otherwise. It
480           also allows the user to chage the value while there is no controller
481           change.
482
483 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
484
485         * gst/gstvalue.c:
486           Don't crash if either of the string GValues is empty.
487
488 2008-11-17  Andy Wingo  <wingo@pobox.com>
489
490         * tools/gst-inspect.c (print_all_uri_handlers): New function,
491         prints a summary of what URI schemes are supported by what
492         elements.
493         (main): Plumb in support for --uri-handlers or -u, and fix the
494         argc check for -a and -u.
495
496 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
497
498         * gst/gstutils.h:
499         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
500         conversion functions.
501
502 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
503
504         * gst/gstbuffer.c: (gst_buffer_finalize):
505         Avoid costly typechecking for trivially correct pointers.
506
507         * gst/gstpoll.c: (gst_poll_wait):
508         Add some G_LIKELY here and there.
509
510         * libs/gst/base/gstadapter.c: (gst_adapter_push):
511         Add some debug info.
512
513 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
514
515         * docs/random/wtay/poll-timeout:
516         Small tweaks.
517
518 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
519
520         * tests/old/testsuite/caps/intersection.c: (main):
521         * tests/old/testsuite/plugin/loading.c: (main):
522         Remove references to deprecated API g_mem_chunk*.
523         Fixes #560442.
524
525 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
526
527         * tools/gst-inspect.c: (main):
528         Add --plugin option. Fixes #560301.
529
530 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
531
532         * docs/random/wtay/poll-timeout:
533         Quick braindump for a possible (not totally verified) atomic case.
534
535 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
536
537         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
538         (gst_registry_binary_initialize_magic),
539         (gst_registry_binary_write_cache),
540         (gst_registry_binary_check_magic):
541         * gst/gstregistrybinary.h:
542         Don't write and check a CRC for the binary registry file. It's
543         guaranteed that the registry is completely written (it's first written
544         to a temporary file and then moved) and if the registry was corrupted
545         by some hardware failure we would have bigger problems.
546
547         Bump binary registry version to 0.10.21.1 for this as it's an
548         incompatible change and to ensure that the registry gets rebuild
549         after the update.
550
551         This saves some milliseconds for reading/writing the registry.
552         Fixes bug #560399.
553
554 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
555
556         * docs/random/wtay/poll-timeout:
557         Some pseudo code for how we could implement clock timeouts with GstPoll.
558
559 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
560
561         * plugins/elements/gstfilesink.c:
562           Update Author string to match others.
563
564 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
565
566         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
567         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
568         being fixed and inline the trivial check.
569
570 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
571
572         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
573         (gst_caps_merge_structure), (gst_caps_get_structure),
574         (gst_caps_copy_nth), (gst_caps_set_simple),
575         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
576         (gst_caps_is_equal_fixed), (gst_caps_intersect),
577         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
578         (gst_caps_to_string):
579         Callgrind micro optimisations.
580         Avoid array bounds checks and force inline of trivial function.
581
582         * gst/gstobject.c: (gst_object_set_name_default):
583         -1 is equivalent to letting glib to the strlen but then there is more
584         room for optimisations and it's not our fault.
585
586         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
587         no need to clear the array, we're cool.
588
589         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
590         The most common _is_fixed() check is done on fundamental glib base
591         types so we check this first instead of doing a huge amount of
592         useless GST_TYPE_ARRAY calls.
593
594 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
595
596         * gst/gstevent.h:
597         Add a SKIP seek flag for use with advanced trickmodes.
598         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
599
600 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
601
602         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
603         No need to memset, we can clear the value ourselves.
604
605         * gst/gstvalue.c: (gst_type_is_fixed),
606         (gst_value_get_compare_func):
607         Some optimisations from a few callgrind sessions:
608         When checking if a type is fixed, check for trivial fundamental types
609         first before checking types for which we need to get the type followed
610         by the heavy duty type checks, this reduces the amount of
611         g_type_fundamental() calls a lot.
612         When getting the compare function, first check for our registered types.
613         If that fails, do the heavy duty g_type_is_a() checks, reduces the
614         amount of g_type_is_a() considerably.
615
616 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
617
618         * docs/design/part-TODO.txt:
619         Mumble something about removing GstXML.
620
621 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
622
623         * gst/gstbin.c: (gst_bin_handle_message_func):
624         Get the seqnum before we dispose the message.
625
626 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
627
628         * docs/design/part-TODO.txt:
629         Refer to the framestepping document.
630
631 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
632
633         * gst/gstbin.c: (bin_handle_async_start),
634         (gst_bin_handle_message_func), (gst_bin_query):
635         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
636         (gst_base_sink_event), (gst_base_sink_change_state):
637         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
638         (gst_base_src_loop), (gst_base_src_change_state):
639         Copy seqnums from events to messages so that they can all be related
640         back to eachother.
641
642 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
643
644         * tools/gst-launch.c: (event_loop):
645         Print the message seqnums.
646
647 2008-11-04  Andy Wingo  <wingo@pobox.com>
648
649         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
650
651 2008-11-04  Andy Wingo  <wingo@pobox.com>
652
653         Add sequence numbers to events and messages. See #559250.
654
655         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
656         API: New functions.
657
658         * gst/gstevent.h:
659         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
660         events with a new sequence number, and copy it when copying.
661         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
662         an event's sequence number.
663
664         * gst/gstmessage.h:
665         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
666         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
667         so with messages.
668
669         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
670
671 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
672
673         * docs/manual/advanced-position.xml:
674         * docs/manual/basics-bins.xml:
675         * docs/manual/basics-bus.xml:
676         * docs/manual/basics-pads.xml:
677         * docs/manual/intro-gstreamer.xml:
678         * docs/manual/intro-preface.xml:
679         Some Application Development Manual fixes thanks to
680         Andrew Feren. Fixes #558459.
681
682 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
683
684         * gst/gstregistrybinary.c:
685           Don't bother with the GTimer if we don't output the results.
686
687 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
688
689         Patch by: David Schleef  <ds@schleef.org>
690
691         * libs/gst/net/Makefile.am:
692         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
693
694 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
695
696         * gst/gstregistrybinary.c:
697           Oh my, studip, stupid me. Remove double stat() call.
698
699 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
700
701         * gst/gstpreset.c:
702           Use g_unlink instead of unlink.
703
704         * gst/gststructure.c:
705           Use glib type.
706
707         * gst/gstutils.c:
708           Add a FIXME:.
709
710         * gst/gsttaglist.c:
711         * gst/gsttypefind.c:
712         * gst/gstvalue.c:
713           Formatting & whitespaces.
714
715 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
716
717         * plugins/elements/gstidentity.c:
718           Doc typo. Use return value of parent_class->event.
719   
720         * plugins/elements/gsttypefindelement.c:
721           Chain up at the end for consistency.
722   
723 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
724
725         * docs/Makefile.am:
726         * docs/gst/gstreamer-docs.sgml:
727         * docs/gst/gstreamer-sections.txt:
728         * docs/gst/running.xml:
729         * docs/libs/gstreamer-libs-docs.sgml:
730           Change to xinclude based build - its faster and easier to maintain.
731
732 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
733
734         * gst/gstregistrybinary.c:
735         * gst/gstregistryxml.c:
736           Use g_unlink() as none of these are directories.
737
738 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
739
740         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
741         Some more comments.
742
743 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
744
745         * libs/gst/base/gstbasetransform.c:
746         (gst_base_transform_find_transform), (gst_base_transform_getrange):
747         If we have a fixate function, call it even if we already have fixed caps
748         because the subclass might add some caps. Makes audioconvert add a
749         default channel layout.
750
751 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
752
753         * libs/gst/base/gstbasetransform.c:
754         (gst_base_transform_prepare_output_buffer),
755         (gst_base_transform_getrange):
756         Clear the output buffer variable.
757         Cleanups to the error path in the getrange function.
758         Fixes #557649.
759
760 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
761
762         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
763         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
764         Use gst_buffer_try_new_and_alloc() and handle errors instead of
765         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
766         be allocated.
767
768 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
769
770         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
771         Set the last_stop to a more meaningful position when configuring the
772         segment. ie. the start/stop of the segment or clipped against the
773         updated segment boundaries.
774
775         * tests/check/gst/gstsegment.c: (GST_START_TEST):
776         Add some unit tests for the last_stop.
777
778 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
779
780         * libs/gst/base/gstbytereader.c:
781         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
782         copies of them.
783
784 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
785
786         * docs/gst/gstreamer-sections.txt:
787         * gst/gstutils.h:
788         API: Move float endianness conversion macros from libgstfloatcast
789         to core as it's useful in general, even in core. Fixes bug #555196.
790         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
791         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
792         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
793
794         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
795         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
796         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
797         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
798
799 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
800
801         * docs/libs/gstreamer-libs-sections.txt:
802         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
803         (gst_byte_reader_peek_data):
804         * libs/gst/base/gstbytereader.h:
805         * win32/common/libgstbase.def:
806         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
807         to get a pointer to the data at the current position and have
808         a guaranteed size.
809
810 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
811
812         * configure.ac:
813         Fix a bug in the output of the configure script summary
814         when --gst-disable-registry is supplied
815
816 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
817
818         * libs/gst/base/gstbitreader.c:
819         * libs/gst/base/gstbytereader.c:
820         Fix the names of 2 functions in the docs strings.
821
822 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
823
824         * libs/gst/base/gstbasetransform.c:
825         (gst_base_transform_prepare_output_buffer),
826         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
827         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
828         refcount problems as seen in banshee and maybe also in farsight2.
829         Remove atomic int now that we need to take the lock anyways.
830
831 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
832
833         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
834         (gst_base_sink_default_prepare_seek_segment),
835         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
836         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
837         (gst_base_sink_query):
838         Implement more seeking in pull mode.
839         Use pad convert functions to convert position to the requested format.
840         Fix position/duration reporting in pull mode.
841         Implement position and duration reporting in other formats than time.
842
843         * libs/gst/base/gstbasesink.h:
844         Add member to keep track of when the segment is playing.
845
846 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
847
848         * gst/gstpad.c: (gst_pad_configure_src):
849         When we use gst_pad_alloc_buffer() without wanting to set the caps we
850         also don't need to check if the caps are compatible because the caller
851         presumably is going to perform its own custom checks. Fixes some cases
852         where basetransform elements would error out when it was not needed.
853
854 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
855
856         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
857         Update comment.
858
859         * libs/gst/base/gstbasetransform.c:
860         (gst_base_transform_handle_buffer),
861         (gst_base_transform_reconfigure):
862         Add some debug info.
863
864         * win32/common/libgstbase.def:
865         Add new method.
866
867 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
868
869         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
870           Remove duplicated assignment and log a message in failure case.
871
872 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
873
874         Patch by: Dig Ge <dig.ge.cn at gmail com>
875
876         * tests/examples/helloworld/helloworld.c: (main):
877           Fix copy'n'paste bug in hello world example (#556900).
878
879 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
880
881         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
882         (gst_base_sink_query):
883         Query the total number of bytes when activating the pad in pull mode.
884         Implement duration query in pull mode by using the installed pad convert
885         function to convert from bytes to the requested format.
886
887 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
888
889         * docs/libs/gstreamer-libs-sections.txt:
890         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
891         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
892         (gst_base_sink_event), (gst_base_sink_perform_seek),
893         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
894         (gst_base_sink_send_event), (gst_base_sink_change_state):
895         * libs/gst/base/gstbasesink.h:
896         Add method to commit the state in subclasses.
897         Refactor the flush_start and flush_stop code because we need it for
898         flushing while seeking too.
899         Implement the beginnings of seeking in pull mode.
900         Use the segment last_stop field for the pulling offset.
901         Fix the pause method in pull mode.
902         Configure the segment to BYTES for pull mode.
903         API: GstBaseSink::gst_base_sink_do_preroll()
904
905 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
906
907         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
908         Update some docs.
909
910 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
911
912         * gst/gstquark.c: (_priv_gst_quarks_initialize):
913           Fix printf format warning.
914
915 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
916
917         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
918         Fix flow aggregation of tee. Error out immediately for all flow returns
919         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
920         and return OK if at least one pad is linked.
921
922         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
923         and otherwise returned the flow return of the last pad, which is wrong.
924         
925         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
926         (GST_START_TEST), (tee_suite):
927         Add unit tests for the flow aggregation.
928
929 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
930
931         * docs/design/part-TODO.txt:
932         Remove item from the todo list because it was fixed with the latency
933         state change rewrites.
934
935         * docs/design/part-seeking.txt:
936         * docs/design/part-segments.txt:
937         Update some docs.
938
939         * gst/gstevent.c: (gst_event_new_new_segment_full),
940         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
941         (gst_event_parse_buffer_size), (gst_event_new_qos),
942         (gst_event_parse_qos), (gst_event_new_seek),
943         (gst_event_parse_seek), (gst_event_new_latency),
944         (gst_event_parse_latency):
945         Use quarks to construct and parse events.
946
947         * gst/gstquark.c: (_priv_gst_quarks_initialize):
948         * gst/gstquark.h:
949         Add some more quarks to the table.
950         Emit a warning when the quark tables are not in sync.
951
952         * tests/check/gst/gstbus.c: (GST_START_TEST):
953         Add an assert.
954
955 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
956
957         * plugins/elements/Makefile.am:
958         * plugins/indexers/Makefile.am:
959           Don't install static libs for plugins. Fixes #550851 for core.
960
961 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
962
963         * gst/gstbus.c: (gst_bus_source_finalize),
964         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
965         (gst_bus_enable_sync_message_emission),
966         (gst_bus_disable_sync_message_emission),
967         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
968         Fix deadlock, g_source_get_id() cannot be called in finalize.
969         Keep track of the watch source by keeping a pointer to the source object
970         instead.
971         Use the bus lock to protect access to the pointer to the current
972         watch source.
973
974 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
975
976         Base on Patch by: Olivier Crete <tester at tester dot ca>
977
978         * gst/gstbus.c: (gst_bus_source_finalize),
979         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
980         Only allow one bus watch to be set at a time. This is necessary
981         because the dispatcher pops the message from the bus and the second
982         watcher will then get NULL or the next message (and the first won't
983         get this next message then, etc). If more than one "watcher" is
984         required signal watches should be used. Fixes bug #526044.
985
986 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
987
988         * tools/gst-launch.c:
989         Change the printing of the 'buffering...' output to avoid putting
990         a \r in a translateable string (flagged by the TP).
991
992 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
993
994         * gst/gstxml.c:
995         Clarify that the save_thyself() and restore_thyself() virtual
996         functions of GstObject need to be overriden, not
997         gst_object_(save|restore)_thyself() which is impossible.
998         Fixes bug #555700.
999
1000 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
1001
1002         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
1003         Revert a patch from 21 months ago that broke caps negotiation in pull
1004         mode. Basically, having a buffer pass over a pad will trigger the
1005         setcaps function when caps change, just like in push mode.
1006
1007 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
1008
1009         * docs/design/part-negotiation.txt:
1010         Update the docs some more.
1011
1012         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1013         If we pull a buffer with non-trivial caps, suggest those caps with the
1014         max probability.
1015
1016 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
1017
1018         * docs/design/part-TODO.txt:
1019         Add another limitation of pad-blocking with segment seeks not pushing
1020         EOS events.
1021
1022 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
1023
1024         * win32/common/libgstbase.def:
1025         * win32/common/libgstreamer.def:
1026         Add new symbols to the win32 defs files
1027
1028 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
1029
1030         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
1031         (gst_bin_handle_message_func):
1032         The message src can be NULL, don't try to print the object names in that
1033         case.
1034
1035         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
1036         Add some more debug info.
1037
1038         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
1039         (GST_START_TEST):
1040         Add some debug.
1041         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
1042         scheduling modes.
1043
1044 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
1045
1046         * docs/design/part-negotiation.txt:
1047         Small doc update.
1048
1049         * docs/libs/gstreamer-libs-sections.txt:
1050         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1051         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
1052         (gst_base_sink_init), (gst_base_sink_set_blocksize),
1053         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
1054         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
1055         (gst_base_sink_loop), (gst_base_sink_pad_activate),
1056         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1057         (gst_base_sink_change_state):
1058         * libs/gst/base/gstbasesink.h:
1059         Add blocksize property and methods to control the amount of data
1060         to pull.
1061         Negotiate first before activating upstream in pull mode so that they can
1062         negotiate themselves.
1063         When we operate in pull mode, we only accept the caps that we
1064         negotiated.
1065         Make the sink go ASYNC to PAUSED, like all other sinks.
1066         API: GstBaseSink::gst_base_sink_set_blocksize()
1067         API: GstBaseSink::gst_base_sink_get_blocksize()
1068         API: GstBaseSink::blocksize
1069
1070         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1071         (gst_base_src_set_live), (gst_base_src_is_live),
1072         (gst_base_src_set_format), (gst_base_src_query_latency),
1073         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
1074         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
1075         (gst_base_src_set_property), (gst_base_src_get_property):
1076         * libs/gst/base/gstbasesrc.h:
1077         Add typechecking in public API functions.
1078         Add methods to control the blocksize in subclasses.
1079         API: GstBaseSrc::gst_base_src_set_blocksize()
1080         API: GstBaseSrc::gst_base_src_get_blocksize()
1081
1082 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
1083
1084         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
1085         (buffer_probe), (event_probe), (GST_START_TEST):
1086         We now see 3 events go through our pad, since basesink now sends
1087         upstream latency events.
1088
1089 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1090
1091         * gst/gstpipeline.c: (gst_pipeline_change_state):
1092         Release the object lock before trying to flush the bus.
1093
1094 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1095
1096         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1097         Forward LATENCY events upstreams so that elements know about the total
1098         pipeline latency. Fixes #555307.
1099
1100 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
1101
1102         * plugins/elements/gstqueue.c:
1103         Allow through queries when we don't know how
1104         to adjust them (not TIME or BYTES), as otherwise it's
1105         not possible to query the current position in order
1106         to seek in other formats at all.
1107
1108 2008-10-08  Andy Wingo  <wingo@pobox.com>
1109
1110         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
1111
1112 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1113
1114         * gst/gstghostpad.c:
1115         * gst/gstghostpad.h:
1116         Unbreak -good build, private is a reserved c++ keyword.
1117
1118 2008-10-08  Andy Wingo  <wingo@pobox.com>
1119
1120         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
1121         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
1122         removal: re-add GST_GHOST_PAD_CAST to the header.
1123
1124         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
1125         (GstGhostPadClass): Publically expose these structures so as to
1126         allow easy subclassing from C. Hide the member data behind a
1127         private opaque data pointer.
1128
1129         * gst/gstghostpad.c: Adapt to store instance data in the type
1130         instance's private data region, not in the public struct.
1131
1132 2008-10-08  Andy Wingo  <wingo@pobox.com>
1133
1134         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1135         template via g_object_get(), be sure to unref it.
1136
1137         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1138
1139 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1140
1141         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1142         If we can't get a cache file don't try to save something to it.
1143         Dereferencing NULL pointers usually isn't a good idea.
1144
1145 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1146
1147         * tests/check/Makefile.am:
1148         * tests/check/gst/gstabi.c:
1149         * tests/check/gst/struct_sparc.h:
1150         * tests/check/libs/libsabi.c:
1151         * tests/check/libs/struct_sparc.h:
1152         Add Sparc ABI checks
1153
1154         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1155         Cast signed integer to unsigned to avoid a compiler warning.
1156
1157 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1158
1159         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1160         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1161         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1162         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1163         (gst_byte_reader_peek_int24_be):
1164         Use new GST_READ_UINT24_(LE|BE) macros.
1165
1166 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1167
1168         * docs/gst/gstreamer-sections.txt:
1169         * gst/gstutils.h:
1170         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1171         as it's too easy to break the ISO C strict aliasing rules with simple
1172         casts to the corresponding type and this would introduce hard to debug
1173         bugs. Fixes bug #545714.
1174
1175         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1176
1177 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1178
1179         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1180         * gst/gstghostpad.c: (gst_ghost_pad_construct):
1181           Add 'Since' bits to gtk-doc chunks for new API.
1182
1183 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
1184
1185         * docs/gst/gstreamer-sections.txt:
1186         Fix documentation
1187
1188 2008-10-06  Andy Wingo  <wingo@pobox.com>
1189
1190         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1191         that will be called on the malloc_data to free it. Basically a way
1192         to avoid subclassing when all you need is a different free
1193         function, i.e. free() instead of g_free().
1194
1195         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1196         calling the free function.
1197         (gst_buffer_init): Initialize the free function to g_free.
1198
1199 2008-10-06  Andy Wingo  <wingo@pobox.com>
1200
1201         * gst/gstghostpad.h:
1202         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1203         finishes the initialization of ghost pad. Useful for language
1204         bindings and subclassers of GstGhostPad. Fixes #539108.
1205         (gst_ghost_pad_new_full): Use the new constructor.
1206
1207 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1208
1209         Base on Patch by: Olivier Crete <tester at tester dot ca>
1210
1211         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1212         (gst_bin_remove_func), (update_degree),
1213         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1214         Keep track of pads that are being linked/unlinked and resync the state
1215         changes.
1216
1217         * gst/gstpad.c: (gst_pad_get_direction),
1218         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1219         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1220         (gst_pad_link_prepare), (gst_pad_link),
1221         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1222         (gst_pad_check_pull_range), (gst_pad_get_range),
1223         (gst_pad_pull_range):
1224         Some code cleanups, use macros to check pad direction.
1225         Don't need to take the lock on the pad direction.
1226         Post structure change when pads are linked/unlinked.
1227         Change some checks into _return_if_fail().
1228
1229         * tests/check/gst/gstbin.c:
1230         (test_link_structure_change_state_changed_sync_cb),
1231         (GST_START_TEST), (gst_bin_suite):
1232         Add testcase for pad link/unlinke resync during a state change.
1233         Fixes #510354.
1234
1235 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1236
1237         * docs/gst/gstreamer-sections.txt:
1238         * gst/gstmessage.c: (gst_message_new_structure_change),
1239         (gst_message_parse_structure_change):
1240         * gst/gstmessage.h:
1241         Implement STRUCTURE_CHANGED messages. These messages will be used to
1242         signal the parent bin of link/unlink operations that could require a
1243         resync when doing a state change. See ##510354.
1244         API: gst_message_new_structure_change()
1245         API: gst_message_parse_structure_change()
1246
1247 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1248
1249         * gst/gstquark.c:
1250         * gst/gstquark.h:
1251         Add some more quarks for new message. See #510354.
1252
1253 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1254
1255         * docs/libs/gstreamer-libs-docs.sgml:
1256         * docs/libs/gstreamer-libs-sections.txt:
1257         * libs/gst/base/Makefile.am:
1258         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1259         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1260         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1261         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1262         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1263         (gst_bit_reader_skip_to_byte):
1264         * libs/gst/base/gstbitreader.h:
1265         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1266         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1267         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1268         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1269         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1270         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1271         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1272         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1273         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1274         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1275         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1276         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1277         * libs/gst/base/gstbytereader.h:
1278         * tests/check/Makefile.am:
1279         * tests/check/libs/bitreader.c: (GST_START_TEST),
1280         (gst_bit_reader_suite):
1281         * tests/check/libs/bytereader.c: (GST_START_TEST),
1282         (gst_byte_reader_suite):
1283         API: Add bit reader and byte reader classes, including documentation
1284         and an extensive unit test suite. Fixes bug #553554.
1285
1286 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1287
1288         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1289         (gst_base_sink_query):
1290         Improve position reporting while flushing and other intermediate state
1291         changes. Fixes #553874.
1292
1293 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1294
1295         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1296
1297         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1298         Original patch by : Simon Descaries
1299         Fix small refount leak in caps compatibility check.
1300         Fixes #551676.
1301
1302 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1303
1304         * docs/pwg/advanced-request.xml:
1305           Fix 0.8 api usage in example. Fixes #554561
1306
1307         * docs/pwg/appendix-porting.xml:
1308           Change 0.9 to 0.10 here.
1309
1310 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1311
1312         * docs/manual/basics-data.xml:
1313           Change "event-event interaction" to "element-element interaction".
1314           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1315           updates.
1316
1317 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
1318
1319         * configure.ac:
1320         Back to development -> 0.10.21.1
1321
1322 === release 0.10.21 ===
1323
1324 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
1325
1326         * configure.ac:
1327           releasing 0.10.21, "Take These Things From Me"
1328
1329 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1330
1331         * configure.ac:
1332         0.10.20.4 pre-release
1333
1334 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1335
1336         * libs/gst/base/gstbasetransform.c:
1337         * plugins/elements/gstcapsfilter.c:
1338         * tests/check/Makefile.am:
1339         * tests/check/elements/.cvsignore:
1340         * tests/check/elements/capsfilter.c:
1341         Fix assertion in basetransform when the subclass chooses not to
1342         allocate a buffer in prepare_buffer(), and make capsfilter error out
1343         cleanly if requested to apply caps that don't completely specify the
1344         buffer. Fixes #551509
1345
1346 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1347
1348         * libs/gst/base/gstbasetransform.c:
1349         (gst_base_transform_prepare_output_buffer):
1350         Take new caps ref because our old one might have been gone when the
1351         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1352
1353 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
1354
1355         * configure.ac:
1356           Do not probe availability of check unit test library when cross
1357           compiling, as test would not work anyway. Also cleanup verbose output
1358           of the check test. Fixes #551952.
1359
1360 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1361
1362         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1363
1364         * gst/gstelement.c: (gst_element_sync_state_with_parent):
1365         Avoid leaking the parent ref when we fail changing the state of the
1366         element using gst_element_sync_state_with_parent(). Fixes #551978.
1367
1368 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1369
1370         * docs/manual/intro-motivation.xml::
1371           Remove some bits that no longer apply, update others (#551642).
1372
1373 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1374
1375         * configure.ac:
1376         0.10.20.2 pre-release
1377
1378         * po/LINGUAS:
1379         * po/id.po:
1380         * po/pt_BR.po:
1381
1382         New translations.
1383
1384 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1385
1386         * win32/common/config.h.in:
1387           Add GST_DATADIR, hard-code cpu to x86.
1388
1389         * win32/common/libgstreamer.def:
1390           Spaces to tabs.
1391
1392 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1393
1394         * gst/gsttaglist.h:
1395           Fix Since: markers for new geo tags.
1396
1397 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1398
1399         * gst/gsttaglist.h:
1400           Fix actual tag name define after renaming from altitude to elevation.
1401
1402 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1403
1404         * gst/gstpad.c: (add_unref_pad_to_list),
1405         (gst_pad_get_internal_links_default):
1406         Add fallback when calling the deprecated function on an element that
1407         implements the new internal_link handler.
1408
1409 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1410
1411         * docs/gst/gstreamer-sections.txt:
1412         * gst/gsttaglist.c:
1413         * gst/gsttaglist.h:
1414           Add new tags for geo location and clarify purpose of existing location
1415           tag. Fixes #481169
1416
1417 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1418
1419         Patch by: Olivier Crete <tester at tester dot ca>
1420
1421         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1422         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1423         Use thread-safe internal links iterator. Fixes #549504.
1424
1425 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1426
1427         Based on patch by: Olivier Crete <tester at tester dot ca>
1428
1429         * docs/gst/gstreamer-sections.txt:
1430         * win32/common/libgstreamer.def:
1431         * gst/gstpad.c: (gst_pad_init),
1432         (gst_pad_set_iterate_internal_links_function),
1433         (int_link_iter_data_free), (iterate_pad),
1434         (gst_pad_iterate_internal_links_default),
1435         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1436         * gst/gstpad.h:
1437         Add threadsafe replacement functions for getting internal links of an
1438         element. Deprecate the old internal links functions.
1439         API:GstPad::gst_pad_set_iterate_internal_links_function()
1440         API:GstPad::GstPadIterIntLinkFunction
1441         API:GstPad::gst_pad_iterate_internal_links()
1442         API:GstPad::gst_pad_iterate_internal_links_default()
1443
1444         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1445         (gst_proxy_pad_init):
1446         Implement threadsafe internal links.
1447
1448         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1449         Unit test for internal links on tee. See #549504.
1450
1451 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1452
1453         * tests/check/Makefile.am:
1454         libs/transform1 test requires libs/test_transform.c
1455
1456 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1457
1458         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1459         Die evil deadlock, die !
1460
1461 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1462
1463         * gst/gstutils.c: (gst_element_get_compatible_pad):
1464         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1465         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1466         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1467         not steal the refcount of the given caps as stated.
1468
1469         REVERT THIS COMMIT ONCE FIXED !
1470         REVERT THIS COMMIT ONCE FIXED !
1471         REVERT THIS COMMIT ONCE FIXED !
1472         REVERT THIS COMMIT ONCE FIXED !
1473         REVERT THIS COMMIT ONCE FIXED !
1474         REVERT THIS COMMIT ONCE FIXED !
1475
1476 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1477
1478         * gst/gstiterator.c:
1479         * gst/gstiterator.h:
1480         After 3 years it's about time to revise the documentation of the
1481         iterator objects.
1482
1483 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1484
1485         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1486         Make the internal links function less thread-unsafe and add some
1487         comments, dunno why.
1488
1489 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1490
1491         * gst/gst_private.h:
1492           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1493           build with --disable-gst-debug.
1494
1495 2008-08-28  David Schleef  <ds@schleef.org>
1496
1497         * gst/gstpadtemplate.c: Revert last change, since it breaks
1498           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1499           but shouldn't be enabled until we've released fixed versions
1500           of -good and -ffmpeg.
1501
1502 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1503
1504         * gst/gstobject.c:
1505           Put the gst_object_get_name() back in.
1506
1507 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1508
1509         * gst/gstpadtemplate.c:
1510           The old behaviour was that gst_pad_template_new() takes ownership of
1511           the caps. As we now call g_object_new() which calls g_object_set() and
1512           which copies the caps, we have to unref them to not leak them. Fixes
1513           make valgrid for me.
1514
1515 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1516
1517         * gst/gsturi.c:
1518           Don't segfault on input like "tel:+1-123-555-1234".
1519
1520 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1521
1522         * gst/gstobject.c:
1523           Due to popular request also include ObjectType in
1524           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1525
1526 2008-08-26  David Schleef  <ds@schleef.org>
1527
1528         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1529           src_val must be positive, because that's not a requirement.
1530           This causes problems with converting negative granulepos
1531           values for Dirac.
1532         * gst/gstquery.c: Same, gst_query_new_convert().
1533
1534 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1535
1536         * gst/gstclock.c: (gst_clock_add_observation):
1537         Add some more debugging to the clock slaving code.
1538
1539         * win32/common/libgstbase.def:
1540         Add new basetransform method.
1541
1542 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1543
1544         * gst/gstbin.c: (gst_bin_element_set_state):
1545         Take the (recursive) state lock between getting the locked state of an
1546         element and changing the element state. This allows the application to
1547         lock an element's state and then change its state without races.
1548
1549 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1550
1551         * gst/gstbin.c: (gst_bin_element_set_state):
1552         When an element is in the locked state we still want to update the
1553         base_time of the element.
1554
1555 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1556
1557         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1558         Use the result from gst_pad_set_caps() instead of assuming the element
1559         always accepted the caps computed by the default negotiate function.
1560
1561 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1562
1563         * docs/libs/gstreamer-libs-sections.txt:
1564         * libs/gst/base/gstbasetransform.c:
1565         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1566         (gst_base_transform_chain), (gst_base_transform_suggest),
1567         (gst_base_transform_reconfigure):
1568         * libs/gst/base/gstbasetransform.h:
1569         Implement method for reconfiguring basetransform.
1570         API: GstBaseTransform::gst_base_transform_reconfigure()
1571
1572 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1573
1574         patch by: Murray Cumming <murrayc@murrayc.com>
1575
1576         * gst/gstutils.c:
1577           Mention that this is just like gst_buffer_merge() but with extra
1578           unreffing for C coders. Advise language bindings not to wrap it.
1579           Fixes Bug #533856.
1580           
1581           Also fix file comment.
1582
1583 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1584
1585         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1586
1587         * plugins/elements/gstfakesink.c:
1588         * plugins/elements/gstfakesrc.c:
1589           Call super::event() when not handling it. Fixes #544855.
1590
1591 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1592
1593         Patch by: Alessandro Decina <alessandro@nnva.org>
1594         * plugins/elements/gstfilesrc.c:
1595           Use 64 bit variants of stat functions on win32, to enable support
1596           of large files there.
1597           Fixes #547277.
1598
1599 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1600
1601         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1602         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1603         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1604         (gst_base_sink_get_position), (gst_base_sink_change_state):
1605         Improve position reporting in the flushing state.
1606         Also report the position when we are not yet prerolled but we
1607         have a newsegment event. Fixes #543444.
1608         Improve the pull-based negotiation code.
1609
1610         * tests/check/elements/fakesink.c: (GST_START_TEST),
1611         (fakesink_suite):
1612         Add testcase for position reporting while flushing in PAUSED and
1613         PLAYING.
1614
1615         * tests/check/generic/sinks.c: (GST_START_TEST):
1616         Update unit-test, we can now query the position as soon as we receive a
1617         NEWSEGMENT event.
1618
1619 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1620
1621         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1622
1623         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1624         When the subclass event handler releases the PREROLL_LOCK, we could be
1625         in the flushing state and we have to ignore the event. Fixes #548394.
1626
1627 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1628
1629         * tools/gst-launch.1.in:
1630           Document GST_REGISTRY_UPDATE environment variable.
1631
1632 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1633
1634         * libs/gst/base/gstbasetransform.c:
1635         (gst_base_transform_prepare_output_buffer):
1636         If the element is configured in passthrough mode but the
1637         prepare_output_buffer gave us a new output buffer, discard that buffer
1638         and reuse the input buffer.
1639
1640 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1641
1642         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1643
1644         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1645         (gst_tee_request_new_pad), (gst_tee_release_pad),
1646         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1647         * plugins/elements/gsttee.h:
1648         Protect pad_alloc with a new lock so that we can be sure that nothing is
1649         performing a pad_alloc when removing the pad. Fixes #547835.
1650
1651         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1652         (buffer_alloc_harness_teardown), (app_thread_func),
1653         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1654         Added testcase for shutdown race.
1655
1656 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1657
1658         * gst/gstpad.h:
1659         Add doc
1660
1661 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1662
1663         * libs/gst/base/gstbasetransform.c:
1664         (gst_base_transform_prepare_output_buffer),
1665         (gst_base_transform_buffer_alloc):
1666         Go over the buffer_alloc function again and make sure we always end up
1667         allocating a buffer.
1668         Add some more docs.
1669         Avoid doing pad alloc when we have a pending suggestion because we
1670         cannot yet deal with changing caps in that case. Fixes #547728
1671
1672 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1673
1674         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1675
1676         * docs/manual/advanced-clocks.xml:
1677         * docs/manual/clocks.png:
1678         * docs/manual/diagrams-clocks.svg:
1679           Add one more image showing different times together with a describing
1680           paragraph. Fixes #547729.
1681
1682 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1683
1684         * win32/common/libgstbase.def:
1685         Add new method.
1686
1687 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1688
1689         * libs/gst/base/gstbasetransform.c:
1690         (gst_base_transform_transform_caps),
1691         (gst_base_transform_prepare_output_buffer),
1692         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1693         Don't overwrite the outsize when calculating the expected size of a new
1694         buffer because we still need it in case we cannot process the new
1695         buffer.
1696         When converting the size of the new buffer to an upstream size, actually
1697         use the expected size of the buffer, not some other random value.
1698         Use an atomic int to signal that a new upstream caps suggestion is
1699         available.
1700         When we can convert the current buffer to a new format, check if the
1701         buffer size is of the expected size and allocate a new buffer of the
1702         expected size when this is not the case. Fixes #546883.
1703
1704         * tests/check/libs/transform1.c: (GST_START_TEST):
1705         remove ifdeffed code from the unit test.
1706
1707 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1708
1709         * pkgconfig/gstreamer-uninstalled.pc.in:
1710         * pkgconfig/gstreamer.pc.in:
1711           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1712           called gstcontroller-0.10.
1713
1714 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1715
1716         * gst/gstchildproxy.h:
1717         * gst/gstpreset.h:
1718           Remove double interface from doc-string.        
1719
1720 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1721
1722         * libs/gst/base/gstbasesrc.c:
1723         * libs/gst/base/gstbasetransform.c:
1724           Fix headings in docs and gtk-doc warnings.
1725
1726 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1727
1728         * gst/gstregistrybinary.c:
1729           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1730           libc.
1731           Fixes #544776.
1732
1733 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1734
1735         * libs/gst/base/gstbasetransform.c:
1736         (gst_base_transform_buffer_alloc):
1737         Fix a "may be used unitialized" warning.
1738
1739 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1740
1741         * docs/gst/gstreamer-sections.txt:
1742         * gst/gstpreset.h:
1743           Document preset-iface vmethods.
1744
1745 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1746
1747         * docs/manual/advanced-interfaces.xml:
1748           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1749           only used to discover devices.
1750
1751 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1752
1753         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1754
1755         * gst/gst.c: (init_pre):
1756         Make sure gettext returns translations in UTF-8 encoding rather
1757         than in the current locale encoding (#546822).
1758
1759 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1760
1761         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1762         Fix subset test.
1763
1764         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1765         Improve unit test subset tests and add a testcase for the subset failure
1766         cases.
1767
1768         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1769         Improve subtraction unit test.
1770
1771 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1772
1773         * plugins/elements/gsttee.c:
1774           Unlock, instead of locking again.
1775
1776 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1777
1778         * gst/gstpad.h:
1779         Clarify the docs a bit more.
1780
1781 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1782
1783         * tests/examples/metadata/read-metadata.c:
1784           Don't leak old taglist.
1785
1786 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1787
1788         Patch by: Olivier Crete <tester at tester dot ca>
1789
1790         * gst/gststructure.c:
1791         (gst_structure_fixate_field_nearest_fraction):
1792         Avoid overflows in fixation code when dealing with MAXINT values, which
1793         v4l2src seems to do.
1794         Fixes #546328.
1795
1796         * tests/check/gst/gststructure.c: (GST_START_TEST):
1797         Make a unit test to check the fix. 
1798
1799 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1800
1801         * plugins/elements/gstcapsfilter.c: (copy_func),
1802         (gst_capsfilter_set_property):
1803         Use new caps suggestion feature of basetransform to request a caps
1804         negotiation upstream.
1805
1806 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1807
1808         * docs/libs/gstreamer-libs-sections.txt:
1809         Add new function:
1810         API: GstBaseTransform::gst_base_transform_suggest()
1811
1812         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1813         (gst_base_transform_init), (gst_base_transform_transform_caps),
1814         (gst_base_transform_transform_size),
1815         (gst_base_transform_configure_caps),
1816         (gst_base_transform_can_transform),
1817         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1818         (gst_base_transform_prepare_output_buffer),
1819         (gst_base_transform_buffer_alloc),
1820         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1821         (gst_base_transform_chain), (gst_base_transform_activate),
1822         (gst_base_transform_set_passthrough),
1823         (gst_base_transform_is_passthrough),
1824         (gst_base_transform_set_in_place),
1825         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1826         (gst_base_transform_set_qos_enabled),
1827         (gst_base_transform_is_qos_enabled),
1828         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1829         (gst_base_transform_reconfigure):
1830         * libs/gst/base/gstbasetransform.h:
1831         Rewrite of basetransform to perform negotiation outside of the
1832         buffer_alloc functions.  Fixes #545853.
1833
1834         * tests/check/libs/transform1.c: (GST_START_TEST),
1835         (buffer_alloc_ct2):
1836         Update unit test.
1837
1838 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1839
1840         * tests/check/gst/gstpreset.c:
1841           Only run preset tests when $HOME is writable. Preliminary fix for
1842           #545433.
1843
1844 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1845
1846         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1847         (gst_bin_change_state_func), (bin_handle_async_done),
1848         (gst_bin_handle_message_func):
1849         Fix race for bins that simulate ASYNC state changes by inserting
1850         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1851         pending ASYNC messages even when the bin does not have ASYNC children.
1852         We note detect this behaviour because we will receive an ASYNC message
1853         that is originating from the bin itself. 
1854         Fixes races with decodebin2 state changes.
1855
1856         * tests/check/gst/gstbin.c: (GST_START_TEST):
1857         Add some more debug.
1858
1859 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1860
1861         * gst/gsttaglist.c: (_gst_tag_initialize):
1862           Fix typo.
1863
1864 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1865
1866         * gst/gsttaglist.c:
1867           Argh. actually save the text before committing. Now adds
1868           gst_tag_merge_strings_with_comma() to gst_tag_register().
1869
1870 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1871
1872         * gst/gsttaglist.c:
1873         * gst/gsttaglist.h:
1874           Do as tim pointed out and actually register the new tag. Also improve
1875           te docs and use gst_tag_merge_strings_with_comma() method to allow
1876           retriving all keywords merged in one list.
1877
1878 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1879
1880         * configure.ac:
1881         * docs/gst/gstreamer.types:
1882           Revert 'accidential' change of the configure option removal. We still
1883           need to generate the types file in configure --disable-load-save.
1884
1885 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1886
1887         * docs/gst/gstreamer-sections.txt:
1888         * gst/gsttaglist.h:
1889           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1890
1891 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1892
1893         * gst/gstpadtemplate.c:
1894           (gst_pad_template_class_init), (gst_static_pad_template_get),
1895           (gst_pad_template_new), (gst_pad_template_pad_created),
1896           (gst_pad_template_set_property), (gst_pad_template_get_property):
1897           Add "name-template", "direction", "presence" and "caps" properties,
1898           so that gst_pad_template_new() is just a thin wrapper around
1899           g_object_new(), which is better for bindings. (Fixes: #539772)
1900
1901 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1902
1903         * gst/gsturi.c:
1904           Be more liberal in what URIs we accept.
1905           Do not unescape bits of the URI for no apparent reason before passing to
1906           the element. Fixes #545352.
1907
1908 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1909
1910         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1911
1912         * gst/gst.c:
1913         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1914
1915 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1916
1917         * configure.ac:
1918         * docs/gst/gstreamer-sections.txt:
1919         * docs/gst/gstreamer.types:
1920         * docs/gst/gstreamer.types.in:
1921         * gst/Makefile.am:
1922         * gst/gst.c:
1923         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1924         * gst/gstconfig.h.in:
1925         * gst/gstelement.c: (gst_element_get_index):
1926         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1927         (gst_registry_binary_load_feature),
1928         (gst_registry_binary_read_cache):
1929         * gst/gstregistryxml.c: (load_feature),
1930         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1931         * plugins/Makefile.am:
1932         * tools/gst-indent:
1933         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1934         (print_plugin_features), (print_element_features):
1935         * tools/gst-xmlinspect.c: (print_event_masks),
1936         (print_element_info):
1937         * win32/common/gstconfig.h:
1938         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1939
1940         Disabling the indexers and URI handler code will only reduce the
1941         required amount of memory by a very small amount but on the other hand
1942         requires much more maintaince work. Apart from that many places of
1943         code are broken when disabling them.
1944
1945         Disabling the enum types doesn't reduce the required amount of memory
1946         by more than a few bytes and makes it hard to fix bugs like #539772,
1947         i.e. use the enums as GObject properties.
1948
1949 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1950
1951         * docs/design/part-TODO.txt:
1952         Add some thoughts and problems with upstream renegotiation.
1953
1954 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1955
1956         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1957         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1958         Remove silly redundant debug.
1959         Add some more debug info.
1960         Clarify the docs regarding new caps received from pad_alloc.
1961
1962 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1963
1964         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1965         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1966         Make setting the caps more threadsafe.
1967
1968 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1969
1970         * docs/design/part-element-transform.txt:
1971         Update docs.
1972
1973 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1974
1975         * plugins/elements/gstqueue.c: (gst_queue_init),
1976         (gst_queue_acceptcaps):
1977         Add and use a custom acceptcaps function instead of falling back to the
1978         potentially less optimized default implementation.
1979
1980 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1981
1982         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1983           Only sanity-check the buffer size if requested_caps == buffer_caps
1984           (ie. don't take pad caps into account, they're not relevant here)
1985
1986 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1987
1988         * plugins/elements/gsttee.c:
1989         * plugins/elements/gsttee.h:
1990           Reverting as not everything is clear yet. Needs some general design
1991           work.
1992
1993 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1994
1995         * ChangeLog:
1996           ChangeLog surgery for tee commit.
1997
1998 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1999
2000         * docs/gst/gstreamer-sections.txt:
2001           Cleanup section-file.
2002
2003 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
2004
2005         * plugins/elements/gsttee.c:
2006         * plugins/elements/gsttee.h:
2007           Relay tag events in tee. Fixes parts of #474016.
2008           Downgrades 3 reoccurring debugs to log.
2009
2010 2008-07-28  Michael Smith <msmith@songbirdnest.com>
2011
2012         * configure.ac:
2013         * libs/gst/Makefile.am:
2014           Build the net library if we have winsock2.
2015
2016 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
2017
2018         patch by: Luc Pionchon <luc.pionchon@nokia.com>
2019
2020         * docs/manual/advanced-threads.xml:
2021         * docs/manual/diagrams-pipelines.svg:
2022         * docs/manual/hello-world.png:
2023         * docs/manual/linked-elements.png:
2024         * docs/manual/mime-world.png:
2025         * docs/manual/queue.png:
2026         * docs/manual/thread-buffering.png:
2027         * docs/manual/thread-synchronizing.png:
2028           Replace one diagram with two separate ones and updates others.
2029           Fixes #542401.
2030
2031 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2032
2033         * gst/gstelement.h:
2034         Fix link in documentation.
2035
2036 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
2037
2038         * gst/gstmessage.c:
2039         Fix confusing documentation.
2040
2041 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
2042
2043         * libs/gst/base/gstbasesrc.h:
2044         revert the changes to the header file for the ABI.
2045
2046 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
2047
2048         * libs/gst/base/gstbasesrc.c:
2049         * libs/gst/base/gstbasesrc.h:
2050         Don't cache the seekable status.
2051         Fixes bug #544174
2052
2053 2008-07-24  Rene Stadler  <mail@renestadler.de>
2054
2055         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
2056         code to close the pipeline graph.  This prevents the program from
2057         printing internal data flow errors.
2058
2059 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2060
2061         * docs/manual/basics-bus.xml:
2062         Correct typo. Fixes bug #544320.
2063
2064 2008-07-22  Michael Smith <msmith@songbirdnest.com>
2065
2066         * configure.ac:
2067           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
2068           Add check (taken from -base) for winsock, adds WIN32_LIBS
2069         * gst/Makefile.am:
2070           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
2071           winsock.
2072           Define GST_EXPORTS when building libgstreamer (only used on win32)
2073         * gst/gst_private.h:
2074         * gst/gstinfo.h:
2075           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
2076           for symbols that we need to export in both these files.
2077         * gst/gstpoll.c:
2078           Include gst_private.h higher up to avoid some compile problems on win32.
2079
2080 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2081
2082         * gst/gstvalue.c:
2083         Fix typos.
2084
2085 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2086
2087         * gst/gstcaps.c:
2088         Previous commit was wrong NULL caps does not exist
2089         and indicate an error, so also add a FIXME to
2090         gst_caps_is_equal where NULL caps are accepted.
2091
2092 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2093
2094         * gst/gstcaps.c:
2095         Allow passing of NULL to gst_caps_union
2096
2097 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2098
2099         * gst/gstghostpad.c:
2100         Add in doc that gst_ghost_pad_set_target can accept
2101         NULL to clear target
2102
2103 2008-07-15  Michael Smith <msmith@songbirdnest.com>
2104
2105         * gst/gstplugin.c:
2106         * gst/gstregistry.c:
2107           GstRegistryPool doesn't exist; don't refer to it in docs.
2108           Don't refer to functions that don't exist in docs, it's
2109           unhelpful.
2110
2111 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2112
2113         * gst/gst.c:
2114         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
2115
2116 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2117
2118         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
2119
2120         * docs/pwg/building-testapp.xml:
2121         Don't use an undeclared variable in the example program.
2122         Fixes bug #542573.
2123
2124 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
2125
2126         * gst/gstdebugutils.c:
2127           Squeeze ghost-pad links and remove <> from classname labels to save
2128           more horizontal space.
2129
2130 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
2131
2132         * gst/gstdebugutils.c:
2133           Give request and sometimes pads a different shpe style. Condense the
2134           graphs a little more.
2135
2136 2008-07-09  Michael Smith <msmith@songbirdnest.com>
2137
2138         * configure.ac:
2139           Don't require flex and bison if the parser is disabled.
2140
2141 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2142
2143         * libs/gst/controller/gstinterpolationcontrolsource.c:
2144         (_list_find_sorted_custom):
2145         Don't use declarations after statements.
2146
2147 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2148
2149         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2150         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2151         of the the child-added / -removed signals as GstChildProxy
2152         only supports GstObjects.
2153
2154 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
2155
2156         * gst/gstdebugutils.c:
2157         Fix memleak
2158
2159 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2160
2161         Patch by: Alessandro Decina <alessandro at nnva dot org>
2162
2163         * gst/gstpoll.c:
2164         Fix "ignored return value" compiler warning with newer glibc.
2165
2166 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2167
2168         * gst/gstchildproxy.c:
2169         Fix copy&paste error in gst_child_proxy_removed() documentation.
2170
2171 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
2172
2173         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2174           Print error debug message if plugin description fields that should
2175           be set are NULL.
2176
2177         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2178           Don't crash if the string to serialise is NULL (it really should
2179           not be, but apparently this used to work with the xml registry ...).
2180
2181 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
2182
2183         * tools/gst-plot-timeline.py:
2184         Fix parsing of log messages
2185
2186 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
2187
2188         * win32/common/libgstbase.def::
2189           Sort alphabetically so make check-exports doesn't barf.
2190
2191 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
2192
2193         * gst/gstevent.c:
2194           Use gst_format_get_name() to improve debug output.
2195
2196         * gst/gstpreset.c:
2197           Remove #ifdef'ed code. Add TODO comment.
2198
2199         * gst/gstsegment.c:
2200           Add debug output to ease spotting format != segment.format assertions.
2201
2202 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2203
2204         * tests/check/libs/gdp.c: (gst_dp_suite):
2205         Also enable the GDP unit test again on PPC now that the bug
2206         is fixed.
2207
2208 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2209
2210         * libs/gst/dataprotocol/dataprotocol.c:
2211         Don't write to the same region of memory as a uint64 and uint16
2212         as this breaks strict aliasing rules and apparantly breaks on PPC
2213         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2214
2215 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2216
2217         * libs/gst/controller/gstinterpolationcontrolsource.c:
2218           Optimize list handling. Use own find function. Exploit that fact that
2219           the list is sorted. Also pass back the node before, so that we can
2220           insert quickly. Have a fast path for append.
2221
2222 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2223
2224         * docs/design/draft-framestep.txt:
2225         * docs/design/part-negotiation.txt:
2226           Fix two typos.
2227
2228 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2229
2230         * configure.ac:
2231           Show configuration sumary after configure run. Based on patch by
2232           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2233
2234 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2235
2236         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2237
2238         * docs/manual/advanced-autoplugging.xml:
2239         * docs/manual/advanced-threads.xml:
2240         * docs/manual/basics-bins.xml:
2241         * docs/manual/basics-elements.xml:
2242         * docs/manual/basics-helloworld.xml:
2243         * docs/manual/basics-pads.xml:
2244           Add scale factor for pdf output.
2245
2246         * docs/manual/intro-basics.xml:
2247           Switched sections "pads" and "bins" and added a pipeline diagram.
2248
2249         * docs/manual/intro-gstreamer.xml:
2250           Added more info on gstreamer.
2251
2252         * docs/manual/intro-motivation.xml:
2253           Commented out the whole section "current problem", which sounds
2254           historical and somehow osolete; it could be turned in a positive
2255           way and reused to improve the design principles.
2256
2257         * docs/manual/intro-preface.xml:
2258           - Update URLs to library.gnome.org. 
2259           - Do not mention GTK+ in preliminary reading (irrelevant). 
2260           - Mention Plugin Writer's Manual and further reading only in the
2261             previous section.
2262           - Added a list of most relevant GObject/glib topics.
2263
2264         * docs/manual/Makefile.am:
2265         * docs/manual/bin-element-ghost.fig:
2266         * docs/manual/bin-element-ghost.png:
2267         * docs/manual/bin-element-noghost.fig:
2268         * docs/manual/bin-element-noghost.png:
2269         * docs/manual/bin-element.fig:
2270         * docs/manual/bin-element.png:
2271         * docs/manual/filter-element-multi.fig:
2272         * docs/manual/filter-element-multi.png:
2273         * docs/manual/filter-element.fig:
2274         * docs/manual/filter-element.png:
2275         * docs/manual/gstreamer-overview.png:
2276         * docs/manual/hello-world.fig:
2277         * docs/manual/hello-world.png:
2278         * docs/manual/linked-elements.fig:
2279         * docs/manual/linked-elements.png:
2280         * docs/manual/mime-world.fig:
2281         * docs/manual/mime-world.png:
2282         * docs/manual/queue.fig:
2283         * docs/manual/queue.png:
2284         * docs/manual/simple-player.png:
2285         * docs/manual/sink-element.fig:
2286         * docs/manual/sink-element.png:
2287         * docs/manual/src-element.fig:
2288         * docs/manual/src-element.png:
2289         * docs/manual/diagrams-general.svg:
2290         * docs/manual/diagrams-pipelines.svg:
2291           Removed .fig, added .png counterpart.
2292           
2293           Fixes: #539137
2294
2295 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
2296
2297         * plugins/elements/gstmultiqueue.c:
2298         * plugins/elements/gstmultiqueue.h:
2299         revert extra-size-buffers stuff, caused some race conditions
2300         and extra-size-buffers is not used anymore. Docs needs some updates
2301
2302 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2303
2304         * win32/common/config.h:
2305         * win32/common/gstenumtypes.c:
2306         * win32/common/gstenumtypes.h:
2307         * win32/common/gstversion.h:
2308           Update win32 files.
2309
2310 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2311
2312         * gst/gstdebugutils.h: (GstDebugGraphDetails),
2313           (GST_DEBUG_BIN_TO_DOT_FILE):
2314           Add missing Since' markers to gtk-doc blurbs.
2315
2316 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
2317
2318         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2319         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2320         (set_caps_1), (set_caps_ct1), (transform_ct1),
2321         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2322         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2323         (transform_size_ct2), (buffer_alloc_ct2):
2324         Add some more tests with switching caps in buffer_alloc.
2325
2326 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2327
2328         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2329         (gst_test_trans_class_init), (result_sink_chain),
2330         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2331         (gst_test_trans_push), (gst_test_trans_pop):
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         (gst_basetransform_suite):
2339         More tests, prepare for tests with switching caps in buffer_alloc.
2340
2341 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2342
2343         * plugins/elements/gstmultiqueue.c:
2344         * plugins/elements/gstmultiqueue.h:
2345         Fix dead-lock in underrun_cb
2346
2347 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2348
2349         * docs/design/part-states.txt:
2350         Fix device open/close docs.
2351
2352 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2353
2354         * ChangeLog:
2355           Mention bugnumber for last commit.
2356
2357 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2358
2359         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2360
2361         * docs/manual/manual.xml:
2362         - Reorganised the previous "introduction" bundle into Foreword,
2363         Introduction, and About GStreamer. The two first are <preface>
2364         docbook elements. The later is the first part of the book.
2365         - added intro-gstreamer.xml (content partially from
2366         intro-preface.xml)
2367         - moved appendix-win32.xml into appendix-integration.xml
2368
2369         * docs/manual/intro-preface.xml: gstreamer section moved...
2370         * docs/manual/intro-gstreamer.xml: ...here. new file.
2371
2372         * docs/manual/appendix-win32.xml: removed file. Content moved...
2373         * docs/manual/appendix-integration.xml: ...here.
2374         
2375         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2376         * docs/manual/appendix-checklist.xml: ...here.
2377         
2378         Fixes: 538764
2379
2380 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2381
2382         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2383
2384         * docs/manual/basics-helloworld.xml:
2385         * docs/manual/hello-world.fig:
2386           - Explicitely include glib.h.
2387           - Do not use global variables.
2388           - Use g_printerr() instead of g_print().
2389           - Minor formating/renaming to increase readibility.
2390           - Renamed new_pad() to on_pad_added()
2391           - Improved explenatory comments.
2392           - renamed ogg parser to ogg demuxer
2393           - Use "autoaudiosink" instead of "alsasink".
2394           Fixes: #538619
2395
2396 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2397
2398         * ChangeLog:
2399           Remove cvs conflict marker.
2400
2401 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2402
2403         * docs/README:
2404           Document that for plgin-docs we extraxt he short-desc from the element
2405           details.
2406
2407         * docs/design/part-states.txt:
2408           Tell that devices should be closed in PAUSED -> READY.
2409
2410         * docs/manual/README:
2411           Document how tests in the manual are handled.
2412
2413         * docs/manuals.mak:
2414           Typo in comment.
2415
2416 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2417
2418         * gst/gstbin.c: (bin_query_latency_fold):
2419         Only care about latency min and max when the sink is actually a live
2420         sink.
2421
2422 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2423
2424         * docs/design/part-block.txt:
2425         Fix typo.
2426
2427         * docs/design/part-element-transform.txt:
2428         Add notes about why transform needs to know input/output sizes.
2429         Add some issues that need to be solved.
2430         Add some more use cases.
2431
2432         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2433         (gst_test_trans_class_init), (result_sink_chain),
2434         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2435         (gst_test_trans_push), (gst_test_trans_pop):
2436         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2437         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2438         (set_caps_1), (set_caps_ct1), (transform_ct1),
2439         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2440         (gst_basetransform_suite):
2441         Add suport for different pad templates and buffer-alloc.
2442         Add more checks for caps and buffer-alloc.
2443         Add checks for proxy buffer alloc.
2444         Add unit test for copy transform.
2445
2446 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2447
2448         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2449
2450         * docs/manual/appendix-integration.xml:
2451         * docs/manual/appendix-licensing.xml:
2452         * docs/manual/basics-elements.xml:
2453         * docs/manual/basics-helloworld.xml:
2454         * docs/manual/basics-pads.xml:
2455         * docs/manual/highlevel-components.xml:
2456         * docs/manual/highlevel-xml.xml:
2457         * docs/manual/intro-basics.xml:
2458         * docs/manual/intro-preface.xml:
2459           Typo and formatting fixes (#538594).
2460
2461 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2462
2463         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2464         Fix some memory leaks and uses of object instances that we don't
2465         actually own.
2466
2467 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2468
2469         * plugins/elements/gstmultiqueue.c:
2470         Add functionality to extra-size-buffers property.
2471
2472 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2473
2474         * plugins/elements/gstmultiqueue.c:
2475         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2476         activate the pads if they are added in STATE_NULL.
2477
2478 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2479
2480         * docs/libs/gstreamer-libs-sections.txt:
2481         Add new API to doc
2482         * libs/gst/check/gstcheck.c:
2483         * libs/gst/check/gstcheck.h:
2484         API: gst_check_teardown_pad_by_name
2485
2486 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2487
2488         * libs/gst/check/gstcheck.c:
2489         * libs/gst/check/gstcheck.h:
2490         Also setup request pads and allow setup pads by name (#537812)
2491         API: gst_check_setup_src_pad_by_name
2492         API: gst_check_setup_sink_pad_by_name
2493
2494 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2495
2496         * tests/check/gst/gstbuffer.c:
2497         * tests/check/pipelines/parse-launch.c:
2498           Use HAVE_VALGRIND_H some more.
2499
2500 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2501
2502         * scripts/cvs-update.sh:
2503           Pass arguments to make.
2504           Run autoregen.sh if Makefile is not there.
2505
2506 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2507
2508         * configure.ac:
2509         * gst/gstinfo.c:
2510           Don't assume that <valgrind/valgrind.h> exists just because
2511           the binary is there.
2512
2513 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2514
2515         * tests/check/Makefile.am:
2516         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2517         (gst_test_trans_class_init), (gst_test_trans_init),
2518         (gst_test_trans_set_data), (result_sink_chain),
2519         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2520         (gst_test_trans_pop):
2521         * tests/check/libs/transform1.c: (GST_START_TEST),
2522         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2523         Add some test basetransform element and the beginnings of various
2524         unit tests for it.
2525
2526 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2527
2528         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2529         Increase code readability.
2530         Don't try to compare buffer offsets when ther are invalid.
2531
2532 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2533
2534         * docs/design/Makefile.am:
2535           Dist some more design docs.
2536
2537         * docs/random/moving-plugins:
2538           Small addition: good plugins mustn't have functional code
2539           within assertion macros.
2540
2541 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2542
2543         * docs/design/draft-framestep.txt:
2544         Some ideas about a framestep API
2545
2546         * docs/design/part-element-transform.txt:
2547         Start design and use cases for basetransform in order to get it
2548         fixed soon.
2549
2550 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2551
2552         * gst/gsttaglist.h:
2553           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2554           be in UTF-8 encoding.
2555
2556 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2557
2558         * gst/gstbus.c:
2559           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2560
2561 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2562
2563         * plugins/elements/gstcapsfilter.c:
2564         * plugins/elements/gstfakesink.c:
2565         * plugins/elements/gstfakesrc.c:
2566         * plugins/elements/gstfdsink.c:
2567         * plugins/elements/gstfdsrc.c:
2568         * plugins/elements/gstfilesink.c:
2569         * plugins/elements/gstfilesrc.c:
2570         * plugins/elements/gstidentity.c:
2571         * plugins/elements/gstmultiqueue.c:
2572         * plugins/elements/gstqueue.c:
2573         * plugins/elements/gsttee.c:
2574         * plugins/elements/gsttypefindelement.c:
2575           Remove short_description. Add basic docs for gsttypefindelement.
2576           Simplify markup for fakesrc/fdsrc.
2577
2578 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2579
2580         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2581         Added Since doc.
2582
2583 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2584
2585         Patch by: Joel Larsson <tilljoel at gmail dot com>
2586
2587         * docs/plugins/gstreamer-plugins.args:
2588         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2589         (gst_fd_src_init), (gst_fd_src_update_fd),
2590         (gst_fd_src_set_property), (gst_fd_src_get_property),
2591         (gst_fd_src_create):
2592         * plugins/elements/gstfdsrc.h:
2593         Add timeout property like udpsrc. Fixes #538628.
2594         Add some more docs and example pipelines.
2595
2596 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2597
2598         * docs/libs/gstreamer-libs-sections.txt:
2599         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2600         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2601         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2602         (gst_base_sink_do_sync):
2603         * libs/gst/base/gstbasesink.h:
2604         * win32/common/libgstbase.def:
2605         Add method to allow sinks to specify additional delay between the sync
2606         times and the actual rendering of the data.
2607         API: gst_base_sink_set_render_delay()
2608         API: gst_base_sink_get_render_delay()
2609
2610 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2611
2612         * configure.ac:
2613         Bump version number back to dev -> 0.10.20.1
2614
2615 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2616
2617         * docs/gst/gstreamer-sections.txt:
2618         * gst/gsttaglist.c: (_gst_tag_initialize):
2619         * gst/gsttaglist.h:
2620         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2621         Fixes bug #538568.
2622
2623 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2624
2625         * libs/gst/controller/gstcontroller.c:
2626           Revert one change, that make ret value possible uninitialized.
2627
2628 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2629
2630         * libs/gst/controller/gstcontroller.c:
2631           Use freeze/thaw notify to sync notify emission a bit (its also more
2632           efficient). Move debug output to LOG (is called a lot in a loop).
2633           Always unset g_values if the have been initialized.
2634
2635 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2636
2637         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2638         (gst_base_sink_wait_eos), (gst_base_sink_event):
2639         If we have not seen a buffer before EOS, use the segment values to
2640         report the current position instead of invalid positions.
2641
2642 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2643
2644         * docs/plugins/tmpl/.cvsignore:
2645         * tests/check/gst/.cvsignore:
2646           Ignore more.
2647
2648 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2649
2650         * libs/gst/controller/gstinterpolation.c:
2651         * libs/gst/controller/gstinterpolationcontrolsource.c:
2652         * tests/check/libs/controller.c:
2653           Rewrite handling of default values. Fix overflow with unsigned types
2654           in linear interpolation. Remove now obsolete _first_value() function.
2655           Add more tests. Fixes #538201.
2656
2657 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2658
2659         * libs/gst/base/gstbasetransform.c:
2660         (gst_base_transform_class_init), (gst_base_transform_init),
2661         (gst_base_transform_transform_caps),
2662         (gst_base_transform_prepare_output_buffer):
2663         Add debug info.
2664         When a buffer is writable, its metadata is also writable so we don't
2665         need to subbuffer (which then makes the buffer not-writable anymore).
2666
2667 === release 0.10.20 ===
2668
2669 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2670
2671         * configure.ac:
2672           releasing 0.10.20, "You Crazy Diamond"
2673
2674 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2675
2676         * configure.ac:
2677         0.10.19.3 pre-release
2678
2679 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2680
2681         * configure.ac:
2682         * gst/gstpreset.c:
2683         Rename DATADIR to GST_DATADIR to avoid build problems
2684         on win32. Patch By: David Schleef <ds@schleef.org>
2685         Fixes: #536857
2686
2687 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2688
2689         * configure.ac:
2690         Explicitely link with -ldl if dladdr() is found there. Before it was
2691         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2692         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2693
2694 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2695
2696         * gst/gsterror.c: (_gst_stream_errors_init):
2697           Fix typo (spotted by Fabricio Godoy, #536723).
2698
2699 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2700
2701         * configure.ac:
2702         0.10.19.2 pre-release
2703
2704 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2705
2706         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2707         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2708         Add some debug.
2709         Make sure we don't generate invalid QoS messages.
2710
2711 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2712
2713         * gst/gstevent.c: (gst_event_new_qos):
2714         Add some assert and docs for invalid input to the qos function.
2715
2716 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2717
2718         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2719         (gst_base_sink_get_position):
2720         The reported position must always be smaller than the last seen
2721         timestamps (or timestamp + duration for reverse).
2722
2723 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2724
2725         Patch by: Rob Bradford <rob at robster dot org dot uk>
2726
2727         * gst/gstregistry.c: (gst_registry_scan_path_level):
2728         Don't recurse into .debug directories as some distros install
2729         the debugging symbols next to the plugins in .debug directories
2730         and dlopen() crashes on them sometimes. Fixes bug #508070.
2731
2732         Add FIXME for 0.11 to not recurse into directories at all because
2733         it's very inconsistent to the behaviour of other PATH environment
2734         variables.
2735
2736 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2737
2738         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2739         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2740         Fix position query range checks in reverse playback.
2741
2742 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2743
2744         * gst/gstelement.c:
2745         * gst/gstelement.h:
2746         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2747         clear of the reference to the resulting pad must be released later
2748         or not, resulting in possible leaks. Fixes bug #533865.
2749
2750 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2751
2752         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2753
2754         * gst/gstelementfactory.c:
2755         Small doc fix. Fixes #535285.
2756
2757 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2758
2759         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2760
2761         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2762         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2763         (gst_base_src_loop), (gst_base_src_set_flushing),
2764         (gst_base_src_change_state):
2765         Make sending an EOS event to the basesrc non-blocking even if the
2766         implementation does blocking waits in the create function. This is done
2767         by unlocking the create function when EOS is sent.
2768         Fixes #535218.
2769
2770 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2771
2772         * tools/gst-inspect.c: (print_element_properties_info):
2773         If possible print the element type of GValueArray properties.
2774
2775 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2776
2777         * gst/gstiterator.c:
2778         Remove an unused field from the private GstListIterator struct.
2779
2780 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2781
2782         * libs/gst/controller/gstcontroller.c:
2783           Add parameter guards.
2784
2785 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2786
2787         * tests/check/gst/gstpipeline.c:
2788           Revert test change and add comment why it should not work.
2789
2790 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2791
2792         * tests/check/gst/gstpipeline.c:
2793           Extending the test a little to verify that we also get the NULL state-
2794           change message.
2795
2796 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2797
2798         * gst/gstpreset.c: (gst_preset_default_get_meta),
2799           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2800           (gst_preset_load_preset), (gst_preset_save_preset),
2801           (gst_preset_rename_preset), (gst_preset_delete_preset),
2802           (gst_preset_set_meta):
2803           Add Since: markers to docs blurbs.
2804
2805         * win32/common/libgstreamer.def:
2806           Add recently-added API.
2807
2808 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2809
2810         Patch by: Stefan Kost  <ensonic@users.sf.net>
2811
2812         * configure.ac:
2813         Add DATADIR for storing presets.
2814
2815         * docs/gst/gstreamer-docs.sgml:
2816         * docs/gst/gstreamer-sections.txt:
2817         * docs/gst/gstreamer.types.in:
2818         Add GstPreset to docs.
2819
2820         * gst/Makefile.am:
2821         * gst/gst.h:
2822         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2823         (preset_open_and_parse_header), (preset_parse_version),
2824         (preset_merge), (preset_get_keyfile),
2825         (gst_preset_default_get_preset_names),
2826         (gst_preset_default_get_property_names),
2827         (gst_preset_default_load_preset),
2828         (gst_preset_default_save_presets_file),
2829         (gst_preset_default_save_preset),
2830         (gst_preset_default_rename_preset),
2831         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2832         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2833         (gst_preset_default_reset), (gst_preset_get_preset_names),
2834         (gst_preset_get_property_names), (gst_preset_load_preset),
2835         (gst_preset_save_preset), (gst_preset_rename_preset),
2836         (gst_preset_delete_preset), (gst_preset_set_meta),
2837         (gst_preset_get_meta), (gst_preset_class_init),
2838         (gst_preset_base_init), (gst_preset_get_type):
2839         * gst/gstpreset.h:
2840         Add GstPreset to core. Fixes #396779
2841
2842         * tests/check/Makefile.am:
2843         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2844         (gst_preset_test_set_property), (gst_preset_test_class_init),
2845         (gst_preset_test_base_init), (gst_preset_test_get_type),
2846         (gst_preset_test_plugin_init), (GST_START_TEST),
2847         (remove_preset_file), (test_setup), (test_teardown),
2848         (gst_preset_suite):
2849         Add GstPreset unit tests.
2850
2851 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2852
2853         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2854         The default event function on a sinkpad should return TRUE when
2855         there are no internal links but should collect the return values from
2856         the internal links otherwise.
2857
2858 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2859
2860         * plugins/elements/gsttypefindelement.c:
2861         (gst_type_find_element_src_event),
2862         (gst_type_find_element_handle_event):
2863         Use faster and safer _pad_push_event().
2864
2865 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2866
2867         * docs/gst/gstreamer-sections.txt:
2868         * gst/gstutils.c: (element_find_unlinked_pad),
2869           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2870         * gst/gstutils.h:
2871           API: add gst_bin_find_unlinked_pad()
2872           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2873
2874 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2875
2876         * gst/gstclock.c:
2877         * gst/gstclock.h:
2878         * gst/gsttask.c:
2879         * gst/gsttask.h:
2880         Fixed a bunch of typos.
2881
2882 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2883
2884         * gst/gstpad.h:
2885         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2886           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2887           (gst_parse_bin_from_description_full):
2888         * gst/gstutils.h:
2889           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2890
2891 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2892
2893         * docs/pwg/advanced-tagging.xml:
2894           Small docs update, can't be bothered to rewrite the nonsensical
2895           examples right now.
2896
2897 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2898
2899         * gst/gstevent.h:
2900           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2901
2902 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2903
2904         * gst/parse/grammar.y:
2905           Remove unneeded casts.
2906
2907 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2908
2909         * gst/parse/grammar.y:
2910         * tests/check/pipelines/parse-launch.c:
2911           Get all missing elements from a parse launch string if possible
2912           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2913
2914 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2915
2916         * tests/check/Makefile.am:
2917         * tests/check/pipelines/parse-launch.c:
2918           Add some unit tests for the new gst_parse_launch*_full() API.
2919           (Exposes a previously-existing memory leak in the error code
2920           path, so adding to VALGRIND_TO_FIX for now).
2921
2922 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2923
2924         * docs/gst/gstreamer-sections.txt:
2925         * gst/gst.c: (init_post):
2926         * gst/gst_private.h: (_GstParseContext):
2927         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2928           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2929           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2930           (gst_parse_launch_full):
2931         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2932           (GstParseFlags), (GstParseContext):
2933         * gst/gstutils.c: (gst_parse_bin_from_description),
2934           (gst_parse_bin_from_description_full):
2935         * gst/gstutils.h:
2936         * gst/parse/grammar.y:
2937         * gst/parse/types.h:
2938         * win32/common/libgstreamer.def:
2939           Add new gst_parse_*_full API (#528178):
2940           API: gst_parse_launch_full()
2941           API: gst_parse_launchv_full()
2942           API: gst_parse_bin_from_description_full()
2943           API: gst_parse_context_new()
2944           API: gst_parse_context_free()
2945           API: gst_parse_context_get_missing_elements()
2946
2947 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2948
2949         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2950
2951         * docs/faq/gst-uninstalled:
2952           Also support ffmpeg in gst-uninstalled.
2953
2954 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2955
2956         * configure.ac:
2957         After discussion on IRC use the binary registry as default
2958         but allow to disable it with --disable-binary-registry.
2959
2960         * win32/common/libgstreamer.def:
2961         Add the two new symbols for the binary registry.
2962
2963 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2964
2965         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2966         * gst/gstutils.c: (gst_parse_bin_from_description):
2967         * gst/parse/grammar.y: (graph):
2968           More guards against bad input; typo fix; some minor clean-ups.
2969
2970 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2971
2972         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2973
2974         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2975         If nothing else can be used, use the last buffer's start time as
2976         the segment's last stop. Fixes bug #534258.
2977
2978 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2979
2980         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2981           Move size sanity check to the right place: downstream may return
2982           a buffer with a smaller size if the buffer caps are different than
2983           the requested ones, as may happen when doing reverse negotiation.
2984
2985 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2986
2987         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2988         (gst_file_sink_render):
2989         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2990         (gst_file_src_start):
2991         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2992         use it yet.
2993
2994 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2995
2996         * gst/gstpad.c: (gst_pad_load_and_link):
2997         * gst/gstutils.c: (gst_element_link_pads),
2998         (gst_element_unlink_pads):
2999         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3000         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3001         (gst_check_teardown_sink_pad),
3002         (gst_check_element_push_buffer_list):
3003         * tests/check/elements/fakesink.c: (GST_START_TEST):
3004         * tests/check/elements/filesink.c:
3005         * tests/check/elements/filesrc.c: (GST_START_TEST):
3006         * tests/check/elements/multiqueue.c: (setup_multiqueue),
3007         (mq_sinkpad_to_srcpad):
3008         * tests/check/elements/tee.c: (GST_START_TEST):
3009         * tests/check/generic/sinks.c: (GST_START_TEST):
3010         * tests/check/gst/gstbin.c: (GST_START_TEST):
3011         * tests/check/gst/gstevent.c: (GST_START_TEST):
3012         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3013         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
3014         * tests/check/gst/gstquery.c: (GST_START_TEST):
3015         * tests/check/gst/gstutils.c: (GST_START_TEST):
3016         * tests/check/libs/basesrc.c: (GST_START_TEST):
3017         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
3018         (gst_parse_test_element_change_state):
3019         Don't use gst_element_get_pad().
3020
3021 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
3022
3023         * docs/Makefile.am:
3024         Fix installing plugin documentation when gtk-doc is disabled.
3025
3026 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3027
3028         * docs/manual/advanced-autoplugging.xml:
3029         * docs/manual/basics-helloworld.xml:
3030         * docs/manual/basics-pads.xml:
3031         * docs/manual/highlevel-components.xml:
3032         Avoid using a bad function in the example code.
3033
3034 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3035
3036         * gst/gstclock.c: (gst_clock_set_calibration):
3037         Fix debug of the new clock rate.
3038
3039 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3040
3041         * win32/common/libgstbase.def:
3042         Add gst_base_sink_wait_clock() to the exported symbols.
3043
3044 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
3045
3046         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
3047
3048         * libs/gst/base/gstbasetransform.c:
3049         (gst_base_transform_sink_event):
3050         Unref events that the GstBaseTransform::event vfunc didn't want to
3051         have forwarded by the base class. Closes a leak in identity.
3052         Fixes bug #446763.
3053
3054 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3055
3056         * docs/libs/gstreamer-libs-sections.txt:
3057         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
3058         * libs/gst/base/gstbasesink.h:
3059         Expose a method that was previously used internally to synchronize
3060         against the clock because it can be useful for subclasses too.
3061         API: GstBaseSink::gst_base_sink_wait_clock()
3062
3063 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3064
3065         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3066           Add sanity check to make sure we don't get smaller buffers
3067           than requested (and fallback to normal buffer alloc if we do).
3068
3069 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3070
3071         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
3072         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
3073         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
3074         Refactor adjusting the running_time with latency and offset into a
3075         separate method.
3076         When doing clipping, we still want to use the subclass get_times method,
3077         just in case the DURATION or TIMESTAMP are not set.
3078
3079 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3080
3081         * docs/gst/gstreamer-sections.txt:
3082         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
3083         * gst/gsttypefind.h:
3084         * win32/common/libgstreamer.def:
3085           API: add gst_type_find_suggest_simple(), #533740.
3086
3087 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3088
3089         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
3090           Use right error code when typefinding fails, so we can use
3091           the default (translated) error messages.
3092
3093 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3094
3095         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3096         (gst_base_src_start):
3097         When the subclass did not set caps on outgoing buffers, configure the
3098         caps we negotiated on the source pad.
3099         When the typefind helper does not find caps, error out properly instead
3100         of doing things with NULL caps.
3101
3102 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3103
3104         * gst/gsttypefind.h:
3105           Tabs to spaces, oh yes!
3106
3107 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3108
3109         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
3110           Add David's and Benjamin's tests for array intersection to the
3111           unit test suite (#147931).
3112
3113 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3114
3115         * gst/gstevent.c:
3116           Document that gst_event_new_tag() and gst_event_new_navigation()
3117           take ownership of the taglist/structure passed to them. (#533635).
3118
3119 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
3120
3121         * docs/Makefile.am:
3122         Don't descend into the plugins dir if plugin docs building
3123         is disabled.
3124
3125         * docs/README:
3126         Add a note about the new type:GTypeName syntax for the plugin
3127         documentation .types file.
3128
3129 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3130
3131         * gst/gstmessage.c: (gst_message_new_error),
3132         (gst_message_new_warning), (gst_message_new_info):
3133         * gst/gstmessage.h:
3134         Mark the debug string parameters as const. Fixes bug #533490.
3135
3136 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
3137
3138         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3139         Sort buffer cache list by end offsets. This makes sure that we don't
3140         stop to search for a cached buffer that contains the requested data
3141         too early.
3142         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3143         more efficient. Fixes bug #459862.
3144
3145 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
3146
3147         * gst/gstinfo.c:
3148           Explain why we copy the list.
3149
3150         * gst/gstpipeline.c:
3151           Improve docs.
3152
3153         * gst/gstutils.c:
3154           Add one debug-log statement to help tracing probelms with linking pads.
3155
3156 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
3157
3158         * tests/check/gst/gstinfo.c:
3159         Add a test for removing the default log handler. Seems to fail under
3160         windows.
3161
3162 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3163
3164         * gst/gstpad.c: (gst_pad_peer_accept_caps):
3165         Release pad lock before calling out to avoid a possible deadlock.
3166
3167 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3168
3169         * gst/parse/grammar.y:
3170         Remove unneeded value unset.
3171
3172         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3173         Add unit test for de/serialization of caps.
3174
3175 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3176
3177         * plugins/elements/gstfakesink.c:
3178         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3179         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3180         (gst_fake_src_class_init):
3181         Use custom marshalers that take GstMiniObject as first parameter.
3182         Using OBJECT as parameter while a GstMiniObject is given will lead
3183         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3184
3185 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3186
3187         * plugins/elements/gsttypefindelement.c:
3188         (gst_type_find_element_handle_event),
3189         (gst_type_find_element_send_cached_events),
3190         (gst_type_find_element_change_state):
3191         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3192         immediately.
3193
3194 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3195
3196         * plugins/elements/gsttypefindelement.c:
3197         (gst_type_find_handle_src_query), (stop_typefinding),
3198         (gst_type_find_element_handle_event),
3199         (gst_type_find_element_send_cached_events),
3200         (gst_type_find_element_change_state):
3201         Forward FLUSH_START events immediately and clean up instead of
3202         caching them.
3203
3204 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3205
3206         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3207
3208         * libs/gst/base/gstbasetransform.c:
3209         (gst_base_transform_buffer_alloc):
3210         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3211         fall back to default negotiation in the chain function if the caps
3212         are different from what was requested. Fixes bug #526768.
3213
3214 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3215
3216         * gst/gstsegment.c:
3217         * tests/check/gst/gstsegment.c:
3218           No, let's not use g_slice_{dup|copy} here, since they only exist
3219           since GLib 2.14 and we still depend only on >= 2.12. Also add
3220           unit test for gst_segment_copy().
3221
3222 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3223
3224         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3225           Try to fix 'dereferencing type-punned pointer will break strict
3226           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3227           changed the default GType typedef from gulong to gsize at some point,
3228           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3229           g_once_* functions all take a gsize * though, so work around the type
3230           mismatch for C++ by doing everything in gsize and casting to GType
3231           later.
3232
3233 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
3234
3235         * plugins/elements/gstmultiqueue.c:
3236         Add documentation for the signals to push our core plugin docs
3237         coverage back up to 100%.
3238
3239 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3240
3241         * gst/gstinfo.h (GST_FUNCTION):
3242           Reverted GST_FUNCTION to the old version as we don't want the
3243           full signature in C++ code. Also added support for MSVC.
3244
3245 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3246
3247         * gst/gstutils.h:
3248         Intern the type name string, similar to what G_DEFINE_TYPE does.
3249
3250 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3251
3252         * gst/gstutils.h:
3253         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3254
3255 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3256
3257         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3258
3259         * libs/gst/base/gstbasetransform.c:
3260         (gst_base_transform_buffer_alloc):
3261         Don't passthrough buffer allocation too easily if the caps change.
3262         This breaks when working in passthrough mode and upstream changes
3263         it's caps. Fixes bug #526768.
3264
3265 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3266
3267         * gst/gstinfo.c (gst_debug_log_valist):
3268           Improved the __FILE__ part of debug output for MSVC.
3269
3270 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3271
3272         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3273           Declaration after statement fix for compilers like MSVC.
3274
3275 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3276
3277         * win32/common/config.h.in:
3278           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3279           use the real thing than having "???" unconditionally.
3280
3281 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3282
3283         * gst/gstinfo.h (GST_FUNCTION):
3284           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3285
3286 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3287
3288         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3289         Small code cleanup.
3290
3291         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3292         (gst_base_sink_set_flushing):
3293         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3294         Fix some comments.
3295
3296 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3297
3298         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3299         (gst_fake_src_init), (gst_fake_src_set_property),
3300         (gst_fake_src_get_property), (gst_fake_src_start):
3301         * plugins/elements/gstfakesrc.h:
3302         Added format property to control the format of the newsegment events.
3303         API: GstFakeSrc:format
3304
3305 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3306
3307         * win32/common/libgstreamer.def:
3308         Add gst_pad_has_name() to the exported symbols.
3309
3310 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3311
3312         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3313         * libs/gst/base/gstbasetransform.c:
3314         (gst_base_transform_prepare_output_buffer):
3315         Don't allow negative sizes when allocating new buffers.
3316         Fixes bug #461253.
3317
3318 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3319
3320         Patch by: Sjoerd Simons <sjoerd at luon net>
3321
3322         * gst/gstbus.c: (gst_bus_source_dispatch):
3323           Don't print a warning if the queue is empty when we try to pop
3324           here. That could happen if another thread or callback set the
3325           bus to flushing between the source's check/prepare and the
3326           dispatch being called (#531538).
3327
3328 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3329
3330         * plugins/elements/gstmultiqueue.c:
3331           Small docs fix.
3332         
3333 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
3334
3335         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3336         Add unit test for deserializing uint64s and check some really large
3337         numbers in the int64 test.
3338
3339 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3340
3341         * tools/gst-inspect.c: (n_print), (print_hierarchy),
3342         (print_interfaces), (print_element_properties_info),
3343         (print_signal_info):
3344         Use "%s" as format string instead of printing strings directly.
3345
3346 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3347
3348         * gst/gstclock.c: (gst_clock_set_calibration):
3349         Make some checks actually useful.
3350
3351         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3352         Remove some unused code. Unsigned integers tend to be >= 0.
3353
3354 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3355
3356         * gst/gstminiobject.c: (gst_value_get_mini_object):
3357           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3358           function was not in the unscheduled 0.10.19 release.
3359
3360 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3361
3362         * gst/gstregistry.c: (gst_registry_scan_path_level):
3363           Only print one log message per non-plugin file.
3364
3365 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3366
3367         * gst/gstinfo.c: (gst_debug_log_default):
3368           Fix alignment of debug log columns on 64-bit.
3369
3370 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3371
3372         * docs/libs/Makefile.am:
3373         * docs/libs/gstreamer-libs-sections.txt:
3374           Ignore private controller headers for docs.
3375
3376 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3377
3378         * libs/gst/controller/gstcontrollerprivate.h:
3379         * libs/gst/controller/gsthelper.c:
3380         * libs/gst/controller/gstinterpolation.c:
3381         * libs/gst/controller/gstinterpolationcontrolsource.c:
3382         (gst_interpolation_control_source_set_interpolation_mode):
3383         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3384         * libs/gst/controller/lib.c:
3385         Move some private declarations into private headers.
3386
3387 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3388
3389         * gst/gstdebugutils.c: (debug_dump_element_pad):
3390         Remove some code that is unused after Stefan's refactoring and uses
3391         uninitialized variables now, resulting in a compiler warning.
3392
3393 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3394
3395         * gst/gstregistry.c: (gst_registry_scan_path_level):
3396           Run g_str_has_suffix() only on the file name, not the
3397           entire file path.
3398
3399 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3400
3401         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3402           Since we're not called only from the chain function any longer,
3403           we can't assume that there's always data in the queue, so move
3404           the is_full check to the beginning of the loop (otherwise we'd
3405           hit the assert when changing the limit properties while the
3406           queue is empty or not running yet).
3407           Also, only set a discont if items were actually removed from
3408           the queue.
3409
3410         * tests/check/elements/queue.c: (test_leaky_downstream):
3411           Test case for the above.
3412
3413 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3414
3415         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3416
3417         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3418         (gst_queue_chain), (queue_capacity_change),
3419         (gst_queue_set_property):
3420         When changing thr max capacity of a leaky queue, immediatly drop buffers
3421         instead of waiting for a push on the sinkpad. Fixes #530637.
3422
3423 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3424
3425         * gst/gstdebugutils.c:
3426           Refactor code and fix handling of ghostpads and their proxypads.
3427
3428 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3429
3430         * docs/gst/gstreamer-sections.txt:
3431         * gst/gstevent.c: (gst_event_has_name):
3432         * gst/gstevent.h:
3433         * tests/check/gst/gstevent.c: (GST_START_TEST):
3434         Add method to conveniently check the name of a custom event with
3435         gst_event_has_name().
3436         Reformat the event docs so that related methods are put together instead
3437         of the default alphabetical sort.
3438         Update unit test with new method.
3439         API: GstEvent::gst_event_has_name()
3440
3441 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3442
3443         * libs/gst/check/Makefile.am:
3444           Don't add an explicit link to libgstreamer-0.10.la; it's already
3445           included in GST_OBJ_LIBS.
3446
3447 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3448
3449         * gst/gst.c:
3450         Register GstClock type from a type-safe context. Fixes bug #530317.
3451
3452 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3453
3454         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3455         * tools/gst-run.c:
3456           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3457
3458 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3459
3460         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3461         (gst_bin_dispose):
3462         Use the GLib stuff to create a private structure.
3463         Add some locking around some dispose methods to make them a little
3464         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3465
3466 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3467
3468         * libs/gst/base/gstbasesink.h:
3469         * libs/gst/base/gstbasesrc.h:
3470         * libs/gst/base/gstbasetransform.h:
3471         * libs/gst/base/gstcollectpads.h:
3472           Fix doc typos and unify caps a bit.
3473
3474 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3475
3476         * tools/gst-launch.1.in:
3477           Forgot to also add the envvar docs here.
3478
3479 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3480
3481         * gst/gst.c: (init_post), (gst_deinit):
3482         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3483           (test_concurrent_create), (gst_pipeline_suite):
3484           Ref some more classes in gst_init() to work around thread-safety
3485           issues in pre-2.16 GLibs, and add basic unit test.
3486
3487 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3488
3489         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3490         (gst_base_sink_send_event):
3491         Rearrange the latency query code. We always want to do the upstream
3492         query, even if we are not live so that the upstream elements can get the
3493         latency results too. If we fail doing the query and we are live, we
3494         return TRUE afterwards.
3495
3496 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3497
3498         patch by: Jason Zhao <e3423c@motorola.com>
3499
3500         * docs/gst/running.xml:
3501         * gst/gst.c:
3502           Enable/disable scan_and_update_registry() based on commandline switch
3503           or environment variable. Fixes #520468.
3504           
3505         * ChangeLog:
3506           Fix typo in my previous commit.
3507
3508 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3509
3510         * gst/gstregistrybinary.c:
3511           Add a warning if we hit unhandled factories when saving.
3512           More debug logging detail, but move to LOG category.
3513
3514 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3515
3516         * gst/gstregistry.c:
3517           Tell the *truth* when improving the documentation.
3518
3519 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3520
3521         * gst/gstelementfactory.c: (gst_element_factory_make):
3522         Unref the factory after it was used the last time, not before.
3523
3524         * gst/gstindexfactory.c: (gst_index_factory_make):
3525         Improve debugging a bit and don't leak a ref to the index factory with
3526         each call.
3527
3528 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3529
3530         * gst/gstregistry.c:
3531           Improve the documentation.
3532
3533 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3534
3535         * gst/gstsegment.c:
3536           The glib macro seems to be borked. Use g_slice_copy directly and cast
3537           in the hope that this fixes the warning on 64bit.
3538
3539 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3540
3541         * gst/gstsegment.c:
3542           Document the new function. Use g_slice_dup() (no need for
3543           gst_segment_init()).    
3544
3545 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3546
3547         * docs/gst/gstreamer-sections.txt:
3548           Move GParamSepc macros to standart section.
3549   
3550         * gst/gstbin.c:
3551           Dn't document _get_type - its in private section in docs anyway and
3552           this doc-blob was incomplete.
3553
3554         * gst/gstclock.h:
3555           Fix wrong symbol names in docs.
3556
3557         * gst/gstmacros.h:
3558           Add once doc sentence.
3559
3560         * tests/check/gst/.cvsignore:
3561           Ignore more.
3562
3563 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3564
3565         * docs/gst/Makefile.am:
3566           And remove those libs here.
3567
3568 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3569
3570         * docs/libs/Makefile.am:
3571           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3572
3573 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3574
3575         Patch by: Olivier Crete <tester at tester dot ca>
3576
3577         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3578         Add the min-threshold to the min latency if possible. Fixes #529148.
3579
3580 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3581
3582         * docs/gst/gstreamer.types.in:
3583           Stupid editor, I removed that line as it should go in yet.
3584
3585 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3586
3587         * docs/gst/gstreamer.types.in:
3588         * docs/libs/gstreamer-libs.types:
3589           Remove library types fro core docs and have them in libs docs.
3590           Reformat and cleanup. Add comment for miniobject types.
3591
3592 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3593
3594         * gst/gsturi.c: (gst_uri_get_protocol):
3595           Fix leak: g_strdown operates on the string in place, while
3596           g_ascii_strdown() returns a newly-allocated string.
3597
3598 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3599
3600         * tools/gst-inspect.c: (print_uri_handler_info),
3601         (print_element_info):
3602         Print the URI protocols and the URI type supported by the element.
3603
3604 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3605
3606         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3607         Use g_value_take_string() instead of the deprecated
3608         g_value_set_string_take_ownership().
3609
3610 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3611
3612         * gst/gstregistrybinary.c: (_gst_crc32):
3613         Return the old CRC instead of 0 if we give a NULL buffer
3614         or a buffer with a length of 0.
3615
3616 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3617
3618         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3619         (gst_uri_get_protocol), (gst_uri_has_protocol),
3620         (gst_uri_construct), (gst_uri_handler_set_uri):
3621         A valid URI scheme can also include '+', '-' and '.' additional
3622         to alphanumeric characters as per RFC 3986 Section 3.1.
3623
3624         Handle URI schemes case insensitive in all places and convert
3625         to lower-case when constructing an URI or setting an URI with
3626         the GstURIHandler interface. Fixes bug #528868.
3627         All elements can still assume (as before) that they will
3628         get passed URIs with a lower-case URI scheme by the GstURIHandler
3629         interface.
3630
3631 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3632
3633         * gst/gstcaps.c: (gst_static_caps_get):
3634         * gst/gstclock.c: (gst_clock_entry_new):
3635           Don't use g_atomic_set_int where it's not needed.
3636
3637 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3638
3639         * gst/gstvalue.c: (gst_value_deserialize_caps):
3640         * gst/parse/grammar.y:
3641         Fix 2 caps leaks.
3642
3643 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3644
3645         * gst/gstutils.c: (gst_atomic_int_set):
3646         Use g_atomic_int_set() here too instead of assignment +
3647         g_atomic_int_get().
3648
3649 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3650         
3651         * gst/gstutils.c:
3652         * gst/gstutils.h:
3653         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3654         now that we depend on new enough GLib.
3655
3656         * gst/gstcaps.c: (gst_static_caps_get):
3657         * gst/gstclock.c: (gst_clock_entry_new):
3658         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3659         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3660         (gst_debug_category_set_threshold):
3661         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3662         (gst_base_sink_set_qos_enabled):
3663         * libs/gst/net/gstnettimeprovider.c:
3664         (gst_net_time_provider_set_property):
3665         Use g_atomic_int_set() instead of gst_atomic_int_set().
3666
3667 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3668
3669         * gst/gstquery.c:
3670           Also use G_GINT64_CONSTANT for the queries.
3671
3672 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3673
3674         * gst/gstmessage.c:
3675           Use G_GINT64_CONSTANT in varargs function.
3676
3677 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3678
3679         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3680         Initialize the registry magic with zeroes.
3681
3682 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3683
3684         * gst/gstregistrybinary.c: (_gst_crc32),
3685         (gst_registry_binary_write),
3686         (gst_registry_binary_initialize_magic),
3687         (gst_registry_binary_write_cache),
3688         (gst_registry_binary_check_magic),
3689         (gst_registry_binary_read_cache):
3690         * gst/gstregistrybinary.h:
3691         Add crc32 checksum to the binary registry file and check this before
3692         accepting a registry file.
3693
3694         Also free the data list when writing to the registry file fails.
3695
3696 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3697
3698         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3699         (gst_registry_binary_load_feature),
3700         (gst_registry_binary_load_plugin):
3701         If an element supports the Uri interface, returns a valid pointer
3702         to the supported URI protocols but this pointer contains nothing
3703         don't try to save that as it will corrupt the registry.
3704
3705         Don't unref the plugin if we added it to the registry already but
3706         fail to load a feature as gst_registry_add_plugin() takes ownership
3707         of the plugin.
3708
3709         Improve debugging a bit.
3710
3711 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3712
3713         * gst/gsttaglist.h:
3714           Clarify some tag item docs after discussion on irc.
3715
3716 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3717
3718         * docs/gst/gstreamer-docs.sgml:
3719           Remove commented out plugins (they have their own docs). Update
3720           comments.
3721
3722 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3723
3724         * docs/gst/gstreamer-docs.sgml:
3725         * docs/gst/gstreamer-sections.txt:
3726         * gst/gstparamspecs.c:
3727         * gst/gstparamspecs.h:
3728           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3729           docs to own section.
3730
3731         * gst/gstvalue.c:
3732           This now only documents GValue.
3733           
3734         * docs/libs/gstreamer-libs-sections.txt:
3735         * libs/gst/controller/gstcontroller.h:
3736           Remove GST_PARAM_CONTROLLABLE.
3737
3738 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3739
3740         * docs/README:
3741           Correct file path. Tell about how to use -overrides.txt.
3742         * docs/design/draft-tagreading.txt:
3743           Small design update.
3744
3745 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3746
3747         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3748         (gst_registry_binary_load_plugin):
3749         Fix a typo in a debug message and revert change from yesterday as
3750         gst_registry_add_plugin() will only fail if something is really wrong
3751         already and we can't survive it anyway.
3752
3753 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3754
3755         * gst/gst.c: (init_post), (gst_deinit):
3756           Pre-register GstGError GType from a thread-safe context
3757           (fixes #527967); unref enum type classes in deinit.
3758
3759 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3760
3761         Patch by: Rene Stadler <mail at renestadler de>
3762
3763         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3764           Merging an empty list with another list in KEEP_ALL mode should
3765           yield an empty list as result and not the second list (#512578).
3766
3767         * tests/check/gst/gsttagsetter.c:
3768           Add unit test for tag merge modes and the aforementioned bug.
3769
3770 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3771
3772         Patch by: Rene Stadler <mail at renestadler de>
3773
3774         * gst/gsttaglist.h:
3775           Fix description to match the order in the table (#512577).
3776   
3777 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3778
3779         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3780
3781         * libs/gst/net/gstnettimepacket.h:
3782         * docs/libs/gstreamer-libs-sections.txt:
3783           Define socklen_t as int if it's not defined yet. Fixes compilation
3784           with MSVC6 and other versions where socklen_t is not defined in
3785           the windows headers (#518022).
3786
3787 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3788
3789         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3790         If gst_registry_add_plugin() fails our reference to the plugin is
3791         invalid so don't try to use it anymore and instead error out.
3792
3793 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3794
3795         * tools/gst-xmlinspect.c: (print_element_info), (main):
3796           De-cruft a bit. If no argument is specified, print all elements in
3797           XML syntax rather than a freestyle list of elements like gst-inspect.
3798           Also, don't print XML header chunk unless we actually have something
3799           to print (ie. don't print it before an error message); print error
3800           message to stderr not stdout. Remove support for printing plugin
3801           info (it would just output something freestyle along the lines of
3802           gst-inspect so far), which fixes #514507. Also add license header.
3803
3804 2008-04-11  Julien Moutte  <julien@fluendo.com>
3805
3806         Mac OS X love...
3807         * configure.ac: Merge platform specific defines, introduce a new
3808         define on OS X to remember that forking when updating registry is
3809         unsafe.
3810         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3811         module.
3812         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3813         is defined.
3814         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3815         condition that leads to absolutely no plugins being registered on
3816         OS X.
3817
3818 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3819
3820         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3821
3822         * gst/gstutils.c: (gst_pad_add_data_probe),
3823           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3824           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3825           (gst_pad_add_buffer_probe_full):
3826         * gst/gstutils.h:
3827         * docs/gst/gstreamer-sections.txt:
3828         * win32/common/libgstreamer.def:
3829           Add gst_pad_add_*_probe_full() functions with a notify callback that
3830           lets the caller free the data it passes to the probe functions. This
3831           is useful for bindings such as gst-python or gstreamermm (#526814).
3832           API: gst_pad_add_data_probe_full
3833           API: gst_pad_add_buffer_probe_full
3834           API: gst_pad_add_event_probe_full
3835
3836         * tests/check/gst/gstutils.c:
3837           Add minimal unit test to make sure freeing the data actually works
3838           as expected.
3839
3840         * tests/benchmarks/.cvsignore:
3841           Random cvsignore addendum.
3842
3843 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3844
3845         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3846           (GST_DEBUG_BIN_TO_DOT_FILE):
3847           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3848           to it in the docs (since these are macros the types of the arguments
3849           won't be shown in the docs otherwise).
3850
3851 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3852
3853         * gst/gstpad.c:
3854           Do not abort on out of memory for pad_alloc_buffer.
3855
3856 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3857
3858         * libs/gst/check/gstcheck.c:
3859           Remove blank line between symbol name ad parameters to fix gtkdoc
3860           warning.
3861
3862 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3863
3864         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3865
3866         * docs/gst/gstreamer-sections.txt:
3867         * gst/gstsegment.c:
3868         * gst/gstsegment.h:
3869         * win32/common/libgstreamer.def:
3870           Expose gst_segment_copy() to make things easier for the c++ bindings.
3871           Fixes #518932.
3872           API: gst_segment_copy()
3873
3874 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3875
3876         * gst/gst.c: (gst_init_get_option_group), (init_post):
3877           Fix const position; ref GType classes for enum types to work
3878           around thread-safety issues in GLib versions < 2.16.
3879
3880 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3881
3882         * docs/design/part-buffering.txt:
3883         Fix some typos and set the estimated total for push mode to -1.
3884
3885         * gst/gstquery.c: (gst_query_new_buffering):
3886         Set buffering-left to 0 as we're not buffering by default.
3887
3888         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3889         Implement BUFFERING query.
3890
3891 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3892
3893         Based on patch by: Milosz Derezynski <internalerror gmail com>
3894
3895         * gst/gsterror.c: (_gst_stream_errors_init):
3896         * gst/gsterror.h:
3897           Add two new error codes for encrypted content. Fixes #524659.
3898           API: GST_STREAM_ERROR_DECRYPT
3899           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3900
3901 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3902
3903         * gst/gstquery.h:
3904           Fix typo.
3905
3906         * win32/common/libgstreamer.def:
3907           Add new functions.
3908
3909 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3910
3911         * plugins/elements/gstidentity.c: (gst_identity_event),
3912         (gst_identity_start):
3913         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3914         event after processing some data. Fixes bug #526042.
3915
3916 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3917
3918         * docs/gst/gstreamer-sections.txt:
3919         * gst/gstquery.c: (gst_query_parse_latency),
3920         (gst_query_set_buffering_percent),
3921         (gst_query_parse_buffering_percent),
3922         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3923         * gst/gstquery.h:
3924         Rename _avail -> _range
3925         API: gst_query_set_buffering_range
3926         API: gst_query_parse_buffering_range
3927
3928 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3929
3930         * docs/design/part-buffering.txt:
3931         * gst/gstquark.c:
3932         * gst/gstquark.h:
3933         * gst/gstquery.c: (gst_query_parse_latency),
3934         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3935         (gst_query_parse_buffering_percent):
3936         * gst/gstquery.h:
3937         Add busy field and quark for the buffering query so that the app can
3938         only use the query to see if buffering is in progress.
3939
3940 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3941
3942         * docs/gst/gstreamer-sections.txt:
3943         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3944         (gst_message_parse_buffering_stats):
3945         * gst/gstmessage.h:
3946         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3947         (gst_query_parse_latency), (gst_query_new_buffering),
3948         (gst_query_set_buffering_percent),
3949         (gst_query_parse_buffering_percent),
3950         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3951         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3952         * gst/gstquery.h:
3953         Reorder the message docs and headers for clarity.
3954         Add aditional buffering stats API for messages.
3955         Add buffering query.
3956         Convert some leftover queries to use GstQuark.
3957         API: gst_message_set_buffering_stats
3958         API: gst_message_parse_buffering_stats
3959         API: GST_QUERY_BUFFERING
3960         API: GstBufferingMode
3961         API: gst_query_new_buffering
3962         API: gst_query_set_buffering_percent
3963         API: gst_query_parse_buffering_percent
3964         API: gst_query_set_buffering_stats
3965         API: gst_query_parse_buffering_stats
3966
3967 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3968
3969         * gst/gstmessage.c: (gst_message_new_error),
3970         (gst_message_new_warning), (gst_message_new_info),
3971         (gst_message_new_buffering), (gst_message_new_state_changed),
3972         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3973         (gst_message_new_new_clock), (gst_message_new_segment_start),
3974         (gst_message_new_segment_done), (gst_message_new_duration),
3975         (gst_message_new_async_start), (gst_message_parse_buffering),
3976         (gst_message_parse_state_changed),
3977         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3978         (gst_message_parse_new_clock), (gst_message_parse_error),
3979         (gst_message_parse_warning), (gst_message_parse_info),
3980         (gst_message_parse_segment_start),
3981         (gst_message_parse_segment_done), (gst_message_parse_duration),
3982         (gst_message_parse_async_start):
3983         Use GstQuark for messages.
3984
3985 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3986
3987         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3988         * gst/gstquark.h:
3989         Add some more quarks needed for messages and queries.
3990
3991 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3992
3993         * docs/design/part-buffering.txt:
3994         Remove the "none" buffering mode, STREAM is a good default.
3995         Move estimated-time to the avail query, that's when it will be needed.
3996         Other small typo fixes and updates.
3997
3998 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3999
4000         * gst/gstindex.c: (gst_index_resolver_get_type):
4001           Don't put descriptions into the nick field of a GEnumValue: it's not
4002           meant for that and some language bindings rely on the nick field to
4003           construct constants and the like. Fixes #526705.
4004
4005 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
4006
4007         * NEWS:
4008         * RELEASE:
4009         * gstreamer.doap:
4010           Merge other changes from 0.10.19 release branch.
4011
4012 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
4013
4014         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
4015
4016         * configure.ac:
4017         Actually build dlls when cross-compiling with mingw32.
4018         Fixes bug #526247.
4019
4020 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
4021
4022         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
4023
4024         * gst/gstpoll.c:
4025         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
4026
4027 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
4028
4029         * docs/design/draft-latency.txt:
4030         Fix typo.
4031
4032         * docs/design/part-buffering.txt:
4033         Update design docs with more buffering ideas.
4034
4035 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
4036
4037         * configure.ac:
4038           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
4039
4040 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
4041
4042         * configure.ac:
4043           Revert part that belongs to the preset patch.
4044
4045 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
4046
4047         * configure.ac:
4048           Add qoutes to the define. Fixes # 525961.
4049
4050 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
4051
4052         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
4053         (gst_file_index_load), (gst_file_index_add_id),
4054         (gst_file_index_get_assoc_entry):
4055         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
4056         (gst_mem_index_free_id), (gst_mem_index_add_id),
4057         (gst_mem_index_index_format):
4058         Use GSlice when possible.
4059
4060 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
4061
4062         * libs/gst/controller/gstinterpolationcontrolsource.c:
4063         (gst_control_point_free),
4064         (gst_interpolation_control_source_set_internal):
4065         Use GSlice for allocating the control points.
4066
4067 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
4068
4069         * plugins/elements/gsttypefindelement.c:
4070         (gst_type_find_element_class_init),
4071         (gst_type_find_element_set_property),
4072         (gst_type_find_element_get_property),
4073         (gst_type_find_element_activate):
4074         * plugins/elements/gsttypefindelement.h:
4075         Cleanup properties.
4076         Fix pad leak when peer query fails.
4077         We can still typefind when the peer returns -1.
4078         Add property to force caps and bypass typefinding. This will be used in
4079         uridecodebin.
4080         API::force-caps
4081
4082 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
4083
4084         * configure.ac:
4085         Require GLib 2.12.
4086
4087         * gst/glib-compat-private.h:
4088         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
4089         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4090         Unconditionally use GSlice for allocation.
4091
4092         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
4093         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
4094         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
4095         (gst_structure_free):
4096         Use GSlice for allocation.
4097
4098 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
4099
4100         * gst/parse/Makefile.am:
4101         * gst/parse/grammar.tab.pre.c:
4102         * gst/parse/grammar.tab.pre.h:
4103         * gst/parse/lex._gst_parse_yy.pre.c:
4104         Require a new enough flex and bison and remove the parser hacks to use
4105         a pre-regenerated version.
4106
4107 2008-04-01  Julien Moutte  <julien@fluendo.com>
4108
4109         patch by: Jason Zhao <E3423C@motorola.com>
4110
4111         * configure.ac: Add a configure switch to disable option parsing
4112         in gst_init.
4113         Fixes #522882.
4114
4115 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4116
4117         * configure.ac:
4118         * gst/gstregistry.c:
4119           MacOS has plugins under .so or under .dylib. Add detection for MacOS
4120           and handle this case.
4121
4122         * gst/gst.c:
4123           Add a comment here describing, why we stat each plugin and not try to
4124           be smart.
4125
4126 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
4127
4128         * libs/gst/base/gstbasetransform.c:
4129         (gst_base_transform_prepare_output_buffer):
4130         Also unset the GAP flag on buffers if we're working inplace but
4131         the element is not GAP-aware.
4132
4133         Mark a comment as FIXME 0.11.
4134
4135 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4136
4137         * gst/gst.c:
4138           Fix type in log message and add one to ease seeing how long registry
4139           cache verification takes.
4140
4141         * gst/gstregistry.c:
4142           Only test plugin filenames against G_MODULE_SUFFIX.
4143
4144 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4145
4146         * gst/gstdebugutils.c:
4147           Improve handling ghost/proxy pads.
4148
4149 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
4150
4151         * docs/gst/gstreamer-sections.txt:
4152         * gst/gstpad.c:
4153         * gst/gstpad.h:
4154           Expose macro to docs and fix link to it.
4155
4156 2008-03-27  Michael Smith <msmith@fluendo.com>
4157
4158         * libs/gst/dataprotocol/dataprotocol.c:
4159         (gst_dp_packet_from_event_1_0):
4160           When calculating GDP body CRC, use the correct pointer. 
4161           Fixes part of #522401.
4162
4163 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4164
4165         Patch by: Mark Nauwelaerts <manauw at skynet be>
4166
4167         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4168         (gst_identity_init), (gst_identity_prepare_output_buffer):
4169         Identity is not always a passthrough element, it can modify the buffer
4170         timestamps when it has a datarate and operates in single-segment mode.
4171         We therefore make it an in_place filter with a custom buffer prepare
4172         function that conditionally makes the input buffer metadata writable
4173         when needed.  Fixes #523985.
4174
4175 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4176
4177         Patch by: Mark Nauwelaerts <manauw at skynet be>
4178
4179         * gst/gstclock.h:
4180         * libs/gst/base/gstbasesrc.h:
4181         * libs/gst/base/gstbasetransform.c:
4182         * libs/gst/check/gstcheck.c:
4183         Small documentation fixes. Fixes #523978.
4184
4185 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4186
4187         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4188         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4189         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4190
4191 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4192
4193         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4194         (single_queue_underrun_cb):
4195         When trying to make room in the queue, bump the max allowed buffers
4196         bigger than the current amount of buffers in the queue. this fixes some
4197         nasty deadlocks in multiqueue when dynamically changing the limits of
4198         the queue.
4199
4200 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4201
4202         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
4203
4204         * gst/gstcaps.c: (gst_caps_set_simple),
4205         (gst_caps_set_simple_valist), (gst_caps_intersect):
4206         * gst/gstcaps.h:
4207         Constify the field gchar * params in set_simple and friends.
4208         Fixes #522326.
4209
4210 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4211
4212         * gst/gstvalue.c: (gst_value_transform_object_string):
4213         Transform a GstObject to a more meaningfull string that includes the
4214         object type in addition to its name.
4215
4216 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
4217
4218         * ChangeLog:
4219           ChangeLog surgery to add bugnumber to commit.
4220
4221 2008-03-23  Rene Stadler  <mail@renestadler.de>
4222
4223         * libs/gst/base/gstbasetransform.c:
4224         (gst_base_transform_set_gap_aware): Fix confusing documentation.
4225
4226 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4227
4228         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4229         Rename constant everywhere and don't forget one occurence.
4230
4231 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4232
4233         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4234         Align memory to the pointer size even if the architecture allows
4235         unaligned memory access. Unaligned memory access usually comes with
4236         performance penality.
4237
4238 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4239
4240         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4241         (gst_registry_binary_check_magic),
4242         (gst_registry_binary_load_pad_template),
4243         (gst_registry_binary_load_feature),
4244         (gst_registry_binary_load_plugin):
4245         Align memory to the pointer size instead of always 32 bit. Fixes
4246         unaligned memory accesses on ia64 and friends.
4247
4248         * gst/gstregistrybinary.h:
4249         Bump binary registry format version for this as it changes the
4250         format on those architectures that don't have unaligned access
4251         and 64 bit pointers.
4252
4253 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4254
4255         * docs/pwg/advanced-dparams.xml:
4256         * docs/pwg/building-props.xml:
4257         * docs/pwg/other-source.xml:
4258         * gst/glib-compat.h:
4259         * gst/gstbin.c: (gst_bin_class_init):
4260         * gst/gstclock.c: (gst_clock_class_init):
4261         * gst/gstindex.c: (gst_index_class_init):
4262         * gst/gstobject.c: (gst_object_class_init):
4263         * gst/gstpad.c: (gst_pad_class_init):
4264         * gst/gstpipeline.c: (gst_pipeline_class_init):
4265         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4266         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4267         * libs/gst/base/gstbasetransform.c:
4268         (gst_base_transform_class_init):
4269         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4270         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4271         (_gst_check_fault_handler_sighandler),
4272         (_gst_check_fault_handler_setup), (gst_check_init):
4273         * libs/gst/controller/gstcontroller.c:
4274         (_gst_controller_class_init):
4275         * libs/gst/controller/gstlfocontrolsource.c:
4276         (gst_lfo_control_source_class_init):
4277         * libs/gst/net/gstnetclientclock.c:
4278         (gst_net_client_clock_class_init):
4279         * libs/gst/net/gstnettimeprovider.c:
4280         (gst_net_time_provider_class_init):
4281         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4282         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4283         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4284         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4285         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4286         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4287         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4288         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4289         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4290         * plugins/elements/gstqueue.c: (gst_queue_class_init):
4291         * plugins/elements/gsttee.c: (gst_tee_class_init):
4292         * plugins/elements/gsttypefindelement.c:
4293         (gst_type_find_element_class_init):
4294         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4295         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4296         use it everywhere for GParamSpecs that use static strings (i.e. all).
4297         This gives us less memory usage, fewer allocations and thus less
4298         memory defragmentation. Fixes bug #523806.
4299
4300 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4301
4302         * gst/gstminiobject.c: (gst_value_dup_mini_object),
4303         (gst_param_spec_mini_object):
4304         * gst/gstminiobject.h:
4305         * win32/common/libgstreamer.def:
4306         * docs/gst/gstreamer-sections.txt:
4307         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4308         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4309         GstParamSpecMiniObject into a public header for this.
4310
4311         This make GstMiniObject a bit more consistent with GObject and makes
4312         it possible to extend the param specs.
4313
4314         gst_value_dup_mini_object is mainly useful for set_property methods.
4315
4316         Fixes bug #523798.
4317
4318         * tools/gst-inspect.c: (print_element_properties_info):
4319         Print something useful for GstMiniObject properties and not just
4320         "unknown type".
4321
4322 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4323
4324         * docs/gst/gstreamer-sections.txt:
4325         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4326         (gst_registry_binary_check_magic):
4327         * gst/gstregistrybinary.h:
4328         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4329         and add it to the (private part) of the docs to fix the build.
4330
4331 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4332
4333         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4334         (gst_registry_binary_check_magic),
4335         (gst_registry_binary_read_cache):
4336         * gst/gstregistrybinary.h:
4337         Don't use GST_MAJORMINOR for the binary registry version. Instead
4338         hardcode a value that must be changed whenever the format changes
4339         in an incompatible way.
4340         Also don't GST_ERROR when there is a version mismatch, just
4341         regenerate the registry silently.
4342
4343 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
4344
4345         * configure.ac:
4346         Back to development - 0.10.18.1
4347
4348 === release 0.10.18 ===
4349
4350 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
4351
4352         * configure.ac:
4353           releasing 0.10.18, "So far away"
4354
4355 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
4356
4357         * configure.ac:
4358         * win32/common/config.h:
4359         0.10.17.4 pre-release
4360
4361 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
4362
4363         Patch by: Ole André Vadla Ravnås
4364             <ole dot andre dot ravnas at tandberg dot com>
4365
4366         * docs/gst/gstreamer-sections.txt:
4367         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4368         (gst_poll_update_winsock_event_mask),
4369         (gst_poll_prepare_winsock_active_sets),
4370         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4371         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4372         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4373         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4374         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4375         * gst/gstpoll.h:
4376         * win32/common/libgstreamer.def:
4377         Add new function gst_poll_fd_ignored() for improved Windows
4378         compatibility.
4379         Various minor fixes and cleanups. See #520808.
4380
4381 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4382
4383         * gst/gstindex.c: (gst_index_entry_free):
4384         * gst/gstindex.h:
4385           Don't free key strings which we don't own. Fixes crash in
4386           gst_index_entry_free() (#522741).
4387
4388         * tests/check/Makefile.am:
4389         * tests/check/gst/.cvsignore:
4390         * tests/check/gst/gstindex.c: (test_index_entries),
4391           (gst_index_suite), (gst_index):
4392           Add unit test for the above.
4393
4394 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4395
4396         * win32/common/libgstreamer.def:
4397         Remove symbols that were removed recently. Fixes bug #521740.
4398
4399 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4400
4401         * configure.ac:
4402         * win32/common/config.h:
4403         0.10.17.3 pre-release
4404
4405 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4406
4407         Patch by: Ole André Vadla Ravnås
4408             <ole dot andre dot ravnas at tandberg dot com>
4409
4410         * docs/gst/gstreamer-sections.txt:
4411         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4412         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4413         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4414         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4415         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4416         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4417         (gst_poll_fd_can_write), (gst_poll_wait),
4418         (gst_poll_set_controllable), (gst_poll_restart),
4419         (gst_poll_set_flushing):
4420         * gst/gstpoll.h:
4421         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4422         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4423         (gst_net_time_provider_new):
4424         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4425         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4426         * tests/benchmarks/gstpollstress.c: (main):
4427         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4428         Remove GstPollMode from the API, it does not make sense to let the
4429         application control this.
4430         Add support for Win32.
4431         Fix the testsuite. Fixes #520671.
4432
4433 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4434
4435         Patch by: Ole André Vadla Ravnås
4436             <ole dot andre dot ravnas at tandberg dot com>
4437
4438         * gst/gstregistrybinary.c:
4439         Include io.h for write() and close() when building with MSVC. Fixes
4440         bug #520877.
4441
4442 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4443
4444         * configure.ac:
4445         * gst/gst_private.h:
4446         * gst/gstconfig.h.in:
4447         * gst/gstregistry.h:
4448         * gst/gstregistrybinary.c:
4449         * win32/common/gstconfig.h:
4450           Move registry backend API to private headers where we can. Add
4451           fixme-0.11 comments for the others. Add stubs for the xml backend when
4452           using the binary to ensure they functions exists (they should not be
4453           used though). Fixes #520756.
4454
4455 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4456
4457         * configure.ac:
4458         * win32/common/config.h:
4459         0.10.17.2 prelease
4460
4461 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4462
4463         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4464         (gst_registry_binary_read_cache):
4465         * gst/gstregistryxml.c: (gst_registry_save):
4466         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4467         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4468         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4469         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4470         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4471         Fixes #520152
4472
4473 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4474
4475         * gst/gstminiobject.c:
4476         Import gst_private.h before any other header that might include other
4477         glib headers. This fixes the build on windows using native compilers.
4478
4479 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4480
4481         * win32/common/gstconfig.h:
4482           Add here too, just for completeness.
4483
4484 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4485
4486         * configure.ac:
4487         * gst/gstconfig.h.in:
4488         * gst/gstregistry.h:
4489           Fix broken use of config.h-defined preprocessor directive in a public
4490           header file. Add a corresponding define to gstconfig.h, since we can't
4491           really remove those function declarations from the header file now
4492           (or can we? and why are they there in the first place?).
4493
4494 2008-03-03  Andy Wingo  <wingo@pobox.com>
4495
4496         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4497         the new warning.
4498
4499         * gst/gststructure.c (gst_structure_from_string): Warn if
4500         structure_from_string didn't consume the whole string, but the
4501         caller did not provide an end pointer.
4502
4503 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4504
4505         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4506
4507         * gst/gstregistryxml.c: (read_string), (load_feature):
4508           Strings allocated by libxml2 should be freed with xmlFree(), not
4509           with g_free(). Fixes issues on windows in certain contexts (#519698).
4510
4511 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4512
4513         * gst/gstinterface.c: (gst_element_implements_interface):
4514           Don't crash if the element supports the interface queried, but does
4515           not implement GstImplementsInterface. Fixes #519584.
4516
4517         * tests/check/Makefile.am:
4518         * tests/check/gst/.cvsignore:
4519         * tests/check/gst/gstinterface.c:
4520           Add unit test for the above.
4521
4522 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4523
4524         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4525         Small doc update.
4526
4527 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4528
4529         * gst/gstsegment.c: (gst_segment_set_seek),
4530         (gst_segment_to_stream_time):
4531         Improve some comment.
4532         Update variables where it makes more sense.
4533
4534 2008-02-29  Rene Stadler  <mail@renestadler.de>
4535
4536         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4537         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4538         URIHandlers implemented using language bindings.
4539
4540 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4541
4542         * gst/gstelementfactory.h:
4543         * tests/check/elements/fakesink.c:
4544         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4545         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4546         * tests/check/elements/filesink.c: (setup_filesink):
4547         * tests/check/elements/filesrc.c: (setup_filesrc):
4548         * tests/check/elements/identity.c: (setup_identity):
4549         * tests/check/elements/tee.c:
4550         * tests/check/generic/sinks.c:
4551         * tests/check/generic/states.c: (setup), (teardown):
4552         * tests/check/gst/gst.c:
4553         * tests/check/gst/gstabi.c:
4554         * tests/check/gst/gstbin.c:
4555         * tests/check/gst/gstbus.c: (pull_messages):
4556         * tests/check/gst/gstcaps.c:
4557         * tests/check/gst/gstelement.c:
4558         * tests/check/gst/gstevent.c:
4559         * tests/check/gst/gstghostpad.c:
4560         * tests/check/gst/gstiterator.c:
4561         * tests/check/gst/gstmessage.c:
4562         * tests/check/gst/gstminiobject.c: (my_foo_init):
4563         * tests/check/gst/gstobject.c: (thread_name_object),
4564         (gst_object_suite):
4565         * tests/check/gst/gstpad.c:
4566         * tests/check/gst/gstplugin.c:
4567         * tests/check/gst/gstpoll.c:
4568         * tests/check/gst/gstquery.c:
4569         * tests/check/gst/gstsegment.c:
4570         * tests/check/gst/gststructure.c:
4571         * tests/check/gst/gstsystemclock.c:
4572         * tests/check/gst/gsttask.c:
4573         * tests/check/gst/gstutils.c:
4574         * tests/check/gst/gstvalue.c:
4575         * tests/check/gst/struct_hppa.h:
4576         * tests/check/gst/struct_i386.h:
4577         * tests/check/gst/struct_ppc32.h:
4578         * tests/check/gst/struct_ppc64.h:
4579         * tests/check/gst/struct_x86_64.h:
4580         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4581         * tests/check/libs/basesrc.c:
4582         * tests/check/libs/controller.c: (GST_START_TEST):
4583         * tests/check/libs/gdp.c:
4584         * tests/check/libs/gstnetclientclock.c:
4585         * tests/check/libs/gstnettimeprovider.c:
4586         * tests/check/libs/libsabi.c:
4587         * tests/check/libs/struct_hppa.h:
4588         * tests/check/libs/struct_i386.h:
4589         * tests/check/libs/struct_ppc32.h:
4590         * tests/check/libs/struct_ppc64.h:
4591         * tests/check/libs/struct_x86_64.h:
4592         * tests/check/pipelines/cleanup.c:
4593         * tests/check/pipelines/simple-launch-lines.c:
4594         * tests/check/pipelines/stress.c:
4595         And correct even more valid sparse warnings.
4596
4597         * win32/common/libgstreamer.def:
4598         Add gst_poll_fd_init to the list of symbols.
4599
4600 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4601
4602         * gst/gstconfig.h.in:
4603         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4604         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4605         (gst_check_log_critical_func), (gst_check_drop_buffers),
4606         (gst_check_element_push_buffer_list):
4607         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4608         (gst_controller_get_type):
4609         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4610         (gst_object_get_controller), (gst_object_get_control_source):
4611         * libs/gst/controller/gstinterpolationcontrolsource.c:
4612         (gst_interpolation_control_source_new):
4613         * libs/gst/controller/gstlfocontrolsource.c:
4614         (gst_lfo_control_source_new):
4615         * libs/gst/dataprotocol/dataprotocol.c:
4616         (gst_dp_event_from_packet_0_2):
4617         * plugins/elements/gstfdsrc.c:
4618         * plugins/elements/gstmultiqueue.c:
4619         * plugins/elements/gsttee.c:
4620         * plugins/elements/gsttypefindelement.c:
4621         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4622         (gst_file_index_add_association):
4623         * plugins/indexers/gstmemindex.c:
4624         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4625         * tests/check/elements/queue.c: (setup_queue):
4626         * tests/check/gst/gstpipeline.c:
4627         * tests/check/libs/collectpads.c: (setup), (teardown),
4628         (gst_collect_pads_suite):
4629         * tests/examples/adapter/adapter_test.c:
4630         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4631         * tests/examples/xml/createxml.c:
4632         * tests/examples/xml/runxml.c:
4633         * tools/gst-inspect.c:
4634         * tools/gst-run.c:
4635         Correct all relevant warnings found by the sparse semantic code
4636         analyzer. This include marking several symbols static, using
4637         NULL instead of 0 for pointers, not using variable sized arrays
4638         on the stack, moving variable declarations to the beginning of
4639         a block and using "foo (void)" instead of "foo ()" for declarations.
4640
4641 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4642
4643         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4644         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4645         Don't reset GstPollFDs, this is not necessary at all.
4646
4647         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4648         (delayed_restart), (delayed_control):
4649         Use GST_POLL_FD_INIT.
4650
4651 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4652
4653         * gst/gstpoll.c: (gst_poll_fd_init):
4654         * gst/gstpoll.h:
4655         Added Since tags.
4656
4657         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4658         Use some more init macros.
4659
4660 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4661
4662         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4663         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4664         Use init macros and functions.
4665
4666 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4667
4668         * docs/gst/gstreamer-sections.txt:
4669         * gst/gstpoll.c: (gst_poll_fd_init):
4670         * gst/gstpoll.h:
4671         Add INIT macro and _init method for initializing the GstPollFD.
4672
4673 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4674
4675         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4676         (gst_fd_sink_update_fd):
4677         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4678         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4679         (delayed_restart), (delayed_control):
4680         Initialize some uninitialized variables as spotted by valgrind.
4681
4682 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4683
4684         * tests/benchmarks/Makefile.am:
4685         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4686         (main):
4687         Add poll stress test.
4688
4689 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4690
4691         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4692
4693         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4694         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4695         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4696         * plugins/elements/gstfdsink.h:
4697         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4698         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4699         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4700         (gst_fd_src_uri_set_uri):
4701         * plugins/elements/gstfdsrc.h:
4702         Port to GstPoll. See #505417.
4703
4704 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4705
4706         * win32/common/libgstreamer.def:
4707         Add new gst_poll_ symbols to win32 defs.
4708
4709 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4710
4711         * docs/libs/gstreamer-libs-sections.txt:
4712         * libs/gst/net/gstnetclientclock.c:
4713         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4714         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4715         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4716         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4717         * libs/gst/net/gstnetclientclock.h:
4718         * libs/gst/net/gstnettimeprovider.c:
4719         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4720         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4721         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4722         (gst_net_time_provider_new):
4723         * libs/gst/net/gstnettimeprovider.h:
4724         Use a private stuct to not break ABI.
4725
4726 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4727
4728         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4729
4730         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4731         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4732         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4733         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4734         * libs/gst/net/gstnetclientclock.h:
4735         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4736         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4737         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4738         (gst_net_time_provider_new):
4739         * libs/gst/net/gstnettimeprovider.h:
4740         Massive code removal and cleanups because of GstPoll.
4741         Fixes #505417.
4742
4743 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4744
4745         * configure.ac:
4746         Add checks for poll, ppoll and pselect.
4747
4748         * docs/gst/gstreamer-docs.sgml:
4749         * docs/gst/gstreamer-sections.txt:
4750         Add docs for GstPoll.
4751
4752         * gst/Makefile.am:
4753         * gst/gst.h:
4754         * gst/gstpoll.c: (find_index), (selectable_fds),
4755         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4756         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4757         (gst_poll_set_mode), (gst_poll_get_mode),
4758         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4759         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4760         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4761         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4762         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4763         (gst_poll_fd_can_write), (gst_poll_wait),
4764         (gst_poll_set_controllable), (gst_poll_restart),
4765         (gst_poll_set_flushing):
4766         * gst/gstpoll.h:
4767         Add generic poll abstraction. We ideally don't want to have this in core
4768         here but in glib intead...
4769         This code will be used in various network elements and ultimately for
4770         the nanosecond precision monotonic clock (that's why it's here in core).
4771         It'll allow us to implement cancelable socket operations for windows too.
4772
4773         * tests/check/Makefile.am:
4774         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4775         (delayed_stop), (delayed_restart), (delayed_flush),
4776         (delayed_control), (gst_poll_suite):
4777         Add GstPoll unit test.
4778
4779 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4780
4781         * gst/gstfilter.c:
4782           Improve documentation of gst_filter_run(). Fixes #518627.
4783
4784 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4785
4786         * docs/README:
4787           Add a few lines about the new 'check-inspected-versions' target.
4788
4789 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4790
4791         * tests/check/gst/gstevent.c:
4792           Add qos to the event test. Rename tcase/tsuite; is not only about
4793           custom events.
4794
4795 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4796
4797         * plugins/elements/gstqueue.c:
4798           Ensure that buffer metadata is writeable, before modifying. Spotted by
4799           Mike.
4800
4801 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4802
4803         * plugins/elements/gstqueue.c:
4804         * plugins/elements/gstqueue.h:
4805           When dropping buffers in leaky modes, mark next buffers we sent as
4806           DISCONT.
4807
4808 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4809
4810         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4811           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4812
4813 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4814
4815         * plugins/elements/Makefile.am:
4816         * plugins/elements/gstbufferstore.c:
4817         * plugins/elements/gstbufferstore.h:
4818         * plugins/elements/gsttypefindelement.h:
4819           Remove GstBufferStore, no idea why we were still building it.
4820           It's not used anywhere and superseded by GstAdapter.
4821
4822         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4823           (gst_file_src_create_mmap):
4824         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4825           Printf format fixes for 64-bit integers.
4826
4827 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4828
4829         * configure.ac:
4830         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4831         We're not in 0.8 times anymore.
4832
4833 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4834
4835         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4836         (gst_check_element_push_buffer_list):
4837         * libs/gst/check/gstcheck.h:
4838         Make the declaration in the header for
4839         gst_check_element_push_buffer_list match the implementation.
4840
4841         Fix up spelling, grammar and wording of the documentation in a few
4842         places, and add the Since keyword to new API functions.
4843         Use g_list_delete_link instead of g_list_remove in
4844         gst_check_drop_buffers, since it's immeasurably more efficient.
4845
4846         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4847         Use new gst_check_drop_buffers function where appropriate.
4848
4849         * win32/common/libgstbase.def:
4850         * win32/common/libgstreamer.def:
4851         Add new symbols gst_collect_pads_take_buffer, 
4852         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4853         exports
4854
4855         Changelog surgery to add API keyword to new gst_check API.
4856
4857 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4858
4859         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4860         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4861         Update pre-generated flex files with flex 2.3.34.
4862
4863 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4864
4865         * gst/gstminiobject.c:
4866           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4867           friendly to subclasses and not require them to know all internals
4868           of their parent class.
4869
4870 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4871
4872         * docs/libs/gstreamer-libs-sections.txt:
4873         * libs/gst/base/gstcollectpads.c:
4874         * libs/gst/base/gstcollectpads.h:
4875           Add sub-buffer functions to collectpads. Fixes #516187.
4876           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4877
4878 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4879
4880         * gst/gstbuffer.c:
4881           Copy selected buffer-flags when creating subbuffers.
4882           Fixes #516395.
4883
4884 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4885
4886         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4887         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4888         * gst/gstmessage.c: (gst_message_class_init),
4889         (gst_message_finalize):
4890         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4891         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4892         (gst_mmap_buffer_finalize):
4893         Properly chain up finalize functions to the parent class.
4894
4895 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4896
4897         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4898
4899         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4900         (gst_index_set_resolver_full):
4901         * gst/gstindex.h:
4902         Add new function with option to dispose of user_data in resolver.
4903         Actually call the dispose function when finalizing the object and not
4904         just when changing the resolver/filter.
4905         API: GstIndex::gst_index_set_resolver_full()
4906
4907         * docs/gst/gstreamer-sections.txt:
4908         Add new function to docs. Fixes #515469.
4909
4910 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4911
4912         * gst/gstindex.c: (gst_index_finalize):
4913         Chain up finalize to the parent class. Fixes leaking the GstObject
4914         name and other things.
4915
4916 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4917
4918         * configure.ac:
4919         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4920         pre-releases or releases.
4921
4922         * docs/faq/gst-uninstalled:
4923         Add gst-plugins-gl
4924
4925         * docs/random/release:
4926         Change one of the steps - we only upload core & base to Gnome FTP
4927
4928 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4929
4930         * gst/gstconfig.h.in:
4931           Add 'id' for example.
4932
4933         * gst/gstpad.c:
4934         * gst/gstutils.c:
4935         * plugins/elements/gstfdsink.c:
4936           Link to signals. Doc and comment fixes.
4937
4938 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4939
4940         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4941         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4942           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4943           unused and unimplemented; finally, it is plugin features, not
4944           plugins, that have ranks.
4945           
4946 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4947
4948         * gst/gstpluginfeature.h:
4949           Clarify GstRank range docs.
4950
4951 2008-02-05  David Schleef  <ds@schleef.org>
4952
4953         * gst/gst.c: Add a separate gst_deinitialized that prevents
4954           gst_init() from being called after gst_deinit().  Fixes #509559
4955
4956 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4957
4958         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4959         (gst_bin_class_init):
4960         * gst/gstelement.c: (gst_element_base_class_init),
4961         (gst_element_class_add_pad_template):
4962         * gst/gstpadtemplate.c: (gst_pad_template_init):
4963         * gst/gstpipeline.c: (gst_pipeline_get_type),
4964         (gst_pipeline_base_init), (gst_pipeline_class_init):
4965         * libs/gst/base/gstbasesink.c:
4966         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4967         (gst_base_src_base_init), (gst_base_src_class_init):
4968         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4969         (gst_capsfilter_class_init):
4970         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4971         (gst_fake_sink_class_init):
4972         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4973         (gst_fake_src_class_init):
4974         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4975         (gst_fd_sink_class_init):
4976         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4977         (gst_fd_src_class_init):
4978         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4979         (gst_file_sink_class_init):
4980         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4981         (gst_file_src_class_init):
4982         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4983         (gst_identity_class_init):
4984         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4985         (gst_multi_queue_class_init):
4986         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4987         (gst_queue_class_init):
4988         * plugins/elements/gsttee.c: (gst_tee_base_init),
4989         (gst_tee_class_init):
4990         * plugins/elements/gsttypefindelement.c:
4991         (gst_type_find_element_base_init),
4992         (gst_type_find_element_class_init):
4993         * tests/check/gst/gstelement.c: (gst_element_suite):
4994         Revert previous changes to the behaviour of GstPadTemplates, etc
4995         and the possiblity to call them in class_init as it breaks too
4996         many elements. Reopens bug #491501.
4997
4998         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4999         several places.
5000
5001 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
5002
5003         * tools/gst-launch.c:
5004         Dump one graph per pipeline state-change and state change name
5005         (if GST_DEBUG_DUMP_DOT_DIR is set).
5006
5007 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
5008
5009         * gst/gstpad.c:
5010         * tests/check/gst/gstpad.c:
5011         Be sure that we have a new copy of the caps and not
5012         reffed caps from a template
5013
5014 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
5015
5016         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5017         * gst/gstpipeline.c: (gst_pipeline_get_type),
5018         (gst_pipeline_class_init):
5019         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5020         (gst_base_sink_class_init):
5021         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
5022         (gst_base_src_class_init):
5023         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
5024         (gst_base_transform_class_init):
5025         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
5026         (gst_collect_pads_class_init):
5027         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
5028         * libs/gst/net/gstnettimeprovider.c:
5029         (gst_net_time_provider_base_init),
5030         (gst_net_time_provider_class_init):
5031         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
5032         (gst_capsfilter_class_init):
5033         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
5034         (gst_fake_sink_class_init):
5035         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
5036         (gst_fake_src_class_init):
5037         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
5038         (gst_fd_sink_class_init):
5039         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
5040         (gst_fd_src_class_init):
5041         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
5042         (gst_file_sink_class_init):
5043         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
5044         (gst_file_src_class_init):
5045         * plugins/elements/gstidentity.c: (gst_identity_base_init),
5046         (gst_identity_class_init):
5047         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5048         (gst_multi_queue_class_init):
5049         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5050         (gst_queue_class_init):
5051         * plugins/elements/gsttee.c: (gst_tee_base_init),
5052         (gst_tee_class_init):
5053         * plugins/elements/gsttypefindelement.c:
5054         (gst_type_find_element_base_init),
5055         (gst_type_find_element_class_init):
5056         Don't use base_init where not absolutely necessary. For example it's
5057         not necessary anymore for adding pad templates or setting element
5058         details.
5059
5060         Leave empty base_init functions in several places as GST_BOILERPLATE
5061         still defines and uses them.
5062
5063 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
5064
5065         * gst/gstelement.c: (gst_element_base_class_init),
5066         (gst_element_class_add_pad_template):
5067         * gst/gstpadtemplate.c:
5068         Make it possible (and recommended) to set element details and add
5069         pad templates in the class_init functions by copying the details/pad
5070         templates in GstElement's base_init.
5071
5072         Also make it possible to replace existing pad templates by adding
5073         a new one with the same name. This was done in a hackish fashion
5074         in same elements before already.
5075
5076         Don't reference pad templates that are added a second time. A
5077         new pad template has a refcount of one and is not floating anymore
5078         and to be owned by the element's class. Make this more explicit by
5079         mentioning it in the docs of gst_element_class_add_pad_template().
5080
5081         These changes are backwards compatible. Fixes bug #491501.
5082
5083         * tests/check/gst/gstelement.c:
5084         Add unit test for setting element details, adding pad templates and
5085         replacing them in a subclass.
5086
5087 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
5088
5089         * tools/gst-inspect.c: (print_interfaces),
5090         (print_element_properties_info), (print_pad_info),
5091         (print_signal_info), (print_element_info):
5092         Fix a few memory leaks.
5093
5094 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5095
5096         * docs/libs/gstreamer-libs-sections.txt:
5097         * libs/gst/check/gstcheck.c:
5098         * libs/gst/check/gstcheck.h:
5099         Add more functions for unit testing: gst_check_drop_buffers,
5100         gst_check_caps_equal, gst_check_element_push_buffer_list,
5101         gst_check_element_push_buffer
5102         API: gst_check_drop_buffers
5103         API: gst_check_caps_equal
5104         API: gst_check_element_push_buffer_list
5105         API: gst_check_element_push_buffer
5106
5107 2008-02-01  Julien Moutte  <julien@fluendo.com>
5108
5109         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
5110         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
5111         (gst_index_finalize), (gst_index_entry_free),
5112         (gst_index_add_association): Fix memory leaks.
5113         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
5114         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
5115         (gst_mem_index_free_format), (gst_mem_index_free_id),
5116         (gst_mem_index_finalize): Fix memory leaks.
5117         * win32/common/config.h: Updated to CVS HEAD.
5118
5119 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
5120
5121         * docs/README:
5122           Some more details about how the plugin docs works.
5123
5124         * docs/plugins/gstreamer-plugins-sections.txt:
5125           Whitespace cleanup.
5126
5127 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
5128
5129         * gst/parse/grammar.tab.pre.c:
5130         * gst/parse/grammar.tab.pre.h:
5131         * gst/parse/grammar.y:
5132         * gst/parse/lex._gst_parse_yy.pre.c:
5133           Add delayed set-property. This allows to set properties on dynamicaly
5134           created objects (pads in videomxer). Fixes #509391.
5135
5136 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5137
5138         * gst/gstutils.c:
5139         Check if caps are not NULL (fix bug #510194)
5140
5141 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5142
5143         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5144         (gst_base_sink_get_position_paused):
5145         Add fixme regarding EOS in pull mode.
5146         Fix position reporting in PAUSED for negative rates.
5147
5148 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5149
5150         * gst/gstminiobject.c: (gst_mini_object_replace):
5151         When replacing a miniobject, do a quick equality check first so that we
5152         can avoid a ref/unref pair.
5153
5154 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5155
5156         * docs/design/part-synchronisation.txt:
5157         Update some docs.
5158
5159         * docs/plugins/Makefile.am:
5160         * docs/plugins/gstreamer-plugins-docs.sgml:
5161         * docs/plugins/gstreamer-plugins-sections.txt:
5162         * plugins/elements/gstmultiqueue.c:
5163         Add multiqueue to the docs.
5164
5165 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5166
5167         * configure.ac:
5168           Back to CVS
5169
5170 === release 0.10.17 ===
5171
5172 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
5173
5174         * configure.ac:
5175           releasing 0.10.17, "Due Negligence"
5176
5177 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5178
5179         * gst/gstutils.c:
5180         Revert caps != NULL check temporarily for 0.10.17 release.
5181
5182 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5183
5184         * gst/gstutils.c:
5185         Check if caps are not NULL (fix bug #510194)
5186
5187 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5188
5189         * gst/gstutils.c:
5190         Fix compilation on systems that have posix timers but no
5191         monotonic clock.
5192         Fixes: #512715
5193         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5194         dot net>
5195
5196 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5197
5198         * tools/gst-inspect.c:
5199         Revert previous commit in preparation for an impromptu 0.10.17 release
5200
5201 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
5202
5203         * tools/gst-inspect.c: (print_interfaces),
5204         (print_element_properties_info), (print_pad_info),
5205         (print_signal_info), (print_element_info):
5206         Fix a few memory leaks.
5207
5208 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
5209
5210         * configure.ac:
5211         Back to CVS
5212
5213 === release 0.10.16 ===
5214
5215 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
5216
5217         * configure.ac:
5218           releasing 0.10.16, "Special Dispensation"
5219
5220 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
5221
5222         * configure.ac:
5223           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5224           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5225           not fail when trying to crosscompile on OpenEmbedded (#511750).
5226
5227 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
5228
5229         * docs/manuals.mak:
5230         Use $(MAKE) instead of make to fix the build if GNU make is
5231         called different. Fixes bug #510747.
5232
5233 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5234
5235         * gst/gstplugin.c: (_gst_plugin_initialize):
5236           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5237           again, which I broke two commits ago when changing the API
5238           of gst_plugin_register_static(): the g_list_foreach() in
5239           _gst_plugin_register_static still assumed the old function
5240           signature and would therefore fail (re-fixes #510187).
5241
5242         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5243           (_gst_plugin_register_static), (gst_plugin_register_static):
5244           Revert the (technically correct) change to call g_thread_init() from
5245           the pre-main() constructor. This will break programs which call
5246           g_thread_init() without an if (!g_thread_supported()) guard in their
5247           main function. We could just blame it on GLib or the application, but
5248           it's probably best to just avoid this altogether and simply not use
5249           any GLib functions here and use plain old malloc() with a simple
5250           array to store the plugins to register later when gst_init() is
5251           finally called (re-fixes #510187).
5252
5253         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5254           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5255           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5256           (GST_START_TEST), (gst_plugin_suite):
5257           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5258           works.
5259
5260 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5261
5262         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5263           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5264           This makes gtk-doc complain, but results in slightly better
5265           compiler errors. The old _gst_plugin_register_static() is
5266           still guarded, so there'll be a compiler warning about that
5267           instead. Fixes #510187 too.
5268
5269 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5270
5271         * gst/gst.c: (init_post):
5272         * gst/gstplugin.c: (_gst_plugin_register_static),
5273           (gst_plugin_register_static), (_gst_plugin_initialize):
5274         * gst/gstplugin.h: (GstPluginFilter):
5275           Change API of gst_plugin_register_static() to not take
5276           a GstPluginDesc, but rather just take all the arguments
5277           in a GstPluginDesc directly. This is more intuitive and
5278           avoids certain mistakes when porting code from
5279           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5280           Fixes #510187.
5281
5282         * tests/check/gst/gstplugin.c:
5283           Fix up for changed API.
5284
5285 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5286
5287         * docs/faq/legal.xml:
5288           Update FAQ, Totem actually has an exception these days.
5289
5290 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
5291
5292         * win32/common/libgstreamer.def:
5293         Add new API declarations
5294
5295 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5296
5297         * gst/gstminiobject.c:
5298           Spelling fixes for the API docs.
5299
5300 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5301
5302         * libs/gst/base/gstbasetransform.c:
5303           Fix long property description for QoS.
5304
5305 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
5306
5307         * gst/gst.c:
5308         _gst_trace_on is already provided by gsttrace.h, no need to declare
5309         it ourselves.
5310
5311         * docs/libs/gstreamer-libs-sections.txt:
5312         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5313         and remove strange tcase_add_test which is outputting a warning.
5314
5315         * libs/gst/check/gstcheck.c:
5316         * libs/gst/check/gstcheck.h:
5317         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5318         and define them in gstcheck.c instead of having every .c file whcih
5319         includes gstcheck.h be defining its own copy and relying on symbol
5320         interposing to marry them all, which doesn't work on Solaris.
5321
5322         * tests/check/elements/identity.c: (GST_START_TEST):
5323         Don't define 'buffers' locally, it comes from libgstcheck.
5324
5325         * tests/check/generic/sinks.c: (send_buffer):
5326         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5327
5328         * tests/check/gst/gststructure.c: (GST_START_TEST):
5329         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5330         * tests/check/gst/gstutils.c: (GST_START_TEST):
5331         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5332         Add a bunch of casts to make various constants fit the types
5333         they're being assigned to.
5334
5335 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
5336
5337         * gst/gstchildproxy.c:
5338           Improve docs and add some ideas for making this more general-purpose.
5339
5340 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5341
5342         * gst/gst_private.h: (GST_CAT_TYPES):
5343           Add GST_CAT_TYPES, for consistency, and so that the other
5344           debug categories don't make fun of it. Spotted by Saur on IRC.
5345
5346 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5347
5348         * gst/parse/Makefile.am:
5349           Move types.h from EXTRA_DIST to noinst_HEADERS.
5350
5351 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5352
5353         * autogen.sh:
5354           Add -Wno-portability to the automake parameters to stop warnings
5355           about GNU make extensions being used. We require GNU make in almost
5356           every Makefile anyway.
5357
5358         * configure.ac:
5359           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5360           at the same time is required for per target flags.
5361
5362 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5363
5364         * gst/gstmacros.h:
5365           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5366           __GNUC__ is defined before using it.
5367
5368 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5369
5370         * docs/gst/gstreamer-sections.txt:
5371         * gst/gst.c: (init_post):
5372         * gst/gstplugin.c: (_gst_plugin_register_static),
5373           (gst_plugin_register_static), (_gst_plugin_initialize),
5374           (gst_plugin_register_func):
5375         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5376           API: add gst_plugin_register_static() and deprecate
5377           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5378           (#498924).
5379           Also, in _gst_plugin_register_static(), make sure to call
5380           g_thread_init() before calling GLib functions such as
5381           g_list_append() if we're not initialised yet, since that
5382           may lead to random crashes with older GSlice/GLib versions.
5383
5384         * tests/check/gst/gstplugin.c:
5385           Adapt unit test to above changes.
5386
5387 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5388
5389         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5390         * gst/gstcaps.c: (gst_caps_to_string):
5391         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5392           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5393           Yet another gratuitous GString micro-optimisation: add a (private)
5394           function that serialises a structure appending to an existing
5395           GString, so that when we serialise caps we don't need to alloc+free
5396           a throwaway GString for each structure (each of which also entailing
5397           multiple reallocs on the way); also use g_string_sized_new() in
5398           various places with an approximate string length to avoid reallocs
5399           within GString. See #500143.
5400
5401 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5402
5403         * gst/gststructure.c: (gst_structure_id_set_value):
5404           Always check UTF-8 conformance of structure strings and not only
5405           if the debugging system is enabled; reasoning: the behaviour of
5406           the actual code shouldn't really change depending on whether the
5407           debugging system is enabled or not (#508291).
5408
5409 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5410
5411         * Makefile.am:
5412           Remove old coverage target in favour of "make lcov".
5413
5414 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5415
5416         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5417         (gst_base_src_loop):
5418         The start segment for reverse playback goes from start to last_stop.
5419
5420 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5421
5422         Patch by: Peter Kjellerstedt <pkj axis com>
5423
5424         * gst/gstclock.h:
5425         Cast the results from the timeval/spec_to_time macros to what the
5426         docs say it casts to, a GstClockTime. fixes #508175.
5427
5428 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5429
5430         * gst/gstbuffer.c:
5431         Update some comments.
5432
5433         * tools/gst-inspect.c: (print_element_properties_info):
5434         Improve printing of flags.
5435
5436 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5437
5438         * libs/gst/base/gstbasetransform.c:
5439           (gst_base_transform_transform_size):
5440           Print element name with g_warning() if there's a problem
5441           with the unit size.
5442
5443 2008-01-07  David Schleef  <ds@schleef.org>
5444
5445         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5446
5447         * libs/gst/controller/gstcontroller.h:
5448         * libs/gst/controller/gstcontrolsource.h:
5449         * libs/gst/controller/gstinterpolationcontrolsource.h:
5450         * libs/gst/controller/gstlfocontrolsource.h:
5451         * libs/gst/dataprotocol/dataprotocol.h:
5452           Fix empty prototypes.  Fixes bug #507957.
5453
5454 2008-01-07  David Schleef  <ds@schleef.org>
5455
5456         * docs/faq/dependencies.xml: Fix typo.
5457
5458 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5459
5460         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5461         (gst_base_src_loop):
5462         Don't update the last_stop position in do_seek, that's the position we
5463         did a seek to.
5464         Read backwards when we have a negative rate.
5465
5466         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5467         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5468         (filesrc_suite):
5469         Add check for reverse reading.
5470
5471 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5472
5473         Patch by: Alexis Ballier <aballier at gentoo org>
5474
5475         * tests/check/gst/gstabi.c:
5476         * tests/check/gst/struct_ppc64.h:
5477         * tests/check/libs/libsabi.c:
5478         * tests/check/libs/struct_ppc64.h:
5479           Decide which header to include based on the userland ABI target
5480           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5481           for 64-bit userland (#503590).  Might need something similar for
5482           x86 too.
5483
5484 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5485
5486         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5487           Log the reason why fopen fails in addition to the fact that it failed.
5488           
5489 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5490
5491         * gst/parse/parse.l:
5492         Use "%option never-interactive" to prevent useless calls to isatty()
5493         on every input when parsing. Also use "%option noinput" to not define
5494         the static input/yyinput functions which we don't use anyway. This
5495         removes a compiler warning with gcc 4.3 and saves some bytes in the
5496         library.
5497         
5498         * gst/parse/lex._gst_parse_yy.pre.c:
5499         Regenerated for the above change.
5500
5501 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5502
5503         * gst/gstpad.c: (fixate_value):
5504         Don't crash when trying to fixate and empty list.
5505         Fixes #506643.
5506
5507 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5508
5509         * docs/faq/gst-uninstalled:
5510         Clarify the comments to make the usage of this script and what it
5511         does easier to understand.
5512
5513 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5514
5515         * tools/gst-plot-timeline.py:
5516         Add more options to gst-plot-timeline
5517
5518 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5519
5520         * docs/design/part-synchronisation.txt:
5521         Some more info on how the stream_time in GstBaseSink is done.
5522
5523 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5524
5525         * tests/check/generic/sinks.c: (gst_sinks_suite):
5526           Put back the tcase_set_timeout(), apparently it's needed after
5527           all; fix it up in a way that makes things work with valgrind too.
5528
5529 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5530
5531         * gst/gstdebugutils.c:
5532           Add warning when failed to open file for writing.
5533
5534 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5535
5536         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5537
5538         * gst/gstvalue.c: (gst_value_is_fixed):
5539           Optimisation: bail out of the loop as early as possible (#500143).
5540
5541 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5542
5543         * gst/gstcaps.c: (gst_caps_to_string):
5544         * gst/gstinfo.c: (gst_debug_construct_term_color):
5545         * gst/gstparse.c: (gst_parse_launchv):
5546         * gst/gstutils.c: (gst_util_dump_mem):
5547         * gst/gstvalue.c: (gst_value_serialize_any_list),
5548           (gst_value_transform_any_list_string):
5549           Bunch of gratuitous nano-optimisations.
5550
5551 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5552
5553         * tests/check/generic/sinks.c: (async_done_func),
5554           (async_done_eos_func):
5555           Fix leak in unit test (bus sync handler must unref the message
5556           if it returns GST_BUS_DROP). Don't fiddle with the default test
5557           timeout, this is smaller than the current preconfigured value
5558           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5559           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5560
5561 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5562
5563         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5564
5565         * configure.ac:
5566         Check for stdio_ext.h for the filesink changes.
5567
5568         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5569         (gst_file_sink_class_init), (gst_file_sink_init),
5570         (gst_file_sink_dispose), (gst_file_sink_set_property),
5571         (gst_file_sink_get_property), (gst_file_sink_open_file),
5572         (gst_file_sink_close_file):
5573         * plugins/elements/gstfilesink.h:
5574         Add two properties to control the buffering mode and size.
5575         API: GstFileSink::buffer-mode
5576         API: GstFileSink::buffer-size
5577         Fixes #500150.
5578
5579 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5580
5581         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5582         Add some more docs to explain why a FIXME was wrongly added. 
5583
5584 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5585
5586         * gst/gstobject.c:
5587           Fix typo in the gst_object_{ref,unref} documentation.
5588
5589 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5590
5591         * tests/check/libs/controller.c:
5592         * tests/check/libs/typefindhelper.c:
5593         * tests/check/pipelines/parse-launch.c:
5594           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5595           going to be deprecated (see #498924).
5596
5597 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5598
5599         * gst/gsttypefind.c: (gst_type_find_register):
5600           Make gst_type_find_register work for static typefind functions,
5601           ie. allow passing plugin == NULL (prerequisite for #498924).
5602
5603         * gst/gstelementfactory.c: (gst_element_register):
5604           Small docs addition.
5605
5606 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5607
5608         * gst/gstpad.c: (gst_pad_dispose):
5609         Really unlink the peer pad instead of setting the peer pointer to NULL
5610         when we dispose the pad.
5611         This correctly calls the unlink functions and makes sure that the peer
5612         does not have a handle to invalid memory. See #504671.
5613
5614         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5615         Add testsuite for above case.
5616
5617 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5618
5619         Patch by: Peter Kjellerstedt <pkj axis com>
5620
5621         * libs/gst/check/gstcheck.h:
5622           Fix detection of the check version we're compiling against (would
5623           otherwise break if check goes v0.10.0); correctly report the
5624           name of the failed test again in case of failure, instead of
5625           just 'tf' (fixes #504499).
5626
5627 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5628
5629         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5630         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5631         (gst_base_src_loop), (gst_base_src_set_flushing),
5632         (gst_base_src_change_state):
5633         Allow sending EOS to the source to make it send out an EOS event from
5634         the streaming thread.
5635         Update docs and deprecate the old NULL/READY shutdown method.
5636
5637         * tests/check/libs/basesrc.c: (GST_START_TEST),
5638         (gst_basesrc_suite):
5639         Add unit test for controlled shutdown.
5640
5641 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5642
5643         * docs/design/part-synchronisation.txt:
5644         Small updates.
5645
5646         * gst/gstsegment.c: (gst_segment_set_seek),
5647         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5648         (gst_segment_to_running_time):
5649         The seek format can be different from the segment format when the start
5650         and stop values are not to be updated, when we only do a rate change for
5651         example.
5652
5653         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5654         (gst_segment_suite):
5655         Add a testcase for the rate-only seeks, checking that the format is
5656         correctly ignored when start and stop are not updated.
5657
5658 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5659
5660         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5661
5662         * win32/vs8/grammar.vcproj:
5663         * win32/vs8/libgstcontroller.vcproj:
5664         * win32/vs8/libgstreamer.vcproj:
5665         Fix compilation with VS8 and include some missing files.
5666
5667 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5668
5669         * gst/gsttaglist.c:
5670           Small docs addition: mention that the strings returned by
5671           gst_tag_list_get_string*() are in UTF-8 encoding.
5672
5673 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5674
5675         * Makefile.am:
5676           The check-exports stuff moved to common/win32.mak, so include that.
5677
5678 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5679
5680         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5681         (gst_base_src_perform_seek), (gst_base_src_get_range),
5682         (gst_base_src_set_playing), (gst_base_src_change_state):
5683         Make _wait_playing() not check any variables so that we can call this
5684         function from subclasses. Move the checks elsewhere similar to
5685         _wait_preroll() in basesink.
5686         Add some debugging.
5687         Only signal the LIVE cond when we are going back to PLAYING.
5688
5689 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5690
5691         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5692           Use g_remove() and g_rename(). Check result of g_rename(), and
5693           don't leak the open file descriptor if we error out when writing.
5694
5695         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5696           Must check the return value of close() after writing out the new
5697           registry file.  Sometimes write problems such as out-of-diskspace
5698           are only reported when the file is closed and not already during
5699           the write.  This may have caused partial/broken registry files in
5700           some rare circumstances. Should fix #503675.
5701
5702 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5703
5704         * docs/gst/.cvsignore:
5705         * docs/libs/.cvsignore:
5706         * docs/plugins/.cvsignore:
5707         Ignore files generated by new common/* modifications
5708
5709 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5710
5711         * win32/common/libgstbase.def:
5712           Yes, you can also have a <TAB> if you want.
5713
5714 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5715
5716         * win32/common/libgstbase.def:
5717           Add new basetransform API to win export file.
5718
5719 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5720
5721         * tests/check/gst/gstbin.c:
5722           Adjust the test to the refcount change two days ago.
5723
5724 2007-12-14  David Schleef  <ds@schleef.org>
5725
5726         * docs/faq/getting.xml: Fix typo.
5727
5728 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5729
5730         * docs/libs/gstreamer-libs-sections.txt:
5731         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5732           (gst_base_transform_prepare_output_buffer),
5733           (gst_base_transform_set_gap_aware):
5734         * libs/gst/base/gstbasetransform.h:
5735           API: Add gst_base_transform_set_gap_aware() to control whether
5736           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5737           get buffers with this flag at all. Fixes #503231.
5738
5739 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5740
5741         * libs/gst/base/gstbasesink.c:
5742         * libs/gst/base/gstbasesrc.c:
5743         * libs/gst/base/gstbasetransform.c:
5744           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5745           thread. Correct log message in gstbasesrc.c.
5746
5747 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5748
5749         * gst/gstutils.c: (element_find_unconnected_pad):
5750           Fix possible compiler warning (#503417).
5751
5752 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5753
5754         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5755           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5756
5757 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5758
5759         * tools/gst-inspect.c: (print_element_properties_info):
5760           Add support for GstFraction properties.
5761
5762 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5763
5764         * Makefile.am:
5765           Add check-exports target and run it as part of 'make check'
5766           (see #499140 and #493983).
5767
5768         * gst/gst_private.h:
5769         * gst/gstelementfactory.h:
5770         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5771         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5772           (_priv_gst_in_valgrind):
5773         * gst/gstinfo.h: (GstLogFunction):
5774         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5775           (gst_type_find_register):
5776         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5777           (gst_type_find_factory_get_type):
5778         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5779           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5780           (gst_controller_new_valist), (gst_controller_new_list),
5781           (_gst_controller_dispose), (_gst_controller_class_init):
5782         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5783         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5784           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5785           (gst_object_get_controller), (gst_object_set_controller),
5786           (gst_object_suggest_next_sync), (gst_object_sync_values),
5787           (gst_object_set_control_source), (gst_object_get_control_source),
5788           (gst_object_get_value_arrays), (gst_object_get_value_array),
5789           (gst_object_get_control_rate), (gst_object_set_control_rate):
5790         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5791         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5792           Make some functions that should be static static; rename some
5793           private symbols so that they don't get exported; add some FIXME
5794           comments so we can move accidentally exported functions into
5795           our private section in 0.11.
5796
5797         * win32/common/libgstreamer.def:
5798           Add gst_utils_get_timestamp().
5799
5800 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5801
5802         * gst/gstvalue.c:
5803         * gst/gstvalue.h:
5804           Add more missing "Since:" tags to docs.
5805
5806 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5807
5808         * gst/gstutils.c:
5809           Add mising "Since:" to docs.
5810
5811 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5812
5813         * gst/gstplugin.c:
5814           Include "glib-compat-private.h" to fix the build on system with
5815           glib < 2.10. Fixes #503131.
5816
5817 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5818
5819         * gst/gstutils.c:
5820         * gst/gstutils.h:
5821           Actually its not PURE as it gets the time from elsewhere.
5822
5823 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5824
5825         * docs/gst/gstreamer-sections.txt:
5826         * gst/gstclock.h:
5827         * gst/gstdebugutils.c:
5828         * gst/gstinfo.c:
5829         * gst/gstutils.c:
5830         * gst/gstutils.h:
5831         * libs/gst/base/gstbasesink.c:
5832         * tools/gst-launch.c:
5833           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5834           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5835           Thanks Tim for spotting.
5836           API: gst_util_get_timestamp
5837
5838 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5839
5840         * configure.ac:
5841           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5842
5843 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5844
5845         * gst/gststructure.c: (gst_structure_validate_name),
5846           (gst_structure_new_valist), (gst_structure_parse_value),
5847           (gst_structure_from_string):
5848           Don't crash in _from_string() if the structure name is not valid
5849           (fixes #501560).  Allow structure names to start with a number
5850           again (this apparently broke the ubuntu codec installer).
5851
5852         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5853           (GST_START_TEST):
5854           Add unit test for the crash; update unit tests for new behaviour.
5855
5856 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5857
5858         * gst/gstutils.c:
5859         Clarify gst_element_get_compatible_pad() documentation.
5860         Fixes #500919.
5861
5862 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5863
5864         * tests/check/Makefile.am:
5865           Don't forget to dist {gst,libs}/struct_hppa.h.
5866
5867 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5868
5869         * libs/gst/base/gstbasesink.c:
5870           Use new API to get elapsed time.
5871
5872 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5873
5874         * gst/gstdebugutils.c:
5875         * gst/gstinfo.c:
5876           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5877
5878         * tools/gst-launch.c:
5879           Use new API to get elapsed time.
5880
5881 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5882
5883         * docs/gst/gstreamer-sections.txt:
5884         * gst/gstclock.h:
5885         * gst/gstdebugutils.c:
5886         * gst/gstinfo.c:
5887           Rename new API + ChangeLog surgery to remove old name from last entry..
5888
5889 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5890
5891         * docs/gst/gstreamer-sections.txt:
5892         * gst/gstclock.h:
5893         * gst/gstdebugutils.c:
5894         * gst/gstinfo.c:
5895           Now hide the different clock stuff behind a macro.
5896
5897 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5898
5899         * configure.ac:
5900         * gst/gstdebugutils.c:
5901         * gst/gstinfo.c:
5902           Apply the posix-timer check from #361155. Conditionally use the posix
5903           timer for logging. This gives better timestamp precission, less
5904           overhead and no ntp jitter.
5905
5906 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5907
5908         * gst/gstminiobject.c: (gst_mini_object_get_type),
5909         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5910         (gst_mini_object_finalize), (gst_mini_object_copy),
5911         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5912         (gst_mini_object_replace), (param_mini_object_validate),
5913         (gst_param_spec_mini_object_get_type):
5914         Some cleanup and checking against invalid function parameters.
5915
5916 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5917
5918         * docs/gst/gstreamer-sections.txt:
5919         * gst/gstclock.h:
5920         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5921         (gst_systemclock_suite):
5922         Start merging in the easy bits of #361155, the monotonic clock patch.
5923         This one adds a few handy macros with docs and a testsuite.
5924
5925 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5926
5927         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5928         Be a bit smarter when seeking, like, don't try to do a seek when it's
5929         not needed. This avoids errors when the file is not seekable.
5930         Fixes #499771.
5931
5932 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5933
5934         * docs/gst/gstreamer-docs.sgml:
5935         * docs/gst/gstreamer-sections.txt:
5936         * docs/gst/gstreamer.types.in:
5937         * gst/Makefile.am:
5938         * gst/gst.h:
5939         * gst/gstpreset.c:
5940         * gst/gstpreset.h:
5941         * plugins/elements/gstqueue.c:
5942           Due to popular request remove preset interface again. :-(.
5943
5944 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5945
5946         * tools/gst-inspect.c:
5947           Print 'default value' for enums and flags too.
5948
5949 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5950
5951         * docs/random/ensonic/profiling.txt:
5952           More ideas.
5953
5954         * gst/gstbin.c:
5955           Fix typo and give better log output.
5956
5957         * gst/gstdebugutils.c:
5958         * gst/gstdebugutils.h:
5959           More ideas, make graphs a bit smaller and fix param name in macro.
5960
5961 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5962
5963         * gst/gstpreset.c:
5964           Try harder to use the return value from fgets().
5965
5966 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5967
5968         * gst/gstpreset.c:
5969           For theses two fgets we handle the error below.
5970
5971 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5972
5973         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5974         Only send upstream events upstream. Fixes #498746.
5975
5976 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5977
5978         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5979
5980         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5981         (gst_identity_init), (gst_identity_transform_ip),
5982         (gst_identity_set_property), (gst_identity_get_property):
5983         * plugins/elements/gstidentity.h:
5984         Add property to disable handoff signal emission. Fixes #498694.
5985         API: GstIdentity::signal-handoffs
5986
5987 2007-11-21  Julien Moutte  <julien@fluendo.com>
5988
5989         * docs/faq/gst-uninstalled: Yet another missing library for the
5990         uninstalled script (fft)
5991
5992 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5993
5994         * docs/faq/developing.xml:
5995         Add a question about how to submit new translations.
5996
5997         * docs/random/release:
5998         Update the contact email address for the Translation Project
5999
6000         * plugins/elements/gstfdsrc.c:
6001         The parent_class for fdsrc is pushsrc, not GstElement.
6002
6003 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
6004
6005         * gst/gstpreset.c:
6006           Plug a leak and fix saving.
6007
6008 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
6009
6010         * docs/gst/gstreamer-sections.txt:
6011         Add new gst_preset__get_property_names() function to the docs
6012         to fix the build.
6013
6014 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
6015
6016         * gst/gstpreset.c:
6017         * gst/gstpreset.h:
6018           Change _get_preset_names API to return a strv with copies. Add
6019           _get_property_names to allow implementations to filter and provide
6020           good default implementation.
6021
6022 2007-11-20  Julien MOUTTE  <julien@moutte.net>
6023
6024         * docs/faq/gst-uninstalled: Add another library to the uninstalled
6025         script (sdp).
6026
6027 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
6028
6029         * gst/gstpreset.c:
6030           More cleanups, docs, and TODOs from comments that now slowly come in.
6031
6032 2007-11-19  Julien MOUTTE  <julien@moutte.net>
6033
6034         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
6035         search path.
6036
6037 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
6038
6039         * gst/gstpreset.c:
6040           Fix bogus warning and make the property type specific code more
6041           similar.
6042
6043 2007-11-19  Julien MOUTTE  <julien@moutte.net>
6044
6045         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
6046         it build on OS X.
6047
6048 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
6049
6050         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6051         (gst_bin_add_func), (gst_bin_remove_func),
6052         (gst_bin_change_state_func), (gst_bin_continue_func):
6053         Change email, cleanups add some more debug and comments.
6054         Also set bus and clock on new elements when the pipeline was in error.
6055
6056 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
6057
6058         * gst/gstbin.c:
6059         * gst/gstdebugutils.c:
6060           Fix build with --disable-gst-debug. Fixes #497859.
6061           Spotted by Sameer Naik.
6062
6063 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6064
6065         * gst/gstevent.c:
6066           Little documentation improvment.
6067
6068         * gst/gstpreset.c:
6069           More TODO cleanups. Remove c++ comments.
6070
6071         * libs/gst/controller/gstcontroller.c:
6072           Add TODO and use quark from static string.
6073
6074         * tests/check/gst/gstmessage.c:
6075         * tests/check/gst/gststructure.c:
6076           Use quark from static string.
6077
6078 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6079
6080         * gst/gstpreset.c:
6081           Add some comments and TODOs.
6082
6083         * gst/gstpreset.h:
6084           Add padding for future changes.
6085
6086         * plugins/elements/gstqueue.c:
6087           Implement the iface.    
6088
6089 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6090
6091         * docs/gst/gstreamer-docs.sgml:
6092         * docs/gst/gstreamer-sections.txt:
6093         * docs/gst/gstreamer.types.in:
6094         * gst/Makefile.am:
6095         * gst/gst.h:
6096         * gst/gstpreset.c:
6097         * gst/gstpreset.h:
6098           Add the preset interface (Fixes #396779). Do some doc cleanups along.
6099
6100 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
6101
6102         * configure.ac:
6103
6104         Back to CVS
6105
6106 === release 0.10.15 ===
6107
6108 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
6109
6110         * configure.ac:
6111           releasing 0.10.15, "October"
6112
6113 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
6114
6115         * win32/vs6/libgstreamer.dsp:
6116         Convert line endings back to DOS.
6117
6118 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
6119
6120         * docs/design/draft-tagreading.txt:
6121         * docs/random/ensonic/profiling.txt:
6122         Update fast tagreading draft and performance profiling ideas.
6123
6124 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
6125
6126         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
6127         Don't hold the object lock when unreffing a buffer because it could
6128         cause a deadlock when the finalize function wants to grab the object
6129         lock too. Fixes #495133.
6130
6131 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
6132
6133         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6134         (gst_segment_to_stream_time), (gst_segment_to_running_time):
6135         Also accumulate time correctly when doing reverse playback. Fixes
6136         #488201,
6137         When converting to running and stream time, use default values for
6138         start/stop/time/accum when comparing different formats. Fixes #494245.
6139
6140         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6141         Do running/stream time in TIME format.
6142
6143         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6144         (gst_segment_suite):
6145         2 new unit tests for segment accumulation.
6146
6147 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
6148
6149         * gst/gst.c: (init_pre):
6150         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6151           (_gst_debug_bin_to_dot_file):
6152           Move getenv() back into gst_init, so everyone can live happily
6153           ever after. Make sure the symbol isn't exported though.
6154
6155 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6156
6157         Patch by: Sebastien Moutte  <sebastien moutte net>
6158
6159         * win32/common/gstenumtypes.c:
6160         * win32/common/gstenumtypes.h:
6161           Update enum types.
6162
6163         * win32/vs6/libgstreamer.dsp:
6164           Update vs6 project files (#494343).
6165
6166 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6167
6168         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6169         (gst_base_src_perform_seek), (gst_base_src_default_event),
6170         (gst_base_src_set_flushing), (gst_base_src_activate_push),
6171         (gst_base_src_activate_pull):
6172         Unify flushing code, remove some old unlock code that is no longer used.
6173         Take the streaming lock when seeking to avoid races. Fixes #492729.
6174         Added some more comments.
6175
6176 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6177
6178         * gst/gst.c: (_gst_disable_segtrap):
6179           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
6180           we can use gst_segtrap_is_enabled() there now that we have that API.
6181           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6182           to do the getenv here (and export the variable).
6183
6184         * gst/gstdebugutils.c: (debug_dump_element),
6185           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6186           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6187
6188         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6189           (gst_debug_log_default):
6190           Rename _gst_info_start_time to priv_gst_info_start_time so it
6191           doesn't get exported (was never in any header).
6192
6193         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6194           (gst_plugin_loading_mutex):
6195           Make static mutex gst_plugin_loading_mutex really static (was never
6196           in any header), and use gst_segtrap_is_enabled() instead of
6197           _gst_disable_segtrap.
6198
6199         * gst/gsttrace.c: (_gst_trace_default):
6200           Make local _gst_trace_default static (was never in any header).
6201
6202 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6203
6204         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6205
6206         * win32/common/libgstbase.def:
6207         * win32/common/libgstcontroller.def:
6208         * win32/common/libgstdataprotocol.def:
6209         * win32/common/libgstnet.def:
6210         * win32/common/libgstreamer.def:
6211           Add more missing symbols, remove some duplicates, and sort
6212           as the 'sort' command sorts it (partially fixes #493983).
6213
6214 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6215
6216         * gst/gstelement.c: (gst_element_set_state_func):
6217         Only change the state cookie if a different state was set on the
6218         element. See #492729.
6219
6220 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6221
6222         * gst/gstvalue.c:
6223           Remove unused and uninitialised type variables that were still
6224           exported for some reason (they were never in any header files
6225           though).
6226
6227 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6228
6229         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6230         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6231         (gst_base_sink_event), (gst_base_sink_get_position_last),
6232         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6233         (gst_base_sink_change_state):
6234         Don't try to report a 0 position when we don't know, return -1 and FALSE
6235         instead. This mostly happens when we are prerolling.
6236         Make sure we can report the right position before we post the ASYNC_DONE
6237         message so that a message handler can query position without races.
6238
6239         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6240         (async_done_handoff), (async_done_func), (send_buffer),
6241         (async_done_eos_func), (gst_sinks_suite):
6242         Add two tests for the above.
6243
6244 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6245
6246         * MAINTAINERS:
6247         Update with new email address.
6248
6249         * docs/design/part-TODO.txt:
6250         Add some more info about future pad-block and negotiation changes.
6251
6252         * docs/design/part-buffering.txt:
6253         Add some ideas about buffering reporting.
6254
6255 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
6256
6257         * tests/check/gst/gstobject.c:
6258         Disable silly racy test that always fails on this combination of CPU
6259         and kernel.
6260
6261 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
6262
6263         Patch by: Murray Cumming  <murrayc@murrayc.com>
6264
6265         * gst/gstobject.c:
6266           Corrected the registration of the parent-set and parent-unset
6267           signals: The parameter is a GstObject, not a GObject (#493134).
6268
6269 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6270
6271         * gst/gst_private.h:
6272         * gst/gstbuffer.h:
6273         * gst/gstevent.h:
6274         * gst/gstformat.h:
6275         * gst/gstmessage.h:
6276         * gst/gstplugin.h:
6277         * gst/gstquery.h:
6278         * gst/gsttaglist.h:
6279         * gst/gstvalue.h:
6280           Move declaration of private _gst_foo_initialize() functions into
6281           our private header file where they should have been all along.
6282
6283 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6284
6285         * docs/plugins/gstreamer-plugins-sections.txt:
6286         * gst/gstdebugutils.h:
6287         * gst/gstxml.h:
6288         * plugins/elements/gstqueue.c:
6289           gtk-doc fixes; trailing-comma-in-enum fix.
6290
6291 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6292
6293         * gst/gst.c: (gst_deinit):
6294           Clean up on deinit (not the external ones though, doesn't seem to be
6295           needed for some reason).
6296
6297 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6298
6299         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6300           Remove __declspec(dllimport) for MSVC that was copied over into core
6301           from a plugin, obviously without ever having been tested (note the
6302           single underscore in _declspec in the initial commit), and that doesn't
6303           really make sense.  See #492077.
6304
6305 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6306
6307         * gst/gst.c: (init_post):
6308         * gst/gstevent.c: (_gst_event_initialize):
6309         * gst/gstquery.c: (_gst_query_initialize):
6310         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6311           g_type_class_ref() other types as well, see #349410 and #64764.
6312
6313         * gst/gstbuffer.c: (_gst_buffer_initialize):
6314         * gst/gstmessage.c: (_gst_message_initialize):
6315           Simplify existing g_type_class_ref().
6316
6317 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6318
6319         * gst/gstformat.c: (_gst_format_initialize):
6320           g_type_class_ref() our GstFormat type to make sure we avoid the
6321           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6322           bug #64764. Should fix intermittent tee unit test failures (#474823).
6323
6324 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6325
6326         * tests/check/elements/tee.c: (test_num_buffers):
6327           Simplify, simplify, simplify - or not.  Rewrite unit test
6328           not to use gst_parse_launch(); allow N sub-streams. Increasing
6329           the number of sub-streams seems to reproduce #474823 more easily.
6330
6331 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6332
6333         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6334
6335         * gst/gsttrace.c:
6336         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6337         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6338         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6339           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6340           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6341           so use _pipe() directly (#492077).
6342
6343         * win32/common/dirent.c: (_treaddir):
6344           Add a couple of casts to make it build without warnings with MSVC.
6345
6346         * win32/common/libgstreamer.def:
6347           Add some more symbols that need to be exported.
6348
6349 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6350
6351         * tests/examples/metadata/read-metadata.c: (message_loop):
6352           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6353           arriving in a second or third tag message are added to
6354           the tag list as well.
6355
6356 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
6357
6358         * libs/gst/base/gstbasesrc.c:
6359           Its "Since:" and not "@Since:". And remove an superflous cast.
6360
6361 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
6362
6363         * docs/libs/gstreamer-libs-sections.txt:
6364         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6365         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6366         (gst_base_sink_get_property), (gst_base_sink_render_object),
6367         (gst_base_sink_preroll_object),
6368         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6369         (gst_base_sink_change_state):
6370         * libs/gst/base/gstbasesink.h:
6371         Add a new last-buffer property that contains the last buffer used in
6372         basesink for preroll or rendering. useful for making snapshots.
6373         API: gst_base_sink_get_last_buffer()
6374         API: GstBaseSink::last-buffer
6375
6376 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6377
6378         * docs/gst/running.xml:
6379         * gst/gst.c:
6380         * gst/gstdebugutils.c:
6381         * gst/gstdebugutils.h:
6382         * tools/gst-launch.c:
6383           Improve bin graph dumping, by using the envvar to specify a path.
6384           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6385
6386 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6387
6388         * plugins/elements/gsttypefindelement.c:
6389           (gst_type_find_element_handle_event),
6390           (gst_type_find_element_activate):
6391           Post special error message if we can't determine the type of a stream
6392           because it's empty.
6393
6394 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6395
6396         * docs/gst/running.xml:
6397         * gst/gstdebugutils.c:
6398           Document new env-var. Add one log-line after dumpng a graph.
6399
6400 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6401
6402         * configure.ac:
6403           Ugly hack to put the (recently removed and non-portable, apparently)
6404           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6405           GNU ld, because without that 'make check' fails miserably on my debian
6406           stable box.  Someone with more knowledge of linker intricacies and
6407           portability issues than me fix this properly please.
6408
6409 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6410
6411         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6412         Reset last seen position after flushing so that we don't report the old
6413         position anymore.
6414
6415 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6416
6417         * gst/gstelementfactory.c: (gst_element_register):
6418         * gst/gsturi.h:
6419         Patch from Alessandro Decina adding get_type_full and
6420         get_protocols_full private vfuncs to the URIHandler interface
6421         to allow bindings to support creating URI handlers. 
6422         Partially fixes: #339279
6423         API: GstURIHandlerInterface::get_type_full
6424         API: GstURIHandlerInterface::get_protocols_full
6425
6426 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6427
6428         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6429         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6430         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6431         Make it so that pads are considered linked until a buffer is pushed
6432         and discovered otherwise. This avoids problems with decodebin2 hanging
6433         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6434         case.
6435
6436         Make sure we lock the multiqueue when updating the max-size properties.
6437         
6438         Fix a crash on Solaris in a debug statement in get_request_pad that
6439         passes a NULL string to GST_DEBUG. 
6440
6441         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6442         (run_output_order_test):
6443         Fix the test to allow the first buffer on not-linked pads to come out
6444         of sequence while multiqueue discovers that they are not-linked.
6445
6446 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6447
6448         * configure.ac:
6449         * libs/gst/check/Makefile.am:
6450         Use a custom export symbol regex for libgstcheck, as it needs
6451         to export symbols that don't match the standard GStreamer gst_*
6452         pattern, and  --export-dynamic is not portable (only works on 
6453         GNU ld)
6454
6455         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6456         (gst_check_setup_sink_pad):
6457         Make sure to pass a message parameter to the fail_* macros.
6458
6459         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6460         Fix some compiler warnings.
6461
6462 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6463
6464         * tests/check/gst/gststructure.c: (test_to_string):
6465           Disable test that checks that white spaces are not allowed
6466           in structure names or field names, since we need to
6467           support that for now for backwards compatibility reasons.
6468
6469 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6470
6471         * docs/gst/gstreamer-sections.txt:
6472         * gst/gsttaglist.c:
6473         * gst/gsttaglist.h:
6474           API: add GST_TAG_ARTIST_SORTNAME
6475           API: add GST_TAG_ALBUM_SORTNAME
6476           API: add GST_TAG_TITLE_SORTNAME
6477           Add tag variants for sorting (#414539).
6478
6479 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6480
6481         * gst/gststructure.c:
6482           Also allow white space for names so we don't break
6483           backwards compatibility.
6484
6485 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6486
6487         * docs/design/part-TODO.txt:
6488         * docs/design/part-segments.txt:
6489         * docs/design/part-streams.txt:
6490         Small updates.
6491
6492 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6493
6494         * docs/gst/gstreamer-sections.txt:
6495          Fixed documentation from my previous commit (added new API add
6496          gst_value_set_structure(), add gst_value_get_structure() and
6497          GST_VALUE_HOLDS_STRUCTURE).
6498
6499 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6500
6501         * gst/gstdebugutils.c:
6502           Reflow code to fix uninitialized variable warning.
6503
6504 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6505
6506         * gst/gstcaps.c: (gst_caps_to_string),
6507         (gst_caps_from_string_inplace):
6508         * gst/gststructure.c: (gst_structure_get_abbrs),
6509         (gst_structure_to_string), (gst_structure_from_string):
6510         * gst/gstvalue.c: (gst_value_set_structure),
6511         (gst_value_get_structure), (gst_value_serialize_structure),
6512         (gst_value_deserialize_structure), (_gst_value_initialize):
6513         * gst/gstvalue.h:
6514         * tests/check/gst/gststructure.c: (GST_START_TEST),
6515         (gst_structure_suite):
6516         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6517          Added GstStructure to gst_value_table and its related functions.
6518          Changed gst_structure_to_string to print ';' in the end.
6519          Changed gst_caps_to_string to not print ';' beteween its
6520          fields (structures) anymore and remove the lastes ';' from latest
6521          structure. Now it is possible to have nested structures.
6522          In addition, backward compatibilty is assured by accepting '\0' as
6523          end delimiter. Fixes: #487969.
6524          API: add gst_value_set_structure()
6525          API: add gst_value_get_structure()
6526          API: add GST_VALUE_HOLDS_STRUCTURE
6527
6528 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6529
6530         * gst/gstbus.c:
6531           When no GSource callback has been set up, tell developer
6532           to use a function that actually exists.
6533
6534 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6535
6536         * docs/gst/gstreamer-sections.txt:
6537         * gst/Makefile.am:
6538         * gst/gst.c:
6539         * gst/gst.h:
6540         * gst/gstdebugutils.c:
6541         * gst/gstdebugutils.h:
6542         * gst/gstinfo.c:
6543         * gst/gstinfo.h:
6544         * tools/gst-launch.c:
6545           Allow dumping pipelines as dot graphs. Fixes #456573.
6546
6547 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6548
6549         * gst/gststructure.c:
6550           Allow '+' as well, it can be part of media or mime types
6551           such as image/svg+xml.
6552
6553 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6554
6555         * docs/gst/gstreamer-sections.txt:
6556         * gst/gstbus.c:
6557         * gst/gstbus.h:
6558           API: add gst_bus_pop_filtered
6559           API: add gst_bus_timed_pop_filtered
6560           Two new functions for waiting for specific message types on the
6561           bus for a specified amount of time without iterating any main
6562           loops or main contexts.
6563
6564         * tests/check/gst/gstbus.c:
6565           Some tests for the new functions.
6566
6567 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6568
6569         * docs/libs/gstreamer-libs-sections.txt:
6570           Make gtk-doc ignore stuff it should ignore.
6571
6572 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6573
6574         * libs/gst/check/gstcheck.c:
6575         * libs/gst/check/gstcheck.h:
6576           Allow runtime selection of unit tests to run via the GST_CHECKS
6577           environment variable (test case function names, comma-separated).
6578
6579 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6580
6581         * gst/gststructure.c:
6582         * tests/check/gst/gststructure.c:
6583           Revert serialisation change and constrain structure-names after
6584           consensus on irc. Update api documentation to reflect the change.
6585
6586 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6587
6588         * gst/gststructure.c:
6589           Improve serialization and fix tests.
6590
6591         * tests/check/gst/gststructure.c:
6592           Add another test that covers why I actually did the previous structure
6593           change.
6594
6595 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6596
6597         * tools/gst-inspect.c: (print_element_info):
6598         Don't crash when inspecting an element.
6599
6600 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6601
6602         * tests/check/gst/gststructure.c:
6603           Add unit test for escaping of structure name when serialising
6604           and deserialising to/from strings.
6605
6606 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6607
6608         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6609         (gst_single_queue_new):
6610         * plugins/elements/gstqueue.c: (gst_queue_init),
6611         (gst_queue_push_one):
6612         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6613         upstream is tricked into thinking it can suggest a format downstream
6614         while downstream does not support that format. The real problem is that
6615         core calls acceptcaps when pushing a buffer with new caps, for which we
6616         do a little workaround by setting the caps on the srcpad ourselves
6617         before pushing the buffer (until this is figured out). Fixes #486758.
6618
6619 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6620
6621         * gst/gststructure.c:
6622         * gst/gstvalue.c:
6623           Add some more comments and debug output. Quote structure name to fix
6624           deserialisation of some strings.
6625
6626 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6627
6628         * gst/gstbuffer.h:
6629           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6630           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6631
6632 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6633
6634         * tools/gst-inspect.c:
6635           Save approx. 400 1 byte allocs when printing. Use API to acces element
6636           details.
6637
6638         * tools/gst-run.c:
6639           Avoid a strdup.
6640
6641         * tools/gst-xmlinspect.c:
6642           Use API to acces element details.
6643
6644 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6645
6646         * gst/gstinfo.c:
6647           Fix some spelling errors.
6648
6649 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6650
6651         * gst/gstbin.c: (bin_handle_async_done):
6652         Correctly set the next state if all of our async children commited their
6653         state. This makes sure we can actually cancel the state change in
6654         progress. Fixes a regression in Rhythmbox when seeking.
6655
6656 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6657
6658         * gst/gstbin.c:
6659           Don't shadow local variable.
6660
6661         * gst/gstinfo.c:
6662           Don't shadow global function name.
6663
6664 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6665
6666         * gst/gstelementfactory.c:
6667         * gst/gstpluginfeature.c:
6668         * gst/gstpluginfeature.h:
6669         * gst/gstregistrybinary.c:
6670         * gst/gstregistryxml.c:
6671         * gst/gsttypefind.c:
6672           Use already-interned string for the private GstPluginFeature
6673           plugin_name field.
6674
6675 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6676
6677         * docs/libs/gstreamer-libs-sections.txt:
6678           Add new API to docs; fixes the build.
6679
6680 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6681         
6682         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6683
6684         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6685         (gst_base_sink_event):
6686         * libs/gst/base/gstbasesink.h:
6687         Add function to wait for EOS, subclasses can use this to correctly wait
6688         for devices to drain before performing the EOS logic. Fixes #485343.
6689         API: gst_base_sink_wait_eos()
6690
6691 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6692
6693         * gst/gstplugin.h:
6694           Cast description string constants in GST_PLUGIN_DEFINE macros
6695           to a (gchar*) to make C++ code using these macros compile
6696           without warning with g++-4.2 (see #462737).  Even if slightly
6697           ugly, this seems preferable to putting the description strings
6698           into the GLib quark table or making the structure member a
6699           const gchar * and doing casts in core code that allocs and
6700           frees these strings, or requiring a cast in the C++ code.
6701
6702 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6703
6704         * gst/gstinfo.h:
6705           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6706           to print the entire class/function signature into the log
6707           file for C++ code.  This only affects C++ code, for C code
6708           everything remains the same.
6709
6710 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6711
6712         * gst/gstbin.c: (remove_from_queue):
6713         Work around a problem with pipelines containing (semi)loops until a
6714         proper, more complicated solution is ready. See #475455.
6715
6716 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6717
6718         * gst/gstplugin.c:
6719         * gst/gstplugin.h:
6720         * gst/gstregistrybinary.c:
6721         * gst/gstregistryxml.c:
6722           Put more strings into the GLib quark table. No need to keep
6723           a hundred-something copies of identical version strings,
6724           license strings, package name strings and package origin
6725           strings around. 
6726
6727 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6728
6729         * docs/manual/advanced-dataaccess.xml:
6730           Don't imply that it's okay to unconditionally change
6731           buffer data or buffer metadata in a pad probe callback,
6732           and a bunch of other comments. Fixes #430031.
6733
6734 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6735
6736         * win32/common/gstenumtypes.c:
6737         * win32/common/gstenumtypes.h:
6738         * win32/common/gstversion.h:
6739           Update generated files.
6740
6741 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6742
6743         * docs/manual/advanced-autoplugging.xml:
6744           Prefix section with broken code with a warning (see #342432).
6745
6746 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6747
6748         * docs/manual/appendix-integration.xml:
6749         * docs/manual/basics-init.xml:
6750           Call g_thread_init() before g_option_context_new() to
6751           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6752
6753 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6754
6755         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6756         (gst_base_sink_queue_object_unlocked),
6757         (gst_base_sink_queue_object), (gst_base_sink_event),
6758         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6759         When we received EOS and are waiting for when to post the EOS message,
6760         our state is prerolled and we should not return ASYNC.
6761         Reorganize some code paths to implement this behavior.
6762
6763         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6764         (gst_sinks_suite):
6765         Add unit test to verify above EOS fix.
6766
6767 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6768
6769         * plugins/elements/gsttypefindelement.c:
6770         (gst_type_find_element_have_type), (gst_type_find_element_init),
6771         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6772         Move detecting the input caps of the sinkpad to the setcaps function.
6773         This allows us to update the output caps when we receive new input caps
6774         instead of always using the first detected caps.
6775
6776 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6777
6778         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6779         (gst_base_sink_get_position):
6780         Don't try to preroll non-async elements after a flush.
6781         Subtract latency form clock times when reporting position.
6782
6783 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6784
6785         * gst/gstpad.c: (gst_pad_pause_task):
6786         * gst/gstutils.c:
6787         Small comment and documentation update.
6788
6789 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6790
6791         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6792         (gst_base_src_set_live), (gst_base_src_is_live),
6793         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6794         (gst_base_src_default_event), (gst_base_src_wait),
6795         (gst_base_src_do_sync), (gst_base_src_get_range),
6796         (gst_base_src_pad_get_range), (gst_base_src_loop),
6797         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6798         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6799         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6800         (gst_base_src_change_state):
6801         Rework the locking of basesrc in a similar fashion to basesink. We
6802         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6803         us to handle live sources and semi live ones much better.
6804         Simplify flushing.
6805         Fix unlocking when seeking, shutting down and pausing in live sources.
6806
6807 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6808
6809         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6810         Fix compilation again.
6811
6812 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6813
6814         * gst/gstelement.c:
6815           Use meaningful categories for the logs to clean the default one.
6816
6817 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6818
6819         * tests/check/pipelines/cleanup.c:
6820           Print message name and not just number.
6821
6822 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6823
6824         * docs/design/draft-tagreading.txt:
6825           Add some more thoughts.
6826
6827 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6828
6829         * tests/check/pipelines/simple-launch-lines.c:
6830           Print message name and not just number.
6831
6832 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6833
6834         * libs/gst/base/gsttypefindhelper.c:
6835           Speedup typefinding. This is work in progress (see #459862).
6836
6837 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6838
6839         * gst/gstplugin.c:
6840           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6841           Spotted by Josep Torra Valles <josep@fluendo.com>.
6842
6843 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6844
6845         * gst/gstclock.h:
6846           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6847           field has moved to GstObject.
6848
6849 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6850
6851         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6852         (gst_base_src_get_range), (gst_base_src_change_state):
6853         Call unlock for live sources so that they can't get stuck in _create and
6854         produce a buffer before they are set back to PLAYING.
6855
6856 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6857
6858         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6859         (gst_queue_locked_dequeue):
6860         Comment the segment-related code... in the PROPER function.
6861         See #482147 and my commit from yesterday.
6862
6863 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6864
6865         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6866         Also initialize the counter that calculates the first timestamp on a
6867         buffer correctly for non-live sources.
6868
6869 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6870
6871         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6872         Disable code that's breaking the current-time-level reporting.
6873         See #482147
6874
6875 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6876
6877         * docs/gst/gstreamer-sections.txt:
6878         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6879         as they shouldn't show up. Fixes the docs build.
6880
6881 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6882         
6883         * gst/gstinfo.h:
6884         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6885         Define M_PI which is used in files which are including gstinfo.h. 
6886         VS6 includes doesn't define it.
6887         * win32/common/libgstbase.def:
6888         * win32/common/libgstcontroller.def:
6889         * win32/common/libgstreamer.def:
6890         Add new exported functions and variables.
6891         * win32/vs6/libgstcontroller.dsp:
6892         * win32/vs6/libgstreamer.dsp:
6893         Update the list of files to build.
6894         
6895 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6896
6897         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6898
6899         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6900         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6901         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6902         Improve debugging. Fixes #480858.
6903
6904 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6905
6906         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6907
6908         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6909         First patch of code cleanups, use the macros and right arguments in the
6910         macros to signal and lock the queue. See #480858.
6911
6912 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6913
6914         * gst/gstbus.c: (poll_func):
6915         Improve debugging when dealing with _poll().
6916
6917 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6918
6919         * gst/gstregistryxml.c:
6920           Fix memory leak I introduced a few days ago.
6921
6922 2007-09-26  Michael Smith <msmith@fluendo.com>
6923
6924         * gst/gstbuffer.c: (gst_buffer_finalize):
6925           Make it once again possible to free GstBuffers in the default
6926           build.
6927           The poisoning scribbles on parts of the miniobject we need in
6928           order to free it.
6929           Fixes #480341
6930
6931 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6932
6933         * docs/gst/gstreamer-sections.txt:
6934         * gst/gsttaglist.c:
6935         * gst/gsttaglist.h:
6936         API: add GST_TAG_COMPOSER, fixes #459809.
6937
6938 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6939
6940         * gst/gstplugin.c:
6941         * gst/gstplugin.h:
6942         Add the 3-clause BSD license and the MIT/X11 license to the license
6943         list. Fixes #479784.
6944
6945 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6946
6947         * docs/faq/getting.xml:
6948           Add Q+A about different GStreamer versions (#364056).
6949
6950 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6951
6952         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6953         (gst_base_sink_event), (gst_base_sink_change_state):
6954         Return correct gboolean from query function.
6955
6956 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6957
6958         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6959         (gst_base_sink_event), (gst_base_sink_query),
6960         (gst_base_sink_change_state):
6961         Simplify latency query.
6962         When not synchronizing, we can report latency without querying the peer
6963         element.
6964
6965 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6966
6967         * gst/gstobject.h:
6968         * gst/gstvalue.c:
6969         Fix small typos in the docs.
6970
6971 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6972
6973         * docs/design/draft-latency.txt:
6974         * docs/design/draft-push-pull.txt:
6975         * docs/design/draft-tagreading.txt:
6976         * docs/design/part-MT-refcounting.txt:
6977         * docs/design/part-activation.txt:
6978         * docs/design/part-block.txt:
6979         * docs/design/part-element-source.txt:
6980         * docs/design/part-events.txt:
6981         * docs/design/part-gstbin.txt:
6982         * docs/design/part-gstelement.txt:
6983         * docs/design/part-gstobject.txt:
6984         * docs/design/part-gstpipeline.txt:
6985         * docs/design/part-messages.txt:
6986         * docs/design/part-preroll.txt:
6987         * docs/design/part-push-pull.txt:
6988         * docs/design/part-qos.txt:
6989         * docs/design/part-query.txt:
6990         * docs/design/part-scheduling.txt:
6991         * docs/design/part-seeking.txt:
6992         * docs/design/part-segments.txt:
6993         * docs/design/part-states.txt:
6994         Documentation updates and typo fixes.
6995
6996 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6997
6998         * plugins/elements/gstfakesink.c:
6999           Add some debug text to error message to indicate that
7000           we errored out on request.
7001
7002         * tools/gst-launch.c:
7003           When the state change to PLAYING fails, check for an
7004           error message on the bus and print it.
7005
7006 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7007
7008         translated by: Jorge González González <aloriel@gmail.com>
7009
7010         * po/LINGUAS:
7011         * po/es.po:
7012           Added Spanish translation.
7013
7014 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
7015
7016         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7017         Fix printf arguments.
7018
7019 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
7020
7021         * tests/check/generic/states.c:
7022           Improved state change unit test.
7023
7024 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
7025
7026         * gst/gstbin.h:
7027           Move priv to the right place.
7028
7029         * gst/gstsystemclock.c:
7030           Add FIXME: and improve log.
7031
7032         * tests/check/Makefile.am:
7033         * tests/examples/manual/Makefile.am:
7034           Work with all types of registries.
7035
7036 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
7037
7038         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7039         Don't unref the event after pushing it. Fixes #478401.
7040
7041 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
7042
7043         * .cvsignore:
7044         * tests/examples/manual/.cvsignore:
7045           Ignore registries in any format.
7046
7047 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
7048
7049         * gst/glib-compat-private.h:
7050           Add compatibility macro for g_intern_string() for
7051           GLib-2.8 (any reason we can't just bump the
7052           requirement to at least 2.10?)
7053
7054         * gst/gstpadtemplate.h:
7055         * gst/gstelementfactory.c:
7056         * gst/gstregistryxml.c:
7057         * gst/gstregistrybinary.c:
7058           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
7059           up the internal code accordingly.  This shouldn't be a problem, since
7060           there is no reason external code could ever assume the string in such
7061           a structure is dynamically allocated unless it did that itself;  the
7062           use of g_strdup() is private to element factories.  The new code also
7063           saves some memory by putting pad template name strings into the GLib
7064           quark table instead of allocating them dynamically.
7065           Declaring this field constant fixes warnings with g++-4.2 when using
7066           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
7067
7068 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
7069
7070         * gst/gstelementfactory.c:
7071           Release static caps. Fixes #475723.
7072
7073 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
7074
7075         * gst/gstinfo.c:
7076         * gst/gstinfo.h:
7077           Make some internal API take const gchar * instead of just
7078           gchar * to avoid compiler warnings with g++-4.2.2 when
7079           passing string constants (partially fixes #478092).
7080
7081 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
7082
7083         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
7084         A latency query fails when one of the sinks fail.
7085
7086         * gst/gstelement.c: (gst_element_set_base_time):
7087         Improve debugging.
7088
7089 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
7090
7091         * gst/gstbin.c: (gst_bin_continue_func):
7092         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7093         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
7094         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
7095
7096         Fix minor compilation warnings shown with Forte.
7097
7098 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
7099
7100         * plugins/elements/gstqueue.c: (apply_buffer),
7101         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
7102         Measure queue level based on the diff between head and tail timestamps
7103         even when pushing the first buffer.
7104
7105 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7106
7107         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7108         (gst_base_sink_event), (gst_base_sink_change_state):
7109         Sinks that don't preroll can always be queried for the latency.
7110         Don't post ASYNC start when we are not async.
7111
7112 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7113
7114         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
7115         (gst_queue_handle_sink_event), (gst_queue_chain),
7116         (gst_queue_push_one), (gst_queue_handle_src_query),
7117         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
7118         * plugins/elements/gstqueue.h:
7119         When downstream returns UNEXPECTED from pushing a buffer, don't try to
7120         push more buffers but allow pushing of EOS and NEWSEGMENT.
7121         Add some more debug info here and there. Fixes #476514.
7122
7123 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7124
7125         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7126         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
7127         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7128         (gst_base_sink_set_flushing), (gst_base_sink_query),
7129         (gst_base_sink_change_state):
7130         Latency query is allowed after we are prerolled. Introduce a new flag
7131         for this and stop abusing other variables.
7132
7133 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7134
7135         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7136         Push OOB events downstream when we get them in send_event. This allows
7137         the application to insert events in the pipeline.
7138         Add some more comments.
7139
7140 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7141
7142         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7143         (do_bin_latency), (gst_bin_change_state_func):
7144         * gst/gstpipeline.c: (gst_pipeline_change_state):
7145         Move latency query from GstPipeline to GstBin so that we can also
7146         use it when async-handling is enabled on bins.
7147
7148 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7149
7150         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7151         (gst_base_src_do_sync), (gst_base_src_change_state):
7152         Update docs.
7153         Clean up the timestamping and syncing code for pseudo live sources.
7154
7155 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
7156
7157         Patch by: Steve Fink  <sphink gmail com>
7158
7159         * docs/manual/appendix-checklist.xml:
7160           Mention less -R switch in the section about debug output (#474055).
7161
7162 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7163
7164         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7165         Queue can latency to the pipeline up to the configured max size in time.
7166         Report this fact in the latency query.
7167
7168 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7169
7170         Patch by: Sebastien Moutte <sebastien at moutte dot net>
7171
7172         * libs/gst/controller/gstinterpolation.c:
7173         * libs/gst/controller/gstlfocontrolsource.c:
7174         Use gst_guint64_to_gdouble() when converting from a uint64 or
7175         GstClockTime to double to fix the build on win32. Fixes #474371.
7176
7177 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7178
7179         * gst/gstbuffer.c: (gst_buffer_finalize):
7180         Implement poisoning for GstBuffer if --enable-poisoning is specified.
7181         When finalizing a buffer the complete struct is filled with 0xff,
7182         thus making a use of the buffer after the final unref impossible.
7183
7184 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7185
7186         * tests/check/libs/controller.c: (GST_START_TEST):
7187         Use fail_unless_equals_int(a, b) instead of
7188         fail_unless_equals (a == b) to get better output on failures.
7189
7190 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7191
7192         * tests/check/gst/gsturi.c:
7193           Also check for the other file URI variant on win32.
7194
7195 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7196
7197         * gst/gsturi.c: (gst_uri_get_location):
7198           If there's no hostname, we want to return 'c:/foo/bar.txt'
7199           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7200
7201         * tests/check/gst/gsturi.c:
7202           Unit test for the above and a few more things.
7203
7204 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7205
7206         * docs/design/part-live-source.txt:
7207         Add docs on how live sources should timestamp.
7208
7209         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7210         Add some more debug info.
7211         For subclasses that are live and like to sync, add aditional startup
7212         latency to sync time and timestamps so that we timstamp according to the
7213         design doc.
7214
7215 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7216
7217         * gst/gstbuffer.c:
7218           Also do a g_type_class_ref() for the subbuffer type in
7219           the init function.
7220
7221 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7222
7223         * docs/gst/gstreamer-sections.txt:
7224         * gst/gstpad.c: (gst_pad_peer_query):
7225         * gst/gstpad.h:
7226         Add function to perform a query on the peer of a pad.
7227         API: gst_pad_peer_query()
7228
7229 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
7230
7231         * tests/check/gst/gstsystemclock.c:
7232           Cleanup the test a little (use gst-logging and not g_message). Improve
7233           test to check if a wait reached the target.
7234
7235 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7236
7237         * docs/libs/gstreamer-libs-sections.txt:
7238           Add new API to docs and fix the build.
7239
7240 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
7241
7242         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7243         (gst_base_src_init), (gst_base_src_set_do_timestamp),
7244         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7245         (gst_base_src_get_property), (gst_base_src_do_sync):
7246         * libs/gst/base/gstbasesrc.h:
7247         Add property to make the basesrc timestamp buffers based on the current
7248         running time.
7249         API: GstBaseSrc::do-timestamp
7250         API: gst_base_src_set_do_timestamp()
7251         API: gst_base_src_get_do_timestamp()
7252
7253 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
7254
7255         * docs/random/release:
7256           Really make sure translations are up-to-date before
7257           a release (#465010).
7258
7259 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
7260
7261         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7262         Always destroy the timer, also in error cases.
7263
7264 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7265
7266         * docs/manual/highlevel-xml.xml:
7267         Fix XML example code. Fixes #472714.
7268
7269 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7270
7271         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7272         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7273         (gst_base_sink_query):
7274         Protect eos and have_preroll with the OBJECT lock so we don't need to
7275         take the PREROLL lock when querying the latency. Fixes #473846.
7276
7277 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
7278
7279         * gst/gstelement.c:
7280           Give some log-messages a category.
7281
7282 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
7283
7284         * gst/gststructure.c:
7285         (gst_structure_fixate_field_nearest_fraction):
7286         Fix fraction list fixation code. Take the fraction with the smallest
7287         difference with the target instead of the first one in the list.
7288
7289         * tests/check/gst/gststructure.c: (GST_START_TEST),
7290         (gst_structure_suite):
7291         Added test to verify correct fraction list fixation behaviour.
7292
7293 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
7294
7295         * win32/common/libgstreamer.def:
7296           Export gst_bus_add_signal_watch too.
7297
7298 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
7299
7300         * docs/libs/gstreamer-libs-sections.txt:
7301         Add new methods to docs.
7302
7303         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7304         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7305         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7306         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7307         * libs/gst/base/gstbasesink.h:
7308         Add ts-offset property to fine-tune the synchronisation.
7309         API: GstBaseSink::ts-offset property
7310         API: gst_base_sink_set_ts_offset()
7311         API: gst_base_sink_get_ts_offset()
7312
7313 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
7314
7315         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7316         (gst_base_sink_init), (gst_base_sink_set_sync),
7317         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7318         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7319         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7320         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7321         (gst_base_sink_get_property), (gst_base_sink_change_state):
7322         * libs/gst/base/gstbasesink.h:
7323         Add async property to instruct the sink never to inform the parent about
7324         ASYNC state changes, update docs.
7325         Check argument with g_return_* for the public functions.
7326         API: GstBaseSink::async property
7327         API: gst_base_sink_set_async_enabled()
7328         API: gst_base_sink_is_async_enabled()
7329
7330 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
7331
7332         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7333         Improve debugging.
7334
7335         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7336         (gst_base_src_default_query), (gst_base_src_wait),
7337         (gst_base_src_do_sync), (gst_base_src_change_state):
7338         Rearrange some code so that we can add support for measuring the 
7339         startup latency.
7340
7341 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
7342
7343         * docs/random/ensonic/dynlink.txt:
7344           More thoughs on this.
7345
7346         * plugins/elements/gstcapsfilter.c:
7347           Add bugzilla ticket number to FIXME comment.
7348
7349 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
7350
7351         * docs/design/part-TODO.txt:
7352         * docs/design/part-block.txt:
7353         Update some docs.
7354
7355 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7356
7357         * gst/Makefile.am:
7358           Revert patch which uses $(gst_headers) instead of $^ because it
7359           breaks make dist.
7360
7361 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7362
7363         * tests/check/gst/gstbin.c: (GST_START_TEST):
7364           Fix leaks in the new unit test.
7365
7366 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7367
7368         * gst/gst.c:
7369           Don't use GST_INFO before the debug system is actually initialised
7370           (shouldn't do any harm, but won't print anything either, so we can
7371           just as well remove it).
7372
7373         * gst/gstinfo.h:
7374           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7375           compilers that don't support variadic macros (such as MSVC), should
7376           check for debug_level <= __gst_debug_min as well, since that's the
7377           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7378           inline helper functions. Should improve performance a bit, but also
7379           makes sure uses of GST_INFO et.al are ignored if the debugging
7380           system isn't initialised yet (instead of printing an assertion
7381           failure).
7382
7383 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7384
7385         patch by: David Nečas <yeti@physics.muni.cz>
7386
7387         * gst/Makefile.am:
7388           Replace some non portable makefile constructs.
7389
7390 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7391
7392         * common/gtk-doc-plugins.mak:
7393           Grrrrr. Don't remove the types file on make clean.
7394
7395 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7396
7397         * tools/gst-launch.1.in:
7398         Add colorspace to example pipeline. Fixes #458274.
7399
7400 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7401
7402         * docs/random/release:
7403           The release manager should run 'make download-po' before making a
7404           release to make sure translations are up-to-date.
7405
7406         * po/LINGUAS:
7407         * po/be.po:
7408         * po/pl.po:
7409         * po/rw.po:
7410           Add some new translations.
7411
7412 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7413
7414         * tools/gst-launch.c: (event_loop), (main):
7415         Don´t try to do any state management when a live pipeline posts
7416         buffering messages.
7417         Also make the buffering string translatable.
7418
7419 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7420
7421         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7422         (bin_handle_async_start), (gst_bin_handle_message_func):
7423         Improve debugging.
7424         When adding elements, insert messages into the bus of the newly added
7425         element and make sure the element is the source of the message. This
7426         allows the parent bin to intercept the message and do the
7427         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7428         messages to the app (which is not allowed).
7429         Update some docs.
7430
7431         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7432         Fix testsuite so that is does not work around messages that should not
7433         have been posted in the first place.
7434
7435 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7436
7437         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7438         (update_degree), (gst_bin_sort_iterator_next):
7439         Fix annoying bug in the sorted iterator where a sink that is not really
7440         a sink (when it has downstream links) screwed up the iterator.
7441
7442         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7443         Unit test to verify the fix.
7444
7445 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7446
7447         * gst/gstmessage.h:
7448         Add some more docs for the messages.
7449
7450         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7451         (gst_base_sink_query):
7452         Add some more debugging.
7453
7454         * tools/gst-launch.c: (event_loop):
7455         When interrupting, don't try to set pipeline to PAUSED twice.
7456
7457 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7458
7459         
7460         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7461         (bin_handle_async_start), (gst_bin_handle_message_func):
7462         Move ASYNC_START message posting to where it belongs, similar to
7463         async_done. 
7464         Don't post ASYNC_START when we are in error. 
7465         Post ASYNC_START when we added an async element to a bin.
7466
7467 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7468
7469         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7470         generation from vargs. Fixes #466595.
7471
7472 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7473
7474         * gst/gstbin.c: (gst_bin_element_set_state):
7475         Always change the state of a NO_PREROLL element even if it has ASYNC
7476         elements inside (in case of a bin).
7477
7478         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7479         Unit test for this case.
7480
7481 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7482
7483         * libs/gst/check/gstbufferstraw.c:
7484         * libs/gst/check/gstcheck.h:
7485         * libs/gst/controller/gstcontroller.c:
7486         * libs/gst/controller/gstcontrolsource.h:
7487         * libs/gst/controller/gstlfocontrolsource.h:
7488         * plugins/elements/gstcapsfilter.h:
7489         * plugins/elements/gstfdsink.h:
7490         * plugins/elements/gstfdsrc.h:
7491           Add more missing docs.
7492
7493 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7494
7495         * gst/gststructure.c:
7496         Add Since tag to docs.
7497
7498 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7499
7500         * docs/gst/gstreamer-sections.txt:
7501         * gst/gststructure.c: (gst_structure_get_uint):
7502         * gst/gststructure.h:
7503         Add function to get uint from a structure.
7504         API: gst_structure_get_uint()
7505
7506 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7507
7508         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7509         (gst_caps_intersect):
7510         Fix proper check for simple caps.
7511
7512 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7513
7514         * docs/gst/Makefile.am:
7515         * docs/libs/Makefile.am:
7516           Remove cruft and do some cleanups.
7517
7518         * docs/gst/gstreamer-docs.sgml:
7519         * docs/libs/gstreamer-libs-docs.sgml:
7520           Prepare for comming gtkdoc features (rebase against online docs).
7521
7522 2007-08-10  Michael Smith <msmith@fluendo.com>
7523
7524         * docs/gst/gstreamer-sections.txt:
7525           Add gst_registry_add_path to docs.
7526
7527 2007-08-10  Michael Smith <msmith@fluendo.com>
7528
7529         * gst/gstregistry.h:
7530           Add gst_registry_add_path, which was missing from this header.
7531
7532 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7533
7534         * libs/gst/controller/gstlfocontrolsource.c:
7535           Printf format fix.
7536
7537 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7538
7539         * libs/gst/base/gstbasesink.c:
7540           Don't send an async_start message during downwards state change if 
7541           target state is less than READY
7542
7543 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7544
7545         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7546
7547         * po/LINGUAS:
7548         * po/hu.po:
7549           Added Hungarian translation.
7550
7551 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7552
7553         * po/fi.po:
7554         * po/it.po:
7555         * po/nl.po:
7556         * po/sv.po:
7557         * po/uk.po:
7558           Updated translations.
7559
7560 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7561
7562         * libs/gst/controller/Makefile.am:
7563         Dist gstlfocontrolsourceprivate.h
7564
7565 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7566
7567         * docs/libs/gstreamer-libs.types:
7568         Don't register the enum type gst_lfo_waveform_get_type() in the
7569         .types file - only GObject derived types belong.
7570
7571 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7572
7573         Patch by: <arenevier at fdn dot fr>
7574
7575         * gst/gstbuffer.h:
7576         Remove comma from last element in enum to avoid compile errors when
7577         using -pendantic. Fixes #464366.
7578
7579 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7580
7581         * docs/design/part-TODO.txt:
7582         Add some more TODO items
7583
7584         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7585         Improve debugging.
7586
7587         * gst/gstcaps.c: (gst_caps_intersect):
7588         Optimize trivial intersection case between identical caps pointers.
7589
7590         * gst/gstelement.c: (gst_element_continue_state),
7591         (gst_element_set_state_func):
7592         * gst/gstpad.c:
7593         Fix spelling and grammar mistakes.
7594
7595 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7596
7597         * po/POTFILES.in:
7598         * po/POTFILES.skip:
7599           Update POTFILES. Fixes #461599.
7600
7601 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7602
7603         * gst/gst.c:
7604         Fix confusing typo in debug output.
7605
7606 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7607
7608         reviewed by: Stefan Kost <ensonic@users.sf.net>
7609
7610         * libs/gst/controller/Makefile.am:
7611         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7612         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7613         (gst_lfo_control_source_new),
7614         (gst_lfo_control_source_set_waveform),
7615         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7616         (gst_lfo_control_source_finalize),
7617         (gst_lfo_control_source_dispose),
7618         (gst_lfo_control_source_set_property),
7619         (gst_lfo_control_source_get_property),
7620         (gst_lfo_control_source_class_init):
7621         * libs/gst/controller/gstlfocontrolsource.h:
7622         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7623         API: Add GstLFOControlSource, a control source that gives values
7624         for specific timestamps based on several periodic waveforms.
7625         Fixes #459717.
7626
7627         * tests/check/libs/controller.c: (GST_START_TEST),
7628         (gst_controller_suite):
7629         * docs/libs/gstreamer-libs-docs.sgml:
7630         * docs/libs/gstreamer-libs-sections.txt:
7631         * docs/libs/gstreamer-libs.types:
7632         Add documentation and unit tests for GstLFOControlSource.
7633
7634 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7635
7636         * configure.ac:
7637         Back to CVS
7638
7639 === release 0.10.14 ===
7640
7641 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7642
7643         * configure.ac:
7644           releasing 0.10.14, "Breathing Vacuum"
7645
7646 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7647
7648         * gst/gstelement.c: (gst_element_class_set_details_simple):
7649         * gst/gstelement.h:
7650           Make strings passed to gst_element_class_set_details_simple()
7651           constant, as they should be (#462752).
7652
7653 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7654
7655         * gst/gstbin.c: (gst_bin_change_state_func),
7656         (bin_handle_async_done), (gst_bin_handle_message_func):
7657         Don't forget about the fact that some element went ASYNC even after a
7658         resync. This makes us post the ASYNC_DONE message correctly.
7659         Fixes #462558.
7660
7661 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7662
7663         * gst/gstregistry.c: (gst_registry_add_feature):
7664         When replacing an existing feature in the registry, make sure to
7665         continue holding a reference until we've replaced the name string
7666         within our feature hash table. Make sure to use g_hash_table_replace
7667         instead of g_hash_table_insert to ensure the new name string is used
7668         as a key instead of the old one that we're about to free.
7669         Fixes: #462085
7670
7671 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7672
7673         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7674         (gst_plugin_feature_set_name):
7675         Revert patch from #459466 until after the release and we can work
7676         out exactly what the problem is (if any).
7677
7678 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7679
7680         * docs/gst/gstreamer-sections.txt:
7681         * gst/gsttaglist.c:
7682         * gst/gsttaglist.h:
7683           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7684
7685 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7686
7687         * docs/libs/Makefile.am:
7688         Include our build-prefix libs and includes before the generic ones to
7689         avoid linking against the installed libs when we want the build-tree
7690         ones.
7691
7692 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7693
7694         Patch by: Steve Fink  <sphink gmail com>
7695
7696         * docs/pwg/building-testapp.xml:
7697           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7698           if people try to build or install the example from the plugin
7699           template against a GStreamer from package using the configure
7700           defaults.
7701
7702 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7703
7704         Patch by: Steve Fink  <sphink gmail com>
7705
7706         * tools/gst-inspect.1.in:
7707           Document --print-all and --print-plugin-auto-install-info command
7708           line options in man page.
7709
7710 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7711
7712         * docs/gst/gstreamer-sections.txt:
7713         Add docs for new api function.
7714
7715 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7716
7717         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7718         * gst/gstelementfactory.h:
7719         API: gst_element_factory_has_interface()
7720         Added method to check if an element factory implements a named
7721         interface.
7722
7723 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7724
7725         * configure.ac:
7726         * docs/gst/gstreamer.types.in:
7727           Another conditional doc check.
7728
7729         * gst/gstmessage.c:
7730         * gst/gstparamspecs.h:
7731         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7732         * gst/gstvalue.c:
7733         * gst/gstxml.h:
7734           API-doc fixes.
7735
7736 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7737
7738         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7739         (gst_registry_binary_load_feature),
7740         (gst_registry_binary_load_plugin),
7741         (gst_registry_binary_read_cache):
7742           Print error just once and with additional info.
7743
7744 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7745
7746         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7747         (helper_find_suggest), (helper_find_get_length),
7748         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7749         (gst_type_find_helper_for_buffer):
7750           Cleanup the typefindhelper code and add private doc comments.
7751
7752 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7753
7754         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7755         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7756         Fix capsfilter for cases where the caps set on capsfilter will provide
7757         additional information.
7758         Fixes #449197
7759
7760 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7761
7762         * gst/gsttypefindfactory.c:
7763           Fix docs that recommened wrong function to use.
7764
7765 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7766
7767         * tools/gst-inspect.c: (print_plugin_features):
7768           Also give media-type for typefinders in element output.
7769
7770 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7771
7772         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7773         (gst_registry_remove_features_for_plugin_unlocked),
7774         (gst_registry_add_feature), (gst_registry_remove_feature),
7775         (gst_registry_lookup_feature_locked):
7776         * gst/gstregistry.h:
7777           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7778           Fixes #459501.
7779
7780 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7781
7782         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7783         (gst_plugin_feature_set_name):
7784           Avoid double memory usage for pluginfeature names. Fixes #459466.
7785
7786 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7787
7788         * gst/gstpad.h:
7789           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7790           driving the pipeline may need to explicitly check for NOT_LINKED as
7791           well, since IS_FATAL doesn't cover that.
7792
7793 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7794
7795         * docs/pwg/advanced-types.xml:
7796           Fix typo and duplicate entry in video formats list.
7797
7798 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7799
7800         * libs/gst/controller/gstinterpolation.c:
7801         Also round to the nearest int when using cubic interpolation.
7802
7803 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7804
7805         * libs/gst/controller/gstinterpolation.c:
7806         When linearly interpolating integer types, round to the nearest int
7807         by adding 0.5. Don't do it for float/double types.
7808         Fixes the failing controller test on my machine, which is somehow
7809         rounding differently than on the buildbots.
7810
7811 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7812
7813         * tools/gst-plot-timeline.py:
7814           Better log parsing (categories can have -). Adjust text vs. lines, so
7815           that they span the same y-range.        
7816
7817 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7818
7819         * docs/random/ensonic/audiobaseclasses.txt:
7820         * docs/random/ensonic/dynlink.txt:
7821         * docs/random/ensonic/profiling.txt:
7822           Save my thoughts.
7823
7824         * docs/random/moving-plugins:
7825           Add note to use g_assert type macros.
7826
7827 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7828
7829         * configure.ac:
7830         * libs/gst/check/Makefile.am:
7831           Add libm check as we use in for plugins.
7832
7833 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7834
7835         * gst/gstbin.c: (gst_bin_continue_func):
7836         Check that the state_cookie hasn't changed since the continue_func
7837         was scheduled. Avoids problems where the state changes back to
7838         something it shouldn't be because it was changed in the meantime.
7839
7840 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7841
7842         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7843         (gst_registry_binary_save_string),
7844         (gst_registry_binary_save_pad_template),
7845         (gst_registry_binary_save_feature),
7846         (gst_registry_binary_save_plugin),
7847         (gst_registry_binary_load_feature),
7848         (gst_registry_binary_load_plugin),
7849         (gst_registry_binary_read_cache):
7850           Fix memory leak. Be less verbose in the log.
7851
7852 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7853
7854         * tests/check/elements/.cvsignore:
7855         Add file to cvsignore as commanded.
7856
7857 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7858
7859         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7860         (mq_dummypad_event), (run_output_order_test):
7861         Use a GStaticMutex to protect all cases where libcheck
7862         fail_if/fail_unless macros might be called from multiple threads
7863         simultaneously to avoid errors like:
7864           "check_pack.c:107: :-1081725400:Bad message type arg"
7865
7866 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7867
7868         * tests/check/pipelines/stress.c: (GST_START_TEST):
7869         Make sure we set the pipeline back to the NULL state before
7870         dropping our final reference.
7871
7872 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7873
7874         * tests/check/elements/tee.c: (GST_START_TEST):
7875         Make the tee stress-test a little less stressful so it doesn't just
7876         time out on slow-machines, and remove a small race when it's starting 
7877         up by adding a get_state() call.
7878
7879 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7880
7881         * gst/gst.c:
7882           Avoid reading registry twice on startup. Fixes #457322.
7883
7884 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7885
7886         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7887         * pkgconfig/gstreamer-check.pc.in:
7888         Substitute the CFLAGS for libcheck into our .pc file too so that
7889         dependent modules will pick it up properly if libcheck is installed
7890         into some other prefix.
7891
7892 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7893
7894         * configure.ac:
7895         Revert the pkg-config check for libcheck, since it pulls in the
7896         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7897         a proper solution, either from the check project, or something else.
7898
7899 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7900
7901         * configure.ac:
7902           Use pkg-config to locate check.
7903
7904 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7905
7906         * gst/gsttaglist.c:
7907           Fix doc syntax.
7908
7909         * gst/gstutils.c:
7910         * gst/gstutils.h:
7911           Add deprecation guards.
7912
7913         * libs/gst/base/gstcollectpads.h:
7914           Don't document object (this is implicitly private).
7915
7916 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7917
7918         * gst/gststructure.c: (gst_structure_parse_value):
7919           When deserialising foo=bar without a type cast, check if it's a
7920           boolean before falling back to a string type, otherwise things like
7921           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7922           because the filtercaps end up having a signed=(string)true field,
7923           which causes problems later when intersection caps.
7924
7925         * tests/check/gst/gststructure.c: (GST_START_TEST):
7926           Add a unit test for this.
7927
7928 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7929
7930         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7931
7932         * libs/gst/controller/Makefile.am:
7933         * libs/gst/controller/gstcontroller.c:
7934         (gst_controlled_property_add_interpolation_control_source),
7935         (gst_controlled_property_new), (gst_controlled_property_free),
7936         (gst_controller_find_controlled_property),
7937         (gst_controller_new_valist), (gst_controller_new_list),
7938         (gst_controller_new), (gst_controller_remove_properties_valist),
7939         (gst_controller_remove_properties_list),
7940         (gst_controller_remove_properties),
7941         (gst_controller_set_property_disabled),
7942         (gst_controller_set_disabled), (gst_controller_set_control_source),
7943         (gst_controller_get_control_source), (gst_controller_get),
7944         (gst_controller_sync_values), (gst_controller_get_value_array),
7945         (_gst_controller_dispose), (gst_controller_get_type),
7946         (gst_controlled_property_set_interpolation_mode),
7947         (gst_controller_set), (gst_controller_set_from_list),
7948         (gst_controller_unset), (gst_controller_unset_all),
7949         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7950         * libs/gst/controller/gstcontroller.h:
7951         * libs/gst/controller/gstcontrollerprivate.h:
7952         * libs/gst/controller/gstcontrolsource.c:
7953         (gst_control_source_class_init), (gst_control_source_init),
7954         (gst_control_source_get_value),
7955         (gst_control_source_get_value_array), (gst_control_source_bind):
7956         * libs/gst/controller/gstcontrolsource.h:
7957         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7958         (gst_object_get_control_source):
7959         * libs/gst/controller/gstinterpolation.c:
7960         (gst_interpolation_control_source_find_control_point_node),
7961         (gst_interpolation_control_source_get_first_value),
7962         (_interpolate_none_get), (interpolate_none_get),
7963         (interpolate_none_get_boolean_value_array),
7964         (interpolate_none_get_enum_value_array),
7965         (interpolate_none_get_string_value_array),
7966         (_interpolate_trigger_get), (interpolate_trigger_get),
7967         (interpolate_trigger_get_boolean_value_array),
7968         (interpolate_trigger_get_enum_value_array),
7969         (interpolate_trigger_get_string_value_array):
7970         * libs/gst/controller/gstinterpolationcontrolsource.c:
7971         (gst_control_point_free), (gst_interpolation_control_source_reset),
7972         (gst_interpolation_control_source_new),
7973         (gst_interpolation_control_source_set_interpolation_mode),
7974         (gst_interpolation_control_source_bind),
7975         (gst_control_point_compare), (gst_control_point_find),
7976         (gst_interpolation_control_source_set_internal),
7977         (gst_interpolation_control_source_set),
7978         (gst_interpolation_control_source_set_from_list),
7979         (gst_interpolation_control_source_unset),
7980         (gst_interpolation_control_source_unset_all),
7981         (gst_interpolation_control_source_get_all),
7982         (gst_interpolation_control_source_get_count),
7983         (gst_interpolation_control_source_init),
7984         (gst_interpolation_control_source_finalize),
7985         (gst_interpolation_control_source_dispose),
7986         (gst_interpolation_control_source_class_init):
7987         * libs/gst/controller/gstinterpolationcontrolsource.h:
7988         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7989         API: Refactor GstController into the core controller which can take
7990         a GstControlSource for providing actual values for timestamps.
7991         Implement a interpolation control source and use this for backward
7992         compatibility, deprecate a bunch of functions that are now handled
7993         by GstControlSource or GstInterpolationControlSource.
7994         Make it possible to disable the controller completely or only for
7995         specific properties. Fixes #450711.
7996         * docs/libs/gstreamer-libs-docs.sgml:
7997         * docs/libs/gstreamer-libs-sections.txt:
7998         * docs/libs/gstreamer-libs.types:
7999         Add new functions and classes to the docs.
8000         * tests/check/libs/controller.c: (GST_START_TEST),
8001         (gst_controller_suite):
8002         * tests/examples/controller/audio-example.c: (main):
8003         Port unit test and example to the new API and add some new
8004         unit tests.
8005
8006 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
8007
8008         Patch by: Mark Nauwelaerts <manauw at skynet be>
8009
8010         * plugins/elements/gstmultiqueue.c:
8011         (gst_multi_queue_get_internal_links), (apply_buffer),
8012         (single_queue_overrun_cb), (gst_single_queue_new):
8013         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
8014         the pipeline layout can be tracked correctly. Fixes #453732.
8015
8016 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
8017
8018         * docs/gst/Makefile.am:
8019         * docs/libs/Makefile.am:
8020         * docs/plugins/Makefile.am:
8021           Simplify --extra-dir as gtkdoc scans recursively.
8022
8023 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
8024
8025         * tools/gst-launch.c: (main):
8026         When we got an error, there is no point in waiting for preroll when
8027         shutting down.
8028
8029 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
8030
8031         * plugins/elements/gsttee.c: (gst_tee_base_init),
8032         (gst_tee_request_new_pad), (gst_tee_release_pad),
8033         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
8034         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
8035         (gst_tee_chain):
8036         Be a lot smarter when deciding what srcpad to use for proxying
8037         the buffer_alloc. Also handle pad added/removed when doing so.
8038         Fixes #357959.
8039         Keep track of what pads we already pushed on in case we have pads
8040         added/removed while pushing. Fixes #374639 
8041
8042         * tests/check/Makefile.am:
8043         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
8044         (tee_suite):
8045         Added unit test for pad resync.
8046
8047 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8048
8049         * po/nl.po:
8050         * po/sv.po:
8051           Updated translations.
8052
8053 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8054
8055         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
8056
8057         * po/LINGUAS:
8058         * po/fi.po:
8059           Added new Finnish translation.
8060
8061 2007-06-28  Wim Taymans  <wim@fluendo.com>
8062
8063         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8064         (single_queue_overrun_cb):
8065         When figuring out when a queue is filled, use our internal time estimate
8066         based on segments, just like check_full does.
8067
8068 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
8069
8070         * gst/gstminiobject.c: (gst_mini_object_get_type):
8071           Remove 3 do-nothing methods.
8072
8073 2007-06-27  Wim Taymans  <wim@fluendo.com>
8074
8075         Patch by: Tim Angus <tim at ngus dot net>
8076
8077         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8078         (gst_capsfilter_set_property):
8079         Take a reference instead of a copy when setting "caps".
8080         Fix documentation to clarify this behaviour. Fixes #449414.
8081
8082 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
8083
8084         * gst/gstindexfactory.c: (gst_index_factory_get_type):
8085         * gst/gstplugin.c: (gst_plugin_init):
8086         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
8087         * gst/gstquery.c: (gst_query_get_type):
8088         * gst/gstregistry.c: (gst_registry_init):
8089         * gst/gsturi.c: (gst_uri_handler_base_init):
8090           Remove empty instance_init() functions to save relocs and lessen the
8091           noise. Remove some of the function prototypes that are doubled by
8092           G_DEFINE_TYPE.
8093           
8094 2007-06-27  Wim Taymans  <wim@fluendo.com>
8095
8096         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
8097
8098         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
8099         Add peer and direction in the XML serialisation of ghostpads.
8100         Fixes #449226.
8101
8102 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
8103
8104         * configure.ac:
8105           Preserve useful information, thanks Tim.
8106
8107 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
8108
8109         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8110         (gst_single_queue_flush), (apply_segment), (apply_buffer),
8111         (gst_single_queue_push_one), (gst_multi_queue_loop),
8112         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8113         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
8114         (compute_high_id), (gst_single_queue_new):
8115         * plugins/elements/gstmultiqueue.h:
8116         Take the multiqueue lock when updating the fill level so we don't get
8117         confused. 
8118
8119         After applying a buffer or event on the src pad segment, make sure to
8120         call gst_data_queue_limits_changed() to get the data queue to unblock
8121         and check the filled state again.
8122         
8123         Rework the not-linked pad handling so the logic is that not-linked 
8124         pads can push as fast as they like, but only so they never get 
8125         ahead of any linked pads.
8126
8127         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8128         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8129         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8130
8131         Add a test to check that not-linked pads always stay behind
8132         linked pads.
8133
8134         Fixes: #430682
8135
8136 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
8137
8138         * docs/random/release:
8139           Some updates to the release procedure.
8140
8141 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
8142
8143         * gst/gstelementfactory.c: (__gst_element_details_clear):
8144           Microoptimization that saves stunning 80 bytes.
8145
8146 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
8147
8148         * docs/plugins/gstreamer-plugins.args:
8149         * docs/plugins/inspect/plugin-coreelements.xml:
8150         * docs/plugins/inspect/plugin-coreindexers.xml:
8151           Update docs with caps info.
8152
8153 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8154
8155         * po/it.po:
8156           Updated Italian translation.
8157
8158 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8159
8160         * ChangeLog:
8161         * po/vi.po:
8162           Update Vietnamese translations.
8163
8164 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8165
8166         * libs/gst/base/gstbasesink.c:
8167           Remove unused signal enum.
8168
8169 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8170
8171         * docs/gst/gstreamer-sections.txt:
8172         * gst/gstelement.c:
8173         * gst/gstutils.c: (gst_type_register_static_full):
8174         Beef up and include the docs for gst_type_register_static_full and
8175         gst_element_class_set_details_simple and add the API keyword
8176         in the ChangeLog.
8177
8178 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8179
8180         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8181         (update_time_level), (gst_single_queue_push_one),
8182         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8183         (single_queue_overrun_cb), (single_queue_underrun_cb),
8184         (single_queue_check_full):
8185         Fix setting max-* properties after adding queues.
8186         Use IS_FILLED for checking visible items.
8187         Signal overrun if multiple queues overrun.
8188         Add extra debug output.
8189         Patch by: Wim Taymans <wim@fluendo.com>
8190
8191 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
8192
8193         * gst/gstelement.c: (gst_element_class_set_details_simple):
8194         * gst/gstelement.h:
8195         * gst/gstutils.c: (gst_type_register_static_full):
8196         * gst/gstutils.h:
8197         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8198         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8199         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8200         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8201         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8202         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8203         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8204         * plugins/elements/gstidentity.c: (gst_identity_base_init):
8205         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8206         * plugins/elements/gstqueue.c: (gst_queue_base_init),
8207         (apply_buffer), (gst_queue_chain):
8208         * plugins/elements/gsttee.c: (gst_tee_base_init):
8209         * plugins/elements/gsttypefindelement.c:
8210         (gst_type_find_element_base_init),
8211         (gst_type_find_element_class_init):
8212           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8213           API: add gst_type_register_static_full
8214           API: add gst_element_class_set_details_simple
8215
8216 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8217
8218         * docs/pwg/advanced-types.xml:
8219           Fix typo in iana.org URI.
8220
8221 2007-06-19  Andy Wingo  <wingo@pobox.com>
8222
8223         * tests/check/pipelines/simple-launch-lines.c
8224         (test_state_change_returns): Enable pull-mode tests now that
8225         basesink has been fixed.
8226
8227         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8228         Changed from gst_base_sink_is_prerolled, reversing the sense of
8229         the return value. Returns FALSE also if the sink is in pull mode,
8230         in which case it needs no preroll.
8231         (gst_base_sink_query, gst_base_sink_change_state): Update for
8232         needs_preroll change.
8233         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8234         chaining up, in which we return SUCCESS directly if we activated
8235         in pull mode instead of ASYNC. Involves countering an async_start
8236         message sent before chaining up; not sure if this is correct, in
8237         an ideal world we only send async-start when activating in push
8238         mode.
8239
8240         * tests/check/pipelines/simple-launch-lines.c
8241         (test_state_change_returns): New test, partially disabled until
8242         basesink is fixed.
8243
8244 2007-06-19  Wim Taymans  <wim@fluendo.com>
8245
8246         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8247         (gst_multi_queue_sink_event):
8248         Fix event leak.
8249
8250 2007-06-19  Wim Taymans  <wim@fluendo.com>
8251
8252         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8253         (gst_bin_change_state_func), (bin_push_state_continue),
8254         (bin_handle_async_start), (bin_handle_async_done),
8255         (gst_bin_handle_message_func):
8256         Move the common code for posting state-change messages into
8257         one function.
8258         Broadcast the state signal after we posted the messages.
8259         Mark the bin as busy when it's doing a state-change.
8260         Make sure async-start/done messages don't interfere with the bin's
8261         state when it's busy.
8262         After the state change, let the bin check which elements completed the
8263         state change while it was busy so that it can update its state.
8264
8265 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
8266
8267         * docs/random/release:
8268         Add a note about updating the doap file to the release checklist
8269
8270 2007-06-18  Wim Taymans  <wim@fluendo.com>
8271
8272         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8273         (gst_single_queue_push_one), (gst_multi_queue_chain),
8274         (gst_multi_queue_sink_event):
8275         Make sure we don't reference the buffer/event after we have given away
8276         ownership in the queue.
8277
8278 2007-06-18  Wim Taymans  <wim@fluendo.com>
8279
8280         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8281         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8282         Update queue state _after_ adding the item in the queue because else we
8283         could end up being full without the element added yet.
8284
8285 2007-06-18  Wim Taymans  <wim@fluendo.com>
8286
8287         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8288         (gst_bin_remove_func), (gst_bin_get_state_func),
8289         (gst_bin_element_set_state), (gst_bin_continue_func),
8290         (bin_push_state_continue), (bin_handle_async_start),
8291         (bin_handle_async_done), (gst_bin_handle_message_func):
8292         * gst/gstbin.h:
8293         Immediatly commit the toplevel bin state when receiving an async-done
8294         message. This enables us to avoid spawning a thread to commit the state
8295         in some common cases and it also avoids some races.
8296         Avoid spawning a state thread when adding/removing async elements to a
8297         toplevel bin. Instead we immediatly update the bin state.
8298         Get rid of iterating all the children when getting the state in the bin
8299         because it is now always up-to-date.
8300         Fix bug where locked elements would always return _SUCCESS even it they
8301         returned NO_PREROLL before being locked.
8302         Fix the order of the state_change, async-start/done messages that was
8303         sometimes incorrect.
8304         Mark the state_dirty field as deprecated, we don't need it anymore as we
8305         are always up-to-date.
8306
8307         * gst/gstelement.c: (gst_element_get_state_func),
8308         (gst_element_continue_state):
8309         Small debug inprovements.
8310         Return the previous element state return when nothing is pending instead
8311         of blindly returning SUCCESS.
8312
8313         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8314         (gst_sinks_suite):
8315         Add a whole bunch of new testcases.
8316
8317 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8318
8319         * po/uk.po:
8320         * po/vi.po:
8321           Update translations.
8322
8323 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
8324
8325         * gst/gstpad.c:
8326         Fix typo in the docs.
8327
8328 2007-06-15  Wim Taymans  <wim@fluendo.com>
8329
8330         * docs/libs/gstreamer-libs-sections.txt:
8331         Add docs for new methods.
8332
8333 2007-06-15  Wim Taymans  <wim@fluendo.com>
8334
8335         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8336         (gst_multi_queue_item_new):
8337         Don't use GSlice because we don't depend on >= 2.10 yet.
8338
8339 2007-06-15  Wim Taymans  <wim@fluendo.com>
8340
8341         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8342         (update_time_level), (apply_segment), (apply_buffer),
8343         (gst_single_queue_push_one), (gst_multi_queue_item_new),
8344         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8345         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8346         (single_queue_underrun_cb), (single_queue_check_full):
8347         Remove debug printf.
8348
8349 2007-06-15  Wim Taymans  <wim@fluendo.com>
8350
8351         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8352         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8353         (gst_data_queue_set_flushing), (gst_data_queue_push),
8354         (gst_data_queue_pop), (gst_data_queue_drop_head),
8355         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8356         * libs/gst/base/gstdataqueue.h:
8357         Various cleanups.
8358         Added methods to get the current levels and to inform the queue that the
8359         'full' limits changed.
8360
8361         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8362         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8363         (gst_single_queue_flush), (update_time_level), (apply_segment),
8364         (apply_buffer), (gst_single_queue_push_one),
8365         (gst_multi_queue_item_steal_object),
8366         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8367         (gst_multi_queue_loop), (gst_multi_queue_chain),
8368         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8369         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8370         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8371         (single_queue_underrun_cb), (single_queue_check_full),
8372         (gst_single_queue_new):
8373         Keep track of time in the queue by measuring the difference between
8374         running_time on input and output. This gives more accurate results and
8375         can compensate for segments correctly.
8376         Make a queue by default only 5 buffers deep. We will now increase the
8377         buffer size depending on the filledness of the other queues.
8378         Factor out commong flush code.
8379         Make sure we don't add additional refcounts to buffers when we can avoid
8380         it.
8381         Propagate GstFlowReturn differently.
8382         Use GSlice for intermediate GstMultiQueueItems.
8383         Keep track of EOS.
8384         Resize queues on over and underruns based on filled level of other
8385         queues.
8386         When checking if the queue is filled, prefer to measure in time if we
8387         can and fall back to bytes when no time is known.
8388
8389         * plugins/elements/gstqueue.c:
8390         Fix return value.
8391
8392 2007-06-15  Wim Taymans  <wim@fluendo.com>
8393
8394         * libs/gst/base/gstbasetransform.c:
8395         (gst_base_transform_sink_event):
8396         Work around the brokenness of the event vmethod in basetransform. Prefer
8397         to return TRUE when the subclass returned FALSE (meaning don't forward
8398         the event). 
8399
8400         * libs/gst/base/gstbasetransform.h:
8401         Clarify the docs.
8402
8403 2007-06-15  Wim Taymans  <wim@fluendo.com>
8404
8405         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8406         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8407         (gst_base_src_default_query), (gst_base_src_get_range),
8408         (gst_base_src_start):
8409         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8410         Improve debugging.
8411
8412 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8413
8414         * docs/pwg/advanced-types.xml:
8415           Added more formats to caps table.
8416
8417 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8418
8419         * tools/gst-launch.c: (main):
8420           Remove crufy code. GOption does not need this workaround.
8421
8422 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8423
8424         * libs/gst/controller/gstcontroller.c:
8425         (gst_controlled_property_set_interpolation_mode):
8426           Fix wrong getter for enums in controller.
8427
8428 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8429
8430         * libs/gst/check/gstcheck.c: (gst_check_init):
8431           Intercept criticals and warnings in the Gst-Phonon log domain, so
8432           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8433           well.
8434         
8435 2007-06-14  Edward Hervey  <edward@fluendo.com>
8436
8437         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8438         Since this file doesn't include "gst.h" it will not go through the
8439         macros that disable GST_LOG if debugging was disabled.
8440
8441 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8442
8443         * libs/gst/check/Makefile.am:
8444         * libs/gst/check/gstcheck.h:
8445         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8446         * pkgconfig/gstreamer-check.pc.in:
8447           Ugly 'fix' for the controller unit test on the p5 bot: in
8448           fail_unless_equals_float() check whether the values are 'almost
8449           equal' by allowing a small absolute error, which should be good
8450           enough for our use cases (normal numbers and values close to 0).
8451           Proper fixage left to floating point arithmetic aficionados.
8452
8453 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8454
8455         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8456         (gst_base_sink_render_object), (gst_base_sink_get_position):
8457           Add two breaks thats where missing.
8458
8459 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8460
8461         * docs/libs/gstreamer-libs-sections.txt:
8462         * libs/gst/check/gstcheck.h:
8463           API: add fail_unless_equals_float() and assert_equals_float().
8464           Add documentation for some of the macros.
8465
8466         * tests/check/libs/controller.c: (GST_START_TEST):
8467           Use newly-added asserts.
8468
8469 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8470
8471         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8472           Show the caps change in the log to help spotting the case of not
8473           exactly matching caps.
8474
8475 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8476
8477         * docs/pwg/building-boiler.xml:
8478           Fix typos, spotted by Thijs Vermeir (#447190).
8479
8480 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8481
8482         * docs/plugins/tmpl/.cvsignore:
8483         Ignore file to keep the buildbots happy
8484
8485 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8486
8487         * docs/plugins/Makefile.am:
8488         * docs/plugins/gstreamer-plugins-docs.sgml:
8489         * docs/plugins/gstreamer-plugins-sections.txt:
8490         Pull fdsink into the docs too.
8491
8492 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8493
8494         * libs/gst/controller/gstinterpolation.c:
8495         Actually use the new functions with min/max checks for the trigger and
8496         none interpolation modes for get() and get_value_array() instead of
8497         just the latter.
8498
8499 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8500
8501         * libs/gst/controller/gstcontroller.c:
8502         (gst_controlled_property_free):
8503         Unset the minimum and maximum GValues when freeing the corresponding
8504         GstControllerProperty struct.
8505
8506 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8507
8508         * libs/gst/controller/gstcontroller.c:
8509         (gst_controlled_property_new):
8510         * libs/gst/controller/gstcontrollerprivate.h:
8511         * libs/gst/controller/gstinterpolation.c:
8512         (gst_controlled_property_find_control_point_node),
8513         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8514         (interpolate_none_get_string_value_array),
8515         (interpolate_trigger_get),
8516         (interpolate_trigger_get_enum_value_array),
8517         (interpolate_trigger_get_string_value_array):
8518         Protect against values larger or smaller than the minimum or maximum
8519         allowed value for the property when using values that can be compared.
8520
8521         Optimize trigger interpolator a bit by taking the last requested value
8522         into account instead of always looping through the complete list.
8523
8524         Fix coding style a bit, everywhere else we use "return foo" instead
8525         of "return (foo)".
8526         
8527         * tests/check/libs/controller.c: (GST_START_TEST),
8528         (gst_controller_suite):
8529         Add unit test for the protection against too large or too small
8530         values.
8531
8532 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8533
8534         * docs/random/slomo/controller.txt:
8535         Add some thoughts about the future of the controller.
8536
8537 2007-06-08  Wim Taymans  <wim@fluendo.com>
8538
8539         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8540         Don't overflow in retimestamping code.
8541
8542 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8543
8544         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8545         Use gst_util_guint64_to_gdouble for conversions.
8546         * win32/common/libgstreamer.def:
8547         Add new exported functions.
8548
8549 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8550
8551         * gst/gstutils.c:
8552           Small docs addition.
8553
8554 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8555
8556         * README:
8557           Remove that test line again.
8558
8559 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8560
8561         * README:
8562           Test commit mail sending.
8563
8564 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8565
8566         * configure.ac:
8567           Fix typo and test commit mail sending.
8568
8569 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8570
8571         * tests/examples/controller/audio-example.c:
8572           Improve comment and test commit mail sending.
8573
8574 2007-06-07  Wim Taymans  <wim@fluendo.com>
8575
8576         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8577         (gst_bin_remove_func), (gst_bin_element_set_state),
8578         (bin_handle_async_start), (bin_handle_async_done),
8579         (gst_bin_handle_message_func):
8580         Add helper function to find messages.
8581         Generate the async-done messages together with the state change
8582         messages.
8583         Small cleanups in handling toplevel bins.
8584
8585 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8586
8587         * libs/gst/base/gstdataqueue.c:
8588         * libs/gst/base/gstdataqueue.h:
8589         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8590         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8591         (gst_multi_queue_sink_event):
8592         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8593           Fix multiqueue leaking buffers and events when downstream or the
8594           queue are flushing. Make refcounting assumptions explicit and
8595           document them (shouldn't break existing code that uses it other than
8596           maybe leak miniobjects, but that already happens anyway). Add unit
8597           test for the most common flushing case. Fixes #423700.
8598           
8599 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8600
8601         * libs/gst/controller/gstcontroller.c:
8602         Clarify docs: The get_all, get_value_array(s) functions
8603         don't modify the GObject properties.
8604
8605 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8606
8607         * libs/gst/controller/gstcontroller.c:
8608         (gst_controlled_property_set_interpolation_mode),
8609         (gst_controlled_property_prepend_default),
8610         (gst_controlled_property_new), (gst_controller_set_unlocked),
8611         (gst_controller_set), (gst_controller_set_from_list),
8612         (gst_controller_unset), (gst_controller_unset_all):
8613         * libs/gst/controller/gstcontrollerprivate.h:
8614         * libs/gst/controller/gstinterpolation.c:
8615         Factor out the 'set' logic into gst_controller_set_unlocked for the
8616         gst_controller_set and gst_controller_set_from_list functions.
8617
8618         To make life of the interpolators easier always add a control point
8619         at timestamp zero with the default value.
8620
8621         In the linear interpolator make things more obvious by better variable
8622         naming (slope).
8623
8624         Implement cubic interpolation mode (by using a natural cubic spline)
8625         and map the quadratic interpolation mode to this too (as quadratic
8626         doesn't make much sense, see discussion on the list).
8627
8628         * tests/check/libs/controller.c: (GST_START_TEST),
8629         (gst_controller_suite):
8630         Add unit test for the cubic interpolation mode and check everywhere
8631         if the interpolation mode could be set as expected.
8632
8633 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8634
8635         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8636           Don't use GLib-2.10 functions, we still depend on
8637           GLib-how-old-is-it-again-2.8.
8638
8639 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8640
8641         * docs/gst/gstreamer-sections.txt:
8642         * gst/Makefile.am:
8643         * gst/gst.c:
8644         * gst/gst.h:
8645         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8646         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8647         (_gst_param_fraction_values_cmp),
8648         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8649         * gst/gstparamspecs.h:
8650         * gst/gstvalue.c:
8651         * tests/check/Makefile.am:
8652         * tests/check/gst/.cvsignore:
8653         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8654         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8655         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8656         (GST_START_TEST), (gst_param_spec_suite):
8657           API: add GstParamSpecFraction, so elements can have fraction
8658           properties without lots of painful string parsing (#444648).
8659
8660 2007-06-05  Wim Taymans  <wim@fluendo.com>
8661
8662         * gst/gstobject.c: (gst_object_class_init):
8663         Fix signal signature.
8664
8665         * gst/gstsegment.c:
8666         Add small clarification in the api docs.
8667
8668         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8669         States are protected with object lock.
8670
8671 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8672
8673         * AUTHORS:
8674         I should probably be listed as an author by now.
8675
8676         * docs/random/release:
8677         Update the release doc
8678
8679 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8680
8681         * gst/gstvalue.c:
8682           Make docs for gst_value_compare() mention return enums that
8683           actually exist.
8684
8685 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8686
8687         * configure.ac:
8688           Back to CVS
8689
8690 === release 0.10.13 ===
8691
8692 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8693
8694         * configure.ac:
8695           releasing 0.10.13, "With or without you"
8696
8697 2007-05-25  Wim Taymans  <wim@fluendo.com>
8698
8699         * gst/gstbin.c: (bin_handle_async_done):
8700         Make sure that the child bin stops after completing the async state
8701         change so that the parent can continue the state change to PLAYING.
8702         Fixes #441159.
8703
8704 2007-05-25  Wim Taymans  <wim@fluendo.com>
8705
8706         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8707         (unref_data), (gst_collect_pads_remove_pad),
8708         (gst_collect_pads_check_pads):
8709         Use additional refcounting to avoid crashes when dynamically adding and
8710         removing pads. Fixes #420206.
8711
8712 2007-05-24  Wim Taymans  <wim@fluendo.com>
8713
8714         * tools/gst-launch.c: (event_loop):
8715         When buffering goes from a two digit to a single digit number, make sure
8716         to remove the old second digit by writing a blank over it.
8717
8718 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8719
8720         * libs/gst/base/gstdataqueue.c:
8721           Eliminate tabs and trailing comma in enum list; fix some typos.
8722
8723 2007-05-24  Wim Taymans  <wim@fluendo.com>
8724
8725         * tests/check/gst/gstbin.c: (GST_START_TEST):
8726         Allow refcount of 3 and 4 because some state thread might still be busy
8727         with it.
8728
8729 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8730
8731         * plugins/elements/Makefile.am:
8732         * plugins/elements/gstmultiqueue.h:
8733         * plugins/elements/gstqueue.h:
8734           These are not installed headers, no need for padding.
8735
8736 2007-05-24  Wim Taymans  <wim@fluendo.com>
8737
8738         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8739         (gst_bin_continue_func):
8740         Enable latency for next release.
8741         Restore STATE_LOCK around recalc_state that was left out during the
8742         rewrite and could result in racy behaviour when _get_state and
8743         recalc_state are run concurrently. See #440463.
8744
8745 2007-05-23  Wim Taymans  <wim@fluendo.com>
8746
8747         * tests/check/gst/gstsystemclock.c: (store_callback),
8748         (GST_START_TEST):
8749         Improve test_async_order to also work when both timers are already
8750         expired when we get scheduled to check it.
8751
8752 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8753
8754         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8755         (gst_bin_set_property), (gst_bin_get_property),
8756         (gst_bin_remove_func), (gst_bin_handle_message_func):
8757         * gst/gstbin.h:
8758           'private' is a c++ keyword, let's not use that in header files,
8759           otherwise c++ compilers will throw a tantrum.
8760
8761 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8762
8763         * plugins/elements/gstelements.c:
8764         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8765         (gst_file_sink_get_current_offset):
8766         * plugins/indexers/gstindexers.c: (plugin_init):
8767           Use #ifdef for HAVE_XYZ for consistency.
8768
8769         * tests/check/Makefile.am:
8770         * tests/check/elements/.cvsignore:
8771         * tests/check/elements/filesink.c: (setup_filesink),
8772         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8773           Add some unit tests for filesink.
8774
8775 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8776
8777         Patch by: Mark Nauwelaerts <manauw at skynet be>
8778
8779         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8780         (gst_file_sink_query), (gst_file_sink_do_seek),
8781         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8782         * plugins/elements/gstfilesink.h:
8783           Fix position reporting; rename data_written member to current_pos to
8784           reflect its real meaning (fixes #412648).
8785
8786 2007-05-22  Edward Hervey  <edward@fluendo.com>
8787
8788         * docs/gst/gstreamer-sections.txt:
8789         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8790         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8791         (gst_bin_remove_func), (gst_bin_handle_message_func):
8792         * gst/gstbin.h:
8793         Add a property for bins that handle the state change of their childs.
8794         Fixes #435880
8795
8796 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8797
8798         * libs/gst/controller/gstinterpolation.c:
8799         Use an array of the correct type when using _get_value_array with
8800         linear interpolation.
8801
8802 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8803
8804         * gst/gstelement.c (gst_element_requires_clock,
8805           gst_element_provides_clock, gst_element_request_pad,
8806           gst_element_class_set_details, gst_element_class_set_details_simple,
8807           gst_element_default_send_event, gst_element_abort_state,
8808           gst_element_continue_state, gst_element_set_state,
8809           gst_element_set_state_func, iterator_activate_fold_with_resync):
8810         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8811           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8812           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8813           gst_pad_get_range, gst_pad_pull_range):
8814         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8815           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8816           GstPadActivateModeFunction, GstPadChainFunction,
8817           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8818           GstPadFixateCapsFunction, GstPadTemplate):
8819         * gst/gstpipeline.c (gst_pipeline_change_state,
8820           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8821           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8822           gst_pipeline_get_delay):
8823           Whitespace and docs fixes.
8824
8825 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8826
8827         * libs/gst/controller/gstinterpolation.c:
8828         (interpolate_trigger_get_enum_value_array),
8829         (interpolate_trigger_get_string_value_array):
8830         Add support for retrieving value arrays when using the trigger
8831         interpolation mode. 
8832
8833 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8834
8835         * libs/gst/controller/gstcontroller.c:
8836         (gst_controller_get_value_array):
8837         * libs/gst/controller/gstcontroller.h:
8838         Clarify the docs of gst_controller_get_value_array(): The array where
8839         the values should be written to must be allocated as there seems to be
8840         no way to get the size of a random GType. This doesn't change any
8841         behaviour. Also fix some typos all over the place and remove an unused,
8842         commented function that is not necessary as g_object_set() could be
8843         used instead.
8844         * tests/check/libs/controller.c: (GST_START_TEST),
8845         (gst_controller_suite):
8846         Add unit test for gst_controller_get_value_array().
8847
8848 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8849
8850         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8851
8852         Disable part of the gst_buffer_try_new_and_alloc test, because
8853         it can happily succeed on 64-bit systems where there's more address
8854         space available.
8855
8856 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8857
8858         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8859         Add unit test for the improved caps checking from bug #421543.
8860
8861 2007-05-21  Wim Taymans  <wim@fluendo.com>
8862
8863         * docs/design/part-synchronisation.txt:
8864         Small addition.
8865
8866         * gst/gstbin.c: (gst_bin_query):
8867         * plugins/elements/gstqueue.c: (apply_segment):
8868         Improve debugging.
8869
8870         * gst/gstmessage.h:
8871         Improve docs.
8872
8873 2007-05-21  Wim Taymans  <wim@fluendo.com>
8874
8875         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8876         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8877         (gst_pad_configure_src):
8878         Added simple version of improved caps checking. It was previously
8879         assumed that a setcaps function would check the validity of the caps but
8880         people prefer us to check caps against the template automatically. 
8881         Fixes #421543.
8882
8883 2007-05-21  Wim Taymans  <wim@fluendo.com>
8884
8885         * libs/gst/base/gstbasetransform.h:
8886         Fix macro for locking/unlocking the transform lock.
8887
8888 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8889
8890         * docs/plugins/tmpl/.cvsignore:
8891           Ignore more.
8892
8893 2007-05-18  Edward Hervey  <edward@fluendo.com>
8894
8895         * plugins/elements/gstqueue.c: (gst_queue_loop):
8896         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8897         for the subtle art of warning a potentially blocking thread that it
8898         should check the source pad return value, and relay the information
8899         upstream.
8900
8901 2007-05-18  Edward Hervey  <edward@fluendo.com>
8902
8903         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8904         Release the queue lock !
8905
8906 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8907
8908         * docs/libs/gstreamer-libs-sections.txt:
8909         Add the two new controller functions to the appropiate places.
8910
8911 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8912
8913         reviewed by: Stefan Kost <ensonic@users.sf.net>
8914
8915         * libs/gst/controller/gstcontroller.c:
8916         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8917         (_gst_controller_get_property), (_gst_controller_set_property),
8918         (_gst_controller_init), (_gst_controller_class_init):
8919         * libs/gst/controller/gstcontroller.h:
8920         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8921         (gst_object_get_control_rate), (gst_object_set_control_rate):
8922         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8923         Add API that provides sync suggestion timestamps for elements that
8924         call gst_object_sync_values() from which those elements can subdivide
8925         their processing loop to get the best results for the controlled
8926         properties. For now it just suggests last_sync + control_rate as
8927         new timestamp but this will be improved in the future.
8928
8929         While doing that change the control-rate property to a GstClockTime
8930         from guint and change it's meaning from samples to nanoseconds as
8931         the GstController doesn't know anything about sampling rate. Strictly
8932         speaking this breaks ABI but as the control-rate property didn't do
8933         anything in the past and as such couldn't be used this should be no
8934         problem.        
8935
8936 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8937
8938         reviewed by: Stefan Kost <ensonic@users.sf.net>
8939
8940         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8941         (gst_controller_unset_all):
8942         * libs/gst/controller/gstcontrollerprivate.h:
8943         * libs/gst/controller/gstinterpolation.c:
8944         (gst_controlled_property_find_control_point_node):
8945         Save last synced value from the list to continue searching from there
8946         in future syncs. This speeds everything up a bit.
8947         
8948 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8949
8950         reviewed by: Stefan Kost <ensonic@users.sf.net>
8951
8952         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8953         (gst_control_point_find), (gst_controlled_property_new),
8954         (gst_control_point_free), (gst_controlled_property_free),
8955         (gst_controller_set), (gst_controller_set_from_list),
8956         (gst_controller_unset), (gst_controller_unset_all),
8957         (gst_controller_sync_values):
8958         * libs/gst/controller/gstcontroller.h:
8959         * libs/gst/controller/gstcontrollerprivate.h:
8960         * libs/gst/controller/gstinterpolation.c:
8961         (gst_controlled_property_find_control_point_node),
8962         (interpolate_none_get), (interpolate_trigger_get):
8963         Add a new private GstControlPoint struct which "inherits" from
8964         GstTimedValue to allow different interpolators to store internal
8965         values next to each control point. From the outside everything is
8966         still a GstControlPoint so we don't loose binary compatibility.
8967         Also fixup all the GValue handling to not leak GValues or list nodes.
8968         * tests/check/libs/controller.c: (GST_START_TEST):
8969         Free the list nodes and GValues in the controller_misc test.
8970
8971 2007-05-17  Edward Hervey  <edward@fluendo.com>
8972
8973         * gst/gstsegment.c:
8974         Small doc fix.
8975
8976 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8977
8978         * gst/gstplugin.c: (gst_plugin_load_file):
8979           If we fail to load a plugin because of unresolved symbols or missing
8980           libraries and spew a warning to stderr, we may just as well mention
8981           which plugin it was that failed to load.
8982
8983 2007-05-13  David Schleef  <ds@schleef.org>
8984
8985         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8986           handles the case when ENABLE_GTK_DOC is false, and installs
8987           the prebuilt documentation.  So gtk-doc subdirs are 
8988           unconditionally enabled.  Fixes: #349099.
8989
8990 2007-05-13  David Schleef  <ds@schleef.org>
8991
8992         * gst/gstutils.h: Reword some documentation.
8993
8994 2007-05-12  David Schleef  <ds@schleef.org>
8995
8996         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8997           do anything with the passed "module" parameter, so remove it.
8998           Allows removal of additional vestigal code.
8999
9000 2007-05-12  David Schleef  <ds@schleef.org>
9001
9002         * gst/gstplugin.c:
9003           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
9004           Switch to using g_stat() because it's more portable.
9005
9006 2007-05-12  David Schleef  <ds@schleef.org>
9007
9008         * gst/gst.c:
9009           Add GST_DISABLE_OPTION_PARSING, in order to disable option
9010           parsing for embedded systems.
9011         * gst/gstelementfactory.c:
9012           Allow gst_element_register() to be called with plugin==NULL.
9013           Did nobody notice that static elements were broken?
9014
9015 2007-05-12  Wim Taymans  <wim@fluendo.com>
9016
9017         * tools/gst-launch.c: (event_loop):
9018         Give more interesting info when buffering starts and stops.
9019         Fix case where buffering starts but we fail to update the buffering flag
9020         because the target state is not PLAYING.
9021
9022 2007-05-12  Wim Taymans  <wim@fluendo.com>
9023
9024         * plugins/elements/gstqueue.c: (gst_queue_init),
9025         (gst_queue_finalize), (update_time_level), (apply_segment),
9026         (apply_buffer), (gst_queue_locked_flush),
9027         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
9028         (gst_queue_handle_sink_event), (gst_queue_chain),
9029         (gst_queue_push_one), (gst_queue_loop):
9030         * plugins/elements/gstqueue.h:
9031         Refactor an cleanup queue a bit.
9032         Do better time level calculations that also work when the srcpad is not
9033         yet running.
9034         Remove some unneeded debug lines.
9035
9036         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
9037         Added testcase for time level measurement.
9038         Try to make some stuff more racefree.
9039
9040 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
9041
9042         * gst/gsturi.c: (gst_element_make_from_uri):
9043           Don't leak plugin feature.
9044
9045         * tests/check/Makefile.am:
9046         * tests/check/gst/.cvsignore:
9047         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
9048           Add brain-dead unit test.
9049
9050 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
9051
9052         Patch by: Jeroen Wouters <woutersj at gmail com>
9053
9054         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
9055           Treat protocol strings in a case-insensitive way (#437563).
9056
9057 2007-05-11  Michael Smith <msmith@fluendo.com>
9058
9059         * gst/gstplugin.c: (gst_plugin_load_file):
9060         * gst/gstregistry.c: (gst_registry_scan_path_level):
9061           Don't print a g_warning for any failure to load a shared object.
9062           Instead, push this down into gstplugin.c, and warn _only_ if we
9063           failed to open the module (i.e. failure to link).
9064           Avoids warnings on normal, working, non-plugin .so files.
9065
9066 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
9067
9068         * gst/gstplugin.c (gst_plugin_load_file):
9069         * gst/gstregistry.c (GST_CAT_DEFAULT,
9070           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
9071           Print a g_warning if there was an error when loading a plugins during
9072           registry scan. The shuld help beginners starting with gst-plugin
9073           template.
9074
9075 2007-05-10  Wim Taymans  <wim@fluendo.com>
9076
9077         * plugins/elements/gstqueue.c: (gst_queue_class_init),
9078         (update_time_level), (gst_queue_locked_flush),
9079         (gst_queue_handle_sink_event), (gst_queue_chain),
9080         (gst_queue_push_one), (gst_queue_loop):
9081         * plugins/elements/gstqueue.h:
9082         Be smarter when calculating the current amount of data in the queue by
9083         measuring the difference between start and end timestamps (in running
9084         time) inside the queue. Fixes #432876.
9085         API: GstQueue::pushing to notify elements that we are pushing data again
9086         since the running signal is rather broken for this purpose.
9087
9088 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
9089
9090         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
9091           gst_queue_base_init, gst_queue_init):
9092           use GST_BOILERPLATE
9093
9094 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
9095
9096         * win32/common/libgstreamer.def:
9097         Add new exported functions.
9098         * win32/vs6/grammar.dsp:
9099         Use grammar pre-generated files.
9100
9101 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9102
9103         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
9104
9105         * gst/Makefile.am:
9106         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
9107         * gst/gstparse.h:
9108         * gst/gstutils.c: (gst_parse_bin_from_description):
9109         * gst/gstutils.h:
9110           Maintain API and ABI when --disable-parse is used. Now that
9111           we have an appropriate error code, we can just return NULL and the
9112           appropriate error when gst_parse_launch() is used despite it having
9113           been disabled (#342564).
9114
9115         * tests/check/Makefile.am:
9116         * tests/check/pipelines/.cvsignore:
9117         * tests/check/pipelines/parse-disabled.c:
9118           Make sure these functions exist and return NULL plus a GError when
9119           --disable-parse is used.
9120
9121 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9122
9123         * tests/benchmarks/complexity.c: (main):
9124         * tests/benchmarks/mass-elements.c: (main):
9125           Set a good example and don't leak messages.
9126
9127 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
9128
9129         * docs/gst/Makefile.am:
9130         * docs/libs/Makefile.am:
9131           Correct fixxrefs options.
9132
9133         * docs/plugins/Makefile.am:
9134         * docs/plugins/gstreamer-plugins-docs.sgml:
9135         * docs/plugins/gstreamer-plugins-sections.txt:
9136         * plugins/elements/Makefile.am:
9137         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9138         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9139           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9140           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9141           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9142           _GstCapsFilterClass, trans_class):
9143         * plugins/elements/gstelements.c (name, rank, type, _elements):
9144         * plugins/elements/gstidentity.c
9145           (gst_identity_check_imperfect_timestamp,
9146           gst_identity_check_imperfect_offset):
9147           Document capsfilter and add doc-blurb to identity.
9148
9149 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9150
9151         * libs/gst/controller/gstcontroller.c:
9152         (gst_controlled_property_set_interpolation_mode):
9153         * libs/gst/controller/gstinterpolation.c:
9154           Don't crash if someone tries to set an interpolation mode that
9155           is invalid or that isn't supported yet. Fixes #422295.
9156
9157         * tests/check/libs/controller.c: (GST_START_TEST),
9158         (gst_controller_suite):
9159           Add a test case for the above.
9160
9161 2007-05-03  Edward Hervey  <edward@fluendo.com>
9162
9163         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9164         Properly set the last_stop position on GstSegment. This will only happen
9165         if there is a buffer to push out.
9166
9167 2007-05-03  Wim Taymans  <wim@fluendo.com>
9168
9169         * libs/gst/base/gstbasetransform.c:
9170         (gst_base_transform_buffer_alloc):
9171         always_in_place does not mean that the sink and source caps are the
9172         same! Make sure we don't blindly proxy the buffer_alloc in this case.
9173
9174 2007-05-03  Wim Taymans  <wim@fluendo.com>
9175
9176         * docs/libs/gstreamer-libs-sections.txt:
9177         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9178         (gst_base_src_default_query), (gst_base_src_get_range):
9179         * libs/gst/base/gstbasesrc.h:
9180         API: gst_base_src_query_latency(). Added method so that subclasses can
9181         easily get the latency values of the base source class.
9182
9183 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
9184
9185         * tools/gst-inspect.c (print_implementation_info):
9186         Remove 0.8 cruft.
9187
9188 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
9189
9190         * tools/Makefile.am:
9191         * tools/gst-launch.1.in:
9192           Don't create a customised man page based on the host architecture,
9193           describe the default registry path generically. That way the man
9194           page is the same for all architectures and packagers have one
9195           multilib issue less to deal with. Fixes #434926.
9196
9197 2007-05-02  Wim Taymans  <wim@fluendo.com>
9198
9199         * gst/gstpad.c:
9200         Fix documentation as spotted by rg on IRC. 
9201
9202 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
9203
9204         * gst/gstutils.c:
9205           Improve docs for gst_element_{link,unlink}.
9206
9207 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
9208
9209         * docs/design/part-events.txt:
9210         * docs/design/part-overview.txt:
9211         * gst/gstevent.c:
9212         * gst/gsturi.c:
9213         * gst/gsturi.h:
9214         * libs/gst/base/gstbasesink.c:
9215           Typo fixes; minor docs addition.
9216
9217 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9218
9219         * docs/gst/gstreamer-sections.txt:
9220         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9221         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9222         * gst/gsturi.h:
9223         API: Add gst_uri_protocol_is_supported(), which checks if a sink
9224         or src that supports a given URI protocol exists.
9225
9226 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9227
9228         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9229         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9230         Set the location to NULL if "file://" is set as URI. Otherwise
9231         some random previous URI would still be set if "file://" is
9232         set on an already used filesink/filesrc.
9233
9234 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9235
9236         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9237         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9238         Special case the "file://" URI as as this is used by some
9239         applications to test with gst_element_make_from_uri if there's
9240         an element that supports the URI protocol.
9241         Also move the g_path_is_absolute() check for the location part
9242         of the URI to also check this for "file://localhost/bla" URIs.
9243
9244 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
9245
9246         * docs/gst/gstreamer-sections.txt:
9247         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9248         * gst/gstbuffer.h:
9249         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9250         (gst_buffer_suite):
9251           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9252
9253 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
9254
9255         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9256         (gst_registry_binary_load_pad_template),
9257         (gst_registry_binary_load_plugin),
9258         (gst_registry_binary_read_cache):
9259         * gst/gstregistrybinary.h:
9260           Implement no-mmap alternative for registry reading. Do code cleanups.
9261           Add more comments about avoiding strdups for all text data. Comments
9262           welcome.
9263
9264 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9265
9266         * gst/gstregistrybinary.h (GstBinaryPluginElement,
9267           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9268           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9269           Comment structs and reformat to fix the build (that stuff should go
9270           into a priv. header).
9271
9272 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9273
9274         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9275         (gst_registry_binary_load_feature):
9276         * gst/gstregistrybinary.h:
9277           Refactor so that we can implement multiple features. Add support for
9278           TypeFindFactory features.
9279
9280 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
9281
9282         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9283
9284         * configure.ac:
9285           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9286
9287 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
9288
9289         * gst/gstbin.c: (gst_bin_element_set_state),
9290         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9291         (bin_handle_async_done), (gst_bin_handle_message_func):
9292           Fix build with --gst-disable-gst-debug
9293
9294 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
9295
9296         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9297           Make sure streaming has finished before calling the ::stop() vfunc,
9298           since that vfunc might clear state which is being used in the
9299           streaming thread. This fixes a race that caused crashes in
9300           audioresample when shutting down a pipeline (#420106).
9301
9302 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9303
9304         * docs/gst/gstreamer-sections.txt:
9305           That was one byte missing.
9306
9307 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9308
9309         * configure.ac:
9310         * docs/gst/gstreamer-sections.txt:
9311         * gst/Makefile.am:
9312         * gst/gstconfig.h.in:
9313         * gst/gstobject.c: (gst_object_class_init),
9314         (gst_signal_object_class_init):
9315         * gst/gstobject.h:
9316           2nd attempt to have a xml-less build as a joined effort of #413123
9317           and #421480.
9318
9319 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9320
9321         * docs/design/draft-tagreading.txt:
9322           Added open issues/thoughts to draft.
9323
9324 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9325
9326         * gst/parse/grammar.tab.pre.c:
9327         * gst/parse/grammar.tab.pre.h:
9328         * gst/parse/lex._gst_parse_yy.pre.c:
9329         Update the prebuild parser sources.
9330
9331 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9332
9333         * gst/parse/Makefile.am:
9334         And now fix the building of the flex sources. Now everything should
9335         work as expected.
9336
9337 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9338
9339         * gst/parse/Makefile.am:
9340         Now hopefully fix the build failures by setting proper rule
9341         dependencies and moving instead of copying.
9342
9343 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9344
9345         * tests/benchmarks/complexity.gnuplot:
9346         * tests/benchmarks/complexity.scm:
9347         * tests/benchmarks/mass-elements.gnuplot:
9348         * tests/benchmarks/mass-elements.scm:
9349           Total licensification.
9350
9351 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9352
9353         * gst/parse/Makefile.am:
9354           Fix the build by correcting the rule that gave wrong files to flex.
9355
9356 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9357
9358         * tests/benchmarks/complexity.c:
9359         * tests/benchmarks/mass-elements.c:
9360           Change licence to LGPL as granted by Benjamin and Andy.
9361
9362 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9363
9364         * gst/parse/Makefile.am:
9365         Add correct grammar.tab.h dependency if compiling without new enough
9366         flex. Fixes #431150.
9367
9368 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9369
9370         * gst/parse/Makefile.am:
9371         Fix typo and use outdated sources if the flex/bison sources are newer
9372         than the pregenerated ones but flex is too old. Print a warning in
9373         that case. This should fix the build on the build bot.
9374
9375 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9376
9377         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9378         * gst/parse/Makefile.am:
9379         * gst/parse/grammar.y:
9380         * gst/parse/parse.l:
9381         Make the parser reentrant and recursively callable. This requires flex
9382         >= 2.5.31, for older versions pregenerated sources are used as we
9383         can't bump the build dependency. Finally fixes #349180.
9384
9385         * gst/gstparse.c: (gst_parse_launch):
9386         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9387         now anyway.
9388
9389         * docs/gst/Makefile.am:
9390         * docs/gst/Makefile.am:
9391         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9392         (__gst_parse_strfree), (__gst_parse_link_new),
9393         (__gst_parse_link_free), (__gst_parse_chain_new),
9394         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9395         (gst_parse_element_set), (gst_parse_free_link),
9396         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9397         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9398         (_gst_parse_launch):
9399         * gst/parse/grammar.tab.pre.h:
9400         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9401         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9402         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9403         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9404         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9405         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9406         (_gst_parse_yypop_buffer_state),
9407         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9408         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9409         (yy_fatal_error), (_gst_parse_yyget_extra),
9410         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9411         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9412         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9413         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9414         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9415         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9416         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9417         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9418         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9419         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9420         (_gst_parse_yyfree):
9421         If the installed flex version is too old use pre-generated parser
9422         sources. These pre-generated parser sources are always updated when
9423         the actual flex/bison sources change but require everybody who wants
9424         to change something in the parser to have flex >= 2.5.31 installed.
9425
9426 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9427
9428         * common/m4/gst-gettext.m4:
9429         * gst/gst-i18n-lib.h:
9430           Make --disable-nls to work
9431
9432 2007-04-17  Wim Taymans  <wim@fluendo.com>
9433
9434         * gst/gstconfig.h.in:
9435         Revert previous change that broke the build.
9436
9437 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9438
9439         * configure.ac:
9440         * gst/Makefile.am:
9441         * gst/gstconfig.h.in:
9442           Drop libxml2 dependency when building with 
9443           --enable-binary-registry --disable-loadsave
9444
9445 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9446
9447         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9448         (gst_registry_binary_read_cache):
9449         * gst/gstregistrybinary.h:
9450           Remove unnecessary <sys/mman.h> include which broke the win32 build
9451           with MingW; move includes from header file to .c file, even if the
9452           header file isn't installed; use g_strerror() where UTF-8 strings
9453           are expected, such as in GST_DEBUG messages.
9454
9455 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9456
9457         * docs/libs/gstreamer-libs-sections.txt:
9458         Remove bogus addition for API I didn't end up keeping.
9459
9460         * libs/gst/base/gstbasesrc.h:
9461         Mention Since: 0.10.13 in the documentation.
9462
9463         Add the API keyword to the previous ChangeLog entry.
9464
9465 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9466
9467         * docs/libs/gstreamer-libs-sections.txt:
9468         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9469         (gst_base_src_default_prepare_seek_segment),
9470         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9471         * libs/gst/base/gstbasesrc.h:
9472         Allow basesrc derived classes to execute seeks in other formats
9473         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9474         to prepare the GstSegment in any format that their perform_seek method
9475         will be able to understand. The default implementation provides the
9476         old behaviour of attempting to convert the seek offsets to the 
9477         configured native format.
9478
9479         API: basesrc::prepare_seek_segment vmethod.
9480
9481 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9482
9483         * gst/gstelement.c: (gst_element_get_state_func):
9484         Don't output the same debug statement twice.
9485
9486         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9487         (gst_adapter_peek), (gst_adapter_take_buffer):
9488         Optimise the case where we have buffers at the head of the queue that
9489         can be joined quickly (because they're contiguous sub-buffers) by
9490         merging them together rather than copying data out into new memory.
9491
9492         * gst/parse/grammar.y:
9493         * tests/check/pipelines/parse-launch.c:
9494         Fix a leak in an error path for parse_launch, and add a check 
9495         for it to the testsuite.
9496
9497 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9498
9499         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9500           Don't deadlock when releasing a pad - gst_pad_set_active may try
9501           and take the multiqueue lock too.
9502
9503 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9504
9505         * gst/gsterror.c: (_gst_core_errors_init):
9506         * gst/gsterror.h:
9507           API: add GST_CORE_ERROR_DISABLED (#392804).
9508
9509 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9510
9511         * docs/faq/gst-uninstalled:
9512           don't get empty paths on the PATH variables
9513         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9514           Don't format for the uncommon terminal width of 84 characters.
9515
9516 2007-04-06  Wim Taymans  <wim@fluendo.com>
9517
9518         * gst/gstpipeline.c: (reset_stream_time),
9519         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9520         Only try to select a different pipeline clock when we went back to
9521         PAUSED and not when we merely got flushed.
9522
9523 2007-04-05  Michael Smith  <msmith@fluendo.com>
9524
9525         * tools/gst-launch.1.in:
9526           fractions are better supported in gstreamer than ractions, so
9527           suggest using those.
9528
9529 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9530
9531         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9532
9533         * po/LINGUAS:
9534         * po/da.po:
9535           Added Danish translation.
9536
9537 2007-04-05  Wim Taymans  <wim@fluendo.com>
9538
9539         * libs/gst/base/gstbasesink.c:
9540         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9541         Fix leak caused when refusing newsegment after EOS.
9542
9543         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9544         (gst_fake_sink_init), (gst_fake_sink_set_property),
9545         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9546         (gst_fake_sink_render), (gst_fake_sink_change_state):
9547         * plugins/elements/gstfakesink.h:
9548         Add num-buffers property to make the element generate EOS after a
9549         configurable amount of buffers.
9550         API: fakesink::num-buffers property.
9551
9552         * tests/check/elements/fakesink.c: (GST_START_TEST),
9553         (fakesink_suite):
9554         Fix GstBus leak in test.
9555         Test for fakesink num-buffers.
9556
9557 2007-04-05  Wim Taymans  <wim@fluendo.com>
9558
9559         * libs/gst/base/gstbasesink.c:
9560         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9561         (gst_base_sink_change_state):
9562         Don't accept anything after an EOS, return UNEXPECTED instead.
9563
9564         * tests/check/elements/fakesink.c: (GST_START_TEST),
9565         (fakesink_suite):
9566         Unit test for new EOS behaviour.
9567
9568 2007-04-05  Wim Taymans  <wim@fluendo.com>
9569
9570         * gst/gstelement.c: (gst_element_get_request_pad):
9571         Make padtemplates also work when they don't contain %s or %d.
9572
9573 2007-04-05  Wim Taymans  <wim@fluendo.com>
9574
9575         * docs/gst/gstreamer-sections.txt:
9576         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9577         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9578         * gst/gstclock.h:
9579         Improve _adjust_unlocked() so that it overflows less.
9580         Add gst_clock_unadjust_unlocked to convert from external time to
9581         internal time based on calibration.
9582         Add some more debug.
9583         API: GstClock::gst_clock_unadjust_unlocked()
9584
9585 2007-04-03  Wim Taymans  <wim@fluendo.com>
9586
9587         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9588
9589         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9590         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9591         when releasing sink pad. Fixes #425400.
9592
9593 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9594
9595         * docs/random/ensonic/dynlink.txt:
9596           More work on proposal for new core api.
9597
9598         * docs/libs/gstreamer-libs-sections.txt:
9599         * libs/gst/base/gstbasetransform.h:
9600           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9601           
9602         * libs/gst/controller/gstcontroller.c:
9603         (on_object_controlled_property_changed),
9604         (gst_controller_sync_values),
9605         (gst_controller_set_interpolation_mode):
9606         * libs/gst/controller/gstcontroller.h:
9607           Less verbose logging add docs for unimplemented parts and correctly
9608           return when using unavailable parts.
9609
9610 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9611
9612         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9613         Move all the debug to the CLOCK category, and associate it with
9614         the clock object.
9615
9616 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9617
9618         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9619         Make take_buffer a bit quicker by removing redundant checks
9620         caused by calling gst_adapter_take.
9621
9622 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9623
9624         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9625           Don't leak GCond.
9626
9627         * tests/check/Makefile.am:
9628         * tests/check/elements/.cvsignore:
9629         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9630         (GST_START_TEST), (multiqueue_suite):
9631           Add some dead simple unit tests for the 'multiqueue' element
9632           (some bits don't work yet and are disabled for now).
9633
9634 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9635
9636         * gst/gstelement.c: (gst_element_get_request_pad),
9637         (gst_element_class_get_request_pad_template):
9638           Make gst_element_get_request_pad() create request pads only for
9639           request pad templates and not for, say, sometimes pad templates.
9640
9641 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9642
9643         * docs/design/draft-klass.txt:
9644           Add example that needs more thinking.
9645         
9646         * docs/design/draft-missing-plugins.txt:
9647           More thoughts about wrapper plugins.
9648         
9649         * docs/random/ensonic/embedded.txt:
9650         * docs/random/ensonic/profiling.txt:
9651           More design work.
9652
9653 2007-03-25  Wim Taymans  <wim@fluendo.com>
9654
9655         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9656         (gst_base_src_loop):
9657         Only push the segment events in the PLAYING state for live sources.
9658
9659 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9660
9661         * gst/gstpipeline.c: (gst_pipeline_change_state):
9662         Modify the clock distribution path in PAUSED->PLAYING so that we 
9663         never attempt to choose a new clock unless we're actually leaving
9664         the PAUSED state for the first time. This prevents choosing a
9665         different clock when the state_change gets called for a 2nd time due
9666         to some element doing an async state change.
9667
9668 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9669
9670         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9671         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9672         (gst_pad_chain_unchecked), (gst_pad_push):
9673         Revert last commit. This needs some more thoughts.
9674
9675 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9676
9677         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9678         (gst_pad_chain_unchecked), (gst_pad_push):
9679         Check in set_caps if the caps are compatible with the pad and remove
9680         two functions that are redundant now. Fixes #421543.
9681
9682 2007-03-22  Wim Taymans  <wim@fluendo.com>
9683
9684         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9685         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9686         Unref some more to make valgrind happy.
9687
9688 2007-03-22  Wim Taymans  <wim@fluendo.com>
9689
9690         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9691         (gst_system_clock_id_wait_jitter),
9692         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9693         Fix anoying regression that survived a few releases. When adding an
9694         async entry while blocking on a sync entry, the sync entry will unblock
9695         but still be busy, so it should continue to wait instead of returning
9696         _BUSY to the app.
9697         Add some comments here and there.
9698
9699         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9700         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9701         Add testcase for this.
9702
9703 2007-03-22  Wim Taymans  <wim@fluendo.com>
9704
9705         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9706         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9707         WRONG_STATE and can silently pause the task. All other cases should
9708         error out.
9709
9710 2007-03-22  Wim Taymans  <wim@fluendo.com>
9711
9712         Patch by: Ville Syrjala <syrjala at sci dot fi>
9713
9714         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9715         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9716         Improve debugging.
9717
9718 2007-03-21  Michael Smith  <msmith@fluendo.com>
9719
9720         * docs/pwg/advanced-types.xml:
9721           Fix some errors in the typefinding docs pointed out on irc.
9722
9723 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9724
9725         * libs/gst/base/gstbasesrc.c:
9726         Clarify FIXME comment in the face of having added unlock_stop()
9727
9728 2007-03-21  Wim Taymans  <wim@fluendo.com>
9729
9730         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9731         Prepare for release where we warn against possible app breakage in the
9732         case of live pipelines along with an env var to enable/disable live
9733         preroll mode (GST_COMPAT=[no-]live-preroll).
9734
9735 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9736
9737         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9738         So we should use correct constants for checking for None offset.
9739
9740 2007-03-20  Wim Taymans  <wim@fluendo.com>
9741
9742         * docs/design/part-block.txt:
9743         Mention the fact that the newly switched element should be set to at
9744         least PAUSED.
9745
9746 2007-03-20  Wim Taymans  <wim@fluendo.com>
9747
9748         * gst/gst.c:
9749         Fix compilation with registry disabled as spotted by Saur.
9750
9751 2007-03-20  Wim Taymans  <wim@fluendo.com>
9752
9753         Patch by: Olivier Crete <tester at tester dot ca>
9754
9755         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9756         Look at the pending state too when syncing the element state to the
9757         parent. Fixes #420133.
9758
9759 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9760
9761         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9762         (gst_base_sink_change_state):
9763         * libs/gst/base/gstbasesink.h:
9764         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9765         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9766         (gst_base_src_deactivate):
9767         * libs/gst/base/gstbasesrc.h:
9768         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9769         for sub-classes to correctly clear any state they set trying to
9770         unlock, such as clearing out unlock commands from a command fd.
9771         API: basesrc::unlock_stop
9772         API: basesink::unlock_stop
9773
9774         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9775         (gst_fd_sink_render), (gst_fd_sink_unlock),
9776         (gst_fd_sink_unlock_stop):
9777         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9778         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9779         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9780
9781         Implement unlock_stop in fdsrc and fdsink.
9782         Implement seeking in fdsrc when a seekable fd is passed, as in
9783         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9784
9785 2007-03-19  Wim Taymans  <wim@fluendo.com>
9786
9787         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9788
9789         * gst/gstelement.c: (gst_element_class_init):
9790         Fix pad-added and pad-removed signal signatures so that the pad type is
9791         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9792
9793 2007-03-19  Wim Taymans  <wim@fluendo.com>
9794
9795         * docs/gst/gstreamer-sections.txt:
9796         Add new element field and method.
9797
9798         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9799         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9800         (gst_bin_recalc_state), (gst_bin_get_state_func),
9801         (gst_bin_element_set_state), (gst_bin_change_state_func),
9802         (gst_bin_continue_func), (bin_bus_handler),
9803         (bin_push_state_continue), (bin_handle_async_start),
9804         (bin_handle_async_done), (gst_bin_handle_message_func):
9805         Make async state changes a bit smarter by using new ASYNC_START and
9806         ASYNC_DONE messages. This reduces the number of times we run the state
9807         recalculation thread.
9808         Don't change state of element with a pending ASYNC_START message.
9809         Deprecate STATE_DIRTY messages.
9810         
9811         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9812         (gst_element_get_state_func), (gst_element_continue_state),
9813         (gst_element_lost_state), (gst_element_set_state_func),
9814         (gst_element_change_state):
9815         * gst/gstelement.h:
9816         Keep the state that was last set by the app in a new element field.
9817         Don't allow state changes when handling an element event.
9818         Post ASYNC_START and ASYNC_DONE messages.
9819         Change lost_state so that we go to PAUSED and wait for the parent to set
9820         us to PLAYING again (so latency calculation can be performed)
9821         Export gst_element_change_state() method so that subclasses can use it.
9822         API: gst_element_change_state()
9823         API: GST_STATE_TARGET
9824
9825         * gst/gstpipeline.c: (gst_pipeline_class_init),
9826         (reset_stream_time), (gst_pipeline_change_state),
9827         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9828         Using the new ASYNC_START message we can reset the base_time when
9829         needed. This can then be used to implement base_time redistribution in
9830         flushing seeks so that we can remove the explicit seek handling.
9831         Perform latency query and configuration when going to PLAYING.
9832
9833         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9834         (gst_base_sink_query), (gst_base_sink_change_state):
9835         Post new ASYNC_START/ASYNC_DONE messages.
9836
9837         * tests/check/generic/sinks.c: (GST_START_TEST):
9838         Fix test because the bin will not set the async element to PLAYING right
9839         away.
9840
9841         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9842         Make the message check a little stronger.
9843         Handle ASYNC messages.
9844
9845         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9846         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9847         Expect ASYNC_DONE messages.
9848
9849 2007-03-19  Wim Taymans  <wim@fluendo.com>
9850
9851         * docs/gst/gstreamer-sections.txt:
9852         * gst/gstmessage.c: (gst_message_new_async_start),
9853         (gst_message_new_async_done), (gst_message_parse_info),
9854         (gst_message_parse_async_start):
9855         * gst/gstmessage.h:
9856         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9857         support.
9858
9859 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9860
9861         * tools/gst-inspect.c:
9862         (print_plugin_automatic_install_info_codecs):
9863           Now that we don't check for the 'Codec' keyword any longer in the
9864           klass, we shouldn't spew a warning if the klass isn't a decoder or
9865           encoder (since it might be a Source/Network, for example).
9866
9867 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9868
9869         * tools/gst-inspect.c:
9870         (print_plugin_automatic_install_info_codecs):
9871           Don't require decoder/demuxer/depayloader elements or
9872           encoder/muxer/paylader elements to have 'Codec' as part of their
9873           factory class string when introspecting a plugin's capabilities.
9874           draft-klass.txt mentions that it might be removed in future, and
9875           flump3dec doesn't have it as part of its class string, so chances
9876           are others might also not have it.
9877
9878 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9879
9880         * po/af.po:
9881         * po/az.po:
9882         * po/bg.po:
9883         * po/ca.po:
9884         * po/cs.po:
9885         * po/de.po:
9886         * po/en_GB.po:
9887         * po/fr.po:
9888         * po/it.po:
9889         * po/nb.po:
9890         * po/nl.po:
9891         * po/ru.po:
9892         * po/sq.po:
9893         * po/sr.po:
9894         * po/sv.po:
9895         * po/tr.po:
9896         * po/uk.po:
9897         * po/vi.po:
9898         * po/zh_CN.po:
9899         * po/zh_TW.po:
9900           Update translations from translation project
9901
9902 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9903
9904         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9905         (gst_child_proxy_set_property):
9906           Invert precondition check to be alike the ones in the mimiced gobject
9907           api.
9908
9909 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9910
9911         * docs/design/draft-tagreading.txt:
9912         * docs/random/ensonic/audiobaseclasses.txt:
9913           Do some Architect work.
9914
9915         * gst/gstobject.c: (gst_object_set_name):
9916           Add a WARNING.
9917
9918         * gst/gstpad.c:
9919           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9920
9921 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9922
9923         * gst/gstsystemclock.c: (gst_system_clock_init),
9924         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9925         Defer starting the async system clock thread until the first async
9926         wait is scheduled. Fixes #414986.
9927
9928 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9929
9930         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9931         (gst_single_queue_free):
9932           Fix small leak (free GstSingleQueue structure too, not only contents).
9933
9934 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9935
9936         * gst/gstbin.c:(gst_bin_add):
9937         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9938         * win32/common/libgstbase.def:
9939         * win32/common/libgstreamer.def:
9940         Add new exported functions.
9941
9942 2007-03-09  Wim Taymans  <wim@fluendo.com>
9943
9944         * docs/plugins/gstreamer-plugins-sections.txt:
9945         Fix GstTee docs.
9946
9947 2007-03-09  Wim Taymans  <wim@fluendo.com>
9948
9949         * docs/gst/gstreamer-sections.txt:
9950         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9951         * gst/gstbuffer.h:
9952         Add metadata copy functions. Fixes #393099.
9953         API: gst_buffer_copy_metadata()
9954
9955         * gst/gstutils.c: (gst_buffer_stamp):
9956         * libs/gst/base/gstbasetransform.c:
9957         (gst_base_transform_prepare_output_buffer):
9958         Use new metadata copy functions.
9959
9960 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9961
9962         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9963         (gst_identity_init), (gst_identity_check_perfect),
9964         (gst_identity_check_imperfect_timestamp),
9965         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9966         (gst_identity_set_property), (gst_identity_get_property):
9967         * plugins/elements/gstidentity.h:
9968         Separate out check-imperfect-timestamp and check-imperfect-offset.
9969         Put back check-perfect as it was to keep compatibility.
9970
9971 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9972
9973         * gst/gstelement.c: (gst_element_dispose):
9974         There's no need to warn if VOID_PENDING is not NONE here, as
9975         long as the state is NULL it's ok, and that's checked immediately
9976         above.
9977
9978 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9979
9980         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9981         Fix check for perfect stream to ignore buffers with -1 
9982         offsets/offset ends when checking data contiguity.
9983
9984 2007-03-08  Wim Taymans  <wim@fluendo.com>
9985
9986         * tools/gst-launch.c: (event_loop):
9987         Print INFO messages.
9988
9989 2007-03-08  Wim Taymans  <wim@fluendo.com>
9990
9991         * libs/gst/base/gstbasetransform.c:
9992         (gst_base_transform_sink_eventfunc),
9993         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9994         (gst_base_transform_activate):
9995         * libs/gst/base/gstbasetransform.h:
9996         Add support for dropping buffers with custom GstFlowReturn.
9997         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9998         buffers or dropped buffers.
9999
10000         * docs/libs/gstreamer-libs-sections.txt:
10001         docs for new custom return code.
10002
10003         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10004         Use drop support in base class to implement drop-probability.
10005
10006 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
10007
10008         * gst/gst.c: (load_plugin_func):
10009         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
10010         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10011         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
10012           Remove newlines at end of debug log strings.
10013
10014 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10015
10016         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10017         Only post bus message at max, once per buffer received.
10018
10019 2007-03-07  Wim Taymans  <wim@fluendo.com>
10020
10021         * docs/design/Makefile.am:
10022         * docs/design/part-synchronisation.txt:
10023         Add doc about synchronisation
10024
10025         * docs/design/draft-latency.txt:
10026         * docs/design/part-TODO.txt:
10027         * docs/design/part-clocks.txt:
10028         * docs/design/part-events.txt:
10029         * docs/design/part-gstbus.txt:
10030         * docs/design/part-gstpipeline.txt:
10031         * docs/design/part-live-source.txt:
10032         * docs/design/part-messages.txt:
10033         * docs/design/part-overview.txt:
10034         * docs/design/part-streams.txt:
10035         * docs/design/part-trickmodes.txt:
10036         Documentation updates.
10037
10038 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
10039
10040         * gstreamer.doap:
10041         Update the doap file.
10042
10043 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10044
10045         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10046         Rename non-perfect to imperfect for Mike and for the sanctity of the
10047         language.
10048         Also make sure bus message gets emitted for data-incontiguities.
10049
10050 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10051
10052         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
10053         (gst_identity_start):
10054         * plugins/elements/gstidentity.h:
10055         Emit bus message if check-perfect is true and we encounter a
10056         non-perfect stream between 2 consecutive buffers.
10057         Fixes #415394.
10058
10059 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
10060
10061         * configure.ac:
10062         Back to CVS
10063
10064 === release 0.10.12 ===
10065
10066 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
10067
10068         * configure.ac:
10069           releasing 0.10.12, "Inevitable Demise"
10070
10071 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
10072
10073         * configure.ac:
10074          Version 0.10.11.2 (0.10.12 pre-release)
10075          Bump libtool versioning.
10076
10077 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
10078
10079         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10080           Log flow-names and not numbers.
10081
10082 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10083
10084         * configure.ac:
10085           Convert to new AG_GST style.
10086
10087 2007-02-28  Wim Taymans  <wim@fluendo.com>
10088
10089         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
10090         Don't unref query twice.
10091
10092 2007-02-28  Wim Taymans  <wim@fluendo.com>
10093
10094         * gst/gstvalue.c: (gst_value_transform_object_string),
10095         (_gst_value_initialize):
10096         Implement GstObject -> string transform so we print object names
10097         when serializing GValues containing GstObjects.
10098
10099 2007-02-28  Wim Taymans  <wim@fluendo.com>
10100
10101         * docs/gst/gstreamer-sections.txt:
10102         Add new stuff to docs.
10103
10104 2007-02-28  Wim Taymans  <wim@fluendo.com>
10105
10106         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
10107         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
10108         (gst_base_sink_change_state):
10109         Improve latency query code.
10110         Don't leak latency events.
10111
10112         * tests/check/gst/gstbin.c: (GST_START_TEST):
10113         Improve debugging.
10114
10115 2007-02-28  Wim Taymans  <wim@fluendo.com>
10116
10117         * gst/gstelement.c: (gst_element_message_full),
10118         (gst_element_get_state_func):
10119         * gst/gstelement.h:
10120         Improve docs a little. Added Since: for new macro.
10121
10122         * gst/gstobject.c: (gst_object_sink):
10123         * gst/gstpipeline.c: (gst_pipeline_change_state),
10124         (gst_pipeline_set_new_stream_time):
10125         * gst/gstpipeline.h:
10126         Improve debugging and docs.
10127
10128         * gst/gstutils.c: (gst_element_state_change_return_get_name):
10129         Improve debugging.
10130
10131 2007-02-28  Wim Taymans  <wim@fluendo.com>
10132
10133         * gst/gstelement.c: (gst_element_message_full),
10134         (gst_element_set_locked_state), (gst_element_get_state_func),
10135         (gst_element_change_state):
10136         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10137         Documentation updates.
10138         Small code cleanups.
10139
10140         * gst/gstmessage.c: (gst_message_new_info),
10141         (gst_message_parse_info):
10142         * gst/gstmessage.h:
10143         API: gst_message_new_info()
10144         API: gst_message_parse_info()
10145         Add INFO message create and parse code.
10146
10147 2007-02-28  Wim Taymans  <wim@fluendo.com>
10148
10149         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10150         (bin_query_latency_done):
10151         Also report the live parameter of a latency query.
10152
10153 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10154
10155         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10156           Copy the current generic/states example from -base and adapt so
10157           we can use the exact same code everywhere.
10158           Check a STATES_IGNORE_ELEMENTS env var which can be used
10159           to ignore certain element factories for this test, which is
10160           what is being done in -base
10161         * tests/check/Makefile.am:
10162           Mention this environment variable.
10163
10164 2007-02-27  Wim Taymans  <wim@fluendo.com>
10165
10166         * docs/gst/gstreamer-sections.txt:
10167         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10168         (gst_bus_timed_pop), (gst_bus_pop):
10169         * gst/gstbus.h:
10170         API: gst_bus_timed_pop()
10171         Implement gst_bus_timed_pop() to do a blocking timed wait for a
10172         message to arrive on the bus.
10173
10174         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10175         (gst_bus_suite):
10176         Two unit tests for new _timed_pop() function.
10177
10178 2007-02-23  Wim Taymans  <wim@fluendo.com>
10179
10180         * gst/gstpipeline.c: (gst_pipeline_change_state),
10181         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10182         Don't ref a NULL clock in _provide_clock_func().
10183         Don't allow an INVALID delay.
10184         Don't try to calculate base_time with an invalid start_time.
10185         Also distribute and notify a NULL clock when it was selected.
10186
10187         * tools/gst-launch.c: (event_loop):
10188         Don't crash when a NULL clock was selected in the pipeline.
10189
10190 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10191
10192         * docs/design/Makefile.am:
10193         * docs/design/draft-missing-plugins.txt:
10194         * docs/random/draft-missing-plugins.txt:
10195           Some small updates: update plugin system identifier prefix
10196           ('gstreamer.net' to 'gstreamer'), mention our new install
10197           API in libgstbaseutils rather than libgimme-codec, add
10198           reference to the online docs.
10199
10200 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10201
10202         * win32/common/config.h:
10203           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
10204           use moap cl ci to only check in what is mentioned in the ChangeLog.
10205
10206 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10207
10208         * docs/gst/gstreamer-sections.txt:
10209         * gst/gstelement.h:
10210           Fix up documentation to link to the correct GstGError section.
10211           Add GST_ELEMENT_INFO macro since someone else added a Info message.
10212
10213 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10214
10215         * tools/gst-launch.c: (event_loop):
10216           Make sure that we actually show the important message part of a
10217           warning message.
10218           No need to check if the gerror is not NULL to free; first of all
10219           g_free accepts NULL; and second the default error handler would
10220           segfault if gerror was NULL.
10221
10222 2007-02-21  Wim Taymans  <wim@fluendo.com>
10223
10224         * docs/gst/gstreamer-sections.txt:
10225         Removed docs as well.
10226
10227 2007-02-21  Wim Taymans  <wim@fluendo.com>
10228
10229         * gst/gstmessage.c: (gst_message_parse_duration):
10230         * gst/gstmessage.h:
10231         Remove new messages for release.
10232
10233 2007-02-20  Wim Taymans  <wim@fluendo.com>
10234
10235         * docs/design/part-gstghostpad.txt:
10236         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10237         (gst_ghost_pad_new_full):
10238         Make the ghostpad a parent of the internal pad again for better backward
10239         compatibility. Don't write code that relies on this however.
10240
10241         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10242         (gst_pad_link_check_hierarchy):
10243         Require that parents should be GstElements in the hierarchy check.
10244
10245 2007-02-20  Wim Taymans  <wim@fluendo.com>
10246
10247         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10248         (gst_bin_change_state_func), (bin_query_min_max_init),
10249         (bin_query_latency_fold), (bin_query_latency_done),
10250         (gst_bin_query):
10251         Improve debug info.
10252         Implement latency query.
10253
10254 2007-02-20  Wim Taymans  <wim@fluendo.com>
10255
10256         * docs/design/part-gstghostpad.txt:
10257         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10258         (gst_ghost_pad_internal_do_activate_push),
10259         (gst_ghost_pad_internal_do_activate_pull),
10260         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10261         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10262         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10263         Do not set the internal pad as a parent anymore so we can avoid
10264         hierarchy linking errors when the ghostpad has no parent yet. This also
10265         fixes failed activation because of unlinked internal pads, which in
10266         turn fixes the impossible case where you have to activate a pad before
10267         you can add it to a running element.
10268         Also fix the docs.
10269
10270         * gst/gstpad.c: (pre_activate), (post_activate),
10271         (gst_pad_set_active), (gst_pad_activate_pull),
10272         (gst_pad_activate_push), (gst_pad_check_pull_range):
10273         Add some more debug info.
10274         Mark activation mode in pre_activate so that we don't try to activate in
10275         endless loops. Fixes #385084.
10276
10277 2007-02-19  Wim Taymans  <wim@fluendo.com>
10278
10279         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10280         (gst_base_transform_check_get_range):
10281         Implement a checkgetrange function instead of relying on the default
10282         core behaviour that assumes we can operate in pull mode if we have a
10283         getrange function. First step at fixing #385084.
10284
10285 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
10286
10287         * gst/gstchildproxy.h:
10288         * libs/gst/base/gstbasesink.h:
10289         * libs/gst/base/gstbasesrc.h:
10290         * libs/gst/base/gstbasetransform.h:
10291         More docs coverage and some ChangeLog surgery (add missing names)
10292
10293 2007-02-15  Wim Taymans  <wim@fluendo.com>
10294
10295         * docs/design/part-TODO.txt:
10296         * docs/design/part-activation.txt:
10297         * docs/design/part-block.txt:
10298         * docs/design/part-buffering.txt:
10299         * docs/design/part-clocks.txt:
10300         * docs/design/part-element-source.txt:
10301         * docs/design/part-events.txt:
10302         * docs/design/part-gstbin.txt:
10303         * docs/design/part-gstbus.txt:
10304         * docs/design/part-gstpipeline.txt:
10305         * docs/design/part-live-source.txt:
10306         * docs/design/part-messages.txt:
10307         * docs/design/part-overview.txt:
10308         * docs/design/part-qos.txt:
10309         * docs/design/part-query.txt:
10310         * docs/design/part-states.txt:
10311         * docs/design/part-trickmodes.txt:
10312         Some doc updates. Start renaming from stream_time to running_time where
10313         it was used wrongly.
10314
10315 2007-02-15  Wim Taymans  <wim@fluendo.com>
10316
10317         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10318         Answer LATENCY query.
10319
10320 2007-02-15  Wim Taymans  <wim@fluendo.com>
10321
10322         * tests/check/gst/gstevent.c: (event_probe), (test_event),
10323         (GST_START_TEST):
10324         Improve debugging.
10325
10326 2007-02-15  Wim Taymans  <wim@fluendo.com>
10327
10328         * gst/gstpad.c: (gst_pad_get_internal_links_default),
10329         (gst_pad_dispatcher):
10330         Improve debugging of default pad dispatcher and query functions.
10331
10332 2007-02-15  Wim Taymans  <wim@fluendo.com>
10333
10334         * docs/gst/gstreamer-sections.txt:
10335         Remove old unused method.
10336
10337 2007-02-13  Wim Taymans  <wim@fluendo.com>
10338
10339         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10340         Fix check
10341
10342 2007-02-13  Wim Taymans  <wim@fluendo.com>
10343
10344         * docs/design/part-seeking.txt:
10345         Some small update.
10346
10347         * gst/gstsegment.c: (gst_segment_set_seek):
10348         Revert old bogus change that should make seeking work again.
10349
10350 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10351
10352         * docs/random/ensonic/dynlink.txt:
10353         * docs/random/ensonic/interfaces.txt:
10354         * docs/random/ensonic/receipies.txt:
10355           Possible dynamic reconnection api, plus some type fixes the other two
10356           docs.
10357
10358 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
10359
10360         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10361         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10362         Also check for an absolute path following file:// in the filesrc
10363         element. Remove redundant check and call g_path_is_absolute() on the
10364         unescaped location.
10365
10366 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10367
10368         * docs/design/draft-klass.txt:
10369           Add existing category analysis.
10370           
10371         * gst/gstcaps.c:
10372           Fix doc example, framerate is a fraction.
10373
10374 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10375
10376         * configure.ac:
10377         * docs/gst/Makefile.am:
10378         * docs/gst/gstreamer-sections.txt:
10379         * docs/libs/Makefile.am:
10380           Erm, forgot a bunch of --extra-dir.
10381
10382 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10383
10384         * configure.ac:
10385         * docs/gst/Makefile.am:
10386         * docs/libs/Makefile.am:
10387         * docs/plugins/Makefile.am:
10388           Add crossreferences to glib/gobject docs.
10389
10390 2007-02-12  Wim Taymans  <wim@fluendo.com>
10391
10392         * docs/design/draft-latency.txt:
10393         Small update.
10394
10395         * docs/libs/gstreamer-libs-sections.txt:
10396         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10397         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10398         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10399         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10400         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10401         (gst_base_sink_get_position), (gst_base_sink_query),
10402         (gst_base_sink_change_state):
10403         * libs/gst/base/gstbasesink.h:
10404         API: gst_base_sink_query_latency() to let subclasses query the upstream
10405         latency.
10406         API: gst_base_sink_get_latency() to let subclasses query the configured
10407         latency in the sink.
10408         Implement query and set latency.
10409         Update some docs.
10410         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10411         don't continue preroll when we are flushing. Fixes #405284.
10412
10413         * tests/check/pipelines/stress.c: (change_state_timeout),
10414         (quit_timeout), (GST_START_TEST), (stress_suite):
10415         Test for #405284.
10416
10417 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10418
10419         Patch by: René Stadler <mail at renestadler de>
10420
10421         * docs/gst/gstreamer-sections.txt:
10422         * gst/gsttaglist.c: (_gst_tag_initialize):
10423         * gst/gsttaglist.h:
10424           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10425
10426 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10427
10428         * docs/libs/Makefile.am:
10429           Fix path to core docs.
10430
10431         * gst/gstbin.c: (gst_bin_get_by_interface),
10432         (gst_bin_iterate_all_by_interface):
10433           Refix docs by also renaming 'interface' to 'iface' in implementation.
10434
10435         * docs/gst/gstreamer-sections.txt:
10436         * gst/gstcaps.c:
10437         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10438         * gst/gstchildproxy.h:
10439         * gst/gstelementfactory.c:
10440         * gst/gstpadtemplate.h:
10441         * libs/gst/controller/gstcontroller.c:
10442         (gst_controlled_property_new):
10443           Document more.
10444
10445 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10446
10447         * gst/gstbin.h:(gst_bin_get_by_interface),
10448         (gst_bin_iterate_all_by_interface):
10449         Replace interface parameter name by iface as interface is 
10450         a reserved keyword in Visual Studio for C++ projects so it removes
10451         a build error for application developpers using VS.
10452         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10453         Fix a bug on Windows in uri format check. Now the prefix checked
10454         is file:// and next we check if the path after file:// is absolute.
10455         * win32/common/libgstbase.def:
10456         * win32/common/libgstdataprotocol.def:
10457         * win32/common/libgstgstreamer.def:
10458         Add new exported functions.
10459
10460 2007-02-09  Andy Wingo  <wingo@pobox.com>
10461
10462         * tests/check/pipelines/simple-launch-lines.c
10463         (simple_launch_lines_suite, test_tee): Disable tee test until I
10464         have time to fix it :-(
10465
10466         * tests/check/Makefile.am (noinst_HEADERS): 
10467         * tests/check/libs/libsabi.c: 
10468         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10469         * tests/check/gst/gstabi.c: 
10470         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10471
10472         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10473         tests for push and pull tee behavior.
10474
10475         * plugins/elements/gsttee.h: 
10476         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10477         mark as deprecated as well as unimplemented. It was a crack idea.
10478         Add support for tee operating in pull mode, off by default.
10479
10480         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10481         normal-case logs down to LOG, raise errors to WARNING.
10482         (gst_registry_xml_read_cache): Don't log before calling a function
10483         that logs.
10484
10485         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10486         exit (registry finalize).
10487         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10488         DEBUG log when we emit signals that people don't even have the
10489         chance to connect to.
10490         (gst_registry_scan_path_level): Less logging in the normal case.
10491
10492 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10493
10494         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10495
10496         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10497         Correctly generate EOS for non-seekable files. We don't have a total
10498         length for them and would get an unexpected end of file if we only
10499         special-cased for regular files. (Fixes: #404569)
10500
10501 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10502
10503         * tests/check/elements/filesrc.c: (GST_START_TEST),
10504         (filesrc_suite):
10505         Add unit test for the GstURIHandler interface in filesrc. This also
10506         tests the newly added file://localhost/foo/bar support.
10507
10508 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10509
10510         * gst/gstelementfactory.h:
10511           The klass string is not a hierarchy. Add reference to the design doc
10512           for more information and common types.
10513
10514 2007-02-02  Wim Taymans  <wim@fluendo.com>
10515
10516         * gst/gstquery.c: (gst_query_new_latency):
10517         Remove old structure field.
10518
10519 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10520
10521         * tools/gst-launch.1.in:
10522           Give example for network streaming (#351998)
10523
10524 2007-02-02  Wim Taymans  <wim@fluendo.com>
10525
10526         * docs/gst/gstreamer-sections.txt:
10527         Add docs for new methods.
10528
10529         * gst/gstevent.c: (gst_event_new_latency),
10530         (gst_event_parse_latency):
10531         * gst/gstevent.h:
10532         Add new LATENCY event to configure latency in a pipeline.
10533         API: gst_event_new_latency
10534         API: gst_event_parse_latency
10535
10536         * gst/gstmessage.c: (gst_message_new_buffering),
10537         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10538         (gst_message_new_latency), (gst_message_parse_buffering),
10539         (gst_message_parse_lost_preroll):
10540         * gst/gstmessage.h:
10541         Added messages used in draft-latency.
10542         API: gst_message_new_lost_preroll
10543         API: gst_message_parse_lost_preroll
10544         API: gst_message_new_prerolled
10545         API: gst_message_new_latency
10546
10547         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10548         (gst_query_parse_latency):
10549         * gst/gstquery.h:
10550         Implemented new latency query as in design doc.
10551         API: gst_query_new_latency
10552         API: gst_query_set_latency
10553         API: gst_query_parse_latency
10554
10555 2007-02-02  Wim Taymans  <wim@fluendo.com>
10556
10557         * docs/design/draft-latency.txt:
10558         Slight redesign to allow for dynamic latency adjustments.
10559
10560         * docs/design/part-negotiation.txt:
10561         Fix some typos.
10562
10563 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10564
10565         reviewed by: Wim Taymans <wim@fluendo.com>
10566
10567         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10568         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10569         Allow file://localhost/foo/bar URLs and correctly fail for every other
10570         hostname that one sets. This was gnomevfssrc is linked for those if
10571         installed as it can handle it (#403172)
10572
10573 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10574
10575         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10576
10577         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10578         (unref_data), (gst_collect_pads_add_pad_full):
10579         * libs/gst/base/gstcollectpads.h:
10580         Don't put the previously added destroy notify in the GstCollectData
10581         struct as all it's padding is already used and we don't want to break
10582         ABI. Instead put in the pad's GObject data for now. This should be
10583         cleaned up for 0.11 (#402393).
10584
10585 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10586
10587         reviewed by: Wim Taymans <wim@fluendo.com>
10588
10589         * docs/libs/gstreamer-libs-sections.txt:
10590         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10591         (unref_data), (gst_collect_pads_add_pad),
10592         (gst_collect_pads_add_pad_full):
10593         * libs/gst/base/gstcollectpads.h:
10594         API: Add function to specify a destroy notification for custom
10595         GstCollectData when adding new pads in GstCollectPads (#402393).
10596
10597 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10598
10599         * po/sv.po:
10600           Update Swedish translation (#378255).
10601
10602 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10603
10604         * docs/design/draft-klass.txt:
10605           Fix the previous change, this is a list of categories and not a hierarchy.
10606
10607 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10608
10609         * docs/design/draft-klass.txt:
10610           Add info about how to get a list of used classes.
10611
10612 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10613
10614         * plugins/elements/gsttypefindelement.c:
10615         (gst_type_find_element_chain_do_typefinding),
10616         (gst_type_find_element_change_state):
10617           Don't leak found caps in chain function (no idea why that never
10618           showed up as a leak anywhere).
10619
10620 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10621
10622         * gst/gstplugin.h:
10623           Fix and expand GstPluginDesc API docs.
10624
10625 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10626
10627         * gst/gstcaps.c:
10628         * gst/gstelementfactory.c:
10629         * gst/gstpadtemplate.h:
10630           api doc fixes
10631
10632         * libs/gst/controller/gstcontroller.c:
10633         (gst_controlled_property_new):
10634         * tests/examples/controller/audio-example.c:
10635           comment fixes
10636
10637 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10638
10639         * configure.ac:
10640           comment about refining the xml deps
10641
10642         * docs/manuals.mak:
10643           comments about moving away from jade for docs
10644         
10645         * gst/gst.c:
10646           recommit the ifdefs to use the binary registry
10647         
10648         * gst/gstbin.c: (gst_bin_change_state_func):
10649           this break is obsolete
10650
10651         * gst/gstelementfactory.h:
10652           better GST_ELEMENT_DETAILS docs, add comment about translation
10653
10654         * gst/gstinfo.h:
10655           remove eol slash
10656
10657         * gst/gstobject.c: (gst_signal_object_get_type):
10658           add G_UNLIKELY as usual
10659
10660         * gst/gstpad.c: (gst_pad_event_default):
10661           add fall trhu comment
10662
10663         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10664         (gst_registry_binary_initialize_magic),
10665         (gst_registry_binary_save_string),
10666         (gst_registry_binary_save_pad_template),
10667         (gst_registry_binary_save_feature),
10668         (gst_registry_binary_save_plugin),
10669         (gst_registry_binary_write_cache),
10670         (gst_registry_binary_check_magic),
10671         (gst_registry_binary_load_pad_template),
10672         (gst_registry_binary_load_feature),
10673         (gst_registry_binary_load_plugin),
10674         (gst_registry_binary_read_cache):
10675           comment typo and formatting
10676
10677         * gst/gstutils.c: (gst_element_state_get_name),
10678         (gst_element_state_change_return_get_name):
10679           remove obsolete breaks
10680
10681         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10682           add FIXME 0.11 and remove cpp comment
10683
10684 2007-01-29  Edward Hervey  <edward@fluendo.com>
10685
10686         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10687         Fix print statement in an even more portable way.
10688
10689 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10690
10691         * docs/gst/gstreamer-sections.txt:
10692         * gst/gstutils.h:
10693           API: add GST_ROUND_DOWN_* macros (#401781).
10694
10695 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10696
10697         * docs/gst/gstreamer.types.in:
10698         * gst/gstregistry.c: (gst_registry_class_init):
10699           Document registry signals and make gtk-doc pick them up (#401381).
10700
10701 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10702
10703         * docs/pwg/building-testapp.xml:
10704           Add some audioconverts and audioresample to the pipeline, and some
10705           more comments and error handling.
10706
10707 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10708
10709         * docs/manual/manual.xml:
10710         * docs/pwg/pwg.xml:
10711           Fix typo (#400987).
10712
10713 2007-01-26  Wim Taymans  <wim@fluendo.com>
10714
10715         * gst/gstcaps.c: (gst_static_caps_get):
10716         Init caps flags too.
10717
10718 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10719
10720         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10721
10722         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10723         If not using mmap'ed files try to seek to the end instead of the
10724         start to determine whether we can seek at all. This fixes the case
10725         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10726         seeks for everything afterwards fail. Fixes #400656
10727
10728 2007-01-25  Wim Taymans  <wim@fluendo.com>
10729
10730         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10731         Add some refcount debugging.
10732         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10733         in multiple streaming threads.
10734
10735 2007-01-25  Wim Taymans  <wim@fluendo.com>
10736
10737         Patch by: David Schleef <ds at schleef dot org>
10738
10739         * docs/libs/gstreamer-libs-sections.txt:
10740         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10741         * libs/gst/base/gstadapter.h:
10742         API: gst_adapter_copy() that can reduce the amount of memcpy when
10743         getting data from the adapter. Fixes #388201.
10744
10745 2007-01-25  Edward Hervey  <edward@fluendo.com>
10746
10747         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10748         In print statements, "%x" is for guint. Fixes build on macosx.
10749
10750 2007-01-24  Edward Hervey  <edward@fluendo.com>
10751
10752         * plugins/elements/gstmultiqueue.c:
10753         (gst_multi_queue_loop):
10754         Small fix.
10755         (single_queue_overrun_cb), (single_queue_underrun_cb),
10756         (single_queue_check_full), (gst_single_queue_new):
10757         Implement single queue growth system.
10758         This uses the extra-size properties, and will grow single queues by
10759         that much if one goes full whereas there are others empty. This is
10760         called extra-mode in the code.
10761         When a single queue's levels go back below the initial max-size
10762         limits, it is no longer in extra-mode. This is to ensure we don't
10763         consume too much memory.
10764         Fixes #399875
10765
10766 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10767
10768         * gst/gst.c: (gst_init_get_option_group):
10769           Make warning about late g_thread_init() calls a bit more explicit,
10770           so that it's more obvious to application developers what they need
10771           to do if a user files a bug against their application.
10772
10773 2007-01-22  Edward Hervey  <edward@fluendo.com>
10774
10775         * plugins/elements/gstmultiqueue.c:
10776         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10777         Remove previous hack of unsetting the flushing flag for the source pad
10778         instead of activating it. Instead, fix the source pad activate function
10779         so that it no longer depends on having a parent set or not.
10780
10781 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10782
10783         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10784
10785         * docs/manual/basics-bus.xml:
10786           Fix example code, gst_element_unref() doesn't exist any longer.
10787
10788 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10789
10790         Patch by: Mark Nauwelaerts <manauw at skynet be>
10791
10792         * gst/gstpad.c:
10793           Fix two docs typoes (#399094).
10794
10795 2007-01-19  Edward Hervey  <edward@fluendo.com>
10796
10797         * docs/faq/gst-uninstalled:
10798         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10799         depending on libgstbaseutils can work in uninstalled environment.
10800
10801 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10802
10803         * gst/gsttaglist.h:
10804         * gst/gsttagsetter.c:
10805         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10806         statement for new tag.
10807
10808 2007-01-17  Edward Hervey  <edward@fluendo.com>
10809
10810         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10811         When dynamically creating single queues, activate sinkpad before adding
10812         it.
10813         We should be doing the same thing for the source pad, but we can't
10814         since it would call a method which needs the parent to be set in order
10815         to work propertly. Instead of activating the source pad, we just unset
10816         the flushing flag, which is the minimal requirement for adding a pad
10817         to an element in a state greater than READY.
10818
10819 2007-01-17  Edward Hervey  <edward@fluendo.com>
10820
10821         * docs/faq/gst-uninstalled:
10822         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10823         Mac OS X.
10824
10825 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10826
10827         * tests/check/gst/gstabi.c:
10828         * tests/check/gst/struct_hppa.h:
10829         * tests/check/libs/libsabi.c:
10830         * tests/check/libs/struct_hppa.h:
10831           Add ABI structs for HPPA (see #393796).
10832
10833 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10834
10835         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10836           Actually write ABI structs to the file specified in the GST_ABI
10837           environment variable, as the message we print claims we would.
10838
10839 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10840
10841         * tests/check/gst/gsttask.c:
10842           Fix header comment.
10843
10844 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10845
10846         * gst/gsttaglist.c: (_gst_tag_initialize):
10847           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10848           previous two entries.
10849
10850 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10851
10852         * docs/gst/gstreamer-sections.txt:
10853         * gst/gsttaglist.c: (_gst_tag_initialize):
10854         * gst/gsttaglist.h:
10855           Add tag support for beat-per-minute.
10856
10857 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10858
10859         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10860         (gst_registry_binary_initialize_magic),
10861         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10862         (gst_registry_binary_save_pad_template),
10863         (gst_registry_binary_save_feature),
10864         (gst_registry_binary_save_plugin),
10865         (gst_registry_binary_write_cache),
10866         (gst_registry_binary_check_magic),
10867         (gst_registry_binary_load_pad_template),
10868         (gst_registry_binary_load_feature),
10869         (gst_registry_binary_load_plugin),
10870         (gst_registry_binary_read_cache):
10871         * gst/gstregistrybinary.h:
10872           Use glib types, cleanup comments, impement interfaces and uri-types.
10873
10874 2007-01-13  Andy Wingo  <wingo@pobox.com>
10875
10876         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10877         getrange() to return buffers with other caps, while we fix
10878         demuxers and typefind, or otherwise change part-negotiation.txt.
10879
10880 2007-01-12  Andy Wingo  <wingo@pobox.com>
10881
10882         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10883         Factor start/stop into this private function instead of partially
10884         in activate functions and partially in the change_state function.
10885         Fixes setup before the element has changed from READY->PAUSED, as
10886         is the case in pull-mode pipelines.
10887         (gst_base_transform_sink_activate_push)
10888         (gst_base_transform_src_activate_pull): Refactor to use
10889         gst_base_transform_activate().
10890         (gst_base_transform_change_state): Removed, not needed any more.
10891
10892         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10893         Truncate before fixating.
10894         
10895         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10896         Don't set_caps() if the result of fixating is ANY, as it's not
10897         supported, and not necessary in the case of a link with no
10898         template caps on either side. Fixes tests/check/libs/basesrc in
10899         some pull-mode tests.
10900
10901         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10902         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10903         (gst_base_transform_src_activate_pull): 
10904         Track the activation mode.
10905         (gst_base_transform_setcaps): In pull mode, when activating the
10906         src pad, after activating the sink pad, activate the sink pad's
10907         peer, as discussed in part-negotiation.txt.
10908
10909         * libs/gst/base/gstbasesrc.h: 
10910         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10911         vmethod, as in basesink.
10912
10913         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10914
10915         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10916         mode, first proxy the setcaps to the peer pad.
10917         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10918         new fixate vmethod.
10919         (gst_base_sink_default_activate_pull): Rename from
10920         gst_base_sink_activate_pull.
10921         (gst_base_sink_negotiate_pull): New function, performs negotiation
10922         in pull mode before calling ::activate_pull().
10923         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10924         vmethod instead of the default implementation. I have no idea how
10925         this worked before. Negotiate before calling activate_pull.
10926
10927         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10928         sink pads in pull mode. In addition to being correct, fixes
10929         filesrc ! decodebin ! identity ! fakesink.
10930         (gst_pad_get_range, gst_pad_pull_range): Don't call
10931         gst_pad_set_caps() if the caps changes; instead error out with
10932         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10933
10934 2007-01-12  Andy Wingo  <wingo@pobox.com>
10935
10936         * docs/design/part-negotiation.txt: Update with more policy.
10937
10938 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10939
10940         * libs/gst/check/gstbufferstraw.h:
10941         * libs/gst/check/gstcheck.h:
10942           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10943           belongs.
10944
10945 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10946
10947         * tests/check/Makefile.am:
10948         * tests/check/gst/.cvsignore:
10949         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10950         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10951         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10952         (GST_START_TEST), (gst_tag_setter_suite):
10953           Add minimal unit test for beforementioned GstTagSetter bug.
10954
10955 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10956
10957         Patch by: René Stadler <mail at renestadler dot de>
10958
10959         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10960           gst_tag_list_merge() returns a new list, so it's not the best idea
10961           to ingore its return value. Effectively meant that tags could only
10962           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10963           Also add function guard to require a non-NULL taglist as input (has
10964           always been so due to gst_tag_list_copy(), just making it explicit).
10965
10966 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10967
10968         * docs/random/draft-missing-plugins.txt:
10969           Some additions: mention new API that is supposed to be used at the
10970           various stages; short blob about new gst-inspect introspection
10971           option; mention potential future problem with plugins that have
10972           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10973
10974 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10975
10976         * tools/gst-inspect.c:
10977         (print_plugin_automatic_install_info_codecs),
10978         (print_plugin_automatic_install_info_protocols),
10979         (print_plugin_automatic_install_info), (main):
10980         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10981         introspect plugin files and get machine-parsable output that corresponds
10982         to the last bit of the missing-plugin installer string (small gotcha:
10983         doesn't take into account ranks).
10984
10985 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10986
10987         * configure.ac:
10988         * docs/gst/gstreamer-sections.txt:
10989         * gst/Makefile.am:
10990         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10991         (gst_registry_lookup_locked):
10992         * gst/gstregistry.h:
10993         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10994         (gst_registry_binary_initialize_magic),
10995         (gst_registry_binary_save_string),
10996         (gst_registry_binary_save_pad_template),
10997         (gst_registry_binary_save_feature),
10998         (gst_registry_binary_save_plugin),
10999         (gst_registry_binary_write_cache),
11000         (gst_registry_binary_check_magic),
11001         (gst_registry_binary_load_pad_template),
11002         (gst_registry_binary_load_feature),
11003         (gst_registry_binary_load_plugin),
11004         (gst_registry_binary_read_cache):
11005         * gst/gstregistrybinary.h:
11006         * gst/gstregistryxml.c: (load_feature),
11007         (gst_registry_xml_read_cache):
11008           commit binary registry (disabled by default, see #359653)
11009
11010 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
11011
11012         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
11013           Fix 'make check' too.
11014
11015 2007-01-10  Andy Wingo  <wingo@pobox.com>
11016
11017         * docs/design/part-negotiation.txt: Fix a typo, add a couple
11018         notes.
11019         
11020         * docs/design/part-negotiation.txt: Update with, um, one way that
11021         pull-mode negotiation might work?
11022
11023         * gst/gstpad.h: 
11024         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
11025         that the pad must be a src pad; makes sense to call it the other
11026         way in pull mode, and the logic is symmetric anyway.
11027
11028 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
11029
11030         * plugins/elements/gstfilesink.c:
11031           Include <stdio.h> for fseeko().
11032
11033 2007-01-10  Wim Taymans  <wim@fluendo.com>
11034
11035         * gst/gstevent.c:
11036         * gst/gstevent.h:
11037         Reserve LATENCY event.
11038
11039 2007-01-09  Wim Taymans  <wim@fluendo.com>
11040
11041         * docs/design/draft-latency.txt:
11042         Updates.
11043
11044 2007-01-09  Wim Taymans  <wim@fluendo.com>
11045
11046         * docs/design/draft-latency.txt:
11047         Updates.
11048
11049         * gst/gstelement.h:
11050         * gst/gststructure.c:
11051         * gst/gsttrace.c:
11052         Small typo fixes.
11053
11054 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
11055
11056         * tests/check/.cvsignore:
11057           Ignore test-registry.xml as well.
11058
11059 2007-01-09  Wim Taymans  <wim@fluendo.com>
11060
11061         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
11062         unref data at the end when we are done with the pad.
11063
11064 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
11065
11066         * docs/gst/gstreamer-sections.txt:
11067         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
11068         (init_post), (gst_deinit), (gst_update_registry):
11069         * gst/gst.h:
11070           API: add gst_update_registry() (#391296).
11071
11072         * tests/check/Makefile.am:
11073         * tests/check/gst/gstregistry.c:
11074         * tests/check/gst/.cvsignore:
11075           Simple unit test for the above.
11076
11077 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
11078
11079         * gst/gstregistry.c: (gst_registry_scan_path_level):
11080           Plugin extension on HP-UX is .sl, add that to the list of approved
11081           plugin extensions (see #393796).
11082
11083         * tests/check/gst/gstpad.c: (GST_START_TEST):
11084           ulong => gulong. Fixes compilation with HP-UX compiler.
11085
11086         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11087           Fix compilation if valgrind headers are not available.
11088
11089 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
11090
11091         * win32/common/libgstreamer.def: 
11092           Add new exported function.
11093         * win32/vs6/libgstbase.dsp: 
11094           Add gstdataqueue.c to the build.
11095         * win32/vs6/libgstcoreelements.dsp:
11096           Add gstmultiqueue.c to the build.
11097         
11098 2007-01-06  Andy Wingo  <wingo@pobox.com>
11099
11100         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
11101         activate_pull(), providing for a way to specialize the process of
11102         spawning a thread to pull on the sink pad. There is a default
11103         implementation.
11104
11105         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
11106         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
11107         (gst_base_sink_init): Renamed pad activation functions (inserting
11108         "_pad" in their names). Refactor to use the new activate_pull
11109         vmethod, as appropriate.
11110         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
11111         default activate_pull function to start a task pulling from the
11112         sink pad, as before.
11113
11114         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
11115         on the pads if necessary, as in push()/chain(). Update docs.
11116         Shouldn't affect existing pull() usage as it is currently only
11117         being used on buffers without caps.
11118
11119 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11120
11121         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11122         (init_pre):
11123           Call g_thread_init() first thing in gst_init() / gst_check_init().
11124           When initialisation is done via gst_init_get_option_group() and
11125           GOption parsing, issue a warning if the GLib thread system has not
11126           been initialised yet by the time gst_init_get_option_group() is
11127           called, as it's quite likely other GLib functions such as
11128           g_option_context_new() have been called already then, and
11129           g_thread_init() must be called before any other GLib function. The
11130           application in question must be fixed in that case, since memory
11131           corruption might happen otherwise.
11132           We issue the warning because even if the GLib folks decide to work
11133           around the problem on their end in future, this is still an issue
11134           with all GLib versions >= 2.10.0, so we should warn until we depend
11135           on a GLib version we know to be safe.
11136           Update documentation as well.
11137           Closes bug #391278.
11138
11139 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11140
11141         * tools/gst-inspect.c: (main):
11142         * tools/gst-launch.c: (main):
11143         * tools/gst-typefind.c: (main):
11144         * tools/gst-xmlinspect.c: (main):
11145           Call g_thread_init() really really early, before any other GLib
11146           function (see #342564 and recent discussion on gtk-devel-list).
11147
11148 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11149
11150         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
11151
11152         * gst/gst_private.h:
11153         * gst/gstconfig.h.in:
11154         * gst/gstinfo.h:
11155           On win32, all the __declspec stuff for symbol exporting is
11156           apparently only needed with MSVC, but doesn't work with MingW.
11157           Fixes compilation with MingW and #391909.
11158
11159 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11160
11161         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11162           Change some GST_ERROR_OBJECT that aren't really errors to
11163           GST_WARNING_OBJECT in order to reduce terminal spam.
11164
11165 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11166
11167         * tests/check/Makefile.am:
11168           disable test again, as there seem to be still race problems
11169
11170 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11171
11172         * tests/check/Makefile.am:
11173         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11174         (GST_START_TEST), (queue_suite):
11175           enable queue test again, add tests for the leaky behaviour
11176
11177 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
11178
11179         * configure.ac:
11180         * tests/examples/Makefile.am:
11181           Compile adapter test/example only if the required headers are
11182           available (fixes #391915).
11183
11184 2007-01-01  David Schleef  <ds@schleef.org>
11185
11186         * gst/gstplugin.c:
11187           Restore the previous signal handler for SIGSEGV instead of
11188           setting to default, since we may have stolen it away from
11189           someone.  (i.e., Mono)
11190
11191 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11192
11193         * docs/random/draft-missing-plugins.txt:
11194           Some small additions and clarifications.
11195
11196 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11197
11198         * gst/gstregistryxml.c: (gst_registry_save_escaped):
11199           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11200           since that can lead to random memory corruptions and crashes
11201           (may or may not be related to #383244, #386711, and #386711).
11202
11203 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11204
11205         * tests/check/.cvsignore:
11206         * tests/check/Makefile.am:
11207           sync .cvsignome and CLEANFILES
11208
11209 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11210
11211         * tests/check/Makefile.am:
11212           fix distcheck
11213
11214 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11215
11216         * docs/design/part-states.txt:
11217           two tiny additional comments
11218         
11219         * gst/gststructure.c:
11220           doc fixing
11221
11222         * tests/check/Makefile.am:
11223         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11224         (GST_START_TEST):
11225           disable test for now, unless it gets fixed
11226
11227 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11228
11229         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11230         (GST_START_TEST):
11231           fix race in underrun test
11232
11233 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11234
11235         * tests/check/elements/.cvsignore:
11236           ignore more
11237
11238         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11239         (GST_START_TEST):
11240           try to narrow test failure
11241
11242 2006-12-21  David Schleef  <ds@schleef.org>
11243
11244         * plugins/elements/gstfakesrc.c:
11245           Use g_random_int_range(), since it produces better random
11246           numbers in a range than almost-correct floating point code.
11247
11248 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11249
11250         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11251         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11252         (gst_check_teardown_sink_pad):
11253           do not automatically (de)activate pads
11254
11255         * tests/check/Makefile.am:
11256         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11257         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11258           add new, yet simple tests for queue
11259
11260         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11261         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11262         * tests/check/elements/filesrc.c: (cleanup_filesrc),
11263         (GST_START_TEST):
11264         * tests/check/elements/identity.c: (cleanup_identity):
11265           consistent pad (de)activation
11266
11267 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
11268
11269         Patch by: Sebastian Dröge  <slomo ubuntu com>
11270
11271         * libs/gst/base/gstcollectpads.c:
11272           Fix two doc typos (#387866).
11273
11274 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11275
11276         * docs/manual/advanced-dparams.xml:
11277           Fix typo (g_object_control_properties() doesn't exist).
11278
11279 2006-12-19  Edward Hervey  <edward@fluendo.com>
11280
11281         * gst/gstsegment.c: (gst_segment_set_seek):
11282         Fine tune the cases where the segment start/stop values are really
11283         updated.
11284         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11285         Add tests for the return values of gst_segment_set_seek().
11286
11287 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11288
11289         * gst/gst.c:
11290           Docs typo fix.
11291
11292         * plugins/elements/gstqueue.c: (gst_queue_class_init),
11293         (gst_queue_init):
11294           Fix incorrect documentation and flesh it out a bit more.
11295           Set default values for the max properties on the GParamSpec as well,
11296           so it shows up correctly in gst-inspect.
11297
11298 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
11299
11300         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11301           Correct docs of queue, add more detail and crosslink it more.
11302
11303 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11304
11305         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11306           Print additional debug info when the stream isn't perfectly
11307           timestamped; don't try to use invalid durations.
11308
11309 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11310
11311         * docs/design/Makefile.am:
11312           Dist new design docs.
11313
11314 2006-12-16  Wim Taymans  <wim@fluendo.com>
11315
11316         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11317
11318         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11319         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11320         (gst_collect_pads_stop), (gst_collect_pads_event),
11321         (gst_collect_pads_chain):
11322         * libs/gst/base/gstcollectpads.h:
11323         Add refcounting to the collectpads data so we can track when it's safe
11324         to free the data. Fixes #383382.
11325
11326 2006-12-15  Wim Taymans  <wim@fluendo.com>
11327
11328         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11329         (gst_collect_pads_remove_pad):
11330         Automatically activate/deactivate pads when they are added to a
11331         started/stoped collectpads.
11332
11333 2006-12-15  Wim Taymans  <wim@fluendo.com>
11334
11335         * gst/gstelement.c: (gst_element_add_pad):
11336         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11337         * gst/gstpad.c: (gst_pad_init):
11338         Set pads to FLUSHING when they are created. Check, warn and fix when a
11339         demuxer adds an inactive pad to itself when running. Fixes #339326.
11340
11341 2006-12-15  Wim Taymans  <wim@fluendo.com>
11342
11343         * gst/gstelement.c: (gst_element_class_init),
11344         (gst_element_default_send_event), (gst_element_send_event),
11345         (gst_element_default_query), (gst_element_query):
11346         Expose default element send_event and query handling as vmethods that
11347         subclasses can chain up to.
11348
11349 2006-12-15  Wim Taymans  <wim@fluendo.com>
11350
11351         * gst/gstelement.c: (gst_element_set_state_func):
11352         Small documentation fixes.
11353
11354 2006-12-15  Wim Taymans  <wim@fluendo.com>
11355
11356         * docs/design/draft-latency.txt:
11357         Checked in draft for handling latency in pipelines.
11358
11359 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11360
11361         * Makefile.am:
11362         * gstreamer.doap:
11363         * gstreamer.spec.in:
11364           adding .doap file
11365
11366 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11367
11368         * gst/gst.c: (init_pre), (init_post):
11369           init_pre() and init_post() might be called via our GOptionGroup or
11370           from gst_init(), and we should skip both of them if we've already
11371           been initialised, otherwise we will init some things twice or add
11372           two default log functions.
11373
11374 2006-12-13  Edward Hervey  <edward@fluendo.com>
11375
11376         * docs/manual/basics-bus.xml:
11377         No, gst_main_loop does not exist. Its g_main_loop.
11378         Discovered by somebody who abused the copy-paste technique of coding :)
11379
11380 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11381
11382         * gst/gstghostpad.c:
11383           Log ghostpad debug stuff to the GST_PADS category as well rather
11384           than just to the default category.
11385
11386 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11387
11388         * configure.ac:
11389         * gst/gst.c: (init_pre):
11390           Add some basic system details such as OS and architecture
11391           to the debug output if possible, courtesy of uname().
11392
11393 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11394
11395         * docs/gst/running.xml:
11396           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11397           environment variables.
11398
11399 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11400
11401         * tests/check/gst/gstbin.c: (GST_START_TEST):
11402         It is acceptable to have a refcount of 2 or 3 at this point in the
11403         test, because the pipeline might be just posting its state_change
11404         message. The next line then waits for that message to appear using
11405         bus_poll, so that should be fine too.
11406
11407 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11408
11409         * gst/gst.c: (ensure_current_registry_forking):
11410         Ignore EINTR when reading from the child registry pipe.
11411         Explicitly ignore the return value from close, since it makes no
11412         difference.
11413
11414         * gst/gstminiobject.c: (gst_mini_object_ref),
11415         (gst_mini_object_unref):
11416         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11417
11418         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11419         When removing cached plugins, remove their features too, so they're
11420         not visible after they've disappeared.
11421
11422         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11423         In the unlikely case that we are linking pads with no parents, don't
11424         crash trying to get the non-existent parent bin.
11425
11426         * gst/parse/grammar.y:
11427         Output debug in the PIPELINE category
11428
11429 2005-03-08  Wim Taymans  <wim@fluendo.com>
11430
11431         Patch by: René Stadler <mail at renestadler dot de>
11432
11433         * gst/gstclock.c: (gst_clock_new_periodic_id):
11434         Reject invalid clock times for interval of periodic ids.
11435         Fixes ##383506.
11436
11437 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11438
11439         * gst/gstelementfactory.c: (gst_element_factory_create):
11440         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11441         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11442         * tools/gst-inspect.c: (print_element_info):
11443         Fix refcounting of gst_plugin_feature_load to match the docs. 
11444         Fixes: #380129
11445
11446 2006-12-07  Wim Taymans  <wim@fluendo.com>
11447
11448         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11449         (gst_base_sink_get_position):
11450         Improve debugging of events.
11451
11452 2006-12-07  Wim Taymans  <wim@fluendo.com>
11453
11454         Patch by: René Stadler <mail at renestadler dot de>
11455
11456         * gst/gstclock.c: (gst_clock_id_wait):
11457         Make period ids add the interval to the origial requested time instead
11458         of the possibly updated time which can be wrong when there are multiple
11459         waiters for the same id. Fixes #382592.
11460
11461         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11462         (gst_system_clock_id_wait_jitter_unlocked),
11463         (gst_system_clock_id_wait_jitter):
11464         Fix restart in the async notify thread when an async entry is added to
11465         the front of the list. Fixes #381492. 
11466
11467         * tests/check/gst/gstsystemclock.c: (store_callback),
11468         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11469         Added test for multiple async waits.
11470         Added test for async wait order.
11471
11472 2006-12-07  Wim Taymans  <wim@fluendo.com>
11473
11474         * gst/gstbin.c: (gst_bin_query):
11475         Add some more docs about the POSITION query.
11476
11477 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11478
11479         * configure.ac:
11480         Bump version nano - back to CVS.
11481
11482 === release 0.10.11 ===
11483
11484 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11485
11486         * configure.ac:
11487           releasing 0.10.11, "Love never runs on time"
11488
11489 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11490
11491         * win32/common/libgstbase.def:
11492         * win32/common/libgstreamer.def:
11493         * win32/vs8/libgstbase.vcproj:
11494         * win32/vs8/libgstcoreelements.vcproj:
11495         * win32/vs8/libgstreamer.vcproj:
11496         Fix compilation on win32 under VS8
11497         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11498         Partially fixes #381175
11499
11500 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11501
11502         * gst/gstvalue.c: (gst_value_compare_fraction):
11503         If someone is foolish enough to compare 2 fractions with denominator =
11504         0, return UNORDERED rather than aborting.
11505
11506 2006-11-28  Edward Hervey  <edward@fluendo.com>
11507
11508         * libs/gst/base/Makefile.am:
11509         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11510         (gst_data_queue_base_init), (gst_data_queue_class_init),
11511         (gst_data_queue_init), (gst_data_queue_new),
11512         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11513         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11514         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11515         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11516         (gst_data_queue_set_flushing), (gst_data_queue_push),
11517         (gst_data_queue_pop), (gst_data_queue_drop_head),
11518         (gst_data_queue_set_property), (gst_data_queue_get_property):
11519         * libs/gst/base/gstdataqueue.h:
11520         New GstDataQueue object for threadsafe queueing. Most useful for
11521         elements that need some queueing functionnality.
11522         * docs/libs/gstreamer-libs-docs.sgml:
11523         * docs/libs/gstreamer-libs-sections.txt:
11524         Insert documentation for GstDataQueue
11525         * plugins/elements/Makefile.am:
11526         * plugins/elements/gstelements.c:
11527         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11528         (gst_multi_queue_class_init), (gst_multi_queue_init),
11529         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11530         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11531         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11532         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11533         (gst_multi_queue_loop), (gst_multi_queue_chain),
11534         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11535         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11536         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11537         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11538         (wake_up_next_non_linked), (compute_next_non_linked),
11539         (single_queue_overrun_cb), (single_queue_underrun_cb),
11540         (single_queue_check_full), (gst_single_queue_new):
11541         * plugins/elements/gstmultiqueue.h:
11542         New multiqueue element, using GstDataQueue. Used for queuing multiple
11543         streams.
11544         Closes #344639 and #347785
11545
11546 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11547
11548         * docs/pwg/advanced-types.xml:
11549           add more missing type details
11550
11551         * tools/gst-run.c: (main):
11552           remove unused variable
11553
11554 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11555
11556         * docs/libs/Makefile.am:
11557         * docs/libs/gstreamer-libs.types:
11558           add types of base classes to enable gobject specific stuff in the docs
11559
11560         * docs/random/ensonic/embedded.txt:
11561           more ideas about isolating platform specific things
11562
11563 2006-11-20  Wim Taymans  <wim@fluendo.com>
11564
11565         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11566
11567         * libs/gst/check/gstcheck.h:
11568         Fix compilation and running against 0.9.4. Fixes #377332.
11569
11570 2006-11-20  Wim Taymans  <wim@fluendo.com>
11571
11572         * gst/gstsegment.c: (gst_segment_set_seek),
11573         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11574         (gst_segment_to_running_time):
11575         Fix boundary checking in to_running_time() and to_stream_time().
11576         Fixes #377183.
11577
11578         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11579         stream and running time can now be calculated for the complete
11580         clipped segment.
11581
11582 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11583
11584         * gst/gstpad.c: (gst_pad_push_event):
11585           Can't access event structure after giving away ownership of
11586           the event.
11587
11588 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11589
11590         * docs/random/ensonic/embedded.txt:
11591         * docs/random/ensonic/profiling.txt:
11592         * docs/random/ensonic/receipies.txt:
11593           more thinking
11594
11595 2006-11-13  Wim Taymans  <wim@fluendo.com>
11596
11597         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11598
11599         * gst/gstpad.c:
11600         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11601
11602 2006-11-13  Wim Taymans  <wim@fluendo.com>
11603
11604         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11605
11606         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11607         Store new length in segment duration so we don't keep on calling the
11608         potentially expensize get_size() call. Fixes #370865.
11609
11610 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11611
11612         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11613
11614         * win32/common/libgstreamer.def:
11615           Add two missing symbols (#366492).
11616
11617 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11618
11619         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11620         (gst_adapter_take_buffer):
11621         Fix format string to use all its arguments.
11622         Remove useless >= check on a guint
11623
11624 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11625
11626         * tests/examples/adapter/.cvsignore:
11627         Ignore build file as commanded by the build-bot
11628
11629 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11630
11631         * tests/examples/adapter/Makefile.am:
11632         * tests/examples/adapter/adapter_test.c: (run_test_take),
11633         (run_test_take_buffer), (run_tests), (main):
11634
11635         Add new files from the previous commit
11636
11637 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11638
11639         * Makefile.am:
11640         * configure.ac:
11641         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11642         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11643         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11644         * libs/gst/base/gstadapter.h:
11645         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11646         (GST_START_TEST), (gst_adapter_suite):
11647         * tests/examples/Makefile.am:
11648         Do some optimisation work in GstAdapter to avoid copies in more cases.
11649         It could still do slightly better by merging buffers when
11650         gst_buffer_is_span_fast is true, but is already faster. 
11651
11652         Also, avoid traversing a single-linked list to append each incoming 
11653         buffer inside the adapter.
11654
11655         Add simple test app that times the adapter behaviour in different
11656         situations, and extend the unit test to check that bytes enter and
11657         exit the adapter in their original order.
11658
11659 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11660
11661         * docs/random/draft-missing-plugins.txt:
11662           Update: use element message instead of adding a new message
11663           type to the core; don't provide GStreamer API to initiate the
11664           plugin download, just provide API to compose the strings needed
11665           and let an external libgimmestuff handle the rest.
11666
11667 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11668
11669         * tools/gst-inspect.c: (print_element_properties_info):
11670         Print a string instead of 'unknown type' for GValueArray properties
11671
11672 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11673
11674         * docs/random/draft-missing-plugins.txt:
11675         More small fixes.
11676
11677 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11678
11679         * tests/examples/typefind/typefind.c: (type_found), (main):
11680           Make typefind element example work again (#371894); add a
11681           license header.
11682
11683 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11684
11685         * docs/random/draft-missing-plugins.txt:
11686           Commit initial draft about how to deal with missing plugins,
11687           needs work (API too).
11688
11689 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11690
11691         * docs/pwg/advanced-types.xml:
11692           documents the new caps elements (see #363118)
11693
11694 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11695
11696         * gst/gstplugin.c: (gst_plugin_load_file):
11697         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11698         (gst_file_src_map_region), (gst_file_src_start):
11699         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11700         (gst_file_index_commit):
11701           Use g_strerror() instead of strerror() - we want UTF-8.
11702
11703 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11704
11705         Patch by: Peter Kjellerstedt <pkj at axis com>
11706
11707         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11708           Another printf fix (#371493).
11709
11710 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11711
11712         * tests/check/gst/gsttag.c:
11713           relicence (okay with author=company)
11714
11715 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11716
11717         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11718         (gst_pad_push_event):
11719           Enhance debug and improve docs
11720         
11721         * gst/gsturi.c:
11722           Fix docs
11723
11724 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11725
11726         * docs/random/ensonic/distributed.txt:
11727         * docs/random/ensonic/profiling.txt:
11728           more ideas
11729
11730 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11731
11732         * docs/gst/gstreamer-sections.txt:
11733           add new API and fix the build
11734           
11735         * gst/gstbin.c: (gst_bin_recalc_state):
11736         * gst/gstelement.c: (gst_element_message_full),
11737         (gst_element_get_state_func), (gst_element_set_state_func):
11738           use new API and improve logging
11739         
11740         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11741         * gst/gstutils.h:
11742           API: add function to get StateChangereturn names to improve logs 
11743
11744 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11745
11746         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11747           I'm considering shooting the next person to put strerror stuff
11748           in the translateable part of the message.
11749
11750 2006-11-03  Wim Taymans  <wim@fluendo.com>
11751
11752         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11753         Get the type and printf conversion specifiers right.
11754
11755 2006-11-03  Wim Taymans  <wim@fluendo.com>
11756
11757         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11758
11759         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11760         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11761         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11762         Some small cleanups. Improve debugging.
11763         * gst/gstpad.h:
11764         Signal all waiting threads with a broadcast instead of just one.
11765         Fixes #369942.
11766
11767 2006-11-03  Wim Taymans  <wim@fluendo.com>
11768
11769         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11770         (gst_fd_src_create):
11771         Add some debugging. 
11772         Only update fd when it's different from the old.
11773
11774 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11775
11776         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11777           Printf fixes for PPC/OSX, take two (#369366).
11778
11779 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11780
11781         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11782
11783         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11784         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11785         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11786           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11787           don't cast to long long for portability reasons, but use
11788           GLib's types instead.
11789
11790 2006-10-30  Michael Smith  <msmith@fluendo.com>
11791
11792         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11793           Get the arguments to lseek() the right way around.
11794           Fixes 367677.
11795
11796 2006-10-30  Wim Taymans  <wim@fluendo.com>
11797
11798         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11799
11800         * gst/gstinfo.h:
11801         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11802
11803 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11804
11805         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11806
11807         * docs/design/part-MT-refcounting.txt:
11808         * docs/random/wtay/capsnego2-docs:
11809         * gst/gstclock.c:
11810         * gst/gstxml.c:
11811           Typo fixes (#366212).
11812
11813 2006-10-28  Wim Taymans  <wim@fluendo.com>
11814
11815         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11816
11817         * gst/gst.c:
11818         * win32/common/libgstbase.def:
11819         * win32/common/libgstreamer.def:
11820         * win32/vs8/libgstbase.vcproj:
11821         * win32/vs8/libgstcontroller.vcproj:
11822         Add needed entries in .def files.
11823         Use HAVE_UNISTD_H.
11824         Rearrange def files in vs8 solutions. Fixes #366286.
11825
11826 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11827
11828         * win32/common/gstconfig.h:
11829           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11830           hand-made win32 gstconfig.h. Fixes #366321.
11831
11832 2006-10-27  Wim Taymans  <wim@fluendo.com>
11833
11834         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11835         (gst_ghost_pad_new_full):
11836         Make acceptcaps return TRUE when we don't have a target, just like
11837         setcaps does.
11838
11839 2006-10-27  Wim Taymans  <wim@fluendo.com>
11840
11841         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11842         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11843
11844 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11845
11846         * gst/gststructure.c: (gst_structure_id_set_value):
11847           If someone tries to set a non-UTF8 string field on a structure,
11848           don't just print a warning, but also ignore the request and do
11849           not change/add that field to the structure.
11850
11851         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11852           Test for the above.
11853
11854 2006-10-25  David Schleef  <ds@schleef.org>
11855
11856         * gst/gstinfo.c:
11857           g_hash_table_insert() needs a cast to a non-const pointer duh.
11858
11859 2006-10-25  David Schleef  <ds@schleef.org>
11860
11861         * gst/gstinfo.c:
11862         * gst/gstinfo.h:
11863           Change name parameter of _gst_debug_register_funcptr to const
11864           to reflect the constness of its use in the function as well
11865           as to quiet a gcc warning.
11866
11867 2006-10-25  Edward Hervey  <edward@fluendo.com>
11868
11869         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11870         Don't push the buffer if it's empty.
11871         Closes #363095
11872
11873 2006-10-24  Wim Taymans  <wim@fluendo.com>
11874
11875         * gst/gstevent.h:
11876         Add small comment.
11877
11878         * libs/gst/base/gstbasetransform.c:
11879         (gst_base_transform_sink_eventfunc):
11880         Debug segment values *after* updating them as this is more
11881         interesting.
11882
11883 2006-10-23  Wim Taymans  <wim@fluendo.com>
11884
11885         * docs/design/part-events.txt:
11886         Update some docs.
11887
11888         * docs/design/part-block.txt:
11889         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11890         (gst_pad_push_event):
11891         Revert BLOCKING patch, it tries to be smart without really having a
11892         clear idea what or how. So, now we discard all FLUSHING events again on
11893         a blocking pad. Should fix gnonlin again.
11894
11895 2006-10-23  Wim Taymans  <wim@fluendo.com>
11896
11897         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11898
11899         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11900         (gst_base_src_start), (gst_base_src_activate_push):
11901         Make sure size is always initialized. Fixes #364388.
11902
11903 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11904
11905         * docs/random/ensonic/distributed.txt:
11906           add some ideas about doing distributed processing
11907
11908         * docs/random/ensonic/profiling.txt:
11909           get_rusage look promising
11910
11911 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11912
11913         * docs/manual/basics-helloworld.xml:
11914           Add a cast in example to fix compile warning
11915
11916 2006-10-18  Wim Taymans  <wim@fluendo.com>
11917
11918         * gst/gstsegment.c: (gst_segment_set_last_stop),
11919         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11920         Relax arg checking again, -1 is allowed.
11921
11922 2006-10-18  Wim Taymans  <wim@fluendo.com>
11923
11924         * gst/gstsegment.c: (gst_segment_set_last_stop),
11925         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11926         _set_last_stop() must be with a value != -1
11927         A _TYPE_SET to -1 means seek to 0.
11928         Calc last_stop correctly for negative rates.
11929         Make sure we work with positive durations when updating a segment.
11930
11931 2006-10-18  Wim Taymans  <wim@fluendo.com>
11932
11933         * docs/design/part-live-source.txt:
11934         * gst/gstclock.h:
11935         Small docs fixes.
11936
11937 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11938
11939         * gst/gstbuffer.h:
11940           Add an explicit cast to GstBuffer** to keep old code that added an
11941           explicit cast to GstMiniObject** for gst_mini_object_replace()
11942           compiling without warning.
11943
11944 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11945
11946         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11947           check for validity of dates
11948
11949 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11950
11951         * docs/gst/gstreamer-sections.txt:
11952           Forgot this one, makes gtk-doc shut up.
11953
11954 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11955
11956         Patch by: Peter Kjellerstedt <pkj at axis com>
11957
11958         * gst/gstobject.h:
11959           Don't define xmlNodePtr to gpointer if the core was built with
11960           --disable-loadsave and --disable-registry, this will break
11961           applications that want to use libxml2 but are buildling against a
11962           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11963           instead so we don't have to mess with the libxml2 namespace
11964           (#361675).
11965
11966 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11967
11968         * gst/gstbuffer.h:
11969           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11970           type-punned pointer warnings.
11971
11972 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11973
11974         * gst/gstelement.h:
11975           Add casts to the correct return type to state <=> state transition
11976           macros.
11977
11978 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11979
11980         * docs/design/part-live-source.txt:
11981           describe howto handle latency
11982         
11983         * docs/random/ensonic/profiling.txt:
11984           more ideas
11985
11986         * tools/gst-plot-timeline.py:
11987           fix log parsing for solaris, remove unused function
11988
11989 2006-10-16  Wim Taymans  <wim@fluendo.com>
11990
11991         * docs/design/part-trickmodes.txt:
11992         * gst/gstevent.c:
11993         Update some docs regarding reverse playback.
11994
11995 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11996
11997         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11998
11999         * win32/vs8/grammar.vcproj:
12000           Error out with a warning if glib-genmarshal.exe is not in path,
12001           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
12002
12003 2006-10-13  Wim Taymans  <wim@fluendo.com>
12004
12005         * gst/gstsegment.c: (gst_segment_set_seek):
12006         When seeking to stop -1, set last_stop (current position) to the
12007         duration of the segment.
12008
12009 2006-10-13  Wim Taymans  <wim@fluendo.com>
12010
12011         * gst/gstelement.h:
12012         Clarify _NO_PREROLL a bit more.
12013
12014         * gst/gstevent.c:
12015         Fix docs.
12016
12017         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
12018         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
12019         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
12020         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
12021         due to wrong locking order. Fixes #361769.
12022         Remove some redundant/misplaced checks in pad_block.
12023
12024         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12025         For negative rates, count backwards from the duration.
12026
12027 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
12028
12029         * gst/gsterror.c: (_gst_library_errors_init):
12030           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
12031           up with something better).
12032
12033 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
12034
12035         * win32/vs6/libgstreamer.dsp:
12036         * win32/vs7/libgstreamer.vcproj:
12037         * win32/vs8/libgstreamer.vcproj:
12038           Don't reference glib-compat.c which is currently not used and not
12039           disted; add gstquark.c which was recently added. Fixes #361730.
12040
12041 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
12042
12043         * win32/common/libgstbase.def:
12044         * win32/common/libgstcontroller.def:
12045         * win32/common/libgstreamer.def:
12046           Add gst_caps_merge() and a bunch of other recently-added functions.
12047           Fixes #361732.
12048
12049 2006-10-11  Wim Taymans  <wim@fluendo.com>
12050
12051         * docs/plugins/gstreamer-plugins.args:
12052         * docs/plugins/inspect/plugin-coreelements.xml:
12053         * docs/plugins/inspect/plugin-coreindexers.xml:
12054         Update element args.
12055
12056         * gst/gstsystemclock.c:
12057         Small comment update.
12058
12059         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12060         (gst_tee_request_new_pad), (gst_tee_release_pad),
12061         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
12062         (gst_tee_sink_activate_pull):
12063         * plugins/elements/gsttee.h:
12064         Some tee loving:
12065         Add default property defines.
12066         Implement release pad function.
12067         Give properties better blubs etc.
12068         Activate pads before adding them to a running tee.
12069         Do simple buffer_alloc on the first requested pad.
12070         Post error when activation fails.
12071
12072 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
12073
12074         * gst/gst.c: (ensure_current_registry_forking):
12075           Check return value of write() to make compiler happy.
12076
12077 2006-10-11  Wim Taymans  <wim@fluendo.com>
12078
12079         Patch by: Sjoerd Simons <sjoerd at luon dot net>
12080
12081         * plugins/elements/gstqueue.c: (gst_queue_chain):
12082         Recheck queue filledness after signalling the overrun when we're about
12083         to leak downstream because we released the lock when emitting the signal
12084         and the queue could be empty again. Fixes #352345.
12085
12086 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
12087
12088         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12089           Fix refcounting here too, just like we did for _new_valist() a few
12090           days ago (#357180) (thanks to René Stadler). Also remove all those
12091           'Since: 0.9' from the gtk-doc blobs.
12092
12093         * tests/check/libs/controller.c: (controller_refcount_new_list),
12094         (gst_controller_suite):
12095           Unit test for the above.
12096
12097 2006-10-10  Wim Taymans  <wim@fluendo.com>
12098
12099         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
12100
12101         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
12102         (gst_pad_save_thyself):
12103         Update some docs.
12104         Write pad direction in XML output. Fixes #345496.
12105
12106 2006-10-10  Wim Taymans  <wim@fluendo.com>
12107
12108         Patch by: René Stadler <mail at renestadler dot de>
12109
12110         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12111         (gst_controller_new_list), (_gst_controller_dispose),
12112         (_gst_controller_finalize), (_gst_controller_class_init):
12113         Take ref to controlled object so that it cannot disappear. 
12114         Fixes #357432.
12115
12116 2006-10-10  Wim Taymans  <wim@fluendo.com>
12117
12118         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
12119         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12120         (gst_check_teardown_sink_pad):
12121         Activate/deactivate pads in setup/teardown respectively.
12122
12123 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12124
12125         Patch by: Josep Torra Valles <josep@fluendo.com>
12126
12127         * gst/Makefile.am:
12128         Cast values when making gstenumtypes.h.  This pacifies Forte
12129         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12130         in the enumeration.
12131
12132 2006-10-09  Wim Taymans  <wim@fluendo.com>
12133
12134         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12135         Rename some more @cur to @start to fix docs. 
12136
12137         * gst/gstsegment.c: (gst_segment_set_seek):
12138         Fix typo.
12139         time and start must always stay in sync as defined in design doc.
12140
12141         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12142         Rename param to fix docs.
12143
12144         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12145         Check that start and time are in sync.
12146
12147         * tests/check/pipelines/parse-launch.c:
12148         (gst_parse_test_element_change_state):
12149         Activate pad before adding to the element.
12150
12151 2006-10-09  Wim Taymans  <wim@fluendo.com>
12152
12153         * docs/design/part-qos.txt:
12154         Fix typo.
12155
12156         * gst/gstevent.c:
12157         * gst/gstevent.h:
12158         Update seek event docs regarding negative rates.
12159         Rename @cur to @start. 
12160
12161         * gst/gstsegment.c: (gst_segment_set_seek):
12162         * gst/gstsegment.h:
12163         Update set_seek docs regarding negative rates.
12164         Correctly update last_stop to @stop when dealing with negative
12165         rates.
12166         Rename @cur to @start. 
12167
12168         * tests/check/gst/gstpad.c: (GST_START_TEST):
12169         Activate pads before trying to use them.
12170
12171         * tests/check/gst/gstsegment.c: (GST_START_TEST),
12172         (gst_segment_suite):
12173         Add simple check for segments and negative rates.
12174
12175 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
12176
12177         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12178         * gst/gsttaglist.h:
12179         * docs/gst/gstreamer-sections.txt:
12180           API: add gst_tag_list_is_empty() (#360467).
12181
12182         * tests/check/gst/gsttag.c: (GST_START_TEST):
12183           And a test case.
12184
12185 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12186
12187         * gst/gstmessage.h:
12188         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12189         a value that doesn't fit on enumeration.
12190
12191 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12192
12193         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12194         Remove local debugging system and use Gstreamer's instead.
12195
12196 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12197
12198         Patch by: Josep Torra Valles <josep@fluendo.com>
12199
12200         * common/m4/gst-error.m4:
12201         Disable warning of statement not reached on Forte.
12202         * gst/gstmessage.h:
12203         Fix warning on Forte (value doesn't fit on enumeration).
12204         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12205         Fix warning on Forte (value doesn't fit on enumeration).
12206         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12207         DEBUG macro says it takes minimum of 2 args and so Forte
12208         complains about the use with just 1 arg.
12209         * plugins/elements/gstfdsink.c:
12210         * plugins/elements/gstfdsrc.c:
12211         * plugins/elements/gstfilesink.c:
12212         * plugins/elements/gstfilesrc.c:
12213         Use correct return type for the uri handler implementations.
12214
12215         All these fix warnings in Forte.  Fixes bug #360860.
12216
12217 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
12218
12219         * gst/gstelement.h:
12220           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12221           format string, so don't use G_GNUC_PRINTF for those versions.
12222
12223 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12224
12225         * gst/gsttaglist.c: (gst_is_tag_list):
12226         * gst/gsttaglist.h:
12227           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12228
12229         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12230           Small test for the above.
12231
12232 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12233
12234         * gst/gsttaglist.h:
12235           Less tabs, more spaces.
12236
12237 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
12238
12239         * gst/gstinfo.h:
12240           Those two function declarations do actually belong there, revert
12241           commit from yesterday that turned them intro macros.
12242
12243 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12244
12245         Patch by: Josep Torra Valles <josep@fluendo.com>
12246
12247         * gst/gst.c: (gst_init_get_option_group):
12248         Fix empty declaration and type mismatch.
12249         * gst/gstbin.c: (gst_bin_change_state_func):
12250         Fix type mismatch.
12251         * gst/gstelement.c: (gst_element_continue_state),
12252         (gst_element_set_state_func), (gst_element_change_state),
12253         (gst_element_change_state_func):
12254         Fix type mismatches.
12255         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12256         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12257         Cast as appropriate.
12258         * gst/gstobject.c: (gst_class_signal_connect):
12259         Cast as appropriate.  The function pointer parameter really
12260         has the wrong type but would break API if we change it.
12261         * gst/gstquery.c:
12262         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12263         order of including string.h.
12264         * gst/gstutils.c: (gst_element_state_get_name):
12265         Remove unreachable line.
12266         * gst/gstxml.c: (gst_xml_parse_doc):
12267         Fix type mismatch.
12268         All these caught by Forte.
12269
12270 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12271
12272         Patch by: Josep Torra Valles <josep@fluendo.com>
12273
12274         * common/m4/gst-error.m4:
12275         Fixed bug #360151.
12276         We need to disable warnings on Forte for empty declarations
12277         due to gst-indent adding ;s to lines that just use macros
12278         where the macro actually doesn't need a ; at end to end
12279         statement.
12280
12281 2006-10-06  Wim Taymans  <wim@fluendo.com>
12282
12283         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12284         (gst_file_sink_close_file), (gst_file_sink_event),
12285         (gst_file_sink_render):
12286         Add some FIXME for the NEWSEGMENT handling.
12287
12288 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12289
12290         * gst/parse/grammar.y:
12291         Remove static function gst_parse_element_lock as all it does
12292         is return.  Looks like cruft from 0.8.
12293
12294 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12295
12296         Patch by: Josep Torra Valles <josep@fluendo.com>
12297
12298         * common/m4/gst-error.m4:
12299         * configure.ac:
12300         * libs/gst/net/Makefile.am:
12301         Fix a compilation issue with Forte on Solaris.  inet_aton is in
12302         libresolv.
12303
12304 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12305
12306         * gst/gstpad.c: (pre_activate):
12307         * gst/gstregistry.c: (gst_registry_scan_path_level):
12308         * gst/gstregistryxml.c: (load_plugin):
12309         * libs/gst/controller/gstcontroller.c:
12310         (gst_controlled_property_set_interpolation_mode):
12311         * libs/gst/dataprotocol/dataprotocol.c:
12312         (gst_dp_packet_from_event_1_0):
12313         * libs/gst/net/gstnetclientclock.c:
12314         (gst_net_client_clock_observe_times):
12315         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12316           Printf fixes.
12317
12318 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12319
12320         * configure.ac:
12321         * docs/gst/gstreamer-sections.txt:
12322         * gst/gstconfig.h.in:
12323         * gst/gstelement.h:
12324         * gst/gstinfo.h:
12325           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12326           whether we can use G_GNUC_PRINTF in other header files and at
12327           least check the printf format/arguments of debug messages and
12328           GST_ELEMENT_ERROR messages when the printf extension is not
12329           being used.
12330           Replace more tabs with spaces in gstinfo.h and remove two spurious
12331           function declarations in GST_DISABLE_DEBUG part with macros.
12332
12333 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
12334
12335         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12336           More docs for the sync-message signal (mention that it is not
12337           emitted by default); log message structures of messages posted on
12338           the bus as well.
12339
12340 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
12341
12342         * gst/gst.c: (ensure_current_registry_forking):
12343         Use a pipe pair to receive status results from the forked child, and
12344         ignore the result from waitpid. Fixes #355499
12345
12346 2006-10-02  Wim Taymans  <wim@fluendo.com>
12347
12348         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12349         (gst_ghost_pad_suite):
12350         Fix leak in check.
12351
12352 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12353
12354         * gst/gstpad.c:
12355           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12356
12357 2006-10-02  Edward Hervey  <edward@fluendo.com>
12358
12359         * docs/design/part-block.txt:
12360         Further explain the use of flushing on blocked pads.
12361         * docs/gst/gstreamer-sections.txt:
12362         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12363         (gst_pad_push_event):
12364         * gst/gstpad.h:
12365         Added new GstPadFlag : GST_PAD_BLOCKING.
12366         Adds the notion of pads really blocking, which enables to properly
12367         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12368         Fixes #358999
12369         API: gst_pad_is_blocking()
12370         API: GST_PAD_IS_BLOCKING() macro
12371         API: GST_PAD_BLOCKING GstPadFlag
12372         
12373 2006-10-02  Wim Taymans  <wim@fluendo.com>
12374
12375         Patch by: mrcgran <mrc.gran at gmail dot com>
12376
12377         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12378         Filter the proxied caps against the padtemplate if we have one.
12379
12380         * gst/gstquery.c: (gst_query_new_segment):
12381         Add include for gstinfo.h so that compilation with
12382         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12383
12384 2006-10-02  Wim Taymans  <wim@fluendo.com>
12385
12386         Patch by: Alessandro Decina  <alessandro at nnva org>
12387
12388         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12389         (gst_file_sink_set_location), (gst_file_sink_open_file),
12390         (gst_file_sink_close_file), (gst_file_sink_event),
12391         (gst_file_sink_render):
12392         Set file to NULL when closing filesink so that we can set a new filename
12393         in READY. Fixes #358613.
12394
12395 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12396
12397         Patch by: Alessandro Decina  <alessandro at nnva org>
12398
12399         * gst/gstevent.c: (_gst_event_copy):
12400           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12401           with event structures by setting the parent refcount address of the
12402           copied structure to the address of the refcount member of the newly
12403           copied event rather than the address of the refcount member of the
12404           original event. Fixes #358737.
12405
12406         * tests/check/gst/gstevent.c: (GST_START_TEST):
12407           Unit test for the above.
12408
12409 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12410
12411         * docs/design/Makefile.am:
12412           Dist some more files.
12413
12414 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12415
12416         * tests/check/libs/controller.c: (GST_START_TEST),
12417         (gst_controller_suite):
12418           Add test for the previous fix; add some more tests
12419           for correct refcounting behaviour; fix a few leaks
12420           in test cases; call gst_controller_init() at start
12421           of all tests.
12422
12423 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12424
12425         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12426         (gst_controller_set_from_list):
12427           Don't g_return_val_if_fail() on timed values with invalid timestamps
12428           inside a critical section without unlocking the mutex. Spotted by
12429           René Stadler. (#357617)
12430           Also, fix up refcounting properly: when returning an existing
12431           controller, we should increase the reference only once and not
12432           once per property and when trying to control a property again
12433           we should also increase the refcount.
12434
12435 2006-09-29  Wim Taymans  <wim@fluendo.com>
12436
12437         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12438         * libs/gst/net/gstnettimeprovider.c:
12439         (gst_net_time_provider_thread):
12440         Stop reading commands when EOF as well.
12441
12442         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12443         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12444         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12445         Unify description of the dump property.
12446
12447 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12448
12449         * tests/examples/manual/.cvsignore:
12450         OK, so it's actually cvsignore that needs changing. Stop laughing.
12451
12452 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12453
12454         * tests/examples/manual/Makefile.am:
12455         Gah, declare vars *before* using them
12456
12457 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12458
12459         * gst/gst.c: (init_pre), (scan_and_update_registry),
12460         (ensure_current_registry_nonforking),
12461         (ensure_current_registry_forking), (ensure_current_registry),
12462         (init_post), (gst_debug_help), (gst_deinit):
12463         * gst/gst_private.h:
12464         * gst/gstregistry.c: (gst_registry_finalize),
12465         (gst_registry_remove_features_for_plugin_unlocked),
12466         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12467         (gst_registry_scan_path),
12468         (_priv_gst_registry_remove_cache_plugins),
12469         (_priv_gst_registry_cleanup):
12470         * gst/gstregistry.h:
12471         Re-commit the registry changes, along with an extra fix:
12472           When a cached plugin is encountered at a different file path,
12473           update the stored path in the registry cache so that the parent
12474           process knows where it actually is now when it re-reads the registry
12475           cache. Fixes the thing that broke distcheck with the previous commit.
12476
12477         * tests/check/Makefile.am:
12478         Clean up files named 'core' too when running make clean.
12479
12480         * tests/examples/manual/Makefile.am:
12481         Set up a registry path for running these tests, and clean it properly
12482         for distcheck.
12483
12484 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12485
12486         * configure.ac:
12487         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12488         want gmodule-no-export-2.0.pc instead so that we don't drag in
12489         --export-dynamic on every project that links to GStreamer.
12490
12491         Also, make our export regex only match the start of symbols, rather 
12492         than any symbol that contains '_gst' somewhere.
12493
12494         * libs/gst/check/Makefile.am:
12495         The libgstcheck we build does however need export-dynamic, as it
12496         produces some symbols that don't match our _gst... style regex.
12497         Fixes: #318031
12498
12499 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12500
12501         * gst/gst.c: (init_pre), (scan_and_update_registry),
12502         (ensure_current_registry_nonforking),
12503         (ensure_current_registry_forking), (ensure_current_registry),
12504         (init_post), (gst_debug_help), (gst_deinit):
12505         * gst/gst_private.h:
12506         * gst/gstregistry.c: (gst_registry_finalize),
12507         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12508         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12509         (_gst_registry_cleanup):
12510         * gst/gstregistry.h:
12511           Revert previous change until I figure out why it breaks distcheck.
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
12520           Make init_pre and init_post take the full complement of GOptionFunc
12521           args so they can return useful GErrors. Make the registry updating
12522           functions do so.
12523
12524           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12525           ensure that the registry we're about to write out doesn't contain
12526           stale information about old-deleted plugin files.
12527
12528           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12529           that deletion of plugin files is considered a registry change.
12530
12531         * gst/gst_private.h:
12532         * gst/gstregistry.c: (gst_registry_finalize),
12533         (gst_registry_remove_features_for_plugin_unlocked),
12534         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12535         (gst_registry_scan_path),
12536         (_priv_gst_registry_remove_cache_plugins),
12537         (_priv_gst_registry_cleanup):
12538         * gst/gstregistry.h:
12539         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12540         by adding _priv prefix, so that they won't appear in the global
12541         symbol table. They still do atm though because of #318031. Move the
12542         prototypes to gst_private.h
12543
12544         When removing a plugin, remove all features for that plugin too. 
12545         Fixes #340878.
12546
12547 2006-09-27  Wim Taymans  <wim@fluendo.com>
12548
12549         * docs/random/moving-plugins:
12550         Make it clear that the "compiled-in descriptions" really mean
12551         the element details.
12552
12553         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12554         (gst_base_sink_wait_preroll):
12555         Update docs.
12556
12557         * docs/libs/gstreamer-libs-sections.txt:
12558         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12559         (gst_base_src_get_range), (gst_base_src_activate_push):
12560         * libs/gst/base/gstbasesrc.h:
12561         Added function to block while waiting for PLAYING, this function
12562         is used by live sources that block on the clock.
12563         API: gst_base_src_wait_playing()
12564
12565 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12566
12567         Patch by: Peter Kjellerstedt <pkj at axis com>
12568
12569         * Makefile.am:
12570           gst-element-check.m4 is generated and should therefore be
12571           copied from the build dir rather than the source dir (#357593).
12572           'make distcheck' hasn't noticed this because we were disting
12573           the file as well, so stop doing that.
12574
12575 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12576
12577         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12578           Add some tests for gst_caps_intersect().
12579
12580         * tools/gst-launch.c: (event_loop):
12581           Print all buffering percentages we get, even the 100% one.
12582
12583 2006-09-26  Wim Taymans  <wim@fluendo.com>
12584
12585         * tools/gst-inspect.c: (print_element_properties_info),
12586         (print_signal_info):
12587         Fix printing of flags to match the look of enums.
12588
12589 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12590
12591         * gst/gstelementfactory.c:
12592           Fix typo in docs blurb.
12593
12594 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12595
12596         * gst/gsturi.c: (search_by_entry):
12597           Don't assert/crash here if a uri handler doesn't return any
12598           supported protocols. The list of protocols could be generated
12599           dynamically at runtime or at plugin registration, and an error
12600           in the underlying library shouldn't be fatal (#353301).
12601
12602 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12603
12604         * gst/gstinfo.c:
12605           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12606           (spotted by Peter Kjellerstedt).
12607
12608 2006-09-23  Wim Taymans  <wim@fluendo.com>
12609
12610         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12611
12612         * libs/gst/base/gstbasesrc.c:
12613         (gst_base_src_default_check_get_range), (gst_base_src_start),
12614         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12615         (gst_base_src_change_state):
12616         Match _start/_stop calls in the activate functions. Remove redundant
12617         _stop call from the state change function. Fixes #356910.
12618         Turn failure DEBUG into ERROR. 
12619
12620 2006-09-22  Wim Taymans  <wim@fluendo.com>
12621
12622         * docs/design/part-buffering.txt:
12623         * gst/gstmessage.c: (gst_message_new_buffering),
12624         (gst_message_parse_buffering):
12625         Update docs about buffering.
12626
12627         * docs/design/part-trickmodes.txt:
12628         Fix typo.
12629
12630 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12631
12632         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12633         (gst_controller_new_list):
12634           Ref instances when returning them again (fixes #357180)
12635
12636 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12637
12638         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12639           Don't forget to release proxy lock when there's an error.
12640
12641 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12642
12643         * gst/gstcaps.h:
12644           Add extra initialisers for Caps things, to fix some plugin warnings
12645           when using -Wextra
12646
12647 2006-09-18  Wim Taymans  <wim@fluendo.com>
12648
12649         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12650           Also set template on the internal pad so that a getcaps from the 
12651           target pad returns the template caps.
12652
12653 2006-09-18  Wim Taymans  <wim@fluendo.com>
12654
12655         * gst/gstelement.c: (gst_element_post_message),
12656         (gst_element_dispose):
12657         Use _DEBUG_OBJECT some more.
12658
12659         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12660         Avoid typechecks.
12661
12662         * tools/gst-launch.c: (main):
12663         If the toplevel element is not a GstPipeline, it must be put in a
12664         pipeline so that a bus and clock is selected.
12665
12666 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12667
12668         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12669           JITTER, RATE, and LATENCY query should be handled by the
12670           default case and not by the CONVERT query code.
12671
12672 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12673
12674         * gst/gstformat.c: (gst_format_register):
12675           Fix locking order (must take lock before using n_values).
12676
12677         * gst/gstvalue.c: (gst_value_serialize_enum),
12678         (gst_value_deserialize_enum_iter_cmp),
12679         (gst_value_deserialize_enum):
12680           Fix serialisation/deserialisation of custom registered GstFormats.
12681
12682         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12683           Unit test for custom format serialisation/deserialisation.
12684
12685 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12686
12687         * docs/pwg/building-boiler.xml:
12688         * plugins/elements/gstcapsfilter.c:
12689         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12690         section.
12691
12692 2006-09-16  Edward Hervey  <edward@fluendo.com>
12693
12694         * libs/gst/base/gstbasetransform.c:
12695         (gst_base_transform_buffer_alloc):
12696         Check if requested caps are the same as the sinks caps IF
12697         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12698         is FALSE.
12699         This fixes the renegotiation issues stated in #352827.
12700
12701 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12702
12703         * configure.ac:
12704         * docs/manual/advanced-autoplugging.xml:
12705         * tests/examples/Makefile.am:
12706         * tests/examples/manual/.cvsignore:
12707         * tests/examples/manual/Makefile.am:
12708         * tests/examples/manual/extract.pl:
12709           Extract the manual examples again like we used to do.
12710           Fix one of them.
12711
12712 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12713
12714         * win32/common/config.h:
12715           update for version
12716
12717 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12718
12719         * gst/gsterror.c:
12720           Documents how to receive errors.
12721
12722 2006-09-15  Wim Taymans  <wim@fluendo.com>
12723
12724         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12725         (event_loop), (main):
12726         Added some comments here and there.
12727         Post an application message when an interrupt is caught instead of doing
12728         an uncontrolled state change.
12729         Clean up the event loop.
12730         Handle buffering messages, pause/resume the pipeline.
12731         Make shutdown because of an interrupt more reliable.
12732
12733 2006-09-15  Wim Taymans  <wim@fluendo.com>
12734
12735         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12736         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12737         (gst_base_sink_preroll_object):
12738         Make sure that our internal state is correct when we commit our state
12739         asynchronously. This solves a race where a state change to PLAYING
12740         could cause the sink to remain blocked in preroll in some situations.
12741
12742 2006-09-15  Wim Taymans  <wim@fluendo.com>
12743
12744         * tools/gst-inspect.c: (print_element_properties_info),
12745         (print_signal_info):
12746         List flags as hex so it's easier to deal with.
12747
12748 2006-09-15  Wim Taymans  <wim@fluendo.com>
12749
12750         * docs/libs/gstreamer-libs-sections.txt:
12751         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12752         (gst_base_sink_do_sync):
12753         * libs/gst/base/gstbasesink.h:
12754         Expose logic to wait for preroll so that subclasses such as audiosink
12755         can also use this method.
12756         API: gst_base_sink_wait_preroll()
12757
12758 2006-09-15  Wim Taymans  <wim@fluendo.com>
12759
12760         * gst/gstobject.c: (gst_object_set_parent):
12761         * gst/gstpipeline.c: (do_pipeline_seek):
12762         Small cleanups in docs and code.
12763
12764         * gst/gstsegment.c: (gst_segment_clip):
12765         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12766         if stop == start and start is in the segment, no clipping should be
12767         done. Also add a test for this.
12768
12769 2006-09-15  Wim Taymans  <wim@fluendo.com>
12770
12771         * docs/design/part-buffering.txt:
12772         * docs/gst/gstreamer-sections.txt:
12773         * gst/gstmessage.c: (gst_message_new_buffering),
12774         (gst_message_parse_buffering):
12775         * gst/gstmessage.h:
12776         Added methods to create and parse BUFFERING messages.
12777         Added preliminary docs about buffering.
12778         API: gst_message_new_buffering
12779         API: gst_message_parse_buffering
12780
12781 2006-09-06  Wim Taymans  <wim@fluendo.com>
12782
12783         * gst/gstbin.c:
12784         Update documentation.
12785
12786         * gst/gstelement.c: (gst_element_class_init),
12787         (gst_element_release_request_pad), (gst_element_set_clock),
12788         (gst_element_get_index), (gst_element_add_pad),
12789         (gst_element_remove_pad), (gst_element_get_random_pad),
12790         (gst_element_send_event), (gst_element_get_query_types),
12791         (gst_element_query), (gst_element_post_message),
12792         (gst_element_message_full), (gst_element_continue_state),
12793         (gst_element_lost_state), (gst_element_save_thyself),
12794         (gst_element_restore_thyself):
12795         Documentation updates.
12796         Rename last bit of the new-pad -> pad-added signal rename.
12797         Fix the case where an element query would only work if the source
12798         pad was linked.
12799         Avoid some useless type checking in message handling.
12800
12801         * gst/gstevent.c:
12802         * gst/gstevent.h:
12803         * gst/gstutils.c:
12804         Documentation updates.
12805
12806 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12807
12808         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12809           add an INFO line for when we actually update the fd
12810
12811 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12812
12813         * configure.ac:
12814           back to TRUNK
12815
12816 === release 0.10.10 ===
12817
12818 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12819
12820         * configure.ac:
12821           releasing 0.10.10, "Pais"
12822
12823 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12824
12825         * docs/manual/advanced-position.xml:
12826           Fix typo in sample code.
12827
12828 2006-09-05  Wim Taymans  <wim@fluendo.com>
12829
12830         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12831         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12832         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12833         * libs/gst/net/gstnetclientclock.h:
12834         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12835         * libs/gst/net/gstnettimepacket.h:
12836         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12837         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12838         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12839         * libs/gst/net/gstnettimeprovider.h:
12840         Make stuff compile on windows. Fixes #345295.
12841
12842 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12843
12844         * gst/gst.c: (ensure_current_registry_forking):
12845           Print better details when child was terminated by signal.
12846
12847 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12848
12849         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12850           Print a warning rather than g_assert() if a plugin feature
12851           is a URI handler but returns no protocols (#353976).
12852
12853 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12854
12855         * docs/random/moving-plugins:
12856         Fix two typos.         
12857
12858 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12859
12860         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12861           Fix locking order, handle NULL function values properly.
12862
12863         * gst/gstinfo.h:
12864           Fix docs.
12865
12866         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12867           Initialise variable before using it and fix debug statement to
12868           print the address of the function rather than the address of the
12869           variable on the stack holding the address of the function.
12870
12871 2006-09-01  Wim Taymans  <wim@fluendo.com>
12872
12873         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12874         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12875         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12876         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12877         (gst_ghost_pad_parent_unset),
12878         (gst_ghost_pad_internal_do_activate_push),
12879         (gst_ghost_pad_internal_do_activate_pull),
12880         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12881         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12882         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12883         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12884         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12885         (gst_ghost_pad_new_no_target_from_template),
12886         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12887         More cleanups.
12888         Avoid needless typechecking in macros.
12889         Since the internal pad is always present and never changes, there is
12890         no need to locking or ref when retrieving it.
12891         Improve debugging a bit.
12892         Handle link errors when setting the target. Fixes #341029.
12893
12894 2006-09-01  Wim Taymans  <wim@fluendo.com>
12895
12896         * docs/libs/gstreamer-libs-sections.txt:
12897         * docs/plugins/gstreamer-plugins-sections.txt:
12898         Fix docs some more.
12899
12900         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12901         (gst_collect_pads_event):
12902         * libs/gst/base/gstcollectpads.h:
12903         Documentation updates.
12904         Free queued buffer when removing a pad.
12905
12906 2006-08-31  Michael Smith  <msmith@fluendo.com>
12907
12908         * gst/gstutils.c: (gst_element_link_pads),
12909         (gst_element_link_pads_filtered):
12910           Ensure that we set a capsfilter to NULL if we failed to link it
12911           when doing filtered linking, to avoid criticals.
12912
12913           No need to check for unreffing srcpad, which is explicly NULLed
12914           above (a trivial code cleanup).
12915
12916 2006-08-31  Wim Taymans  <wim@fluendo.com>
12917
12918         * docs/design/part-gstghostpad.txt:
12919         Update ascii art in documentation.
12920
12921         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12922         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12923         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12924         (gst_ghost_pad_internal_do_activate_push),
12925         (gst_ghost_pad_internal_do_activate_pull),
12926         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12927         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12928         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12929         (gst_ghost_pad_set_target):
12930         Small cleanups and leak fixes.
12931         Remove some checks now that the internal pad is never NULL.
12932         Fix the case where linking pads without a target would create nasty
12933         criticals. Fixes #341029.
12934         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12935         value of _set_target().
12936
12937         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12938         (gst_ghost_pad_suite):
12939         Some more tests for creating and linking untargeted ghostpads.
12940
12941 2006-08-31  Edward Hervey  <edward@fluendo.com>
12942
12943         * docs/gst/gstreamer-sections.txt:
12944         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12945         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12946         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12947         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12948         (gst_ghost_pad_new_from_template),
12949         (gst_ghost_pad_new_no_target_from_template):
12950         * gst/gstghostpad.h:
12951         Refactored *_new() functions.
12952         Templates are now used as a g_object_new() parameter.
12953         Use template in _do_getcaps() if we don't have a target.
12954         Small documentation cleanups.
12955         Added two new constructors:
12956         gst_ghost_pad_new_from_template()
12957         gst_ghost_pad_new_no_target_from_template()
12958         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12959         (gst_ghost_pad_suite):
12960         Added tests for new ghostpad instanciation functions.
12961
12962         API additions: gst_ghost_pad_new_from_template,
12963         gst_ghost_pad_new_no_target_from_template
12964
12965 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12966
12967         * docs/random/ensonic/profiling.txt:
12968           Ideas about qos profiling.
12969
12970 2006-08-29  Wim Taymans  <wim@fluendo.com>
12971
12972         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12973         Code cleanups.
12974         Fix memleak.
12975
12976 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12977
12978         * gst/gstxml.c:
12979           Improve and detypofy docs.
12980
12981         * tests/check/Makefile.am:
12982         * tests/check/gst/.cvsignore:
12983         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12984           Add a basic test suite for GstXML.
12985
12986 2006-08-29  Wim Taymans  <wim@fluendo.com>
12987
12988         * gst/gstelement.c: (activate_pads), (clear_caps),
12989         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12990         Clear the pad caps when the element shut down all of the pads and
12991         is not streaming data that could modify the caps. 
12992         Fixes #352958.
12993
12994 2006-08-28  Michael Smith  <msmith@fluendo.com>
12995
12996         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12997           Revert previous change; I misunderstood single-segment mode.
12998
12999 2006-08-28  Michael Smith  <msmith@fluendo.com>
13000
13001         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13002           Unset DISCONT on buffers when using single-segment mode.
13003
13004 2006-08-28  Wim Taymans  <wim@fluendo.com>
13005
13006         * gst/gstcaps.c: (gst_caps_merge_structure):
13007         * gst/gstcaps.h:
13008         Fix docs and indentation again.
13009
13010         * tests/check/gst/gstquery.c: (GST_START_TEST):
13011         Fix leak in tests and add some more tests.
13012
13013 2006-08-28  Edward Hervey  <edward@fluendo.com>
13014
13015         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13016         Inform GstSegment of the last stop position in order for the current
13017         segment to have a proper duration if it doesn't have a specific stop
13018         position from which a duration could be calculated.
13019         This bug was noticeable when a non-flushing, non-update new segment was
13020         followed by another segment (all buffers from the new segment were being
13021         dropped).
13022
13023 2006-08-28  Wim Taymans  <wim@fluendo.com>
13024
13025         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13026         Small comment update.
13027
13028         * plugins/elements/gstidentity.c: (gst_identity_class_init),
13029         (gst_identity_transform_ip):
13030         Drop-probability is broken, mention this in the code with a 
13031         FIXME and also in the property description.
13032         Make silent also be silent about the drop messages.
13033
13034 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
13035
13036         * docs/manual/appendix-win32.xml:
13037           Remove mention of popt, we don't depend on that any
13038           longer (#353136). Add some comments pointing out that
13039           this section is slightly outdated.
13040
13041 2006-08-28  Wim Taymans  <wim@fluendo.com>
13042
13043         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13044
13045         * gst/gstquery.c: (gst_query_new_segment):
13046         * tests/check/gst/gstquery.c: (GST_START_TEST):
13047         Initialize variables when creating a new segment query.
13048         Fixes #353121.
13049
13050 2006-08-28  Wim Taymans  <wim@fluendo.com>
13051
13052         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13053
13054         * gst/gstelement.c: (gst_element_get_bus):
13055         * tests/check/gst/gstelement.c: (GST_START_TEST):
13056         Check for NULL before _reffing the bus. Fixes #353122.
13057
13058 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
13059
13060         * docs/manual/basics-bus.xml:
13061           Docs update: fix wrong callback return value explanation; add
13062           some lines about the implicit relationship between main loop
13063           and main context; remove duplicate main loop variable declaration.
13064
13065 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
13066
13067         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13068           Don't leak caps in unit test; add a few more simple
13069           checks. 
13070
13071 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
13072
13073         * docs/gst/gstreamer-sections.txt:
13074         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
13075         (gst_caps_structure_is_subset), (gst_caps_merge),
13076         (gst_caps_merge_structure):
13077         * gst/gstcaps.h:
13078         * libs/gst/base/gstbasetransform.c:
13079         (gst_base_transform_transform_caps):
13080         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13081           implement caps merging (fixes #352580)
13082
13083 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
13084
13085         * tools/Makefile.am:
13086         * tools/gst-plot-timeline.py:
13087           add debug-log plotting developer tool (#340674)
13088
13089 2006-08-23  Wim Taymans  <wim@fluendo.com>
13090
13091         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
13092         (gst_pad_stop_task):
13093         Improve debugging for task functions.
13094
13095         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
13096         (gst_task_start), (gst_task_pause), (gst_task_join):
13097         Make sure that the task function started and finished after a 
13098         join(). 
13099         Don't try to push the task function on the threadpool multiple
13100         times.
13101         Improve the g_warning message with some useful suggestions
13102         about how to fix the problem. 
13103
13104 2006-08-23  Wim Taymans  <wim@fluendo.com>
13105
13106         * gst/gstutils.c: (gst_pad_proxy_getcaps):
13107         Handle RESYNC correctly in _proxy_getcaps.
13108
13109 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
13110
13111         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
13112         (gst_xml_parse_memory), (gst_xml_get_element):
13113           Chain up to parent class in dispose function and also
13114           unref the elements in the toplevel_elements GList.
13115           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
13116           Always return a reference in gst_xml_get_element() rather
13117           than only sometimes.
13118
13119         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13120           Don't leak GstXml object.
13121
13122 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
13123
13124         * docs/gst/gstreamer-sections.txt:
13125         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
13126         (gst_caps_merge):
13127         * gst/gstcaps.h:
13128         * libs/gst/base/gstbasetransform.c:
13129         (gst_base_transform_transform_caps):
13130           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13131           in a better way
13132
13133 2006-08-21  Edward Hervey  <edward@fluendo.com>
13134
13135         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13136         Implement GObject::dispose virtual method in GstXML so we can free the
13137         top_elements GList.
13138
13139 2006-08-21  Wim Taymans  <wim@fluendo.com>
13140
13141         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13142         (gst_buffer_create_sub):
13143         Copy duration/offset_end/caps when creating a subbuffer of the
13144         complete parent.
13145         Make the subbuffer read-only when we make the metadata writable for
13146         now. Fixes #351768.
13147
13148         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13149         Added check for metadata copy when creating subbuffers.
13150
13151 2006-08-21  Edward Hervey  <edward@fluendo.com>
13152
13153         * libs/gst/base/gstbasetransform.c:
13154         (gst_base_transform_buffer_alloc):
13155         Only call downstream buffer_alloc if transform element is passthrough
13156         or always_in_place. Closes #350449.
13157
13158 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13159
13160         * ChangeLog:
13161           ChangeLog surgery to add comments to previous changes
13162
13163 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13164
13165         * gst/gst.c:
13166           Add comments
13167
13168         * gst/gstpad.c: (gst_pad_set_active):
13169           Be more verbose in the log
13170
13171         * libs/gst/base/gstbasetransform.c:
13172         (gst_base_transform_transform_caps):
13173           Simplify caps to get rid of duplicates, fixes #345444
13174
13175 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13176
13177         * gst/gstvalue.c:
13178         * gst/gstvalue.h:
13179           Use these optimizations only internally.
13180
13181 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13182
13183         * gst/gstvalue.c: (gst_value_compare_list),
13184         (gst_value_compare_fraction_range),
13185         (gst_value_intersect_fraction_fraction_range),
13186         (gst_value_intersect_fraction_range_fraction_range),
13187         (gst_value_subtract_fraction_fraction_range),
13188         (gst_value_subtract_fraction_range_fraction_range),
13189         (gst_value_get_compare_func), (gst_value_compare),
13190         (gst_value_compare_with_func):
13191         * gst/gstvalue.h:
13192           Saves the expensive lookup of the compare function in many cases
13193          (#345444)
13194
13195 2006-08-18  Edward Hervey  <edward@fluendo.com>
13196
13197         * tests/check/gst/gstinfo.c: (gst_info_suite):
13198         Disable test that require gstdebug if it wasn't built in core.
13199
13200 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13201
13202         * docs/random/ensonic/logging.txt:
13203           update ideas
13204           
13205         * gst/gstinfo.c: (gst_debug_log_default):
13206           reorder fields, save some columns, add optional color codes for log
13207           levels
13208
13209 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13210
13211         * docs/random/ensonic/logging.txt:
13212           add ideas about making the logs a bit more useful
13213
13214 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13215
13216         * docs/pwg/advanced-events.xml:
13217         * docs/pwg/titlepage.xml:
13218           Update for 0.10 API (#340627). Add myself
13219           to authors list.
13220
13221 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13222
13223         * docs/libs/gstreamer-libs-docs.sgml:
13224         * docs/libs/gstreamer-libs-sections.txt:
13225         * libs/gst/check/gstbufferstraw.c:
13226           Make gstcheck stuff show up in docs (still needs to
13227           be documented properly though).
13228
13229 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
13230
13231         * docs/gst/gstreamer-sections.txt:
13232         * gst/Makefile.am:
13233         * gst/gst.c: (init_post):
13234         * gst/gst_private.h:
13235         * gst/gstquark.c: (_priv_gst_quarks_initialize):
13236         * gst/gstquark.h:
13237         * gst/gstquery.c: (gst_query_new_position),
13238         (gst_query_set_position), (gst_query_parse_position),
13239         (gst_query_new_duration), (gst_query_set_duration),
13240         (gst_query_parse_duration), (gst_query_new_convert),
13241         (gst_query_set_convert), (gst_query_parse_convert),
13242         (gst_query_new_segment), (gst_query_set_segment),
13243         (gst_query_parse_segment), (gst_query_new_seeking),
13244         (gst_query_set_seeking), (gst_query_parse_seeking):
13245         Add internal helpers for pre-registering quarks from static strings
13246         and using the quark values directly instead of looking them up when
13247         creating and parsing queries. Can be used for event construction too.
13248         Closes #350432.
13249
13250 2006-08-16  Wim Taymans  <wim@fluendo.com>
13251
13252         * gst/gstbin.c:
13253         Fix bogus docs.
13254
13255 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13256
13257         * gst/gstutils.c: (gst_util_set_value_from_string):
13258           Fix memleak (#351502).
13259
13260         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13261           Add unit test for most of gst_util_set_value_from_string()
13262           (not that one would want to encourage use of this function).
13263
13264 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13265
13266         * libs/gst/check/gstcheck.h:
13267           Use const gchar * variables in fail_unless_equals_string
13268           macro to avoid compiler warnings (and don't use tabs for
13269           indenting).
13270
13271 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13272
13273         * tools/gst-launch.c: (print_tag):
13274           More space on the left for the tag names, to cater
13275           for the 'extended comment' tag (not touching the
13276           string for the first line since it's translated).
13277
13278 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13279
13280         * libs/gst/check/gstcheck.h:
13281           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13282           print something when they fail.
13283
13284 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13285
13286         * docs/gst/gstreamer-sections.txt:
13287         * gst/gsttaglist.c: (_gst_tag_initialize):
13288         * gst/gsttaglist.h:
13289           API: add GST_TAG_EXTENDED_COMMENT (#350935).
13290           Also change merge function for GST_TAG_COMMENT to
13291           use_first.
13292
13293 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13294
13295         * gst/gstinfo.c: (gst_debug_print_object):
13296           Make GST_PTR_FORMAT print messages as well.
13297
13298         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13299         (GST_START_TEST), (gst_info_suite):
13300           More tests.
13301
13302 2006-08-14  Edward Hervey  <edward@fluendo.com>
13303
13304         * gst/gstelementfactory.c: (gst_element_register):
13305         If the GstElementClass doesn't have a GstElementDetails with all fields
13306         filled up correctly (longname, description AND author), then error out
13307         nicely instead of crashing.
13308
13309 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13310
13311         * gst/gststructure.c:
13312           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13313
13314         * gst/gstvalue.h:
13315           Expand on the difference between arrays and lists as we use them.
13316           
13317 2006-08-14  Wim Taymans  <wim@fluendo.com>
13318
13319         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13320         If the parent state change function failed, don't assume we can safely
13321         stop the source, this will be done when the pads are deactivated.
13322
13323 2006-08-14  Wim Taymans  <wim@fluendo.com>
13324
13325         * gst/gstbuffer.c:
13326         * gst/gsttask.c: (gst_task_join):
13327         Small doc updates.
13328
13329         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13330         (gst_pad_stop_task):
13331         When pad (de)activation failed for some reason, restore the old
13332         activation mode and set the pad to flushing instead of assuming the
13333         pad is deactivated.
13334         If the _task_join() failed, reinstall the task on the pad so that it can
13335         be stopped later and return an error.
13336
13337 2006-08-11  Andy Wingo  <wingo@pobox.com>
13338
13339         * configure.ac:
13340         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13341         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13342         is only for users of API that don't want to see deprecated
13343         functions in the headers; people that want to compile out
13344         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13345         CFLAGS. Fixes the build of multifdsink, or will soon..
13346
13347 2006-08-11  Wim Taymans  <wim@fluendo.com>
13348
13349         * docs/gst/gstreamer-sections.txt:
13350         Add GstClockClass vmethod docs.
13351
13352         * gst/gstcaps.h:
13353         Mark #endif with comment for associated #if
13354
13355         * gst/gstclock.c: (gst_clock_id_wait):
13356         * gst/gstclock.h:
13357         Add vmethod wait_jitter to avoid an unneeded _get_time() for
13358         most clock implementations.
13359         Document vmethods.
13360         Flesh out docs about resolution methods.
13361         API: GstClockClass::wait_jitter
13362
13363         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13364         (gst_system_clock_async_thread),
13365         (gst_system_clock_id_wait_jitter_unlocked),
13366         (gst_system_clock_id_wait_jitter):
13367         Use base class wait_jitter variant for improved performance
13368         due to less clock polling.
13369
13370 2006-08-11  Edward Hervey  <edward@fluendo.com>
13371
13372         * gst/gst.c: (gst_init_check), (init_post):
13373         Set gst as being initialized before scanning/updating the registry,
13374         since there might be my python plugin loader that calls gst_init() and
13375         we don't want to loop back in.
13376         Closes #350879
13377
13378 2006-08-11  Wim Taymans  <wim@fluendo.com>
13379
13380         * docs/design/part-qos.txt:
13381         Bring docs in line with the code. Mostly the sign of the jitter was
13382         wrong in the docs. Fixes #349943.
13383
13384         * gst/gstclock.c:
13385         Fix the docs for the jitter.
13386
13387         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13388         (gst_event_parse_tag), (gst_event_new_buffer_size),
13389         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13390         (gst_event_new_seek), (gst_event_parse_seek),
13391         (gst_event_new_navigation):
13392         Make sure the GstStructure has no parent when creating custom
13393         events.
13394         Add some more argument checking so that we avoid 0.0 rates.
13395         Flesh out the docs for the QoS event some more.
13396
13397 2006-08-11  Wim Taymans  <wim@fluendo.com>
13398
13399         * docs/gst/gstreamer-sections.txt:
13400         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13401         (ensure_current_registry_forking), (ensure_current_registry),
13402         (parse_one_option), (parse_goption_arg), (gst_deinit),
13403         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13404         * gst/gst.h:
13405         Doc updates.
13406         Added API and command line option to disable registry forking in
13407         addition to the environment variable.
13408         Constify some static arrays.
13409         Added some more debug.
13410         Don't deinit twice.
13411         API: gst_registry_fork_is_enabled()
13412         API: gst_registry_fork_set_enabled()
13413         API: --gst-disable-registry-fork command line option
13414         Fixes #348918.
13415
13416 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13417
13418         * gst/gst.c: (gst_init):
13419           Fix typo in error message.
13420
13421 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13422
13423         * libs/gst/controller/gstcontroller.h:
13424           fix ABI size-correction
13425
13426         * tests/check/libs/gdp.c: (gst_dp_suite):
13427           make tests that use deprecated API conditional
13428
13429 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13430
13431         * docs/libs/gstreamer-libs-sections.txt:
13432         * libs/gst/controller/gstcontroller.c:
13433         (_gst_controller_get_property), (_gst_controller_set_property),
13434         (_gst_controller_init), (_gst_controller_class_init):
13435         * libs/gst/controller/gstcontroller.h:
13436         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13437         (gst_object_set_control_rate):
13438           API: add gst_object_{s,g}et_control_rate(), add private data section,
13439           fix docs
13440
13441         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13442         * libs/gst/dataprotocol/dataprotocol.h:
13443           add deprecation guards to make gtk-doc happy and allow disabling cruft
13444
13445 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13446
13447         * tests/check/Makefile.am:
13448         * tests/check/gst/.cvsignore:
13449           Let's enable the new unit test as well.
13450
13451 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13452
13453         * configure.ac:
13454         * docs/gst/gstreamer-sections.txt:
13455         * gst/gstconfig.h.in:
13456         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13457         (_gst_info_printf_extension_ptr),
13458         (_gst_info_printf_extension_segment):
13459           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13460           register that lets us easily dump GstSegments into debug
13461           logs (#350419).
13462
13463         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13464         (info_segment_format_printf_extension), (gst_info_suite):
13465           Add simple unit test that logs a bunch of different segments (not
13466           valgrinded at the moment because of leaks in
13467           gst_debug_add_log_function).
13468
13469 2006-08-09  Edward Hervey  <edward@fluendo.com>
13470
13471         * libs/gst/base/gstbasetransform.c:
13472         (gst_base_transform_buffer_alloc):
13473         Even if we can't figure out the proper format to request downstream,
13474         call buffer_alloc() downstream with the input parameters without setting
13475         the caps on the srcpad. This will force negotiation in the chain
13476         function.
13477         Closes #350449
13478
13479 2006-08-08  Edward Hervey  <edward@fluendo.com>
13480
13481         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13482         Unlinking from a pad without a target is now a perfectly valid case
13483         which should NOT raise an assertion.
13484         This case would happen if a linked ghostpad its target set to NULL after
13485         it was previously linked.
13486
13487 2006-08-08  Edward Hervey  <edward@fluendo.com>
13488
13489         * tests/check/libs/gdp.c:
13490         Also comment out the test (see below).
13491
13492 2006-08-08  Edward Hervey  <edward@fluendo.com>
13493
13494         * tests/check/libs/gdp.c: (gst_dp_suite):
13495         Use the architecture information from config.h and not gcc macros
13496         in order to properly disable a test that fails on PPC64.
13497
13498 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13499
13500         * gst/gstelement.c: (gst_element_remove_pad):
13501           Don't crash printing the warning if the pad has no parent.
13502
13503 2006-08-02  Wim Taymans  <wim@fluendo.com>
13504
13505         * libs/gst/dataprotocol/dataprotocol.c:
13506         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13507         (gst_dp_crc), (gst_dp_header_payload_length),
13508         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13509         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13510         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13511         (gst_dp_event_from_packet), (gst_dp_validate_header),
13512         (gst_dp_validate_payload):
13513         Make debug category static
13514         Constify the crc table.
13515         Do some more arg checking in public functions.
13516         Fix some docs and do some small cleanups.
13517
13518         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13519         Add some more checks to see if GDP deals with bogus input.
13520
13521 2006-07-31  Wim Taymans  <wim@fluendo.com>
13522
13523         * gst/gstvalue.c: (gst_value_compare_list):
13524         Fix GstValueList comparison code. Fixes #347293.
13525
13526         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13527         Check to test GstValueList comparison.
13528
13529 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13530
13531         * gst/gstelementfactory.c: (gst_element_factory_create):
13532         Remove unnecessary ref/unref pair
13533
13534         * gst/parse/grammar.y:
13535         Make sure to free the parse buffer on all code paths.
13536         Move a g_free up to the error handler where it's easier to see.
13537
13538         * tests/check/gst/gstevent.c: (test_event):
13539         Extending timeout for downstream travelling events to 10 seconds to
13540         hopefully avoid intermittent failure on the buildbots.
13541
13542         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13543         Don't manually set the state of the src element - it will happen as a
13544         natural consequence of the pipeline changing state, and that way it
13545         will do it in the right order too.
13546
13547 2006-07-31  Wim Taymans  <wim@fluendo.com>
13548
13549         * libs/gst/base/gstbasetransform.c:
13550         (gst_base_transform_buffer_alloc):
13551         Use OBJECT_LOCK and refcounting to get the pad caps in the
13552         buffer_alloc function because the caps could change while we are
13553         busy with them. Fixes #349105
13554
13555 2006-07-31  Wim Taymans  <wim@fluendo.com>
13556
13557         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13558         Protect _PAD_CAPS with OBJECT_LOCK.
13559
13560 2006-07-31  Wim Taymans  <wim@fluendo.com>
13561
13562         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13563         (gst_pad_get_property), (gst_pad_activate_pull),
13564         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13565         (gst_pad_set_activate_function),
13566         (gst_pad_set_activatepull_function),
13567         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13568         (gst_pad_set_getrange_function),
13569         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13570         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13571         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13572         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13573         (gst_pad_set_acceptcaps_function),
13574         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13575         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13576         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13577         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13578         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13579         (gst_pad_configure_sink), (gst_pad_configure_src),
13580         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13581         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13582         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13583         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13584         (gst_pad_send_event):
13585         Use _DEBUG_OBJECT when it makes sense.
13586         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13587         Small cleanups and code reflows.
13588         Avoid caps refcounting in _accept_caps.
13589         Refactor alloc_buffer so that the code performed on the peer is in a
13590         separate function. Also if the pad does not implement a buffer alloc
13591         function, we should still check if the pad is flushing before falling
13592         back to the default allocator.
13593
13594 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13595
13596         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13597         Make all uses of identity and fakesink have silent=true to avoid
13598         serialising every passing data structure, which is breaking tests
13599         on FC4 for some unknown reason.
13600
13601 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13602
13603         * gst/parse/Makefile.am:
13604         * gst/parse/grammar.y:
13605         * gst/parse/parse.l:
13606           Reverted previous patch as it required to bump the flex dependency to
13607           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13608
13609 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13610
13611         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13612
13613         * gst/parse/Makefile.am:
13614         * gst/parse/grammar.y:
13615         * gst/parse/parse.l:
13616           push & pop the state of the lexer for reentrant use case
13617           Fixes #349180
13618
13619 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13620
13621         * libs/gst/base/gstbasesrc.h:
13622           Note in the docs that the ::newsegment vfunc is not actually used by
13623           GstBaseSrc.
13624
13625 2006-07-28  Wim Taymans  <wim@fluendo.com>
13626
13627         * libs/gst/base/gstcollectpads.c:
13628         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13629         (gst_collect_pads_clear), (gst_collect_pads_flush),
13630         (gst_collect_pads_event), (gst_collect_pads_chain):
13631         When flushing a pad, also clear the queued buffer so that we don't
13632         accidentally use it when we shouldn't.
13633         Fix leaks by inreffing incomming buffer.
13634         Flush out queued buffers in case of errors.
13635         Fixes #347452.
13636
13637 2006-07-28  Wim Taymans  <wim@fluendo.com>
13638
13639         * docs/random/phonon-gst:
13640         Random notes about a Phonon backend.
13641
13642 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13643
13644         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13645         Extra debug output
13646         * tests/check/libs/gdp.c: (gst_dp_suite):
13647         Take a whack at fixing the ppc compile using a different define to
13648         disable the broken test.
13649
13650         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13651         Remove excess g_print()
13652
13653 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13654
13655         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13656         Oops, meant to uncomment this line too to dampen the noise a bit.
13657
13658 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13659
13660         * gst/parse/grammar.y:
13661         * gst/parse/parse.l:
13662         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13663         (GST_START_TEST), (parse_suite):
13664         Fix some of the leaks exposed by extending the parse-launch testsuite,
13665         and move the 3 I can't figure out into a separate test that won't run
13666         the pipelines unless the appropriate line is uncommented.
13667
13668 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13669
13670         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13671           Requesting 0 bytes before the end of the file should result in
13672           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13673           unit test.
13674
13675 2006-07-27  Wim Taymans  <wim@fluendo.com>
13676
13677         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13678         Fix useless assert, a uint is always positive.
13679
13680         * gst/gststructure.c: (gst_structure_nth_field_name),
13681         (gst_structure_foreach), (gst_structure_map_in_place):
13682         Check input arguments for public functions to avoid obvious crashes.
13683
13684         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13685         * plugins/elements/gstfakesink.h:
13686         Do less useless typechecking.
13687
13688 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13689
13690         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13691           Do not use mmap() by default since there are a number of error
13692           conditions that we would like to handle in a non-fatal way that
13693           will result in a SIGBUS if we use mmap(). Examples: external
13694           devices (USB harddrive, portable music player) being unplugged
13695           while in use; file on mounted CD/DVD that can't be read because
13696           the medium is partly damaged. Fixes #348455 and #348475.
13697
13698 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13699
13700         * gst/gstquery.h:
13701         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13702         rates are a gdouble
13703
13704 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13705
13706         * gst/gstregistry.c:
13707           Move big documentation comment into class section header, so that it
13708           appears in the API docs.
13709
13710 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13711
13712         * docs/gst/gstreamer-sections.txt:
13713         Oops. Commit the docs additions too for new API.
13714         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13715
13716 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13717
13718         * gst/gststructure.c: (gst_structure_id_set),
13719         (gst_structure_id_set_valist):
13720         * gst/gststructure.h:
13721         Add API for setting values into structures without performing
13722         a quark lookup, if the appropriate quark is already known.
13723
13724         API: gst_structure_id_set
13725         API: gst_structure_id_set_valist
13726
13727         * gst/parse/grammar.y:
13728         * gst/parse/parse.l:
13729         Remove some dead code shown by the coverage information.
13730         Don't throw a critical g_warning when encountering a syntax error,
13731         just warn and let the normal error path handle it.
13732
13733         * plugins/elements/gstelements.c:
13734         Bump the rank of filesink up to PRIMARY so that it is preferred over
13735         gnomevfssink for file:// sink uri's
13736
13737         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13738         (GST_START_TEST), (run_delayed_test),
13739         (gst_parse_test_element_base_init),
13740         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13741         (gst_parse_test_element_change_state),
13742         (gst_register_parse_element), (parse_suite):
13743         Beef up the tests for parse syntax to check that more error cases
13744         fail as they are supposed to. Increases the test coverage a bit.
13745
13746 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13747
13748         * docs/manual/basics-elements.xml:
13749           Fix gst_element_link() example.
13750
13751         * gst/gstutils.c:
13752           Mention in API docs that one should usually gst_bin_add()
13753           elements to a bin or pipeline before doing the linking.
13754           
13755 2006-07-26  Wim Taymans  <wim@fluendo.com>
13756
13757         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13758         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13759         Avoid function call for known types by keeping the buffer and
13760         subbuffer GType global.
13761
13762         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13763         Random silly optimisations in read() path.
13764
13765 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13766
13767         * tools/gst-launch.c: (main):
13768           If the top-level of the parse is a normal bin, it doesn't do the
13769           right logic to run as a top-level element, so place it inside a
13770           pipeline.
13771
13772 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13773
13774         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13775           Remove superfluous g_object_notify() calls, GObject does
13776           that for us automatically.
13777
13778 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13779
13780         * gst/gstinfo.h:
13781           on Win32, use dllspec to export the debug category symbols
13782
13783 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13784
13785         * gst/gsttaglist.c: (_gst_tag_initialize):
13786           Allow more than one GST_TAG_IMAGE per taglist.
13787
13788 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13789
13790         * gst/gstminiobject.c:
13791           update docs
13792         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13793         (gst_fd_src_create):
13794           log recurring events at LOG level
13795           add more debug for when the fd gets set
13796
13797 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13798
13799         * gst/gstparse.c: (gst_parse_launch):
13800           Also remove reentrance checks if flex is MT safe (#348179)
13801          Fix my empty ChangeLog entry below
13802
13803 2006-07-21  Andy Wingo  <wingo@pobox.com>
13804
13805         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13806
13807         * libs/gst/check/Makefile.am
13808         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13809         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13810         * libs/gst/check/gstbufferstraw.h:
13811         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13812         functions, thus proving I am still a GStreamer haxor. OK I wrote
13813         them a long time ago, but anyways.
13814
13815 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13816
13817         * configure.ac:
13818         * gst/gstparse.c: (gst_parse_launch):
13819           Check for flex version and omit mutex if we have a MT save flex
13820           (fixes #348179)
13821
13822 2006-07-21  Wim Taymans  <wim@fluendo.com>
13823
13824         * gst/gstparse.c: (gst_parse_launch):
13825         Protect recursive calls to _parse with a recursive mutex
13826         and busy flag.
13827
13828 2006-07-21  Wim Taymans  <wim@fluendo.com>
13829
13830         * tests/check/gst/gstpad.c: (GST_START_TEST):
13831         Fix leak in test.
13832
13833 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13834
13835         * gst/gstparse.c: (gst_parse_launch):
13836           Do not hang on recursive usage of gst_parse_launch()
13837
13838 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13839
13840         * gst/gsttaglist.c:
13841           Add some more docs, comments and FIXME 0.11s here and there
13842           and also fix some typos.
13843
13844 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13845
13846         * gst/gstsegment.h:
13847           Convert tabs to spaces for better readability. 
13848
13849 2006-07-20  Edward Hervey  <edward@fluendo.com>
13850
13851         * tests/check/libs/gdp.c: (gst_dp_suite):
13852         the test_buffer test fails at line 140 on ppc64 at the following
13853         check:
13854         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13855                 GST_BUFFER_FLAG_IN_CAPS),
13856                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13857         See bug #348114 for more details.
13858
13859 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13860
13861         * docs/pwg/advanced-scheduling.xml:
13862         * gst/gstpad.c:
13863           Fix typos (#348000).
13864
13865 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13866
13867         * docs/pwg/intro-basics.xml:
13868           Fix wrong links (#347927).
13869
13870 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13871
13872         * gst/gstregistry.h:
13873         * gst/gstregistryxml.c: (load_feature),
13874         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13875         * win32/common/config.h:
13876           make --disable-index work (#342564)
13877
13878 2006-07-18  Wim Taymans  <wim@fluendo.com>
13879
13880         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13881
13882         * gst/Makefile.am:
13883         * gst/gsttrace.h:
13884         The attached patch adds two missing defines to gsttrace.h when tracing
13885         is disabled.  It also corrects one existing define.
13886         Fixes #347756.
13887
13888 2006-07-17  Wim Taymans  <wim@fluendo.com>
13889
13890         * docs/gst/gstreamer-sections.txt:
13891         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13892         * gst/gst.h:
13893         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13894         Add two functions to check and change the SIGSEGV behaviour
13895         when loading plugins.
13896         Don't mess with the SIGSEGV handler when we were told not to.
13897         Fixes #347794.
13898         API: gst_segtrap_is_enabled
13899         API: gst_segtrap_set_enabled
13900
13901 2006-07-14  Wim Taymans  <wim@fluendo.com>
13902
13903         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13904         * tests/check/elements/filesrc.c: (GST_START_TEST):
13905         Revert fix for regression in #347408 after release.
13906
13907 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13908
13909         Patch by: Antoine Tremblay <hexa00 at gmail com>
13910
13911         * gst/gstutils.c: (gst_element_unlink):
13912           Free iterator when done (#347311).
13913
13914         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13915           And add a test case for this.
13916
13917 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13918
13919         * configure.ac:
13920         Bump nano back to CVS
13921
13922 === release 0.10.9 ===
13923
13924 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13925
13926         * configure.ac:
13927           releasing 0.10.9, "On the road again"
13928
13929 2006-07-13  Wim Taymans  <wim@fluendo.com>
13930
13931         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13932         * tests/check/elements/filesrc.c: (GST_START_TEST):
13933         Revert pull-0 fix for release. Disable check. Fixes #347408.
13934
13935 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13936
13937         * libs/gst/dataprotocol/dataprotocol.c:
13938         (gst_dp_event_from_packet_1_0):
13939           Fixes #347337: failure to deserialize event packets with
13940           empty payload (only event type)
13941
13942 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13943
13944         * gst/Makefile.am:
13945           do not install a .c file in the header directory
13946
13947 2006-07-13  Edward Hervey  <edward@fluendo.com>
13948
13949         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13950         GhostPad no longer implicitely use the padtemplates of the targets.
13951         Fixes #347384
13952
13953 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13954
13955         * gst/gstvalue.c: (gst_value_compare_list),
13956         (gst_value_compare_array), (_gst_value_initialize):
13957         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13958         Make GstValueArray comparison be order dependent as designed.
13959         Add checks for value lists and value array comparisons.
13960         Fixes #347221
13961
13962 2006-07-11  Edward Hervey  <edward@fluendo.com>
13963
13964         * gst/gstbin.c: (activate_pads),
13965         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13966         (gst_bin_change_state_func):
13967         (de)activate src pads before calling state_change on the childs.
13968         This is to avoid the case where a src ghostpad is blocked (holding the
13969         stream lock), which would block the deactivation of the ghostpad's
13970         target pad.
13971         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13972         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13973         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13974         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13975         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13976         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13977         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13978         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13979         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13980         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13981         (gst_ghost_pad_class_init),
13982         (gst_ghost_pad_internal_do_activate_push),
13983         (gst_ghost_pad_internal_do_activate_pull),
13984         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13985         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13986         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13987         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13988         GhostPads now create their internal GstProxyPad at creation (and not
13989         when they're linked, as it was being done previously).
13990         The internal and target pads are linked straight away.
13991         The data will also travel through the other pad in order to make
13992         pad blocking and probes non-hackish (the probe/block now really happens
13993         on the GhostPad and not on the target).
13994         * gst/gstpad.c: (gst_pad_set_blocked_async),
13995         (gst_pad_link_prepare), (gst_pad_push_event):
13996         Remove previous ghostpad cruft.
13997         * gst/gstutils.c: (gst_pad_add_data_probe),
13998         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13999         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14000         (gst_pad_remove_buffer_probe):
14001         Remove previous ghost pad cruft.
14002         Added more detailed debug statements.
14003         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14004         Fix the testsuite for refcounting changes.
14005         The comments about who has references were correct, but the refcount
14006         being checked wasn't the same (!?!).
14007
14008         Fixes #341029
14009
14010 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
14011
14012         * docs/gst/gstreamer-sections.txt:
14013         * gst/gstconfig.h.in:
14014         More docs for configuration options, add docs to gtk-doc.
14015
14016 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
14017
14018         * gst/Makefile.am:
14019         * gst/gstconfig.h.in:
14020         * win32/common/config.h:
14021         Fix build when disabling tracing (fixes #344016). Also start to document
14022         the defines that disable the sub-systems.
14023
14024 2006-07-10  Edward Hervey  <edward@fluendo.com>
14025
14026         * gst/gst.c: (ensure_current_registry_forking):
14027         let's make valgrind happy...
14028
14029 2006-07-09  Wim Taymans  <wim@fluendo.com>
14030
14031         * gst/gstelement.c: (activate_pads),
14032         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
14033         Better pad activation code: Reset the collect value too on resync.
14034         Add some comments.
14035
14036 2006-07-09  Wim Taymans  <wim@fluendo.com>
14037
14038         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
14039         (gst_pad_activate_push):
14040         Use some more macros where it makes sense.
14041         Allow pad mode switching instead of asserting. When a pad
14042         is activated in one mode and we activate it in another, 
14043         deactivate it first before activating it in a different mode.
14044         Fixes #329198.
14045
14046 2006-07-08  Andy Wingo  <wingo@pobox.com>
14047
14048         * tools/gst-launch.c (main): Handle err == NULL.
14049
14050         * gst/gst.c (init_post, ensure_current_registry)
14051         (ensure_current_registry_forking)
14052         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
14053         factoring out the registry scanning into separate functions. Don't
14054         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
14055         Better environment var name/interface suggestions accepted.
14056
14057 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14058
14059         * gst/gstobject.c: (gst_object_set_name_default),
14060         (gst_object_set_name):
14061           Random micro-optimisation: don't use a hash table
14062           with strings as keys and the usual strdup/strcmp
14063           involved, but rather just use the GQuark of the
14064           type name as key, since it needs to be looked up
14065           anyway to get the type name string.
14066
14067         * tests/check/gst/gstobject.c: (GST_START_TEST):
14068           Fix various leaks.
14069
14070 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14071
14072         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
14073         (gst_bin_iterate_all_by_interface):
14074           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
14075           GTypes are gulongs and thus the top 4 bytes might be cut
14076           off on some platforms when doing GPOINTER_TO_INT, leading
14077           to invalid GTypes and bad things happening (see RH bug #179654).
14078           Also add a check to make sure the type passed in is really
14079           an interface type.
14080
14081 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14082
14083         * .cvsignore:
14084           Ignore more.
14085
14086 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14087
14088         * Makefile.am:
14089         * configure.ac:
14090         * gst-element-check.m4:
14091         * gst-element-check.m4.in:
14092           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
14093           instead of the unversioned gst-inspect (#324176, #168659).
14094
14095 2006-07-06  Wim Taymans  <wim@fluendo.com>
14096
14097         * gst/gstmessage.h:
14098         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
14099         warnings.
14100
14101 2006-07-06  Wim Taymans  <wim@fluendo.com>
14102
14103         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14104         (gst_base_src_wait), (gst_base_src_update_length),
14105         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
14106         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
14107         (gst_base_src_loop), (gst_base_src_start),
14108         (gst_base_src_activate_pull):
14109         Update docs.
14110         blocksize == 0 now means the default blocksize when working in push
14111         based mode.
14112         Remove some pointless asserts in _wait function.
14113         Fix offset/length calculations and EOS handling. We can now pull 0
14114         bytes as well, which is allowed.
14115         use _check_get_range() to decide if we can operate in _pull based
14116         mode.
14117         Fix refcounting leak when check_get_range function was not 
14118         implemented.
14119         API GstBaseSrc::blocksize range can be 0 too now (default)
14120
14121         * tests/check/elements/filesrc.c: (GST_START_TEST),
14122         (filesrc_suite):
14123         Added check to test _get_range() behaviour.
14124
14125 2006-07-06  Wim Taymans  <wim@fluendo.com>
14126
14127         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14128         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14129         (gst_pad_pull_range):
14130         * gst/gstpad.h:
14131         Lots of comments and docs added to the pad functions.
14132         Flesh out the expected behaviour of the get_range() functions.
14133
14134 2006-07-06  Wim Taymans  <wim@fluendo.com>
14135
14136         * gst/gstbus.h:
14137         * gst/gstclock.h:
14138         * gst/gstevent.h:
14139         * gst/gstiterator.h:
14140         * gst/gstpad.h:
14141         * gst/gstplugin.h:
14142         * gst/gsttask.h:
14143         Remove comma at end of enumerator list. 
14144
14145 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
14146
14147         * win32/common/libgstbase.def:
14148         * win32/common/libgstdataprotocol.def:
14149         * win32/common/libsgtreamer.def:
14150         Add new exported functions.
14151
14152 2006-07-05  Wim Taymans  <wim@fluendo.com>
14153
14154         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14155         Add some more docs here and there.
14156
14157 2006-07-05  Wim Taymans  <wim@fluendo.com>
14158
14159         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14160         (gst_base_sink_loop), (gst_base_sink_get_position):
14161         When operating in pull mode update the offset so that we
14162         read sequentially.
14163
14164 2006-07-05  Wim Taymans  <wim@fluendo.com>
14165
14166         * gst/gstregistryxml.c: (read_string):
14167         Avoid strdup. (will happen in libxml, but hey!)
14168
14169         * gst/gsturi.c:
14170         Add some more docs.
14171
14172 2006-07-05  Wim Taymans  <wim@fluendo.com>
14173
14174         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14175         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14176         (gst_buffer_suite):
14177         No point in checking if the size of the subbuffer > 0, the
14178         code handles it correclty as demonstrated by unit test.
14179         Also add a unit test for the zero sized _new_and_alloc and
14180         _copy. Fixes #346663.
14181
14182 2006-07-05  Wim Taymans  <wim@fluendo.com>
14183
14184         * libs/gst/base/gstbasetransform.c:
14185         (gst_base_transform_prepare_output_buffer),
14186         (gst_base_transform_buffer_alloc),
14187         (gst_base_transform_handle_buffer):
14188         Make sure the buffer we pass to transform_ip has a refcount of
14189         1 and thus is writable. Fixes #343196
14190
14191 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
14192
14193         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14194         (gst_file_src_init), (gst_file_src_set_property),
14195         (gst_file_src_get_property), (gst_file_src_map_region):
14196         * plugins/elements/gstfilesrc.h:
14197         Add "sequential" property, off by default, to use madvise and hint
14198         to the kernel that sequential access is desired.
14199         Touch all retrieved pages by default to ensure they are pulled
14200         into memory. (Closes #345720)
14201
14202 2006-07-03  Wim Taymans  <wim@fluendo.com>
14203
14204         * docs/design/part-block.txt:
14205         * docs/design/part-dynamic.txt:
14206         Small docs updates.
14207
14208 2006-07-03  Wim Taymans  <wim@fluendo.com>
14209
14210         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14211         (gst_caps_unref), (gst_static_caps_get),
14212         (gst_caps_append_structure):
14213         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14214         Use GSlice when the glib we build against is >= 2.10
14215
14216 2006-07-03  Wim Taymans  <wim@fluendo.com>
14217
14218         * gst/gstelement.c: (gst_element_pads_activate):
14219         Small cleanup in pad activation code.
14220
14221 2006-07-03  Wim Taymans  <wim@fluendo.com>
14222
14223         Patch by: Peter Kjellerstedt <pkj at axis dot com>
14224
14225         * gst/gst-i18n-app.h:
14226         * gst/gst-i18n-lib.h:
14227         * tools/gst-inspect.c: (print_signal_info):
14228         The attached patch will make the inclusion of gettext.h unconditional in
14229         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14230         libintl.h in tools/gst-inspect.c.
14231         This allows use of --disable-nls again and fixes #344642.
14232
14233 2006-07-03  Edward Hervey  <edward@fluendo.com>
14234
14235         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14236         Implement pad blocking on events according to part-block.txt.
14237         More comments on behaviour.
14238         * tests/check/gst/gstevent.c: (test_event):
14239         Send event to peer pad of blocked pad (else it will block).
14240
14241 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14242
14243         * libs/gst/check/gstcheck.c: (gst_check_message_error),
14244         (gst_check_run_suite):
14245           if we get the wrong message, give us the types as string
14246         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14247           Fix a translatable
14248         * tests/check/elements/filesrc.c: (GST_START_TEST):
14249           add a test for trying to open a non-existing file
14250
14251 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14252
14253         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14254           add a test for adding self
14255
14256 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14257
14258         * libs/gst/check/gstcheck.h:
14259           add some assert_ as alias for fail_unless_*
14260         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14261           increase test coverage
14262
14263 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14264
14265         * Makefile.am:
14266           include lcov.mak for lcov coverage generation
14267         * tools/Makefile.am:
14268           add to CLEANFILES
14269
14270 2006-07-02  Edward Hervey  <edward@fluendo.com>
14271
14272         * tests/check/elements/.cvsignore:
14273         moaping
14274
14275 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14276
14277         * configure.ac:
14278           don't set CFLAGS and friends for gcov, done from GST_GCOV now
14279         * tests/check/Makefile.am:
14280           clean up gcov files
14281
14282 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14283
14284         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14285           remove gst_caps_simplify; it was not declared and not used
14286           and deprecated in 0.8
14287
14288 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14289
14290         * docs/faq/gst-uninstalled:
14291           don't put empty paths on PYTHONPATH
14292         * docs/gst/gstreamer-sections.txt:
14293           remove some symbols that are not there
14294
14295 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14296
14297         * gst/gstcaps.c: (gst_caps_compare_structures):
14298           whitespace fixes
14299         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14300         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14301           add more tests
14302
14303 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14304
14305         * libs/gst/dataprotocol/Makefile.am:
14306           build dataprotocol test by linking to the lib, instead of
14307           compiling the source, so we get coverage
14308         * tests/check/Makefile.am:
14309         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14310         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14311           add a test for filesrc
14312
14313 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14314
14315         * tests/check/gst/gststructure.c: (GST_START_TEST),
14316         (gst_structure_suite):
14317           Push coverage from 59.04% to 70.00%
14318
14319 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14320
14321         * tests/check/Makefile.am:
14322           gst-inspect every element; this makes sure that we also get
14323           coverage on element's get/set functions
14324
14325 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14326
14327         * configure.ac:
14328           set CFLAGS and friends to -O0 if gcov is being used
14329           add GCOV LIBS
14330         * gst/Makefile.am:
14331         * libs/gst/base/Makefile.am:
14332         * libs/gst/check/Makefile.am:
14333         * libs/gst/controller/Makefile.am:
14334         * libs/gst/dataprotocol/Makefile.am:
14335         * libs/gst/net/Makefile.am:
14336         * plugins/elements/Makefile.am:
14337         * plugins/indexers/Makefile.am:
14338           add makefile rules to generate gcov data and clean up
14339         * tests/check/Makefile.am:
14340           add a coverage target that generates an html overview
14341           of coverage data
14342
14343 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14344
14345         * tests/check/elements/fakesink.c:
14346         * tests/check/elements/fakesrc.c:
14347         * tests/check/elements/fdsrc.c:
14348         * tests/check/elements/identity.c:
14349         * tests/check/generic/sinks.c: (gst_sinks_suite):
14350         * tests/check/generic/states.c:
14351         * tests/check/gst/gst.c:
14352         * tests/check/gst/gstabi.c:
14353         * tests/check/gst/gstbin.c:
14354         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14355         * tests/check/gst/gstbus.c: (gst_bus_suite):
14356         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14357         * tests/check/gst/gstelement.c:
14358         * tests/check/gst/gstevent.c: (gst_event_suite):
14359         * tests/check/gst/gstghostpad.c:
14360         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14361         * tests/check/gst/gstmessage.c: (gst_message_suite):
14362         * tests/check/gst/gstminiobject.c:
14363         * tests/check/gst/gstobject.c:
14364         * tests/check/gst/gstpad.c:
14365         * tests/check/gst/gstpipeline.c:
14366         * tests/check/gst/gstplugin.c:
14367         * tests/check/gst/gstquery.c: (gst_query_suite):
14368         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14369         * tests/check/gst/gststructure.c:
14370         * tests/check/gst/gstsystemclock.c:
14371         * tests/check/gst/gsttag.c:
14372         * tests/check/gst/gsttask.c: (gst_task_suite):
14373         * tests/check/gst/gstutils.c:
14374         * tests/check/gst/gstvalue.c:
14375         * tests/check/libs/adapter.c:
14376         * tests/check/libs/basesrc.c:
14377         * tests/check/libs/collectpads.c:
14378         * tests/check/libs/controller.c:
14379         * tests/check/libs/gdp.c: (gst_dp_suite):
14380         * tests/check/libs/gstnetclientclock.c:
14381         * tests/check/libs/gstnettimeprovider.c:
14382         * tests/check/libs/libsabi.c: (libsabi_suite):
14383         * tests/check/libs/typefindhelper.c:
14384         * tests/check/pipelines/cleanup.c:
14385         * tests/check/pipelines/parse-launch.c:
14386         * tests/check/pipelines/simple-launch-lines.c:
14387         * tests/check/pipelines/stress.c: (stress_suite):
14388           use the new macro
14389
14390 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14391
14392         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14393         * libs/gst/check/gstcheck.h:
14394           create a macro and function so that the simple unit test
14395           case can be just one macro to create main()
14396
14397 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14398
14399         * gst/gstbin.c: (gst_bin_restore_thyself):
14400         * gst/gstxml.c: (gst_xml_make_element):
14401           Fix deserialisation from XML. Set parent manually
14402           instead of using gst_bin_add(), since gst_bin_add()
14403           will unlink all pads of the element being added.
14404           Fixes #341667.
14405
14406 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14407
14408         Patch by: Peter Kjellerstedt <pkj at axis com>
14409
14410         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14411           Fix missing g_strdup() and double free when using the
14412           --gst-plugin-load command line option (#346097).
14413
14414 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14415
14416         * gst/gstinfo.c:
14417           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14418
14419         * libs/gst/net/gstnetclientclock.c:
14420         * libs/gst/net/gstnettimeprovider.c:
14421           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14422
14423 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14424
14425         * docs/manual/advanced-dataaccess.xml:
14426           Fix buffer probe example compilation in
14427           ADM (#345708).
14428         
14429 2006-06-22  Edward Hervey  <edward@fluendo.com>
14430
14431         * gst/gstelement.c: (gst_element_pads_activate):
14432         We need to deactivate src pads first and then sink pads.
14433         The reason is the src pads might be blocking while holding the streaming
14434         lock, so we need to deactivate them first so that deactivating the sink
14435         pads doesn't block (since it will require the streaming lock).
14436
14437 2006-06-22  Wim Taymans  <wim@fluendo.com>
14438
14439         * libs/gst/base/gstbasetransform.c:
14440         (gst_base_transform_buffer_alloc):
14441         Forgot to remove two unneeded unrefs.
14442         Simplify a check _is_equal allready checks the obvious case.
14443
14444 2006-06-22  Wim Taymans  <wim@fluendo.com>
14445
14446         * docs/design/part-block.txt:
14447         Some docs about what pad_block should do.
14448
14449 2006-06-22  Wim Taymans  <wim@fluendo.com>
14450
14451         * gst/gstcaps.c: (gst_caps_replace):
14452         Fix crasher when passed NULL. Doc clarification.
14453         Optimize for the trivial case.
14454
14455         * gst/gstpipeline.c: (gst_pipeline_change_state):
14456         Small cleanups.
14457
14458         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14459         Small documentation cleanup.
14460
14461         * libs/gst/base/gstbasetransform.c:
14462         (gst_base_transform_buffer_alloc):
14463         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14464         is what we need and it avoids a whole lot of redundant 
14465         refcount operations.
14466
14467 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14468
14469         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14470
14471         * docs/manual/advanced-dataaccess.xml:
14472           Fix 'Embedding static elements' section to use
14473           GST_PLUGIN_DEFINE_STATIC (#345607).
14474
14475 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14476
14477         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14478           Attempt to 'fix' spuriously failing test case: it seems like the
14479           timeout of half a second is simply too small when the system is under
14480           load otherwise, and the timeout doesn't really seem to serve any
14481           particular purpose here. Give the pipeline a few seconds to preroll
14482           first, and then give it another half a second to go from PAUSED to
14483           PLAYING and marshal the message into the main thread.
14484
14485 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14486
14487         * tools/gst-feedback-m.m:
14488           Don't only use unversioned tools, try versioned tools as well
14489           (#345086).
14490
14491 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14492
14493         * gst/gstbus.c: (gst_bus_class_init):
14494           Fix some typos, make docs more explicit.
14495
14496 2006-06-20  Wim Taymans  <wim@fluendo.com>
14497
14498         * tests/check/gst/gstghostpad.c: (block_callback),
14499         (GST_START_TEST), (gst_ghost_pad_suite):
14500         Added some more ghostpad tests, mainly blocking
14501         and probes.
14502
14503 2006-06-16  Wim Taymans  <wim@fluendo.com>
14504
14505         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14506         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14507         (gst_file_sink_event), (gst_file_sink_render):
14508         * plugins/elements/gstfilesink.h:
14509         Check if we can seek in the file instead of assuming
14510         we always can. Post an error when we are asked to seek in a
14511         non-seekable file (like a fifo). Fixes #343312.
14512         Some cleanups.
14513
14514 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14515
14516         * tools/gst-launch.1.in:
14517           Un-garble (fourcc) bit in filtered caps section.
14518
14519 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14520
14521         * docs/manual/advanced-autoplugging.xml:
14522         * docs/manual/basics-helloworld.xml:
14523         * docs/manual/highlevel-components.xml:
14524           Don't leak bus reference in sample code.
14525
14526 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14527
14528         * autogen.sh:
14529           Add default for new --enable-plugin-docs switch.
14530
14531         * configure.ac:
14532           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14533           Fixes #344039.
14534
14535         * docs/Makefile.am:
14536           Use new ENABLE_PLUGIN_DOCS conditional.
14537
14538 2006-06-14  Wim Taymans  <wim@fluendo.com>
14539
14540         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14541         Make it clear with a FIXME and a real define what the #if 0
14542         previously disabled.
14543
14544 2006-06-14  Wim Taymans  <wim@fluendo.com>
14545
14546         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14547         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14548         * libs/gst/base/gstbasetransform.c:
14549         (gst_base_transform_sink_eventfunc):
14550         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14551         Don't randomly and silently reset a segment when the format 
14552         changes as this is a bug somewhere upstream. Fixes #330379.
14553
14554 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14555
14556         Patch by: Wouter Paesen  <wouter at kangaroot net>
14557
14558         * libs/gst/controller/gstcontroller.c:
14559         (gst_controlled_property_new):
14560           Fix controlling of float properties (#344849).
14561
14562         * tests/check/libs/controller.c:
14563         (gst_test_mono_source_get_property),
14564         (gst_test_mono_source_set_property),
14565         (gst_test_mono_source_class_init), (GST_START_TEST):
14566           While we're at it, add some float stuff to unit test.
14567
14568 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14569
14570         * docs/README:
14571         * docs/images/gdp-header.svg:
14572           add a gdp image
14573         * docs/libs/Makefile.am:
14574         * docs/libs/gdp-header.png:
14575         * libs/gst/dataprotocol/dataprotocol.c:
14576           add it to the API docs
14577         * docs/manual/intro-motivation.xml:
14578           fix typo
14579
14580 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14581
14582         * gst/gst.c: (scan_and_update_registry), (init_post):
14583           If the fork()'ed child process can't write the updated registry cache
14584           file to disk for some reason, make it exit with a failure exit code,
14585           so that the parent can then re-scan the plugins itself and update the
14586           registry structures in memory and work with that (rather than failing
14587           when creating elements because seemingly no plugins are available).
14588           Refactor registry scanning code into separate function for this and
14589           also separate fork() and non-fork() code paths. Fixes #344748.
14590
14591 2006-06-13  Wim Taymans  <wim@fluendo.com>
14592
14593         * docs/manual/advanced-dataaccess.xml:
14594         Fix wrong PluginDesc. Fixes #344755.
14595
14596 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14597
14598         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14599           Fix silly bug that prevented us from creating
14600           ~/.gstreamer-0.10 and writing the registry in one
14601           go (the first call to g_mkstemp() would overwrite the
14602           placeholder in the template string, so the second call
14603           to g_mkstemp() after creating the missing directory
14604           would then error out with 'invalid argument').
14605
14606 2006-06-13  Edward Hervey  <edward@fluendo.com>
14607
14608         * gst/gst.c: (init_post):
14609         Free string.
14610
14611 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14612
14613         * gst/glib-compat-private.h:
14614         * gst/glib-compat.c:
14615         * gst/glib-compat.h:
14616         * gst/gstvalue.c: (gst_value_serialize_flags):
14617           remove GLib 2.6 compatibility code
14618
14619 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14620
14621         * gst/parse/Makefile.am:
14622           Fix build with 'make -j N' even more (#340016).
14623
14624 2006-06-12  Wim Taymans  <wim@fluendo.com>
14625
14626         * docs/gst/gstreamer-sections.txt:
14627         Fix docs.
14628
14629 2006-06-12  Wim Taymans  <wim@fluendo.com>
14630
14631         * gst/gstsegment.c: (gst_segment_set_duration),
14632         (gst_segment_set_last_stop), (gst_segment_set_seek),
14633         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14634         (gst_segment_to_running_time), (gst_segment_clip):
14635         Use G_UNLIKELY to help the compiler a bit.
14636
14637 2006-06-12  Wim Taymans  <wim@fluendo.com>
14638
14639         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14640
14641         * gst/gstevent.c: (gst_event_get_type):
14642         * gst/gstmessage.c:
14643         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14644         (gst_pad_push):
14645         constify quark registration strings. Fixes #344115
14646         Avoid unneeded type checking is _pad_push() by internally
14647         calling gst_pad_chain_unchecked().
14648
14649 2006-06-12  Wim Taymans  <wim@fluendo.com>
14650
14651         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14652         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14653         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14654         (gst_buffer_is_span_fast), (gst_buffer_span):
14655         Init _type for consistency.
14656         Use _FLAGS macro to avoid type check.
14657         Avoid unneeded type checks in subbufer code.
14658
14659 2006-06-12  Wim Taymans  <wim@fluendo.com>
14660
14661         * gst/gst.c: (gst_debug_help):
14662         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14663         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14664         (gst_plugin_feature_list_free):
14665         * gst/gstregistry.c: (gst_registry_add_plugin),
14666         (gst_registry_add_feature), (gst_registry_plugin_filter),
14667         (gst_registry_feature_filter), (gst_registry_find_plugin),
14668         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14669         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14670         * gst/gstregistryxml.c: (load_feature),
14671         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14672         * gst/gstminiobject.c: (gst_mini_object_unref),
14673         (gst_mini_object_replace), (gst_value_mini_object_free),
14674         (gst_value_mini_object_copy):
14675         Use _CAST macros to avoid unneeded type checking.
14676         Added some more G_UNLIKELY.
14677
14678 2006-06-12  Wim Taymans  <wim@fluendo.com>
14679
14680         * gst/gstbuffer.h:
14681         Avoid unneeded type checking.
14682         API: GST_BUFFER_IS_DISCONT
14683
14684         * gst/gstminiobject.h:
14685         Avoid type check in flag accessor.
14686
14687         * gst/gstelementfactory.h:
14688         * gst/gstplugin.h:
14689         * gst/gstpluginfeature.h:
14690         Add _CAST macros.
14691         API: GST_ELEMENT_FACTORY_CAST
14692         API: GST_PLUGIN_CAST
14693         API: GST_PLUGIN_FEATURE_CAST
14694
14695 2006-06-12  Wim Taymans  <wim@fluendo.com>
14696
14697         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14698         (gst_object_unref):
14699         Add G_UNLIKELY in type registration.
14700         Avoid type check in _ref/_unref since that is also
14701         done in glib.
14702
14703 2006-06-12  Wim Taymans  <wim@fluendo.com>
14704
14705         * gst/gsterror.c: (gst_g_error_get_type):
14706         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14707         (gst_static_pad_template_get_type):
14708         * gst/gsttaglist.c: (gst_tag_list_get_type):
14709         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14710         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14711         * gst/gsturi.c: (gst_uri_handler_get_type):
14712         * gst/gstvalue.c: (gst_date_get_type):
14713         * gst/gstxml.c: (gst_xml_get_type):
14714         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14715         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14716         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14717         Add G_UNLIKELY in type registration.
14718
14719 2006-06-12  Wim Taymans  <wim@fluendo.com>
14720
14721         * tools/gst-inspect.c: (print_signal_info):
14722         Properly print enum values.
14723
14724 2006-06-12  Wim Taymans  <wim@fluendo.com>
14725
14726         * gst/gstinfo.c: (gst_debug_set_active),
14727         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14728         * gst/gstinfo.h:
14729         Add some G_[UN]LIKELY.
14730         Maintain __gst_debug_min to avoid formatting the arguments of
14731         debug messages that will be dropped anyway to avoid a lot of 
14732         overhead from the debugging system.
14733
14734 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14735
14736         * po/POTFILES.in:
14737         * po/POTFILES.skip:
14738           add missing files containing translatable strings, tell intltool about
14739           one exception
14740
14741 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14742
14743         * tests/check/libs/.cvsignore:
14744         add test-binary to ignore list
14745
14746 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14747
14748         * docs/libs/gstreamer-libs-docs.sgml:
14749         reorder (put dp into a chapter) and indent
14750
14751 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14752
14753         * configure.ac:
14754           back to HEAD
14755
14756 === release 0.10.8 ===
14757
14758 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14759
14760         * configure.ac:
14761           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14762
14763 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14764
14765         * gst/gst.c: (init_post):
14766           move pid declaration to declaration block
14767
14768 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14769
14770         * gst/gst.c: (init_post):
14771           use _exit() instead of exit() in our forked child; this ensures
14772           that none of the registered exit handlers from whatever is using
14773           GStreamer get executed.  This fixes gnome-mixer-applet failing
14774           to load, because ORBit would shut down.
14775           Spotted by: Edward Hervey  <edward@fluendo.com>
14776           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14777           Fixes #344474
14778
14779 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14780
14781         * configure.ac:
14782           back to TRUNK
14783
14784 === release 0.10.7 ===
14785
14786 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14787
14788         * configure.ac:
14789           releasing 0.10.7, "Soepeke, ik zie ou"
14790
14791 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14792
14793         * configure.ac:
14794         * po/af.po:
14795         * po/az.po:
14796         * po/bg.po:
14797         * po/ca.po:
14798         * po/cs.po:
14799         * po/de.po:
14800         * po/en_GB.po:
14801         * po/fr.po:
14802         * po/it.po:
14803         * po/nb.po:
14804         * po/nl.po:
14805         * po/ru.po:
14806         * po/sq.po:
14807         * po/sr.po:
14808         * po/sv.po:
14809         * po/tr.po:
14810         * po/uk.po:
14811         * po/vi.po:
14812         * po/zh_CN.po:
14813         * po/zh_TW.po:
14814         * win32/common/config.h:
14815           0.10.6.2 prerelease
14816
14817 2006-06-07  Wim Taymans  <wim@fluendo.com>
14818
14819         * gst/gstindex.c: (gst_index_gtype_resolver):
14820         * tools/gst-xmlinspect.c: (print_plugin_info):
14821         Fix leak spotted by coverity checker. Fixes #343827
14822         Fix another other leak found by paolo borelli.
14823
14824 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14825
14826         * libs/gst/dataprotocol/dataprotocol.c:
14827         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14828         (gst_dp_version_get_type), (gst_dp_init),
14829         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14830         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14831         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14832         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14833         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14834         (gst_dp_packetizer_free):
14835         * libs/gst/dataprotocol/dataprotocol.h:
14836           API: add a GstDPPacketizer object, and create/free functions
14837           API: add GstDPVersion enum
14838           Add 1.0 event function that uses the string serialization
14839           Serialize more useful buffer flags
14840           Fixes #343988
14841
14842 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14843
14844         * tests/check/Makefile.am:
14845         * tests/check/gst/gstabi.c:
14846         * tests/check/gst/struct_ppc64.h:
14847         * tests/check/libs/libsabi.c:
14848         * tests/check/libs/struct_ppc64.h:
14849           add ppc64 structure sizes
14850
14851 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14852
14853         * tests/check/Makefile.am:
14854         * tests/check/gst/gstabi.c:
14855         * tests/check/gst/struct_x86_64.h:
14856         * tests/check/libs/libsabi.c:
14857         * tests/check/libs/struct_x86_64.h:
14858           generate and add structure size lists for x86_64
14859
14860 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14861
14862         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14863         * libs/gst/check/gstcheck.h:
14864           factor out the method from tests that checks size of structures,
14865           and add code to generate the header containing these sizes
14866         * tests/check/gst/gstabi.c: (GST_START_TEST):
14867         * tests/check/gst/struct_i386.h:
14868         * tests/check/libs/libsabi.c: (GST_START_TEST):
14869         * tests/check/libs/struct_i386.h:
14870           use it
14871
14872 2006-06-06  Michael Smith  <msmith@fluendo.com>
14873
14874         * gst/gstsegment.h:
14875           Don't use c++-style comments, fixes #343929
14876
14877 2006-06-05  Edward Hervey  <edward@fluendo.com>
14878
14879         * gst/gst.c:
14880         plugin_paths is not used if we build without registry support.
14881
14882         * gst/gstsegment.c: (gst_segment_copy): 
14883         _copy() was always returning NULL...
14884
14885 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14886
14887         * libs/gst/dataprotocol/dataprotocol.c:
14888         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14889         (gst_dp_packet_from_event):
14890           factor out CRC code
14891
14892 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14893
14894         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14895           make sure we unset caps
14896
14897 2006-06-02  Michael Smith  <msmith@fluendo.com>
14898
14899         * libs/gst/check/gstcheck.c: (gst_check_init),
14900         (gst_check_chain_func):
14901         * libs/gst/check/gstcheck.h:
14902           Add a cond/mutex to the check support lib, signal this whenever we
14903           add to the buffers list. This will allow tests to not busy-wait on
14904           the buffer-list.
14905
14906 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14907
14908         * libs/gst/dataprotocol/dataprotocol.c:
14909         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14910         (gst_dp_packet_from_event):
14911           factor out some common header init code
14912
14913 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14914
14915         * docs/libs/gstreamer-libs-sections.txt:
14916         * docs/libs/tmpl/gstdataprotocol.sgml:
14917         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14918         * libs/gst/dataprotocol/dataprotocol.h:
14919           API: make gst_dp_crc() public
14920
14921 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14922
14923         * plugins/indexers/gstindexers.c: (plugin_init):
14924         conditionally register fileindexer (fixes #343598)
14925
14926 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14927
14928         * gst/gsttagsetter.h:
14929         Can't cast ifaces to a class
14930
14931         * libs/gst/net/gstnetclientclock.h:
14932         * libs/gst/net/gstnettimeprovider.h:
14933         * plugins/elements/gstfakesink.h:
14934         * plugins/elements/gstfakesrc.h:
14935         * plugins/elements/gstfdsink.h:
14936         * plugins/elements/gstfdsrc.h:
14937         * plugins/elements/gstfilesink.h:
14938         * plugins/elements/gstfilesrc.h:
14939         * plugins/elements/gstidentity.h:
14940         * plugins/elements/gstqueue.h:
14941         * plugins/elements/gsttee.h:
14942         * plugins/indexers/gstfileindex.c:
14943         * plugins/indexers/gstmemindex.c:
14944         * tests/old/examples/plugins/example.h:
14945         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14946
14947 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14948
14949         * libs/gst/dataprotocol/dataprotocol.c:
14950         (gst_dp_header_from_buffer):
14951           make sure we zero the whole ABI-compatible area
14952
14953 2006-06-01  Wim Taymans  <wim@fluendo.com>
14954
14955         Patch by: Alessandro Decina <alessandro at nnva dot org>
14956
14957         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14958         Make sure the EOS flag is cleared from pads after a flush
14959         or stop. Fixes #343538.
14960
14961         * tests/check/libs/collectpads.c: (GST_START_TEST),
14962         (gst_collect_pads_suite):
14963         Added test for collectpads reusage after EOS.
14964
14965 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14966
14967         * gst/gst.c:
14968          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14969         * win32/common/libgstbase.def:
14970          export gst_collect_pads_set_flushing
14971         * win32/common/libgstreamer.def:
14972          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14973          gst_value_fraction_multiply
14974         * win32/vs6/gst_inspect.dsp:
14975          add a link to intl.lib
14976
14977 2006-05-30  Wim Taymans  <wim@fluendo.com>
14978
14979         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14980         (gst_collect_pads_chain):
14981         Handle the case where a pad is removed from the collection
14982         that could cause the other pads to become collectable.
14983
14984 2006-05-30  Wim Taymans  <wim@fluendo.com>
14985
14986         * gst/gstelement.c:
14987         Clarify the use of _release_request_pad() and
14988         _get_request_pad() a bit better.
14989
14990         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14991         (gst_adapter_take_buffer):
14992         Fix some doc and comment typos.
14993
14994 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14995
14996         * docs/gst/gstreamer-sections.txt:
14997         * docs/libs/gstreamer-libs-sections.txt:
14998           add declared symbols
14999
15000 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
15001
15002         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15003         Add debug that can be enabled using a #define at the top of the file,
15004         for dumping stats about how late/early we were when waking up from
15005         waiting on the clock.
15006
15007 2006-05-30  Wim Taymans  <wim@fluendo.com>
15008
15009         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
15010         When rebuilding the pad list, don't leak the previous list.
15011
15012 2006-05-30  Wim Taymans  <wim@fluendo.com>
15013
15014         Patch by: Lutz Mueller <lutz at topfrose dot de>
15015
15016         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15017         (gst_base_src_get_query_types), (gst_base_src_update_length):
15018         Publish supported query types.
15019         Update last_stop field in get_range mode so the position
15020         query works. Fixes #342321.
15021
15022 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
15023
15024         * docs/gst/gstreamer-sections.txt:
15025         * gst/gsttaglist.c: (_gst_tag_initialize):
15026         * gst/gsttaglist.h:
15027           API: add GST_TAG_PREVIEW_IMAGE (#343341).
15028
15029 2006-05-30  Wim Taymans  <wim@fluendo.com>
15030
15031         Patch by: Alessandro Decina <alessandro at nnva dot org>
15032
15033         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
15034         Unlock mutex when removing an unknown pad.
15035         Fixes #343334.
15036
15037         * tests/check/Makefile.am:
15038         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
15039         (push_event), (setup), (teardown), (GST_START_TEST),
15040         (gst_collect_pads_suite), (main):
15041         Added collecpads check, disabled for now as check crashes for
15042         some reason.
15043
15044 2006-05-29  Wim Taymans  <wim@fluendo.com>
15045
15046         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
15047         Don't leak pads lists.
15048
15049 2006-05-29  Wim Taymans  <wim@fluendo.com>
15050
15051         * docs/libs/gstreamer-libs-sections.txt:
15052         * libs/gst/base/gstcollectpads.c:
15053         (gst_collect_pads_set_flushing_unlocked),
15054         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15055         (gst_collect_pads_stop):
15056         * libs/gst/base/gstcollectpads.h:
15057         API: gst_collect_pads_set_flushing()
15058         Added api to set the pads to flushing, useful for seeking
15059         code in elements using collectpads.
15060         Clear segment when receiving a flush.
15061
15062 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
15063
15064         * gst/gst.c: (add_path_func), (init_post):
15065           Don't scan registry paths passed via --gst-plugin-path immediately
15066           (will crash, because absolutely nothing is set up and no types are
15067           registered etc.); do this later in init_post(). Fixes #343057.
15068
15069 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15070
15071         * gst/gst.c: (init_post):
15072           if we have fork, fork while reading/rebuilding the registry
15073           so the parent doesn't take the hit of having all plugins loaded
15074           in memory.  Fixes #342777.
15075         * configure.ac:
15076           Check if we have fork()
15077         * win32/common/config.h.in:
15078           no fork() on win32
15079
15080 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
15081
15082         * plugins/elements/gstelements.c:
15083         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
15084         (gst_file_src_init), (gst_file_src_set_property),
15085         (gst_file_src_get_property), (gst_file_src_start):
15086         * plugins/elements/gstfilesrc.h:
15087           API: GstFileSrc::use-mmap
15088
15089         Add a use-mmap property to enable easier testing of all code paths.
15090         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
15091         in the absence of gnomevfssrc. (Closes #340501)
15092
15093 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15094
15095         * tools/gst-inspect.c:
15096         Add missing include, removes warning of ngettext not being defined on
15097         some arches.
15098
15099 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
15100
15101         * gst/gstvalue.c: (gst_value_deserialize_fraction):
15102         Handle NULL input and output pointers silently as a failed conversion,
15103         rather than g_warnings.
15104
15105 2006-05-25  Wim Taymans  <wim@fluendo.com>
15106
15107         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
15108         Initialize variable before using. Fixes #342820.
15109
15110 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
15111
15112         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
15113           Fix off-by-one bug that would only allow peeks of N-1 bytes
15114           from the start even if the buffer to typefind on contains
15115           in fact N bytes of data (makes vorbis typefinding from a
15116           vorbis identification header buffer work).
15117
15118         * tests/check/Makefile.am:
15119         * tests/check/libs/.cvsignore:
15120         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
15121         (gst_typefindhelper_suite), (main), (foobar_typefind),
15122         (plugin_init):
15123           Add very basic unit test for gst_type_find_helper_for_buffer()
15124           that checks for the problem fixed above.
15125
15126 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15127
15128         * tools/gst-inspect.c: (print_interfaces),
15129         (print_element_properties_info), (print_element_list), (main):
15130           add more translatable strings
15131
15132 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
15133
15134         Patch by: Julien Moutte  <julien at moutte net>
15135
15136         * docs/gst/gstreamer-sections.txt:
15137           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15138           
15139         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15140         (gst_fake_sink_preroll):
15141         * plugins/elements/gstfakesink.h:
15142           API: Add new GstFakeSink::preroll-handoff signal (#337100).
15143
15144 2006-05-23  Wim Taymans  <wim@fluendo.com>
15145
15146         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15147         * gst/gstpad.h:
15148         Added _CUSTOM error and success GstFlowReturn that can be
15149         used be elements internally. 
15150         Added macro to check for SUCCESS flowreturns.
15151         API: GST_FLOW_CUSTOM_SUCCESS
15152         API: GST_FLOW_CUSTOM_ERROR
15153         API: GST_FLOW_IS_SUCCESS
15154
15155         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15156         Added check for GstFlowReturn sanity.
15157
15158 2006-05-23  Wim Taymans  <wim@fluendo.com>
15159
15160         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15161
15162         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15163         (gst_collect_pads_event):
15164         clear/reset segment info in FLUSH_STOP.
15165         Fixes #336929.
15166
15167 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
15168
15169         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15170         (gst_collect_pads_check_collected):
15171         Flush queued buffer on _stop(), fixes playing again (#342454)
15172
15173 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15174
15175         * tests/check/gst/gststructure.c: (GST_START_TEST),
15176         (gst_structure_suite):
15177           add a test for a complete structure
15178
15179 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15180
15181         * docs/faq/developing.xml:
15182         * docs/faq/faq.xml:
15183         * docs/faq/troubleshooting.xml:
15184         * docs/faq/using.xml:
15185           Some minor FAQ updates that won't change the fact that
15186           our FAQ is badly structured, full of information hardly
15187           anyone new to GStreamer needs to know and lacking lots
15188           of information people constantly ask for.
15189           
15190 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
15191
15192         * gst/gstpad.c: (gst_pad_set_caps):
15193           Short-circuit gst_pad_set_caps if setting the existing
15194           caps pointer again, and avoid printing debug and 
15195           reffing/unreffing the caps.
15196
15197         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15198           There's actually no need to set the caps before pushing -
15199           the acceptcaps method will handle it anyway.
15200
15201 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15202
15203         * docs/gst/gstreamer-sections.txt:
15204         * win32/common/libgstreamer.def:
15205         * gst/gstutils.c: (gst_element_seek_simple):
15206         * gst/gstutils.h:
15207           API: add gst_element_seek_simple() (#342238).
15208
15209 2006-05-18  Edward Hervey  <edward@fluendo.com>
15210
15211         * gst/gsttypefind.c: (gst_type_find_get_type):
15212         * gst/gsttypefind.h:
15213         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15214         registered for GstTypeFind pointers. This allows wrapping the structure
15215         in bindings (i.e. gst-python).
15216
15217 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15218
15219         * gst/gsttagsetter.c:
15220           Docs additions and fixes (see #339918).
15221
15222 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
15223
15224         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15225         The caps intersection algorithm can produce multiple copies of the
15226         caps. Until that is fixed, we need to simplify the result to be
15227         sure whether the allowed caps are fixed or not.
15228
15229         * plugins/elements/gstqueue.c: (gst_queue_init),
15230         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15231         (gst_queue_push_one):
15232         Proxied buffer alloc should not set the caps on the source pad.
15233         When pushing buffers, we always accept the caps change that triggers.
15234         This prevents negotiation errors caused by caps changing mid-stream 
15235         and then being refused on our source pad (because upstream is now
15236         refusing those caps).
15237
15238 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15239
15240         * tests/examples/helloworld/helloworld.c: (main):
15241           Must plug audioconvert and audioresample between decoder
15242           and audio sink.
15243
15244 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
15245
15246         * gst/gstregistryxml.c: (read_string), (load_pad_template),
15247         (load_feature), (load_plugin):
15248         Allow empty strings for some of the plugin fields so we don't 
15249         drop valid plugin entries that were written out correctly
15250         (Fixes #341479)
15251
15252 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
15253         
15254         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15255           Use g_remove and g_rename instead of remove and rename that don't 
15256           handle utf8 characters. rename was failing for users who had specific
15257           characters in their name then the registry was built at each 
15258           gstreamer init.
15259         * win32/vs6/gst_inspect.dsp:
15260         * win32/vs6/gst_launch.dsp:
15261         * win32/vs6/libgstbase.dsp:
15262         * win32/vs6/libgstcoreelements.dsp:
15263         * win32/vs6/libgstreamer.dsp:
15264           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
15265           build of libgstreamer and clean unused libraries in projects link 
15266           settings.
15267
15268 2006-05-17  Edward Hervey  <edward@fluendo.com>
15269
15270         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15271         The queue is not responsible for pushing an EOS when receiving a fatal
15272         flow error. It's up to the real element driving the pipeline to do that.
15273
15274 2006-05-16  Edward Hervey  <edward@fluendo.com>
15275
15276         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15277         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15278         buffer returned a fatal error. It should just send an EOS and stop
15279         its task.
15280         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15281         when pushing buffers on the queue and will be able to handle the event.
15282
15283 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
15284
15285         * docs/manual/basics-bins.xml:
15286         * docs/manual/basics-init.xml:
15287           Fix typos and minor errors in sample code (#341856).
15288
15289 2006-05-16  Wim Taymans  <wim@fluendo.com>
15290
15291         * docs/design/part-qos.txt:
15292         Fix indexes in formulas to make more sense.
15293
15294 2006-05-15  Wim Taymans  <wim@fluendo.com>
15295
15296         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15297         Don't report POSITION based on clock time if sync is
15298         disabled in a sink.
15299
15300 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
15301
15302         * gst/gstobject.h:
15303           Add cast to make compiler happy - refcount variable was a gint
15304           in GstObject but is a guint in GObject and g_atomic_int_get()
15305           wants a gint *.
15306
15307 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15308
15309         * gst/parse/Makefile.am:
15310           chain commands using &&, which also makes parallel make work
15311
15312 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
15313
15314         * docs/gst/gstreamer-sections.txt:
15315         * gst/gstevent.c:
15316         * gst/gstevent.h:
15317         * gst/gstmessage.h:
15318           Minor docs fixes.
15319
15320 === release 0.10.6 ===
15321
15322 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
15323
15324         * configure.ac:
15325           releasing 0.10.6, "Take the cannoli"
15326
15327 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15328
15329         * tools/gst-launch.c: (print_tag):
15330           Fix use of uninitialized variable in the hypothetical
15331           case that some broken plugin creates a GST_TAG_IMAGE
15332           tag containing a NULL buffer (#341667).
15333
15334 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15335
15336         * tools/gst-launch.c: (print_tag):
15337           Print something more intelligible for image tags when
15338           using the -t switch (#341556).
15339
15340 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15341
15342         * Makefile.am:
15343           updates for win32
15344         * configure.ac:
15345           define GST_MAJORMINOR so we have it available in win32/common/config.h
15346           Possibly remove it from our Makefile.am files later
15347         * win32/common/config.h:
15348         * win32/common/config.h.in:
15349           added GST_MAJORMINOR
15350         * win32/common/gstenumtypes.c: (register_gst_resource_error):
15351         * win32/common/gstversion.h:
15352           updated
15353
15354 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
15355
15356         * win32/MANIFEST:
15357           Update win32 files listing.
15358         * win32/common/gstversion.h:
15359           Add GST_MAJORMINOR definition.
15360         * win32/common/libgstreamer.def:
15361           Add new exported functions.
15362           
15363 2006-05-12  Michael Smith  <msmith@fluendo.com>
15364
15365         * gst/gstplugin.c: (gst_plugin_load_file):
15366           If an so file has no plugin entry point, unload the module.
15367
15368 2006-05-11  Wim Taymans  <wim@fluendo.com>
15369
15370         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15371         (gst_queue_set_property):
15372         Don't forget to signal the _chain or _loop function 
15373         when the queue size or thresholds change since that might
15374         cause them to make progres again.
15375
15376 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15377
15378         * gst/gstclock.c: (gst_clock_class_init):
15379         * gst/gstindex.c: (gst_index_class_init):
15380         * gst/gstobject.c: (gst_object_class_init):
15381         * gst/gstpad.c: (gst_pad_class_init):
15382         * gst/gstpipeline.c: (gst_pipeline_class_init):
15383         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15384         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15385         * libs/gst/base/gstbasetransform.c:
15386         (gst_base_transform_class_init):
15387         * libs/gst/net/gstnetclientclock.c:
15388         (gst_net_client_clock_class_init):
15389         * libs/gst/net/gstnettimeprovider.c:
15390         (gst_net_time_provider_class_init):
15391         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15392         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15393         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15394         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15395         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15396         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15397         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15398         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15399         * plugins/elements/gsttee.c: (gst_tee_class_init):
15400         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15401         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15402           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15403
15404 2006-05-11  Wim Taymans  <wim@fluendo.com>
15405
15406         * gst/gstbuffer.c: (_gst_buffer_initialize):
15407         Register subbufer along with the buffer type so that
15408         it does not accidentally gets registered from N
15409         different streaming threads in a non threadsafe way.
15410
15411 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15412
15413         * gst/gstbuffer.h:
15414         * gst/gstevent.h:
15415         * gst/gstmessage.h:
15416           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15417           gst_event_ref() and gst_message_ref() functions again
15418           (ugly hack, please do fix if there's a better way besides
15419           overrides.txt, which doesn't seem to work).
15420
15421 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15422
15423         * libs/gst/check/gstcheck.h:
15424           add an assert for setting state to avoid lots of repetitive code
15425           in the future
15426
15427 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15428
15429         * gst/gstvalue.c: (gst_value_serialize_flags):
15430           fix a leak if no flags are set
15431         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15432           fix leak in tests
15433
15434 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15435
15436         * docs/manual/basics-pads.xml:
15437           Expand a bit on caps and filtered links and update
15438           examples that were still using the no longer existing
15439           gst_pad_link_filtered() (#338206).
15440
15441 2006-05-10  Wim Taymans  <wim@fluendo.com>
15442
15443         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15444         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15445         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15446         (gst_collect_pads_stop):
15447         * libs/gst/base/gstcollectpads.h:
15448         No need to call _stop in _finalize.
15449         Iterate the main pad list in _finalize.
15450         Added some more debug.
15451         Free lists and data in the right order.
15452         Also free data whem doing _remove_pad when stopped for
15453         backward compatibility protect ::started with PAD_LOCK as
15454         well.
15455
15456 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15457
15458         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15459         (gst_structure_parse_value):
15460           add some comments
15461           rename a method so that it actually says what it does better
15462
15463 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15464
15465         * gst/gstevent.c: (_gst_event_initialize):
15466         * gst/gstformat.c: (_gst_format_initialize):
15467           make sure some essential types used by events are registered
15468           as part of gst_init()
15469         * gst/gstvalue.c: (gst_value_serialize_flags):
15470           if no flags are set, serialize them to a value that represents NONE
15471           so that deserializing them works
15472         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15473           add tests for serialization and deserialization of flags
15474
15475 2006-05-10  Wim Taymans  <wim@fluendo.com>
15476
15477         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15478         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15479         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15480         (gst_collect_pads_event), (gst_collect_pads_chain):
15481         Update docs.
15482         Better debug info.
15483         Catch and return errors from the collect function
15484         Refuse data on eos pads.
15485
15486 2006-05-10  Edward Hervey  <edward@fluendo.com>
15487
15488         * gst/gstinterface.h:
15489         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15490         GInterface type checking.
15491         They were previously using non-defined macros.
15492
15493 2006-05-09  Wim Taymans  <wim@fluendo.com>
15494
15495         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15496         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15497         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15498         (gst_collect_pads_start), (gst_collect_pads_stop),
15499         (gst_collect_pads_peek), (gst_collect_pads_pop),
15500         (gst_collect_pads_available), (gst_collect_pads_read),
15501         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15502         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15503         (gst_collect_pads_chain):
15504         * libs/gst/base/gstcollectpads.h:
15505         Clean up the mess that is collectpads, add comments and
15506         FIXMEs where needed.
15507         Maintain a separate pad list so we can add pads while
15508         collecting the other ones. For this we need a new separate 
15509         lock (see comics).
15510         Fix memory leak in finalize.
15511         Refactor some weird code to set/unset pad flushing flags, mark
15512         with comments.
15513         Don't crash in _available, _read, _flush when we're EOS.
15514
15515         * tests/check/libs/.cvsignore:
15516         Ignore adapter check binary.
15517
15518 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15519
15520         * gst/gstindex.c: (gst_index_resolver_get_type):
15521         * plugins/elements/gstfakesink.c:
15522         (gst_fake_sink_state_error_get_type):
15523         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15524         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15525         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15526           Const-ify GEnumValue arrays.
15527
15528 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15529
15530         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15531           Add test case for flags + gst_buffer_make_metadata_writable().
15532
15533 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15534
15535         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15536           gst_buffer_make_metadata_writable() should maintain the
15537           buffer flags (those that make sense at least) (see #340859).
15538
15539 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15540
15541         * tools/gst-inspect.c:
15542         * tools/gst-launch.c:
15543         * tools/gst-typefind.c:
15544         * tools/gst-xmlinspect.c:
15545         * tools/tools.h:
15546           Fix up includes: need to include stdlib.h in tools.h for exit().
15547
15548 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15549
15550         * gst/gsttaglist.c: (_gst_tag_initialize):
15551         * gst/gsttaglist.h:
15552           API: add GST_TAG_IMAGE tag (#340721).
15553
15554 2006-05-08  Wim Taymans  <wim@fluendo.com>
15555
15556         * gst/gstquery.c:
15557         Added some docs for the segment query.
15558
15559 2006-05-08  Wim Taymans  <wim@fluendo.com>
15560
15561         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15562         (gst_base_src_loop), (gst_base_src_change_state):
15563         Always push non-flushing serialized events in the streaming 
15564         thread.
15565
15566 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15567
15568         * gst/gsterror.c: (_gst_stream_errors_init):
15569           Add a missing error string.
15570
15571 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15572
15573         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15574         Add applied_rate to the debug
15575
15576         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15577         Copy applied_rate into the outgoing NEWSEGMENT event
15578
15579 2006-05-08  Wim Taymans  <wim@fluendo.com>
15580
15581         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15582
15583         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15584         (gst_base_sink_change_state):
15585         call ::unlock before taking the PREROLL_LOCK so we can safely
15586         handle elements that lock in ::render.
15587         Fixes #340174.
15588
15589 2006-05-08  Edward Hervey  <edward@fluendo.com>
15590
15591         * autogen.sh: (CONFIGURE_DEF_OPT): 
15592         Darwin's libtoolize is in fact called glibtoolize.
15593         Adding glibtoolize to the list of accepted names for libtoolize.
15594
15595 2006-05-08  Wim Taymans  <wim@fluendo.com>
15596
15597         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15598         Unify error handling, don't post an error message
15599         when a push() returns EOS but perform our normal EOS
15600         handling code. Fixes #340772.
15601
15602 2006-05-08  Wim Taymans  <wim@fluendo.com>
15603
15604         * docs/design/part-overview.txt:
15605         Make upsteam/downstream concepts more clear.
15606         Give an example of serialized/non-serialized events.
15607
15608         * docs/design/part-events.txt:
15609         * docs/design/part-streams.txt:
15610         Mention applied_rate.
15611
15612         * docs/design/part-trickmodes.txt:
15613         Mention applied rate, flesh out some more use cases.
15614
15615         * gst/gstevent.c: (gst_event_new_new_segment),
15616         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15617         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15618         (gst_event_parse_tag), (gst_event_new_buffer_size),
15619         (gst_event_parse_buffer_size), (gst_event_new_qos),
15620         (gst_event_parse_qos), (gst_event_parse_seek),
15621         (gst_event_new_navigation):
15622         * gst/gstevent.h:
15623         Add applied_rate field to NEWSEGMENT event.
15624         API: gst_event_new_new_segment_full()
15625         API: gst_event_parse_new_segment_full()
15626
15627         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15628         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15629         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15630         * gst/gstsegment.h:
15631         Add applied_rate to GstSegment structure.
15632         Make calculation of stream_time and running_time more correct
15633         wrt rate/applied_rate.
15634         Add some more docs.
15635         API: GstSegment::applied_rate field
15636         API: gst_segment_set_newsegment_full();
15637
15638         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15639         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15640         * libs/gst/base/gstbasetransform.c:
15641         (gst_base_transform_sink_eventfunc),
15642         (gst_base_transform_handle_buffer):
15643         Parse and use applied_rate in the GstSegment field.
15644
15645         * tests/check/gst/gstevent.c: (GST_START_TEST):
15646         Add check for applied_rate field.
15647
15648         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15649         (gstsegments_suite):
15650         Add more checks for various GstSegment operations.
15651
15652 2006-05-08  Wim Taymans  <wim@fluendo.com>
15653
15654         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15655         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15656         (gst_base_sink_get_position), (gst_base_sink_change_state):
15657         Store the sync time of the buffer end position separatly in a
15658         new variable eos_rtime so we can properly sync the EOS event.
15659         Fixes #340697.
15660         Fix the docs for gst_base_sink_set_qos_enabled().
15661         Don't set segment start to invalid value when we receive a 
15662         non TIME newsegment.
15663         get closer to handling position reporting for negative rates 
15664         correctly.
15665
15666 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15667
15668         * gst/gstcaps.c:
15669         Docs about how to print caps for debug purposes.
15670
15671         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15672         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15673
15674 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15675
15676         * gst/gstelement.c:
15677           use full enum names and preprend a '%' in docs strings to make recent 
15678           gtk-doc turn that into a link
15679
15680 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15681
15682         * docs/manual/basics-bins.xml:
15683         * docs/manual/basics-bus.xml:
15684         * docs/manual/basics-pads.xml:
15685           Some typo fixes, some additions, some clarifications. 
15686
15687 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15688
15689         * tools/gst-inspect.c: (main):
15690         * tools/gst-launch.c: (main):
15691         * tools/gst-run.c: (main):
15692         * tools/gst-typefind.c: (main):
15693         * tools/gst-xmlinspect.c: (main):
15694           Use the string passed to g_option_context_new() for
15695           what it's intended for - the program name is already
15696           printed elsewhere.
15697
15698 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15699
15700         * tools/Makefile.am:
15701         * tools/gst-inspect.c: (main):
15702         * tools/gst-launch.c: (main):
15703         * tools/gst-xmlinspect.c: (main):
15704         * tools/tools.h:
15705           Add back --version command line option (#340460).
15706
15707         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15708           Add --version option and use GOption for argument parsing; refactor a
15709           bit; accept directories as arguments and recurse into them; lastly,
15710           print a decent error message when things go wrong.
15711
15712 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15713
15714         * docs/manual/basics-bins.xml:
15715         Don't mention GstThread (#340611)
15716         * docs/manual/basics-elements.xml:
15717         Update link to GObject tutorial (#340607)
15718         
15719 2006-05-05  Wim Taymans  <wim@fluendo.com>
15720
15721         * gst/gstbuffer.h:
15722         * gst/gstminiobject.c:
15723         Add note about refcounting and miniobject/buffer writeability
15724         to docs. Fixes #340604
15725
15726         * gst/gstelementfactory.h:
15727         Added some explanation about @klass.
15728
15729 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15730
15731         * docs/manual/intro-motivation.xml:
15732         * docs/manual/manual.xml:
15733         Avoid CORBA & Bonobo references (#340598)
15734
15735 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15736
15737         * docs/manual/basics-bus.xml:
15738         * docs/manual/basics-pads.xml:
15739         Fix up some inaccuracies and omissions (#340609)
15740         
15741 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15742
15743         * gst/gstghostpad.c:
15744           Small typo in docs (#340625)
15745
15746 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15747
15748         * gst/parse/Makefile.am:
15749           Make 'make -j' proof (see #340698).
15750
15751 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15752
15753         * configure.ac:
15754           Require GLib-2.8 here as well.
15755
15756 2006-05-05  Wim Taymans  <wim@fluendo.com>
15757
15758         * gst/glib-compat.c:
15759         * gst/gst.c: (init_pre):
15760         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15761         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15762         (gst_object_dispatch_properties_changed):
15763         * gst/gstobject.h:
15764         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15765         * gst/gststructure.c: (gst_structure_set_valist):
15766         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15767         Remove pre glib2.8 compatibility, fixes #340508
15768
15769 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15770
15771         * gst/gsttaglist.h:
15772           Mention type of tags in doc blurbs.
15773
15774 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15775
15776         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15777         (gst_pad_configure_src), (gst_pad_push):
15778         Restore acceptcaps checking behaviour now that good plugins have
15779         been released.
15780
15781 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15782
15783         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15784
15785         * gst/gst.c:
15786         * gst/gstbus.c:
15787         * gst/gstclock.c:
15788         * gst/gstevent.c:
15789         * gst/gstformat.c:
15790         * gst/gstmessage.c:
15791         * gst/gstparse.c:
15792         * gst/gstquery.c:
15793         * gst/gstutils.c:
15794         * gst/parse/Makefile.am:
15795         * libs/gst/base/gstadapter.c:
15796         * libs/gst/base/gstbasesrc.c:
15797         * libs/gst/base/gstpushsrc.c:
15798         * libs/gst/base/gsttypefindhelper.c:
15799         * plugins/elements/gstfakesrc.c:
15800         * plugins/elements/gstidentity.c:
15801           Make sure gstprivate.h and/or config.h are
15802           always included first, otherwise some of our
15803           defines (like _FILE_OFFSET_BITS) might be
15804           redefined in the system headers. Fixes build
15805           on opensolaris (#340016).
15806
15807 2006-05-04  Wim Taymans  <wim@fluendo.com>
15808
15809         * docs/libs/gstreamer-libs-sections.txt:
15810         API: addition: gst_adapter_take_buffer()
15811         
15812         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15813         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15814         (gst_adapter_available_fast):
15815         * libs/gst/base/gstadapter.h:
15816         Prepare for optimizing the hell out of this hugely inefficient
15817         piece of code. 
15818         Added gst_adapter_take_buffer() so we can at least start thinking
15819         about subbuffering and merging.
15820         Added some comments.
15821
15822         * tests/check/Makefile.am:
15823         * tests/check/libs/adapter.c: (GST_START_TEST),
15824         (gst_adapter_suite), (main):
15825         Added GstAdapter check.
15826
15827 2006-05-04  Wim Taymans  <wim@fluendo.com>
15828
15829         * docs/design/part-overview.txt:
15830         Fix some typos, add blurb about buffer flags.
15831
15832 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15833
15834         * docs/libs/gstreamer-libs-sections.txt:
15835           make sure GstBaseTransformClass shows up in the docs
15836         * libs/gst/base/gstbasetransform.c:
15837         * libs/gst/base/gstbasetransform.h:
15838           move docs so gtk-doc picks it up now
15839
15840 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15841
15842         * docs/libs/gstreamer-libs-sections.txt:
15843           add missing symbols to docs
15844
15845 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15846
15847         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15848           back out the newsegment handling change, see #340060 for ongoing
15849           discussion
15850
15851 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15852
15853         * tools/gst-run.c: (get_candidates), (main):
15854           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15855           work); fix typo in error message. Fixes #340079.
15856
15857 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15858
15859         * common/Makefile.am:
15860         * docs/Makefile.am:
15861         * docs/faq/Makefile.am:
15862         * docs/gst/Makefile.am:
15863         * docs/libs/Makefile.am:
15864         * docs/manual/Makefile.am:
15865         * docs/plugins/Makefile.am:
15866         * docs/pwg/Makefile.am:
15867         * docs/slides/Makefile.am:
15868         * docs/upload.mak:
15869         * common/upload.mak:
15870           move upload.mak to common
15871
15872 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15873
15874         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15875           add more asserts on refcounts
15876           do more cleanup at end of tests
15877           fix test leaks showing in FC5
15878
15879 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15880
15881         * plugins/elements/gsttypefindelement.c:
15882         (gst_type_find_element_handle_event):
15883         reverted wrong change and reflowed code to avoid others falling into
15884         this trap
15885
15886 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15887
15888         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15889           fix changelog entry about last collectpads change,
15890           add notes about proper fix
15891
15892 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15893
15894         * gst/gst.c:
15895         * gst/gstregistry.c: (gst_registry_scan_path_level),
15896         (gst_registry_scan_path):
15897         * gst/gstregistry.h:
15898           only write out registry if it has changed, fixes #338339
15899
15900 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15901
15902         * gst/gstbin.c:
15903         * gst/gstpipeline.c:
15904         * plugins/elements/gstcapsfilter.c:
15905         * plugins/elements/gstfakesink.c:
15906         * plugins/elements/gstfakesrc.c:
15907         * plugins/elements/gstfdsink.c:
15908         * plugins/elements/gstfdsrc.c:
15909         * plugins/elements/gstfilesink.c:
15910         * plugins/elements/gstfilesrc.c:
15911         * plugins/elements/gstidentity.c:
15912         * plugins/elements/gstqueue.c:
15913         * plugins/elements/gsttee.c:
15914         * plugins/elements/gsttypefindelement.c:
15915         (gst_type_find_element_handle_event):
15916           make GstElementDetails const
15917
15918 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15919
15920         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15921         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15922         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15923           more detailed debug and formatting cleanup,
15924           forward newsegments to src-pad (so that e.g. adder not eats them)
15925
15926 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15927
15928         * gst/gstutils.c: (gst_element_link_pads):
15929           cleanup double code
15930
15931 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15932
15933         * libs/gst/controller/gstcontroller.c:
15934         (gst_controller_sync_values):
15935           some little tuning
15936         * tests/check/libs/controller.c: (GST_START_TEST),
15937         (gst_controller_suite):
15938           a new test for live value handling
15939
15940 2006-04-28  Wim Taymans  <wim@fluendo.com>
15941
15942         * gst/gstutils.c: (push_and_ref):
15943         Added some more docs.
15944         Fix refcount issue whith gst_element_found_tags() helper 
15945         function. Fixes #338335
15946
15947         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15948         Added testsuite for gst_element_found_tags().
15949
15950 2006-04-28  Michael Smith  <msmith@fluendo.com>
15951
15952         * gst/gstvalue.c: (gst_value_serialize_flags):
15953           Avoid NULL dereference when trying to serialize flags containing
15954           invalid values.
15955
15956 2006-04-28  Michael Smith  <msmith@fluendo.com>
15957
15958         * plugins/elements/gsttypefindelement.c:
15959         (gst_type_find_element_handle_event):
15960           If we get EOS before any data is accumulated, don't use
15961           uninitialised local variables.
15962
15963 2006-04-28  Michael Smith  <msmith@fluendo.com>
15964
15965         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15966         (gst_dp_event_from_packet):
15967           Fixes in reading/writing events over GDP (not currently used?) - 
15968           dereferencing NULL events for unknown/invalid event types, memory
15969           leak, and change g_warning to GST_WARNING.
15970
15971 2006-04-28  Wim Taymans  <wim@fluendo.com>
15972
15973         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15974         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15975         (gst_base_sink_get_position), (gst_base_sink_change_state):
15976         When frame dropping is enabled, we should not ignore frames
15977         without a duration.
15978         Update some documentation.
15979
15980 2006-04-28  Wim Taymans  <wim@fluendo.com>
15981
15982         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15983         (gst_base_src_send_event), (gst_base_src_change_state):
15984         Documentation updates.
15985
15986 2006-04-28  Wim Taymans  <wim@fluendo.com>
15987
15988         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15989         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15990         handle EAGAIN, EINTR and short writes correctly. Also clean
15991         up some error cases, avoid a deadlock on bad file descriptors and
15992         use GST_DEBUG_OBJECT.
15993         Fixes #339843
15994
15995 2006-04-28  Wim Taymans  <wim@fluendo.com>
15996
15997         * gst/gstvalue.c: (gst_value_serialize_buffer),
15998         (gst_value_deserialize_buffer):
15999         Don't try to serialize a GValue with a NULL buffer. 
16000         Fixes #339821.
16001
16002         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16003         Added check for serialisation of NULL buffers.
16004
16005 2006-04-28  Wim Taymans  <wim@fluendo.com>
16006
16007         * gst/gstminiobject.c: (gst_value_take_mini_object):
16008         Taking a NULL miniobject is valid, fix the case where
16009         we try to unref the NULL miniobject.
16010
16011 2006-04-28  Wim Taymans  <wim@fluendo.com>
16012
16013         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
16014
16015         * gst/gstbin.c: (gst_bin_handle_message_func):
16016         Update docs.
16017         Don't leak bin refcount when a state recalc is
16018         in progress and we delay another one #339808.
16019
16020 2006-04-28  Wim Taymans  <wim@fluendo.com>
16021
16022         * docs/design/part-TODO.txt:
16023         Mention QoS as an ongoing work item.
16024
16025         * docs/design/part-buffering.txt:
16026         New doc about buffering that needs to be fleshed out
16027         at some point.
16028
16029         * docs/design/part-qos.txt:
16030         More QoS policy for decoders/demuxers/transforms
16031
16032         * docs/design/part-trickmodes.txt:
16033         Small update.
16034
16035 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16036
16037         * configure.ac:
16038           back to HEAD
16039
16040 === release 0.10.5 ===
16041
16042 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
16043
16044         * configure.ac:
16045           releasing 0.10.5, "Fogo"
16046
16047 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16048
16049         patch by: Wim Taymans
16050
16051         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
16052         (gst_pad_configure_src), (gst_pad_push):
16053         * gst/gstpipeline.c: (gst_pipeline_init):
16054           Fix internal data flow errors.  Fixes #338711.
16055
16056 2006-04-12  Wim Taymans  <wim@fluendo.com>
16057
16058         * tests/check/gst/gstelement.c: (GST_START_TEST):
16059         Don't leak the factory.
16060
16061 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16062
16063         * configure.ac:
16064         * win32/common/config.h:
16065           prerelease
16066
16067 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
16068
16069         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16070         (gst_controller_unset_all):
16071           Free allocated GstTimedValues when freeing list nodes.
16072           Should fix leaks 'make check-valgrind' complains about.
16073
16074         * win32/common/libgstcontroller.def:
16075           Add gst_controller_unset_all.
16076
16077 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
16078
16079         * docs/libs/gstreamer-libs-sections.txt:
16080         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16081         (gst_controller_unset_all):
16082         * libs/gst/controller/gstcontroller.h:
16083         API: Added new method gst_controller_unset_all()
16084         fixed gst_controller_unset()
16085         * tests/check/libs/controller.c: (GST_START_TEST),
16086         (gst_controller_suite):
16087         Added two testcases for new and fixed method
16088
16089 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
16090
16091         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
16092           MSG_DONTWAIT is not defined on Cygwin, so work
16093           around that (fixes #317048).
16094           
16095 2006-04-11  Wim Taymans  <wim@fluendo.com>
16096
16097         * gst/gstelementfactory.c: (gst_element_register),
16098         (gst_element_factory_create), (gst_element_factory_make):
16099         Some cleanups.
16100         Fixed a FIXME.
16101         Updated docs (Fixes #131079)
16102
16103         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16104         Small cleanups.
16105
16106         * tests/check/gst/gstelement.c: (GST_START_TEST),
16107         (gst_element_suite):
16108         Added testcase for elementfactory class field.
16109
16110 2006-04-10  Wim Taymans  <wim@fluendo.com>
16111
16112         * gst/gstsegment.c:
16113         Added some more docs.
16114
16115         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
16116         (gst_base_sink_reset_qos):
16117         Calculate more accurate rate values.
16118
16119 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
16120
16121         * gst/gst_private.h:
16122           add a new #ifdef to use __declspec(dllimport) only for
16123           other modules and not for gstreamer core
16124         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
16125           use gst_guint64_to_gdouble for conversion
16126         * win32/common/libgstreamer.def:
16127           add new exported functions
16128         * win32/vs6/gst_inspect.dsp:
16129         * win32/vs6/gst_launch.dsp:
16130         * win32/vs6/libgstbase.dsp:
16131         * win32/vs6/libgstcontroller.dsp:
16132         * win32/vs6/libgstcoreelements.dsp:
16133         * win32/vs6/libgstdataprotocol.dsp:
16134         * win32/vs6/libgstnet.dsp:
16135           update project files
16136
16137 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16138
16139         * gst/gstbuffer.c: (gst_subbuffer_class_init):
16140         * gst/gstclock.c: (gst_clock_class_init):
16141         * gst/gstelement.c: (gst_element_class_init):
16142         * gst/gstindex.c: (gst_index_class_init):
16143         * gst/gstindexfactory.c: (gst_index_factory_class_init):
16144         * gst/gstobject.c: (gst_object_class_init),
16145         (gst_signal_object_class_init):
16146         * gst/gstpad.c: (gst_pad_class_init):
16147         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16148         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16149         * gst/gstregistry.c: (gst_registry_class_init):
16150         * gst/gstsystemclock.c: (gst_system_clock_class_init):
16151         * gst/gsttask.c: (gst_task_class_init):
16152         * gst/gstxml.c: (gst_xml_class_init):
16153         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16154         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16155         (gst_base_src_loop):
16156         * libs/gst/controller/gstcontroller.c:/
16157         (_gst_controller_class_init):
16158         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16159         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16160         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16161         * tests/old/examples/plugins/example.c: (gst_example_class_init):
16162         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16163         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16164
16165 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
16166
16167         * gst/gstpad.c: (gst_pad_link):
16168           Must set peer pads before calling the link function, otherwise
16169           a task started from a link function might get a flow-not-linked
16170           result when trying to push because the other thread where the
16171           linking happens hasn't had a chance to set the peers yet. This
16172           might happen for example when a queue gets linked to a downstream
16173           element, as queue starts a streaming task when its source pad
16174           gets linked. Happens in real life when playing back flac/musepack
16175           files in playbin (#332390).
16176           
16177 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16178
16179         * gst/gstindex.h:
16180         * gst/gstxml.h:
16181         * libs/gst/base/gstadapter.h:
16182         * libs/gst/base/gstbasesink.h:
16183         * libs/gst/base/gstbasesrc.h:
16184         * libs/gst/base/gstbasetransform.h:
16185         * libs/gst/base/gstcollectpads.h:
16186         * libs/gst/base/gstpushsrc.h:
16187         Fix broken GObject macros
16188
16189 2006-04-07  Wim Taymans  <wim@fluendo.com>
16190
16191         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16192         Initialize start and stop times, thanks valgrind.
16193
16194 2006-04-07  Wim Taymans  <wim@fluendo.com>
16195
16196         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16197         Be a bit nicer to badly behaving upstream elements that expect
16198         us to deal with non TIME segments and timestamps (such as fakesrc
16199         in the testsuite).
16200
16201 2006-04-07  Wim Taymans  <wim@fluendo.com>
16202
16203         * gst/gstbus.c:
16204         Small documentation clarification about the signal watch.
16205
16206         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16207         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16208         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16209         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16210         (gst_base_sink_get_position_last),
16211         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16212         Convert and store timestamps in stream time and running time, the
16213         raw timestamps are not useful, also document this better.
16214         Use different window sizes for good and bad QoS observations so
16215         we react to badness a little quicker.
16216         Keep track of the amount of rendered and dropped buffers.
16217         Send QoS timestamps in running time.
16218
16219         * libs/gst/base/gstbasetransform.c:
16220         (gst_base_transform_sink_eventfunc),
16221         (gst_base_transform_handle_buffer):
16222         Compare QoS timestamps against running time.
16223
16224 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16225
16226         * gst/gstpad.c:
16227           Typo fixes in docs.
16228
16229 2006-04-06  Michael Smith  <msmith@fluendo.com>
16230
16231         * gst/gstpad.c: (gst_pad_set_property):
16232           Use g_value_get_object() instead of g_value_dup_gst_object(),
16233           to avoid double-reffing the pad template (which we then sink,
16234           so this worked previously if (and only if) the pad template
16235           was floating.
16236
16237         * gst/gstpadtemplate.c: (gst_pad_template_init),
16238         (gst_pad_template_pad_created):
16239           Never return floating references to pad templates, create
16240           them as initially-sunken.
16241
16242           Document an extra function (and make this stop sinking our
16243           pad template, since that is now guaranteed to do nothing,
16244           since we created it sunken).
16245
16246         * gst/gstghostpad.c:
16247           Fix docs typo.
16248
16249 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16250
16251         * gst/gstinfo.c: (__gst_in_valgrind):
16252           Add some newlines.
16253
16254         * plugins/elements/gsttypefindelement.c:
16255         (gst_type_find_element_chain):
16256           Don't leak buffer caps.
16257
16258 2006-04-06  Michael Smith  <msmith@fluendo.com>
16259
16260         * gst/parse/grammar.y:
16261           Fix a leak in parse-launch for any source-or-sink named element 
16262           references used.
16263
16264         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16265           Unref the pipeline if it exists after we've failed parsing.
16266
16267 2006-04-05  Michael Smith  <msmith@fluendo.com>
16268
16269         * gst/gstpipeline.c: (gst_pipeline_init):
16270           When we create a pipeline bus, initially create it in flushing mode.
16271           Fixes leaks in at least one test, and makes a new pipeline work the
16272           same as one that has gone to READY and then back to NULL.
16273
16274         * gst/gstelement.c:
16275           Typo fix in docs.
16276
16277 2006-04-05  Michael Smith  <msmith@fluendo.com>
16278
16279         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16280           Unref a pad we reffed.
16281         * tests/check/gst/gstutils.c: (GST_START_TEST):
16282           Unref bins
16283
16284 2006-04-05  Michael Smith  <msmith@fluendo.com>
16285
16286         * gst/gstquery.c: (gst_query_set_formats),
16287         (gst_query_set_formatsv):
16288           Fix leaking GValues in queries, as shown by valgrind/testsuite.
16289
16290 2006-04-05  Michael Smith  <msmith@fluendo.com>
16291
16292         * tests/check/generic/sinks.c: (GST_START_TEST):
16293           Fix a variety of memleaks in sinks check, which are only sometimes 
16294           shown by running the tests under valgrind (weird?).
16295
16296 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
16297
16298         * docs/version.entities.in:
16299           Fix the substituted entity name after thomas' changes on the
16300           weekend.
16301
16302 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
16303
16304         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16305         VALGRIND_PRINTF
16306         
16307 2006-04-05  Andy Wingo  <wingo@pobox.com>
16308
16309         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16310
16311         * libs/gst/base/gstbasetransform.c
16312         (gst_base_transform_sink_eventfunc): When resetting our segment on
16313         FLUSH_STOP, also update the flag saying we haven't seen a
16314         newsegment.
16315
16316 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16317
16318         Patch by: Paolo Borelli  <pborelli at katamail dot com>
16319
16320         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16321         (gst_plugin_check_license):
16322           minor clean-ups: G_DEFINE_TYPE already takes care of the
16323           parent_class stuff, no need to do it twice. Mark array of
16324           license strings as constant. (#337103)
16325           
16326 2006-04-04  Michael Smith  <msmith@fluendo.com>
16327
16328         * tools/gst-inspect.c: (print_element_list):
16329           Free the right plugin list; fixes a memory leak.
16330
16331 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16332
16333         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
16334
16335         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16336           Don't error out on empty buffers (#336945).
16337           
16338 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
16339
16340         * docs/libs/gstreamer-libs-sections.txt:
16341         * gst/gsttaglist.c:
16342         * libs/gst/base/gstbasesink.c:
16343         * libs/gst/base/gstbasesink.h:
16344         * libs/gst/base/gstbasesrc.c:
16345         * libs/gst/base/gstbasesrc.h:
16346           Documentation updates. Make BaseSink and BaseSrc docs contain the
16347           class structure so that people can actually see the prototypes for
16348           virtual functions they're supposed to be overriding.
16349
16350 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16351
16352         * plugins/elements/gsttypefindelement.c:
16353         (gst_type_find_element_chain):
16354           More debug info; when skipping typefinding, send cached
16355           events in all cases.
16356
16357 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16358
16359         * configure.ac:
16360           use new AS_VERSION and AS_NANO macros
16361         * gst/gst-i18n-lib.h:
16362         * gst/gst.c:
16363         * gst/gsterror.c:
16364         * gst/gstversion.h.in:
16365         * win32/common/config.h:
16366         * win32/common/config.h.in:
16367           update accordingly
16368
16369 2006-03-31  Michael Smith  <msmith@fluendo.com>
16370
16371         * plugins/elements/gsttypefindelement.c:
16372         (gst_type_find_element_chain):
16373           Do not typefind content if the buffers already have caps.
16374           Neccesary for icydemux (#333657), and the right thing to do anyway.
16375
16376 2006-03-30  Wim Taymans  <wim@fluendo.com>
16377
16378         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16379         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16380         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16381         (gst_base_sink_record_qos_observation),
16382         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16383         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16384         (gst_base_sink_change_state):
16385         More QoS measurements as described in the design doc.
16386         Get rid of ringbuffer with observations, running average is
16387         more simple and equally good.
16388         Calculates valid proportion now.
16389         Added beginning of flood measurement.
16390
16391 2006-03-29  Wim Taymans  <wim@fluendo.com>
16392
16393         * docs/design/part-qos.txt:
16394         * gst/gstclock.c:
16395         Small documentation updates and additions.
16396
16397 2006-03-29  Wim Taymans  <wim@fluendo.com>
16398
16399         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16400         (gst_base_src_send_event), (gst_base_src_loop),
16401         (gst_base_src_change_state):
16402         Perform the EOS logic when we reach the segment stop position.
16403         Fix compilation on gcc4.1
16404
16405 2006-03-29  Wim Taymans  <wim@fluendo.com>
16406
16407         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16408
16409         * plugins/elements/gstqueue.c: (gst_queue_init),
16410         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16411         (gst_queue_set_property):
16412         * plugins/elements/gstqueue.h:
16413         In queue, when EOS is received, if minimum threshold > max_size -
16414         current_level, there is chance that queue blocks forever in conditional
16415         item del wait. This is because the queue is not emptied completely due
16416         to minimum threshold.  Here is another approach. Instead of setting
16417         cur_levels to max in EOS, just zero all minimum threshold levels. This
16418         should make sure that queue gives out all data. When going to READY
16419         (stop) state, just reset the original minimum threshold levels.
16420         Fixes #336336.
16421
16422 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16423
16424         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16425         (gst_type_find_element_handle_event),
16426         (gst_type_find_element_send_cached_events),
16427         (gst_type_find_element_change_state):
16428         * plugins/elements/gsttypefindelement.h:
16429           When typefinding is done in push mode, we should cache
16430           events we receive during typefinding instead of just
16431           dropping them (e.g. newsegment, custom events from
16432           dvdreadsrc etc.) and then send them out once we've
16433           determined the type of the stream (and decodebin
16434           has had a chance to plug in a decoder/demuxer).
16435           
16436 2006-03-27  Wim Taymans  <wim@fluendo.com>
16437
16438         * docs/design/part-qos.txt:
16439         First QoS ideas.
16440
16441 2006-03-27  Wim Taymans  <wim@fluendo.com>
16442
16443         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16444
16445         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16446         (gst_base_src_send_event), (gst_base_src_change_state):
16447         Handle element seek correctly when we are streaming.
16448         Fixes #326998.
16449
16450 2006-03-24  Michael Smith  <msmith@fluendo.com>
16451
16452         * docs/faq/gst-uninstalled:
16453           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16454           allow you to correctly run intalled applications built against old 
16455           core, using plugins that require updated core (e.g. running
16456           installed totem against a full uninstalled gstreamer stack)
16457
16458 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16459
16460         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16461         more debug details
16462
16463 2006-03-24  Wim Taymans  <wim@fluendo.com>
16464
16465         * docs/gst/gstreamer-sections.txt:
16466         Rearrange the order of the methods so that related methods
16467         are grouped together in sections.
16468
16469 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16470
16471         * gst/gstelement.c:
16472           Little clarification in the docs
16473
16474 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16475
16476         * docs/README:
16477         formatting fix
16478         * plugins/elements/gstidentity.c:
16479         * plugins/elements/gstqueue.c:
16480         * plugins/elements/gsttee.c:
16481         * plugins/elements/gsttypefindelement.c:
16482         GST_ELEMENT_DETAILS formatting
16483
16484 2006-03-24  Wim Taymans  <wim@fluendo.com>
16485
16486         * libs/gst/base/gstbasesink.h:
16487         Only add fields, not insert or we break ABI.
16488
16489 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16490
16491         * win32/common/libgstbase.def:
16492         * win32/common/libgstreamer.def:
16493           Update, add recently added functions.
16494
16495 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16496
16497         * docs/gst/gstreamer-sections.txt:
16498         * gst/gstutils.c: (gst_pad_query_peer_position),
16499         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16500         * gst/gstutils.h:
16501           API: add some new utility functions:
16502            - gst_pad_query_peer_position()
16503            - gst_pad_query_peer_duration()
16504            - gst_pad_query_peer_convert()
16505           
16506 2006-03-23  Wim Taymans  <wim@fluendo.com>
16507
16508         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16509         (gst_base_sink_init), (gst_base_sink_finalize),
16510         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16511         (gst_base_sink_set_property), (gst_base_sink_get_property),
16512         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16513         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16514         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16515         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16516         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16517         (gst_base_sink_preroll_object), (gst_base_sink_event),
16518         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16519         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16520         (gst_base_sink_query), (gst_base_sink_change_state):
16521         Decouple max-lateness and the fact that QoS messages are generated
16522         with a new property (qos).
16523         added API: GstBaseSink::async_play()
16524         Add vmethod so subclasses can be notified of ASYNC playing
16525         state changes.
16526         Collect timestamp start and stop to report better current
16527         position in EOS/PLAYING/PAUSED/READY/NULL.
16528         Refactor QoS/frame dropping and other measurements.
16529         API: GstBaseSrc::qos
16530         Fixes #326311
16531
16532         * libs/gst/base/gstbasesink.h:
16533         Added Private struct.
16534         API: gst_base_sink_set_qos_enabled()
16535         API: gst_base_sink_is_qos_enabled()
16536
16537 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16538
16539         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16540           If compiling against GLib-2.8 or newer, try to read the
16541           registry file using GMappedFile first before falling back
16542           to fopen() + fread() (#332151).
16543
16544 2006-03-22  Wim Taymans  <wim@fluendo.com>
16545
16546         * gst/gstinfo.c: (gst_debug_set_active),
16547         (gst_debug_category_set_threshold):
16548         Disable debugging unless explicitly activated.
16549         Fixes #335480.
16550
16551 2006-03-22  Wim Taymans  <wim@fluendo.com>
16552
16553         * gst/gstelement.c: (gst_element_set_locked_state),
16554         (gst_element_dispose):
16555         Cleanup the error case.
16556
16557         * gst/gstobject.c: (gst_object_dispose):
16558         print a critical when some object was disposed with
16559         a parent, also revive the object since it might
16560         crash the parent.
16561
16562 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16563
16564         * tools/gst-launch.1.in:
16565           Fix another typo.
16566
16567 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16568
16569         * configure.ac:
16570         * tests/check/Makefile.am:
16571           disable some tests when we don't have a registry
16572         * tests/check/gst/gstutils.c: (gst_utils_suite):
16573           don't build the part that needs parsing
16574
16575 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16576
16577         * gst/Makefile.am
16578         * tests/examples/Makefile.am:
16579           fix --disable-parse build
16580
16581 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16582
16583         * tools/gst-feedback.1.in:
16584           Fix typo: s/feeback/feedback/ (#133494).
16585
16586 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16587
16588         * tools/Makefile.am:
16589         * tools/gst-launch.1.in:
16590           Add FILES section and correct entry about GST_REGISTRY_PATH
16591           environment variable (#133495; #133494).
16592
16593 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16594
16595         * tools/Makefile.am:
16596         * tools/gst-md5sum.1.in:
16597         * tools/gst-md5sum.c:
16598           Remove gst-md5sum and man page (the md5sink element
16599           required was removed ages ago)
16600
16601 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16602
16603         * gst/gststructure.c: (gst_structure_id_set_value):
16604           Make sure that string fields in structures/taglists
16605           contain valid UTF-8 - we don't want to pass rubbish to
16606           applications because of a buggy plugin (cp. #334167).
16607
16608 2006-03-21  Edward Hervey  <edward@fluendo.com>
16609
16610         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16611         (gst_bin_handle_message_func):
16612         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16613         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16614         (gst_element_set_bus_func):
16615         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16616         * gst/gstminiobject.c: (gst_value_set_mini_object),
16617         (gst_value_take_mini_object):
16618         * gst/gstpad.c: (gst_pad_set_pad_template):
16619         * gst/gstpipeline.c: (gst_pipeline_dispose),
16620         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16621         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16622         (gst_collect_pads_chain):
16623         * libs/gst/net/gstnettimeprovider.c:
16624         (gst_net_time_provider_set_property):
16625         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16626         It's in fact all issues with gst_*object_replace().
16627
16628 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16629
16630         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16631         
16632         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16633         * pkgconfig/gstreamer-check.pc.in:
16634           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16635
16636 2006-03-21  Edward Hervey  <edward@fluendo.com>
16637
16638         * gst/gstbuffer.h:
16639         * gst/gstevent.h:
16640         * gst/gstmessage.h:
16641         gst_[buffer|event|message]_ref() macros are replaced by a static
16642         inline functions because gcc-4.1 will about if the return value
16643         isn't used.
16644         * tests/check/gst/gstevent.c: (event_probe):
16645         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16646
16647 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16648
16649         * gst/gstutils.h:
16650         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16651         the type' case. (Closes: #335195 for now). In the future, when we
16652         depend on GLib 2.10, we could also intern the type name using
16653         g_intern_static_string()
16654
16655 2006-03-20  Wim Taymans  <wim@fluendo.com>
16656
16657         * gst/gstbin.c: (gst_bin_handle_message_func),
16658         (bin_query_max_init), (bin_query_position_fold),
16659         (bin_query_position_done), (gst_bin_query):
16660         Position query should also take max of all streams.
16661
16662 2006-03-20  Wim Taymans  <wim@fluendo.com>
16663
16664         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16665         (gst_fake_src_finalize):
16666         Fix leaks in fakesrc.
16667
16668         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16669         Fix leaks in the testcase.
16670
16671 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16672
16673         * gst/gst_private.h:
16674           add win32 specific import decoration(__declspec(dllimport)) 
16675           for all extern GstDebugCategory * variables
16676         * win32/common/libgstbase.def:
16677         * win32/common/libgstcontroller.def:
16678         * win32/common/libgstreamer.def:
16679           Add some exports, remove empty lines
16680         * win32/common/libgstdataprotocol.def:
16681         * win32/common/libgstdataprotocol.dsp:
16682         * win32/common/libgstnet.def:
16683         * win32/common/libgstnet.dsp:
16684           new project files and exportation files added
16685         
16686 2006-03-19  Wim Taymans  <wim@fluendo.com>
16687
16688         * tests/check/libs/basesrc.c: (eos_event_counter):
16689         Use proper return value for probe.
16690
16691 2006-03-17  Wim Taymans  <wim@fluendo.com>
16692
16693         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16694         (gst_pad_push):
16695         Don't leak buffers, caps and pads on negotiation errors.
16696
16697 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16698
16699         * docs/faq/cvs.xml:
16700         * docs/faq/dependencies.xml:
16701         * docs/faq/developing.xml:
16702         * docs/faq/faq.xml:
16703         * docs/faq/general.xml:
16704         * docs/faq/getting.xml:
16705         * docs/faq/legal.xml:
16706         * docs/faq/troubleshooting.xml:
16707         * docs/faq/using.xml:
16708         Faq review and update.
16709
16710 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16711
16712         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16713         (gst_pad_push):
16714         Don't pound the cpu to pieces by checking get_caps when accept_caps
16715         is called with the same caps as the pad already has.
16716         Use GST_DEBUG_OBJECT when outputting caps change information.
16717
16718 2006-03-15  Wim Taymans  <wim@fluendo.com>
16719
16720         * gst/gstclock.c: (gst_clock_class_init):
16721         Fix docs.
16722
16723 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16724
16725         * gst/gstbuffer.h:
16726         Documentation fix.
16727
16728         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16729         (gst_pad_accept_caps), (gst_pad_configure_sink),
16730         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16731         Make the default acceptcaps behaviour be to check the requested 
16732         caps against the gst_pad_get_caps output. 
16733
16734         Ensure that gst_pad_accept_caps is used to check caps when a pad
16735         doesn't have a setcaps function, so that pads automatically refuse 
16736         caps that they don't allow in their pad template. (Fixes #332986)
16737
16738         When a buffer with attached caps is pushed, ensure that the source 
16739         pad receives those caps even if the element didn't call
16740         gst_pad_set_caps first.
16741
16742 2006-03-15  Wim Taymans  <wim@fluendo.com>
16743
16744         * libs/gst/base/gstadapter.c:
16745         Add some docs.
16746
16747 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16748
16749         * win32/common/libgstbase.def:
16750         * win32/common/libgstcontroller.def:
16751         * win32/common/libgstreamer.def:
16752           Add a whole bunch of missing functions (#334434).
16753
16754 2006-03-14  Wim Taymans  <wim@fluendo.com>
16755
16756         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16757         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16758         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16759         Better debug info when we receive a segment event.
16760         Reorganize a bit so we can pass the get_times() results around.
16761         Use the segment format when calculating the running time.
16762         Don't do QoS is sync is disabled or we have no clock or the
16763         element does not want us to sync to the clock.
16764         Don't drop buffers if QoS is disabled for now.
16765
16766 2006-03-14  Wim Taymans  <wim@fluendo.com>
16767
16768         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16769         Marked the stats property as unimplemented so people don't get
16770         wild ideas.
16771         Add debug message when regression goes wrong.
16772         Added some more docs.
16773
16774 2006-03-14  Wim Taymans  <wim@fluendo.com>
16775
16776         * gst/gstsegment.c: (gst_segment_to_stream_time):
16777         Return correct return type in case of errors.
16778
16779 2006-03-14  Wim Taymans  <wim@fluendo.com>
16780
16781         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16782           Don't segfault on invalid formats.
16783
16784 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16785
16786         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16787           Can't use gst_segment_to_running_time() when the segment
16788           is not in GST_TIME_FORMAT (like with filesink, for example).
16789           Stops flac encoding pipelines from spewing critical warnings
16790           at EOS (#331248).
16791           
16792 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16793
16794         * gst/gstpipeline.c: (gst_pipeline_class_init):
16795           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16796
16797         * plugins/elements/gsttypefindelement.c:
16798         (gst_type_find_element_handle_event):
16799           Don't try to typefind empty streams.
16800
16801 2006-03-14  Wim Taymans  <wim@fluendo.com>
16802
16803         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16804         (gst_base_sink_do_qos):
16805         Separate QoS calculation.
16806         Only drop buffers when lateness is bigger than the 
16807         duration of the buffer.
16808
16809 2006-03-13  Wim Taymans  <wim@fluendo.com>
16810
16811         * gst/gstpipeline.c: (gst_pipeline_set_property),
16812         (gst_pipeline_get_property), (do_pipeline_seek),
16813         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16814         (gst_pipeline_get_delay):
16815         Don't deadlock when reading properties.
16816
16817 2006-03-13  Wim Taymans  <wim@fluendo.com>
16818
16819         * libs/gst/base/gstbasetransform.c:
16820         (gst_base_transform_class_init), (gst_base_transform_init),
16821         (gst_base_transform_sink_event),
16822         (gst_base_transform_sink_eventfunc),
16823         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16824         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16825         (gst_base_transform_set_property),
16826         (gst_base_transform_get_property),
16827         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16828         (gst_base_transform_set_qos_enabled),
16829         (gst_base_transform_is_qos_enabled):
16830         * libs/gst/base/gstbasetransform.h:
16831         Make basetransform virtual method for src events too.
16832         Handle QOS in basetransform.
16833         API: gst_base_transform_update_qos()
16834         API: gst_base_transform_set_qos_enabled()
16835         API: gst_base_transform_is_qos_enabled()
16836
16837 2006-03-13  Wim Taymans  <wim@fluendo.com>
16838
16839         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16840         (gst_base_sink_do_sync):
16841         Small cleanups.
16842         Use QOS debug category.
16843
16844 2006-03-13  Wim Taymans  <wim@fluendo.com>
16845
16846         * plugins/elements/gstqueue.c:
16847         Very small doc update.
16848
16849 2006-03-13  Wim Taymans  <wim@fluendo.com>
16850
16851         * gst/gst_private.h:
16852         * gst/gstinfo.c: (_gst_debug_init):
16853         Added QOS debug category
16854
16855 2006-03-13  Wim Taymans  <wim@fluendo.com>
16856
16857         * docs/gst/gstreamer-sections.txt:
16858         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16859         * gst/gstbin.h:
16860         * gst/gstbus.c: (gst_bus_class_init):
16861         * gst/gstbus.h:
16862         * gst/gstclock.c:
16863         * gst/gstelement.c: (gst_element_set_locked_state):
16864         * gst/gstsegment.c:
16865         Documentation updates.
16866
16867         * gst/gstpipeline.c: (gst_pipeline_get_type),
16868         (gst_pipeline_class_init), (gst_pipeline_init),
16869         (gst_pipeline_dispose), (gst_pipeline_set_property),
16870         (gst_pipeline_get_property), (do_pipeline_seek),
16871         (gst_pipeline_send_event), (gst_pipeline_change_state),
16872         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16873         (gst_pipeline_get_delay):
16874         * gst/gstpipeline.h:
16875         Added methods for setting the delay.
16876         API: gst_pipeline_set_delay()
16877         API: gst_pipeline_get_delay()
16878         Add pipeline debug category
16879         Various cleanups.
16880         Updated docs.
16881         Don't reset stream time when seek failed.
16882
16883 2006-03-13  Wim Taymans  <wim@fluendo.com>
16884
16885         * docs/design/draft-klass.txt:
16886         * docs/design/part-clocks.txt:
16887         * docs/design/part-events.txt:
16888         * docs/design/part-gstbin.txt:
16889         * docs/design/part-gstpipeline.txt:
16890         * docs/design/part-messages.txt:
16891         * docs/design/part-negotiation.txt:
16892         * docs/design/part-overview.txt:
16893         * docs/design/part-preroll.txt:
16894         * docs/design/part-seeking.txt:
16895         * docs/design/part-states.txt:
16896         * docs/design/part-streams.txt:
16897         Documentation updates.
16898
16899 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16900
16901         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16902         us to leak strings...
16903
16904 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16905
16906         * libs/gst/net/gstnettimeprovider.c:
16907           fix docs
16908         * win32/common/config.h:
16909           update
16910
16911 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16912
16913         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16914
16915         * configure.ac:
16916           Don't check for libgnomeui (leftover from old examples
16917           that aren't built or disted any longer) (#334303).
16918           
16919 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16920
16921         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16922         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16923           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16924           there's no space left on the device.
16925
16926 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16927
16928         * gst/gstclock.h:
16929           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16930           to cast the input to GstClockTime before comparing with
16931           another GstClockTime value.
16932
16933 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16934
16935         * configure.ac:
16936           back to trunk
16937
16938 === release 0.10.4 ===
16939
16940 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16941
16942         * configure.ac:
16943           releasing 0.10.4, "Light"
16944
16945 2006-03-10  Michael Smith  <msmith@fluendo.com>
16946
16947         * libs/gst/dataprotocol/dataprotocol.c:
16948           Fix docs for dataprocotol to not get the return types completely
16949           wrong for a few functions.
16950
16951 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16952
16953         * docs/gst/gstreamer-sections.txt:
16954         * gst/gstpipeline.c: (gst_pipeline_class_init),
16955         (gst_pipeline_init), (gst_pipeline_set_property),
16956         (gst_pipeline_get_property), (gst_pipeline_change_state),
16957         (gst_pipeline_set_auto_flush_bus),
16958         (gst_pipeline_get_auto_flush_bus):
16959         * gst/gstpipeline.h:
16960           Add new API: gst_pipeline_set_auto_flush_bus() and
16961           gst_pipeline_get_auto_flush_bus() to disable automatic
16962           flushing of the pipeline's GstBus when going from READY
16963           to NULL state (#332045).
16964
16965 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16966
16967         * docs/gst/gstreamer-sections.txt:
16968         * gst/gsturi.c: (gst_uri_has_protocol):
16969         * gst/gsturi.h:
16970            Add new API: gst_uri_has_protocol() (#333779).
16971
16972 2006-03-09  Wim Taymans  <wim@fluendo.com>
16973
16974         * gst/gstclock.c: (gst_clock_entry_new),
16975         (gst_clock_id_compare_func), (gst_clock_id_wait),
16976         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16977         (gst_clock_init), (gst_clock_get_internal_time),
16978         (gst_clock_set_master), (do_linear_regression),
16979         (gst_clock_add_observation), (gst_clock_set_property):
16980         * gst/gstclock.h:
16981         Review docs.
16982         Small cleanups.
16983         Fix a possible segfault when the window-size is made smaller.
16984         Calculate jitter before performing the clock wait. Ideally
16985         the clock implementation should calculate jitter but we need
16986         API breakage for that.
16987
16988         * gst/gstsystemclock.c: (gst_system_clock_init):
16989         Docs review.
16990         
16991         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16992         Remove leftover else
16993
16994         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16995         (gst_systemclock_suite):
16996         Added check to test GST_CLOCK_DIFF.
16997
16998 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16999
17000         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
17001         (gst_type_find_helper_get_range):
17002           If we are provided with the size, we should implement
17003           GstTypeFind::get_length, so that typefind functions who
17004           want to can actually peek at the middle of a file.
17005
17006 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
17007
17008         * docs/manual/advanced-dataaccess.xml:
17009           Add some very very basic error checking.
17010
17011         * docs/pwg/appendix-checklist.xml:
17012           Some updates to the list of things to check when writing an element.
17013
17014 2006-03-08  Wim Taymans  <wim@fluendo.com>
17015
17016         * docs/design/part-element-transform.txt:
17017         Added some docs about the design of tranform elements.
17018
17019         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
17020         (gst_base_src_loop), (gst_base_src_change_state):
17021         Mark buffers with the DISCONT flag.
17022
17023 2006-03-08  Michael Smith  <msmith@fluendo.com>
17024
17025         * gst/gstregistry.h:
17026         * gst/gstregistryxml.c: (gst_registry_save),
17027         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
17028         (gst_registry_xml_save_pad_template),
17029         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
17030         (gst_registry_xml_write_cache):
17031           Rewrite registry-saving to avoid race conditions and check for
17032           failed writes.
17033
17034 2006-03-08  Wim Taymans  <wim@fluendo.com>
17035
17036         * libs/gst/base/gstbasetransform.c:
17037         (gst_base_transform_transform_caps),
17038         (gst_base_transform_transform_size),
17039         (gst_base_transform_prepare_output_buffer),
17040         (gst_base_transform_get_unit_size),
17041         (gst_base_transform_buffer_alloc),
17042         (gst_base_transform_handle_buffer),
17043         (gst_base_transform_change_state):
17044         Cleanups, separate normal flow from errors, add sensible
17045         DEBUG lines.
17046         Don't try to renegotiate when allocating an output buffer.
17047         Also copy DISCONT buffer flag when copying a buffer.
17048         Reset the transform after we finish streaming, not during.
17049
17050 2006-03-08  Wim Taymans  <wim@fluendo.com>
17051
17052         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17053         Use last buffer timestamp in qos message.
17054
17055 2006-03-07  Wim Taymans  <wim@fluendo.com>
17056
17057         Patch by: Christophe Fergeau
17058
17059         * docs/pwg/advanced-tagging.xml:
17060         * docs/pwg/building-pads.xml:
17061           fixes #333416
17062
17063 2006-03-07  Wim Taymans  <wim@fluendo.com>
17064
17065         * docs/libs/gstreamer-libs-sections.txt:
17066         Added basesink new methods.
17067
17068         * gst/gstevent.c:
17069         * gst/gstevent.h:
17070         Docs updates. Flesh out the QoS docs.
17071
17072         * libs/gst/base/gstadapter.c:
17073         Small doc clarification about ownership and flushing.
17074
17075         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
17076         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
17077         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
17078         (gst_base_sink_get_property), (gst_base_sink_do_sync):
17079         * libs/gst/base/gstbasesink.h:
17080         API additions: 
17081         Added new methods to allow subclass to control max-lateness 
17082         and sync.
17083         Generate very basic QoS events based on last sync observation.
17084         Updated docs, fix typo, added some QoS blurb.
17085
17086         * libs/gst/base/gstbasesrc.c:
17087         Remove obsolete _get_state() calls from docs.
17088
17089 2006-03-07  Wim Taymans  <wim@fluendo.com>
17090
17091         * docs/libs/gstreamer-libs-sections.txt:
17092         * libs/gst/base/gstbasetransform.h:
17093         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
17094         Fix docs for GstBaseSrc.
17095
17096 2006-03-07  Wim Taymans  <wim@fluendo.com>
17097
17098         * docs/gst/gstreamer-sections.txt:
17099         * gst/gstbuffer.h:
17100         * gst/gstvalue.c:
17101         * libs/gst/base/gstbasetransform.h:
17102         Small documentation fixes.
17103
17104 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
17105
17106         * gst/gstvalue.c:
17107           Document thread-unsafety of gst_value_register_foo_func()
17108           when used at the same time as gst_value_foo() (#322628).
17109
17110 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
17111
17112         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
17113         (gst_push_src_check_get_range):
17114           Push sources don't support pull mode by default.
17115
17116 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
17117
17118         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17119         (gst_base_src_init), (gst_base_src_pad_check_get_range),
17120         (gst_base_src_default_check_get_range):
17121         * libs/gst/base/gstbasesrc.h:
17122           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
17123           provide default implementation, and rename
17124           gst_base_src_check_get_range() to
17125           gst_base_src_pad_check_get_range() for clarity.
17126
17127 2006-03-06  Wim Taymans  <wim@fluendo.com>
17128
17129         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17130         Make property overridable.
17131
17132 2006-03-06  Wim Taymans  <wim@fluendo.com>
17133
17134         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17135         (gst_base_sink_init), (gst_base_sink_set_property),
17136         (gst_base_sink_get_property), (gst_base_sink_do_sync):
17137         * libs/gst/base/gstbasesink.h:
17138         API addition: Make max-lateness a property.
17139
17140 2006-03-06  Wim Taymans  <wim@fluendo.com>
17141
17142         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17143         (gst_base_sink_do_sync), (gst_base_sink_render_object):
17144         Don't ever draw a frame that is >10ms late.
17145
17146 2006-03-06  Michael Smith  <msmith@fluendo.com>
17147
17148         * gst/gstmessage.c: (_gst_message_copy):
17149           When copying a message, set the parent_refcount of the enclosed
17150           structure to point at the copy, not the original message.
17151
17152 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
17153
17154         Patch by: Christophe Fergeau
17155
17156         * gst/gstutils.h:
17157           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17158           usable in c++ code (#333417)
17159
17160 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17161
17162         * gst/gstclock.h:
17163           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17164
17165 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
17166
17167         * libs/gst/base/gstbasetransform.c:
17168         (gst_base_transform_transform_caps):
17169           Make sure caps are writable before passing them to
17170           gst_caps_append().
17171
17172 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17173
17174         * gst/gsterror.h:
17175           Fix some minor docs errors.
17176
17177 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17178
17179           Patch by: Ross Burton <ross at burtonini dot com>
17180
17181         * gst/gsterror.c: (_gst_resource_errors_init):
17182         * gst/gsterror.h:
17183           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17184
17185 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17186
17187         * gst/gst.c:
17188         Add a check and output a g_warning when GStreamer is built
17189         against GLib 2.6 but running against 2.8 or higher, and vice 
17190         versa. (Closes: #323542)
17191
17192 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17193
17194         * gst/parse/parse.l:
17195           Commit patch for parse_launch syntax from #331255. Removes 
17196           support for quoted strings and mimetypes when writing filtered 
17197           caps. See the bug report for more details - I'm pretty sure this
17198           obscure feature is not in use by _anyone_ anywhere.
17199
17200           With this simple change, the size of the gstreamer.so here 
17201           drops from 2193KB to 1565KB.
17202
17203 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17204
17205         * plugins/elements/gsttypefindelement.h:
17206         * plugins/elements/gsttypefindelement.c:
17207         (gst_type_find_element_src_event), (start_typefinding),
17208         (stop_typefinding), (gst_type_find_element_handle_event),
17209         (gst_type_find_element_chain),
17210         (gst_type_find_element_chain_do_typefinding):
17211           Use gst_type_find_helper_for_buffer() for chain-based
17212           typefinding.
17213
17214 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17215
17216         * plugins/elements/gsttypefindelement.c:
17217         (gst_type_find_element_class_init),
17218         (gst_type_find_element_set_property),
17219         (gst_type_find_element_get_property):
17220           Deprecate "maximum" property (not only was it only taken into
17221           account for typefinding in push-mode anyway, it also was never
17222           actually possible to set it in the first place because the
17223           property was registered with the numeric property ID for the
17224           "minimum" property). Register "maximum" property correctly,
17225           for the sake of future copy'n'pasters. Remove some cruft
17226           from property get/set functions.
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_activate):
17232           Use gst_type_find_helper_get_range() here, so we
17233           can honour the "minimum" property and also emit
17234           the signal with the correct probability of the found caps.
17235
17236 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
17237
17238         * docs/libs/gstreamer-libs-sections.txt:
17239         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17240         (helper_find_suggest), (gst_type_find_helper_get_range),
17241         (gst_type_find_helper):
17242         * libs/gst/base/gsttypefindhelper.h:
17243           New API: gst_type_find_helper_get_range() (#333042).
17244
17245 2006-03-02  Michael Smith  <msmith@fluendo.com>
17246
17247         * gst/gstregistryxml.c: (load_feature):
17248           Asserting on a failure to read part of the registry is Not Cool.
17249           Just log a warning and return NULL (which is already handled)
17250
17251 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
17252
17253         * win32/common/libgstbase.def:
17254           added export of gst_type_find_helper_for_buffer
17255         * win32/common/libgstbase.def:
17256           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17257           gst_ghost_pad_get_target
17258
17259 2006-02-28  Wim Taymans  <wim@fluendo.com>
17260
17261         * docs/design/draft-klass.txt:
17262         We use Filter now.
17263         Added Connector to mark elements that are only used to
17264         allow pipeline connections.
17265         Moved Debug to extra feature since most of them are 
17266         functionally something else.
17267
17268 2006-02-28  Wim Taymans  <wim@fluendo.com>
17269
17270         * docs/design/draft-klass.txt:
17271         Some updates and clarifications.
17272
17273 2006-02-28  Wim Taymans  <wim@fluendo.com>
17274
17275         * docs/design/draft-klass.txt:
17276         Proposal for klass field values.
17277
17278         * docs/design/part-streams.txt:
17279         Start of a doc describing stream anatomy.
17280
17281 2006-02-28  Wim Taymans  <wim@fluendo.com>
17282
17283         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17284         Help the compiler a bit with type registration.
17285         Use existing forward cod path instead of duplicating it when 
17286         handling a message.
17287         
17288         * gst/gstbus.c: (gst_bus_get_type):
17289         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17290         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17291         * gst/gstclock.c: (gst_clock_get_type):
17292         * gst/gstelement.c: (gst_element_get_type),
17293         * gst/gstelementfactory.c: (gst_element_factory_get_type):
17294         * gst/gstindexfactory.c: (gst_index_factory_get_type):
17295         * gst/gstminiobject.c: (gst_mini_object_get_type):
17296         * gst/gstpad.c: (gst_pad_get_type):
17297         * gst/gstsegment.c: (gst_segment_get_type):
17298         * gst/gststructure.c: (gst_structure_get_type):
17299         * gst/gstsystemclock.c: (gst_system_clock_get_type):
17300         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17301         * gst/gstvalue.c:
17302         Help compiler with type registration.
17303
17304         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17305         Small doc update.
17306
17307 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17308
17309         * plugins/elements/gsttypefindelement.c:
17310         (gst_type_find_element_handle_event):
17311           When we get an EOS event and have not found a type yet
17312           (most likely because we had not yet accumulated
17313           TYPE_FIND_MIN_SIZE of data yet), try to determine the
17314           type given the data we have so far. Fixes typefinding
17315           for very short streams again, most notably quicktime
17316           redirections as used on Apple's trailer site (#331701).
17317
17318 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17319
17320         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17321         (gst_type_find_helper):
17322           Try typefinding factories with the highest rank first.
17323
17324 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17325
17326         * docs/libs/gstreamer-libs-docs.sgml:
17327         * docs/libs/gstreamer-libs-sections.txt:
17328         * libs/gst/base/gsttypefindhelper.c:
17329           Add section for typefind helper and add documentation
17330           for the old and the new function.
17331
17332 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17333
17334         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17335         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17336         (gst_type_find_helper_for_buffer):
17337         * libs/gst/base/gsttypefindhelper.h:
17338           New API: gst_type_find_helper_for_buffer() (#332723).
17339           
17340 2006-02-27  Michael Smith  <msmith@fluendo.com>
17341
17342         Patch by: Loïc Minier
17343
17344         * configure.ac:
17345         * docs/Makefile.am:
17346         * docs/slides/Makefile.am:
17347           prevent CVS directories getting disted.
17348
17349 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17350
17351         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17352           Use the REFCOUNTING category for caps refcounting.
17353           
17354 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17355
17356         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17357           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17358
17359 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17360
17361         * plugins/elements/gsttypefindelement.c:
17362         (gst_type_find_element_activate):
17363           Use gst_pad_check_pull_range() before _activate_pull()
17364           to avoid unnecessary open/close (see #331690).
17365
17366 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17367
17368         * gst/gstutils.c:
17369           Docs enhancement: make it crystal clear what the
17370           gst_pad_add_*_probe() callbacks should look like.
17371
17372 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17373
17374         * libs/gst/base/gstbasesrc.c:
17375           Document how applications can stop recording from
17376           live sources (see #330996).
17377
17378 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17379
17380         * tests/check/Makefile.am:
17381         * tests/check/libs/basesrc.c: (eos_event_counter),
17382         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17383         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17384         (gst_basesrc_suite), (main):
17385           ... and add some tests for the base source EOS stuff.
17386
17387 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17388
17389         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17390           Test case originally showed the problem fixed below,
17391           but was then amended. Add checks back at the place
17392           where they used to be.
17393
17394 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17395
17396         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17397         (gst_base_src_init), (gst_base_src_loop),
17398         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17399         (gst_base_src_change_state):
17400         * libs/gst/base/gstbasesrc.h:
17401           Don't unconditionally send EOS when going from PAUSED to
17402           READY state, esp. make sure we don't send two EOS events
17403           in some cases (e.g. one when reaching EOS and one when
17404           going from PAUSED to READY). Also, we don't want to send
17405           EOS events when operating in pull mode. However, we do
17406           want to send an EOS event when shutting down a live
17407           source explicitly, for example (fixes #330996).
17408           
17409 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17410
17411         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17412           Update src->read_position after a seek when not using mmap.
17413           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17414
17415 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17416
17417         * gst/Makefile.am:
17418         * gst/gstparse.h:
17419         * gst/gstutils.c:
17420         * gst/gstutils.h:
17421         Make things work with --disable-parse as they do with 
17422         --disable-load-save - the symbols involved disappear, but the
17423         header is still installed and GST_DISABLE_PARSE is included via
17424         gstconfig.h
17425
17426 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17427
17428         * libs/gst/base/gstbasetransform.c:
17429         (gst_base_transform_change_state): Fix a stupid bug. I was 
17430         sure I compiled that.
17431
17432 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17433
17434         * gst/gstpad.c: (gst_pad_set_blocked_async):
17435         * gst/gstutils.c: (gst_pad_add_data_probe),
17436         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17437         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17438         (gst_pad_remove_buffer_probe): Make those function act on the
17439         ghostpad target when it's a ghostpad. (Closes #331727)
17440
17441 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17442
17443         * libs/gst/base/gstbasetransform.c:
17444         (gst_base_transform_change_state): Make basetransform reusable.
17445         (Closes #331898)
17446
17447 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17448
17449         * docs/random/release:
17450         Move the current documentation of how to do a release to the top
17451         of the file.
17452
17453         * gst/gstbin.c: (gst_bin_class_init),
17454         (gst_bin_handle_message_func):
17455         Allow multiple state-recalculation threads. (Closes #328873)
17456
17457 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17458
17459         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17460         * gst/gstpad.c: (gst_pad_set_event_function),
17461         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17462         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17463         2 strings. You can't use the STR_NULL macro on that.
17464
17465 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17466
17467         * gst/gstpad.c: (gst_pad_set_event_function),
17468         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17469         (gst_pad_set_getcaps_function)
17470         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17471           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17472           So now, we can use --gst-debug-level=5 on Windows
17473         * win32/common/libgstcontroller.def:
17474           Added export of gst_controller_init
17475         * win32/vs6/libgstcontroller.dsp:
17476           Fixed Release post build configuration
17477
17478 2006-02-17  Wim Taymans  <wim@fluendo.com>
17479
17480         * tests/check/gst/gstquery.c: (GST_START_TEST):
17481         Added another check.
17482
17483 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17484
17485         * plugins/elements/gsttypefindelement.c: (find_peek):
17486           We can do peeks at non-zero offsets, as long as they
17487           fall within the buffer we have.
17488
17489 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17490
17491         * tests/check/Makefile.am:
17492         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17493         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17494         (parse_suite), (main):
17495           Add testsuite for parse launch syntax
17496
17497 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17498
17499         * plugins/elements/gsttypefindelement.c:
17500         (gst_type_find_element_chain):
17501           When typefinding is unsuccessful in the chain function, don't
17502           error out immediately. Only error out with NO_CAPS_FOUND if
17503           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17504           otherwise simply wait for more data so we can try typefinding
17505           again with more data later. Also, don't attempt to typefind
17506           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17507           this should improve typefinding from network sources where the
17508           size of the first buffer can be somewhat random.
17509
17510 2006-02-14  Wim Taymans  <wim@fluendo.com>
17511
17512         * docs/gst/gstreamer-sections.txt:
17513         * gst/gstpadtemplate.c:
17514         * gst/gstpadtemplate.h:
17515         Fix padtemplate docs, fixes #328805.
17516
17517 2006-02-14  Wim Taymans  <wim@fluendo.com>
17518
17519         * tools/gst-launch.c: (main):
17520         NO_PREROLL is not an ERROR so don't send confusing messages
17521         to the user.
17522
17523 2006-02-14  Wim Taymans  <wim@fluendo.com>
17524
17525         Patch by: Torsten Schoenfeld
17526
17527         * gst/gstregistry.c: (gst_registry_get_default),
17528         (_gst_registry_cleanup):
17529         Protect default registry with lock and ref/sink it.
17530         Fixes #324818
17531
17532 2006-02-14  Wim Taymans  <wim@fluendo.com>
17533
17534         * gst/gstbuffer.c:
17535         * gst/gstquery.c: (gst_query_list_add_format),
17536         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17537         (gst_query_parse_formats_nth):
17538         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17539         Docs fixes.
17540
17541 2006-02-14  Wim Taymans  <wim@fluendo.com>
17542
17543         * docs/gst/gstreamer-sections.txt:
17544         Reworked query docs.
17545
17546         * gst/gstquery.c: (gst_query_new_formats),
17547         (gst_query_list_add_format), (gst_query_set_formats),
17548         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17549         (gst_query_parse_formats_nth):
17550         * gst/gstquery.h:
17551         Flesh out formats query, added some new methods.
17552         Fix part of #324398.
17553
17554         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17555         Added query creation tests.
17556
17557 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17558
17559         * gst/gstpad.c: (fixate_value):
17560         Add a default fixation for fraction lists.
17561
17562 2006-02-13  Wim Taymans  <wim@fluendo.com>
17563
17564         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17565         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17566         (gst_task_join):
17567         * gst/gsttask.h:
17568         Detect and warn for obvious deadlocks. fixes #320340
17569         Fix error case where lock was not released.
17570
17571         * tests/check/Makefile.am:
17572         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17573         (task_func), (gst_element_suite), (main):
17574         Add task check.
17575
17576 2006-02-13  Wim Taymans  <wim@fluendo.com>
17577
17578         * docs/gst/gstreamer-sections.txt:
17579         * gst/gstbus.c:
17580         Add new functions to docs.
17581
17582 2006-02-13  Wim Taymans  <wim@fluendo.com>
17583
17584         * docs/design/part-TODO.txt:
17585         Updated TODO list, basesrc supports seeking to non-bytes
17586         formats.
17587
17588         * docs/design/part-element-sink.txt:
17589         Update docs.
17590
17591         * gst/gstbin.c: (bin_replace_message),
17592         (gst_bin_handle_message_func):
17593         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17594         * gst/gstevent.c: (gst_event_finalize):
17595         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17596         (gst_pad_send_event):
17597         Use shiny new _TYPE_NAME macros.
17598
17599         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17600         Move debug statement up.
17601
17602         * gst/gstelement.c: (gst_element_set_locked_state):
17603         Add some debugging.
17604
17605 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17606
17607         * docs/gst/gstreamer-sections.txt:
17608         * gst/gstmessage.h:
17609         * gst/gstquery.h:
17610           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17611           macros (#330906). Also, document the already existing
17612           GST_QUERY_TYPE macro.
17613
17614 2006-02-13  Wim Taymans  <wim@fluendo.com>
17615
17616         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17617         (event_probe), (GST_START_TEST):
17618         Only events up to the pipeline EOS are counted, there are
17619         some more when going to NULL currently which we don't care
17620         about for now.
17621
17622 2006-02-13  Wim Taymans  <wim@fluendo.com>
17623
17624         * gst/gstpad.c: (gst_pad_send_event):
17625         Correctly check flushing and emit probes. fixes #330125
17626
17627 2006-02-10  Andy Wingo  <wingo@pobox.com>
17628
17629         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17630         structure.
17631         (gst_bus_init): Cache the location of the private data in the
17632         instance structure.
17633         (gst_bus_enable_sync_message_emission) 
17634         (gst_bus_disable_sync_message_emission): Implement new public
17635         functions.
17636         (gst_bus_post): Emit the sync-message signal if the user asked for
17637         it. Fixes #330684.
17638
17639         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17640         location of the bus-private structure.
17641         (gst_bus_enable_sync_message_emission)
17642         (gst_bus_disable_sync_message_emission): API addition
17643
17644 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17645
17646         Patch by: Vincent Torri
17647
17648         * docs/pwg/building-boiler.xml:
17649         PWG patch from #326800
17650
17651 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17652
17653         * configure.ac:
17654         * docs/Makefile.am:
17655         * docs/design/Makefile.am:
17656           Dist design docs.
17657
17658 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17659
17660         * configure.ac:
17661           back to CVS
17662
17663 === release 0.10.3 ===
17664
17665 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17666
17667         * configure.ac:
17668           releasing 0.10.3, "Like a virgin"
17669
17670 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17671
17672         * configure.ac:
17673           2nd prerelease of 0.10.3
17674           Bump libtool versioning.
17675
17676 2006-02-07  Andy Wingo  <wingo@pobox.com>
17677
17678         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17679         update last_stop if we're in TIME format and the timestamp is
17680         valid.
17681
17682         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17683         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17684         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17685         If we get a new newsegment with a different format, adapt
17686         accordingly.
17687
17688         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17689         of 0. Not a problem, really.
17690
17691         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17692         warn if sync=true.
17693
17694 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17695
17696         * configure.ac:
17697           Prelease of 0.10.3
17698
17699 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17700
17701         * win32/vs7:
17702           project files updated to the default vs7 configuration
17703         * win32/common/libgstbase.def:
17704         * win32/common/libgstreamer.def:
17705           added new symbols,
17706           removed empty lines,
17707           sorted all exported symbols alphabetically
17708         * win32/common/dirent.c:
17709         * win32/common/dirent.h:
17710         * win32/common/gchar.h:
17711           use windows line end.
17712           
17713 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17714
17715         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17716           Send EOS event when stopping.
17717
17718 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17719
17720         * docs/README:
17721           Tell folks what to do if the plugin-foobar.xml file
17722           hasn't been generated for a newly-added plugin.
17723
17724 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17725
17726         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17727         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17728         (gst_collect_pads_start), (gst_collect_pads_stop),
17729         (gst_collect_pads_event): Collectpads now holds a reference
17730         to the GstPad that was added. Indeed we don't want to look
17731         at pads that might just go away with no warning...
17732
17733 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17734
17735         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17736         (gst_collect_pads_start), (gst_collect_pads_stop),
17737         (gst_collect_pads_event), (gst_collect_pads_chain):
17738         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17739         Mark Nauwelaerts's patch on bug #328491.
17740
17741 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17742
17743         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17744         (gst_utils_suite):
17745           Add some simple tests for gst_parse_bin_from_description() and
17746           gst_bin_find_unconnected_pad() (#329069).
17747
17748 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17749
17750         * tools/gst-launch.c: (event_loop), (main):
17751           Catch errors during preroll (#320084).
17752
17753 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17754
17755         * plugins/elements/gsttypefindelement.c:
17756         (gst_type_find_element_activate):
17757           Post TYPE_NOT_FOUND error message when typefinding
17758           is unsuccessful in the activate function as well.
17759
17760 2006-02-02  Wim Taymans  <wim@fluendo.com>
17761
17762         * docs/design/part-element-sink.txt:
17763         Updated doc.
17764
17765 2006-02-02  Wim Taymans  <wim@fluendo.com>
17766
17767         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17768         (gst_base_sink_render_object),
17769         (gst_base_sink_queue_object_unlocked):
17770         Only keep track of prerollable items when we are 
17771         prerolling.
17772         Before rendering after preroll, always check if we
17773         have queued items.
17774         Added some more debugging.
17775
17776 2006-02-02  Wim Taymans  <wim@fluendo.com>
17777
17778         * gst/gstelement.c: (gst_element_continue_state),
17779         (gst_element_set_state_func), (gst_element_change_state):
17780         Fixed #326576, been running this for quite some time with
17781         no regressions at all.
17782
17783 2006-02-02  Wim Taymans  <wim@fluendo.com>
17784
17785         * common/gst.supp:
17786         Added more suppressions
17787
17788 2006-02-02  Wim Taymans  <wim@fluendo.com>
17789
17790         * docs/design/part-element-sink.txt:
17791         Updated document.
17792
17793         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17794         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17795         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17796         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17797         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17798         (gst_base_sink_preroll_object),
17799         (gst_base_sink_queue_object_unlocked),
17800         (gst_base_sink_queue_object), (gst_base_sink_event),
17801         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17802         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17803         (gst_base_sink_get_position), (gst_base_sink_change_state):
17804         * libs/gst/base/gstbasesink.h:
17805         Totally refactored matching the design doc.
17806         Use two segments, one to clip incomming buffers and another to
17807         perform sync.
17808         Handle queueing correctly, bypass the queue when playing.
17809         Make EOS cancelable.
17810         Handle errors correctly when operating in pull based mode.
17811
17812         * tests/check/elements/fakesink.c: (GST_START_TEST),
17813         (fakesink_suite):
17814         Added new check for sinks.
17815
17816 2006-02-02  Wim Taymans  <wim@fluendo.com>
17817
17818         * gst/gstsegment.c: (gst_segment_clip):
17819         No reason to refuse to clip when start == -1
17820
17821 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17822
17823         * docs/README:
17824         * docs/manual/intro-basics.xml:
17825         * docs/manual/intro-preface.xml:
17826         * docs/manual/manual.xml:
17827         * docs/pwg/advanced-dparams.xml:
17828         * docs/pwg/intro-basics.xml:
17829         * docs/pwg/intro-preface.xml:
17830         * docs/pwg/pwg.xml:
17831           describe dparams (controller) for plugins
17832           unify docs a little more
17833
17834 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17835
17836         * docs/gst/gstreamer-sections.txt:
17837         * gst/gstutils.c: (element_find_unconnected_pad),
17838         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17839         * gst/gstutils.h:
17840           Add new API: gst_parse_bin_from_description() and
17841           gst_bin_find_unconnected_pad() (#329069).
17842
17843 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17844
17845         * docs/manual/README:
17846           uncover a nasty detail of the docs build
17847
17848 2006-01-31  Wim Taymans  <wim@fluendo.com>
17849
17850         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17851         Don't cache duration messages if we're not going to use or
17852         free them.
17853
17854 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17855
17856         * docs/manual/advanced-dparams.xml:
17857         * docs/pwg/advanced-dparams.xml:
17858           more dparam docs
17859         * gst/gstindex.c:
17860           fix docs
17861         * libs/gst/controller/lib.c: (gst_controller_init):
17862           init just once
17863
17864 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17865
17866         * gst/gstelement.c: (gst_element_message_full):
17867           also show file/line/func if no additional debug was given
17868
17869 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17870         
17871         * win32/vs7/grammar.vcproj:
17872           activate copy of autogenerated files for Release mode
17873
17874 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17875         
17876         * win32/common/libgstreamer.def:
17877           export gst_value_compare
17878
17879 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17880
17881         * plugins/elements/Makefile.am:
17882         * plugins/elements/gstelements.c:
17883         * plugins/elements/gstfdsink.c: (_do_init),
17884         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17885         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17886         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17887         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17888         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17889         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17890         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17891         * plugins/elements/gstfdsink.h:
17892         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17893
17894 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17895
17896         * docs/manual/advanced-dparams.xml:
17897           describe controller
17898         * docs/manual/advanced-position.xml:
17899         * docs/manual/basics-init.xml:
17900         * docs/manual/manual.xml:
17901         * docs/manual/titlepage.xml:
17902         * docs/pwg/pwg.xml:
17903         * docs/pwg/titlepage.xml:
17904           cleanup xml (more to come)
17905         * libs/gst/controller/gstcontroller.c:
17906           fix typo
17907
17908 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17909         
17910         * win32/vs6/grammar.dsp:
17911           add autogen of gstmarshal.c,h for Release mode
17912                 
17913 2006-01-30  Wim Taymans  <wim@fluendo.com>
17914
17915         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17916         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17917         (gst_base_sink_handle_object), (gst_base_sink_event),
17918         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17919         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17920         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17921         (gst_base_sink_deactivate), (gst_base_sink_activate),
17922         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17923         (gst_base_sink_query), (gst_base_sink_change_state):
17924         Basesink cleanups, remove some old code.
17925         Handle the case where a subclass can preroll in the render
17926         method (mostly audiosinks).
17927         Handle more events.
17928         Remove some locks around variables that are now protected
17929         with the PREROLL_LOCK (clock_id, flushing, ..).
17930         Optimize position query some more, do correct locking.
17931         Remove old code to push queue in state change, this is not
17932         needed anymore since preroll blocks on all prerollable items 
17933         now.
17934         Almost implemented as described in design doc.
17935
17936 2006-01-30  Wim Taymans  <wim@fluendo.com>
17937
17938         * tests/check/gst/gstbin.c: (GST_START_TEST):
17939         Wait for refcount to settle down before checking.
17940
17941 2006-01-30  Wim Taymans  <wim@fluendo.com>
17942
17943         * docs/design/part-element-sink.txt:
17944         Pseudo code overview of desired sink behaviour regarding
17945         preroll.
17946
17947 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17948         * win32/vs6/grammar.dsp:
17949           fix some bugs in Release mode for autogenerated files
17950                 
17951 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17952         * win32/common/libgstbase.def:
17953         * win32/common/libgstreamer.def:
17954           export some new symbols: gst_base_src_set_format,
17955           gst_iterator_next, gst_structure_set_valist
17956
17957 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17958
17959         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17960         Set pad functions unconditionally. Fixes #329105.
17961
17962 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17963         * win32/vs8:
17964           add vs8 project files created by Sergey Scobich
17965
17966 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17967
17968         * gst/gstutils.c: (gst_element_unlink_pads):
17969         Don't leak pad references.
17970
17971         * tests/check/elements/fakesink.c: (GST_START_TEST):
17972         * tests/check/generic/sinks.c: (GST_START_TEST):
17973         * tests/check/generic/states.c: (GST_START_TEST):
17974         * tests/check/gst/gstbin.c: (GST_START_TEST):
17975         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17976         * tests/check/gst/gstelement.c: (GST_START_TEST):
17977         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17978         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17979         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17980         Fix a bunch of leaks. Make generic/sinks.c
17981         use a bit less cpu by slowing the buffer rate
17982         between fakesrc and fakesink.
17983         
17984 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17985         * gst/gstcaps.c:
17986         * gst/gstelement.c: (gst_element_send_event):
17987         * gst/gstevent.c:
17988         * gst/gstinfo.c:
17989         * gst/gstiterator.c:
17990         * gst/gstiterator.h:
17991         * gst/gstpad.c: (gst_pad_send_event):
17992         * gst/gststructure.c:
17993         * gst/gsturi.c:
17994         * gst/gstutils.c:
17995         * gst/gstvalue.c:
17996         * libs/gst/base/gstadapter.c:
17997           doc fixes, to link to function, just write gst_cool_function(), don't
17998           prefix with '#'
17999
18000 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
18001
18002         * plugins/elements/gsttee.c: (gst_tee_do_push),
18003         (gst_tee_handle_buffer):
18004         Always prefer an actual return value from a src
18005         pad in place of NOT_LINKED. This means we return
18006         WRONG_STATE when all src pads are WRONG_STATE
18007         instead of NOT_LINKED.
18008
18009         Lock when replacing the last message to prevent
18010         racing with the get_property method.
18011
18012         Add debug output
18013
18014 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
18015
18016         * tests/check/Makefile.am:
18017         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
18018         (main):
18019         Add a very simple check that should have caught the memleak I fixed
18020         last night (if not for the slice allocator hiding it)
18021
18022 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
18023
18024         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18025         (gst_bin_remove_func), (gst_bin_handle_message_func),
18026         (bin_query_duration_fold), (bin_query_generic_fold):
18027         Clean up references to the clock provider when disposed or when
18028         handling a clock-lost message from it.
18029
18030         Unref sinks when performing a query via gst_iterator_fold, as the
18031         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
18032
18033         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
18034         (gst_clock_set_master):
18035         Drop our reference to the master clock, if any, when we are disposed.
18036
18037         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
18038         Chain up in dispose. 
18039
18040 2006-01-26  Wim Taymans  <wim@fluendo.com>
18041
18042         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
18043         Add some debugging.
18044
18045 2006-01-26  Julien MOUTTE  <julien@moutte.net>
18046
18047         * plugins/elements/gsttee.c: (gst_tee_do_push),
18048         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
18049         handles pad being NOT_LINKED or in WRONG_STATE.
18050
18051 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
18052
18053         * win32/MANIFEST:
18054           more updating
18055
18056 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
18057
18058         * win32/MANIFEST:
18059           remove obsolete entry
18060
18061 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
18062
18063         * docs/gst/gstreamer-sections.txt:
18064         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
18065         (gst_bin_iterate_sources), (gst_bin_send_event):
18066         * gst/gstbin.h:
18067         * gst/gstelement.c: (gst_element_send_event):
18068         * gst/gstevent.c:
18069         * gst/gstpad.c: (gst_pad_send_event):
18070           added code for downstream events, reviewed docs in gstevent.c
18071
18072 2006-01-25  Julien MOUTTE  <julien@moutte.net>
18073
18074         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18075         We only query position using the clock in the playing state.
18076         Query peer in the other cases.
18077         * win32/common/config.h: Updates.
18078
18079 2006-01-24  Wim Taymans  <wim@fluendo.com>
18080
18081         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18082         A clock entry that is scheduled for the exact time of the
18083         clock is still in time.
18084
18085         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18086         (gst_base_sink_do_sync):
18087         Add some more debug info.
18088
18089 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
18090
18091         * win32/vs7:
18092           Add new vs7 project files and solution.
18093
18094 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
18095
18096         * win32/vs7:
18097           all files removed as they were out-dated.
18098
18099 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18100
18101         * docs/random/release:
18102           update notes
18103         * gst/gstbin.c: (gst_bin_init):
18104         * gst/gstbus.c: (gst_bus_new):
18105         * gst/gstbus.h:
18106         * gst/gstpipeline.c: (gst_pipeline_init):
18107           use gst_bus_new(), improve logging, fix docs
18108         * win32/common/config.h:
18109           update for cvs build
18110
18111 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18112
18113         * autogen.sh:
18114           up required version of automake to 1.7
18115
18116 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
18117
18118         * win32/common/libgstreamer.def:
18119           export gst_buffer_is_metadata_writable
18120
18121 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
18122
18123         * docs/gst/gstreamer-sections.txt:
18124         * gst/gstevent.h:
18125           Add gst_event_replace() (#327001)
18126
18127 2006-01-20  Wim Taymans  <wim@fluendo.com>
18128
18129         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18130         Make it actually compile too..
18131
18132 2006-01-20  Wim Taymans  <wim@fluendo.com>
18133
18134         * gst/gstcaps.c:
18135         Clarify behaviour of _is_equal() when passing NULL parameters.
18136
18137         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18138         (gst_pad_set_caps):
18139         Cleanups. Don't unref NULL caps.
18140         When setting the same caps, protect caps of the pad with
18141         proper lock.
18142         Use full functionality of _is_equal() when comparing caps.
18143
18144 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18145
18146         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18147         Don't loop infinitely if there are no buffers to present. Partially
18148         fixes #327197, but collectpads is just broken for reusing elements
18149         to do multiple encodes atm.
18150
18151 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18152
18153         * tools/gst-inspect.c: (print_element_features):
18154         * tools/gst-xmlinspect.c: (main):
18155         URL_HANDLER is not a plugin feature we can search for in
18156         the registry.
18157
18158 2006-01-19  Edward Hervey  <edward@fluendo.com>
18159
18160         * gst/gstelement.c: (gst_element_pads_activate): 
18161         When activating, do src pads first, then sink pads.
18162         When de-activating, do sink pads first, then src pads.
18163
18164 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18165
18166         * docs/gst/gstreamer-sections.txt:
18167         Add gst_index_add_associationv to the docs
18168
18169 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18170
18171         * gst/gstevent.c:
18172           Fix docs typo
18173
18174         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18175         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18176           Do some refactoring. Doesn't actually change functionality,
18177           but makes landing the DRAIN event easier later.
18178
18179 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
18180
18181         * docs/pwg/advanced-scheduling.xml:
18182           Update from 0.9.x to 0.10 API and make example a bit
18183           clearer.
18184
18185 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18186
18187         * docs/gst/gstreamer-sections.txt:
18188         Add gst_buffer_(is|make)_metadata_writable methods.
18189
18190 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18191
18192         * docs/design/part-sparsestreams.txt:
18193         Update sparse streams doc, hopefully for greater clarity
18194
18195 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
18196
18197         * docs/design/part-events.txt:
18198         Remove mention of FILLER events.
18199         Add DRAIN event.
18200
18201         * docs/design/part-sparsestreams.txt:
18202         Write some things about using NEWSEGMENT to keep sparse streams
18203         flowing.
18204
18205 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18206
18207         * gst/gstbin.c: (gst_bin_dispose):
18208           Guard gst_object_unref call against a NULL object (dispose
18209           can theoretically be called multiple times).
18210           
18211 2006-01-18  Wim Taymans  <wim@fluendo.com>
18212
18213         * gst/gstbin.c: (gst_bin_element_set_state):
18214         * gst/gstclock.c: (gst_clock_id_wait):
18215         Added some more debug info.
18216
18217         * libs/gst/base/gstadapter.c:
18218         Added more docs.
18219
18220         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18221         (gst_base_sink_do_sync), (gst_base_sink_chain):
18222         Added some comments.
18223
18224 2006-01-18  Wim Taymans  <wim@fluendo.com>
18225
18226         * tests/check/Makefile.am:
18227         * tests/check/elements/fakesink.c: (chain_async_buffer),
18228         (chain_async), (chain_async_return), (GST_START_TEST),
18229         (fakesink_suite), (main):
18230         Added fakesink test that checks prerolling and clipping
18231         behaviour.
18232
18233         * tests/check/gst/gstutils.c: (GST_START_TEST):
18234         Make check run faster so that buildbots don't timeout.
18235
18236 2006-01-18  Wim Taymans  <wim@fluendo.com>
18237
18238         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18239         (gst_base_sink_do_sync):
18240         Some cleanups.
18241         When the sink finishes blocking on the preroll buffer, it can
18242         immediatly render it instead of rendering when the next buffer
18243         arrives.
18244
18245 2006-01-18  Wim Taymans  <wim@fluendo.com>
18246
18247         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18248         (gst_base_sink_get_property), (gst_base_sink_do_sync),
18249         (gst_base_sink_chain):
18250         Small cleanups.
18251         GST_ELEMENT_CLOCK and sync are protected with LOCK.
18252         Don't store _last_stop if the buffer is dropped.
18253
18254 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18255
18256         * plugins/elements/gsttypefindelement.c:
18257         (gst_type_find_element_class_init):
18258           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18259           object method handler that sets the caps on the pad and we want
18260           that to happen before we emit the signal (fixes e.g. feeding a
18261           plain text file to decodebin).
18262
18263 2006-01-18  Christian Schaller  <Christian@fluendo.com>
18264
18265         * gst/gstplugin.c: Add MPL and Proprietary as license options
18266
18267 2006-01-18  Andy Wingo  <wingo@pobox.com>
18268
18269         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18270         symbol was exported before, it appears this was just an oversight.
18271         Fixes #168703.
18272         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18273
18274         * gst/gstindex.c (gst_index_add_associationv): Changed int in
18275         prototype to gint. OK since this prototype was not in the header.
18276
18277 2006-01-17  Andy Wingo  <wingo@pobox.com>
18278
18279         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18280         registry while we remove plugins.
18281
18282         * tools/gst-inspect.c (print_element_info): Don't unref the
18283         factory arg, that should be the responsibility of whatever code
18284         received the ref. Fixes a double-free when called from
18285         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18286         (main): Unref the factory if we have one.
18287         (print_element_list): No change -- relies on the
18288         plugin_feature_list_free to free the list of features.
18289
18290 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
18291
18292         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18293         (gst_buffer_make_metadata_writable):
18294         * gst/gstbuffer.h:
18295         * libs/gst/base/gstbasetransform.c:
18296         (gst_base_transform_prepare_output_buf):
18297         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18298         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18299           Replace gst_buffer_(make|is)_metadata_writable patch now
18300           that the release is out.
18301
18302 2006-01-17  Andy Wingo  <wingo@pobox.com>
18303
18304         * gst/gstregistry.c: Reflow design comment. Update so as to speak
18305         in the present tense without reference to versions.
18306
18307         * gst/gstregistry.c (gst_registry_add_plugin)
18308         (gst_registry_remove_plugin, gst_registry_remove_feature)
18309         (gst_registry_find_feature, gst_registry_get_feature_list)
18310         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18311         (gst_registry_lookup, gst_registry_scan_path)
18312         (_gst_registry_remove_cache_plugins)
18313         (gst_registry_get_feature_list_by_plugin): Add argument
18314         validation.
18315
18316 === release 0.10.2 ===
18317
18318 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
18319
18320         * configure.ac:
18321           releasing 0.10.2, "If man is five"
18322
18323 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18324
18325         * gst/gstbuffer.c:
18326         * gst/gstbuffer.h:
18327         * libs/gst/base/gstbasetransform.c:
18328         (gst_base_transform_prepare_output_buf):
18329         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18330         * tests/check/gst/gstbuffer.c: (gst_test_suite):
18331           Back out patch until after the release.
18332
18333 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18334
18335         * gst/gstminiobject.c:
18336           Spelling fix in docs.
18337         * ChangeLog - remove conflict indicator
18338
18339 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18340
18341         Reviewed By: Andy Wingo
18342
18343         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18344         (gst_buffer_make_metadata_writable):
18345         * gst/gstbuffer.h:
18346           Add gst_buffer_(is|make)_metadata_writable as analogues of
18347           gst_buffer_(is|make)_writable.
18348
18349         * libs/gst/base/gstbasetransform.c:
18350         (gst_base_transform_prepare_output_buf):
18351         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18352           Use name gst_buffer_(is|make)_metadata_writable functions.
18353
18354         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18355           Test gst_buffer_(is|make)_metadata_writable
18356         
18357           (Closes: #324162)
18358
18359 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18360
18361         * docs/manual/Makefile.am:
18362           don't do parallel make
18363         * configure.ac:
18364           AC_SUBST HOST_CPU
18365         * win32/common/config.h.in:
18366           add generations for HOST_CPU and GST_MAJORMINOR
18367         * win32/common/config.h:
18368           commit generated result
18369
18370 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18371
18372         * docs/manual/appendix-integration.xml:
18373           Update GNOME integration section to use gst_init_get_option_group()
18374           instead of the old popt stuff (#322911). Also, GNOME applications
18375           should  now use gconf*sink and gconf*src instead of the old gconf
18376           helper lib we had.
18377
18378 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18379
18380
18381         * docs/gst/gstreamer-docs.sgml:
18382         * docs/gst/gstreamer-sections.txt:
18383         * docs/libs/gstreamer-libs-sections.txt:
18384           add new API entries to the docs
18385         * libs/gst/controller/Makefile.am:
18386         * libs/gst/controller/gstcontroller.c:
18387         * libs/gst/controller/gstcontroller.h:
18388         * libs/gst/controller/gstcontrollerprivate.h:
18389         * libs/gst/controller/gsthelper.c:
18390         * libs/gst/controller/gstinterpolation.c:
18391           move private structs to private header
18392         * po/README:
18393           gstreamer-0.7 -> gstreamer-0.10
18394         * tests/check/libs/struct_i386.h:
18395           remove private structs
18396
18397 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18398
18399         * plugins/indexers/Makefile.am:
18400           Fixes as part of #317048
18401
18402 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18403
18404         * plugins/indexers/Makefile.am:
18405           fix #316086 - compilation when mmap is missing
18406
18407 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18408
18409         * libs/gst/base/gstbasesink.c:
18410           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18411           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18412         * win32/common/config.h:
18413           added some defines GST_MAJORMINOR and HOST_CPU
18414         * win32/common/libgstbase.def:
18415         * win32/common/libgstreamer.def:
18416           added some exported functions.
18417
18418 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18419
18420         * libs/gst/controller/gstcontroller.c:
18421         (gst_controlled_property_set_interpolation_mode),
18422         (gst_controlled_property_new):
18423         * libs/gst/controller/gstcontroller.h:
18424         * libs/gst/controller/gstinterpolation.c:
18425         (interpolate_none_get_string_value_array):
18426           make G_TYPE_STRING controlable
18427
18428 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18429
18430         * tools/README:
18431         * tools/gst-feedback.1.in:
18432         * tools/gst-inspect.1.in:
18433         * tools/gst-launch.1.in:
18434         * tools/gst-md5sum.1.in:
18435         * tools/gst-typefind.1.in:
18436         * tools/gst-xmlinspect.1.in:
18437         * tools/gst-xmllaunch.1.in:
18438           cleanup man-pages, remove reference to gst-register, document env-vars
18439
18440 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18441
18442         * gst/gstbuffer.c: (gst_buffer_span):
18443           gst_buffer_span should copy the timestamp of the first buffer
18444           if they were both originally overlapping subbuffers of the 
18445           same parent, using the same logic as the 'slow copy' case.
18446
18447 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18448
18449         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18450           Need to awaken ALL the pads when we pop a buffer, otherwise
18451           collectpads only works when there is 2 input streams.
18452
18453 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18454
18455         * docs/random/ensonic/media-device-daemon.txt:
18456           more ideas (dbus)
18457         * gst/gstbuffer.c:
18458           fix doc example, add clarification
18459         * tools/gst-launch.1.in:
18460           add initial info about GST_PLUGIN_PATH, needs more work
18461
18462 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18463
18464         * docs/manual/basics-bins.xml:
18465         * docs/manual/basics-elements.xml:
18466         * docs/manual/intro-basics.xml:
18467           Some more minor docs additions and updates.
18468
18469 2006-01-11  Wim Taymans  <wim@fluendo.com>
18470
18471         * docs/manual/basics-bins.xml:
18472         * docs/manual/basics-elements.xml:
18473         Some small fixes as pointed out by Ser-ver on IRC.
18474
18475 2006-01-10  Edward Hervey  <edward@fluendo.com>
18476
18477         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18478         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18479         the single-segment mode.
18480
18481 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18482
18483         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18484
18485         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18486         (gst_base_src_perform_seek), (gst_base_src_send_event),
18487         (gst_base_src_set_property), (gst_base_src_get_property),
18488         (gst_base_src_loop), (gst_base_src_start),
18489         (gst_base_src_activate_push):
18490         * libs/gst/base/gstbasesrc.h:
18491           Name (private) union; makes Sun's Forte compiler happy (#324900).
18492
18493 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18494
18495         * README:
18496           gst-register is gone.
18497
18498 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18499
18500         * gst/gstvalue.c: (_gst_value_initialize):
18501           make the G_TYPE_DATE instantiation work if debug is disabled
18502
18503 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18504
18505         * gst/gstmessage.c: (gst_message_parse_tag),
18506         (gst_message_parse_error), (gst_message_parse_warning):
18507           Don't crash when return location for error/warning debug
18508           string is NULL; add fact that return locations can be
18509           NULL to docs where appropriate.
18510
18511 2006-01-05  Wim Taymans  <wim@fluendo.com>
18512
18513         * gst/gstplugin.c: (gst_plugin_load_file):
18514         Replace strdup by g_strdup.
18515
18516 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18517
18518         * docs/pwg/advanced-types.xml:
18519           fix doc borkage
18520
18521 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18522
18523         submitted by: Abel Cheung
18524
18525         * po/LINGUAS:
18526         * po/zh_TW.po:
18527           Added Chinese (traditional) translation
18528
18529 2006-01-04  Wim Taymans  <wim@fluendo.com>
18530
18531         * docs/manual/basics-pads.xml:
18532         * docs/plugins/Makefile.am:
18533         * docs/plugins/gstreamer-plugins-docs.sgml:
18534         * docs/plugins/gstreamer-plugins-sections.txt:
18535         * docs/pwg/advanced-clock.xml:
18536         * docs/pwg/advanced-scheduling.xml:
18537         * docs/pwg/advanced-types.xml:
18538         * plugins/elements/gstfdsink.c:
18539         * plugins/elements/gstfdsrc.c:
18540         * plugins/elements/gstfdsrc.h:
18541         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18542         * plugins/elements/gstidentity.h:
18543         * plugins/elements/gstqueue.h:
18544         * plugins/elements/gsttee.c:
18545         * plugins/elements/gsttee.h:
18546         * plugins/elements/gsttypefindelement.c:
18547         (gst_type_find_element_class_init):
18548         * plugins/elements/gsttypefindelement.h:
18549         Small updates to various docs.
18550         Added core plugins to docs.
18551
18552 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18553
18554         * common/gst.supp:
18555           add a suppression for liboil's uninitialized variable
18556
18557 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18558
18559         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18560
18561         * gst/gstutils.h:
18562           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18563           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18564           compiler switch is being used (#325429).
18565
18566 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18567
18568         * gst/gstbin.c: (gst_bin_query):
18569           Disable duration query caching in bins until it gets
18570           fixed (see #324807).
18571
18572 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18573
18574         * tools/gst-inspect.c: (print_element_properties_info):
18575           Handle properties of POINTER and BOXED type.
18576
18577 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18578
18579         * gst/gst.c: (init_post):
18580           Init tags stuff and some other things before loading
18581           any static plugins (there may be other static plugins
18582           than just the GStreamer ones, and they may want to
18583           register their own tags or formats or whatever, and
18584           preferably without segfaulting).
18585
18586         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18587           Print at least a warning in the debug logs if we drop a
18588           query just because we don't know how to adjust the value
18589           in the particular format.
18590
18591 2005-12-24  David Schleef  <ds@schleef.org>
18592
18593         * tools/gstreamer-completion:
18594           Replacement for gst-complete written in sh and sed.  Only
18595           completes names of features, but that's 90% of what I want
18596           it for.  Properties are not available in registry.xml.  (Maybe
18597           they should be...)
18598
18599 === release 0.10.1 ===
18600
18601 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18602
18603         * configure.ac:
18604           releasing 0.10.1, "Nollaig chridheil"
18605
18606 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18607
18608         * docs/faq/cvs.xml:
18609           Add missing quote, should be make ERROR_CFLAGS="".
18610
18611 2005-12-20  Wim Taymans  <wim@fluendo.com>
18612
18613         * docs/design/part-trickmodes.txt:
18614         More documentation on trickmodes.
18615
18616 2005-12-20  Edward Hervey  <edward@fluendo.com>
18617
18618         * gst/gstcaps.c: (gst_static_caps_get_type):
18619         * gst/gstcaps.h:
18620           API addition: GST_TYPE_STATIC_CAPS
18621         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18622         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18623         * gst/gstpadtemplate.h:
18624           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18625         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18626         bindings.
18627
18628 2005-12-18  Wim Taymans  <wim@fluendo.com>
18629
18630         * libs/gst/base/gstadapter.c:
18631         * libs/gst/base/gstadapter.h:
18632         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18633         (gst_base_sink_get_position):
18634         * libs/gst/base/gstbasesink.h:
18635         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18636         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18637         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18638         (gst_base_src_send_event), (gst_base_src_update_length),
18639         (gst_base_src_get_range), (gst_base_src_loop),
18640         (gst_base_src_start):
18641         * libs/gst/base/gstbasesrc.h:
18642         * libs/gst/base/gstbasetransform.h:
18643         * libs/gst/base/gstcollectpads.h:
18644         * libs/gst/base/gstpushsrc.c:
18645         * libs/gst/base/gstpushsrc.h:
18646         * libs/gst/dataprotocol/dataprotocol.c:
18647         * libs/gst/dataprotocol/dataprotocol.h:
18648         * libs/gst/net/gstnetclientclock.h:
18649         * libs/gst/net/gstnettimeprovider.h:
18650         Documentation updates.
18651
18652 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18653
18654         * docs/manual/basics-helloworld.xml:
18655           Remove superfluous closing bracket in helloworld example.
18656
18657 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18658
18659         * tools/gst-launch.1.in:
18660           Update gst-launch man page; add a section with useful
18661           environment variables. Fixes #323882.
18662
18663 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18664
18665         * gst/gst.c:
18666         * gst/gst_private.h:
18667           change some char* into char[]
18668
18669 2005-12-16  Wim Taymans  <wim@fluendo.com>
18670
18671         * gst/gstregistryxml.c: (load_feature):
18672         Cleanups.
18673         Don't use g_object_unref on GstObjects so that we avoid
18674         leaks on unsafe glibs.
18675
18676 2005-12-16  Wim Taymans  <wim@fluendo.com>
18677
18678         * gst/gstbin.c: (gst_bin_recalc_state):
18679         Small doc updates.
18680
18681 2005-12-16  Wim Taymans  <wim@fluendo.com>
18682
18683         * common/check.mak:
18684         Added make forever target for check.
18685
18686 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18687
18688         * gst/gst.c: (init_post):
18689           make the registry cache file HOST_CPU-dependent
18690
18691 2005-12-16  Andy Wingo  <wingo@pobox.com>
18692
18693         * plugins/elements/gstbufferstore.c
18694         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18695         return value.
18696
18697         * tests/check/gst/gstobject.c
18698         (test_fake_object_name_threaded_unique): Pay attention to
18699         g_list_sort return value.
18700
18701 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18702
18703         * tools/gst-feedback-m.m:
18704           Update for 0.9/0.10 (fixes #323870).
18705
18706 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18707
18708         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18709           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18710           
18711         * tests/check/gst/gstminiobject.c: (my_foo_init),
18712         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18713         (test_value_collection), (gst_mini_object_suite):
18714           Add test to ensure refcounts end up as expected when passing
18715           GstMiniObjects through g_object_get() and g_object_set().
18716
18717 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18718
18719         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18720         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18721         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18722         of collectpads. This version removes a lot of races without
18723         touching API/ABI. Yay !
18724
18725 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18726
18727         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18728           Don't allow activation of a srcpad in pull_range if it has no
18729           getrange function.
18730           Change some debug statements to be a little clearer
18731
18732         * plugins/elements/gsttypefindelement.c:
18733         (gst_type_find_handle_src_query):
18734           Check that we have a peer before executing queries thereupon.
18735
18736         * tests/examples/metadata/read-metadata.c: (message_loop):
18737           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18738           immediately return us any available message with 0 timeout.
18739
18740 2005-12-12  Michael Smith  <msmith@fluendo.com>
18741
18742         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18743           Don't unref factories after calling them.
18744         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18745         * plugins/elements/gsttypefindelement.c:
18746         (gst_type_find_element_chain):
18747           Free lists of factories after using them. Fixing typefinding memory
18748           leaks.
18749
18750 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18751
18752         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18753         (gst_plugin_feature_load):
18754           more meaningful debug output
18755         * configure.ac:
18756         * tests/Makefile.am:
18757         * tests/old/examples/Makefile.am:
18758           make make distcheck happy again
18759
18760 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18761
18762         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18763           Catch the special case where we are operating chain-based,
18764           but the downstream peer pad has no chain function. Emit a
18765           custom error message in this case instead of letting the
18766           core generate one implying that this is some sort of core
18767           bug. It's not, it just means that whatever got plugged
18768           into the pipeline downstream when we announced the type
18769           can only operate pull-based, while our source can only
18770           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18771           Error string has not been marked for translation yet, as
18772           it probably needs some more work first.
18773
18774         (gst_type_find_element_get_best_possibility):
18775           Add helper function to find the best of all available
18776           found possibilities that qualify given the min. threshold.
18777
18778         (gst_type_find_element_handle_event):
18779           Fix the case where we get an EOS while still in TYPEFIND
18780           mode (we want to chose the best of all possible types,
18781           not just the first type that happens to be in our unsorted
18782           list of possible types).
18783
18784         (gst_type_find_element_chain):
18785           Make sure we return GST_FLOW_ERROR when we errored out
18786           in stop_typefinding(); also, don't just find the best of
18787           all found type entries and then use the last examined
18788           type entry, but actually use the best entry.
18789
18790 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18791
18792         * tests/examples/typefind/typefind.c: (type_found):
18793         * tests/examples/xml/runxml.c: (xml_loaded):
18794           More gcc4 fixes and a mem leak fix.
18795
18796 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18797
18798         * tests/examples/xml/createxml.c: (object_saved):
18799           gcc 4 fixes
18800
18801 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18802
18803         * tests/Makefile.am:
18804           enable the examples even more
18805
18806 2005-12-12  Andy Wingo  <wingo@pobox.com>
18807
18808         * libs/gst/net/gstnettimeprovider.c
18809         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18810         (gst_net_time_provider_set_property)
18811         (gst_net_time_provider_get_property):
18812         API addition: Export "active" as a GObject property.
18813         (gst_net_time_provider_thread): Only respond to time queries if
18814         the time provider is active.
18815
18816         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18817         NetTimeProvider, preserving binary compat.
18818
18819 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18820
18821         * tests/examples/controller/audio-example.c: (main):
18822         * tests/examples/launch/Makefile.am:
18823           convert comments again
18824
18825 2005-12-12  Wim Taymans  <wim@fluendo.com>
18826
18827         * libs/gst/base/gstpushsrc.c:
18828         Fix typo.
18829
18830 2005-12-12  Wim Taymans  <wim@fluendo.com>
18831
18832         * docs/libs/gstreamer-libs-sections.txt:
18833         Added new symbol to docs.
18834
18835         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18836         (gst_base_src_init), (gst_base_src_set_format),
18837         (gst_base_src_default_query), (gst_base_src_query),
18838         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18839         (gst_base_src_perform_seek), (gst_base_src_send_event),
18840         (gst_base_src_default_event), (gst_base_src_event_handler),
18841         (gst_base_src_set_property), (gst_base_src_get_property),
18842         (gst_base_src_wait), (gst_base_src_do_sync),
18843         (gst_base_src_update_length), (gst_base_src_get_range),
18844         (gst_base_src_check_get_range), (gst_base_src_loop),
18845         (gst_base_src_default_negotiate), (gst_base_src_start),
18846         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18847         (gst_base_src_change_state):
18848         * libs/gst/base/gstbasesrc.h:
18849         Implement seeking to other formats than _BYTES.
18850         Implement more seeking methods correctly.
18851         Doc updates.
18852         Added query vmethod.
18853         Added do_seek vmethod to make life easier for subclasses
18854         when seeking.
18855         API addition: gst_base_src_set_format()
18856
18857 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18858
18859         * tests/examples/Makefile.am:
18860           added that too
18861
18862 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18863
18864         * configure.ac:
18865         * docs/random/ensonic/media-device-daemon.txt:
18866         * tests/examples/controller/.cvsignore:
18867         * tests/examples/controller/Makefile.am:
18868         * tests/examples/controller/audio-example.c: (main):
18869         * tests/examples/helloworld/.cvsignore:
18870         * tests/examples/helloworld/Makefile.am:
18871         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18872         * tests/examples/launch/.cvsignore:
18873         * tests/examples/launch/Makefile.am:
18874         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18875         * tests/examples/metadata/.cvsignore:
18876         * tests/examples/metadata/Makefile.am:
18877         * tests/examples/metadata/read-metadata.c: (message_loop),
18878         (make_pipeline), (print_tag), (main):
18879         * tests/examples/queue/.cvsignore:
18880         * tests/examples/queue/Makefile.am:
18881         * tests/examples/queue/queue.c: (event_loop), (main):
18882         * tests/examples/typefind/.cvsignore:
18883         * tests/examples/typefind/Makefile.am:
18884         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18885         (main):
18886         * tests/examples/xml/.cvsignore:
18887         * tests/examples/xml/Makefile.am:
18888         * tests/examples/xml/createxml.c: (object_saved), (main):
18889         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18890         * tests/old/examples/Makefile.am:
18891         * tests/old/examples/TODO:
18892         * tests/old/examples/controller/.cvsignore:
18893         * tests/old/examples/controller/Makefile.am:
18894         * tests/old/examples/controller/audio-example.c:
18895         * tests/old/examples/helloworld/.cvsignore:
18896         * tests/old/examples/helloworld/Makefile.am:
18897         * tests/old/examples/helloworld/helloworld.c:
18898         * tests/old/examples/launch/.cvsignore:
18899         * tests/old/examples/launch/Makefile.am:
18900         * tests/old/examples/launch/mp3parselaunch.c:
18901         * tests/old/examples/launch/mp3play:
18902         * tests/old/examples/manual/Makefile.am:
18903         * tests/old/examples/metadata/Makefile.am:
18904         * tests/old/examples/metadata/read-metadata.c:
18905         * tests/old/examples/queue/.cvsignore:
18906         * tests/old/examples/queue/Makefile.am:
18907         * tests/old/examples/queue/queue.c:
18908         * tests/old/examples/typefind/.cvsignore:
18909         * tests/old/examples/typefind/Makefile.am:
18910         * tests/old/examples/typefind/typefind.c:
18911         * tests/old/examples/xml/.cvsignore:
18912         * tests/old/examples/xml/Makefile.am:
18913         * tests/old/examples/xml/createxml.c:
18914         * tests/old/examples/xml/runxml.c:
18915           applied some simple fixing to some examples
18916           re-enabled the working examples
18917
18918 2005-12-12  Wim Taymans  <wim@fluendo.com>
18919
18920         * gst/gstsegment.c: (gst_segment_init),
18921         (gst_segment_set_last_stop), (gst_segment_set_seek),
18922         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18923         (gst_segment_to_running_time):
18924         Added more documentation.
18925         Make sure the last_pos value is updated properly.
18926         Make sure to_stream_time and to_running_time don't
18927         operate on wrong values.
18928
18929         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18930         Update check.
18931
18932 2005-12-12  Michael Smith  <msmith@fluendo.com>
18933
18934         * plugins/elements/gsttypefindelement.c: (free_entry),
18935         (gst_type_find_element_chain):
18936           Now that we're not leaking factories, make sure we keep references
18937           to them while we need them.
18938
18939 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18940
18941         * tests/check/gst/struct_i386.h:
18942           ifdef out the XML structs
18943
18944 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18945
18946         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18947           floor is not needed, F is always positive; this obviates the
18948           need for adding -lm when building without libxml
18949
18950 2005-12-12  Wim Taymans  <wim@fluendo.com>
18951
18952         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18953         Take current playback rate into account when reporting
18954         the position.
18955
18956 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18957
18958         * docs/manual/mime-world.fig:
18959           Let's try this again, this time with a file that is
18960           actually in XFig format.
18961
18962 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18963
18964         * docs/manual/mime-world.fig:
18965           Add audioconvert element to diagram so that it
18966           matches the text and the code (fixes #319526).
18967
18968 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18969
18970         * docs/pwg/building-chainfn.xml:
18971         * docs/pwg/building-pads.xml:
18972         * docs/pwg/building-state.xml:
18973         * docs/pwg/other-source.xml:
18974           Update state change stuff for 0.10 (fixes #322969).
18975
18976 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18977
18978         * docs/manual/advanced-dataaccess.xml:
18979         * docs/manual/appendix-checklist.xml:
18980         * docs/manual/appendix-programs.xml:
18981         * docs/manual/basics-pads.xml:
18982         * docs/manual/highlevel-components.xml:
18983         * docs/manual/manual.xml:
18984           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18985           add converters in front of pipelines; remove curly
18986           brackets for threads stuff, they no longer exist; use
18987           GST_TYPE_FRACTION for framerates; update some pieces of
18988           code to 0.10, but there's plenty more to do.
18989
18990         * docs/manual/appendix-porting.xml:
18991           Expand on asynchroneous state changes; s/0.9/0.10/;
18992           mention disappearance of gst_init_get_popt_table()
18993           (fixes #322916).
18994
18995 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18996
18997         * docs/faq/using.xml:
18998           Spider no longer exists, and neither does gst-launch-ext.
18999           Update examples to use decodebin and playbin and put
19000           converters in front of sinks (fixes #323726).
19001
19002 2005-12-09  Michael Smith  <msmith@fluendo.com>
19003
19004         * plugins/elements/gsttypefindelement.c: (find_peek),
19005         (gst_type_find_element_chain):
19006           Fix leaking element factories in typefinding.
19007           Fix problem where we forgot about a probable type on non-seekable
19008           files, and thus later mis-typefound it.
19009
19010 2005-12-09  Michael Smith  <msmith@fluendo.com>
19011
19012         * common/m4/gst-makecontext.m4:
19013         * common/m4/gst-mcsc.m4:
19014         * configure.ac:
19015         * win32/common/config.h:
19016         * win32/common/config.h.in:
19017           Remove makecontext stuff; not used in 0.10 and causes problems on
19018           HPUX according to bug #322441
19019
19020 2005-12-07  Wim Taymans  <wim@fluendo.com>
19021
19022         * tests/check/Makefile.am:
19023         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
19024         (main):
19025         * tests/check/libs/struct_i386.h:
19026         Added ABI check for libs
19027
19028 2005-12-07  Wim Taymans  <wim@fluendo.com>
19029
19030         * tests/check/Makefile.am:
19031         And add the struct_i386.h to dist.
19032
19033 2005-12-07  Wim Taymans  <wim@fluendo.com>
19034
19035         * tests/check/Makefile.am:
19036         * tests/check/gst/.cvsignore:
19037         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
19038         (main):
19039         * tests/check/gst/struct_i386.h:
19040         Added check for ABI compatibility.
19041
19042 2005-12-07  Wim Taymans  <wim@fluendo.com>
19043
19044         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19045         (gst_fake_src_get_times), (gst_fake_src_create):
19046         Fix broken sync option, fixes #323259
19047
19048 2005-12-07  Wim Taymans  <wim@fluendo.com>
19049
19050         * gst/gstbuffer.c:
19051         Small docs update.
19052
19053         * gst/gstcaps.c: (gst_caps_is_equal):
19054         Don't assert on NULL <--> X. Fixes #323260
19055
19056         * gst/gstminiobject.c: (gst_mini_object_replace):
19057         If we're doing atomic operations, we might just as well use
19058         the proper way to get an atomic pointer.
19059
19060         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
19061         Clean up debugging.
19062
19063 2005-12-07  Michael Smith  <msmith@fluendo.com>
19064
19065         * gst/parse/grammar.y:
19066           Remove handling of { } for threads.
19067
19068 2005-12-06  David Schleef  <ds@schleef.org>
19069
19070         * libs/gst/base/gstbasetransform.c: speling fix.
19071
19072 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19073
19074         * docs/libs/tmpl/gstdataprotocol.sgml:
19075         * docs/random/omega/testing/gstobject.c:
19076         * gst/gst.c:
19077         * gst/gstclock.c:
19078         * gst/gstelement.c:
19079         * gst/gstelementfactory.c:
19080         * gst/gsterror.c:
19081         * gst/gstevent.c:
19082         * gst/gstghostpad.c:
19083         * gst/gstinfo.c:
19084         * gst/gstpadtemplate.c:
19085         * gst/gstregistryxml.c:
19086         * gst/gsttaglist.c:
19087         * gst/gsttagsetter.c:
19088         * gst/gsttypefind.c:
19089         * gst/gstvalue.c:
19090         * libs/gst/base/gstbasesrc.c:
19091         * libs/gst/net/gstnetclientclock.c:
19092         * libs/gst/net/gstnettimeprovider.c:
19093         * plugins/elements/gstfakesrc.c:
19094         * plugins/elements/gstfdsrc.c:
19095         * plugins/elements/gstfilesrc.c:
19096         * plugins/elements/gstidentity.c:
19097         * plugins/elements/gstqueue.c:
19098         * plugins/elements/gsttypefindelement.c:
19099         * plugins/indexers/gstfileindex.c:
19100         * plugins/indexers/gstmemindex.c:
19101         * tests/check/gst/gsttag.c:
19102         * tests/old/examples/cutter/cutter.c:
19103         * tests/old/examples/mixer/mixer.c:
19104         * tests/old/examples/xml/runxml.c: (main):
19105         * tests/old/testsuite/caps/normalisation.c:
19106         * tests/old/testsuite/debug/global.c:
19107         * tests/old/testsuite/parse/parse1.c:
19108         * tools/gst-xmlinspect.c:
19109         * win32/common/dirent.c:
19110           expand tabs
19111
19112 === release 0.10.0 ===
19113
19114 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19115
19116         * configure.ac:
19117           releasing 0.10.0, "Maroilles"
19118
19119 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19120
19121         submitted by: Funda Wang <fundawang@linux.net.cn>
19122
19123         * po/LINGUAS:
19124         * po/zh_CN.po:
19125           added Chinese (Traditional) translation
19126
19127 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19128
19129         * docs/gst/gstreamer-sections.txt:
19130         * docs/libs/tmpl/gstdataprotocol.sgml:
19131         * docs/random/thomasvs/TODO:
19132         * gst/gstutils.c:
19133         * gst/gstutils.h:
19134           fix docs
19135
19136 2005-12-05  Andy Wingo  <wingo@pobox.com>
19137
19138         patch by: Wim Taymans <wim@fluendo.com>
19139
19140         * libs/gst/base/gstbasetransform.c
19141         (gst_base_transform_prepare_output_buf)
19142         (gst_base_transform_buffer_alloc):
19143         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19144         alloc_buffer_and_set_caps.
19145
19146         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19147         set_caps on the source pad.
19148         (gst_pad_alloc_buffer_and_set_caps): New function, does what
19149         alloc_buffer used to do. Fixes #322874.
19150
19151         * docs/gst/gstreamer-sections.txt: 
19152         * docs/design/part-negotiation.txt: 
19153         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19154         changes.
19155
19156 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19157
19158         patch by: Sebastien Moutte
19159
19160         * win32/MANIFEST:
19161         * win32/common/config.h.in:
19162         * win32/vs6/libgstcontroller.dsp:
19163           win32 build fixes
19164
19165 2005-12-05  Wim Taymans  <wim@fluendo.com>
19166
19167         * gst/gstcaps.c: (gst_caps_is_equal):
19168         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19169         (gst_fake_src_create):
19170         Back out previous code changes, leave doc updates, file bugs 
19171         instead. 
19172
19173 2005-12-05  Wim Taymans  <wim@fluendo.com>
19174
19175         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19176         (gst_fake_src_get_times), (gst_fake_src_create):
19177         * plugins/elements/gstfakesrc.h:
19178         Fix broken sync code.
19179
19180 2005-12-05  Wim Taymans  <wim@fluendo.com>
19181
19182         * gst/gstcaps.c: (gst_caps_is_equal):
19183         Comparing NULL against !NULL yields different caps, not a
19184         failure.
19185
19186 2005-12-05  Wim Taymans  <wim@fluendo.com>
19187
19188         * gst/gstpipeline.c:
19189         Fix small typo in docs.
19190
19191 2005-12-05  Andy Wingo  <wingo@pobox.com>
19192
19193         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
19194
19195         * gst/gst.c (init_post): remove hard-coded 0.9 location for
19196         registries/plugins with a MAJORMINOR one.
19197         (plugin_desc): Rename library from gstcoreleements to
19198         staticelements. Fixes #323222.
19199
19200 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
19201
19202         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19203           Change debug category to 'collectpads' from 'collect_pads'
19204           (fixes #323250).
19205
19206 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19207
19208         patch by: Sebastien Moutte
19209
19210         * libs/gst/controller/gstinterpolation.c:
19211           use convert function for uint64/double
19212         * win32/vs6/libgstcontroller.dsp:
19213           link to GLib
19214
19215 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19216
19217         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19218         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19219         * gst/gstutils.h:
19220         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19221           add tests that seem to show that the guint64/gdouble conversions
19222           are correct.
19223
19224 2005-12-02  Wim Taymans  <wim@fluendo.com>
19225
19226         * gst/gstregistry.c: (gst_registry_add_path):
19227         * gst/gstregistry.h:
19228         * gst/gstregistryxml.c:
19229         Fix docs again.
19230
19231 2005-12-02  Wim Taymans  <wim@fluendo.com>
19232
19233         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19234         (gst_util_uint64_scale_int):
19235         Small cleanup.
19236
19237         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19238         Add debug log line.
19239
19240         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19241         Add FIXME.
19242
19243 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19244
19245         * win32/MANIFEST:
19246         * win32/common/config.h:
19247         * win32/vs6/gstreamer.dsw:
19248         * win32/vs6/libgstcoreelements.dsp:
19249         * win32/vs6/libgstelements.dsp:
19250           renamed core elements plugin
19251
19252 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19253
19254         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19255         (get_candidates):
19256           do piece-wise major/minor comparison so 0.9 < 0.10
19257           also allow .exe extensions for tools
19258
19259 2005-12-02  Michael Smith  <msmith@fluendo.com>
19260
19261         * gst/gst.c:
19262           Escape a % to make gtkdoc happier; bug 322958.
19263
19264 === release 0.9.7 ===
19265
19266 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19267
19268         * configure.ac:
19269           releasing 0.9.7, "My Dog Has No Nose"
19270
19271 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19272
19273         * common/gst-xmlinspect.py:
19274         * configure.ac:
19275         * docs/libs/tmpl/gstdataprotocol.sgml:
19276         * docs/random/release:
19277         * po/af.po:
19278         * po/az.po:
19279         * po/bg.po:
19280         * po/ca.po:
19281         * po/cs.po:
19282         * po/de.po:
19283         * po/en_GB.po:
19284         * po/fr.po:
19285         * po/it.po:
19286         * po/nb.po:
19287         * po/nl.po:
19288         * po/ru.po:
19289         * po/sq.po:
19290         * po/sr.po:
19291         * po/sv.po:
19292         * po/tr.po:
19293         * po/uk.po:
19294         * po/vi.po:
19295         * win32/common/config.h:
19296         * win32/common/config.h.in:
19297         * win32/vs6/gst_inspect.dsp:
19298         * win32/vs6/gst_launch.dsp:
19299         * win32/vs6/libgstbase.dsp:
19300         * win32/vs6/libgstelements.dsp:
19301         * win32/vs6/libgstreamer.dsp:
19302         * win32/vs7/GStreamer.vcproj:
19303         * win32/vs7/gst-inspect.vcproj:
19304         * win32/vs7/gst-launch.vcproj:
19305         * win32/vs7/libgstbase.vcproj:
19306           bump GST_MAJORMINOR to 0.10
19307           reset libtool version
19308
19309 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19310
19311         * po/LINGUAS:
19312         * po/bg.po:
19313           Added Bulgarian translation by (Alexander Shopov)
19314
19315 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19316
19317         * tests/check/gst/gstplugin.c:
19318           fix test
19319
19320 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19321
19322         * common/gst-xmlinspect.py:
19323         * common/gtk-doc-plugins.mak:
19324         * configure.ac:
19325         * docs/Makefile.am:
19326         * docs/gst/Makefile.am:
19327         * docs/gst/gstreamer-docs.sgml:
19328         * docs/gst/gstreamer-sections.txt:
19329         * docs/gst/gstreamer.types:
19330         * docs/gst/gstreamer.types.in:
19331         * docs/plugins/Makefile.am:
19332         * docs/plugins/gstreamer-plugins-docs.sgml:
19333         * docs/plugins/gstreamer-plugins-sections.txt:
19334         * docs/plugins/gstreamer-plugins.types:
19335         * docs/plugins/inspect.stamp:
19336         * docs/plugins/inspect/plugin-coreelements.xml:
19337         * docs/plugins/inspect/plugin-coreindexers.xml:
19338         * docs/plugins/scanobj-build.stamp:
19339         * gstreamer.spec.in:
19340         * plugins/elements/Makefile.am:
19341         * plugins/elements/gstelements.c:
19342         * plugins/elements/gstfakesink.c:
19343         * plugins/elements/gstfakesrc.c:
19344         * plugins/elements/gstfilesink.c:
19345         * plugins/elements/gstfilesrc.c:
19346         * plugins/elements/gstqueue.c:
19347         * plugins/indexers/Makefile.am:
19348         * plugins/indexers/gstindexers.c:
19349           document core plugins in a separate document just like all the
19350           others
19351           rename these plugins to something starting with core
19352
19353 2005-12-01  Andy Wingo  <wingo@pobox.com>
19354
19355         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19356         padding here before, but it missed the commit.
19357
19358 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19359
19360         * libs/gst/controller/gstinterpolation.c:
19361           whitespace prices have crashed, we should feel free to use some now
19362           use gst_guint64_to_gdouble
19363
19364 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19365
19366         * libs/gst/controller/gstcontroller.c:
19367         * libs/gst/controller/gsthelper.c:
19368         * libs/gst/controller/gstinterpolation.c:
19369         * libs/gst/controller/lib.c:
19370           wrap config.h include
19371
19372 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19373
19374         * docs/gst/gstreamer-sections.txt:
19375           update docs
19376
19377 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19378
19379         * plugins/elements/gstelements.c:
19380         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19381         (gst_fd_sink__class_init), (gst_fd_sink__init),
19382         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19383         (gst_fd_sink__get_property):
19384         * plugins/elements/gstfdsink.h:
19385         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19386         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19387         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19388         (gst_fd_src_unlock), (gst_fd_src_set_property),
19389         (gst_fd_src_get_property), (gst_fd_src_create),
19390         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19391         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19392         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19393         (gst_fd_src_uri_handler_init):
19394         * plugins/elements/gstfdsrc.h:
19395         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19396           more anal cleanup
19397
19398 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19399
19400         * docs/gst/Makefile.am:
19401         * docs/gst/gstreamer.types.in:
19402         * gst/Makefile.am:
19403           fix the docs build
19404
19405 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19406
19407         * configure.ac:
19408         * gst/Makefile.am:
19409         * gst/gst.c:
19410         * gst/gstplugin.h:
19411         * gst/gstregistry.h:
19412         * tests/benchmarks/complexity.c:
19413         * tests/benchmarks/mass-elements.c:
19414         * tests/check/Makefile.am:
19415         * tools/Makefile.am:
19416         * tools/gst-inspect.c:
19417         * tools/gst-xmlinspect.c:
19418           various fixes to make
19419           --disable-nls --disable-registry --disable-loadsave
19420           --disable-parse --disable-gst-debug
19421           work and get the core .so down to 360444 bytes after stripping
19422
19423 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19424
19425         * Makefile.am:
19426         * configure.ac:
19427           descend into tests
19428         * docs/random/thomasvs/TODO:
19429         * tests/Makefile.am:
19430         * tests/README:
19431           add a README
19432
19433 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19434
19435         * win32/GStreamer.vcproj:
19436         * win32/MANIFEST:
19437         * win32/Makefile:
19438         * win32/Makefile.inspect:
19439         * win32/Makefile.launch:
19440         * win32/Makefile.register:
19441         * win32/README.txt:
19442         * win32/gst-inspect.vcproj:
19443         * win32/gst-launch.vcproj:
19444         * win32/gst-register.vcproj:
19445         * win32/gstelements.vcproj:
19446         * win32/gstgetbits.def:
19447         * win32/gstgetbits.vcproj:
19448         * win32/gstreamer-dbg.def:
19449         * win32/gstreamer.def:
19450         * win32/libgstbase.def:
19451         * win32/libgstbase.vcproj:
19452         * win32/link_oldruntime.c:
19453         * win32/mman.c:
19454         * win32/mman.h:
19455         * win32/mman.inl:
19456         * win32/msvc71.sln:
19457           move even more stuff, win32/ is nice and clean now
19458
19459 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19460
19461         * libs/gst/control/.cvsignore:
19462         * win32/MANIFEST:
19463         * win32/config.h:
19464         * win32/dirent.c:
19465         * win32/dirent.h:
19466         * win32/gstbytestream.def:
19467         * win32/gstbytestream.vcproj:
19468         * win32/gstconfig.h:
19469         * win32/gstenumtypes.c:
19470         * win32/gstenumtypes.h:
19471         * win32/gstoptimalscheduler.vcproj:
19472         * win32/gstversion.h:
19473         * win32/gtchar.h:
19474         * win32/testsuite/bins.vcproj:
19475         * win32/testsuite/bytestream.vcproj:
19476         * win32/testsuite/caps.vcproj:
19477         * win32/testsuite/cleanup.vcproj:
19478         * win32/testsuite/clock.vcproj:
19479         * win32/testsuite/debug.vcproj:
19480         * win32/testsuite/dlopen.vcproj:
19481         * win32/testsuite/dynparams.vcproj:
19482         * win32/testsuite/elements.vcproj:
19483         * win32/testsuite/ghostpads.vcproj:
19484         * win32/testsuite/indexers.vcproj:
19485         * win32/testsuite/negotiation.vcproj:
19486         * win32/testsuite/parse.vcproj:
19487         * win32/testsuite/plugin.vcproj:
19488         * win32/testsuite/refcounting.vcproj:
19489         * win32/testsuite/schedulers.vcproj:
19490         * win32/testsuite/states.vcproj:
19491         * win32/testsuite/tags.vcproj:
19492         * win32/testsuite/threads.vcproj:
19493           remove old win32 stuff that isn't maintained and should be
19494           reorganized
19495
19496 2005-11-30  Andy Wingo  <wingo@pobox.com>
19497
19498         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19499         loading the gst.interfaces python module bork.
19500
19501         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19502         available since GLib 2.2. Fixes #318031.
19503
19504 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19505
19506         * Makefile.am:
19507         * check/.cvsignore:
19508         * check/Makefile.am:
19509         * check/elements/.cvsignore:
19510         * check/elements/fakesrc.c:
19511         * check/elements/fdsrc.c:
19512         * check/elements/identity.c:
19513         * check/generic/.cvsignore:
19514         * check/generic/states.c:
19515         * check/gst-libs/.cvsignore:
19516         * check/gst-libs/controller.c:
19517         * check/gst-libs/gdp.c:
19518         * check/gst/.cvsignore:
19519         * check/gst/capslist.h:
19520         * check/gst/gst.c:
19521         * check/gst/gstbin.c:
19522         * check/gst/gstbuffer.c:
19523         * check/gst/gstbus.c:
19524         * check/gst/gstcaps.c:
19525         * check/gst/gstelement.c:
19526         * check/gst/gstevent.c:
19527         * check/gst/gstghostpad.c:
19528         * check/gst/gstiterator.c:
19529         * check/gst/gstmessage.c:
19530         * check/gst/gstminiobject.c:
19531         * check/gst/gstobject.c:
19532         * check/gst/gstpad.c:
19533         * check/gst/gstpipeline.c:
19534         * check/gst/gstplugin.c:
19535         * check/gst/gstsegment.c:
19536         * check/gst/gststructure.c:
19537         * check/gst/gstsystemclock.c:
19538         * check/gst/gsttag.c:
19539         * check/gst/gstutils.c:
19540         * check/gst/gstvalue.c:
19541         * check/net/.cvsignore:
19542         * check/net/gstnetclientclock.c:
19543         * check/net/gstnettimeprovider.c:
19544         * check/pipelines/.cvsignore:
19545         * check/pipelines/cleanup.c:
19546         * check/pipelines/simple_launch_lines.c:
19547         * check/pipelines/stress.c:
19548         * check/states/.cvsignore:
19549         * check/states/sinks.c:
19550         * configure.ac:
19551         * examples/Makefile.am:
19552         * examples/appreader/.cvsignore:
19553         * examples/appreader/Makefile.am:
19554         * examples/appreader/appreader.c:
19555         * examples/controller/.cvsignore:
19556         * examples/controller/Makefile.am:
19557         * examples/controller/audio-example.c:
19558         * examples/cutter/.cvsignore:
19559         * examples/cutter/Makefile.am:
19560         * examples/cutter/cutter.c:
19561         * examples/cutter/cutter.h:
19562         * examples/events/Makefile.am:
19563         * examples/events/seek.c:
19564         * examples/helloworld/.cvsignore:
19565         * examples/helloworld/Makefile.am:
19566         * examples/helloworld/helloworld.c:
19567         * examples/helloworld2/.cvsignore:
19568         * examples/helloworld2/Makefile.am:
19569         * examples/helloworld2/helloworld2.c:
19570         * examples/launch/.cvsignore:
19571         * examples/launch/Makefile.am:
19572         * examples/launch/mp3parselaunch.c:
19573         * examples/launch/mp3play:
19574         * examples/manual/.cvsignore:
19575         * examples/manual/Makefile.am:
19576         * examples/manual/extract.pl:
19577         * examples/metadata/Makefile.am:
19578         * examples/metadata/read-metadata.c:
19579         * examples/mixer/.cvsignore:
19580         * examples/mixer/Makefile.am:
19581         * examples/mixer/mixer.c:
19582         * examples/mixer/mixer.h:
19583         * examples/pingpong/.cvsignore:
19584         * examples/pingpong/Makefile.am:
19585         * examples/pingpong/pingpong.c:
19586         * examples/plugins/.cvsignore:
19587         * examples/plugins/Makefile.am:
19588         * examples/plugins/example.c:
19589         * examples/plugins/example.h:
19590         * examples/pwg/.cvsignore:
19591         * examples/pwg/Makefile.am:
19592         * examples/pwg/extract.pl:
19593         * examples/queue/.cvsignore:
19594         * examples/queue/Makefile.am:
19595         * examples/queue/queue.c:
19596         * examples/queue2/.cvsignore:
19597         * examples/queue2/Makefile.am:
19598         * examples/queue2/queue2.c:
19599         * examples/queue3/.cvsignore:
19600         * examples/queue3/Makefile.am:
19601         * examples/queue3/queue3.c:
19602         * examples/queue4/.cvsignore:
19603         * examples/queue4/Makefile.am:
19604         * examples/queue4/queue4.c:
19605         * examples/retag/.cvsignore:
19606         * examples/retag/Makefile.am:
19607         * examples/retag/retag.c:
19608         * examples/retag/transcode.c:
19609         * examples/thread/.cvsignore:
19610         * examples/thread/Makefile.am:
19611         * examples/thread/thread.c:
19612         * examples/typefind/.cvsignore:
19613         * examples/typefind/Makefile.am:
19614         * examples/typefind/typefind.c:
19615         * examples/xml/.cvsignore:
19616         * examples/xml/Makefile.am:
19617         * examples/xml/createxml.c:
19618         * examples/xml/runxml.c:
19619         * tests/Makefile.am:
19620         * tests/check/Makefile.am:
19621         * testsuite/.cvsignore:
19622         * testsuite/Makefile.am:
19623         * testsuite/Rules:
19624         * testsuite/caps/.cvsignore:
19625         * testsuite/caps/Makefile.am:
19626         * testsuite/caps/app_fixate.c:
19627         * testsuite/caps/audioscale.c:
19628         * testsuite/caps/caps.c:
19629         * testsuite/caps/caps.h:
19630         * testsuite/caps/caps_strings:
19631         * testsuite/caps/compatibility.c:
19632         * testsuite/caps/deserialize.c:
19633         * testsuite/caps/enumcaps.c:
19634         * testsuite/caps/eratosthenes.c:
19635         * testsuite/caps/filtercaps.c:
19636         * testsuite/caps/fixed.c:
19637         * testsuite/caps/fraction-convert.c:
19638         * testsuite/caps/fraction-multiply-and-zero.c:
19639         * testsuite/caps/intersect2.c:
19640         * testsuite/caps/intersection.c:
19641         * testsuite/caps/normalisation.c:
19642         * testsuite/caps/random.c:
19643         * testsuite/caps/renegotiate.c:
19644         * testsuite/caps/sets.c:
19645         * testsuite/caps/simplify.c:
19646         * testsuite/caps/string-conversions.c:
19647         * testsuite/caps/structure.c:
19648         * testsuite/caps/subtract.c:
19649         * testsuite/caps/union.c:
19650         * testsuite/debug/.cvsignore:
19651         * testsuite/debug/Makefile.am:
19652         * testsuite/debug/category.c:
19653         * testsuite/debug/commandline.c:
19654         * testsuite/debug/global.c:
19655         * testsuite/debug/output.c:
19656         * testsuite/debug/printf_extension.c:
19657         * testsuite/dlopen/.cvsignore:
19658         * testsuite/dlopen/Makefile.am:
19659         * testsuite/dlopen/dlopen_gst.c:
19660         * testsuite/dlopen/loadgst.c:
19661         * testsuite/elements/.cvsignore:
19662         * testsuite/elements/Makefile.am:
19663         * testsuite/elements/gst-inspect-check.in:
19664         * testsuite/elements/struct_i386.h:
19665         * testsuite/elements/struct_size.c:
19666         * testsuite/indexers/.cvsignore:
19667         * testsuite/indexers/Makefile.am:
19668         * testsuite/indexers/cache1.c:
19669         * testsuite/indexers/indexdump.c:
19670         * testsuite/parse/.cvsignore:
19671         * testsuite/parse/Makefile.am:
19672         * testsuite/parse/parse1.c:
19673         * testsuite/parse/parse2.c:
19674         * testsuite/plugin/.cvsignore:
19675         * testsuite/plugin/Makefile.am:
19676         * testsuite/plugin/README:
19677         * testsuite/plugin/dynamic.c:
19678         * testsuite/plugin/linked.c:
19679         * testsuite/plugin/loading.c:
19680         * testsuite/plugin/registry.c:
19681         * testsuite/plugin/static.c:
19682         * testsuite/plugin/static2.c:
19683         * testsuite/plugin/testplugin.c:
19684         * testsuite/plugin/testplugin2.c:
19685         * testsuite/plugin/testplugin2_s.c:
19686         * testsuite/plugin/testplugin_s.c:
19687         * testsuite/refcounting/.cvsignore:
19688         * testsuite/refcounting/Makefile.am:
19689         * testsuite/refcounting/bin.c:
19690         * testsuite/refcounting/element.c:
19691         * testsuite/refcounting/element_pad.c:
19692         * testsuite/refcounting/mainloop.c:
19693         * testsuite/refcounting/mem.c:
19694         * testsuite/refcounting/mem.h:
19695         * testsuite/refcounting/object.c:
19696         * testsuite/refcounting/pad.c:
19697         * testsuite/refcounting/sched.c:
19698         * testsuite/refcounting/thread.c:
19699         * testsuite/states/.cvsignore:
19700         * testsuite/states/Makefile.am:
19701         * testsuite/states/bin.c:
19702         * testsuite/states/locked.c:
19703         * testsuite/states/parent.c:
19704         * testsuite/threads/.cvsignore:
19705         * testsuite/threads/159566.c:
19706         * testsuite/threads/159852.c:
19707         * testsuite/threads/Makefile.am:
19708         * testsuite/threads/queue.c:
19709         * testsuite/threads/signals.c:
19710         * testsuite/threads/staticrec.c:
19711         * testsuite/threads/thread.c:
19712         * testsuite/threads/threadb.c:
19713         * testsuite/threads/threadc.c:
19714         * testsuite/threads/threadd.c:
19715         * testsuite/threads/threade.c:
19716         * testsuite/threads/threadf.c:
19717         * testsuite/threads/threadg.c:
19718         * testsuite/threads/threadh.c:
19719         * testsuite/threads/threadi.c:
19720           move all of these under tests
19721
19722 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19723
19724         * configure.ac:
19725         * tests/Makefile.am:
19726           fix distcheck
19727
19728 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19729
19730         * docs/gst/gstreamer-sections.txt:
19731         * tests/sched/.cvsignore:
19732         * tests/sched/Makefile.am:
19733         * tests/sched/cases/(fs-fs).xml:
19734         * tests/sched/cases/(fs-i-fs).xml:
19735         * tests/sched/cases/(fs-i-i-fs).xml:
19736         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19737         * tests/sched/dynamic-pipeline.c:
19738         * tests/sched/interrupt1.c:
19739         * tests/sched/interrupt2.c:
19740         * tests/sched/interrupt3.c:
19741         * tests/sched/runtestcases:
19742         * tests/sched/runxml.c:
19743         * tests/sched/sched-stress.c:
19744         * tests/sched/sort.c:
19745         * tests/sched/testcases:
19746         * tests/sched/testcases1.tc:
19747         * tests/seeking/.cvsignore:
19748         * tests/seeking/Makefile.am:
19749         * tests/seeking/seeking1.c:
19750         * tests/threadstate/.cvsignore:
19751         * tests/threadstate/Makefile.am:
19752         * tests/threadstate/test1.c:
19753         * tests/threadstate/test2.c:
19754         * tests/threadstate/threadstate1.c:
19755         * tests/threadstate/threadstate2.c:
19756         * tests/threadstate/threadstate3.c:
19757         * tests/threadstate/threadstate4.c:
19758         * tests/threadstate/threadstate5.c:
19759           remove obsolete tests
19760         * configure.ac:
19761         * tests/bench-complexity.scm:
19762         * tests/bench-mass_elements.scm:
19763         * tests/complexity.c:
19764         * tests/complexity.gnuplot:
19765         * tests/instantiate/.cvsignore:
19766         * tests/instantiate/Makefile.am:
19767         * tests/instantiate/caps.c:
19768         * tests/mass_elements.c:
19769         * tests/network-clock-utils.scm:
19770         * tests/network-clock.scm:
19771         * tests/plot-data:
19772         First pass at cleaning up tests/ dir before moving the rest
19773         Combined with CVS surgery
19774
19775 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19776
19777         * po/POTFILES.in:
19778           queue has moved, update
19779
19780 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19781
19782         * docs/gst/gstreamer-sections.txt:
19783           remove double entries from the docs
19784         * gst/gst_private.h:
19785         * gst/gstinfo.c: (_gst_debug_init):
19786           remove the THREAD debug category
19787         * gst/Makefile.am:
19788         * gst/gstqueue.c:
19789         * gst/gstqueue.h:
19790         * docs/gst/gstreamer.types:
19791         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19792         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19793           completely move queue and fix up debugging categories
19794
19795 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19796
19797         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19798           make initialization portable, using LL is not
19799
19800 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19801
19802         * win32/common/gstconfig.h:
19803           add large padding
19804
19805 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19806
19807         * win32/common/libgstreamer.def:
19808           rename symbols; sort base section
19809
19810 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19811
19812         * gst/gstclock.c: (do_linear_regression):
19813           remove crack non-portable handrolled DEBUG macro
19814
19815 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19816
19817         * docs/random/release:
19818           update notes
19819         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19820         (gst_object_flags_get_type), (register_gst_bin_flags),
19821         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19822         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19823         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19824         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19825         (gst_caps_flags_get_type), (register_gst_clock_return),
19826         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19827         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19828         (gst_clock_flags_get_type), (register_gst_state),
19829         (gst_state_get_type), (register_gst_state_change_return),
19830         (gst_state_change_return_get_type), (register_gst_state_change),
19831         (gst_state_change_get_type), (register_gst_element_flags),
19832         (gst_element_flags_get_type), (register_gst_core_error),
19833         (gst_core_error_get_type), (register_gst_library_error),
19834         (gst_library_error_get_type), (register_gst_resource_error),
19835         (gst_resource_error_get_type), (register_gst_stream_error),
19836         (gst_stream_error_get_type), (register_gst_event_type_flags),
19837         (gst_event_type_flags_get_type), (register_gst_event_type),
19838         (gst_event_type_get_type), (register_gst_seek_type),
19839         (gst_seek_type_get_type), (register_gst_seek_flags),
19840         (gst_seek_flags_get_type), (register_gst_format),
19841         (gst_format_get_type), (register_gst_index_certainty),
19842         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19843         (gst_index_entry_type_get_type),
19844         (register_gst_index_lookup_method),
19845         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19846         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19847         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19848         (gst_index_flags_get_type), (register_gst_debug_level),
19849         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19850         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19851         (gst_iterator_result_get_type), (register_gst_iterator_item),
19852         (gst_iterator_item_get_type), (register_gst_message_type),
19853         (gst_message_type_get_type), (register_gst_mini_object_flags),
19854         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19855         (gst_pad_link_return_get_type), (register_gst_flow_return),
19856         (gst_flow_return_get_type), (register_gst_activate_mode),
19857         (gst_activate_mode_get_type), (register_gst_pad_direction),
19858         (gst_pad_direction_get_type), (register_gst_pad_flags),
19859         (gst_pad_flags_get_type), (register_gst_pad_presence),
19860         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19861         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19862         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19863         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19864         (gst_plugin_flags_get_type), (register_gst_rank),
19865         (gst_rank_get_type), (register_gst_query_type),
19866         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19867         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19868         (gst_tag_flag_get_type), (register_gst_task_state),
19869         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19870         (gst_alloc_trace_flags_get_type),
19871         (register_gst_type_find_probability),
19872         (gst_type_find_probability_get_type), (register_gst_uri_type),
19873         (gst_uri_type_get_type), (register_gst_parse_error),
19874         (gst_parse_error_get_type):
19875         * win32/common/gstenumtypes.h:
19876         * win32/common/gstversion.h:
19877           update visual studio generated files
19878
19879 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19880
19881         * win32/vs6/libgstbase.dsp:
19882         * win32/vs6/libgstelements.dsp:
19883           update project files for new locations
19884
19885 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19886
19887         * Makefile.am:
19888           remove some files
19889         * README:
19890           reinstate and update
19891         * DEVEL:
19892         * REQUIREMENTS:
19893           removed
19894         * LICENSE:
19895         * docs/random/LICENSE:
19896           moved to random
19897
19898 2005-11-30  Edward Hervey  <edward@fluendo.com>
19899
19900         * gst/gsttypefind.c: (gst_type_find_register):
19901         * gst/gsttypefind.h:
19902         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19903         (gst_type_find_factory_dispose):
19904         * gst/gsttypefindfactory.h:
19905         Fix memory leak in GstTypeFindFactory.
19906
19907 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19908
19909         * gst/gst.c:
19910         * plugins/elements/Makefile.am:
19911         * plugins/elements/gstelements.c:
19912         * plugins/elements/gstqueue.c:
19913           move queue from core to the elements plugin
19914
19915 2005-11-29  Andy Wingo  <wingo@pobox.com>
19916
19917         * libs/gst/base/gstbasetransform.h: 
19918         * libs/gst/base/gstbasesrc.h: 
19919         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19920
19921         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19922         of pointers by which to pad very extensible base classes (like the
19923         ones in libs/gst/base).
19924
19925 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19926
19927         * docs/gst/gstreamer-docs.sgml:
19928         * docs/gst/gstreamer-sections.txt:
19929         * docs/libs/gstreamer-libs-docs.sgml:
19930         * docs/libs/gstreamer-libs-sections.txt:
19931           moving documentation from core to lib
19932
19933 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19934
19935         * check/Makefile.am:
19936         * configure.ac:
19937         * docs/gst/Makefile.am:
19938         * gst/Makefile.am:
19939         * gst/base/.cvsignore:
19940         * gst/base/Makefile.am:
19941         * gst/base/README:
19942         * gst/base/gstadapter.c:
19943         * gst/base/gstadapter.h:
19944         * gst/base/gstbasesink.c:
19945         * gst/base/gstbasesink.h:
19946         * gst/base/gstbasesrc.c:
19947         * gst/base/gstbasesrc.h:
19948         * gst/base/gstbasetransform.c:
19949         * gst/base/gstbasetransform.h:
19950         * gst/base/gstcollectpads.c:
19951         * gst/base/gstcollectpads.h:
19952         * gst/base/gstpushsrc.c:
19953         * gst/base/gstpushsrc.h:
19954         * gst/base/gsttypefindhelper.c:
19955         * gst/base/gsttypefindhelper.h:
19956         * gst/check/Makefile.am:
19957         * gst/check/gstcheck.c:
19958         * gst/check/gstcheck.h:
19959         * gst/net/Makefile.am:
19960         * gst/net/gstnet.h:
19961         * gst/net/gstnetclientclock.c:
19962         * gst/net/gstnetclientclock.h:
19963         * gst/net/gstnettimepacket.c:
19964         * gst/net/gstnettimepacket.h:
19965         * gst/net/gstnettimeprovider.c:
19966         * gst/net/gstnettimeprovider.h:
19967         * libs/gst/Makefile.am:
19968         * libs/gst/base/Makefile.am:
19969         * libs/gst/base/gstbasetransform.c:
19970         * libs/gst/check/Makefile.am:
19971         * plugins/elements/Makefile.am:
19972         * po/POTFILES.in:
19973           CVS surgery + support to move base, check, and net out of gst
19974           and into libs/gst
19975
19976 2005-11-29  Andy Wingo  <wingo@pobox.com>
19977
19978         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19979
19980         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19981         padding.
19982
19983         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19984
19985         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19986
19987         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19988
19989         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19990         padding; reduces object size by about 30%. We don't expect
19991         anything else to go into gstobject.
19992
19993         * gst/gstminiobject.h (struct _GstMiniObject)
19994         (struct _GstMiniObjectClass): Only one pointer of padding; the
19995         payload is only a pointer and two ints anyway. For the class there
19996         are only two methods as well.
19997         
19998         * gst/gstelement.h (struct _GstElementClass): Removed
19999         the state_changed signal callback, it is not used.
20000
20001 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20002
20003         * docs/gst/gstreamer.types:
20004           fix includes, though they are a little dinky
20005
20006 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
20007
20008         * check/Makefile.am:
20009           look in the right place for elements, a lot more chance of
20010           success
20011         * gst/Makefile.am:
20012           remove indexers and elements subdirs
20013         * plugins/Makefile.am:
20014           make indexers conditional
20015
20016 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
20017
20018         * Makefile.am:
20019         * configure.ac:
20020         * plugins/elements/Makefile.am:
20021         * plugins/elements/gstcapsfilter.c:
20022         * plugins/elements/gstfilesink.c:
20023         * plugins/elements/gstfilesrc.c:
20024         * plugins/elements/gstidentity.c:
20025         * plugins/indexers/Makefile.am:
20026           do CVS surgery and related build fixery to move elements
20027           and indexers in a new gstreamer/plugins directory, out of the
20028           gst/ directory
20029
20030 2005-11-29  Andy Wingo  <wingo@pobox.com>
20031
20032         * check/Makefile.am:
20033         * pkgconfig/gstreamer-net-uninstalled.pc.in:
20034         * pkgconfig/gstreamer-net.pc.in:
20035         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
20036         #322257.
20037
20038 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20039
20040         * tools/Makefile.am:
20041         * tools/gst-complete.1.in:
20042         * tools/gst-complete.c:
20043         * tools/gst-compprep.1.in:
20044         * tools/gst-compprep.c:
20045           removing -compprep and -complete
20046
20047 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20048
20049         * gst/gstevent.c: (gst_event_new_new_segment),
20050         (gst_event_parse_new_segment):
20051         * gst/gstevent.h:
20052           fix #320529 - clean up new_segment API and structure.
20053           Let's hope everyone was using the methods, and not the structure.
20054
20055 2005-11-29  Edward Hervey  <edward@fluendo.com>
20056
20057         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20058         (gst_base_sink_event), (gst_base_sink_do_sync),
20059         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20060         Properly handle non GST_FORMAT_TIME segment
20061         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20062         Properly handle non GST_FORMAT_TIME segment
20063         * gst/gstsegment.c:
20064         This function is valid if the accumulator is 0 and the format
20065         is different from the requested format.
20066         
20067 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
20068
20069         * docs/gst/gstreamer-sections.txt:
20070         Add gst_query_new_seeking and gst_query_parse_seeking to the
20071         docs.
20072
20073 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
20074
20075         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20076           Treat a pad alloc with new caps the same as if we were not
20077           negotiated, in order to allow a changing upstream output
20078           to produce a new format of data.
20079
20080 2005-11-29  Edward Hervey  <edward@fluendo.com>
20081
20082         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20083         (gst_base_transform_event), (gst_base_transform_eventfunc):
20084         The event virtual method is now properly implemented, with a default
20085         handler
20086         Sub classes should call the parent_class event method. They should
20087         return FALSE if they had a problem handling the given event, or don't
20088         want GstBaseTransform to send that even downstream
20089         * gst/elements/gstidentity.c: (gst_identity_class_init),
20090         (gst_identity_init), (gst_identity_event),
20091         (gst_identity_transform_ip), (gst_identity_set_property),
20092         (gst_identity_get_property):
20093         * gst/elements/gstidentity.h:
20094         Added the single-segment boolean property.
20095         If set to TRUE, it will output a single segment of data, starting from
20096         0, will eat up all incoming newsegment, and modify the timestamp of the
20097         buffers accordingly
20098
20099 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
20100
20101         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
20102           Don't ref NULL target pad (#322751). Improve docs.
20103
20104 2005-11-29  Michael Smith  <msmith@fluendo.com>
20105
20106         * gst/gstregistryxml.c: (load_plugin):
20107           Don't crash if we failed to load a feature from a plugin. 
20108
20109 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20110
20111         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20112         (GST_START_TEST):
20113           use more check API and less GLib API
20114
20115 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20116
20117         * Makefile.am:
20118           don't run checks if we don't have check
20119         * common/check.mak:
20120           remove the registry when running make torture
20121         * docs/gst/gstreamer-sections.txt:
20122           remove second multiply
20123         * gst/gstqueue.c: (gst_queue_loop):
20124           fix a compile warning when disabling debug
20125
20126 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20127
20128         * gst/gstinfo.h:
20129         Hey! Let's print the pad name if the pointer != NULL instead
20130         of when it == NULL :-)
20131
20132 2005-11-28  Wim Taymans  <wim@fluendo.com>
20133
20134         * check/gst/gstutils.c: (GST_START_TEST):
20135         Updated check, add some scaling accuracy checking code.
20136
20137         * gst/gstutils.c: (gst_util_div128_64),
20138         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20139         (gst_util_uint64_scale_int):
20140         Fix 6 times faster division code. Optimize for common 
20141         1/1 and less common X/1 cases.
20142
20143 2005-11-28  Wim Taymans  <wim@fluendo.com>
20144
20145         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20146         More checks.
20147
20148         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20149         (do_linear_regression), (gst_clock_add_observation):
20150         Cleanups.
20151         Release lock when the clock cannot be slaved.
20152         Catch the case where the regression returned an invalid denominator.
20153
20154         * gst/gstutils.c: (gst_util_div128_64_iterate),
20155         (gst_util_div128_64), (gst_util_uint64_scale_int64),
20156         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20157         Add protentially more performant non-iterative 128/64 divide function
20158         that unfortunatly does not work yet.
20159         Shortcut the trivial 0/X = 0 case.
20160         Remove the warnings on overflow.
20161
20162 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20163
20164         * gst/gstplugin.c: (gst_plugin_register_func):
20165           everything causing a plugin not to load should be at least a WARNING
20166
20167 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
20168
20169         * docs/random/ensonic/dparams.txt:
20170           some TODOs for the next dev cycle
20171         * libs/gst/controller/gstcontroller.c:
20172         (gst_controlled_property_set_interpolation_mode),
20173         (gst_controlled_property_new):
20174         * libs/gst/controller/gstcontroller.h:
20175           use base type to assign acccessor functions
20176
20177 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20178
20179         * check/Makefile.am:
20180         Oops, that should have been top_srcdir
20181
20182 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20183
20184         * check/Makefile.am:
20185         * check/elements/fdsrc.c: (GST_START_TEST):
20186         Use a cmdline define to specify the location of a file to use for
20187         testing, to avoid breaking distcheck.
20188
20189 2005-11-28  Andy Wingo  <wingo@pobox.com>
20190
20191         * gst/gstpad.c (fixate_value): Use array functions for arrays.
20192
20193 2005-11-28  Edward Hervey  <edward@fluendo.com>
20194
20195         * tools/gst-launch.c: (main):
20196         Clarify the output strings, makes it easier to translate.
20197         Fixes #322626
20198
20199 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20200
20201         * gst/Makefile.am:
20202           don't try and build net if we don't even have <sys/socket.h>
20203
20204 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
20205
20206         * check/Makefile.am:
20207         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20208         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20209           Add tests for fdsrc seekability
20210
20211         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20212         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20213         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20214         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20215         * gst/elements/gstfdsrc.h:
20216           fdsrc should not be a 'live' source.
20217           Implement seeking on seekable fd's.
20218
20219         * gst/gstquery.c: (gst_query_new_seeking),
20220         (gst_query_parse_seeking):
20221         * gst/gstquery.h:
20222           Implement SEEKING query functions: 
20223             *_new_seeking and *_parse_seeking
20224
20225 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
20226
20227         * gst/gstelement.c: (gst_element_dispose):
20228           don't loop forever
20229
20230         * gst/gstiterator.c:
20231         * gst/gststructure.c:
20232           doc fixes
20233
20234         * libs/gst/controller/gstcontroller.c:
20235         (gst_controlled_property_set_interpolation_mode):
20236         * libs/gst/controller/gstcontroller.h:
20237         * libs/gst/controller/gstinterpolation.c:
20238         (interpolate_none_get_enum_value_array):
20239           support controlling enums
20240
20241 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20242
20243         * gst/gstvalue.c:
20244           Improve documentation for gst_value_union().
20245
20246         * gst/gstvalue.h:
20247           Change return value for union, intersect and subtract functions
20248           from gint to gboolean.
20249
20250 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20251
20252         * gst/gstvalue.c: (gst_value_serialize_any_list),
20253         (gst_value_transform_any_list_string),
20254         (gst_value_deserialize_list), (gst_value_deserialize_array),
20255         (gst_value_set_int_range), (gst_value_deserialize_int_range),
20256         (gst_value_set_double_range), (gst_value_deserialize_double_range),
20257         (gst_value_set_fraction_range_full),
20258         (gst_value_deserialize_fraction_range),
20259         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20260         (gst_value_deserialize_boolean),
20261         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20262         (gst_value_serialize_float), (gst_value_deserialize_float),
20263         (gst_string_wrap), (gst_value_deserialize_string),
20264         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20265         (gst_value_union_int_range_int_range),
20266         (gst_value_intersect_int_range_int_range),
20267         (gst_value_intersect_double_range_double_range),
20268         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20269         (gst_value_subtract_int_range_int_range),
20270         (gst_value_subtract_double_double_range),
20271         (gst_value_subtract_double_range_double_range),
20272         (gst_value_deserialize_fraction):
20273         * gst/gstvalue.h:
20274           Use gint, gdouble and gchar in our API instead of int, double and
20275           char (and make usage in gstvalue.c more consistent).
20276
20277 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20278
20279         * check/Makefile.am:
20280         * libs/gst/controller/Makefile.am:
20281         * libs/gst/dataprotocol/Makefile.am:
20282           fix up Makefile.am and remove GST_ENABLE_NEW
20283
20284 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20285
20286         * configure.ac:
20287         * gst/Makefile.am:
20288         * gst/base/Makefile.am:
20289         * gst/check/Makefile.am:
20290         * gst/elements/Makefile.am:
20291         * gst/net/Makefile.am:
20292           update LDFLAGS use some more
20293
20294 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20295
20296         * common/m4/gst-doc.m4:
20297           Fixes #312589
20298
20299 2005-11-26  Edward Hervey  <edward@fluendo.com>
20300
20301         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20302         This shouldn't issue a g_warning since it returns NULL if it
20303         couldn't find the plugin, and all functions using this behave
20304         properly on a NULL return. Switching to a GST_WARNING.
20305
20306 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
20307
20308         * gst/gstbin.c: (gst_bin_handle_message_func):
20309         Don't leak clock messages.
20310
20311 2005-11-25  Wim Taymans  <wim@fluendo.com>
20312
20313         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20314         (gst_util_uint64_scale_int):
20315         Optimisations, remove unneeded vars.
20316
20317 2005-11-25  Wim Taymans  <wim@fluendo.com>
20318
20319         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20320         Added more checks for the high precision uint64 cases.
20321
20322         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20323         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20324         Implement high precision (guint64 * guint64) / guint64.
20325
20326 2005-11-24  Wim Taymans  <wim@fluendo.com>
20327
20328         * gst/base/gstbasesrc.c: (gst_base_src_query):
20329         Fix wrong percentage query.
20330
20331         * gst/gstutils.c: (gst_util_uint64_scale),
20332         (gst_util_uint64_scale_int):
20333         Add some more common cases that can be handled 
20334         efficiently to _scale.
20335
20336 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20337
20338         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20339         (gst_mini_object_suite):
20340           don't use check calls from threads; check probably isn't
20341           threadsafe and using a lock to make it threadsafe would
20342           defeat the purpose of this check
20343         * gst/check/gstcheck.c:
20344         * gst/check/gstcheck.h:
20345           use GST_DEBUG some more
20346
20347 2005-11-24  Wim Taymans  <wim@fluendo.com>
20348
20349         * gst/gstutils.c: (gst_util_uint64_scale),
20350         (gst_util_uint64_scale_int):
20351         Chain trivial case to _scale_int.
20352
20353 2005-11-24  Wim Taymans  <wim@fluendo.com>
20354
20355         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20356         Added test for scaling.
20357
20358         * gst/gstclock.h:
20359         Small doc fix.
20360
20361         * gst/gstutils.c: (gst_util_uint64_scale_int):
20362         Implemented high precision scaling code.
20363
20364 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
20365
20366         * gst/gstinfo.h:
20367           do not crash on pad==NULL
20368
20369 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20370
20371         Patch by: Stefan Kost
20372
20373         * common/gtk-doc.mak:
20374         * docs/gst/Makefile.am:
20375         * docs/libs/Makefile.am:
20376           Fix distcheck issues for the libraries docs build
20377           Closes #319599.
20378
20379 2005-11-24  Michael Smith <msmith@fluendo.com>
20380
20381         * docs/manual/basics-helloworld.xml:
20382           Fix bug #315027: memory leak in example code in docs.
20383
20384 2005-11-24  Michael Smith <msmith@fluendo.com>
20385
20386         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20387           Unlock the PREROLL_LOCK in a failure case.
20388
20389 2005-11-24  Wim Taymans  <wim@fluendo.com>
20390
20391         * docs/gst/gstreamer-sections.txt:
20392         * gst/base/gstadapter.h:
20393         * gst/base/gstbasesink.h:
20394         * gst/base/gstbasesrc.h:
20395         * gst/base/gstbasetransform.h:
20396         * gst/base/gstpushsrc.h:
20397         * gst/elements/gstfakesink.h:
20398         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20399         * gst/elements/gstfakesrc.h:
20400         * gst/elements/gstfilesink.h:
20401         * gst/elements/gstfilesrc.h:
20402         * gst/gst.c:
20403         * gst/gstbin.c:
20404         * gst/gstbuffer.c: (_gst_buffer_copy):
20405         * gst/gstbus.h:
20406         * gst/gstcaps.c:
20407         * gst/gstchildproxy.c:
20408         * gst/gstclock.c:
20409         * gst/gstelement.c:
20410         * gst/gstelementfactory.c:
20411         * gst/gstelementfactory.h:
20412         * gst/gstevent.c:
20413         * gst/gstghostpad.h:
20414         * gst/gstindex.h:
20415         * gst/gstinterface.h:
20416         * gst/gstminiobject.c:
20417         * gst/gstminiobject.h:
20418         * gst/gstpad.c:
20419         * gst/gstpad.h:
20420         * gst/gstpadtemplate.h:
20421         * gst/gstpipeline.h:
20422         * gst/gstpluginfeature.h:
20423         * gst/gstquery.h:
20424         * gst/gstqueue.h:
20425         * gst/gsttaglist.c:
20426         * gst/gsttaglist.h:
20427         * gst/gsttagsetter.c:
20428         * gst/gsttagsetter.h:
20429         * gst/gsttrace.c:
20430         * gst/gsttrace.h:
20431         * gst/gsttypefind.h:
20432         * gst/gsturi.h:
20433         * gst/gstvalue.c:
20434         * gst/net/gstnetclientclock.c:
20435         * gst/net/gstnetclientclock.h:
20436         * gst/net/gstnettimepacket.c:
20437         * gst/net/gstnettimeprovider.c:
20438         * gst/net/gstnettimeprovider.h:
20439         Doc fixes.
20440
20441 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20442
20443         * configure.ac: back to HEAD
20444
20445 === release 0.9.6 ===
20446
20447 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20448
20449         * configure.ac:
20450           releasing 0.9.6, "Always On Time"
20451
20452 2005-11-23  Wim Taymans  <wim@fluendo.com>
20453
20454         * docs/gst/gstreamer-sections.txt:
20455         * gst/glib-compat.c:
20456         * gst/gsttagsetter.c:
20457         * gst/gstvalue.c:
20458         * gst/net/gstnetclientclock.c:
20459         * gst/net/gstnettimepacket.h:
20460         Doc updates.
20461
20462 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20463
20464         * docs/faq/using.xml:
20465         * docs/libs/tmpl/gstcontrol.sgml:
20466         * docs/manual/advanced-dparams.xml:
20467         * docs/manual/appendix-checklist.xml:
20468         * docs/manual/basics-elements.xml:
20469         * docs/pwg/other-source.xml:
20470         * docs/random/moving-plugins:
20471         * gst/gstpad.c:
20472         * tools/gst-launch.1.in:
20473           remove mentions of sinesrc
20474
20475 2005-11-23  Michael Smith <msmith@fluendo.com>
20476
20477         * docs/gst/gstreamer-sections.txt:
20478           Update for new API and API changes.
20479         * gst/gstobject.h:
20480           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20481         * gst/gstvalue.c:
20482           Documentation typo fix.
20483         * gst/net/gstnettimepacket.c:
20484           Documentation fixes for arguments.
20485
20486 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20487
20488         * gst/gststructure.c: (gst_structure_get_fraction),
20489         (gst_structure_parse_value),
20490         (gst_structure_fixate_field_nearest_fraction):
20491         * gst/gststructure.h:
20492         * gst/gstutils.c: (gst_util_uint64_scale_int):
20493         * gst/gstutils.h:
20494         * scripts/update-funcnames:
20495         API Changes. 
20496         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20497         Make gst_structure_fixate_field_nearest_fraction take a numerator
20498         and denominator argument instead of a GValue
20499         add gst_structure_get_fraction helper function.
20500
20501 2005-11-23  Wim Taymans  <wim@fluendo.com>
20502
20503         * docs/design/part-TODO.txt:
20504         Update TODO.
20505
20506         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20507         * gst/net/gstnetclientclock.h:
20508         Use parent fields for timeout and window_size.
20509
20510 2005-11-23  Andy Wingo  <wingo@pobox.com>
20511
20512         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20513         rate_num/rate_denom change.
20514
20515         * gst/net/gstnetclientclock.c
20516         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20517         OBJECT_LOCK. Don't call add_observation with the lock.
20518
20519         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20520         fraction.
20521         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20522         rate fraction.
20523         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20524         deal with rate as a fraction whose numerator and denominator are
20525         GstClockTime values.
20526         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20527         master; the other fields are protected by the SLAVE_LOCK.
20528         (do_linear_regression): Note that this must be called with the
20529         SLAVE_LOCK.
20530         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20531         OBJECT_LOCK. Call set_calibration instead of touching the
20532         variables directly.
20533         (gst_clock_set_property, gst_clock_get_property): Protect
20534         master/slave parameters with the SLAVE_LOCK.
20535
20536         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20537         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20538         note that all of the instance variables that add_observation and
20539         the set_master functions use are protected by that lock and not
20540         the OBJECT_LOCK.
20541         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20542
20543         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20544         the caller to take the object lock.
20545
20546 2005-11-23  Wim Taymans  <wim@fluendo.com>
20547
20548         * gst/gsterror.c: (_gst_core_errors_init):
20549         * gst/gsterror.h:
20550         Add error for clock stuff.
20551
20552         * gst/gstpipeline.c: (gst_pipeline_change_state),
20553         (gst_pipeline_set_clock):
20554         Post clock error when clock cannot be used in a pipeline.
20555
20556 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20557
20558         * docs/gst/gstreamer-sections.txt:
20559           make two symbols from gstinfo private for the docs
20560         * gst/base/gstcollectpads.h:
20561         * gst/gstutils.c:
20562           fix doc typos, update docs
20563
20564 2005-11-22  Wim Taymans  <wim@fluendo.com>
20565
20566         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20567         (gst_base_sink_wait), (gst_base_sink_do_sync),
20568         (gst_base_sink_handle_event):
20569         * gst/base/gstbasesink.h:
20570         No need to store the clock, the parent element class already
20571         has it.
20572
20573         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20574         Updates for clock_set returning a gboolean
20575
20576         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20577         (gst_clock_id_wait_async), (gst_clock_class_init),
20578         (gst_clock_init), (gst_clock_finalize),
20579         (gst_clock_get_internal_time), (gst_clock_get_time),
20580         (gst_clock_slave_callback), (gst_clock_set_master),
20581         (gst_clock_get_master), (do_linear_regression),
20582         (gst_clock_add_observation), (gst_clock_set_property),
20583         (gst_clock_get_property):
20584         * gst/gstclock.h:
20585         Implement master/slave. When setting a clock as a slave, a
20586         periodic timeout is scheduled to sample master and slave times.
20587         Then the slave clock is recalibrated to match offset and rate
20588         of the master clock.
20589         Update logging a bit.
20590         Add flag so that a clock can state that is cannot be slaved to
20591         another clock.
20592
20593         * gst/gstelement.c: (gst_element_set_clock):
20594         * gst/gstelement.h:
20595         The set clock returns a gboolean for when an element cannot
20596         deal with the selected clock in the pipeline. 
20597
20598         * gst/gstpipeline.c: (gst_pipeline_change_state),
20599         (gst_pipeline_set_clock):
20600         * gst/gstpipeline.h:
20601         Handle the case where the selected clock cannot be set on
20602         the pipeline.
20603
20604         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20605         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20606         (gst_net_client_clock_set_property),
20607         (gst_net_client_clock_get_property),
20608         (gst_net_client_clock_observe_times):
20609         * gst/net/gstnetclientclock.h:
20610         Use regression code in GstClock parent, remove duplicated
20611         functionality.
20612
20613 2005-11-22  Michael Smith <msmith@fluendo.com>
20614
20615         * gst/gstutils.c: (gst_util_clock_time_scale):
20616         * gst/gstutils.h:
20617         * docs/gst/gstreamer-sections.txt:
20618           Rename method to have extra underscore.
20619
20620 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20621
20622         * gst/elements/Makefile.am:
20623         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20624         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20625         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20626         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20627         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20628         * gst/elements/gstfakesrc.h:
20629         * gst/gstqueue.c: (queue_leaky_get_type):
20630           correctly fix GEnumValues so that nick is the short lowercase
20631           dashed tag
20632         * tools/gst-inspect.c: (print_element_properties_info):
20633           also show the nick, since it's useful to use from parse_launch
20634           syntax
20635           Fixes #322139
20636
20637 2005-11-22  Michael Smith <msmith@fluendo.com>
20638
20639         * gst/gstutils.c: (gst_util_clocktime_scale):
20640         * gst/gstutils.h:
20641         * docs/gst/gstreamer-sections.txt:
20642           Add util method for scaling a clocktime by a fraction. Useful 
20643           implementation is left as an exercise for the reader.
20644
20645 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20646
20647         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20648         If needed, allocate storage in the destination value during
20649         collection.
20650
20651 2005-11-22  Edward Hervey  <edward@fluendo.com>
20652
20653         * docs/gst/gstreamer-sections.txt:
20654         * gst/Makefile.am:
20655         * gst/gst.h:
20656         * gst/gsturitype.c:
20657         * gst/gsturitype.h:
20658         * gst/gstutils.c: (gst_util_set_object_arg):
20659         * tools/gst-compprep.c: (main):
20660         * tools/gst-inspect.c: (print_element_properties_info):
20661         Removed GstURI, closes bug #321061
20662
20663 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20664
20665         * check/gst/gststructure.c: (GST_START_TEST):
20666         * gst/gststructure.c: (gst_structure_parse_value):
20667           Oops, broke automatic string type parsing.
20668           Add a test to catch it in future.
20669
20670 2005-11-22  Andy Wingo  <wingo@pobox.com>
20671
20672         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20673         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20674         Actually rename the function implementations. Grr.
20675
20676 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20677
20678         * check/gst/capslist.h:
20679           Comment test cases
20680         * check/gst/gststructure.c: (GST_START_TEST),
20681         (gst_structure_suite):
20682           Test automatic value type detection in gst_structure_from_string.
20683         * gst/gststructure.c: (gst_structure_parse_value):
20684           Add fraction as a type we try and guess automatically in
20685           caps/structure strings.
20686
20687 2005-11-22  Andy Wingo  <wingo@pobox.com>
20688
20689         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20690
20691         * gst/gsttagsetter.h:
20692         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20693         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20694         (gst_tag_setter_add_tag_valist)
20695         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20696         _add_values, _add_valist, and _add_valist_values. Since this is an
20697         interface the function suffixes should be more explicit so
20698         language binding don't end up with element.add_valist ->
20699         gst_tag_setter_add_valist, for example. Fixes #322069.
20700
20701 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20702
20703         * check/gst/gstcaps.c: (GST_START_TEST):
20704           Extend caps string tests to check that a caps to string
20705           conversion is reversible and produces the same caps.
20706
20707         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20708           Output "fraction" as the generic type fraction range, so caps
20709           serialisation and deserialisation works.
20710         * check/gst/capslist.h:
20711         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20712           Support 'MIN' and 'MAX' for deserialising fractions.
20713
20714 2005-11-22  Andy Wingo  <wingo@pobox.com>
20715
20716         * gst/gstevent.h (gst_event_new_new_segment)
20717         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20718         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20719         Renamed from *_newsegment, *_buffersize, *_notarget.
20720
20721         * scripts/update-funcnames: New script, performs the changes
20722         listed above.
20723
20724 2005-11-22  Wim Taymans  <wim@fluendo.com>
20725
20726         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20727         Make sure the GstFlowReturn is returned.
20728
20729         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20730         (gst_bus_add_signal_watch):
20731         * gst/gstbus.h:
20732         add gst_bus_add_signal_watch_full.
20733
20734         * gst/gstplugin.c: (gst_plugin_load_file):
20735         Small style cleanup.
20736
20737 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20738
20739         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20740           Block the fakesrc srcpad when we send an event, to avoid
20741           contention on the stream_lock causing random test failures.
20742
20743 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20744
20745         * check/gst/gstvalue.c: (GST_START_TEST):
20746         * gst/gstvalue.c: (gst_value_fraction_subtract):
20747           Fix subtraction.
20748
20749 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20750
20751         * gst/gst.h:
20752           include "gstchildproxy.h"
20753         * gst/gstchildproxy.h:
20754         * libs/gst/controller/gstcontroller.h:
20755           use G_GNUC_NULL_TERMINATED
20756
20757 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20758
20759         * check/gst/capslist.h:
20760         * check/gst/gstcaps.c: (GST_START_TEST):
20761         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20762         * gst/gststructure.c: (gst_structure_parse_range),
20763         (gst_structure_fixate_field_nearest_fraction):
20764         * gst/gststructure.h:
20765         * gst/gstvalue.c: (gst_value_init_fraction_range),
20766         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20767         (gst_value_collect_fraction_range),
20768         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20769         (gst_value_set_fraction_range_full),
20770         (gst_value_get_fraction_range_min),
20771         (gst_value_get_fraction_range_max),
20772         (gst_value_serialize_fraction_range),
20773         (gst_value_transform_fraction_range_string),
20774         (gst_value_compare_fraction_range),
20775         (gst_value_deserialize_fraction_range),
20776         (gst_value_intersect_fraction_fraction_range),
20777         (gst_value_intersect_fraction_range_fraction_range),
20778         (gst_value_subtract_fraction_fraction_range),
20779         (gst_value_subtract_fraction_range_fraction),
20780         (gst_value_subtract_fraction_range_fraction_range),
20781         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20782         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20783         (gst_value_transform_string_fraction), (_gst_value_initialize):
20784         * gst/gstvalue.h:
20785           Implement fraction ranges and extend GstFraction to support
20786           arithmetic subtraction, as well as deserialization from integer
20787           strings such as "100"
20788           Add a testsuite as for int and double range set operations
20789
20790 2005-11-21  Andy Wingo  <wingo@pobox.com>
20791
20792         * gst/gsttaglist.h: 
20793         * gst/gstcaps.h: 
20794         * gst/gststructure.h: Add glib-compat.h.
20795
20796 2005-11-21  Wim Taymans  <wim@fluendo.com>
20797
20798         * gst/gstbin.c: (gst_bin_change_state_func):
20799         Fix for #321595
20800
20801 2005-11-21  Wim Taymans  <wim@fluendo.com>
20802
20803         * gst/gstsegment.h:
20804         And add a nice define too.
20805
20806 2005-11-21  Wim Taymans  <wim@fluendo.com>
20807
20808         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20809         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20810         (gst_segment_set_duration), (gst_segment_set_last_stop),
20811         (gst_segment_set_seek), (gst_segment_set_newsegment),
20812         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20813         (gst_segment_clip):
20814         * gst/gstsegment.h:
20815         Make binding friendly.
20816
20817 2005-11-21  Andy Wingo  <wingo@pobox.com>
20818
20819         * gst/gsttagsetter.h: 
20820         * gst/gsttaglist.h: 
20821         * gst/gststructure.h: 
20822         * gst/gstcaps.h: 
20823         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20824         #319940.
20825
20826         * gst/gsterror.c (_gst_core_errors_init):
20827         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20828         category.
20829
20830         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20831         (noinst_HEADERS): noinst the -private.
20832
20833 2005-11-21  Michael Smith <msmith@fluendo.com>
20834
20835         * gst/gstplugin.h:
20836         * gst/gstregistry.h:
20837           Remove unimplemented declarations for which we can see no sensible
20838           use.
20839
20840 2005-11-21  Andy Wingo  <wingo@pobox.com>
20841
20842         * gst/gst.h: Include glib-compat.h.
20843
20844         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20845
20846         * gst/glib-compat.c: Include the public and the private header.
20847
20848         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20849
20850         * gst/gstvalue.c: 
20851         * gst/gstpad.c: 
20852         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20853
20854         * check/gst/gstevent.c (create_custom_events): Check that
20855         FLUSH_STOP is serialized.
20856
20857         * check/elements/identity.c (event_func): 
20858         * check/elements/fakesrc.c (event_func): No stream lock, the core
20859         takes it.
20860
20861         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20862         stream lock taking, yay.
20863
20864         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20865         ensure that core takes the stream lock.
20866
20867         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20868         lock name change.
20869
20870         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20871         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20872         it already. For the flush start we do take it though so we get the
20873         right preroll state change messages.
20874
20875         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20876         the stream lock here, the core does it for us.
20877
20878         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20879         GST_STREAM_GET_LOCK.
20880         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20881         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20882         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20883         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20884         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20885         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20886
20887         * gst/gstpad.c: Update for stream lock name change.
20888
20889         * gst/base/gstbasesink.c: Update for preroll lock name change.
20890
20891 2005-11-21  Wim Taymans  <wim@fluendo.com>
20892
20893         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20894         (gst_clock_get_master):
20895         * gst/gstclock.h:
20896         * gst/gstsystemclock.c: (gst_system_clock_init):
20897         Convert Clock flags to object flags.
20898         Added methods to manage master/slave clocks.
20899
20900 2005-11-21  Wim Taymans  <wim@fluendo.com>
20901
20902         * check/gst/gstsegment.c: (GST_START_TEST):
20903         * docs/design/part-TODO.txt:
20904         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20905         (gst_base_sink_event), (gst_base_sink_do_sync),
20906         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20907         (gst_base_sink_query), (gst_base_sink_change_state):
20908         * gst/base/gstbasesink.h:
20909         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20910         (gst_base_src_default_newsegment),
20911         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20912         (gst_base_src_get_range), (gst_base_src_loop),
20913         (gst_base_src_change_state):
20914         * gst/base/gstbasesrc.h:
20915         * gst/base/gstbasetransform.c:
20916         (gst_base_transform_prepare_output_buf),
20917         (gst_base_transform_event), (gst_base_transform_change_state):
20918         * gst/base/gstbasetransform.h:
20919         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20920         (gst_collect_pads_event):
20921         * gst/base/gstcollectpads.h:
20922         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20923         (gst_fake_src_create):
20924         * gst/elements/gstfakesrc.h:
20925         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20926         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20927         (gst_segment_set_last_stop), (gst_segment_set_seek),
20928         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20929         (gst_segment_to_running_time), (gst_segment_clip):
20930         * gst/gstsegment.h:
20931         More segment updates, replace code in plugins with segment
20932         helper functions.
20933
20934 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20935
20936         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20937         Don't ignore sscanf results
20938
20939 2005-11-21  Andy Wingo  <wingo@pobox.com>
20940
20941         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20942
20943         * *.h:
20944         * *.c: Ran scripts/update-macros. Oh yes.
20945
20946         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20947         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20948         GST_GET_LOCK, etc.
20949
20950         * scripts/update-macros: New script. Run it on your files to
20951         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20952         well.
20953
20954 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20955
20956         * docs/gst/Makefile.am:
20957         * docs/gst/gstreamer-docs.sgml:
20958         * docs/gst/gstreamer-sections.txt:
20959         * docs/gst/gstreamer.types:
20960         * gst/gstinfo.h:
20961           more docs fixes, add new api to the docs
20962
20963 2005-11-21  Andy Wingo  <wingo@pobox.com>
20964
20965         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20966         state_broadcast call.
20967
20968         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20969
20970 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20971
20972         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20973         function calls for arrays.
20974
20975 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20976
20977         * docs/random/ensonic/media-device-daemon.txt:
20978           wild idea, can this be done?
20979         * docs/gst/gstreamer-sections.txt:
20980         * gst/gsterror.h:
20981         * gst/gstfilter.c:
20982         * gst/gstfilter.h:
20983         * gst/gstplugin.h:
20984         * gst/gstpluginfeature.c:
20985         * gst/gsttrace.c:
20986         * gst/gstvalue.c:
20987         * gst/gstvalue.h:
20988           doc fixes and additions
20989
20990 2005-11-21  Andy Wingo  <wingo@pobox.com>
20991
20992         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20993         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20994         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20995         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20996         private to the basesrc implementation.
20997
20998         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20999         behalf of event function if necessary. It should no longer be
21000         necessary to take the stream lock in pad's event functions. Fixes
21001         #320299.
21002
21003 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
21004         * docs/gst/gstreamer-sections.txt:
21005         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
21006         (gst_structure_fixate_field_nearest_double),
21007         (gst_structure_fixate_field_boolean):
21008         * gst/gststructure.h:
21009         * win32/common/libgstreamer.def:
21010         * win32/gstreamer.def:
21011
21012         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
21013         (#322027)
21014
21015 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
21016
21017         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
21018         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
21019         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
21020         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
21021         (gst_fdsrc_uri_handler_init):
21022         * gst/elements/gstfdsrc.h:
21023           Port fd:// URI handler from 0.8 to fdsrc
21024
21025 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21026
21027         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
21028         (gst_value_serialize_fourcc):
21029         * gst/gstvalue.h:
21030           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
21031           consistent with our other format defines (#320324).
21032
21033 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21034
21035         * gst/gstvalue.c: (gst_value_is_fixed):
21036           Revert previous commit. Value lists are by definition
21037           not fixed, as they are a list of possible values.
21038
21039 2005-11-21  Andy Wingo  <wingo@pobox.com>
21040
21041         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
21042         during the stable series if we need it. Fixes #319178.
21043
21044         * gst/gstevent.c (gst_event_new_filler): Removed.
21045
21046         * check/gst/gstevent.c: Update comment about filler events.
21047
21048 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21049
21050         * gst/gstvalue.c: (gst_value_is_fixed):
21051           Should handle both value arrays and value lists.
21052
21053 2005-11-21  Andy Wingo  <wingo@pobox.com>
21054
21055         patch by: Alessandro Dessina <alessandro nnva org>
21056
21057         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
21058         functions to access arrays. Fixes #321962.
21059
21060 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21061
21062         * docs/gst/gstreamer.types:
21063           gst_collectpads_get_type => gst_collect_pads_get_type.
21064           
21065         * gst/base/gstbasetransform.c:
21066           Remove unused SIGNAL_HANDOFF enum.
21067
21068 2005-11-21  Andy Wingo  <wingo@pobox.com>
21069
21070         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
21071         the event type (upstream, downstream, serialized). Renamed
21072         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
21073         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
21074         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
21075
21076         * gst/gstevent.c: Update for new CUSTOM event names.
21077
21078         * check/gst/gstevent.c: Update check for new CUSTOM event names.
21079
21080         * gst/gstevent.h:
21081         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
21082         bug #319392.
21083
21084 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21085
21086         * docs/gst/gstreamer-sections.txt:
21087         * win32/common/libgstbase.def:
21088         * win32/libgstbase.def:
21089         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
21090         (gst_collect_pads_class_init), (gst_collect_pads_init),
21091         (gst_collect_pads_finalize), (gst_collect_pads_new),
21092         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
21093         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
21094         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
21095         (gst_collect_pads_start), (gst_collect_pads_stop),
21096         (gst_collect_pads_peek), (gst_collect_pads_pop),
21097         (gst_collect_pads_available), (gst_collect_pads_read),
21098         (gst_collect_pads_flush), (gst_collect_pads_event),
21099         (gst_collect_pads_chain):
21100         * gst/base/gstcollectpads.h:
21101           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
21102           unimplemented functions as unimplemented. Add padding to
21103           GstCollectData. (#320766, #320423)
21104
21105 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21106
21107         * gst/gstmessage.c:
21108           Improve docs for DURATION message (usage of duration parameter)
21109           (#320113)
21110
21111 2005-11-20  Wim Taymans  <wim@fluendo.com>
21112
21113         * check/Makefile.am:
21114         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
21115         (main):
21116         * gst/Makefile.am:
21117         * gst/gst.h:
21118         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
21119         (gst_segment_set_seek), (gst_segment_set_newsegment),
21120         (gst_segment_to_stream_time), (gst_segment_to_running_time),
21121         (gst_segment_clip):
21122         * gst/gstsegment.h:
21123         Added segment helper structure and methods. Not fully implemented
21124         yet.
21125         Added segment check.
21126
21127 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
21128
21129         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21130           Add a deserialisation test for fractions
21131         * examples/metadata/read-metadata.c: (message_loop),
21132         (make_pipeline), (main):
21133           Fix up metadata reading sample.
21134         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21135           Debug format fix
21136         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21137           Don't try and fixate empty caps
21138         * gst/gst_private.h:
21139           Wrap in G_BEGIN_DECLS/G_END_DECLS
21140         * gst/gstvalue.c: (gst_value_collect_fraction),
21141         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21142         (gst_value_transform_string_fraction),
21143         (gst_value_compare_fraction):
21144           Add some extra guards to ensure that we don't end up 
21145           with an invalid denominator of 0 in a gstfraction and
21146           that fractions always get reduced.
21147
21148 2005-11-20  Wim Taymans  <wim@fluendo.com>
21149
21150         * docs/gst/gstreamer-sections.txt:
21151         * gst/gstbuffer.h:
21152         * gst/gstelement.c:
21153         * gst/gstformat.c:
21154         * gst/gstformat.h:
21155         * gst/gstindex.h:
21156         * gst/gstquery.c:
21157         * gst/gstquery.h:
21158         * gst/gstvalue.c:
21159         Doc fixes.
21160
21161 2005-11-20  Wim Taymans  <wim@fluendo.com>
21162
21163         * docs/design/part-TODO.txt:
21164         * gst/gstcaps.h:
21165         Make a proper enum of the flag.
21166
21167 2005-11-19  Wim Taymans  <wim@fluendo.com>
21168
21169         * docs/design/part-TODO.txt:
21170         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21171         (gst_format_to_quark), (gst_format_register):
21172         * gst/gstformat.h:
21173         * gst/gstquery.c: (_gst_query_initialize),
21174         (gst_query_type_get_name), (gst_query_type_to_quark),
21175         (gst_query_type_register):
21176         * gst/gstquery.h:
21177         Add type to quark and type to string conversions.
21178
21179 2005-11-19  Andy Wingo  <wingo@pobox.com>
21180
21181         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21182         #320097.
21183
21184 2005-11-19  Wim Taymans  <wim@fluendo.com>
21185
21186         * docs/design/part-TODO.txt:
21187         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21188         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21189         (gst_bin_handle_message_func):
21190         * gst/gstbin.h:
21191         Make message handling overridable.
21192
21193 2005-11-19  Andy Wingo  <wingo@pobox.com>
21194
21195         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21196
21197         * gst/gstclock.h:
21198         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21199         be a GstClockTime.
21200         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21201         is a GstClockTime. Fixes #321710.
21202
21203         * gst/gstclock.h (GstClock): Remove offset property. Add
21204         internal_calibration and external_calibration. Fix padding. Pad
21205         also by GstClockTime so we don't run into problems.
21206
21207         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21208         (gst_clock_get_rate_offset): Remove.
21209         (gst_clock_set_time_adjust): Remove. Fixes #321712.
21210
21211         * gst/gstutils.h:
21212         * gst/gstutils.c (g_static_rec_cond_wait)
21213         (g_static_rec_cond_timed_wait): Removed, no longer needed.
21214
21215         * gst/gstbin.c: Remove terrible continue_state prototype.
21216
21217         * gst/gstelement.h (gst_element_continue_state): Make public.
21218
21219         * gst/gstelement.h:
21220         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21221         by continue_state. Fixes #319389.
21222
21223         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21224         Really fixes #168438. However I don't see anywhere where the
21225         filter function is called... stupid GStreamer...
21226         
21227         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21228         don't have a dispose function, so it won't get called when the
21229         object is unreffed, but oh well!
21230
21231         * gst/gstindex.c (gst_index_set_filter_full): New API function,
21232         allows a destroy function to be set so user_data can be freed.
21233         Fixes #168438.
21234         (gst_index_set_filter): Call gst_index_set_filter_full.
21235
21236         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21237
21238         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21239         string should produce an error, given the lack of a way to
21240         represent NULL strings. Fixes #165650.
21241         
21242         * gst/gstvalue.h: 
21243         * gst/gstvalue.c (gst_value_array_append_value) 
21244         (gst_value_array_prepend_value, gst_value_array_get_size) 
21245         (gst_value_array_get_value): New API, copied from
21246         gst_value_list_*, only operates on arrays.
21247         (gst_value_list_append_value, gst_value_list_prepend_value) 
21248         (gst_value_list_concat, gst_value_list_get_size) 
21249         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21250
21251         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21252         init_list, because it works on both.
21253         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21254         (gst_value_copy_list_or_array): Renamed from copy_list.
21255         (gst_value_free_list_or_array): Renamed from free_list.
21256         (gst_value_collect_list_or_array): Renamed from collect_list.
21257         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21258         (gst_value_list_or_array_peek_pointer): Renamed from
21259         list_peek_pointer.
21260         (_gst_value_array_value_table, _gst_value_list_value_table):
21261         Update value table functions.
21262         (gst_value_compare_list_or_array): Renamed from compare_list.
21263
21264         * gsttaglist.h: Whoops, foreach function returns void. Also fix
21265         some constness.
21266
21267         * gst/gsttaglist.c:
21268         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21269         GstTagList*. Fixes #143472.
21270
21271         * gst/gststructure.h: Clarify what the foreach/map functions can
21272         or can't do to their arguments.
21273
21274 2005-11-18  Wim Taymans  <wim@fluendo.com>
21275
21276         * gst/gstclock.c: (gst_clock_set_calibration),
21277         (gst_clock_get_calibration):
21278         Doc and API fixes.
21279         Calibration can be set with internal time equal to current
21280         internal time too.
21281
21282 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21283
21284         * gst/gsterror.c:
21285         * gst/gsterror.h:
21286           document
21287
21288 2005-11-18  Andy Wingo  <wingo@pobox.com>
21289
21290         * configure.ac: 
21291         * pkgconfig/gstreamer-net.pc.in:
21292         * pkgconfig/gstreamer-net-uninstalled.pc.in:
21293         * pkgconfig/Makefile.am: Add net pkgconfig files.
21294
21295 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
21296
21297         * gst/gstcaps.c:
21298         * gst/gstghostpad.c:
21299         * gst/gsttrace.c:
21300         * gst/gstvalue.c:
21301         * gst/gstvalue.h:
21302           docs fixes
21303
21304 2005-11-18  Andy Wingo  <wingo@pobox.com>
21305
21306         * gst/net/gstnetclientclock.c: Turn off debugging.
21307
21308         * check/net/gstnetclientclock.c (test_functioning): Assert that the
21309         times connverge somewhat. Can't make a real test.
21310
21311         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21312         integer arithmetic. Return the minimum of the domain, which can be
21313         set as "internal" for gst_clock_set_calibration.
21314         (gst_net_client_clock_observe_times): Call _set_calibration.
21315         (gst_net_client_clock_new): Call _set_calibration instead of
21316         rate_offset.
21317
21318         * check/net/gstnetclientclock.c (test_functioning): Use the right
21319         adjustment api.
21320
21321         * gst/gstclock.h:
21322         * gst/gstclock.c (gst_clock_get_calibration) 
21323         (gst_clock_set_calibration): New functions, obsolete the ones I
21324         added yesterday. Doh. Precision issues mean we have to extrapolate
21325         from a point in the more recent past than 1970.
21326         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21327         obsolete.
21328         (gst_clock_adjust_unlocked): Use the right calibration data.
21329
21330 2005-11-18  Edward Hervey  <edward@fluendo.com>
21331
21332         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
21333         Also reset the ->current_* values in READY->PAUSED
21334
21335 2005-11-18  Andy Wingo  <wingo@pobox.com>
21336
21337         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21338         Whoops, check the right fd. Also add some debugging.
21339         (gst_net_client_clock_observe_times): Adjust for int64 offset.
21340         (do_linear_regression): Add a crapload of debugging. Subtract off
21341         the minimum values from the input series to discard unneeded bits.
21342         Use only int arithmetic. There is still double arithmetic when
21343         calculating the intercept that needs fixing. Return boolean to
21344         indicate success; FALSE would mean the domain or range is too
21345         great. Still needs fixes.
21346
21347 2005-11-18  Wim Taymans  <wim@fluendo.com>
21348
21349         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21350         For the current position in stream time, we need to subtract
21351         accumulated time.
21352         
21353         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21354         Release lock before calling the callback function of async
21355         entries.
21356
21357 2005-11-18  Andy Wingo  <wingo@pobox.com>
21358
21359         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21360         Port goes all the way to MAXUINT16.
21361
21362         * gst/net/gstnettimeprovider.c: Make the port range the same as
21363         for the kernel: 0 assigns, otherwise ports are less than
21364         MAXUINT16.
21365
21366         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21367         port change.
21368
21369         * check/net/gstnetclientclock.c (test_functioning): Add the start
21370         of another test. 
21371
21372 2005-11-18  Wim Taymans  <wim@fluendo.com>
21373
21374         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21375         (gst_bin_remove_func), (bin_bus_handler):
21376         * gst/gstbin.h:
21377         Removing a clock provider from a bin, triggers a clock lost message
21378         so that a new clock will be selected.
21379         Adding a clock to a bin triggers a clock provider message.
21380         Make sure we reselect a clock when we received a clock lost message.
21381         Keep a reference to the element that provided the clock.
21382
21383 2005-11-18  Andy Wingo  <wingo@pobox.com>
21384
21385         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21386         the clock initially so it produces values around the base time.
21387         (gst_net_client_clock_class_init): Typo fix.
21388         (gst_net_client_clock_thread): Add note on when the socket gets
21389         closed.
21390
21391 2005-11-17  Wim Taymans  <wim@fluendo.com>
21392
21393         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21394         Free remote and local time arrays.
21395
21396 2005-11-17  Wim Taymans  <wim@fluendo.com>
21397
21398         * gst/net/gstnetclientclock.c: (do_linear_regression),
21399         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21400         Fix compilation, uninitialized vars and a forgotten continue.
21401
21402 2005-11-17  Andy Wingo  <wingo@pobox.com>
21403
21404         * check/Makefile.am (check_PROGRAMS): 
21405         * check/net/gstnetclientclock.c: Add a most minimal test for the
21406         net client clock. More to come later.
21407
21408         * gst/net/gstnet.h: 
21409         * gst/net/Makefile.am: Add netclientclock.
21410
21411         * gst/net/gstnetclientclock.h:
21412         * gst/net/gstnetclientclock.c: New files, implement an untested
21413         GstClock that takes its time from a network time provider.
21414         Implements the algorithm in network-clock.scm.
21415
21416         * tests/network-clock.scm (*window-size*): Rename from
21417         *queue-length*.
21418         * tests/network-clock.scm (network-time): 
21419         * tests/network-clock-utils.scm (q-push): Update callers.
21420
21421 2005-11-17  Wim Taymans  <wim@fluendo.com>
21422
21423         * gst/gstbin.c: (gst_bin_provide_clock_func),
21424         (gst_bin_sort_iterator_new):
21425         And unref the child too..
21426
21427 2005-11-17  Wim Taymans  <wim@fluendo.com>
21428
21429         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21430         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21431         Refactor the sort iterator so it can be used while holding the
21432         LOCK too.
21433         Make clock selection select a clock closest to the source.
21434
21435 2005-11-17  Michael Smith <msmith@fluendo.com>
21436
21437         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21438         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21439         * gst/gstclock.h:
21440           Anonymous structs are a gcc (and some other compilers) extension, so
21441           don't use them. Since this is only for ABI-compatibility, and our
21442           API/ABI freeze is over in a few days, this whole thing will only
21443           last a few days, so don't bother trying to think up a meaningful
21444           name for the struct.
21445
21446 2005-11-17  Andy Wingo  <wingo@pobox.com>
21447
21448         * gst/gstclock.h (GstClock): Add rate and offset properties,
21449         preserving ABI stability. Add rate/offset accessors. Will file bug
21450         for the freeze break.
21451
21452         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21453         and offset, trying to keep precision and avoiding
21454         underflow/overflow.
21455         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21456         functions. Make gst_clock_set_time_adjust obsolete.
21457         (gst_clock_set_time_adjust): Note that this function is obsolete.
21458         Will file bug soon.
21459
21460         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21461         greppable by using GST_PADDING-1+1.
21462
21463 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21464
21465         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21466
21467         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21468           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21469
21470         * gst/gstpadtemplate.h:
21471         * gst/gstpluginfeature.h:
21472           Don't use c++ style comments in headers (#321638).
21473
21474 2005-11-16  Andy Wingo  <wingo@pobox.com>
21475
21476         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21477         buffer.
21478
21479         * check/net/gstnettimeprovider.c: Check to see that the time
21480         provider actually provides times. Works, yo!
21481
21482 2005-11-16  Wim Taymans  <wim@fluendo.com>
21483
21484         * check/Makefile.am:
21485         Enable more tests.
21486
21487         * check/elements/fakesrc.c: (GST_START_TEST):
21488         Set element to NULL before disposing it.
21489
21490 2005-11-16  Andy Wingo  <wingo@pobox.com>
21491
21492         * gst/net/Makefile.am:
21493         * gst/net/gstnet.h:
21494         * gst/net/gstnettimeprovider.c: 
21495         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21496         provider, include it from gstnet.h, and add it to the build.
21497
21498         * gst/net/gstnettimepacket.h: 
21499         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21500         sending and receiving.
21501
21502 2005-11-16  Wim Taymans  <wim@fluendo.com>
21503
21504         * check/Makefile.am:
21505         Enable valgrind check.
21506
21507         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21508         (gst_fake_src_alloc_buffer):
21509         Fix memleak.
21510
21511 2005-11-16  Wim Taymans  <wim@fluendo.com>
21512
21513         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21514         Call parent finalize too.
21515
21516 2005-11-16  Wim Taymans  <wim@fluendo.com>
21517
21518         * check/Makefile.am:
21519         Enable valgrind check that should work fine now.
21520
21521         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21522         * gst/gstqueue.c: (gst_queue_init):
21523         Fix memleaks in pad allocation.
21524
21525 2005-11-16  Andy Wingo  <wingo@pobox.com>
21526
21527         * gst/net/Makefile.am:
21528         * gst/net/gstnet.h: New part of core to hold network elements and
21529         objects. Put in core because it exposes API that applications want
21530         to use. The library is named libgstnet-tempname right now because
21531         of the existing libgstnet in gst-plugins-base. Solution is
21532         probably to rename the one in plugins-base; will file a bug for
21533         the freeze break.
21534
21535         * gst/net/gstnettimeprovider.c: 
21536         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21537         get_time call over the network.
21538
21539         * configure.ac: 
21540         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21541
21542         * check/Makefile.am:
21543         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21544         get additions shortly.
21545
21546 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21547
21548         * gst/gstpad.c: (gst_pad_new_from_static_template):
21549         * gst/gstpad.h:
21550           add gst_pad_new_from_static_template functions
21551         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21552         (gst_check_setup_sink_pad):
21553         * gst/elements/gsttee.c: (gst_tee_init):
21554           and use them
21555
21556 2005-11-16  Wim Taymans  <wim@fluendo.com>
21557
21558         * gst/gstpad.c: (gst_pad_pause_task):
21559         Removed warning, it's not really an error either.
21560
21561 2005-11-16  Wim Taymans  <wim@fluendo.com>
21562
21563         * gst/base/gstbasetransform.c:
21564         (gst_base_transform_prepare_output_buf),
21565         (gst_base_transform_event):
21566         Check if the caps are NULL, this can happen if the element
21567         is shutting down and the pad caps are set to NULL.
21568
21569 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21570
21571         * gst/elements/gsttee.c: (gst_tee_init):
21572           fix pad template leak in tee
21573
21574 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21575
21576         * gst/glib-compat.c: (g_value_dup_gst_object):
21577         * gst/glib-compat.h:
21578         * gst/gstpad.c: (gst_pad_set_property):
21579           use gst_object_ref when setting the pad template; this will
21580           trigger the pad template leaks on GLib 2.6 and the slaves
21581
21582 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21583
21584         * gst/glib-compat.c: (gst_flags_get_first_value):
21585         * gst/glib-compat.h:
21586         * gst/gstregistryxml.c:
21587           remove functions copied from GLib 2.6
21588
21589 2005-11-16  Michael Smith <msmith@fluendo.com>
21590
21591         * gst/Makefile.am:
21592           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21593           do, but only breaks with newer valgrind versions. We're not a
21594           valgrind tool, we have no link-time dependencies on libcoregrind.
21595
21596 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21597
21598         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21599           some debug changes
21600         * gst/gstmessage.h:
21601           typo fixes
21602
21603 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21604
21605         * gst/base/gstbasesrc.c: (gst_base_src_init):
21606         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21607         * gst/gstqueue.c: (gst_queue_init):
21608         * gst/gstregistryxml.c: (load_feature):
21609           Revert all these unrefs, they don't even pass make check !
21610
21611 2005-11-15  Johan Dahlin  <johan@gnome.org>
21612
21613         * gst/base/gstbasesrc.c: (gst_base_src_init):
21614         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21615         * gst/gstqueue.c: (gst_queue_init): 
21616         Free pad templates, fixes a couple of leaks.
21617
21618 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21619
21620         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21621
21622         * gst/gstpad.c: (gst_pad_get_property):
21623           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21624           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21625           (#321452)
21626
21627 2005-11-15  Wim Taymans  <wim@fluendo.com>
21628
21629         * gst/gstevent.c:
21630         Small doc update.
21631
21632 2005-11-15  Andy Wingo  <wingo@pobox.com>
21633
21634         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21635
21636         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21637         using GST_CLOCK_TIME_NONE to disable base time management.
21638         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21639         time if it was NONE before.
21640         (gst_pipeline_change_state): Only munge the base time if
21641         stream_time != GST_CLOCK_TIME_NONE.
21642
21643         * check/gst/gstpipeline.c (test_base_time): Punt around the
21644         problem of the probe not being called, because that's not the
21645         issue I'm looking at. Add a check that setting stream_time to NONE
21646         disables base time management.
21647         
21648 2005-11-15  Wim Taymans  <wim@fluendo.com>
21649
21650         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21651         segment_stop == -1 at startup.
21652
21653         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21654         (gst_base_transform_change_state):
21655         Init segment values at start.
21656
21657 2005-11-15  Wim Taymans  <wim@fluendo.com>
21658
21659         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21660         0 segment values are 0 in any format.
21661
21662         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21663         * gst/base/gstbasetransform.h:
21664         Parse newsegment correctly in basetransform
21665
21666         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21667         Sync to clock using updated segment values.
21668
21669 2005-11-15  Andy Wingo  <wingo@pobox.com>
21670
21671         * check/gst/gstpipeline.c (test_base_time): Add check that the
21672         base time and stream time are reset correctly.
21673
21674 2005-11-15  Wim Taymans  <wim@fluendo.com>
21675
21676         * docs/design/part-TODO.txt:
21677         Some more TODO items.
21678
21679 2005-11-15  Andy Wingo  <wingo@pobox.com>
21680
21681         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21682         error if the user selected "no clock" as the clocking method.
21683
21684         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21685         timestamps with live capture.
21686
21687         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21688         is 0 but we are a live source, timestamp the buffers using the
21689         element's clock.
21690
21691 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21692
21693         * docs/gst/gstreamer-sections.txt:
21694         * gst/gsterror.c:
21695         * gst/gstghostpad.c:
21696         * gst/gstobject.h:
21697         * gst/gstxml.c:
21698           more section docs
21699
21700 2005-11-14  Wim Taymans  <wim@fluendo.com>
21701
21702         * common/gst.supp:
21703           add suppressions from Wim's Debian machine
21704
21705 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21706
21707         * common/gst.supp:
21708           add suppressions from Andy's AMD64 Ubuntu machine
21709
21710 2005-11-14  Andy Wingo  <wingo@pobox.com>
21711
21712         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21713         STATE_LOCK not necessary. Fixes #311489.
21714
21715         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21716         #305291.
21717
21718         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21719         this function is not implemented.
21720
21721 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21722
21723         * gst/base/gstbasetransform.c:
21724         (gst_base_transform_prepare_output_buf):
21725         Ref the source pad caps while we need them.
21726         Fixes (#321386)
21727
21728 2005-11-11  Wim Taymans  <wim@fluendo.com>
21729
21730         * docs/gst/gstreamer-sections.txt:
21731         Added some docs for GstCollectData.
21732
21733         * gst/base/gstadapter.c:
21734         Some small code example fix.
21735
21736         * gst/base/gstcollectpads.c:
21737         * gst/base/gstcollectpads.h:
21738         Document some more.
21739
21740 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21741
21742         * configure.ac: back to HEAD
21743
21744 === release 0.9.5 ===
21745
21746 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21747
21748         * configure.ac:
21749           releasing 0.9.5, "Bike Lunch Day"
21750
21751 2005-11-11  Wim Taymans  <wim@fluendo.com>
21752
21753         * gst/gstbuffer.c: (_gst_buffer_copy):
21754         Copy more flags.
21755
21756         * gst/gstcaps.c: (gst_caps_is_equal):
21757         Fix some docs.
21758         Make _is_equal fast in the trivial cases.
21759
21760         * gst/gstminiobject.c:
21761         * gst/gstminiobject.h:
21762         More docs. Spifify .h file.
21763
21764         * gst/gstutils.c:
21765         Small doc update.
21766
21767 2005-11-11  Wim Taymans  <wim@fluendo.com>
21768
21769         * gst/base/gstbasetransform.c:
21770         (gst_base_transform_prepare_output_buf),
21771         (gst_base_transform_handle_buffer):
21772         Small cleanups.
21773         If we're processing a buffer and need to allocate an output
21774         buffer, we cannot accept a format change. If we did get a 
21775         format change, we have to alloc a buffer ourselves of the 
21776         right size.
21777
21778 2005-11-11  Wim Taymans  <wim@fluendo.com>
21779
21780         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21781         While checking the flag for reentrancy in the gstcaps function
21782         is nice to detect recursive invocations, it also makes it 
21783         impossible to call getcaps from multiple threads, which must be
21784         possible. So, checking for recursive calls has to go.
21785
21786 2005-11-11  Michael Smith <msmith@fluendo.com>
21787
21788         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21789           Don't sync on buffers that fall partially outside our current
21790           segment. Prevents an assertion failure/abort playing some files.
21791
21792 2005-11-10  Andy Wingo  <wingo@pobox.com>
21793
21794         * check/gst/gstbin.c (test_message_state_changed_children): Style
21795         fix..
21796
21797         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21798         gst_bus_poll with the signal watch. Ensures that poll and a signal
21799         watch see the same messages.
21800
21801         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21802         a poll and a watch at the same time get the same messages.
21803
21804 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21805
21806         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21807         * gst/gstcaps.c: (gst_caps_intersect):
21808           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21809           and it's not needed.
21810
21811 2005-11-10  Wim Taymans  <wim@fluendo.com>
21812
21813         * docs/design/part-TODO.txt:
21814         Updated todo.
21815
21816 2005-11-10  Wim Taymans  <wim@fluendo.com>
21817
21818         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21819         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21820         (gst_base_src_do_sync), (gst_base_src_get_range):
21821         Implement clock sync in base class.
21822
21823 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21824
21825         patch by: Tim-Philipp Müller <tim at centricular dot net>
21826
21827         * gst/gststructure.c: (gst_structure_parse_field),
21828         (gst_structure_from_string):
21829           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21830           so that gst_parse_launch() can deal with spaces in filtered link
21831           caps (fixes #164479)
21832         * check/gst/capslist.h:
21833         * check/gst/gststructure.c: (GST_START_TEST):
21834           add unit tests for this change
21835
21836 2005-11-10  Wim Taymans  <wim@fluendo.com>
21837
21838         * docs/gst/gstreamer-sections.txt:
21839         * gst/gstelement.c:
21840         * gst/gstelement.h:
21841         Fix docs, move some STATE macros to private.
21842
21843 2005-11-10  Wim Taymans  <wim@fluendo.com>
21844
21845         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21846         Added check for bug #317341
21847
21848         * gst/gstbuffer.c:
21849         * gst/gstbuffer.h:
21850         Some more spiffifying.
21851
21852         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21853         Call peer linkfunction if we are a source pad. Totally fixes
21854         #317341
21855
21856         * gst/gstpad.c:
21857         Update docs, source pads should call the peer linkfunction
21858         so they can atomically perform the pad link.
21859
21860 2005-11-09  Wim Taymans  <wim@fluendo.com>
21861
21862         * gst/gstbuffer.c:
21863         * gst/gstbuffer.h:
21864         Uber-spiffy-spiffify some more.
21865
21866 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21867
21868         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21869         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21870         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21871         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21872         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21873         * gst/gstpad.c: (gst_pad_init):
21874           Use GST_DEBUG_FUNCPTR() more extensively.
21875
21876 2005-11-09  Wim Taymans  <wim@fluendo.com>
21877
21878         * gst/gstobject.c: (gst_object_class_init):
21879         * gst/gstobject.h:
21880         Documentation fixes.
21881
21882 2005-11-09  Edward Hervey  <edward@fluendo.com>
21883
21884         * gst/gsttypefindfactory.c:
21885         Fix docs.
21886         
21887 2005-11-09  Edward Hervey  <edward@fluendo.com>
21888
21889         * gst/base/gsttypefindhelper.c:
21890         * gst/gsttypefind.c:
21891         * gst/gsttypefind.h:
21892         Fix docs.
21893
21894 2005-11-09  Wim Taymans  <wim@fluendo.com>
21895
21896         * gst/gstiterator.c:
21897         Fix revision data.
21898
21899         * gst/gsttask.c:
21900         * gst/gsttask.h:
21901         Fix docs.
21902
21903 2005-11-09  Wim Taymans  <wim@fluendo.com>
21904
21905         * gst/gstevent.h:
21906         * gst/gsturi.h:
21907         Fix docs.
21908
21909 2005-11-09  Wim Taymans  <wim@fluendo.com>
21910
21911         * docs/gst/gstreamer-sections.txt:
21912         Moved the message async delivery private lock and cond
21913         to the private section.
21914
21915         * gst/gstmessage.c:
21916         * gst/gstmessage.h:
21917         Fixed docs.
21918
21919 2005-11-09  Edward Hervey  <edward@fluendo.com>
21920
21921         * docs/gst/gstreamer-sections.txt:
21922         * gst/gsturi.c:
21923         * gst/gsturi.h:
21924         Document GstURIHandler
21925
21926 2005-11-09  Wim Taymans  <wim@fluendo.com>
21927
21928         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21929         (gst_iterator_find_custom):
21930         * gst/gstiterator.h:
21931         Fix iterator docs.
21932
21933 2005-11-09  Wim Taymans  <wim@fluendo.com>
21934
21935         * gst/gstbin.h:
21936         Document another field.
21937
21938         * gst/gststructure.c:
21939         * gst/gststructure.h:
21940         Document.
21941
21942 2005-11-09  Wim Taymans  <wim@fluendo.com>
21943
21944         * gst/gstbin.h:
21945         Documented structs.
21946
21947 2005-11-09  Wim Taymans  <wim@fluendo.com>
21948
21949         * docs/gst/gstreamer-sections.txt:
21950         Added some new macros.
21951
21952         * gst/gstclock.c:
21953         * gst/gstclock.h:
21954         * gst/gstobject.h:
21955         Docs updates.
21956
21957 2005-11-09  Wim Taymans  <wim@fluendo.com>
21958
21959         * docs/design/part-TODO.txt:
21960         Some more items for the TODO
21961
21962         * gst/gstcaps.c:
21963         * gst/gstcaps.h:
21964         Document GstCaps.
21965
21966 2005-11-09  Andy Wingo  <wingo@pobox.com>
21967
21968         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21969         to work on something else now tho...
21970
21971         * gst/base/gstadapter.c: More adapter docs.
21972
21973         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21974         (gst_file_sink_stop): New functions, replace the state change
21975         handler.
21976         (gst_file_sink_class_init): Hook up the start and stop functions.
21977         (gst_file_sink_base_init): Don't set the state change handler any
21978         more. It was a bit ugly too, being set from here...
21979         (gst_file_sink_get_property, gst_file_sink_set_property):
21980         Cleanups...
21981         (gst_file_sink_set_location): More robust check that doesn't call
21982         GST_STATE. Ugggggg.
21983
21984 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21985
21986         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21987           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21988
21989 2005-11-08  Wim Taymans  <wim@fluendo.com>
21990
21991         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21992         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21993         (gst_base_sink_chain), (gst_base_sink_change_state):
21994         * gst/base/gstbasesink.h:
21995         * gst/base/gstbasesrc.h:
21996         * gst/gstelement.h:
21997         * gst/gstevent.h:
21998         Avoid excessive typechecking in macros.
21999
22000         * gst/gstminiobject.c: (gst_mini_object_get_type),
22001         (gst_mini_object_init), (gst_mini_object_new),
22002         (gst_mini_object_free):
22003         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22004         (gst_object_finalize):
22005         Remove cruft code, optimize alloc_trace.
22006
22007 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22008
22009         * docs/faq/gst-uninstalled:
22010           fix up PS1 for systems that try to reset it
22011
22012 2005-11-07  Wim Taymans  <wim@fluendo.com>
22013
22014         * gst/base/gstbasesrc.c: (gst_base_src_init),
22015         (gst_base_src_get_range):
22016         Set the segment_end to -1 initially. Fixed typefind.
22017
22018 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
22019
22020         * gst/base/gstadapter.c:
22021           Debug category should be 'adapter', not 'GstAdapter'.
22022           
22023         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
22024         (gst_collectpads_class_init), (gst_collectpads_init),
22025         (gst_collectpads_peek), (gst_collectpads_pop),
22026         (gst_collectpads_event), (gst_collectpads_chain):
22027           Add debug category and some debugging output. Use boilerplate
22028           macros. Remove some extraneous words from docs.
22029
22030 2005-11-05  Andy Wingo  <wingo@pobox.com>
22031
22032         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
22033         macro.
22034
22035 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
22036
22037         * docs/gst/gstreamer-sections.txt:
22038         * gst/gstcaps.h:
22039         * gst/gstinfo.c:
22040         * gst/gstminiobject.h:
22041         * gst/gstobject.h:
22042         * gst/gstutils.h:
22043           more docs added
22044
22045 2005-11-04  Wim Taymans  <wim@fluendo.com>
22046
22047         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22048         Small update to stop at the configured segment_end
22049         position.
22050
22051 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
22052
22053         * gst/gstregistry.c:
22054         * gst/gstregistry.h:
22055           added missing docs
22056
22057 2005-11-04  Edward Hervey  <edward@fluendo.com>
22058
22059         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22060         Check if we are doing a segment seek and have arrived at the
22061         end of that segment.
22062
22063 2005-11-04  Wim Taymans  <wim@fluendo.com>
22064
22065         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
22066         Don't leak a mutex unlock in case of an error.
22067
22068         * gst/gstbus.h:
22069         Doc fixes.
22070
22071 2005-11-04  Wim Taymans  <wim@fluendo.com>
22072
22073         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
22074         (gst_bus_post):
22075         Get the context to wake up only once.
22076
22077 2005-11-03  Wim Taymans  <wim@fluendo.com>
22078
22079         * check/states/sinks.c: (GST_START_TEST):
22080         Uncomment fixed check.
22081
22082         * docs/design/part-TODO.txt:
22083         Updated TODO.
22084
22085         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22086         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22087         (gst_base_sink_get_position):
22088         If we are going to PLAYING, post the right pending state
22089         when we post the intermediate paused message.
22090
22091         * gst/gstelement.c: (gst_element_continue_state),
22092         (gst_element_set_state_func), (gst_element_change_state):
22093         Don't post state changes that were between the same state
22094         and were not ASYNC.
22095
22096 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
22097
22098         * docs/gst/gstreamer-sections.txt:
22099         * gst/gstcaps.h:
22100         * gst/gstinfo.c:
22101         * gst/gstminiobject.h:
22102         * gst/gstobject.h:
22103         * gst/gstutils.h:
22104           more docs and doc style fixes
22105
22106 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
22107
22108         * docs/gst/gstreamer-sections.txt:
22109         * gst/gstelement.c:
22110         * gst/gstminiobject.c:
22111         doc fixes
22112
22113 2005-11-03  Andy Wingo  <wingo@pobox.com>
22114
22115         * check/states/sinks.c (test_livesrc_sink): Add checks that the
22116         state-changed messages actually have the right order and the right
22117         values.
22118
22119 2005-11-03  Wim Taymans  <wim@fluendo.com>
22120
22121         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22122         Added some more checks. Specifically the case where NO_PREROLL
22123         elements are in the pipeline.
22124
22125         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22126         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22127         (gst_base_sink_get_position):
22128         Post READY->PAUSED state change messages too.
22129         Fix bug where VOID was posted as pending state...
22130
22131         * gst/gstbin.c: (gst_bin_recalc_state):
22132         use _element_continue_state() to continue the state change.
22133
22134         * gst/gstelement.c: (gst_element_continue_state),
22135         (gst_element_commit_state), (gst_element_set_state_func),
22136         (gst_element_change_state), (gst_element_change_state_func):
22137         Lots of state change cleanups, assign the STATE_RETURN in
22138         a new continue_state() function that also propagates the
22139         last return value from a state change to the app.
22140         Update some debug statements with proper category.
22141
22142 2005-11-03  Wim Taymans  <wim@fluendo.com>
22143
22144         * docs/design/part-events.txt:
22145         * docs/design/part-gstpipeline.txt:
22146         * docs/design/part-messages.txt:
22147         * docs/design/part-overview.txt:
22148         * docs/design/part-seeking.txt:
22149         * docs/design/part-states.txt:
22150         * docs/design/part-trickmodes.txt:
22151         * docs/manual/advanced-position.xml:
22152         Small docs updates.
22153
22154         * gst/gstobject.h:
22155         People think !! is ugly, this looks better.
22156
22157         * gst/gstpad.c: (gst_pad_set_blocked_async):
22158         Remove !! since it's fixed elsewhere now.
22159
22160 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22161
22162         * gst/gstminiobject.h:
22163         * gst/gstobject.h:
22164           Add !! to _FLAG_IS_SET macros to make the result boolean.
22165
22166 2005-11-03  Edward Hervey  <edward@fluendo.com>
22167
22168         * gst/gstpad.c: (gst_pad_set_blocked_async):
22169         comparing a flag and a gboolean rarely returns coherent results...
22170         Added two characters (!!) to make that work correctly.
22171         
22172 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22173
22174         * gst/gstbus.c: (gst_bus_class_init):
22175           Fix some typos.
22176           
22177         * gst/gstqueue.c: (gst_queue_loop):
22178           Don't assume a miniobject that isn't a buffer is an
22179           event (it could be that there is a refcounting
22180           problem somewhere and the pointer is stale and
22181           refers to an already destroyed miniobject).
22182
22183 2005-11-03  Julien MOUTTE  <julien@moutte.net>
22184
22185         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22186
22187 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22188
22189         * docs/manual/advanced-position.xml:
22190           Update seek example and explanations to current 0.9 API.
22191
22192         * gst/elements/gsttypefindelement.c:
22193         (gst_type_find_element_activate):
22194           Remove FIXME comment now that the found caps
22195           are unreffed.
22196
22197 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22198
22199         * gst/gstregistryxml.c: (load_feature):
22200           Add another GST_STR_NULL instance
22201
22202 2005-11-02  Edward Hervey  <edward@fluendo.com>
22203
22204         * gst/gstpad.c: (handle_pad_block):
22205         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22206         
22207 2005-11-02  Wim Taymans  <wim@fluendo.com>
22208
22209         * gst/gstbin.c:
22210         Fix typo in docs.
22211
22212         * gst/gstelement.c: (gst_element_commit_state):
22213         Remove unused value.
22214
22215         * gst/gstiterator.c:
22216         Mention that the returned element is reffed in the docs.
22217
22218 2005-11-02  Wim Taymans  <wim@fluendo.com>
22219
22220         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22221         (gst_pad_push), (gst_pad_push_event):
22222         Unlock blocked pads when they are flushed.
22223
22224 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22225
22226         * docs/README:
22227         * docs/gst/gstreamer-sections.txt:
22228         * gst/gstbin.c:
22229           doc updates
22230         * gst/gstregistry.c: (gst_registry_scan_path_level):
22231           fix for a nasty little missed situation where an installed plug-in
22232           which was in the cache did not get overridden by an uninstalled one
22233           which was earlier in the plugin path because the newly created plugin
22234           for the uninstalled one (not in the registry) didn't get its
22235           ->registered set to TRUE
22236
22237 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22238
22239         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22240         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22241         (gst_collectpads_is_active), (gst_collectpads_collect),
22242         (gst_collectpads_collect_range), (gst_collectpads_start),
22243         (gst_collectpads_stop), (gst_collectpads_peek),
22244         (gst_collectpads_pop), (gst_collectpads_available),
22245         (gst_collectpads_read), (gst_collectpads_flush):
22246           Guard public API with assertions.
22247         
22248         * gst/gstpad.c:
22249           Fix docs for gst_pad_set_link_function().
22250
22251 2005-11-02  Johan Dahlin  <johan@gnome.org>
22252
22253         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
22254         Unref found_caps after we used it.
22255
22256 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22257
22258         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22259           Don't try to ref NULL.
22260
22261 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22262
22263         * win32/common/config.h.in:
22264           provide a GST_FUNCTION that just gives a string for now
22265
22266 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22267
22268         * win32/common/gstenumtypes.c: (register_gst_object_flags),
22269         (gst_object_flags_get_type), (register_gst_bin_flags),
22270         (gst_bin_flags_get_type), (register_gst_buffer_flag),
22271         (gst_buffer_flag_get_type), (register_gst_bus_flags),
22272         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22273         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22274         (gst_clock_return_get_type), (register_gst_clock_entry_type),
22275         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22276         (gst_clock_flags_get_type), (register_gst_state),
22277         (gst_state_get_type), (register_gst_state_change_return),
22278         (gst_state_change_return_get_type), (register_gst_state_change),
22279         (gst_state_change_get_type), (register_gst_element_flags),
22280         (gst_element_flags_get_type), (register_gst_core_error),
22281         (gst_core_error_get_type), (register_gst_library_error),
22282         (gst_library_error_get_type), (register_gst_resource_error),
22283         (gst_resource_error_get_type), (register_gst_stream_error),
22284         (gst_stream_error_get_type), (register_gst_event_type),
22285         (gst_event_type_get_type), (register_gst_seek_type),
22286         (gst_seek_type_get_type), (register_gst_seek_flags),
22287         (gst_seek_flags_get_type), (register_gst_format),
22288         (gst_format_get_type), (register_gst_index_certainty),
22289         (gst_index_certainty_get_type), (register_gst_index_entry_type),
22290         (gst_index_entry_type_get_type),
22291         (register_gst_index_lookup_method),
22292         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22293         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22294         (gst_index_resolver_method_get_type), (register_gst_index_flags),
22295         (gst_index_flags_get_type), (register_gst_debug_level),
22296         (gst_debug_level_get_type), (register_gst_debug_color_flags),
22297         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22298         (gst_iterator_result_get_type), (register_gst_iterator_item),
22299         (gst_iterator_item_get_type), (register_gst_message_type),
22300         (gst_message_type_get_type), (register_gst_mini_object_flags),
22301         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22302         (gst_pad_link_return_get_type), (register_gst_flow_return),
22303         (gst_flow_return_get_type), (register_gst_activate_mode),
22304         (gst_activate_mode_get_type), (register_gst_pad_direction),
22305         (gst_pad_direction_get_type), (register_gst_pad_flags),
22306         (gst_pad_flags_get_type), (register_gst_pad_presence),
22307         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22308         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22309         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22310         (gst_plugin_error_get_type), (register_gst_plugin_flags),
22311         (gst_plugin_flags_get_type), (register_gst_rank),
22312         (gst_rank_get_type), (register_gst_query_type),
22313         (gst_query_type_get_type), (register_gst_tag_merge_mode),
22314         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22315         (gst_tag_flag_get_type), (register_gst_task_state),
22316         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22317         (gst_alloc_trace_flags_get_type),
22318         (register_gst_type_find_probability),
22319         (gst_type_find_probability_get_type), (register_gst_uri_type),
22320         (gst_uri_type_get_type), (register_gst_parse_error),
22321         (gst_parse_error_get_type):
22322         * win32/common/gstversion.h:
22323           update win32 copies
22324
22325 2005-11-01  Luca Ognibene  <luogni@tin.it>
22326
22327         * gst/gst.c:
22328           fix docs. popt is dead, long live GOption.
22329
22330 2005-10-31  Wim Taymans  <wim@fluendo.com>
22331
22332         * gst/gstbuffer.h:
22333         Small doc fix.
22334
22335 2005-10-31  Andy Wingo  <wingo@pobox.com>
22336
22337         * Boo!
22338
22339         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22340
22341         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22342         need to serialize property notifications on GLib 2.8. GLib 2.6 has
22343         the possibility of deadlocks here if code calling notify() or
22344         set() has a lock that can be taken in another notify handler (ABBA
22345         with class lock and e.g. python GIL state lock).
22346
22347 2005-10-28  Julien MOUTTE  <julien@moutte.net>
22348
22349         * gst/gstbus.c: Doc updates.
22350
22351 2005-10-28  Wim Taymans  <wim@fluendo.com>
22352
22353         * docs/design/part-TODO.txt:
22354         * gst/gstiterator.c:
22355         * gst/gstsystemclock.c:
22356         * gst/gstsystemclock.h:
22357         Doc updates.
22358
22359 2005-10-28  Edward Hervey  <edward@fluendo.com>
22360
22361         * docs/gst/gstreamer-docs.sgml:
22362         * docs/gst/gstreamer-sections.txt:
22363         the GstURIType documentation page is private, it only defines GstURIType
22364         which should be defined in the GstURIHandler page
22365         
22366 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22367
22368         * gst/gstbin.c: (gst_bin_class_init):
22369         * gst/gstbin.h:
22370         * gst/gstutils.c:
22371         Documentation updates.
22372
22373 2005-10-28  Wim Taymans  <wim@fluendo.com>
22374
22375         * docs/gst/gstreamer-sections.txt:
22376         * gst/gstclock.c:
22377         * gst/gstclock.h:
22378         Documented the clocks.
22379
22380 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22381
22382         * docs/gst/gstreamer-sections.txt:
22383           move some macros to private sections
22384         * gst/gstminiobject.c:
22385         * gst/gstminiobject.h:
22386           add descriptions provided by ds and some more
22387         * gst/gstpad.h:
22388           mark macro as to be removed
22389
22390 2005-10-28  Wim Taymans  <wim@fluendo.com>
22391
22392         * docs/design/part-TODO.txt:
22393         Add an item to TODO.
22394
22395         * gst/gstiterator.c: (gst_iterator_fold),
22396         (gst_iterator_find_custom):
22397         * gst/gstiterator.h:
22398         Add iterator docs.
22399
22400 2005-10-28  Wim Taymans  <wim@fluendo.com>
22401
22402         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22403         (gst_base_transform_init):
22404         Don't leak class.
22405
22406         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22407         An EOS event marks the queue as completely filled.
22408
22409 2005-10-27  Wim Taymans  <wim@fluendo.com>
22410
22411         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22412         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22413         Some more debugging.
22414
22415         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22416         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22417         (gst_base_transform_event), (gst_base_transform_getrange),
22418         (gst_base_transform_chain):
22419         * gst/base/gstbasetransform.h:
22420         Fix debugging,
22421         Protect transform and concurrent buffer alloc with a new lock.
22422         Try not to break ABI/API.
22423
22424 2005-10-27  Wim Taymans  <wim@fluendo.com>
22425
22426         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22427         (gst_base_src_init), (gst_base_src_query),
22428         (gst_base_src_default_newsegment),
22429         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22430         (gst_base_src_send_event), (gst_base_src_event_handler),
22431         (gst_base_src_pad_get_range), (gst_base_src_loop),
22432         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22433         (gst_base_src_start), (gst_base_src_deactivate),
22434         (gst_base_src_activate_push), (gst_base_src_change_state):
22435         Move some stuff around and cleanup things.
22436
22437 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22438
22439         * gst/base/gstbasesrc.c: (gst_base_src_query):
22440           Add missing break statements.
22441
22442 2005-10-27  Wim Taymans  <wim@fluendo.com>
22443
22444         * check/gst/gstbin.c: (GST_START_TEST):
22445         An extra refcount is taken in basesrc.
22446
22447         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22448         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22449         (gst_base_src_loop):
22450         Small cleanups, check for flushing after being unlocked from the 
22451         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22452         Don't send out EOS when going to READY.
22453
22454 2005-10-27  Wim Taymans  <wim@fluendo.com>
22455
22456         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22457         (gst_base_sink_get_position):
22458         Some more debug.
22459
22460         * gst/gstbin.c: (message_check), (bin_replace_message),
22461         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22462         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22463         (bin_query_duration_init), (bin_query_duration_fold),
22464         (bin_query_duration_done), (bin_query_generic_fold),
22465         (gst_bin_query):
22466         * tools/gst-launch.c: (main):
22467         Remove old option.
22468
22469 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22470
22471         * examples/controller/audio-example.c: (main):
22472         * examples/queue/queue.c: (event_loop):
22473         * gst/base/gstbasetransform.h:
22474         * gst/gstelement.c: (gst_element_send_event):
22475         * gst/gstevent.h:
22476         * gst/gstpad.c: (gst_pad_send_event):
22477           fixing examples
22478           fixing docs typos
22479           changing log priority in error situations
22480
22481 2005-10-25  Wim Taymans  <wim@fluendo.com>
22482
22483         * gst/gstbin.c: (message_check), (bin_replace_message),
22484         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22485         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22486         (bin_query_duration_init), (bin_query_duration_fold),
22487         (bin_query_duration_done), (bin_query_generic_fold),
22488         (gst_bin_query):
22489         Some doc and debug updates.
22490         Cache previously requested query DURATION for speed. invalidate
22491         cached duration if element posts a DURATION message.
22492
22493 2005-10-25  Wim Taymans  <wim@fluendo.com>
22494
22495         * docs/design/part-TODO.txt:
22496         Update TODO.
22497
22498         * gst/gstbin.c: (message_check), (bin_replace_message),
22499         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22500         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22501         (bin_query_duration_init), (bin_query_duration_fold),
22502         (bin_query_duration_done), (bin_query_generic_fold),
22503         (gst_bin_query):
22504         Handle SEGMENT_START/DONE messages correctly.
22505         More evolved query algorithm that handles duration queries
22506         correctly.
22507
22508         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22509         (gst_element_get_state_func), (gst_element_abort_state),
22510         (gst_element_commit_state), (gst_element_lost_state):
22511         Some more debugging.
22512
22513         * gst/gstmessage.h:
22514         Added doc.
22515
22516 2005-10-25  Wim Taymans  <wim@fluendo.com>
22517
22518         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22519         Don't use invalid stream_time.
22520
22521         * gst/gstevent.c: (gst_event_new_newsegment):
22522         stream_time in newsegment cannot be undefined.
22523
22524 2005-10-24  Wim Taymans  <wim@fluendo.com>
22525
22526         * gst/gstbus.c:
22527         Doc fix.
22528
22529         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22530         (gst_queue_loop):
22531         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22532
22533 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22534
22535         * docs/libs/tmpl/gstdparam.sgml:
22536         * docs/libs/tmpl/gstdplinint.sgml:
22537         * docs/libs/tmpl/gstdpman.sgml:
22538         * docs/libs/tmpl/gstdpsmooth.sgml:
22539         * docs/libs/tmpl/gstunitconvert.sgml:
22540           these are obsolete
22541
22542 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22543
22544         * configure.ac:
22545           back to HEAD
22546
22547 === release 0.9.4 ===
22548
22549 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22550
22551         * configure.ac:
22552           releasing 0.9.4, "Tyrannosaurus Rex"
22553
22554 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22555
22556         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22557         (gst_file_sink_get_current_offset):
22558           Use fseeko() and ftello() if available. When falling back on
22559           lseek() to get the current offset, fflush() first to make sure
22560           everything is up-to-date and we get the right offset.
22561
22562 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22563
22564         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22565         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22566         * gst/gsterror.c: (_gst_stream_errors_init):
22567         * gst/gsterror.h:
22568         * gst/gstqueue.c: (gst_queue_loop):
22569         * po/POTFILES.in:
22570           remove prematurely added error category and clean up the instances
22571
22572 2005-10-21  Wim Taymans  <wim@fluendo.com>
22573
22574         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22575         (gst_base_sink_get_position), (gst_base_sink_query),
22576         (gst_base_sink_change_state):
22577         Simply set the right flag when going to playing, that's all
22578         we need to do instead of calling a function inside the object
22579         lock (that could take the lock as well and deadlock)
22580
22581 2005-10-21  Wim Taymans  <wim@fluendo.com>
22582
22583         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22584         (gst_base_src_loop):
22585         Don't warn, the peer element knows what to do best when
22586         the seek failed, it might try something else.
22587
22588 2005-10-21  Wim Taymans  <wim@fluendo.com>
22589
22590         * gst/base/gstbasesrc.c: (gst_base_src_init),
22591         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22592         Fix seeking.
22593
22594 2005-10-21  Wim Taymans  <wim@fluendo.com>
22595
22596         * docs/design/part-segments.txt:
22597         More docs.
22598
22599         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22600         Correctly set caps, even on the subbufer.
22601
22602 2005-10-21  Wim Taymans  <wim@fluendo.com>
22603
22604         * docs/gst/gstreamer-docs.sgml:
22605         * docs/gst/gstreamer-sections.txt:
22606         * gst/gstelement.h:
22607         * gst/gstevent.c:
22608         * gst/gstevent.h:
22609         * gst/gstmessage.h:
22610         * gst/gstpad.h:
22611         * gst/gstparse.h:
22612         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22613         * gst/gsttask.h:
22614         * gst/gstutils.c:
22615         * gst/gstutils.h:
22616         And 2% more doc coverage.
22617
22618 2005-10-21  Andy Wingo  <wingo@pobox.com>
22619
22620         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22621         position reporting.
22622
22623 2005-10-20  Wim Taymans  <wim@fluendo.com>
22624
22625         * gst/gsterror.c: (gst_error_get_message):
22626         * gst/gstparse.h:
22627         * gst/gstquery.h:
22628         * gst/gststructure.c:
22629         * gst/gsttrace.c:
22630         * gst/gstutils.c:
22631         More docs.
22632
22633 2005-10-20  Wim Taymans  <wim@fluendo.com>
22634
22635         * gst/gstbuffer.h:
22636         * gst/gstpad.c:
22637         * gst/gstparse.c:
22638         Another 1% more coverage.
22639
22640 2005-10-20  Wim Taymans  <wim@fluendo.com>
22641
22642         * docs/gst/gstreamer-sections.txt:
22643         * gst/gstelement.c: (gst_element_get_state_func),
22644         (gst_element_abort_state), (gst_element_commit_state),
22645         (gst_element_lost_state):
22646         * gst/gstevent.h:
22647         * gst/gstquery.c: (gst_query_set_position),
22648         (gst_query_parse_position), (gst_query_set_duration),
22649         (gst_query_parse_duration), (gst_query_new_convert):
22650         * gst/gstutils.c:
22651         Yay! 1% more docs coverage.
22652
22653 2005-10-20  Wim Taymans  <wim@fluendo.com>
22654
22655         * gst/gstpad.h:
22656         * gst/gstquery.c: (gst_query_set_position),
22657         (gst_query_parse_position), (gst_query_set_duration),
22658         (gst_query_parse_duration), (gst_query_new_convert):
22659         * gst/gstquery.h:
22660         * gst/gstutils.c: (gst_element_query_convert):
22661         * gst/gstutils.h:
22662         Docs and consistency fixes.
22663
22664 2005-10-20  Wim Taymans  <wim@fluendo.com>
22665
22666         * gst/gsttask.c:
22667         * gst/gsttask.h:
22668         More docs.
22669
22670 2005-10-20  Wim Taymans  <wim@fluendo.com>
22671
22672         * gst/gstbin.c: (message_check), (bin_replace_message),
22673         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22674         (update_degree), (gst_bin_sort_iterator_next),
22675         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22676         Reworked the message handling a bit, cache the messages instead of
22677         only the senders. alows us to do more in the future.
22678
22679 2005-10-20  Wim Taymans  <wim@fluendo.com>
22680
22681         * docs/design/part-TODO.txt:
22682         Update TODO
22683
22684         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22685         (gst_base_sink_query):
22686         Don't use clock time to report position when in EOS.
22687
22688 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22689
22690         * tools/gst-inspect.c: (print_interfaces),
22691         (print_element_properties_info), (print_element_info):
22692           Fix interface output with gst-inspect -a; don't print
22693           newlines after double/float properties.
22694
22695 2005-10-20  Wim Taymans  <wim@fluendo.com>
22696
22697         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22698         (gst_base_sink_query):
22699         Speed up current position calculation.
22700
22701         * gst/base/gstbasesrc.c: (gst_base_src_query),
22702         (gst_base_src_default_newsegment):
22703         Correctly set stream position in newsegment.
22704
22705         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22706         (update_degree), (gst_bin_sort_iterator_next),
22707         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22708         * gst/gstmessage.c: (gst_message_new_custom):
22709         Clean up debugging info
22710
22711         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22712         (gst_queue_loop), (gst_queue_handle_src_query):
22713         Pause task faster.
22714
22715 2005-10-19  Wim Taymans  <wim@fluendo.com>
22716
22717         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22718         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22719         Fix query handling again.
22720
22721 2005-10-19  Wim Taymans  <wim@fluendo.com>
22722
22723         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22724         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22725         * gst/base/gstbasesrc.c: (gst_base_src_query):
22726         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22727         * gst/elements/gsttypefindelement.c:
22728         (gst_type_find_handle_src_query), (find_element_get_length),
22729         (gst_type_find_element_activate):
22730         API change fix.
22731
22732         * gst/gstquery.c: (gst_query_new_position),
22733         (gst_query_set_position), (gst_query_parse_position),
22734         (gst_query_new_duration), (gst_query_set_duration),
22735         (gst_query_parse_duration), (gst_query_set_segment),
22736         (gst_query_parse_segment):
22737         * gst/gstquery.h:
22738         Bundling query position/duration is not a good idea since duration
22739         does not change much and we don't want to recalculate it for every
22740         position query, so they are separated again..
22741         Base value in segment query is not needed.
22742
22743         * gst/gstqueue.c: (gst_queue_handle_src_query):
22744         * gst/gstutils.c: (gst_element_query_position),
22745         (gst_element_query_duration), (gst_pad_query_position),
22746         (gst_pad_query_duration):
22747         * gst/gstutils.h:
22748         Updates for query API change.
22749         Added some docs here and there.
22750
22751 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22752
22753         * check/gst/gstbin.c: (GST_START_TEST):
22754         * check/gst/gstghostpad.c: (GST_START_TEST):
22755         * check/pipelines/cleanup.c: (GST_START_TEST):
22756           wait on thread to die so we can check refcount correctly
22757
22758 2005-10-18  Wim Taymans  <wim@fluendo.com>
22759
22760         * check/pipelines/stress.c: (GST_START_TEST):
22761         Make check a little more time consuming.
22762
22763 2005-10-18  Wim Taymans  <wim@fluendo.com>
22764
22765         * check/Makefile.am:
22766         * check/pipelines/stress.c: (GST_START_TEST),
22767         (simple_launch_lines_suite), (main):
22768         Small state change torture test.
22769
22770         * docs/design/part-states.txt:
22771         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22772         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22773         (gst_base_sink_change_state):
22774         Never take state lock from streaming thread, clean up ugly
22775         hacks. Unfortunatly core does not yet support nice ways to
22776         async commit state.
22777         
22778         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22779         (bin_bus_handler):
22780         Start state recalc if a STATE_DIRTY message is posted, but only
22781         on the toplevel bin.
22782
22783         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22784         (gst_element_get_state_func), (gst_element_abort_state),
22785         (gst_element_commit_state), (gst_element_lost_state),
22786         (gst_element_set_state_func), (gst_element_change_state):
22787         * gst/gstelement.h:
22788         State variables are now protected with the LOCK, the state
22789         lock is only used to serialize _set_state().
22790
22791 2005-10-18  Wim Taymans  <wim@fluendo.com>
22792
22793         * check/gst/gstbin.c: (GST_START_TEST):
22794         * check/gst/gstmessage.c: (GST_START_TEST):
22795         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22796         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22797         (bin_bus_handler):
22798         * gst/gstelement.c: (gst_element_abort_state),
22799         (gst_element_commit_state), (gst_element_lost_state):
22800         * gst/gstmessage.c: (gst_message_new_state_changed),
22801         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22802         (gst_message_new_segment_done), (gst_message_new_duration),
22803         (gst_message_parse_state_changed),
22804         (gst_message_parse_segment_start),
22805         (gst_message_parse_segment_done), (gst_message_parse_duration):
22806         * gst/gstmessage.h:
22807         * tools/gst-launch.c: (event_loop):
22808         Seriously, this is better than a previous commit as we only need
22809         to notify the fact that an element changed state in a streaming
22810         thread, marking the state of the parents dirty, hence the 
22811         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22812         message.
22813
22814 2005-10-18  Wim Taymans  <wim@fluendo.com>
22815
22816         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22817         (gst_bin_recalc_func):
22818         * gst/gstelement.c: (gst_element_set_clock),
22819         (gst_element_abort_state), (gst_element_lost_state):
22820         Cleanups, prepare for state change fixes.
22821
22822 2005-10-18  Wim Taymans  <wim@fluendo.com>
22823
22824         * gst/gstbin.h:
22825         * gst/gstelement.c: (gst_element_class_init),
22826         (gst_element_set_state), (gst_element_set_state_func):
22827         * gst/gstelement.h:
22828         Pending ABI changes.
22829         GThreadPool in GstBinClass to monitor async state changes.
22830         state_cookie in GstElement to detect concurrent gst/set state.
22831         set_state is now virtual too in case a very complicated element
22832         has to be constructed.
22833
22834 2005-10-18  Wim Taymans  <wim@fluendo.com>
22835
22836         * check/gst/gstbin.c: (GST_START_TEST):
22837         * check/gst/gstmessage.c: (GST_START_TEST):
22838         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22839         * gst/gstbin.c: (bin_bus_handler):
22840         * gst/gstelement.c: (gst_element_commit_state),
22841         (gst_element_lost_state):
22842         * gst/gstmessage.c: (gst_message_new_state_changed),
22843         (gst_message_new_segment_start), (gst_message_new_segment_done),
22844         (gst_message_new_duration), (gst_message_parse_state_changed),
22845         (gst_message_parse_segment_start),
22846         (gst_message_parse_segment_done), (gst_message_parse_duration):
22847         * gst/gstmessage.h:
22848         * tools/gst-launch.c: (event_loop):
22849         Make messages future proof.
22850         state-change gets a flag if it was a message comming from the
22851         streaming thread.
22852         segment-start/stop can also be specified in other formats.
22853         A message to notify an app that a pipeline changed playback 
22854         duration.
22855         Also fix a GstMessage leak in -launch
22856
22857 2005-10-18  Andy Wingo  <wingo@pobox.com>
22858
22859         * gst/gstelement.c (gst_element_dispose): More helpful message.
22860
22861 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22862
22863         reviewed by: <delete if not using a buddy>
22864
22865         * common/gtk-doc.mak:
22866
22867 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22868
22869         * gst/gstregistry.c: (gst_registry_scan_path_level):
22870           unref a plug-in we get that was already initialized
22871
22872 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22873
22874         * docs/gst/gstreamer-sections.txt:
22875         * docs/libs/gstreamer-libs-sections.txt:
22876         * gst/gstelement.h:
22877           add new api entries
22878           hide internal macro
22879
22880 2005-10-17  Andy Wingo  <wingo@pobox.com>
22881
22882         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22883         cleanup.
22884
22885         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22886
22887         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22888
22889         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22890         (gst_element_get_state_func): Better debug message.
22891         (gst_element_commit_state): s/INFO/DEBUG/.
22892         (gst_element_lost_state, gst_element_change_state): 
22893
22894         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22895         (gst_message_new_custom): s/INFO/LOG/.
22896
22897 2005-10-17  Michael Smith <msmith@fluendo.com>
22898
22899         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22900           Check if end time is valid using end time, not start time.
22901
22902 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22903
22904         * check/gst-libs/controller.c: (GST_START_TEST),
22905         (gst_controller_suite):
22906         * libs/gst/controller/gstcontroller.c:
22907         (gst_controlled_property_set_interpolation_mode):
22908         * libs/gst/controller/gstcontroller.h:
22909         * libs/gst/controller/gstinterpolation.c:
22910         * testsuite/controller/.cvsignore:
22911         * testsuite/controller/Makefile.am:
22912         * testsuite/controller/interpolator.c:
22913           merge controller testsuites
22914           fix broken tests
22915           remove mem-chunk from docs
22916
22917 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22918
22919         * gst/gstmemchunk.c:
22920         * gst/gstmemchunk.h:
22921         * gst/gsttrashstack.c:
22922         * gst/gsttrashstack.h:
22923           out.  get out.  you're fired.  to the Attic !
22924
22925 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22926
22927         * gst/gstcaps.c: (gst_caps_intersect):
22928           fix signedness issues in a (hopefully) correct way
22929         * gst/gstelement.c: (gst_element_pads_activate):
22930           some debugging
22931         * gst/gstobject.c: (gst_object_set_parent):
22932           some debugging
22933
22934 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22935
22936         * gst/gstvalue.h: Fix prototypes.
22937
22938 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22939
22940         * docs/gst/gstreamer-sections.txt:
22941         * gst/gst.c: (gst_version_string):
22942         * gst/gst.h:
22943         * gst/gstversion.h.in:
22944         * win32/common/libgstreamer.def:
22945           add gst_version_string ()
22946
22947 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22948
22949         * configure.ac:
22950           clean up further
22951         * gst/gst.c: (init_post):
22952         * win32/common/config.h.in:
22953           it's PLUGINDIR now
22954         * gst/gstcaps.c: (gst_caps_intersect):
22955           use gint64, the range could be bigger than a guint
22956
22957 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22958
22959         * gst/gstclock.h:
22960           document potential problem in 2038
22961
22962 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22963
22964         * gst/gstcaps.c: (gst_caps_intersect):
22965           Fix guint j diving under 0
22966
22967 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22968
22969         * configure.ac:
22970         * win32/common/config.h:
22971         * win32/common/config.h.in:
22972           check for process.h, declares getpid() on Windows
22973         * gst/gstinfo.c:
22974           include process.h if we have it
22975         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22976         * gst/gstmemchunk.h:
22977           fix signedness issues
22978         * win32/common/libgstreamer.def:
22979           fix get_type's
22980
22981 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22982
22983         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22984         fix. Because of unsigned ints, caps intersection was going nuts and
22985         trying to access structures with G_MAXUINT index. That fixes
22986         videotestsrc ! ffmpegcolorspace ! fakesink
22987         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22988         consistency.
22989
22990 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22991
22992         * configure.ac:
22993           use the gettext macro
22994         * gst/elements/gstelements.c:
22995         * gst/gst.c:
22996         * gst/indexers/gstindexers.c:
22997           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22998         * win32/common/config.h:
22999           updated config.h
23000         * win32/common/config.h.in:
23001           add the template to generate config.h
23002         * win32/common/gstenumtypes.c:
23003         * win32/common/gstversion.h:
23004           updated copies
23005
23006 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23007
23008         * gst/gst.c: (gst_version):
23009         * gst/gstversion.h.in:
23010           add the nano
23011
23012 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
23013
23014         * gst/gstevent.h:
23015           Oops, add missing closing bracket.
23016
23017 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23018
23019         * configure.ac:
23020           use common m4's for argument checking
23021
23022 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
23023
23024         * docs/gst/gstreamer-sections.txt:
23025         * gst/gstevent.h:
23026           Add GST_EVENT_TYPE_NAME() macro.
23027
23028 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23029
23030         * gst/gstinfo.c:
23031         * gst/gstpluginfeature.c:
23032         * gst/gsttask.c:
23033           privatize more symbols
23034
23035 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23036
23037         * configure.ac:
23038           add srcdir, builddir includes to GST_ALL_CFLAGS, since
23039           everything that uses GStreamer API should have the includes
23040
23041 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23042
23043         * docs/gst/gstreamer-sections.txt:
23044         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
23045         * gst/gstvalue.h:
23046           give each value a _get_type, removes the DATA exports
23047
23048 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23049
23050         * gst/gst.c:
23051         * gst/gst.h:
23052           remove _gst_registry_auto_load, not used anymore
23053         * gst/gstbin.c: (gst_bin_get_type):
23054         * gst/gstbin.h:
23055         * gst/gstelement.c: (gst_element_get_type):
23056         * gst/gstelement.h:
23057         * gst/gstobject.c: (gst_object_get_type):
23058         * gst/gstobject.h:
23059         * gst/gstpad.c: (gst_pad_get_type):
23060         * gst/gstpad.h:
23061           make _get_type functions similar, fixes data export from library
23062
23063 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23064
23065         * configure.ac:
23066           correctly make conditionals
23067         * gst/elements/Makefile.am:
23068         * gst/elements/gstelements.c:
23069           fix typo causing fdsrc not to build
23070
23071 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23072
23073         * testsuite/Makefile.am:
23074         * testsuite/bytestream/.cvsignore:
23075         * testsuite/bytestream/Makefile.am:
23076         * testsuite/bytestream/filepadsink.c:
23077         * testsuite/bytestream/gstbstest.c:
23078         * testsuite/bytestream/test1.c:
23079         * testsuite/bytestream/testfile1:
23080         * testsuite/caps/normalisation.c:
23081         * testsuite/caps/random.c: (main):
23082         * testsuite/cleanup/.cvsignore:
23083         * testsuite/cleanup/Makefile.am:
23084         * testsuite/cleanup/cleanup1.c:
23085         * testsuite/cleanup/cleanup2.c:
23086         * testsuite/cleanup/cleanup3.c:
23087         * testsuite/cleanup/cleanup4.c:
23088         * testsuite/cleanup/cleanup5.c:
23089         * testsuite/controller/interpolator.c:
23090         * testsuite/debug/printf_extension.c: (main):
23091         * testsuite/elements/tee.c:
23092         * testsuite/negotiation/.cvsignore:
23093         * testsuite/negotiation/Makefile.am:
23094         * testsuite/negotiation/pad_link.c:
23095         * testsuite/pad/Makefile.am:
23096         * testsuite/pad/chainnopull.c:
23097         * testsuite/pad/getnopush.c:
23098         * testsuite/pad/link.c:
23099         * testsuite/refcounting/sched.c: (create_pipeline):
23100         * testsuite/registry/Makefile.am:
23101         * testsuite/registry/gst-print-formats.c:
23102         * testsuite/schedulers/.cvsignore:
23103         * testsuite/schedulers/142183-2.c:
23104         * testsuite/schedulers/142183.c:
23105         * testsuite/schedulers/143777-2.c:
23106         * testsuite/schedulers/143777.c:
23107         * testsuite/schedulers/147713.c:
23108         * testsuite/schedulers/147819.c:
23109         * testsuite/schedulers/147894-2.c:
23110         * testsuite/schedulers/147894.c:
23111         * testsuite/schedulers/Makefile.am:
23112         * testsuite/schedulers/group_link.c:
23113         * testsuite/schedulers/queue_link.c:
23114         * testsuite/schedulers/relink.c:
23115         * testsuite/schedulers/unlink.c:
23116         * testsuite/schedulers/unref.c:
23117         * testsuite/schedulers/useless_iteration.c:
23118         * testsuite/states/bin.c:
23119           clean out/remove some stuff from the testsuite directories
23120
23121 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23122
23123         * configure.ac:
23124           check for some headers
23125         * gst/elements/Makefile.am:
23126         * gst/elements/gstelements.c:
23127           don't compile fdsrc without sys/socket.h
23128         * gst/indexers/Makefile.am:
23129         * gst/indexers/gstindexers.c: (plugin_init):
23130           don't compile fileindex without mmap
23131
23132 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23133
23134         * configure.ac:
23135           reorganize
23136           clean up
23137           document more
23138           remove cruft
23139         * check/Makefile.am:
23140         * docs/gst/Makefile.am:
23141         * examples/helloworld/Makefile.am:
23142         * gst/Makefile.am:
23143         * gst/base/Makefile.am:
23144         * gst/check/Makefile.am:
23145         * gst/elements/Makefile.am:
23146         * gst/indexers/Makefile.am:
23147         * gst/parse/Makefile.am:
23148         * libs/gst/controller/Makefile.am:
23149         * libs/gst/dataprotocol/Makefile.am:
23150         * examples/helloworld/helloworld.c: (event_loop):
23151           compile fixes, though it's not being compiled currently
23152
23153 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23154
23155         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23156           Add some simple tests for the new taglist date API.
23157
23158 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23159
23160         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23161         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23162           Beautify 'last-message' output: print 'none' for buffer timestamps
23163           and durations if none is set; improve alignment with next messages.
23164
23165 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23166
23167         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23168         * gst/gstpluginfeature.h:
23169         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23170         * gst/gstregistry.h:
23171         * docs/gst/gstreamer-sections.txt:
23172           Add new API to check plugin feature version requirements.
23173
23174         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23175           Some basic tests for the above.         
23176
23177 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23178
23179         * gst/gststructure.c: (gst_structure_to_string):
23180           guard against NULL printf - happens when for example
23181           a message structure with GstClock gets serialized
23182
23183 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23184
23185         * gst/base/gstcollectpads.c: (gst_collectpads_event):
23186           Fix presumable copy'n'pasto.
23187
23188 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23189
23190         * gst/elements/gstfakesrc.h:
23191         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23192         * gst/elements/gsttypefindelement.c:
23193           fix some signedness
23194         * gst/elements/gstfilesink.c: (gst_file_sink_render):
23195           I wonder if this could actually write +2GB files before
23196
23197 2005-10-13  Andy Wingo  <wingo@pobox.com>
23198
23199         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23200         Fix Timmeke Waymans bug.
23201         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23202         string of the proper length to gst_caps_from_string. There's a
23203         potential for, before this fix, that this could cause someone
23204         connecting over the network to cause a segfault if the payload is
23205         not NUL-terminated.
23206
23207 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23208
23209         * docs/design/draft-push-pull.txt:
23210         * docs/design/part-overview.txt:
23211         * docs/random/TODO-pre-0.9:
23212         * docs/random/old/ChangeLog.gstreamer:
23213         * gst/base/gstpushsrc.c:
23214         * gst/gstclock.c:
23215           fixed typos
23216
23217 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23218
23219         * gst/glib-compat.c: (gst_flags_get_first_value):
23220         * gst/glib-compat.h:
23221         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23222         (gst_value_compare_double), (gst_value_serialize_flags):
23223           GLib 2.6 g_flags_get_first_value has a bug that triggers an
23224           infinite loop
23225
23226 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23227
23228         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23229         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23230           fix up debugging
23231         * tools/gst-launch.c: (event_loop):
23232           print out clock nicely
23233
23234 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23235
23236         * docs/gst/gstreamer-sections.txt:
23237         * gst/gsttaglist.h:
23238         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23239         (gst_tag_list_get_date_index):
23240           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23241           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23242
23243 2005-10-13  Julien MOUTTE  <julien@moutte.net>
23244
23245         * gst/base/gstcollectpads.c: (gst_collectpads_event),
23246         (gst_collectpads_chain):
23247         * gst/base/gstcollectpads.h: Handle newsegment and store informations
23248         in CollectData.
23249
23250 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23251
23252         * docs/gst/gstreamer-sections.txt:
23253         * gst/gst.c:
23254         * gst/gsterror.h:
23255         * tools/gst-inspect.c: (main):
23256         * tools/gst-launch.c: (main):
23257         * tools/gst-run.c: (main):
23258         * tools/gst-xmlinspect.c: (main):
23259           fix GOption context leaks
23260           doc fixes
23261
23262 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23263
23264         * gst/gstbus.c:
23265           use HAVE_UNISTD_H
23266         * win32/common/config.h:
23267           update config
23268         * win32/vs6/grammar.dsp:
23269         * win32/vs6/libgstelements.dsp:
23270         * win32/vs6/libgstreamer.dsp:
23271           update vs6 files
23272
23273 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23274
23275         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23276         * gst/base/gstbasesrc.c: (gst_base_src_query):
23277           fix more guint64<->gdouble conversions
23278
23279 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23280
23281         * Makefile.am:
23282           add win32-update target
23283         * win32/common/gstconfig.h:
23284         * win32/common/gstenumtypes.c:
23285         * win32/common/gstenumtypes.h:
23286         * win32/common/gstversion.h:
23287           add files that visual studio can't generate
23288
23289 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23290
23291         * Makefile.am:
23292           add a win32-update target
23293         * configure.ac:
23294
23295 2005-10-12  Wim Taymans  <wim@fluendo.com>
23296
23297         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23298         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23299         * gst/gstelement.c: (gst_element_commit_state),
23300         (gst_element_set_state):
23301         Protect flags with proper lock.
23302         unref provided cached clock in dispose.
23303
23304 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23305
23306         * gst/gst.c:
23307         * gst/gstminiobject.h:
23308         * gst/gstpad.h:
23309         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23310           removed unused flags from miniobject
23311           doc fixes
23312
23313 2005-10-12  Wim Taymans  <wim@fluendo.com>
23314
23315         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23316         (gst_file_sink_event), (gst_file_sink_render):
23317         Flush before seeking.
23318
23319 2005-10-12  Andy Wingo  <wingo@pobox.com>
23320
23321         * gst/gst.c (gst_init_check): Ignore unknown options, as has
23322         always been the case.
23323
23324 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23325
23326         * check/gst/gstbin.c: (GST_START_TEST):
23327         * docs/gst/gstreamer-sections.txt:
23328         * gst/base/gstbasesink.c: (gst_base_sink_init):
23329         * gst/base/gstbasesrc.c: (gst_base_src_init),
23330         (gst_base_src_get_range), (gst_base_src_check_get_range),
23331         (gst_base_src_start), (gst_base_src_stop):
23332         * gst/base/gstbasesrc.h:
23333         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23334         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23335         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23336         (bin_bus_handler):
23337         * gst/gstbin.h:
23338         * gst/gstbuffer.h:
23339         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23340         * gst/gstbus.h:
23341         * gst/gstelement.c: (gst_element_is_locked_state),
23342         (gst_element_set_locked_state), (gst_element_commit_state),
23343         (gst_element_set_state):
23344         * gst/gstelement.h:
23345         * gst/gstindex.c: (gst_index_init):
23346         * gst/gstindex.h:
23347         * gst/gstminiobject.h:
23348         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23349         (gst_object_set_parent):
23350         * gst/gstobject.h:
23351         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23352         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23353         * gst/gstpad.h:
23354         * gst/gstpadtemplate.h:
23355         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23356         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23357         * gst/gstpipeline.h:
23358         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23359         (gst_file_index_commit):
23360         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23361         * testsuite/pad/link.c: (gst_test_src_init),
23362         (gst_test_filter_init), (gst_test_sink_init):
23363         * testsuite/states/locked.c: (main):
23364           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23365           moved bitshift from macro to enum definition
23366
23367 2005-10-12  Wim Taymans  <wim@fluendo.com>
23368
23369         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23370         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23371         (gst_file_sink_render):
23372         Some more debugging info.
23373
23374 2005-10-12  Wim Taymans  <wim@fluendo.com>
23375
23376         * docs/design/part-states.txt:
23377         * tools/gst-launch.c: (main):
23378         Some doc updates.
23379         Revert non-intentional change.
23380
23381 2005-10-12  Wim Taymans  <wim@fluendo.com>
23382
23383         * check/gst/gstbin.c: (GST_START_TEST):
23384         * check/gst/gstelement.c: (GST_START_TEST):
23385         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23386         * check/gst/gstghostpad.c: (GST_START_TEST):
23387         * check/gst/gstpipeline.c: (GST_START_TEST):
23388         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23389         * check/states/sinks.c: (GST_START_TEST):
23390         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23391         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23392         (gst_bin_remove_func), (gst_bin_get_state_func),
23393         (gst_bin_recalc_state), (gst_bin_change_state_func),
23394         (bin_bus_handler):
23395         * gst/gstelement.c: (gst_element_get_state_func),
23396         (gst_element_get_state), (gst_element_abort_state),
23397         (gst_element_commit_state), (gst_element_set_state),
23398         (gst_element_change_state), (gst_element_change_state_func):
23399         * gst/gstelement.h:
23400         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23401         (gst_pipeline_provide_clock_func):
23402         * gst/gstutils.c: (gst_element_link_pads_filtered):
23403         * tools/gst-launch.c: (main):
23404         * tools/gst-typefind.c: (main):
23405         Use GstClockTime in _get_state() instead of GTimeVal.
23406         Remove old code in gstutils.c
23407
23408 2005-10-12  Andy Wingo  <wingo@pobox.com>
23409
23410         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23411         removed.
23412
23413         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23414         there is no task. Shouldn't affect any code, as nothing in our
23415         plugins checks this return value.
23416         (gst_pad_stop_task): Also take the stream lock if the pad has no
23417         task. Docs updated.
23418
23419 2005-10-12  Wim Taymans  <wim@fluendo.com>
23420
23421         * gst/gstpad.c: (pre_activate), (post_activate),
23422         (gst_pad_activate_pull), (gst_pad_activate_push):
23423         Cleanup activation code. Reset old state if
23424         activation failed.
23425
23426 2005-10-12  Wim Taymans  <wim@fluendo.com>
23427
23428         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23429         (gst_base_sink_change_state):
23430         No need to prerol after receiving EOS.
23431
23432         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23433         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23434         * gst/elements/gstidentity.c: (gst_identity_event):
23435         Print events more verbosely.
23436
23437 2005-10-12  Wim Taymans  <wim@fluendo.com>
23438
23439         * check/Makefile.am:
23440         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23441         * check/states/sinks2.c:
23442         Moved sinks2 testcode in sinks check.
23443
23444         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23445         (gst_bin_remove_func), (gst_bin_recalc_state),
23446         (gst_bin_change_state_func), (bin_bus_handler):
23447         Fix potential race condition when _get_state() iterated over an
23448         ASYNC element right before it posted a state completion.
23449
23450         * gst/gstclock.h:
23451         Do proper cast here.
23452
23453         * gst/gstevent.c: (gst_event_new_newsegment),
23454         (gst_event_parse_newsegment):
23455         A playback rate of 0.0 is not allowed.
23456
23457 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23458
23459         * win32/common/config.h:
23460         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23461         (_trewinddir), (_ttelldir), (_tseekdir):
23462         * win32/common/dirent.h:
23463         * win32/common/gtchar.h:
23464         * win32/common/libgstbase.def:
23465         * win32/common/libgstreamer.def:
23466         * win32/vs6/grammar.dsp:
23467         * win32/vs6/gst_inspect.dsp:
23468         * win32/vs6/gst_launch.dsp:
23469         * win32/vs6/gstreamer.dsw:
23470         * win32/vs6/libgstbase.dsp:
23471         * win32/vs6/libgstelements.dsp:
23472         * win32/vs6/libgstreamer.dsp:
23473           Visual Studio 6 project files, and a new common directory.
23474           Phear.
23475
23476 2005-10-11  Wim Taymans  <wim@fluendo.com>
23477
23478         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23479         (gst_base_sink_do_sync), (gst_base_sink_query),
23480         (gst_base_sink_change_state):
23481         * gst/base/gstbasesink.h:
23482         Correctly parse newsegment info.
23483
23484 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23485
23486         * gst/gst.c: (init_post):
23487           split plugin paths correctly
23488
23489 2005-10-11  Wim Taymans  <wim@fluendo.com>
23490
23491         * check/gst/gstevent.c: (GST_START_TEST):
23492         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23493         (gst_base_sink_change_state):
23494         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23495         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23496         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23497         * gst/gstevent.c: (gst_event_new_newsegment),
23498         (gst_event_parse_newsegment):
23499         * gst/gstevent.h:
23500         Added extra flag to newsegment for future API freeze.
23501         Updated check and base elements.
23502
23503 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23504
23505         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23506         (gst_collectpads_add_pad), (gst_collectpads_pop),
23507         (gst_collectpads_event), (gst_collectpads_chain):
23508         * gst/base/gstcollectpads.h: Handle EOS correctly.
23509
23510 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23511
23512         * tools/gst-launch.c: (main):
23513           more null protecting
23514
23515 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23516
23517         * gst/gst-i18n-lib.h:
23518           check for ENABLE_NLS, not GETTEXT_PACKAGE
23519         * gst/gstregistry.c: (gst_registry_add_plugin),
23520         (gst_registry_scan_path_level),
23521         (_gst_registry_remove_cache_plugins):
23522           protect possibly NULL strings
23523         * gst/parse/types.h:
23524           config.h already included before
23525         * tools/gst-inspect.c: (main):
23526           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23527           check for ENABLE_NLS, not GETTEXT_PACKAGE
23528         * tools/gst-launch.c: (main):
23529           check for ENABLE_NLS, not GETTEXT_PACKAGE
23530
23531 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23532
23533         * configure.ac:
23534           if we don't have glib, fail before testing 2.8
23535         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23536           fix a leak, should fix plugins-base testsuite
23537
23538 2005-10-11  Andy Wingo  <wingo@pobox.com>
23539
23540         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23541         take the mode we're going to as an arg. Go head and set the mode
23542         and flushing flags now, so that if the activate function starts a
23543         thread all the flags will be in the right state.
23544         (post_activate): Renamed also. Just handle making sure streaming
23545         finishes for the deactivation case, and setting the deactivated
23546         mode.
23547         (gst_pad_set_active): Complain loudly if deactivation fails.
23548         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23549         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23550         remove the terrible hack.
23551
23552 2005-10-11  Wim Taymans  <wim@fluendo.com>
23553
23554         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23555         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23556         (gst_bin_recalc_state), (gst_bin_change_state_func),
23557         (gst_bin_dispose), (bin_bus_handler):
23558         * gst/gstbin.h:
23559         Prepare to make current EOS message queue more generic.
23560         Fix some typos.
23561
23562         * gst/gstevent.c: (gst_event_new_newsegment),
23563         (gst_event_parse_newsegment):
23564         * gst/gstevent.h:
23565         Rename base to stream_time.
23566
23567         * gst/gstmessage.h:
23568         Fix typo in docs.
23569
23570 2005-10-11  Wim Taymans  <wim@fluendo.com>
23571
23572         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23573         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23574         (gst_bin_change_state_func), (bin_bus_handler):
23575         * gst/gstbin.h:
23576         Work on proper clock selection.
23577
23578 2005-10-11  Edward Hervey  <edward@fluendo.com>
23579
23580         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23581         * libs/gst/controller/gstcontroller.h:
23582         Added GList* version of _remove_properties() in order to be able to wrap
23583         it in bindings.
23584
23585 2005-10-11  Wim Taymans  <wim@fluendo.com>
23586
23587         * docs/design/part-states.txt:
23588         Some more docs.
23589
23590         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23591         (gst_bin_change_state_func), (bin_bus_handler):
23592         Doc updates. Don't distribute the same clock over and over again.
23593
23594         * gst/gstclock.c:
23595         * gst/gstclock.h:
23596         Doc updates.
23597
23598         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23599         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23600         (gst_pad_send_event):
23601         * gst/gstpad.h:
23602         Make probe emission threadsafe again.
23603         Register quarks and move _get_name() from utils.
23604         Doc updates.
23605
23606         * gst/gstpipeline.c: (gst_pipeline_class_init),
23607         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23608         Only redistribute the clock of it changed.
23609
23610         * gst/gstsystemclock.h:
23611         Doc updates. 
23612
23613         * gst/gstutils.c:
23614         * gst/gstutils.h:
23615         Moved the _flow_get_name() to GstPad.
23616
23617 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23618
23619         * check/gst-libs/gdp.c: (GST_START_TEST):
23620         * check/gst/gstcaps.c: (GST_START_TEST):
23621         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23622         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23623         (gst_dp_packet_from_caps):
23624           fix more valgrind warnings before turning up the heat
23625
23626 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23627
23628         * gst/parse/grammar.y:
23629           some cleanup before the hacking
23630
23631 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23632
23633         * gst/base/gstbasesrc.c: (gst_base_src_query):
23634           use conversions
23635         * gst/gstutils.c: (gst_guint64_to_gdouble),
23636         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23637         * gst/gstutils.h:
23638           externalize, basesrc uses it
23639           obviously the implementation needs testing
23640
23641 2005-10-10  Wim Taymans  <wim@fluendo.com>
23642
23643         * tests/sched/Makefile.am:
23644         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23645         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23646
23647 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23648
23649         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23650           apparently converting from guint64 to double is not implemented
23651           on MSVC
23652
23653 2005-10-10  Wim Taymans  <wim@fluendo.com>
23654
23655         * check/Makefile.am:
23656         * check/generic/states.c: (GST_START_TEST):
23657         * check/gst/gstbin.c: (GST_START_TEST):
23658         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23659         * check/states/sinks.c: (GST_START_TEST):
23660         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23661         (main):
23662         Check fixes, use API as stated in design docs, remove hacks.
23663
23664         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23665         (gst_base_sink_change_state):
23666         Catch stopping our task while we're shutting down.
23667
23668         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23669         (gst_bin_remove_func), (gst_bin_get_state_func),
23670         (gst_bin_recalc_state), (gst_bin_change_state_func),
23671         (bin_bus_handler):
23672         * gst/gstbin.h:
23673         * gst/gstelement.c: (gst_element_init),
23674         (gst_element_get_state_func), (gst_element_abort_state),
23675         (gst_element_commit_state), (gst_element_lost_state),
23676         (gst_element_set_state), (gst_element_change_state),
23677         (gst_element_change_state_func):
23678         * gst/gstelement.h:
23679         New state change algorithm (see #318116)
23680
23681         * gst/gstpipeline.c: (gst_pipeline_class_init),
23682         (gst_pipeline_init), (gst_pipeline_set_property),
23683         (gst_pipeline_get_property), (do_pipeline_seek),
23684         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23685         * gst/gstpipeline.h:
23686         Remove crude state change hacks.
23687
23688         * gst/gstutils.h:
23689         Remove crude hacks.
23690
23691         * tools/gst-launch.c: (main):
23692         Fixes for state change. Needs some more work to fully use the
23693         new stuff.
23694
23695 2005-10-10  Andy Wingo  <wingo@pobox.com>
23696
23697         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23698
23699         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23700         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23701         issue.
23702
23703 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23704
23705         * gst/gstiterator.c: (gst_iterator_new):
23706           Fix my previous commit: GTypes passed to gst_iterator_new()
23707           can be fundamental types.
23708
23709 2005-10-10  Wim Taymans  <wim@fluendo.com>
23710
23711         * gst/gstelement.c: (gst_element_iterate_pad_list),
23712         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23713         (gst_element_iterate_sink_pads):
23714         Use src/sink pads lists for the respective iterators instead
23715         of filtering.
23716
23717 2005-10-10  Andy Wingo  <wingo@pobox.com>
23718
23719         Merged in popt removal + GOption addition patch from Ronald, bug
23720         #169772.
23721
23722         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23723         GstElement macros around, remove popt-related symbols, add goption
23724         stuff.
23725
23726         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23727         
23728         * docs/gst/Makefile.am:
23729         * docs/libs/Makefile.am: No POPT_CFLAGS.
23730         
23731         * examples/manual/Makefile.am:
23732         * docs/manual/basics-init.xml: Doc updates with an example.
23733         
23734         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23735         (gst_init), (parse_one_option), (parse_goption_arg):
23736         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23737         bit of hand merging and debugging to get the GOption stuff working
23738         tho.
23739         
23740         * tests/Makefile.am:
23741         * tools/Makefile.am:
23742         * tools/gst-inspect.c: (main):
23743         * tools/gst-launch.c: (main):
23744         * tools/gst-run.c: (main):
23745         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23746
23747 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23748
23749         * gst/gstiterator.c: (gst_iterator_new):
23750           Add assertions to make sure passed GType is likely to really
23751           be a GType (as the compiler won't catch it if the size and
23752           GType arguments get mixed up, see #318447).
23753
23754 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23755
23756         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23757
23758         * gst/gstbin.c: (gst_bin_iterate_sorted):
23759           Pass GType and size arguments to gst_iterator_new() in the right
23760           order (maybe we should make _new() take the GType as first argument
23761           just like _new_list()?) (#318447).
23762           
23763
23764 2005-10-10  Wim Taymans  <wim@fluendo.com>
23765
23766         * gst/gstelement.c: (gst_element_finalize):
23767         And free the GStaticRecMutex too
23768
23769 2005-10-10  Andy Wingo  <wingo@pobox.com>
23770
23771         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23772         Allocate and free the mutex properly.
23773
23774         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23775         New macros.
23776         (GstElement): The state_lock is now recursive. Rebuild your
23777         plugins, suckers. Old macros adapted.
23778
23779         * docs/gst/gstreamer-sections.txt: Doc updates.
23780
23781         * gst/gstutils.h:
23782         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23783         (g_static_rec_cond_wait): Ported from state changes patch, while
23784         we wait on bug #317802 to be solved in a well-distributed GLib.
23785
23786         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23787         gst_element_change_state, variable name changes.
23788         (gst_element_change_state): Split out of gst_element_set_state in
23789         preparation for the state change merge. Doesn't pay attention to
23790         the 'transition' argument.
23791         (gst_element_set_state): Updates, hopefully purely cosmetic.
23792         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23793         state change patch.
23794         (gst_element_get_state_func): Renamed from get_state, cosmetic
23795         changes.
23796
23797 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23798
23799         * gst/elements/gstelements.c:
23800         * win32/GStreamer.vcproj:
23801         * win32/config.h:
23802         * win32/dirent.c: (_tseekdir):
23803         * win32/gst-inspect.vcproj:
23804         * win32/gst-launch.vcproj:
23805         * win32/gstconfig.h:
23806         * win32/gstelements.vcproj:
23807         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23808         * win32/gstreamer.def:
23809         * win32/msvc71.sln:
23810           updates for the win32 build (patch from Sebastien Moutte)
23811
23812 2005-10-10  Andy Wingo  <wingo@pobox.com>
23813
23814         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23815         gst_bin_get_state, cleaned up (but no logic changes).
23816         (bin_element_is_sink): Comment updates.
23817         (sink_iterator_filter): Remove needless cast.
23818         (gst_bin_iterate_sinks): Doc update.
23819         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23820         cleaned up (but no logic changes).
23821
23822         * check/states/sinks.c (test_src_sink): Cleanups from the state
23823         change patch.
23824         (test_livesrc_sink): Sync on the state.
23825
23826         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23827         the state change patch.
23828
23829         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23830         change patch.
23831
23832         * check/gst/gstbin.c: Merge in some style fixes and additional
23833         checks from Wim's state change patch.
23834
23835 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23836
23837         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23838         (gst_type_find_helper):
23839           Check whether we have the requested data already in our list of
23840           cached buffers before pulling a new buffer; also make the buffer
23841           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23842
23843 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23844
23845         * gst/gstcaps.c:
23846         * gst/gstevent.c:
23847           doc updates
23848         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23849           don't use long long, it's not portable.  Replacing with
23850           gint64 seems to work; let's hope no skeletons fall out of the closet.
23851
23852 2005-10-10  Andy Wingo  <wingo@pobox.com>
23853
23854         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23855
23856 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23857
23858         * docs/gst/gstreamer-sections.txt:
23859         * gst/gstevent.c:
23860         * gst/gstevent.h:
23861         * gst/gstinfo.c:
23862         * gst/gstinfo.h:
23863         * gst/gstmessage.c: (gst_message_parse_state_changed):
23864         * gst/gstpad.c:
23865         * gst/gstpad.h:
23866           more docs, fix compilation
23867
23868 2005-10-09  Philippe Khalaf <burger@speedy.org>
23869         * gst/gstmessage.c:
23870           Fixed a few forgotten variables on previous commit
23871
23872 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23873
23874         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23875           Fix evil typefind crasher: getrange() might return a short
23876           buffer at the end of a file, but gst_type_find_peek() must
23877           either return the full data as requested or NULL, but
23878           never a short buffer.
23879
23880 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23881
23882         * gst/gstmessage.c: (gst_message_new_state_changed),
23883         (gst_message_parse_state_changed):
23884         * gst/gstmessage.h:
23885           don't use "new", it's a C++ keyword
23886
23887 2005-10-08  Wim Taymans  <wim@fluendo.com>
23888
23889         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23890         * gst/gstelement.c: (gst_element_post_message):
23891         * gst/gstpipeline.c: (gst_pipeline_change_state):
23892         Small docs and debug updates.
23893
23894 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23895
23896         * docs/gst/gstreamer-sections.txt:
23897         * gst/gstelementfactory.c:
23898         * gst/gstevent.c:
23899         * gst/gsttaglist.c:
23900           more docs
23901
23902 2005-10-08  Wim Taymans  <wim@fluendo.com>
23903
23904         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23905         (gst_bin_dispose), (bin_bus_handler):
23906         Fix typos, add comments.
23907         Clear EOS list when going to PAUSED from any direction and do it
23908         in a threadsafe way.
23909         Get base time in a threadsafe way too.
23910         Fix confusing debug in the change_state function.
23911         Various other small cleanups.
23912         
23913         * gst/gstelement.c: (gst_element_post_message):
23914         Fix very verbose bus posting code.
23915
23916         * gst/gstpipeline.c: (gst_pipeline_class_init),
23917         (gst_pipeline_set_property), (gst_pipeline_get_property),
23918         (gst_pipeline_change_state):
23919         Small ARG_ -> PROP_ cleanup
23920
23921 2005-10-08  Wim Taymans  <wim@fluendo.com>
23922
23923         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23924         Do a less CPU demanding EOS check because we can.
23925
23926 2005-10-08  Wim Taymans  <wim@fluendo.com>
23927
23928         * libs/gst/dataprotocol/dataprotocol.c:
23929         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23930         (gst_dp_packet_from_event):
23931         * libs/gst/dataprotocol/dataprotocol.h:
23932         * libs/gst/dataprotocol/dp-private.h:
23933         It's about time we bump the version number.
23934         Since event types don't fit in the guint8 anymore describing
23935         the payload type, make payload type 16 bits wide.
23936
23937 2005-10-08  Wim Taymans  <wim@fluendo.com>
23938
23939         * docs/design/part-TODO.txt:
23940         * docs/design/part-clocks.txt:
23941         * docs/design/part-events.txt:
23942         * docs/design/part-gstbin.txt:
23943         * docs/design/part-gstelement.txt:
23944         * docs/design/part-gstpipeline.txt:
23945         * docs/design/part-live-source.txt:
23946         * docs/design/part-messages.txt:
23947         * docs/design/part-overview.txt:
23948         * docs/design/part-states.txt:
23949         Many doc updates.
23950
23951 2005-10-08  Wim Taymans  <wim@fluendo.com>
23952
23953         * gst/gstevent.c:
23954         * gst/gstevent.h:
23955         Fix event quark registration.
23956         Add some space between events so we can insert them in the
23957         right groups.
23958
23959 2005-10-08  Wim Taymans  <wim@fluendo.com>
23960
23961         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23962         (gst_base_sink_handle_buffer):
23963         Better log message.
23964
23965         * gst/gstbus.h:
23966         * gst/gstelement.h:
23967         More docs.
23968
23969         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23970         (gst_queue_set_property), (gst_queue_get_property):
23971         * gst/gstqueue.h:
23972         Remove old unused properties.
23973
23974 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23975         * docs/gst/gstreamer-sections.txt:
23976         * gst/gstmessage.c:
23977         * gst/gstmessage.h:
23978         * gst/gstminiobject.c:
23979         * gst/gstminiobject.h:
23980         * gst/gstobject.h:
23981         * gst/gstpad.h:
23982         * gst/gstutils.h:
23983           lots of new docs and doc fixes
23984
23985 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23986
23987         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23988         * gst/gstplugin.h:
23989         * gst/gstregistry.c: (gst_registry_lookup_locked),
23990         (gst_registry_scan_path_level):
23991         * gst/gstregistryxml.c: (load_plugin):
23992           Only ever load one plugin for a given plugin basename.
23993           This ensures correct overriding of GST_PLUGIN_PATH over
23994           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23995           system installed plugins.
23996
23997 2005-10-08  Wim Taymans  <wim@fluendo.com>
23998
23999         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24000         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
24001         Prepare for doing QOS.
24002
24003 2005-10-08  Wim Taymans  <wim@fluendo.com>
24004
24005         * check/gst/gstbin.c: (GST_START_TEST):
24006         * check/pipelines/cleanup.c: (GST_START_TEST):
24007         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24008         Allow new clock message too.
24009
24010 2005-10-08  Wim Taymans  <wim@fluendo.com>
24011
24012         * gst/gstmessage.c: (gst_message_new_error),
24013         (gst_message_new_warning), (gst_message_new_tag),
24014         (gst_message_new_state_changed), (gst_message_new_clock_provide),
24015         (gst_message_new_clock_lost), (gst_message_new_new_clock),
24016         (gst_message_new_segment_start), (gst_message_new_segment_done),
24017         (gst_message_parse_state_changed),
24018         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
24019         (gst_message_parse_new_clock):
24020         * gst/gstmessage.h:
24021         Also carry the clock in question.
24022
24023 2005-10-08  Wim Taymans  <wim@fluendo.com>
24024
24025         * gst/gstmessage.c: (gst_message_new_custom),
24026         (gst_message_new_eos), (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_new_clock), (gst_message_new_segment_start),
24030         (gst_message_new_segment_done), (gst_message_parse_state_changed),
24031         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
24032         * gst/gstmessage.h:
24033         Clean up.
24034         Added clock related messages.
24035
24036         * gst/gstpipeline.c: (gst_pipeline_change_state):
24037         Post message when the clock changed.
24038
24039         * tools/gst-launch.c: (event_loop):
24040         Print new clock.
24041
24042 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
24043
24044         * tools/gst-inspect.c: (print_element_properties_info):
24045           Can't pass NULL strings to g_print() on windows.
24046
24047 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24048
24049         * docs/Makefile.am:
24050         * docs/gst/Makefile.am:
24051         * docs/gst/gstreamer-docs.sgml:
24052         * docs/gst/running.xml:
24053         * docs/version.entities.in:
24054           add a chapter on running GStreamer.
24055           document GST_DEBUG and GST_PLUGIN* env vars
24056
24057 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24058
24059         * Makefile.am:
24060           remove include dir
24061         * configure.ac:
24062           remove PLUGINS_BUILDDIR stuff
24063         * gst/gst.c: (init_post):
24064           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
24065         * idiottest.mak:
24066           remove, it was condescending and not needed
24067
24068 2005-10-08  Wim Taymans  <wim@fluendo.com>
24069
24070         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
24071         (gst_base_sink_handle_object), (gst_base_sink_event),
24072         (gst_base_sink_wait), (gst_base_sink_handle_event),
24073         (gst_base_sink_change_state):
24074         * gst/base/gstbasesink.h:
24075         Repost EOS message while going to PLAYING if still EOS.
24076         Make sure that when receiving a FLUSH_START we don't attempt
24077         to sync on the clock anymore.
24078
24079 2005-10-08  Wim Taymans  <wim@fluendo.com>
24080
24081         * tools/gst-launch.c: (event_loop):
24082         Better message printout.
24083
24084 2005-10-08  Wim Taymans  <wim@fluendo.com>
24085
24086         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
24087         (gst_bin_child_proxy_get_children_count):
24088         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24089         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
24090         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
24091         (gst_child_proxy_set_valist):
24092         * gst/parse/grammar.y:
24093         Make ChildProxy threadsafe and fix mem leaks.
24094
24095 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24096
24097         * gst/gst.c: (init_post):
24098           debug the GST_PLUGIN_ env vars
24099
24100 2005-10-08  Wim Taymans  <wim@fluendo.com>
24101
24102         * check/gst/gstbin.c: (GST_START_TEST):
24103         * check/gst/gstmessage.c: (GST_START_TEST):
24104         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
24105         * gst/gstelement.c: (gst_element_commit_state),
24106         (gst_element_lost_state):
24107         * gst/gstmessage.c: (gst_message_new_state_changed),
24108         (gst_message_parse_state_changed):
24109         * gst/gstmessage.h:
24110         * tools/gst-launch.c: (event_loop):
24111         Added extra field to STATE_CHANGE message with the pending
24112         state, which will be different from the new state soon.
24113
24114 2005-10-08  Wim Taymans  <wim@fluendo.com>
24115
24116         * gst/gstbus.c: (gst_bus_pop):
24117         * gst/gstclock.c:
24118         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
24119         Small cleanups and doc updates.
24120
24121 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24122
24123         * gst/gst.c: (init_pre):
24124         * gst/gstbin.c: (gst_bin_add_func):
24125           log distributing clocks and base time
24126         * gst/gstregistry.c: (gst_registry_add_plugin),
24127         (gst_registry_scan_path_level), (gst_registry_scan_path):
24128           clean up the debugging output a little
24129         * gst/gstutils.c: (gst_element_state_get_name):
24130           warn about a memleak (I've actually seen this be used, though
24131           it was probably a bug)
24132
24133 2005-10-07  Wim Taymans  <wim@fluendo.com>
24134
24135         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24136         (gst_base_src_init), (gst_base_src_default_newsegment),
24137         (gst_base_src_newsegment), (gst_base_src_do_seek),
24138         (gst_base_src_loop), (gst_base_src_start):
24139         * gst/base/gstbasesrc.h:
24140         Make the newsegment event customizable by subclasses.
24141
24142 2005-10-07  Wim Taymans  <wim@fluendo.com>
24143
24144         * gst/gstevent.c: (gst_event_new_buffersize),
24145         (gst_event_parse_buffersize):
24146         * gst/gstevent.h:
24147         New event for future idea.
24148
24149 2005-10-07  Andy Wingo  <wingo@pobox.com>
24150
24151         * gst/gstelement.c (gst_element_post_message): Doc update.
24152
24153         * docs/gst/gstreamer-sections.txt: Update.
24154
24155         * gst/gstmessage.c (gst_message_new_application): Made into a
24156         function like honest API calls.
24157         (gst_message_new_element): New message type.
24158
24159         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24160
24161         * check/elements/fakesrc.c (test_no_preroll): New check, checks
24162         that setting a live fakesrc to PAUSED returns NO_PREROLL both
24163         times.
24164
24165         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24166         NO_PREROLL from gst_element_change_state to fall through.
24167
24168 2005-10-07  Wim Taymans  <wim@fluendo.com>
24169
24170         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24171         (gst_ghost_pad_do_activate_push):
24172         Activating a ghostpad with no internal pad in push mode
24173         is ok.
24174
24175 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24176
24177         * gst/gstobject.h:
24178           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24179           Fixes compilation on Windows.
24180
24181 2005-10-07  Michael Smith <msmith@fluendo.com>
24182
24183         * tools/gst-inspect.c:
24184           Print out feature and plugin count at the end when printing out
24185           all features.
24186
24187 2005-10-04  Michael Smith <msmith@fluendo.com>
24188
24189         * gst/gsterror.c: (_gst_stream_errors_init):
24190           Add another error string used in a few existing plugins.
24191
24192         * gst/gstplugin.c:
24193         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24194         * tools/gst-inspect.c: (print_element_info):
24195           When a feature disappears from a plugin (and the feature exists in
24196           the cached registry file), things went horribly wrong. This isn't a
24197           complete fix, we should actually be removing the 'missing' features
24198           from the features list when we load the actual plugin. That's not
24199           yet implemented. 
24200
24201 2005-10-04  Johan Dahlin  <johan@gnome.org>
24202
24203         * check/gst/gstiterator.c: (GST_START_TEST):
24204         * gst/gstbin.c: (gst_bin_iterate_elements),
24205         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24206         * gst/gstelement.c: (gst_element_iterate_pads):
24207         * gst/gstformat.c: (gst_format_iterate_definitions):
24208         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24209         (gst_iterator_new_list), (gst_iterator_filter):
24210         * gst/gstiterator.h:
24211         * gst/gstquery.c: (gst_query_type_iterate_definitions):
24212         Add a GType to GstIterator, update callsites and tests.
24213
24214 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24215
24216         * gst/gstpad.c: (gst_pad_event_default_dispatch):
24217           give events a chance to be handled by event probes when the pad
24218           is not linked
24219
24220 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24221
24222         * gst/gstevent.c: (gst_event_type_get_name),
24223         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24224         * gst/gstevent.h:
24225           add string representations for event types
24226
24227 2005-10-06  Wim Taymans  <wim@fluendo.com>
24228
24229         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24230         Don't use NULL pointers.
24231
24232 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24233
24234         * gst/gst_private.h:
24235         * gst/gstbus.c:
24236         * gst/gstelement.c:
24237         * gst/gstinfo.c:
24238         * gst/gstpluginfeature.c:
24239           widen the debug category in output to fit the biggest one we have
24240           add a bus category and use it
24241           play with the colors
24242           fix up some categories
24243
24244 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24245
24246         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24247           add push activation of sink ghost pads.
24248           Andye, please verify
24249
24250 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24251
24252         * gst/gstutils.c: (gst_element_link_pads):
24253           fix a bug in the case where neither element has a pad
24254         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24255           add a test for that case
24256
24257 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24258
24259         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24260           emit have-data before checking for peers.  This allows
24261           for probe handlers to connect elements.  This helps autopluggers.
24262         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24263         (gst_pad_suite):
24264           add six checks, linked/unlinked with no/true/false probe
24265
24266 2005-10-04  Wim Taymans  <wim@fluendo.com>
24267
24268         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24269         (gst_fake_sink_event), (gst_fake_sink_preroll),
24270         (gst_fake_sink_render), (gst_fake_sink_change_state):
24271         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24272         (gst_fake_src_get_property), (gst_fake_src_create),
24273         (gst_fake_src_stop):
24274         * gst/elements/gstidentity.c: (gst_identity_stop):
24275         Protect last_message with lock.
24276
24277 2005-10-04  Edward Hervey  <edward@fluendo.com>
24278
24279         * gst/gstformat.h: 
24280         Added precision in the comments for GST_FORMAT_DEFAULT
24281
24282 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
24283
24284         * tools/gst-launch.c: (main):
24285           Don't try to run erroneous pipelines.
24286
24287 2005-10-04  Julien MOUTTE  <julien@moutte.net>
24288
24289         * gst/gstbus.c: We don't need this header.
24290
24291 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24292
24293         * configure.ac:
24294           back to development
24295
24296 === release 0.9.3 ===
24297
24298 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24299
24300         * README:
24301         * configure.ac:
24302           Releasing 0.9.3, "Unregistered"
24303
24304 2005-10-03  Andy Wingo  <wingo@pobox.com>
24305
24306         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24307         whereby calling a pad's activatepush() function can start a thread
24308         that starts to push or pull before the pad gets the FLUSHING flag
24309         unset. Hack around it by holding the stream lock until the flag is
24310         set. Need to replace this with a proper solution. Together with
24311         the ghost pad fixes, this fixes mp3 playing/tagreading.
24312
24313         * docs/design/part-gstghostpad.txt: Add a note about activation of
24314         proxy pads outside of ghost pads.
24315
24316         * gst/gstghostpad.c: Implement the ghost pad activation design.
24317
24318 2005-10-02  Andy Wingo  <wingo@pobox.com>
24319
24320         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24321         It is volatile, after all.
24322
24323         * docs/design/part-gstghostpad.txt: Flesh out activation with
24324         ghost pads.
24325
24326         * gst/base/gstbasesrc.c (gst_base_src_init): Use
24327         GST_DEBUG_FUNCPTR.
24328
24329 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
24330
24331         * configure.ac:
24332           Fix (unused) AM_CONDITIONAL tests.
24333
24334 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
24335
24336         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24337
24338         * gst/gstutils.c: (gst_pad_query_convert):
24339           Add assertion that makes sure src_val is >=0, just like
24340           gst_query_new_convert() has. (#315895)
24341
24342 2005-09-30  Edward Hervey  <edward@fluendo.com>
24343
24344         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24345         Let's not iterate pads we're not interested in, it avoids getting 
24346         sky-high refcounts on sinkpad.
24347
24348 2005-09-30  Wim Taymans  <wim@fluendo.com>
24349
24350         * gst/gstelement.c: (gst_element_set_state),
24351         (gst_element_change_state):
24352         Small tweak, element in ASYNC remains ASYNC.
24353
24354 2005-09-30  Wim Taymans  <wim@fluendo.com>
24355
24356         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24357         Only error is an error.
24358
24359         * gst/gstbin.c: (gst_bin_change_state):
24360         Better debugging.
24361
24362         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24363         Also call pad_block in pad alloc.
24364
24365         * gst/gstutils.c: (gst_flow_get_name):
24366         Better debugging.
24367
24368 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24369
24370         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24371         (gst_base_src_get_range):
24372           Fix documentation typos. Add some more debug info.
24373
24374 2005-09-29  David Schleef  <ds@schleef.org>
24375
24376         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24377           more end-user friendly.
24378         * tools/gst-inspect.c: (main): Check if command-line argument is
24379           a file and attempt to load that file as a plugin.
24380
24381 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24382
24383         * check/gst/gstbin.c:
24384         * check/states/sinks.c:
24385           fix tests for the new warning
24386         * check/gst/gstpipeline.c:
24387           add a test for pipeline and bus interaction
24388         * gst/gstelement.c:
24389           elements should be NULL if they get disposed; add a warning if not
24390
24391 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24392
24393         * gst/gstobject.c:
24394           for 2.6 refcounting, make debug log more correct by printing
24395           the actual refcounts at the time of swap (Wim)
24396
24397 2005-09-29  Andy Wingo  <wingo@pobox.com>
24398
24399         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24400         removes signal watches previously added via
24401         gst_bus_add_signal_watch.
24402         (gst_bus_add_signal_watch): Don't return the source id, just store
24403         it on the bus if there wasn't an id already.
24404
24405         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24406         add_signal_watch and remove_signal_watch.
24407
24408 2005-09-29  Edward Hervey  <edward@fluendo.com>
24409
24410         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24411         Better if we actually iterate the list :)
24412
24413 2005-09-29  Wim Taymans  <wim@fluendo.com>
24414
24415         * check/gst/gstbin.c: (GST_START_TEST):
24416         Change for new bus API.
24417
24418         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24419         (send_messages), (GST_START_TEST), (gstbus_suite):
24420         Change for new bus signal API.
24421
24422         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24423         (gst_bus_source_prepare), (gst_bus_source_check),
24424         (gst_bus_create_watch), (gst_bus_add_watch_full),
24425         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24426         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24427         * gst/gstbus.h:
24428         Remove support for multiple GSources operating on different
24429         message types as it is too complex and unneeded when using
24430         signals.
24431         Added support for receiving signals from the bus.
24432
24433 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24434
24435         * docs/libs/tmpl/gstdataprotocol.sgml:
24436         * docs/manual/advanced-dataaccess.xml:
24437         * gst/elements/gstcapsfilter.c:
24438         * gst/gstutils.c:
24439           rename filter-caps to caps property
24440
24441 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24442
24443         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24444           More robust fraction string parsing.
24445
24446         * docs/pwg/appendix-porting.xml:
24447           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24448
24449 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24450
24451         * gst/gstcaps.c: (gst_caps_do_simplify):
24452           Thou shalt not free a structure and then continue using it
24453           in the next loop iteration.
24454
24455         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24456         (gst_caps_suite):
24457           Add test case for caps simplification.
24458
24459 2005-09-29  Wim Taymans  <wim@fluendo.com>
24460
24461         * check/gst/gstbin.c: (GST_START_TEST):
24462         Oops.
24463
24464 2005-09-29  Wim Taymans  <wim@fluendo.com>
24465
24466         * check/gst/gstbin.c: (GST_START_TEST):
24467         Add bus to bin.
24468
24469         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24470         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24471         (find_element), (gst_bin_sort_iterator_next),
24472         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24473         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24474         (gst_bin_change_state), (gst_bin_dispose):
24475         A bin does not have a bus, it gets the bus from the parent.
24476
24477         * gst/gstelement.c: (gst_element_requires_clock),
24478         (gst_element_provides_clock), (gst_element_is_indexable),
24479         (gst_element_is_locked_state), (gst_element_change_state),
24480         (gst_element_set_bus_func):
24481         Small cleanups.
24482
24483         * gst/gstpipeline.c: (gst_pipeline_class_init),
24484         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24485         The pipeline provides a bus.
24486
24487 2005-09-28  Johan Dahlin  <johan@gnome.org>
24488
24489         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24490         gst_structure_get_enum instead of gst_structure_get_int
24491
24492         * gst/gststructure.c (gst_structure_get_enum): Impl.
24493
24494         * gst/gststructure.h (gst_structure_get_enum): Add
24495
24496         * docs/gst/gstreamer-sections.txt: Ditto
24497
24498         * gst/gstmessage.c (gst_message_new_state_changed): Use
24499         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24500         which does introspection.
24501         Reviewed by Christian Schaller
24502
24503 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24504
24505         * gst/gstinfo.c: (gst_debug_log_default):
24506           don't do dummy g_strdup()s
24507         * libs/gst/controller/gstcontroller.c:
24508         (on_object_controlled_property_changed),
24509         (gst_controlled_property_new), (gst_controller_new_valist),
24510         (gst_controller_new_list),
24511         (gst_controller_remove_properties_valist), (gst_controller_set),
24512         (gst_controller_get), (gst_controller_sync_values),
24513         (gst_controller_get_value_array), (_gst_controller_class_init),
24514         (gst_controller_get_type):
24515         * libs/gst/controller/gstcontroller.h:
24516         * libs/gst/controller/gstinterpolation.c:
24517         (gst_controlled_property_find_timed_value_node):
24518           convert // to /**/ comments
24519
24520 2005-09-28  Wim Taymans  <wim@fluendo.com>
24521
24522         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24523         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24524         (gst_bus_sync_signal_handler):
24525         * gst/gstbus.h:
24526         Added async-message and sync-message signals to the bus.
24527         Added helper BusFunc to emit signals for all posted messages.
24528
24529         * gst/gstmessage.c: (gst_message_type_get_name),
24530         (gst_message_type_to_quark), (gst_message_get_type):
24531         * gst/gstmessage.h:
24532         Register quarks for message names.
24533
24534 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24535
24536         * docs/libs/gstreamer-libs-sections.txt:
24537         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24538         (gst_controller_new_list):
24539         * libs/gst/controller/gstcontroller.h:
24540           added another constructor for language bindings
24541
24542 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24543
24544         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24545           add another check
24546         * gst/gstbus.c:
24547           add some doc
24548         * gst/gstinfo.c: (_gst_debug_init):
24549           slightly more readable color for refcount debugging
24550
24551 2005-09-28  Wim Taymans  <wim@fluendo.com>
24552
24553         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24554         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24555         (find_element), (gst_bin_sort_iterator_next),
24556         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24557         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24558         (gst_bin_change_state), (gst_bin_dispose):
24559         Small doc fixes. get_clock -> provide_clock.
24560
24561         * gst/gstelement.c: (gst_element_class_init),
24562         (gst_element_provides_clock), (gst_element_provide_clock),
24563         (gst_element_get_clock), (gst_element_commit_state),
24564         (gst_element_lost_state):
24565         * gst/gstelement.h:
24566         Make get/set_clock() symetric. Add provide_clock vmethod since
24567         that is actually what this function does.
24568
24569         * gst/gstpipeline.c: (gst_pipeline_class_init),
24570         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24571         (gst_pipeline_get_clock):
24572         get_clock -> provide_clock.
24573
24574 2005-09-28  Andy Wingo  <wingo@pobox.com>
24575
24576         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24577         lieu of real docs...
24578
24579         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24580
24581 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24582
24583         * gst/elements/gstcapsfilter.c:
24584         * gst/elements/gstfakesink.c:
24585         * gst/elements/gstfakesrc.c:
24586         * gst/elements/gstfdsink.c:
24587         * gst/elements/gstfdsrc.c:
24588         * gst/elements/gstfilesink.c:
24589         * gst/elements/gstfilesrc.c:
24590         * gst/elements/gstidentity.c:
24591         * gst/elements/gsttee.c:
24592         * gst/elements/gsttypefindelement.c:
24593           Make element details static.
24594
24595 2005-09-28  Wim Taymans  <wim@fluendo.com>
24596
24597         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24598         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24599         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24600         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24601         (gst_bin_change_state), (gst_bin_dispose):
24602         Some documentation updates.
24603         Clean up dispose handlers.
24604
24605         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24606         * gst/gstpad.c: (gst_pad_dispose):
24607         Clean up dispose handler.
24608
24609         * gst/gstpipeline.c: (gst_pipeline_change_state):
24610         Removed spurious UNLOCK.
24611
24612 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24613
24614         * docs/gst/gstreamer-sections.txt:
24615         * gst/base/gstbasesrc.h:
24616         * gst/gstelement.h:
24617         * gst/gstevent.h:
24618         * gst/gstobject.h:
24619         * gst/gstpad.h:
24620         * gst/gstpipeline.c:
24621         * gst/gstpipeline.h:
24622         * gst/gstutils.h:
24623         * gst/gstxml.h:
24624           added two new functions to the docs
24625                 documents all undocumented GstXXXFlags
24626                 completed some incomplete docs 
24627
24628 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24629
24630         * gst/gstbin.c: (gst_bin_dispose):
24631         * gst/gstelement.c: (gst_element_dispose):
24632           remove now useless and leaky resurrection code in dispose
24633         * gst/base/gstbasesrc.c: (gst_base_src_init):
24634         * gst/gstelementfactory.c: (gst_element_factory_create):
24635         * gst/gstobject.c: (gst_object_set_parent):
24636           add some debugging
24637
24638 2005-09-27  Wim Taymans  <wim@fluendo.com>
24639
24640         * docs/design/part-TODO.txt:
24641         Update TODO.
24642
24643         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24644         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24645         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24646         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24647         (gst_bin_change_state):
24648         * gst/gstelement.h:
24649         Remove element variable, we keep element info in the iterator now.
24650
24651 2005-09-27  Andy Wingo  <wingo@pobox.com>
24652
24653         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24654         values.
24655
24656 2005-09-27  Wim Taymans  <wim@fluendo.com>
24657
24658         * check/gst/gstbin.c: (GST_START_TEST):
24659         Enable check that works now.
24660
24661         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24662         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24663         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24664         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24665         (gst_bin_change_state):
24666         * gst/gstbin.h:
24667         Redid the state change algorithm using a topological sort algo.
24668         Handles all cases correctly.
24669         Exposed iterator for state change order.
24670
24671         * gst/gstelement.h:
24672         Temp storage for state changes. Need to get rid of this soon.
24673
24674 2005-09-27  Wim Taymans  <wim@fluendo.com>
24675
24676         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24677         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24678         (link_fold_func), (gst_pad_proxy_setcaps):
24679         Leak fixes, the fold functions need to unref the passed object and
24680         _get_parent_*() returns ref to parent.
24681
24682 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24683
24684         * check/gst/gstbuffer.c: (test_make_writable):
24685           Plug leak in test case and fix 'make check-valgrind'
24686
24687 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24688
24689         * gst/gstbuffer.c: (gst_subbuffer_init):
24690           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24691           works correctly in all circumstances (we could have just copied
24692           the parent buffer's readonly flag, but conceptually it seems
24693           cleaner to mark all subbuffers as read-only). (based on patch
24694           by Alessandro Decina, #314710).
24695         
24696         * check/gst/gstbuffer.c: (create_read_only_buffer),
24697         (test_make_writable), (test_subbuffer_make_writable),
24698         (gst_test_suite):
24699           Add some tests for gst_buffer_make_writable().
24700
24701 2005-09-27  Wim Taymans  <wim@fluendo.com>
24702
24703         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24704         use gst_object_has_ancestor().
24705
24706         * gst/gstobject.c: (gst_object_has_ancestor):
24707         * gst/gstobject.h:
24708         gst_object_has_ancestor() copied from gstbin.c as it is a
24709         useful function.
24710
24711         * tests/instantiate/create.c: (create_all_elements):
24712         * tests/lat.c: (handoff_src), (handoff_sink):
24713         * tests/sched/runxml.c: (main):
24714         * tests/seeking/seeking1.c: (main):
24715         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24716         (main):
24717         Fix compilation of some tests.
24718
24719 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24720
24721         * gst/gsterror.h:
24722           Remove comment. GST_TYPE_G_ERROR is here to stay,
24723           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24724           (#316961, #300610).
24725
24726 2005-09-26  Wim Taymans  <wim@fluendo.com>
24727
24728         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24729         Added check that shows error in state change order.
24730
24731 2005-09-26  Wim Taymans  <wim@fluendo.com>
24732
24733         * gst/gstbin.c: (gst_bin_change_state):
24734         Make state change function use 3 queues again, we were
24735         adding elements in the wrong order.
24736
24737         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24738         Some debug info,
24739
24740         * gst/gstpad.c: (gst_pad_dispose):
24741         Added some debug info first.
24742
24743 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24744
24745         * docs/design/draft-push-pull.txt:
24746         * docs/design/part-events.txt:
24747         * docs/design/part-overview.txt:
24748         * docs/design/part-scheduling.txt:
24749           Replace all _pull_region() with _pull_range()
24750           
24751 2005-09-26  Andy Wingo  <wingo@pobox.com>
24752
24753         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24754
24755         * check/gst-libs/controller.c: Update for controller api change.
24756
24757         * configure.ac: 
24758         * tests/Makefile.am:
24759         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24760         over by GLib bug 118439.
24761         
24762         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24763         routines to a function.
24764
24765         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24766
24767         * libs/gst/controller/gsthelper.c:
24768         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24769         (gst_object_sync_values): Renamed from sink_values. Ugh.
24770
24771         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24772
24773         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24774         Renamed from controller_key, as it is exported.
24775
24776         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24777
24778 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24779
24780         * gst/Makefile.am:
24781         * gst/gst.h:
24782         * gst/gstpad.h:
24783         * gst/gstpadtemplate.h:
24784         * gst/gstquery.c:
24785         * gst/gstquery.h:
24786         * gst/gstqueryutils.c:
24787         * gst/gstqueryutils.h:
24788           remove queryutils headers after moving the two used functions
24789           to gstquery.  also fixes build problem for gstsiddec
24790
24791 2005-09-26  Michael Smith <msmith@fluendo.com>
24792
24793         * tools/gst-launch.1.in:
24794         Correct documentation in manpage of debug syntax
24795
24796 2005-09-26  Wim Taymans  <wim@fluendo.com>
24797
24798         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24799         (gst_base_src_is_seekable), (gst_base_src_change_state):
24800         Some more debugging info.
24801
24802 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24803
24804         * docs/gst/gstreamer-sections.txt:
24805         * gst/base/gstbasetransform.h:
24806         * gst/gstindex.h:
24807           added more docs
24808
24809 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24810
24811         * docs/gst/.cvsignore:
24812         * docs/gst/tmpl/.cvsignore:
24813         * docs/gst/tmpl/gstpipeline.sgml:
24814         * docs/gst/tmpl/gstplugin.sgml:
24815         * gst/gstpipeline.c:
24816         * gst/gstplugin.c:
24817         * gst/gstplugin.h:
24818           inlined the last two docs files
24819           removed the tmpl directory from cvs (no more conflicts here!)
24820
24821 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24822
24823         * docs/gst/gstreamer-sections.txt:
24824         * docs/gst/tmpl/.cvsignore:
24825         * docs/gst/tmpl/gstpad.sgml:
24826         * docs/gst/tmpl/gstpadtemplate.sgml:
24827         * gst/Makefile.am:
24828         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24829         (gst_pad_finalize), (gst_pad_set_pad_template):
24830         * gst/gstpad.h:
24831         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24832         (gst_pad_template_class_init), (gst_pad_template_init),
24833         (gst_pad_template_dispose), (name_is_valid),
24834         (gst_static_pad_template_get), (gst_pad_template_new),
24835         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24836         (gst_pad_template_pad_created):
24837         * gst/gstpadtemplate.h:
24838           inlined two more docs
24839           factored gstpadtemplate out of gstpad
24840
24841 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24842
24843         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24844         (test_children_state_change_order_semi_sink):
24845           Fix test case: we can't rely on a fixed state change order when
24846           going from READY => PAUSED because the sink might commit its 
24847           new state first when the first buffer created by the source 
24848           reaches the sink before the source has finished its change state.
24849           (Test case still fails at times, see #316856, comment 5 onwards)
24850
24851 2005-09-24  Wim Taymans  <wim@fluendo.com>
24852
24853         * docs/design/part-events.txt:
24854         * docs/design/part-gstbus.txt:
24855         * docs/design/part-gstpipeline.txt:
24856         * docs/design/part-messages.txt:
24857         * docs/design/part-overview.txt:
24858         * docs/design/part-segments.txt:
24859         * gst/gstbin.c:
24860         * gst/gstbuffer.c:
24861         * gst/gstclock.c:
24862         * gst/gstelement.c:
24863         * gst/gstevent.c:
24864         * gst/gstfilter.c:
24865         * gst/gstiterator.c:
24866         Various documentation updates.
24867
24868 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24869
24870         * gst/gstclock.h:
24871           Well, that's embarassing.  Luckily we weren't using
24872           GST_CLOCK_DIFF anywhere.
24873
24874 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24875
24876         * common/gtk-doc.mak:
24877           don't fail on building XML, FC4 slave shows a bunch of doc
24878           missing bits that I don't get
24879         * gst/gstpad.c:
24880         * gst/gstpipeline.c:
24881         * gst/gststructure.c:
24882           some doc updates
24883
24884 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24885
24886         * docs/design/part-gstbin.txt:
24887         * docs/design/part-gstbus.txt:
24888         * gst/gstbus.c:
24889           Add blurb about how the bus goes into flushing mode and
24890           drops all messages when its bin goes from READY into NULL 
24891           state.
24892
24893 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24894
24895         * docs/gst/gstreamer-sections.txt:
24896         * gst/gststructure.c: (gst_structure_get_clock_time):
24897         * gst/gststructure.h:
24898           add a method to get a GstClockTime out of a structure
24899
24900 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24901
24902         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24903         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24904           Added test to check state change order in bins (can still be made
24905           to fail here under heavy disk load; bails out with 'Push on pad
24906           fakesink:sink0, but it was not activated in push mode').
24907
24908         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24909           Fix state change order when there is only a semi sink (#316856)
24910
24911         * gst/gstbus.c: (gst_bus_class_init):
24912           Use _class_peek_parent(), not _class_ref(); fix docs to say
24913           'default main context' instead of 'mainloop' where that is
24914           what's meant.
24915
24916         * gst/gstelement.c: (gst_element_commit_state),
24917         (gst_element_set_state):
24918           Fix typos in debug messages
24919
24920 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24921
24922         * docs/README:
24923         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24924         * gst/gstpluginfeature.c:
24925         * gst/gstutils.c:
24926           various doc updates
24927         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24928           change an assert into an error until it gets fixed properly
24929
24930 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24931
24932         * docs/gst/gstreamer-sections.txt:
24933         * docs/gst/tmpl/.cvsignore:
24934         * docs/gst/tmpl/gstelement.sgml:
24935         * docs/gst/tmpl/gstinfo.sgml:
24936         * docs/gst/tmpl/gstobject.sgml:
24937         * gst/gstelement.c:
24938         * gst/gstelement.h:
24939         * gst/gstinfo.c:
24940         * gst/gstinfo.h:
24941         * gst/gstobject.c: (gst_object_class_init):
24942         * gst/gstobject.h:
24943           inlined 3 more biiiig doc files and added some missing docs on the fly
24944
24945 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24946
24947         * check/gst/.cvsignore:
24948         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24949         * gst/gstregistryxml.c: (load_plugin),
24950         (gst_registry_xml_save_plugin):
24951           put back source in registry.  add checks for find_plugin.
24952         * testsuite/states/bin.c: (assert_state), (empty_bin),
24953         (test_adding_one_element), (main):
24954         * testsuite/states/locked.c: (main):
24955           some compile/run fixes
24956
24957 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24958
24959         * check/gst/gstvalue.c: (GST_START_TEST):
24960           fix leaks in the test itself
24961
24962 2005-09-22  Wim Taymans  <wim@fluendo.com>
24963
24964         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24965         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24966         (gst_base_sink_query):
24967         Prepare for more accurate position reporting and query
24968         handling.
24969
24970         * gst/gstelement.c: (gst_element_send_event),
24971         (gst_element_set_state):
24972         Add some comment.
24973
24974 2005-09-22  Wim Taymans  <wim@fluendo.com>
24975
24976         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24977         (gst_query_parse_segment):
24978         * gst/gstquery.h:
24979         More documentation.
24980         Add segment query for future use.
24981
24982 2005-09-22  Wim Taymans  <wim@fluendo.com>
24983
24984         * gst/gstbin.c: (gst_bin_add_func):
24985         Some more debug info.
24986
24987         * gst/gstelement.c: (gst_element_send_event):
24988         Simplify send_event
24989
24990         * gst/gstelement.h:
24991         Don't know how flags got broken.
24992
24993         * gst/gstquery.h:
24994         Added new query.
24995
24996 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24997
24998         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24999           Add simplistic test suite for GST_TYPE_DATE serialisation and
25000           deserialisation.
25001
25002 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
25003
25004         * docs/gst/gstreamer-sections.txt:
25005         * gst/gststructure.c: (gst_structure_set_valist),
25006         (gst_structure_get_date):
25007         * gst/gststructure.h:
25008         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
25009         (gst_date_copy), (gst_value_compare_date),
25010         (gst_value_serialize_date), (gst_value_deserialize_date),
25011         (gst_value_transform_date_string),
25012         (gst_value_transform_string_date), (_gst_value_initialize):
25013         * gst/gstvalue.h:
25014           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
25015           bunch of utility functions along with a hack that checks that
25016           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
25017           is required. Part of the grand scheme in #170777.
25018
25019 2005-09-22  Andy Wingo  <wingo@pobox.com>
25020
25021         * gst/gstconfig.h.in: Psych out gtk-doc.
25022
25023         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
25024
25025         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
25026
25027         * tools/gst-inspect.c (print_element_list): Plug some
25028         inconsequential leaks.
25029
25030         * gst/gstregistry.c (gst_registry_get_default): Doc.
25031
25032         * check/gst/gstplugin.c: 
25033         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
25034         * gst/gstelementfactory.c (gst_element_factory_create): 
25035         * gst/gstindexfactory.c (gst_index_factory_create): Update for
25036         refcount changes.
25037
25038         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
25039         (gst_plugin_feature_load): Doc, don't eat refs.
25040
25041         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
25042         (gst_plugin_list_free): Doc.
25043         (gst_plugin_load_file): Doc updates.
25044
25045         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
25046         accessors returning refcounted objects, return a ref.
25047
25048         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
25049         accessor for caps. IDEMPOTENCE. Oh yes.
25050
25051 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
25052
25053         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
25054
25055         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25056         (_gst_debug_register_funcptr):
25057           Add mutex to serialise access to the hash table with
25058           the function pointer => function name string mapping;
25059           make that hash table static scope (#316809).
25060
25061         * gst/registries/.cvsignore:
25062           Remove left-over file.
25063
25064 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
25065
25066         * docs/pwg/appendix-porting.xml:
25067           And something about newsegment events and caps-on-buffers to
25068           the porting guide (feel free to improve).
25069
25070 2005-09-21  Andy Wingo  <wingo@pobox.com>
25071
25072         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
25073         data and event probes on the same pad.
25074         (test_buffer_probe_once): Test that removing probes from within
25075         the probe functions works.
25076
25077 2005-09-21  Andy Wingo  <wingo@pobox.com>
25078
25079         * check/gst/gstutils.c: New file.
25080         (test_buffer_probe_n_times): A simple buffer probe test. More to
25081         come, foolios.
25082
25083         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
25084         have-data::buffer, not have-data.
25085         (gst_pad_add_event_probe): Likewise for have-data::event.
25086         (gst_pad_add_data_probe): More docs. The part about 'resolving the
25087         peer' isn't quite right yet though.
25088         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
25089         (gst_pad_remove_data_probe): Change to take the guint handler_id
25090         as their arg, not the function+data, which is more glib-like.
25091
25092         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
25093         the signal emission to indicate if the data is a buffer or an
25094         event.
25095         (gst_pad_get_type): Initialize buffer and event quarks.
25096         (gst_pad_class_init): have-data is now a detailed signal, yes it
25097         is.
25098
25099 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
25100
25101         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25102         * gst/gstutils.c: (gst_util_set_value_from_string),
25103         (gst_util_set_object_arg):
25104           Don't put functional code in g_return_if_fail() or
25105           g_return_val_if_fail() statements, otherwise things will 
25106           break when G_DISABLE_CHECKS is defined during compilation.
25107
25108 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25109
25110         * docs/gst/tmpl/.cvsignore:
25111         * docs/gst/tmpl/gstvalue.sgml:
25112         * gst/gstvalue.c:
25113         * gst/gstvalue.h:
25114           inlied another one and added  some obvious docs
25115
25116 2005-09-21  Wim Taymans  <wim@fluendo.com>
25117
25118         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
25119         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
25120         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
25121         (gst_fdsrc_get_property), (gst_fdsrc_create):
25122         * gst/elements/gstfdsrc.h:
25123         Properly implement fdsrc. Removed signal and timeout,
25124         better implemented somewhere else.
25125
25126 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25127
25128         * docs/gst/tmpl/.cvsignore:
25129         * docs/gst/tmpl/gstimplementsinterface.sgml:
25130         * gst/gstinterface.c:
25131           inlined more docs
25132
25133 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25134
25135         * docs/gst/gstreamer-sections.txt:
25136         * docs/gst/tmpl/.cvsignore:
25137         * docs/gst/tmpl/gstenumtypes.sgml:
25138           remove obsolete doc file
25139
25140 2005-09-21  David Schleef  <ds@schleef.org>
25141
25142         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25143         little beer, fix a little leak.
25144
25145 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25146
25147         * docs/gst/gstreamer-docs.sgml:
25148         * docs/gst/gstreamer-sections.txt:
25149         * docs/gst/tmpl/.cvsignore:
25150         * gst/Makefile.am:
25151         * gst/gst.h:
25152         * gst/gstbin.c:
25153         * gst/gstelement.h:
25154         * gst/gstindex.c: (gst_index_class_init):
25155         * gst/gstindex.h:
25156         * gst/gstindexfactory.c: (gst_index_factory_get_type),
25157         (gst_index_factory_class_init), (gst_index_factory_init),
25158         (gst_index_factory_finalize), (gst_index_factory_new),
25159         (gst_index_factory_destroy), (gst_index_factory_find),
25160         (gst_index_factory_create), (gst_index_factory_make):
25161         * gst/gstindexfactory.h:
25162         * gst/gstpluginfeature.c:
25163         * gst/gstpluginfeature.h:
25164         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25165           more docs inlined, splitted gstindex.{c,h}
25166
25167 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25168
25169         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25170           fix a leak
25171
25172 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25173
25174         * gst/elements/gstfilesink.c: (gst_file_sink_init):
25175           Set sync to FALSE by default.
25176
25177 2005-09-20  Wim Taymans  <wim@fluendo.com>
25178
25179         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25180         (gst_base_sink_init):
25181         Make sync property settable from subclass.
25182
25183         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25184         (gst_fake_sink_change_state):
25185         Set sync to FALSE by default.
25186
25187 2005-09-20  Wim Taymans  <wim@fluendo.com>
25188
25189         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25190         * tools/gst-launch.c: (main):
25191         The timeout handler should have lower priority than the source
25192         so we don't timeout before popping a message with 0 timeout.
25193         Dump error messages after failed state change.
25194
25195 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25196
25197         * tools/gst-inspect.c: (print_element_properties_info):
25198           Fix two typos.
25199
25200 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25201
25202         * check/gst/gstevent.c:
25203         * gst/elements/gstfakesink.c:
25204         * gst/elements/gstfakesink.h:
25205           remove the sync property from fakesink.
25206           has the side effect of setting sync TRUE
25207           for fakesink, which is a change.  Anyone who knows how
25208           to fix this nicely in a GObject-y way, feel free.
25209
25210 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25211
25212         * docs/gst/gstreamer-docs.sgml:
25213           remove probe refsection
25214
25215 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25216
25217         * check/Makefile.am:
25218           disable valgrinding the controller test again
25219         * docs/gst/gstreamer-sections.txt:
25220           update for api-changes
25221
25222 2005-09-20  Wim Taymans  <wim@fluendo.com>
25223
25224         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25225         (gst_base_sink_set_property), (gst_base_sink_get_property),
25226         (gst_base_sink_do_sync):
25227         * gst/base/gstbasesink.h:
25228         Added sync property to basesink to disable clock sync.
25229
25230 2005-09-20  Andy Wingo  <wingo@pobox.com>
25231
25232         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25233         eating the caller's refcount.
25234
25235         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
25236         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25237         refcount.
25238
25239         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25240         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25241         of GLib 2.8 public, so we can know which refcount to check in
25242         tests.
25243
25244         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25245         (gst_object_init): Only set the gst refcount if we're going ahead
25246         with the refcount hack.
25247
25248 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25249
25250         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25251         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25252           more leaks plumbed, added more debug-logging
25253         * gst/gstmacros.h:
25254           whitespace fix
25255
25256 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25257
25258         * gst/gstmessage.c:
25259           remove include of gstmemchunk.h
25260
25261 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25262
25263         * gst/gstclock.c: (_gst_clock_id_free):
25264           Commit from the Political Party For More Atomic CVS Commits,
25265           so that people don't waste too much of their day fishing
25266           out obvious leaks out of massive commits.
25267           Oh, and fix a pretty damn obvious leak in the memchunk
25268           removal code.
25269
25270 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25271
25272         * check/Makefile.am:
25273         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25274           plug mem-leak, re-add to valgrindable tests
25275
25276 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25277
25278         * gst/gstplugin.h:
25279           unbreak the build for those who have chronic arthritis
25280           and typing "make check" is just too taxing on the hands
25281
25282 2005-09-20  Andy Wingo  <wingo@pobox.com>
25283
25284         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25285         really want it out, you should fix plugins at the same time.
25286
25287 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
25288
25289         * configure.ac:
25290         * docs/gst/gstreamer-sections.txt:
25291         * gst/gstobject.c:
25292           added missing symbols to api docs
25293           disable ref-count hack if we have glib >= 2.8
25294
25295 2005-09-19  David Schleef  <ds@schleef.org>
25296
25297         * docs/gst/Makefile.am: Ignore a few more internal headers
25298         * docs/gst/gstreamer-docs.sgml: Remove old sections
25299         * docs/gst/gstreamer-sections.txt: Remove old sections
25300         * docs/gst/tmpl/gstobject.sgml: update
25301         * docs/gst/tmpl/gstplugin.sgml: update
25302         * docs/gst/tmpl/gstpluginfeature.sgml: update
25303         * docs/random/ds/0.9-suggested-changes: update.
25304         * gst/Makefile.am: remove memchunk and trashstack, since they're
25305           not used.
25306         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25307         * gst/gst.h: don't include some headers
25308         * gst/gstchildproxy.c: add gstmarshal.h
25309         * gst/gstclock.c: Don't use memchunks
25310         * gst/gstminiobject.c: Add some docs
25311         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25312         * gst/gstobject.h: same
25313         * gst/gstplugin.c: include gstmacros.h
25314         * gst/gstplugin.h: don't include gstmacros.h, since it's private
25315         * gst/gstquery.c: don't use memchunks
25316         * gst/gstregistry.c: rename gst_registry_deinit()
25317         * gst/gstregistry.h: same
25318
25319 2005-09-19  David Schleef  <ds@schleef.org>
25320
25321         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25322         * docs/libs/gstreamer-libs-sections.txt:
25323         * docs/libs/tmpl/gstgetbits.sgml:
25324         * docs/libs/tmpl/gstputbits.sgml:
25325
25326 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
25327
25328         * win32/gstenumtypes.c:
25329         * win32/gstenumtypes.h:
25330           Update.
25331
25332 2005-09-19  Wim Taymans  <wim@fluendo.com>
25333
25334         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25335         Automatically PAUSE and RESUME a pipeline when a flushing seek
25336         is performed.
25337
25338 2005-09-19  Andy Wingo  <wingo@pobox.com>
25339
25340         * gst/gstregistry.h: Spacing fixen.
25341
25342 2005-09-19  Wim Taymans  <wim@fluendo.com>
25343
25344         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25345         Handle state change failure more correctly.
25346
25347 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25348
25349         * check/Makefile.am:
25350         * check/pipelines/cleanup.c: (run_pipeline):
25351         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25352         (GST_START_TEST):
25353           enable cleanup again after fixing the leak
25354         * docs/README:
25355           some more info on docs
25356
25357 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25358
25359         * check/Makefile.am:
25360           re-enable tests now that leaks are plugged
25361         * check/gst/gst.c:
25362         * check/gst/gstbin.c:
25363         * check/gst/gstpipeline.c:
25364           add some more tests while fixing leaks
25365         * common/check.mak:
25366           make sure binaries are uptodate when valgrinding/gdbing
25367         * gst/gst.c:
25368         * gst/gstelementfactory.c:
25369           remove a ref too many, and add a FIXME for when we get
25370           round to disposing of classes
25371         * gst/gstplugin.c:
25372           fix the refcounting when loading a plugin from a file and
25373           the code pretends that the pointer is the same even though
25374           of course it can change
25375         * gst/gstpluginfeature.c:
25376           unref plugins marked cached (a bit confusing as a name)
25377           as the docs state should be done
25378           various doc additions to explain refcounting
25379         * gst/gstregistry.c:
25380         * gst/gstregistryxml.c:
25381           debugging
25382
25383 2005-09-19  Wim Taymans  <wim@fluendo.com>
25384
25385         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25386         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25387         (send_messages), (GST_START_TEST), (gstbus_suite):
25388         * check/gst/gstpipeline.c: (GST_START_TEST):
25389         * check/pipelines/cleanup.c: (run_pipeline):
25390         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25391         (GST_START_TEST):
25392         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25393         (gst_bus_source_check), (gst_bus_source_dispatch),
25394         (gst_bus_create_watch), (gst_bus_add_watch_full),
25395         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25396         * gst/gstbus.h:
25397         * tools/gst-launch.c: (event_loop):
25398         * tools/gst-md5sum.c: (event_loop):
25399         GstBusHandler -> GstBusFunc, return value has the same meaning as
25400         any other GSource (FALSE == remove source).
25401         _add_watch() and _add_watch_full() now take a MessageType mask to
25402         only handle specific types of messages.
25403         _poll() returns the GstMessage instead of the message type to avoid
25404         race conditions.
25405         _have_pending() takes a MessageType mask now too.
25406         Added testsuite for multiple bus watches.
25407         Fix testsuites and applications for new bus API.
25408
25409 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25410
25411         * check/Makefile.am:
25412           mark a bunch of the tests as to fix until we fix them
25413
25414 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25415
25416         * common/check.mak:
25417           use GST_PLUGIN settings for valgrind tests as well, so we're
25418           valgrinding the correct thing
25419         * gst/gst.c: (init_post):
25420           plug another leak
25421
25422 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25423
25424         * gst/gst.c: (init_post), (gst_deinit):
25425         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25426         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25427         * gst/gstindex.c: (gst_index_factory_class_init),
25428         (gst_index_factory_finalize):
25429         * gst/gstobject.c: (gst_object_dispose):
25430         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25431         (gst_plugin_load_file), (gst_plugin_desc_free):
25432         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25433         (gst_plugin_feature_finalize):
25434         * gst/gstregistry.c: (gst_registry_class_init),
25435         (gst_registry_init), (gst_registry_finalize),
25436         (gst_registry_get_default), (gst_registry_deinit):
25437         * gst/gstregistry.h:
25438         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25439           various cleanups and memleak plugging.  make valgrind is happy now.
25440
25441 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25442
25443         * common/check.mak:
25444           add a check-valgrind target
25445
25446 2005-09-18  David Schleef  <ds@schleef.org>
25447
25448         * tools/gst-inspect.c: Revert the GOption code.
25449
25450 2005-09-17  David Schleef  <ds@schleef.org>
25451
25452         * check/Makefile.am: Fix environment variables.
25453         * check/gst/gstplugin.c: Fix for API changes.
25454         * tools/gst-inspect.c: Fix for API changes.
25455         * tools/gst-xmlinspect.c: Fix for API changes.
25456         * gst/gstelementfactory.c:
25457         * gst/gstplugin.c:
25458         * gst/gstplugin.h:
25459         * gst/gstpluginfeature.c:
25460         * gst/gstpluginfeature.h:
25461         * gst/gstregistry.c:
25462         * gst/gstregistry.h:
25463         * gst/gstregistryxml.c:
25464         * gst/gsttypefind.c:
25465         * gst/gsttypefindfactory.c:
25466         * gst/indexers/gstfileindex.c:
25467         * gst/indexers/gstmemindex.c:
25468         * gst/schedulers/Makefile.am:
25469           Change registry to keep track of both plugins and features,
25470           removing the feature tracking from plugins themselves.
25471
25472 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25473
25474         * check/Makefile.am:
25475         * tools/gst-register.1.in:
25476           remove gst-register
25477
25478 2005-09-15  David Schleef  <ds@schleef.org>
25479
25480         * check/gst/gstplugin.c:
25481         * gst/gstelementfactory.c:
25482         * gst/gstplugin.c:
25483         * gst/gstpluginfeature.c:
25484         * gst/gstregistry.c:
25485           Getting tired of debugging.  Disabled all the unreffing of
25486           plugins and features, which fixes the segfaults, but of
25487           course leaks like crazy.  At least playbin works.
25488
25489 2005-09-15  David Schleef  <ds@schleef.org>
25490
25491         * check/gst/gstplugin.c: (register_check_elements),
25492         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25493         More testing
25494         * gst/elements/gsttypefindelement.c: Fix refcounting.
25495         * gst/gsttypefind.c:
25496         * gst/gsttypefindfactory.c:
25497         * gst/gsttypefindfactory.h:
25498
25499 2005-09-15  David Schleef  <ds@schleef.org>
25500
25501         * gst/gstindex.c: get refcounting correct.
25502         * gst/gstregistry.c: Handle the case where a feature/plugin is
25503           not found.
25504
25505 2005-09-15  David Schleef  <ds@schleef.org>
25506
25507         * check/Makefile.am:
25508         * check/gst/gstplugin.c: Add test
25509         * gst/gstplugin.c: Fix problems noticed by testsuite
25510         * gst/gstplugin.h:
25511         * gst/gstregistry.c: 
25512         * gst/gstregistry.h:
25513
25514 2005-09-15  David Schleef  <ds@schleef.org>
25515
25516         * gst/gstplugin.c: Implement semi-decent recounting and locking
25517           in plugins and plugin features.
25518         * gst/gstplugin.h:
25519         * gst/gstpluginfeature.c:
25520         * gst/gstpluginfeature.h:
25521         * gst/gstregistry.c:
25522
25523 2005-09-15  Michael Smith <msmith@fluendo.com>
25524
25525         * gst/gstregistry.c: (gst_registry_get_feature_list):
25526           Implement this. Makes oggdemux work; decodebin still broken.
25527
25528 2005-09-14  David Schleef  <ds@schleef.org>
25529
25530         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25531           #316076)
25532         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25533         * gst/check/Makefile.am:
25534         * libs/gst/controller/Makefile.am:
25535         * libs/gst/dataprotocol/Makefile.am:
25536
25537 2005-09-14  David Schleef  <ds@schleef.org>
25538
25539         * configure.ac: Remove getbits library.  Nothing uses it, and
25540           it should be in something like liboil if someone did want
25541           to use it.
25542         * libs/gst/Makefile.am:
25543         * libs/gst/getbits/Makefile.am:
25544         * libs/gst/getbits/gbtest.c:
25545         * libs/gst/getbits/getbits.c:
25546         * libs/gst/getbits/getbits.h:
25547         * libs/gst/getbits/gstgetbits_generic.c:
25548         * libs/gst/getbits/gstgetbits_i386.s:
25549         * libs/gst/getbits/gstgetbits_inl.h:
25550
25551 2005-09-14  David Schleef  <ds@schleef.org>
25552
25553         * gst/Makefile.am: Dist glib-compat.h
25554
25555 2005-09-14  David Schleef  <ds@schleef.org>
25556
25557         * configure.ac: Remove gst/registries, since it's no longer used.
25558         * gst/registries/Makefile.am:
25559         * gst/registries/gstlibxmlregistry.c:
25560         * gst/registries/gstlibxmlregistry.h:
25561         * gst/registries/gstxmlregistry.c:
25562         * gst/registries/gstxmlregistry.h:
25563         * gst/registries/registrytest.c:
25564
25565 2005-09-14  David Schleef  <ds@schleef.org>
25566
25567         * gst/glib-compat.h:
25568         * gst/gstregistryxml.c:
25569           Convergence is near.  Seriously.
25570
25571 2005-09-14  David Schleef  <ds@schleef.org>
25572
25573         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25574         * gst/glib-compat.h:
25575           Attempt #4 to appease the buildbots.
25576
25577 2005-09-14  David Schleef  <ds@schleef.org>
25578
25579         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25580           Attempt #3.
25581
25582 2005-09-14  David Schleef  <ds@schleef.org>
25583
25584         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25585         Attempt #2.
25586
25587 2005-09-14  David Schleef  <ds@schleef.org>
25588
25589         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25590           the new functions.
25591
25592 2005-09-14  David Schleef  <ds@schleef.org>
25593
25594         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25595         * gst/glib-compat.h: Add some functions that are in newer versions
25596           of glib than we care to require.
25597         * gst/gstregistryxml.c: Use them.
25598
25599 2005-09-14  David Schleef  <ds@schleef.org>
25600
25601         * po/POTFILES.in: remove gst-register.c
25602
25603 2005-09-14  David Schleef  <ds@schleef.org>
25604
25605         * docs/gst/gstreamer-docs.sgml:
25606         * docs/gst/gstreamer-sections.txt:
25607         * docs/gst/gstreamer.types:
25608         * docs/gst/tmpl/gstelement.sgml:
25609         * docs/gst/tmpl/gstplugin.sgml:
25610         * docs/gst/tmpl/gstpluginfeature.sgml:
25611           Documentation updates for registry changes.
25612
25613 2005-09-14  David Schleef  <ds@schleef.org>
25614
25615         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25616           because we don't require glib-2.8.
25617
25618 2005-09-14  David Schleef  <ds@schleef.org>
25619
25620         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25621           registries directory.
25622
25623 2005-09-14  David Schleef  <ds@schleef.org>
25624
25625         * check/Makefile.am:
25626         * check/generic/states.c:
25627         * gst/Makefile.am:
25628         * gst/gst.c:
25629         * gst/gst.h:
25630         * gst/gst_private.h:
25631         * gst/gstelementfactory.c:
25632         * gst/gstindex.c:
25633         * gst/gstinfo.c:
25634         * gst/gstplugin.c:
25635         * gst/gstplugin.h:
25636         * gst/gstpluginfeature.c:
25637         * gst/gstpluginfeature.h:
25638         * gst/gstregistry.c:
25639         * gst/gstregistry.h:
25640         * gst/gstregistrypool.c: remove
25641         * gst/gstregistrypool.h: remove
25642         * gst/gsttypefind.c:
25643         * gst/gsttypefindfactory.c:
25644         * gst/gsturi.c:
25645         * tools/Makefile.am:
25646         * tools/gst-compprep.c:
25647         * tools/gst-inspect.c:
25648         * tools/gst-register.c: remove
25649         * tools/gst-xmlinspect.c:
25650           Registry rewrite.  Changes registry from being a file created
25651           by a tool into a simple cache file created automatically by 
25652           libgstreamer.  Removed gst-register (because it's no longer
25653           needed).  Remove registry pools, because we only have one
25654           registry implementation (XML).  Fix up other subsystems as
25655           necessary.
25656
25657 2005-09-13  Michael Smith <msmith@fluendo.com>
25658
25659         * gst/gstconfig.h.in:
25660           Don't Use windows linking attributes for MinGW. Fixes #316157
25661
25662 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25663
25664         * gst/gstutils.c: (set_state_async_thread_func),
25665         (gst_element_set_state_async):
25666           Apparently people think it's better if this function doesn't
25667           try to set the state to whatever state was asked for on the first
25668           call to this function for any object.  Seriously.
25669
25670 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25671
25672         * check/gst/gstpipeline.c: (GST_START_TEST):
25673         * docs/gst/gstreamer-sections.txt:
25674         * gst/gstutils.c: (set_state_async_thread_func),
25675         (gst_element_set_state_async):
25676         * gst/gstutils.h:
25677           add a "gst_element_set_state_async" method that
25678           sets the state and starts a thread to make sure the state
25679           change completes as best as it can
25680
25681 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25682
25683         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25684           codify design+behaviour in testsuite after discussion
25685
25686 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25687
25688         * docs/gst/tmpl/gstelement.sgml:
25689         * docs/manual/appendix-quotes.xml:
25690           add a quote
25691         * gst/gstelement.c: (gst_element_set_state):
25692           add some debug
25693
25694 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25695
25696         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25697         (gst_base_transform_prepare_output_buf),
25698         (gst_base_transform_handle_buffer):
25699         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25700         (gst_capsfilter_prepare_buf):
25701           Remove the requirement for sub-classes to call the parent
25702           implementation of prepare_output_buffer with a wrapper function.
25703           
25704         * gst/gsttaglist.h:
25705         * gst/gsttagsetter.h:
25706           Fix #define wrapper
25707
25708 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25709
25710         * docs/gst/gstreamer-sections.txt:
25711           more doc cleanups
25712
25713 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25714
25715         * docs/gst/gstreamer-sections.txt:
25716         * docs/gst/tmpl/gstelement.sgml:
25717         * docs/gst/tmpl/gstplugin.sgml:
25718         * gst/gstminiobject.c:
25719         * gst/gstvalue.h:
25720           docs now stop throwing warnings
25721
25722 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25723
25724         * docs/gst/gstreamer-sections.txt:
25725         * docs/gst/gstreamer.types:
25726         * docs/gst/tmpl/gstpad.sgml:
25727         * docs/gst/tmpl/gsttypes.sgml:
25728         * gst/base/gstadapter.h:
25729         * gst/base/gstbasesink.h:
25730         * gst/base/gstbasesrc.h:
25731         * gst/gstbin.h:
25732         * gst/gstbuffer.h:
25733         * gst/gstbus.h:
25734         * gst/gstcaps.h:
25735         * gst/gstclock.h:
25736         * gst/gstelement.h:
25737         * gst/gstevent.h:
25738         * gst/gstmessage.h:
25739         * gst/gstpad.h:
25740         * gst/gststructure.c:
25741         * gst/registries/gstlibxmlregistry.h:
25742           various documentation fixes
25743
25744 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25745
25746         * docs/gst/gstreamer-sections.txt:
25747         * docs/gst/tmpl/gstvalue.sgml:
25748           rearrange gstvalue section
25749         * gst/gstutils.c: (gst_element_state_get_name):
25750           NONE -> VOID
25751         * gst/gstvalue.c: (_gst_value_initialize):
25752         * gst/gstvalue.h:
25753           doc updates
25754
25755 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25756
25757         * check/gst-libs/controller.c:
25758           Header include fix.
25759         * gst/base/gstbasetransform.c:
25760         (gst_base_transform_default_prepare_buf),
25761         (gst_base_transform_handle_buffer):
25762         * gst/base/gstbasetransform.h:
25763           Some more basetransform changes and fixes to enable sub-classes
25764           that modify buffer metadata only.
25765         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25766         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25767         (gst_capsfilter_prepare_buf):
25768           If the output pad has fixed allowed caps and input buffers 
25769           don't have any, set the fixed caps on outgoing buffers.
25770
25771 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25772         * check/elements/identity.c: (GST_START_TEST):
25773           Make the error a little clearer when the test fails because
25774           identity made a copy of the buffer.
25775         * docs/gst/gstreamer-sections.txt:
25776           New symbols in gstbasetransform.h
25777         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25778         (gst_base_transform_init), (gst_base_transform_transform_size),
25779         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25780         (gst_base_transform_default_prepare_buf),
25781         (gst_base_transform_get_unit_size),
25782         (gst_base_transform_buffer_alloc),
25783         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25784         (gst_base_transform_change_state),
25785         (gst_base_transform_set_passthrough),
25786         (gst_base_transform_set_in_place),
25787         (gst_base_transform_is_in_place):
25788         * gst/base/gstbasetransform.h:
25789           Change BaseTransform to separate in_place operate from same_caps
25790           output. in_place implies that the element can perform the transform
25791           on incoming buffers in-place, even if the caps on the output are
25792           different.
25793           Sub-class elements can now implement special buffer allocation
25794           methods for outgoing buffers if they wish to.
25795           Big documentation addition.
25796         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25797         * gst/elements/gstelements.c:
25798           Changes for basetransform modifications.
25799         * gst/elements/Makefile.am:
25800         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25801           Compile fix. Extra debug output.
25802
25803 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25804
25805         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25806         (gst_pad_suite):
25807           add tests for valid pad naming
25808         * gst/check/gstcheck.c: (gst_check_log_message_func),
25809         (gst_check_log_critical_func):
25810           add ASSERT_WARNING
25811           remove printing of code, it is fragile when the code contains
25812           % and the line number is enough info
25813         * gst/check/gstcheck.h:
25814         * gst/gstpad.c: (gst_pad_template_new):
25815           fix memleaks
25816
25817 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25818
25819         * configure.ac:
25820           say what CHECK flags we use
25821         * docs/libs/gstreamer-libs.types:
25822         * libs/gst/controller/Makefile.am:
25823         * libs/gst/controller/gst-controller.c:
25824         * libs/gst/controller/gst-controller.h:
25825         * libs/gst/controller/gst-helper.c:
25826         * libs/gst/controller/gst-interpolation.c:
25827         * libs/gst/controller/gstcontroller.c:
25828         * libs/gst/controller/gsthelper.c:
25829         * libs/gst/controller/gstinterpolation.c:
25830         * tools/gst-inspect.c: (print_plugin_info):
25831           we don't use dashes in header names
25832
25833 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25834
25835         * check/Makefile.am:
25836         * check/gst/.cvsignore:
25837         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25838         (gst_pipeline_suite), (main):
25839           adding a test for pipelines and state changes
25840         * gst/gstutils.c: (get_state_func):
25841           add some debugging
25842         * gstreamer.spec.in:
25843           fix up spec file
25844
25845 2005-09-08  Michael Smith <msmith@fluendo.com>
25846
25847         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25848         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25849         (gst_file_src_is_seekable), (gst_file_src_get_size),
25850         (gst_file_src_start):
25851         * gst/elements/gstfilesrc.h:
25852           Various fixes for unseekable, unmmapable, and non-normal files, so
25853           that fallback to read() rather than mmap() works.
25854         * gst/gstevent.c: (gst_event_new_newsegment):
25855           Allow newsegment events with segment_start == segment_end, as will
25856           correctly happen if you use filesrc on a zero-size file, for
25857           example.
25858
25859 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25860
25861         * gst/gstplugin.c: (gst_plugin_load_file):
25862           Call g_module_close when we don't load the module
25863
25864         * gst/registries/gstlibxmlregistry.c:
25865         (gst_xml_registry_get_property):
25866           Port leak fix from 0.8
25867
25868 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25869
25870         * docs/gst/gstreamer-docs.sgml:
25871         * docs/gst/tmpl/.cvsignore:
25872         * docs/gst/tmpl/gsttrace.sgml:
25873         * docs/gst/tmpl/gsttrashstack.sgml:
25874         * gst/Makefile.am:
25875         * gst/gst.h:
25876         * gst/gstelement.h:
25877         * gst/gstevent.h:
25878         * gst/gstmessage.c:
25879         * gst/gstmessage.h:
25880         * gst/gsttag.c:
25881         * gst/gsttag.h:
25882         * gst/gsttaginterface.c:
25883         * gst/gsttaginterface.h:
25884         * gst/gsttaglist.c:
25885         * gst/gsttaglist.h:
25886         * gst/gsttagsetter.c:
25887         * gst/gsttagsetter.h:
25888         * gst/gsttrace.c:
25889         * gst/gsttrace.h:
25890         * gst/gsttrashstack.c:
25891           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25892           inlined docs for gsttrace, gsttrashstack
25893
25894 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25895
25896         * gst/Makefile.am:
25897         * gst/elements/gstbufferstore.h:
25898         * gst/elements/gsttypefindelement.c:
25899         * gst/elements/gsttypefindelement.h:
25900         * gst/gst.h:
25901         * gst/gsttypefind.c:
25902         * gst/gsttypefind.h:
25903         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25904         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25905         (gst_type_find_factory_dispose),
25906         (gst_type_find_factory_unload_thyself),
25907         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25908         (gst_type_find_factory_get_caps),
25909         (gst_type_find_factory_get_extensions),
25910         (gst_type_find_factory_call_function):
25911         * gst/gsttypefindfactory.h:
25912         * gst/registries/gstlibxmlregistry.c:
25913         * gst/registries/gstxmlregistry.c:
25914           splitted gsttypefind into gsttypefind, gsttypefindfactory
25915
25916 2005-09-07  Andy Wingo  <wingo@pobox.com>
25917
25918         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25919         condition whereby the pad's task function is entered before the
25920         pad_mode variable was set.
25921
25922 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25923
25924         * gst/gstpad.c: (gst_pad_alloc_buffer):
25925           Catch misbehaving pad_alloc functions that don't
25926           set up caps and do it for them.
25927
25928 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25929
25930         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25931           test for pipe!=NULL
25932         * docs/gst/tmpl/.cvsignore:
25933         * docs/gst/tmpl/gstmemchunk.sgml:
25934         * docs/gst/tmpl/gstparse.sgml:
25935         * docs/gst/tmpl/gsttaglist.sgml:
25936         * docs/gst/tmpl/gsttagsetter.sgml:
25937         * docs/gst/tmpl/gsttypefind.sgml:
25938         * docs/gst/tmpl/gsttypefindfactory.sgml:
25939         * gst/gstmemchunk.c:
25940         * gst/gstparse.c:
25941         * gst/gsttag.c:
25942         * gst/gsttaginterface.c:
25943         * gst/gsttypefind.c:
25944         * gst/gsttypefind.h:
25945           inlined more docs
25946
25947 === release 0.9.2 ===
25948
25949 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25950
25951         * NEWS:
25952         * RELEASE:
25953         * configure.ac:
25954           releasing 0.9.2, "South"
25955
25956 2005-09-05  Andy Wingo  <wingo@pobox.com>
25957
25958         * gst/registries/gstxmlregistry.h:
25959         * gst/registries/gstxmlregistry.c: Um... resurrect...
25960         
25961         * gst/registries/gstxmlregistry.h:
25962         * gst/registries/gstxmlregistry.c: and update to newer API.
25963         Incidentally they should be a bit faster now that they don't have
25964         to parse the caps.
25965         
25966 2005-09-05  Andy Wingo  <wingo@pobox.com>
25967
25968         * gst/registries/gstxmlregistry.h:
25969         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25970         replaced by the libxml registry a while back
25971
25972 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25973
25974         * docs/gst/tmpl/gstplugin.sgml:
25975         * gst/elements/gstelements.c:
25976         * gst/gst.c:
25977         * gst/gstplugin.c: (gst_plugin_register_func),
25978         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25979         (gst_plugin_get_source):
25980         * gst/gstplugin.h:
25981         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25982         (gst_xml_registry_save_plugin):
25983         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25984         (gst_xml_registry_save_plugin):
25985         * tools/gst-inspect.c: (print_plugin_info):
25986           add a "source" plugin description field, to represent the source
25987           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25988           will set it to PACKAGE, which is automake's idea of the name of
25989           the source project.
25990
25991 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25992
25993         * Makefile.am:
25994         * autogen.sh:
25995         * configure.ac:
25996         * docs/Makefile.am:
25997         * docs/faq/Makefile.am:
25998         * docs/gst/tmpl/gstelement.sgml:
25999         * docs/gst/tmpl/gsttypes.sgml:
26000         * docs/htmlinstall.mak:
26001         * docs/manual/Makefile.am:
26002         * docs/pwg/Makefile.am:
26003           reorganize doc build a little
26004           split out docbook and gtk-doc stuff
26005           have two separate --enable's and enable them through autogen
26006           but disable by default in configure (to be similar to other
26007           projects)
26008         * gstreamer.spec.in:
26009           clean up docs install
26010         * po/af.po:
26011         * po/az.po:
26012         * po/ca.po:
26013         * po/cs.po:
26014         * po/de.po:
26015         * po/en_GB.po:
26016         * po/fr.po:
26017         * po/it.po:
26018         * po/nb.po:
26019         * po/nl.po:
26020         * po/ru.po:
26021         * po/sq.po:
26022         * po/sr.po:
26023         * po/sv.po:
26024         * po/tr.po:
26025         * po/uk.po:
26026         * po/vi.po:
26027           translation updates
26028
26029 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
26030
26031         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
26032           Add comment.
26033           
26034         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
26035         (gst_fake_sink_change_state):
26036           Make state change function thread-safe.
26037           
26038         * gst/gstpad.c: (gst_pad_alloc_buffer):
26039           Set offset on generic buffer allocated by fallback.
26040
26041 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
26042
26043         * docs/gst/gstreamer-sections.txt:
26044         * docs/gst/tmpl/gstelement.sgml:
26045         * gst/gstpad.c:
26046         * libs/gst/controller/gst-controller.c:
26047         (gst_controlled_property_set_interpolation_mode),
26048         (gst_controlled_property_new),
26049         (gst_controller_find_controlled_property):
26050          run the wingo-magic script against the docs
26051
26052 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
26053
26054         * docs/gst/gstreamer-docs.sgml:
26055         * docs/gst/gstreamer-sections.txt:
26056         * docs/gst/tmpl/.cvsignore:
26057         * docs/gst/tmpl/gstelementdetails.sgml:
26058         * docs/gst/tmpl/gstelementfactory.sgml:
26059         * gst/gst.c:
26060         * gst/gstbus.c:
26061         * gst/gstelementfactory.c:
26062         * gst/gstelementfactory.h:
26063           merged elementdetails docs into elementfactory docs
26064           inlined both
26065
26066 2005-09-02  Andy Wingo  <wingo@pobox.com>
26067
26068         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
26069         consider this enum an enum and not a flags.
26070
26071 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
26072
26073         * docs/gst/gstreamer-docs.sgml:
26074         * docs/gst/tmpl/.cvsignore:
26075         * docs/gst/tmpl/gstghostpad.sgml:
26076         * docs/gst/tmpl/gstiterator.sgml:
26077         * docs/gst/tmpl/gstmacros.sgml:
26078         * docs/gst/tmpl/gstrealpad.sgml:
26079         * docs/gst/tmpl/gstregistry.sgml:
26080         * docs/gst/tmpl/gstregistrypool.sgml:
26081         * docs/gst/tmpl/gststructure.sgml:
26082         * docs/gst/tmpl/gstsystemclock.sgml:
26083         * docs/gst/tmpl/gsttrace.sgml:
26084         * gst/gstghostpad.c:
26085         * gst/gstmacros.h:
26086         * gst/gstmemchunk.c:
26087         * gst/gstmemchunk.h:
26088         * gst/gstqueue.c:
26089         * gst/gstregistry.c:
26090         * gst/gstregistrypool.c:
26091         * gst/gststructure.c:
26092         * gst/gstsystemclock.c:
26093           more docs inlined
26094
26095 2005-09-02  Andy Wingo  <wingo@pobox.com>
26096
26097         * gst/gstelement.h (GstState): Renamed from GstElementState,
26098         changed to be a normal enum instead of flags.
26099         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
26100         munged to be GST_STATE_CHANGE_*.
26101         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
26102         work with the new state representation.
26103         (GstStateChange): New enumeration of possible state transitions.
26104         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
26105         (GstElementClass::change_state): Pass the GstStateChange along as
26106         an argument. Helps language bindings, so they don't have to use
26107         tricky lock-needing macros like GST_STATE_CHANGE ().
26108
26109         * scripts/update-states (file): New script. Run it on a file to
26110         update it for state naming and API changes. Updates files in
26111         place.
26112
26113         * All files updated for the new API.
26114
26115 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26116
26117         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
26118         * gst/gstutils.c: (gst_util_set_value_from_string),
26119         (gst_util_set_object_arg):
26120           fix a bunch of unchecked return values
26121         * tools/gst-complete.c: (main):
26122         * gstreamer.spec.in:
26123           clean up a little
26124
26125 2005-09-01  Wim Taymans  <wim@fluendo.com>
26126
26127         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26128         (gst_base_sink_event), (gst_base_sink_do_sync),
26129         (gst_base_sink_handle_event):
26130         * gst/base/gstbasesink.h:
26131         Handle newsegments more correctly.
26132
26133         * gst/gstbus.c:
26134         Fix docs.
26135
26136         * gst/gstevent.c: (gst_event_new_newsegment):
26137         A newsegment cannot have a start_time of -1
26138
26139 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
26140
26141         * win32/gstenumtypes.c:
26142         * win32/gstenumtypes.h:
26143           Update
26144
26145 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26146
26147         * libs/gst/controller/gst-controller.c:
26148         (gst_controlled_property_set_interpolation_mode),
26149         (gst_controlled_property_new):
26150          fixed boolean again
26151
26152 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
26153
26154         * docs/faq/gst-uninstalled:
26155           add -good
26156         * gst/gstevent.c:
26157         * gst/gstevent.h:
26158           remove wrong docs
26159         * gst/gstutils.c: (gst_element_link_filtered):
26160         * gst/gstutils.h:
26161           add gst_element_link_filtered
26162
26163 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26164
26165         * docs/gst/gstreamer-docs.sgml:
26166         * docs/gst/gstreamer-sections.txt:
26167         * docs/gst/tmpl/.cvsignore:
26168         * docs/gst/tmpl/gsterror.sgml:
26169         * docs/gst/tmpl/gstfilter.sgml:
26170         * docs/gst/tmpl/gsturihandler.sgml:
26171         * docs/gst/tmpl/gsturitype.sgml:
26172         * docs/gst/tmpl/gstutils.sgml:
26173         * docs/gst/tmpl/gstxml.sgml:
26174         * gst/gsterror.c:
26175         * gst/gsterror.h:
26176         * gst/gstfilter.c:
26177         * gst/gsturi.c:
26178         * gst/gsturitype.c:
26179         * gst/gstutils.c:
26180         * gst/gstxml.c:
26181           inlined more docs, fixed double id-ref
26182
26183 2005-08-31  Wim Taymans  <wim@fluendo.com>
26184
26185         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26186         (gst_base_transform_handle_buffer):
26187         Passthrough elements don't need the caps as they don't care.
26188
26189 2005-08-31  Wim Taymans  <wim@fluendo.com>
26190
26191         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26192         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26193         Don't leak refcounts on buffers.
26194
26195 2005-08-31  Wim Taymans  <wim@fluendo.com>
26196
26197         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26198         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26199         (gst_base_transform_chain), (gst_base_transform_change_state):
26200         * gst/base/gstbasetransform.h:
26201         Handle the case where we are not negotiated more gracefully.
26202
26203 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
26204
26205         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26206         (gst_file_src_map_region):
26207           Set READONLY flag on mmap'ed buffers, otherwise
26208           gst_buffer_make_writable() won't work properly (#314708).
26209
26210 2005-08-31  Wim Taymans  <wim@fluendo.com>
26211
26212         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26213         passthrough elements can even do inplace on non writable
26214         buffers (as they don't touch them).
26215
26216 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26217
26218         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26219         (gst_test_mono_source_set_property),
26220         (gst_test_mono_source_class_init), (GST_START_TEST),
26221         (gst_controller_suite):
26222           more tests (hehe I have the most)
26223         * gst/gstbus.c:
26224           describe popping messages whenusing mulltiple sources
26225         * libs/gst/controller/gst-controller.c:
26226         (gst_controlled_property_set_interpolation_mode),
26227         (gst_controlled_property_new):
26228         * libs/gst/controller/gst-controller.h:
26229         * libs/gst/controller/gst-interpolation.c:
26230           implement boolean properties
26231
26232 2005-08-31  Wim Taymans  <wim@fluendo.com>
26233
26234         * gst/gstminiobject.c: (gst_mini_object_ref):
26235         Cannot assert that the refcount has to be positive
26236         since a disposed object can be resurrected.
26237
26238 2005-08-31  Wim Taymans  <wim@fluendo.com>
26239
26240         * gst/gstpad.c: (gst_pad_init):
26241         Revert change, need to first fix badly behaving 
26242         apps.
26243
26244 2005-08-30  Wim Taymans  <wim@fluendo.com>
26245
26246         * check/elements/fakesrc.c: (setup_fakesrc):
26247         * check/elements/identity.c: (setup_identity):
26248         Activate pads before using them.
26249
26250 2005-08-30  Wim Taymans  <wim@fluendo.com>
26251
26252         * gst/base/gstadapter.c: (gst_adapter_flush):
26253         Flushing out 0 bytes is ok for this function.
26254
26255         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26256         no newsegment gives a warning and sets the start/stop to 
26257         invalid.
26258
26259         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26260         (gst_base_transform_set_passthrough):
26261         Some debug info.
26262
26263         * gst/gstminiobject.c: (gst_mini_object_ref):
26264         Check refcount here too.
26265
26266         * gst/gstpad.c: (gst_pad_init):
26267         Pads are initially flushing and refusing data.
26268
26269         * gst/gstutils.c: (gst_element_link_pads_filtered):
26270         When adding a capsfilter element make sure it has the
26271         same state as the parent bin.
26272
26273 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26274
26275         * docs/gst/tmpl/.cvsignore:
26276         * docs/gst/tmpl/gstformat.sgml:
26277         * docs/gst/tmpl/gstversion.sgml:
26278         * gst/gstbus.h:
26279         * gst/gstformat.c:
26280         * gst/gstformat.h:
26281         * gst/gstversion.h.in:
26282           more docs and two more inlined
26283
26284 2005-08-30  Wim Taymans  <wim@fluendo.com>
26285
26286         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26287         Don't sync to clock.
26288
26289 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26290
26291         * docs/gst/gstreamer-sections.txt:
26292           ultral33t func10ns deserve to appear in the docs actually
26293         * docs/gst/tmpl/.cvsignore:
26294         * docs/gst/tmpl/gstcompat.sgml:
26295         * docs/gst/tmpl/gstconfig.sgml:
26296         * gst/check/gstcheck.c:
26297         * gst/gstcompat.h:
26298         * gst/gstconfig.h.in:
26299           inlined more docs
26300
26301 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26302
26303         * docs/gst/tmpl/.cvsignore:
26304         * docs/gst/tmpl/gstquery.sgml:
26305         * docs/gst/tmpl/gstutils.sgml:
26306         * gst/gstquery.c:
26307         * gst/gstquery.h:
26308           inlined and extended docs
26309
26310 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26311
26312         * check/gst-libs/controller.c: (GST_START_TEST),
26313         (gst_controller_suite):
26314           more tests
26315         * docs/gst/tmpl/gstutils.sgml:
26316         * docs/libs/gstreamer-libs-sections.txt:
26317         * docs/libs/tmpl/gstdataprotocol.sgml:
26318           include path fixes
26319         * examples/controller/audio-example.c: (main):
26320           controller example works now
26321         * gst/gstclock.h:
26322           doc fixes
26323         * tools/gst-inspect.c: (print_element_properties_info):
26324           show param spec flags
26325
26326 2005-08-29  Andy Wingo  <wingo@pobox.com>
26327
26328         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26329
26330 2005-08-28  Andy Wingo  <wingo@pobox.com>
26331
26332         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26333         as having two arguments instead of just one. Allows superclasses
26334         to access information on subclasses -- see the terrible for() loop
26335         in gtype.c:g_type_create_instance for the reason why. All callers
26336         changed.
26337
26338 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26339
26340         * docs/design/part-messages.txt:
26341           update info
26342         * docs/gst/tmpl/.cvsignore:
26343         * docs/gst/tmpl/gstcaps.sgml:
26344         * docs/gst/tmpl/gstclock.sgml:
26345         * gst/gstbus.c:
26346         * gst/gstcaps.c:
26347         * gst/gstcaps.h:
26348         * gst/gstclock.c:
26349         * gst/gstclock.h:
26350         * gst/gstmessage.c:
26351           added descriptions for bus and message
26352           inline caps and clock docs
26353
26354 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26355
26356         * gst/gstmessage.c:
26357         * gst/gstmessage.h:
26358           doc fixes
26359
26360 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26361
26362         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26363           fix div-by-zero
26364
26365 2005-08-26  Andy Wingo  <wingo@pobox.com>
26366
26367         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26368         element_set_state's return val.
26369         (test_2_elements): Add test that's been disabled for months.
26370
26371         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26372         can-activate-pull properties.
26373
26374         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26375         can-activate-pull properties. Implement is_seekable so fakesrc can
26376         operate in pull mode.
26377
26378         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26379         properties.
26380         (gst_base_sink_activate, gst_base_sink_activate_pull)
26381         (gst_base_sink_activate_push): Make activation mode choosing work.
26382         Cleanups.
26383         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26384         is right. Make pull mode work. Post an eos before pausing in pull
26385         mode.
26386         (gst_base_sink_change_state): Pay attention to the core's
26387         change_state() return val.
26388         
26389         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26390         has-getrange properties. Cleanups.
26391         
26392         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26393         has_getrange and replace with can_activate_pull and
26394         can_activate_push.
26395
26396         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26397         locking comments. Remove has_loop, has_chain and replace with
26398         can_activate_pull and can_activate_push.
26399
26400 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26401
26402         * configure.ac:
26403         * examples/Makefile.am:
26404         * examples/metadata/Makefile.am:
26405         * examples/metadata/read-metadata.c: (message_loop),
26406         (have_pad_handler), (make_pipeline), (print_tag), (main):
26407           Add metadata reading example that loops over a list of filenames,
26408           dumping any tags found.
26409
26410         * gst/gstbus.c: (gst_bus_dispose):
26411         * gst/gstelement.c: (gst_element_dispose):
26412           Release a few potentially-held references in dispose.
26413
26414 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26415
26416         * docs/gst/tmpl/gstminiobject.sgml:
26417           do *not* add tmpl/*.sgml files to CVS!
26418
26419 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26420
26421         * libs/gst/bytestream/.cvsignore:
26422         * libs/gst/bytestream/Makefile.am:
26423         * libs/gst/bytestream/adapter.c:
26424         * libs/gst/bytestream/adapter.h:
26425         * libs/gst/bytestream/bytestream.c:
26426         * libs/gst/bytestream/bytestream.h:
26427         * libs/gst/bytestream/filepad.c:
26428         * libs/gst/bytestream/filepad.h:
26429           removing obsolete files
26430
26431 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26432
26433         * docs/gst/gstreamer-docs.sgml:
26434         * docs/libs/gstreamer-libs-docs.sgml:
26435           disabed additional index entries again, as this makes docs-gen just
26436           slow and they aren't useful yet
26437         * docs/libs/gstreamer-libs-sections.txt:
26438           little -section.txt cleanup for libs
26439
26440 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26441
26442         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26443         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26444           fix up some debugging
26445         (gst_base_transform_get_unit_size),
26446         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26447         (gst_base_transform_handle_buffer):
26448         * gst/base/gstbasetransform.h:
26449           handle and store timed NEWSEGMENT events so that subclasses that
26450           calculate time by counting samples have a segment_start time they
26451           need to add to their timestamps - see audioresample
26452
26453 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26454
26455         * gst/gstbin.h:
26456           removed ';' from the end of macro defs
26457         * docs/gst/gstreamer-docs.sgml:
26458         * docs/gst/gstreamer-sections.txt:
26459         * docs/gst/tmpl/.cvsignore:
26460         * gst/gstbus.h:
26461         * gst/gstelement.c: (gst_element_class_init),
26462         (gst_element_set_state), (activate_pads),
26463         (gst_element_save_thyself):
26464         * gst/gstevent.c: (gst_event_new_newsegment):
26465         * gst/gstevent.h:
26466         * gst/gstiterator.c:
26467         * gst/gstiterator.h:
26468         * gst/gstpad.c:
26469         * gst/gstprobe.h:
26470         * gst/gstutils.c: (gst_pad_query_convert):
26471         * gst/gstutils.h:
26472           fixed parameter name mismatches between source, header and docs
26473           added some more docs, resolved the last batch of unused elements in
26474           docs (now someone needs to doc them)
26475
26476 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26477
26478         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26479         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26480           don't walk through the plugins backwards.  Where is all this
26481           reversed logic coming from ?
26482
26483 2005-08-25  Wim Taymans  <wim@fluendo.com>
26484
26485         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26486         (gst_base_transform_transform_size),
26487         (gst_base_transform_configure_caps),
26488         (gst_base_transform_get_unit_size),
26489         (gst_base_transform_buffer_alloc),
26490         (gst_base_transform_change_state):
26491         * gst/base/gstbasetransform.h:
26492         Cache caps unit_size.
26493         Make sure we cannot negotiate up and downstream at the
26494         same time.
26495
26496 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26497
26498         * gst/gst.c: (init_pre), (init_post):
26499           register the installed plugin path after the env var
26500         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26501         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26502           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26503           directories, so the tests can prefer uninstalled over installed
26504
26505 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26506
26507         * gst/base/gstbasetransform.h:
26508           comment
26509         * gst/gstpad.c:
26510           add to docs
26511
26512 2005-08-25  Wim Taymans  <wim@fluendo.com>
26513
26514         * gst/gstbin.c: (bin_bus_handler):
26515         Be a bit more conservative about the posted message.
26516         
26517         * gst/gstbus.c: (gst_bus_post):
26518         Some cleanups, warn wrong return values.
26519
26520 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26521
26522         * check/gst/gstbin.c: (GST_START_TEST):
26523         * gst/gstbin.c: (bin_bus_handler):
26524         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26525         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26526         (gst_message_new_warning), (gst_message_new_tag),
26527         (gst_message_new_state_changed), (gst_message_new_segment_start),
26528         (gst_message_new_segment_done), (gst_message_new_custom):
26529         * gst/gstmessage.h:
26530         * tools/gst-launch.c: (event_loop):
26531         * tools/gst-md5sum.c: (event_loop):
26532           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26533
26534 2005-08-25  Wim Taymans  <wim@fluendo.com>
26535
26536         * check/generic/states.c: (GST_START_TEST):
26537         Cleanup can be done at the end.
26538
26539         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26540         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26541         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26542         Oh boy.. Thanks for finding this, Thomas. 
26543
26544 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26545
26546         * docs/gst/gstreamer.types:
26547           added missing types
26548
26549 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26550
26551         * docs/gst/gstreamer-docs.sgml:
26552         * docs/gst/gstreamer-sections.txt:
26553         * docs/gst/tmpl/.cvsignore:
26554         * gst/gstbin.c:
26555         * gst/gstiterator.c:
26556         * gst/gstutils.c:
26557         * gst/registries/gstxmlregistry.h:
26558           added missing classes and symbols (123 more to go)
26559           removed removed symbols from section file
26560           fixed many doc-comments
26561
26562 2005-08-24  Wim Taymans  <wim@fluendo.com>
26563
26564         * check/generic/states.c: (GST_START_TEST):
26565         Make sure all tasks are stopped.
26566
26567         * check/gst/gstbin.c: (GST_START_TEST):
26568         Unref after usage for proper valgrinding.
26569
26570         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26571         Really wait for the task to stop before destroying the
26572         mutex.
26573
26574         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26575         (gst_queue_src_activate_push):
26576         Small cleanups. Don't stop the task when we did not start
26577         it.
26578
26579         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26580         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26581         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26582         (gst_task_join):
26583         * gst/gsttask.h:
26584         Protect the stream lock with the object lock.
26585         Disallow setting the stream lock when running.
26586         Add cleanup_all to wait for the threadpool to finish.
26587         Remove code to autoallocate a mutex if none was provided.
26588         Add _join() to wait for a task to stop.
26589         Protect the thread pool with a global lock.
26590
26591 2005-08-24  Wim Taymans  <wim@fluendo.com>
26592
26593         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26594         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26595         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26596         * gst/base/gstbasesink.h:
26597         Handle newsegment events correctly.
26598         Drop buffers out of the segment range.
26599
26600 2005-08-22  Andy Wingo  <wingo@pobox.com>
26601
26602         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26603         macro, implements an interface and gstimplementsinterface for a
26604         new type.
26605
26606 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26607
26608         * check/Makefile.am:
26609         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26610           add a test that does a bunch of state changes on elements
26611           needs some fixing for valgrind
26612         * check/states/sinks.c: (gst_object_suite):
26613           whitespace
26614         * gst/gstcaps.h:
26615           add prototype for gst_caps_is_equal_fixed
26616         * gst/gstplugin.c:
26617         * gst/gstregistrypool.c:
26618           doc fixes
26619
26620 2005-08-24  Andy Wingo  <wingo@pobox.com>
26621
26622         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26623         convert a negative value. Doesn't make much sense. Mostly this is
26624         here to force callers to ensure -1 maps to -1.
26625
26626 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26627
26628         * docs/pwg/advanced-types.xml:
26629           Well done to Michael for catching my deliberate introduction
26630           of this spelling mistake. 
26631         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26632         * gst/gstelement.h:
26633           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26634           unlink pads before removing the element from the bin.
26635
26636 2005-08-24  Andy Wingo  <wingo@pobox.com>
26637
26638         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26639         the same thing as GST_DEBUG=*:4.
26640         (parse_debug_level, parse_debug_category): New helper parsers.
26641
26642 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26643
26644         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26645         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26646         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26647         (gst_base_transform_buffer_alloc),
26648         (gst_base_transform_handle_buffer):
26649           use gboolean return values and pointers to size so we can use the
26650           full GST_BUFFER_SIZE range (guint) for buffer sizes
26651           use GstPadDirection for transform_caps
26652         * gst/base/gstbasetransform.h:
26653           rename get_size to get_unit_size since that's what it is
26654         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26655           use GstPadDirection for transform_caps
26656         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26657         * gst/gstutils.h:
26658           cleanup and debugging
26659
26660 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26661
26662         * gst/gstelement.c: (gst_element_class_init),
26663         (gst_element_set_state), (activate_pads),
26664         (gst_element_save_thyself):
26665         * tools/gst-compprep.c: (main):
26666         * tools/gst-inspect.c: (print_element_properties_info):
26667         * tools/gst-xmlinspect.c: (print_element_properties):
26668           Fixed long standing mem-leak
26669
26670 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26671
26672         * check/gst/gstbin.c: (GST_START_TEST):
26673         * gst/gstbin.c: (bin_bus_handler):
26674         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26675         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26676         (gst_message_new_warning), (gst_message_new_tag),
26677         (gst_message_new_state_changed), (gst_message_new_segment_start),
26678         (gst_message_new_segment_done), (gst_message_new_custom):
26679         * gst/gstmessage.h:
26680         * tools/gst-launch.c: (event_loop):
26681         * tools/gst-md5sum.c: (event_loop):
26682           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26683           that applications can sensibly post custom messages with references
26684           to their own objects.
26685
26686 2005-08-24  Andy Wingo  <wingo@pobox.com>
26687
26688         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26689         already.
26690
26691 2005-08-24  Wim Taymans  <wim@fluendo.com>
26692
26693         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26694         (gst_base_transform_transform_caps),
26695         (gst_base_transform_transform_size),
26696         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26697         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26698         (gst_base_transform_handle_buffer):
26699         * gst/base/gstbasetransform.h:
26700         Many fixes and new features added by Thomas. Can now also do
26701         transforms with variable sizes and a custom fixate_caps function.
26702
26703 2005-08-24  Wim Taymans  <wim@fluendo.com>
26704
26705         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26706         Some debugging.
26707
26708         * gst/gstclock.h:
26709         Cast to ClockTime before formatting to time.
26710
26711         * gst/gstutils.h:
26712         Cleanups.
26713
26714 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26715
26716         * check/gst-libs/controller.c: (GST_START_TEST),
26717         (gst_controller_suite):
26718         * docs/gst/tmpl/gstcaps.sgml:
26719         * docs/gst/tmpl/gstghostpad.sgml:
26720         * docs/gst/tmpl/gstquery.sgml:
26721         * docs/gst/tmpl/gstutils.sgml:
26722         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26723         (gst_object_sink_values), (gst_object_get_value_arrays),
26724         (gst_object_get_value_array):
26725           gracefully handle helper method calls to objects that are not beeing
26726           controlled, added test case for that          
26727
26728 2005-08-23  Wim Taymans  <wim@fluendo.com>
26729
26730         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26731         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26732         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26733         (gst_event_parse_qos), (gst_event_new_seek),
26734         (gst_event_parse_seek):
26735         * gst/gstevent.h:
26736         Some more debugging output and doc cleanups.
26737
26738         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26739         Fix possible deadlock.
26740
26741 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26742
26743         * docs/gst/gstreamer-docs.sgml:
26744         * docs/gst/gstreamer-sections.txt:
26745         * docs/gst/gstreamer.types:
26746         * docs/gst/tmpl/.cvsignore:
26747         * gst/gstbin.h:
26748         * gst/gstbus.c:
26749         * gst/gstelement.c:
26750         * gst/gstevent.h:
26751           added 100 symbols from gstreamer-unused.txt to the right sections
26752           fixed more broken comments
26753           added GstBus to docs
26754
26755 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26756
26757         * docs/gst/gstreamer-sections.txt:
26758         * docs/gst/tmpl/.cvsignore:
26759         * docs/gst/tmpl/gstbin.sgml:
26760         * docs/gst/tmpl/gstbuffer.sgml:
26761         * gst/base/gstbasesrc.c:
26762         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26763         * gst/gstbuffer.c:
26764         * gst/gstbuffer.h:
26765         * tools/gst-launch.1.in:
26766           inlined more doc comments, added missing comments and fixed comments
26767           fixed typos
26768
26769 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26770
26771         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26772           some debugging
26773         * gst/gstcaps.h:
26774           whitespace fixes
26775         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26776           more debugging
26777         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26778         * gst/gststructure.h:
26779           add a fixate function for booleans; add a FIXME that these func
26780           names should probably be gst_structure_fixate_*
26781
26782 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26783
26784         * docs/gst/gstreamer-docs.sgml:
26785         * docs/gst/gstreamer-sections.txt:
26786         * gst/Makefile.am:
26787         * gst/gstbin.c: (gst_bin_get_type),
26788         (gst_bin_child_proxy_get_child_by_index),
26789         (gst_bin_child_proxy_get_children_count),
26790         (gst_bin_child_proxy_init):
26791         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26792         (gst_child_proxy_get_child_by_index),
26793         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26794         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26795         (gst_child_proxy_get), (gst_child_proxy_set_property),
26796         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26797         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26798         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26799         * gst/gstchildproxy.h:
26800         * gst/parse/grammar.y:
26801         * tools/gst-inspect.c: (print_interfaces),
26802         (print_element_properties_info), (print_element_info):
26803           ported gstchildproxy over from 0.8
26804           ported gst-inspect fixes and enhancements over from 0.8
26805
26806 2005-08-22  Wim Taymans  <wim@fluendo.com>
26807
26808         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26809         (gst_base_transform_handle_buffer):
26810         Also call the transform function if we have ANY caps.
26811
26812         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26813         Fix debug info.
26814
26815 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26816
26817         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26818           Don't pretend to handle seek events if the source is not seekable
26819
26820 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26821
26822         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26823           Remove extra parameter to debug output
26824
26825         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26826         (gst_base_src_do_seek), (gst_base_src_activate_push):
26827           Fix seek event handling.
26828
26829         * gst/gstpipeline.c: (gst_pipeline_change_state):
26830         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26831         (gst_queue_src_activate_push):
26832           Don't start the src pad task on FLUSH_STOP if the pad
26833           isn't linked.
26834           Debug changes.
26835
26836 2005-08-22  Wim Taymans  <wim@fluendo.com>
26837
26838         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26839         Added check for gst_static_caps_get() refcounting.
26840
26841 2005-08-22  Wim Taymans  <wim@fluendo.com>
26842
26843         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26844         Make _static_caps_get() refcounting sane.
26845         
26846         * gst/gstelement.c: (gst_element_set_state):
26847         Add g_return_val_if_fail() to protect against segfaults.
26848
26849 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26850
26851         * docs/gst/tmpl/gstevent.sgml:
26852         * gst/gstevent.c:
26853         * gst/gstevent.h:
26854           inlined remaining docs, added missing doc comments
26855
26856 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26857
26858         * check/gst/gstbin.c: (GST_START_TEST):
26859           since we don't know when preroll is done, use refcount range
26860           check for the sink
26861         * gst/check/gstcheck.h:
26862           add macro for checking refcount range
26863
26864 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26865
26866         * check/Makefile.am:
26867           clean up environment for when registry gets built versus
26868           when actual tests are run; valgrind seems to not report
26869           leaks if GST_PLUGIN_PATH is set to some specific values
26870         * check/gst/gstbin.c: (GST_START_TEST):
26871           add more refcounting checks; maybe this exposes a
26872           preroll lock bug ?
26873         * common/check.mak:
26874         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26875         * gst/check/gstcheck.h:
26876         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26877         (gst_bin_change_state):
26878         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26879           add/fix debugging/whitespace
26880
26881 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26882
26883         * check/gst/gstevent.c: (event_probe), (test_event),
26884         (GST_START_TEST):
26885          Er, don't call gst_bin_watch_for_state_change you idiot.
26886
26887 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26888
26889         * check/Makefile.am:
26890           Use CHECK_CFLAGS and CHECK_LIBS
26891         * check/gst/gstevent.c: (event_probe), (test_event),
26892         (GST_START_TEST):
26893           Don't leak events.
26894         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26895         (gst_base_src_start), (gst_base_src_stop),
26896         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26897         (gst_base_src_change_state):
26898           Sprinkle gst_base_src_stop liberally around error paths to fix
26899           problems reusing a source after failed state changes.
26900         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26901         (helper_find_suggest), (gst_type_find_helper):
26902           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26903         * gst/gstevent.h:
26904         * docs/gst/tmpl/gstevent.sgml:
26905           Migrate part of the docs from the SGML file. Wait for ensonic to
26906           tell me how I did it wrong ;)
26907         * tools/gst-typefind.c: (main):
26908           Extra robustness to state changes between files.
26909
26910 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26911
26912         * check/Makefile.am:
26913           don't valgrind the controller test - it's leaking - Stefan, HELP
26914         * gst/check/gstcheck.c: (gst_check_message_error),
26915         (gst_check_chain_func), (gst_check_setup_element),
26916         (gst_check_teardown_element), (gst_check_setup_src_pad),
26917         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26918         (gst_check_teardown_sink_pad):
26919         * gst/check/gstcheck.h:
26920           add a bunch of methods to set up elements, and src and sink pads
26921         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26922         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26923         (GST_START_TEST):
26924           use them
26925         * gst/gstmessage.c:
26926         * gst/gsttag.h:
26927           whitespace/doc fixes
26928
26929 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26930
26931         * gst/gstelement.h:
26932           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26933           be handled by the application and not always printed as well
26934
26935 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26936
26937         * check/Makefile.am:
26938           set GST_TOOLS_DIR
26939         * gst/check/gstcheck.c: (gst_check_message_error):
26940         * gst/check/gstcheck.h:
26941           add a fail_unless_equals_int
26942           add fail_unless for error messages
26943
26944 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26945
26946         * check/Makefile.am:
26947         * check/gst.supp:
26948         * common/Makefile.am:
26949         * common/check.mak:
26950         * common/gst.supp:
26951           factor out some of the common stuff so we can use it
26952
26953 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26954
26955         * check/Makefile.am:
26956         * check/gst/gstiterator.c: (GST_START_TEST):
26957         * check/gst/gstsystemclock.c: (GST_START_TEST),
26958         (gst_systemclock_suite):
26959         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26960         * gst/gstclock.c:
26961           valgrind more tests
26962
26963 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26964
26965         * check/elements/.cvsignore:
26966         * check/elements/gstfakesrc.c:
26967           rename to name of element
26968         * check/elements/identity.c: (chain_func), (event_func),
26969         (setup_identity), (cleanup_identity), (GST_START_TEST),
26970         (identity_suite), (main):
26971           add a test for identity
26972         * check/Makefile.am:
26973         * pkgconfig/Makefile.am:
26974         * pkgconfig/gstreamer-check.pc.in:
26975         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26976         * gst/check:
26977         * gst/Makefile.am:
26978         * configure.ac:
26979           move the check stuff to a library that gets installed
26980         * check/gst-libs/controller.c: (GST_START_TEST):
26981         * check/gst-libs/gdp.c:
26982         * check/gst/gst.c: (GST_START_TEST):
26983         * check/gst/gstbin.c:
26984         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26985         * check/gst/gstbus.c:
26986         * check/gst/gstcaps.c: (GST_START_TEST):
26987         * check/gst/gstelement.c:
26988         * check/gst/gstghostpad.c:
26989         * check/gst/gstiterator.c:
26990         * check/gst/gstmessage.c:
26991         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26992         * check/gst/gstobject.c:
26993         * check/gst/gstpad.c: (GST_START_TEST):
26994         * check/gst/gststructure.c: (GST_START_TEST):
26995         * check/gst/gstsystemclock.c: (GST_START_TEST),
26996         (gst_systemclock_suite):
26997         * check/gst/gsttag.c: (gst_tag_suite):
26998         * check/gst/gstvalue.c:
26999         * check/pipelines/cleanup.c:
27000         * check/pipelines/simple_launch_lines.c:
27001         * check/states/sinks.c:
27002           change include statement
27003
27004         * docs/gst/gstreamer-sections.txt:
27005         * docs/gst/tmpl/gstpad.sgml:
27006           document more pad stuff
27007         * gst/gstminiobject.c: (gst_mini_object_ref),
27008         (gst_mini_object_unref):
27009           debug refcounting
27010
27011 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
27012
27013         * docs/gst/tmpl/gst.sgml:
27014         * gst/gst.c:
27015           eliminate another tmpl file, fix spelling in the long-description
27016
27017 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27018
27019         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27020         (test_event), (timediff), (gstevents_suite):
27021           Should fix build on 64-bit arch's
27022
27023 2005-08-18  Andy Wingo  <wingo@pobox.com>
27024
27025         Make sure that when a pipeline goes to PLAYING, that data has
27026         actually hit the sink.
27027
27028         * check/states/sinks.c (test_sink): A sink that doesn't get any
27029         data shouldn't return SUCCESS for going to either PLAYING or
27030         PAUSED. Test also the return values on the way back down.
27031
27032         * gst/gstelement.c (gst_element_set_state): When changing the
27033         state of an element currently changing state asynchronously, go to
27034         lost-state after commiting the pending state. Makes future calls
27035         to get_state continue to return ASYNC.
27036
27037         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
27038         ASYNC when going to PLAYING if we still don't have preroll, as can
27039         happen with live sources.
27040
27041 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27042
27043         * docs/pwg/advanced-types.xml:
27044           Hack long paragraph into 2 chunks as a workaround for buggy
27045           jadetex version in sid and breezy that loops infinitely and
27046           eats all RAM.
27047
27048 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27049
27050         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27051         (test_event), (timediff), (gstevents_suite):
27052           Provide more error margin in clock measurements to allow for 
27053           g_get_current_time inaccuracies.
27054
27055 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27056
27057         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27058         (test_event), (timediff), (gstevents_suite):
27059            Fix error message output so I might be able to tell why the
27060            test works here but fails on the build farm.
27061
27062 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27063
27064         * check/Makefile.am:
27065         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27066         (test_event), (timediff), (gstevents_suite), (main):
27067           I wrote a test!
27068
27069         * docs/design/part-seeking.txt:
27070           Spelling correction
27071
27072         * docs/gst/tmpl/gstevent.sgml:
27073         * docs/gst/tmpl/gstfakesrc.sgml:
27074           Docs updates.
27075
27076         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27077           Treat a buffer-without-newsegment the same as a receiving 
27078           a newsegment not in time format, and disable syncing to the clock
27079           with a warning.
27080
27081         * gst/gstbus.c: (gst_bus_set_sync_handler):
27082           Assert if anyone tries to replace the existing sync_handler for bus, 
27083           as only the owner should be setting it.
27084
27085         * gst/gstevent.h:
27086           Have a fixed set of custom event enums with events identified by
27087           their structure name (as in 0.8), rather than a free-for-all
27088           allowing collisions between enum values from different plugins.
27089
27090         * gst/gstpad.c: (gst_pad_class_init):
27091           Docs change.
27092           
27093         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27094           Handle out-of-band downstream events from the sending thread.
27095
27096 2005-08-17  Andy Wingo  <wingo@pobox.com>
27097
27098         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
27099         play-timeout==0 to mean no timeout at all. In that case, don't
27100         bother with a get_state or a warning, just return directly, even
27101         if it's ASYNC.
27102
27103         * gst/base/gstbasetransform.c: Debug changes.
27104
27105         * gst/gstutils.h:
27106         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
27107         ensure bins post state change messages. A bit of a hack but I can't
27108         think of a way to avoid it.
27109
27110         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
27111
27112 2005-08-16  Andy Wingo  <wingo@pobox.com>
27113
27114         * gst/base/gstadapter.h:
27115         * gst/base/gstadapter.c (gst_adapter_take): New function, like
27116         peek() but you own the data. Not terribly efficient atm.
27117
27118 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27119
27120         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
27121         (gst_element_found_tags):
27122         * gst/gstutils.h:
27123           Add two utility functions for tag handling.
27124
27125 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27126
27127         * docs/manual/advanced-dataaccess.xml:
27128         * docs/manual/basics-helloworld.xml:
27129           Fix docs to use _bin_add() before _link(), which fixes the examples
27130           with recent core versions (reported by Madhan Raj M
27131           <raj_madan@rediffmail.com>, #313199).
27132
27133 2005-08-16  Wim Taymans  <wim@fluendo.com>
27134
27135         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27136         Added subtract checks.
27137
27138         * docs/design/part-events.txt:
27139         Some more docs about newsegment
27140
27141         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27142         Fix FIXME
27143
27144         * gst/gstcaps.c: (gst_caps_to_string):
27145         Add comments, cleanups.
27146         
27147         * gst/gstelement.c: (gst_element_save_thyself):
27148         cleanups
27149         
27150         * gst/gstvalue.c: (gst_value_collect_int_range),
27151         (gst_string_unwrap), (gst_value_union_int_int_range),
27152         (gst_value_union_int_range_int_range),
27153         (gst_value_intersect_int_int_range),
27154         (gst_value_intersect_int_range_int_range),
27155         (gst_value_intersect_double_double_range),
27156         (gst_value_intersect_double_range_double_range),
27157         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27158         (gst_value_subtract_int_range_int),
27159         (gst_value_subtract_double_range_double),
27160         (gst_value_subtract_double_range_double_range),
27161         (gst_value_subtract_from_list), (gst_value_subtract_list),
27162         (gst_value_can_compare), (gst_value_compare_fraction):
27163         Cleanups, add comments, remove unneeded asserts.
27164
27165 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27166
27167         * tools/gst-launch.c: (event_loop):
27168           don't convert NULL structures to strings
27169
27170 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
27171
27172         * docs/gst/gstreamer-sections.txt:
27173           made some defines private
27174         * docs/gst/tmpl/gstconfig.sgml:
27175         * docs/gst/tmpl/gstqueue.sgml:
27176         * docs/gst/tmpl/gsttaglist.sgml:
27177         * docs/gst/tmpl/gsttypes.sgml:
27178         * docs/gst/tmpl/gstutils.sgml:
27179         * docs/pwg/appendix-porting.xml:
27180         * gst/base/gstbasesink.h:
27181         * gst/base/gstbasesrc.c:
27182         * gst/base/gstbasesrc.h:
27183         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27184         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27185         * gst/gstelement.c: (gst_element_class_init):
27186         * gst/gstpad.c: (gst_pad_class_init):
27187         * gst/gstqueue.c: (gst_queue_class_init):
27188         * gst/gstxml.c: (gst_xml_class_init):
27189           documented all undocumented signal inline
27190         * libs/gst/controller/gst-controller.h:
27191           added padding
27192
27193 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27194
27195         * docs/pwg/appendix-porting.xml:
27196           Document _set_link_function -> _set_setcaps_function.
27197
27198 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27199
27200         * check/Makefile.am:
27201           add a .check target for running the check
27202         * check/gst-libs/controller.c: (GST_START_TEST):
27203           cosmetic fixups
27204         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27205           complete checks for gstbuffer; would be nice if I could get the
27206           gcov stuff to work so I can see if I actually completed gstbuffer.c
27207         * check/gstcheck.h:
27208           add ASSERT_BUFFER_REFCOUNT
27209
27210 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
27211
27212         * docs/gst/gstreamer-sections.txt:
27213         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27214         * gst/gsttag.h:
27215           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27216           spew out a warning if a tag that is already registered
27217           is re-registered, unless it is re-registered with a 
27218           different type (#308438).
27219
27220 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
27221
27222         * docs/pwg/appendix-porting.xml:
27223         * docs/pwg/building-state.xml:
27224           Add some paragraphs about state changes in 0.9 to the PWG
27225           and the porting guide, in particular about the new meaning
27226           of GST_STATE_PAUSED and how to write state change functions
27227           with concurrent access by multiple threads in mind.
27228
27229 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
27230
27231         * docs/gst/gstreamer-docs.sgml:
27232         * docs/libs/gstreamer-libs-docs.sgml:
27233           added deprecation and since indexes
27234         * libs/gst/controller/gst-controller.c:
27235         * libs/gst/controller/gst-helper.c:
27236           added since tags
27237
27238
27239 2005-08-11  Wim Taymans  <wim@fluendo.com>
27240
27241         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27242         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27243         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27244         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27245         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27246         (gst_ghost_pad_set_target):
27247         Actually implement (re)setting the target on a ghostpad
27248         as described in the docs.
27249
27250 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27251
27252         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27253           Check whether GST_DEBUG_NO_COLOR environment variable is
27254           set and disable coloured debug output if that is the case.
27255
27256 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27257
27258         * gst/base/gsttypefindhelper.c: (helper_find_peek),
27259         (gst_type_find_helper):
27260           The memory returned by gst_type_find_peek() needs to
27261           stay valid until the end of a typefind function, and
27262           typefind functions may keep results from different 
27263           offsets around, so we can't just unref the buffer from
27264           the previous _peek(), but have to save all buffers 
27265           returned by _peek() until typefinding is done and only
27266           free them then.
27267
27268 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
27269
27270         * docs/gst/gstreamer-sections.txt:
27271         * gst/gstutils.h:
27272           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27273
27274 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27275
27276         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27277           Fix a pretty good memleak.
27278
27279 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27280
27281         * gst/gstiterator.h:
27282           Fix wrong include and 'make distcheck'.
27283
27284 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27285
27286         * gst/gstbin.c: (bin_bus_handler):
27287           Use gst_element_post_message() instead.
27288
27289 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27290
27291         * gst/base/gstadapter.h:
27292         * gst/base/gstbasesink.h:
27293         * gst/base/gstbasesrc.h:
27294         * gst/base/gstbasetransform.h:
27295         * gst/base/gstcollectpads.h:
27296         * gst/base/gstpushsrc.h:
27297         * gst/gstiterator.h:
27298           Add padding to our base elements' class and instance structs and
27299           to GstIterator (you will need to rebuild all plugins and apps!)
27300
27301 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27302
27303         * gst/gstbin.c: (bin_bus_handler):
27304           Make default message forwarding from child->bus to bin->bus
27305           threadsafe and make it not emit warnings if the parent has no bus.
27306
27307 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27308
27309         * gst/gstelement.c: (activate_pads):
27310           On paused->ready, set pad->caps to NULL, as is the documented
27311           behaviour in this state change. Fixes playback of series of
27312           media files when visualization is enabled in Totem.
27313
27314 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27315
27316         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27317           Allow NULL as filter-caps (which means "any").
27318
27319 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27320
27321         * docs/libs/gstreamer-libs-sections.txt:
27322         * libs/gst/controller/gst-controller.c:
27323         * libs/gst/controller/gst-controller.h:
27324         * libs/gst/controller/gst-helper.c:
27325           adding more entries to the docs and fix small doc-bugs
27326
27327 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27328
27329         * docs/gst/gstreamer-docs.sgml:
27330         * docs/gst/gstreamer-sections.txt:
27331         * docs/gst/gstreamer.types:
27332         * docs/gst/tmpl/gstbasesink.sgml:
27333         * docs/gst/tmpl/gstbasesrc.sgml:
27334         * docs/gst/tmpl/gstbasetransform.sgml:
27335         * docs/gst/tmpl/gstfakesrc.sgml:
27336         * gst/base/gstcollectpads.c:
27337         * gst/base/gstcollectpads.h:
27338         * libs/gst/controller/gst-controller.c:
27339         * libs/gst/controller/gst-controller.h:
27340         * libs/gst/controller/gst-helper.c:
27341         * libs/gst/controller/gst-interpolation.c:
27342         * libs/gst/controller/lib.c:
27343           added long/short desc for controller docs
27344           added collectpads base class docs
27345           added correct includes to base-class docs
27346
27347 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27348
27349         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27350         (gst_test_mono_source_set_property),
27351         (gst_test_mono_source_class_init), (GST_START_TEST),
27352         (gst_controller_suite):
27353         * docs/gst/gstreamer-docs.sgml:
27354         * docs/gst/gstreamer-sections.txt:
27355         * docs/gst/gstreamer.types:
27356         * docs/libs/gstreamer-libs-docs.sgml:
27357         * docs/libs/gstreamer-libs-sections.txt:
27358         * gst/base/gstadapter.c:
27359         * libs/gst/controller/gst-controller.c:
27360         (gst_controlled_property_new), (gst_controlled_property_free),
27361         (gst_controller_new_valist),
27362         (gst_controller_remove_properties_valist),
27363         (gst_controller_sink_values), (_gst_controller_finalize):
27364         * libs/gst/controller/gst-controller.h:
27365         * libs/gst/controller/gst-helper.c:
27366         (gst_object_control_properties), (gst_object_uncontrol_properties),
27367         (gst_object_get_controller), (gst_object_set_controller),
27368         (gst_object_sink_values), (gst_object_get_value_arrays),
27369         (gst_object_get_value_array):
27370           more tests (and fixes) for the controller
27371           more docs for the controller
27372           integrated companies docs for the adapter 
27373
27374 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27375
27376         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27377         (GST_START_TEST), (fakesrc_suite):
27378           add tests for sizetype
27379
27380 2005-08-04  Andy Wingo  <wingo@pobox.com>
27381
27382         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27383         fixes buffer_alloc proxying among other things.
27384
27385         * gst/base/gstbasetransform.c:
27386         * gst/base/gstbasetransform.h:
27387         Revert patch to gstbasetransform from 7-28 removing
27388         delay_configure.
27389
27390         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27391         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27392         Semantics changed, should return not the size of the output buffer
27393         but the byte size of a buffer with a given caps.
27394
27395         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27396         debug object.
27397         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27398         out) are not the pad caps until setcaps finishes.
27399         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27400         not-in-place case as well. Deal with changing from in-place to
27401         not-in-place within calling pad_alloc_buffer. Still a bit
27402         concerned about the overhead here...
27403
27404 2005-08-03  Andy Wingo  <wingo@pobox.com>
27405
27406         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27407         fixating is an error.
27408
27409 2005-08-04  Edward Hervey  <edward@fluendo.com>
27410
27411         * gst/base/gstadapter.h: 
27412         Added gst_adapter_get_type() to the header
27413
27414 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27415
27416         * check/Makefile.am:
27417         * check/gst-libs/controller.c:
27418         * libs/gst/controller/gst-controller.c:
27419         (gst_controller_new_valist):
27420           added check test suite for the controller
27421         * gst/base/gstpushsrc.c:
27422           fixed a doc typo
27423
27424 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27425
27426         * docs/gst/Makefile.am:
27427         * docs/gst/gstreamer-docs.sgml:
27428         * docs/gst/gstreamer-sections.txt:
27429         * docs/gst/gstreamer.types:
27430         * docs/gst/tmpl/gstfakesrc.sgml:
27431         * gst/base/README:
27432         * gst/base/gstbasesink.c:
27433         * gst/base/gstbasesink.h:
27434         * gst/base/gstbasesrc.c:
27435         * gst/base/gstbasesrc.h:
27436         * gst/base/gstbasetransform.c:
27437         * gst/base/gstpushsrc.c:
27438         * gst/base/gstpushsrc.h:
27439           add short/long description docs to base classes
27440           add pushsrc to the docs
27441           remove consolidated doc fragments
27442
27443 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27444
27445         * configure.ac:
27446         * docs/libs/Makefile.am:
27447         * docs/libs/gstreamer-libs-docs.sgml:
27448         * docs/libs/gstreamer-libs-sections.txt:
27449         * docs/libs/gstreamer-libs.types:
27450         * examples/Makefile.am:
27451         * examples/controller/.cvsignore:
27452         * examples/controller/Makefile.am:
27453         * examples/controller/audio-example.c: (main):
27454         * libs/gst/Makefile.am:
27455         * libs/gst/controller/.cvsignore:
27456         * libs/gst/controller/Makefile.am:
27457         * libs/gst/controller/gst-controller.c:
27458         (on_object_controlled_property_changed), (gst_timed_value_compare),
27459         (gst_timed_value_find),
27460         (gst_controlled_property_set_interpolation_mode),
27461         (gst_controlled_property_new), (gst_controlled_property_free),
27462         (gst_controller_find_controlled_property),
27463         (gst_controller_new_valist), (gst_controller_new),
27464         (gst_controller_remove_properties_valist),
27465         (gst_controller_remove_properties), (gst_controller_set),
27466         (gst_controller_set_from_list), (gst_controller_unset),
27467         (gst_controller_get), (gst_controller_get_all),
27468         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27469         (gst_controller_get_value_array),
27470         (gst_controller_set_interpolation_mode),
27471         (_gst_controller_finalize), (_gst_controller_init),
27472         (_gst_controller_class_init), (gst_controller_get_type):
27473         * libs/gst/controller/gst-controller.h:
27474         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27475         (g_object_uncontrol_properties), (g_object_get_controller),
27476         (g_object_set_controller), (g_object_sink_values),
27477         (g_object_get_value_arrays), (g_object_get_value_array):
27478         * libs/gst/controller/gst-interpolation.c:
27479         (gst_controlled_property_find_timed_value_node),
27480         (interpolate_none_get), (interpolate_trigger_get),
27481         (interpolate_trigger_get_value_array):
27482         * libs/gst/controller/lib.c: (gst_controller_init):
27483         * pkgconfig/Makefile.am:
27484         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27485         * pkgconfig/gstreamer-control.pc.in:
27486         * testsuite/Makefile.am:
27487         * testsuite/controller/.cvsignore:
27488         * testsuite/controller/Makefile.am:
27489         * testsuite/controller/interpolator.c: (main):
27490           added controller code
27491           removed dparam pc files
27492
27493 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27494         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27495         (gst_collectpads_stop):
27496           Broadcast the condition when shutting down, to make sure we wake all
27497           threads up. Shut down pads on finalize, for safety.
27498
27499 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27500         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27501         (gst_base_transform_handle_buffer),
27502         (gst_base_transform_change_state):
27503           Handle PAUSED->READY->PAUSED transition after negotiation
27504           occurred already.
27505         * gst/gstmessage.c: (gst_message_init):
27506           Extra piece of debug for new messages.
27507
27508 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27509
27510         * configure.ac:
27511         * docs/gst/tmpl/gstbasesrc.sgml:
27512         * docs/gst/tmpl/gstelement.sgml:
27513         * docs/gst/tmpl/gstevent.sgml:
27514         * docs/gst/tmpl/gstfakesrc.sgml:
27515         * docs/gst/tmpl/gstformat.sgml:
27516         * docs/gst/tmpl/gstghostpad.sgml:
27517         * docs/gst/tmpl/gstpad.sgml:
27518         * docs/gst/tmpl/gstquery.sgml:
27519         * docs/gst/tmpl/gststructure.sgml:
27520         * docs/gst/tmpl/gsttaglist.sgml:
27521         * docs/gst/tmpl/gstvalue.sgml:
27522         * docs/libs/gstreamer-libs-docs.sgml:
27523         * docs/libs/gstreamer-libs-sections.txt:
27524         * docs/libs/gstreamer-libs.types:
27525         * libs/gst/Makefile.am:
27526         * libs/gst/control/.cvsignore:
27527         * libs/gst/control/Makefile.am:
27528         * libs/gst/control/control.c:
27529         * libs/gst/control/control.h:
27530         * libs/gst/control/dparam.c:
27531         * libs/gst/control/dparam.h:
27532         * libs/gst/control/dparam_smooth.c:
27533         * libs/gst/control/dparam_smooth.h:
27534         * libs/gst/control/dparamcommon.h:
27535         * libs/gst/control/dparammanager.c:
27536         * libs/gst/control/dparammanager.h:
27537         * libs/gst/control/dplinearinterp.c:
27538         * libs/gst/control/dplinearinterp.h:
27539         * libs/gst/control/unitconvert.c:
27540         * libs/gst/control/unitconvert.h:
27541         * testsuite/Makefile.am:
27542         * testsuite/dynparams/.cvsignore:
27543         * testsuite/dynparams/Makefile.am:
27544         * testsuite/dynparams/dparamstest.c:
27545         * tools/Makefile.am:
27546         * tools/gst-inspect.c: (print_element_info), (main):
27547         * tools/gst-xmlinspect.c: (print_element_info), (main):
27548           deactivate and remove dparams (libgstcontrol)
27549
27550 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27551
27552         * gst/elements/gsttypefindelement.c:
27553         (gst_type_find_element_have_type), (gst_type_find_element_init),
27554         (stop_typefinding), (gst_type_find_element_handle_event),
27555         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27556         * gst/elements/gsttypefindelement.h:
27557           Set caps on all outgoing buffers, not just the first one.
27558
27559 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27560
27561         * gst/elements/gsttypefindelement.c:
27562         (gst_type_find_element_have_type),
27563         (gst_type_find_element_check_set_buffer_caps),
27564         (gst_type_find_element_init), (stop_typefinding),
27565         (gst_type_find_element_handle_event),
27566         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27567         * gst/elements/gsttypefindelement.h:
27568           Set caps on first outgoing buffer when we've found the type.
27569
27570 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27571
27572         * docs/gst/gstreamer-docs.sgml:
27573         * docs/gst/gstreamer-sections.txt:
27574         * docs/gst/tmpl/gstscheduler.sgml:
27575         * docs/gst/tmpl/gstschedulerfactory.sgml:
27576           Remove some old cruft from docs.
27577
27578 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27579
27580         * gst/gstpad.h:
27581           Fix inline docs for GstPadLinkReturn.
27582           
27583         * gst/gststructure.c: (gst_structure_has_name):
27584         * gst/gststructure.h:
27585         * docs/gst/gstreamer-sections.txt:
27586           New API: gst_structure_has_name().
27587
27588 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27589
27590         * configure.ac:
27591           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27592           and _LARGEFILE_SOURCE in config.h as required. Do not 
27593           export those flags in our .pc files any longer (#142209).
27594
27595           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27596
27597         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27598         (gst_file_sink_do_seek), (gst_file_sink_event),
27599         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27600           Redo seek/tell calls with large file support in mind; add some
27601           debugging messages; add log message that tells us when large
27602           file support is unavailable or not enabled for some reason.
27603
27604         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27605           Add log message that tells us when large file support 
27606           is unavailable or not enabled for some reason.
27607
27608 2005-07-29  Wim Taymans  <wim@fluendo.com>
27609
27610         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27611         Added test for removing an element with ghostpad from a bin.
27612         Fixed test as current implementation does the right thing.
27613
27614         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27615         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27616         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27617         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27618         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27619         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27620         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27621         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27622         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27623         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27624         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27625         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27626         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27627         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27628         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27629         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27630         * gst/gstghostpad.h:
27631         Clean up ghostpads, remove properties for internal stuff.
27632         Make threadsafe.
27633         Fix refcounting.
27634         Prepare for switching targets, not all use cases work yet.
27635
27636 2005-07-29  Wim Taymans  <wim@fluendo.com>
27637
27638         * docs/design/part-gstghostpad.txt:
27639         Small update.
27640
27641         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27642         (gst_bin_remove_func):
27643         Unlinking pads while holding the bin LOCK is not a good
27644         idea.
27645
27646         * gst/gstpad.c: (gst_pad_class_init),
27647         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27648         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27649         No prob setting template after creating the pad.
27650
27651 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27652
27653         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27654         (gst_bus_peek), (gst_bus_source_dispatch),
27655         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27656         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27657           gst_bus_poll may be called from other threads. Handle
27658           this nicely by not making poll_data disappear off the
27659           stack once gst_bus_poll returns.
27660           gst_bus_peek now increments the refcount on the returned
27661           message.
27662
27663 2005-07-29  Wim Taymans  <wim@fluendo.com>
27664
27665         * docs/design/part-gstghostpad.txt:
27666         Overview of current GhostPad datastructures and use
27667         cases for changing the target.
27668
27669 2005-07-28  Wim Taymans  <wim@fluendo.com>
27670
27671         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27672         Added checks for hierarchy consistency whan adding linked
27673         elements to bins.
27674
27675         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27676         Added check to test element scheduling without bin/pipeline.
27677
27678         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27679         First add elements to bin, then link.
27680         
27681         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27682         (gst_bin_remove_func):
27683         Unlink pads from elements added/removed from bin to maintain
27684         hierarchy consistency.
27685
27686 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27687
27688         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27689         (gst_base_transform_handle_buffer):
27690         * gst/base/gstbasetransform.h:
27691           Remove broken delay_configure (fixes renegotiation of software
27692           scaling pipelines); remove some leftover printf()s.
27693
27694 2005-07-28  Wim Taymans  <wim@fluendo.com>
27695
27696         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27697         Added some more tests for wrong hierarchy
27698
27699         * docs/design/part-overview.txt:
27700         Some updates.
27701
27702         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27703         Cleanups.
27704
27705         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27706         (gst_element_dispose):
27707         Some more cleanups.
27708
27709         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27710         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27711         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27712         (gst_pad_set_caps), (gst_pad_send_event):
27713         Check for correct hierarchy when linking pads. Moving to
27714         strict requirement for ghostpads when linking elements in
27715         different bins.
27716
27717         * gst/gstpad.h:
27718         Clean ups. Added WRONG_HIERARCHY return value.
27719
27720 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27721
27722         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27723           Better debug if no transform is possible.
27724
27725 2005-07-27  Wim Taymans  <wim@fluendo.com>
27726
27727         * docs/random/wtay/network-transp:
27728         Some old doc I had.
27729
27730 2005-07-27  Wim Taymans  <wim@fluendo.com>
27731
27732         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27733         (gst_dp_event_from_packet):
27734         Fix serialization of seek events.
27735
27736 2005-07-27  Wim Taymans  <wim@fluendo.com>
27737
27738         * check/gst-libs/gdp.c: (GST_START_TEST):
27739         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27740         Fix compilation and fix event serialization.
27741
27742 2005-07-27  Wim Taymans  <wim@fluendo.com>
27743
27744         * CHANGES-0.9:
27745         * docs/design/part-TODO.txt:
27746         * docs/design/part-events.txt:
27747         Some docs updates
27748
27749         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27750         (gst_base_sink_event), (gst_base_sink_do_sync),
27751         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27752         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27753         (gst_base_src_do_seek), (gst_base_src_event_handler),
27754         (gst_base_src_loop):
27755         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27756         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27757         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27758         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27759         (gst_base_transform_set_passthrough),
27760         (gst_base_transform_is_passthrough):
27761         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27762         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27763         Event updates.
27764
27765         * gst/gstbuffer.h:
27766         Use faster casts.
27767
27768         * gst/gstelement.c: (gst_element_seek):
27769         * gst/gstelement.h:
27770         Update gst_element_seek.
27771
27772         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27773         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27774         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27775         (gst_event_new_eos), (gst_event_new_newsegment),
27776         (gst_event_parse_newsegment), (gst_event_new_tag),
27777         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27778         (gst_event_parse_qos), (gst_event_new_seek),
27779         (gst_event_parse_seek), (gst_event_new_navigation):
27780         * gst/gstevent.h:
27781         Make GstEvent use GstStructure. Add parsing code, make sure the
27782         API is sufficiently generic.
27783         Mark possible directions of events and serialization.
27784
27785         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27786         (_gst_message_copy), (gst_message_new_segment_start),
27787         (gst_message_new_segment_done), (gst_message_new_custom),
27788         (gst_message_parse_segment_start),
27789         (gst_message_parse_segment_done):
27790         Small cleanups.
27791
27792         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27793         (gst_pad_set_caps), (gst_pad_send_event):
27794         Update for new events. 
27795         Catch events sent in wrong directions.
27796
27797         * gst/gstqueue.c: (gst_queue_link_src),
27798         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27799         (gst_queue_handle_src_query):
27800         Event updates.
27801
27802         * gst/gsttag.c:
27803         * gst/gsttag.h:
27804         Remove event code from this file.
27805
27806         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27807         (gst_dp_event_from_packet):
27808         Event updates.
27809
27810 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27811
27812         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27813         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27814         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27815           Make debugging actually useful.
27816
27817 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27818
27819         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27820         (gst_pad_fixate_caps):
27821           Implement default fixation once again, so that gst_pad_fixate()
27822           actually does anything at all. This probably needs to be some
27823           sort of a last resort, and use profile-based fixation first, but
27824           since that doesn't exist yet, this is the best we have. Fixes
27825           visualization in Totem.
27826
27827 2005-07-22  Wim Taymans  <wim@fluendo.com>
27828
27829         * docs/design/part-events.txt:
27830         Small update.
27831
27832         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27833         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27834         (gst_base_sink_activate_pull):
27835         Some more comments.
27836
27837         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27838         (gst_fake_src_create):
27839         Fix handoff marshall.
27840
27841         * gst/elements/gstidentity.c: (gst_identity_class_init),
27842         (gst_identity_transform_ip):
27843         We're a real inplace element.
27844
27845         * gst/gstbus.c: (gst_bus_post):
27846         Added some comments.
27847
27848         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27849         * tests/muxing/case1.c: (main):
27850         * tests/sched/dynamic-pipeline.c: (main):
27851         * tests/sched/interrupt1.c: (main):
27852         * tests/sched/interrupt2.c: (main):
27853         * tests/sched/interrupt3.c: (main):
27854         * tests/sched/runxml.c: (main):
27855         * tests/sched/sched-stress.c: (main):
27856         * tests/seeking/seeking1.c: (event_received), (main):
27857         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27858         (main):
27859         * tests/threadstate/threadstate3.c: (main):
27860         * tests/threadstate/threadstate4.c: (main):
27861         * tests/threadstate/threadstate5.c: (main):
27862         Fix the tests.
27863
27864 2005-07-21  Wim Taymans  <wim@fluendo.com>
27865
27866         * docs/design/part-seeking.txt:
27867         Some small additions.
27868
27869         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27870         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27871         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27872         * gst/base/gstbasesink.h:
27873         discont values are gint64, handle the math correctly.
27874
27875         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27876         Make the basesrc report error if the source pad is not linked.
27877
27878         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27879         (gst_queue_loop), (gst_queue_handle_src_query),
27880         (gst_queue_src_activate_push):
27881         Make queue collect data even if the srcpad is not linked.
27882         Start pushing out data as soon as it is linked.
27883
27884         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27885         * gst/gstutils.h:
27886         Added gst_flow_get_name() to ease error reporting.
27887
27888 2005-07-20  Wim Taymans  <wim@fluendo.com>
27889
27890         * gst/gstmessage.c: (gst_message_new_segment_start),
27891         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27892         (gst_message_parse_segment_done):
27893         * gst/gstmessage.h:
27894         Added a bunch of messages for advanced seeking.
27895
27896         * gst/parse/grammar.y:
27897         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27898         (gst_dpman_state_changed):
27899         Fix some new-pad -> pad-added signals
27900
27901 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27902
27903         * docs/manual/appendix-porting.xml:
27904         * docs/pwg/appendix-porting.xml:
27905           Document new-pad/state-change signal renames and the FixedList
27906           type rename.
27907
27908 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27909
27910         * docs/manual/advanced-autoplugging.xml:
27911         * docs/manual/basics-helloworld.xml:
27912         * docs/manual/basics-pads.xml:
27913         * docs/random/ds/0.9-suggested-changes:
27914         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27915         * gst/gstelement.h:
27916         * gst/gstevent.h:
27917         * gst/gstformat.h:
27918         * gst/gstquery.h:
27919         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27920         (gst_structure_parse_array), (gst_structure_parse_value):
27921         * gst/gstvalue.c: (gst_type_is_fixed),
27922         (gst_value_list_prepend_value), (gst_value_list_append_value),
27923         (gst_value_list_get_size), (gst_value_list_get_value),
27924         (gst_value_transform_array_string), (gst_value_serialize_array),
27925         (gst_value_deserialize_array), (gst_value_intersect_array),
27926         (gst_value_is_fixed), (_gst_value_initialize):
27927         * gst/gstvalue.h:
27928           GstElement::new-pad -> pad-added, GstElement::state-change ->
27929           state-changed, GstValueFixedList -> GstValueArray, add format and
27930           flags as their own arguments in gst_element_seek() (should improve
27931           "bindeability"), remove function generators since they don't work
27932           under a whole bunch of compilers (they were deprecated already
27933           anyway).
27934
27935 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27936
27937         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27938         (_gst_debug_register_funcptr):
27939         * gst/gstinfo.h:
27940           Fix illegal cast on some platforms (#309253).
27941
27942 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27943
27944         * gst/gstmessage.c: (gst_message_new_custom):
27945         * gst/gstmessage.h:
27946           Add _new_custom, make _new_application a macro to _new_custom.
27947
27948 2005-07-20  Wim Taymans  <wim@fluendo.com>
27949
27950         * gst/base/gstbasesrc.c: (gst_base_src_init),
27951         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27952         * gst/base/gstbasesrc.h:
27953         Add a gboolean to decide when to push out a discont.
27954
27955         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27956         (gst_queue_loop), (gst_queue_handle_src_query),
27957         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27958         (gst_queue_set_property), (gst_queue_get_property):
27959         Some cleanups.
27960
27961         * tests/threadstate/threadstate1.c: (main):
27962         Make a thread test compile and run... very silly..
27963
27964
27965 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27966
27967         * docs/manual/appendix-porting.xml:
27968           Mention removal of libgstgconf-0.9.la and existence of gconf
27969           elements.
27970
27971 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27972
27973         * docs/pwg/advanced-clock.xml:
27974         * docs/pwg/appendix-porting.xml:
27975         * docs/pwg/intro-preface.xml:
27976         * docs/pwg/other-base.xml:
27977         * docs/pwg/other-manager.xml:
27978         * docs/pwg/other-nton.xml:
27979         * docs/pwg/other-ntoone.xml:
27980         * docs/pwg/other-oneton.xml:
27981         * docs/pwg/pwg.xml:
27982           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27983           demuxer), remove n-to-n (was never written), fix some code examples
27984           and links and update the porting section to include all this.
27985
27986 2005-07-19  Wim Taymans  <wim@fluendo.com>
27987
27988         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27989         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27990         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27991         (gst_queue_src_activate_push), (gst_queue_change_state),
27992         (gst_queue_get_property):
27993         * gst/gstqueue.h:
27994         Propagate GstFlowReturn more intelligently upstream and output
27995         an ERROR/EOS when streaming stopped due to fatal error.
27996
27997 2005-07-19  Wim Taymans  <wim@fluendo.com>
27998
27999         * tools/gst-launch.c: (check_intr), (event_loop), (main):
28000         Don't block forever for the state change to complete, the
28001         pipeline already did with a sensible timeout.
28002
28003 2005-07-19  Wim Taymans  <wim@fluendo.com>
28004
28005         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
28006         Make sure we never call the create function is we
28007         got deactivated.
28008
28009 2005-07-19  Andy Wingo  <wingo@pobox.com>
28010
28011         * gst/parse/parse.l: Attempt to solve bug #172815.
28012
28013 2005-07-19  Wim Taymans  <wim@fluendo.com>
28014
28015         * docs/design/part-clocks.txt:
28016         * docs/design/part-events.txt:
28017         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
28018         Small docs updates.
28019         Only update the seeking values when we are not
28020         busy streaming.
28021
28022 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
28023
28024         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28025           Oops, ignore the result of gst_pad_push_event here.
28026
28027 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
28028
28029         * gst/base/gstbasesrc.c: (gst_base_src_loop),
28030         (gst_base_src_activate_push):
28031           Send discont event from the loop function, as pads
28032           aren't activated yet in the activate_push handler.
28033
28034         * gst/gstbin.c: (bin_bus_handler):
28035           Don't leak element name.
28036
28037 2005-07-18  Andy Wingo  <wingo@pobox.com>
28038
28039         * configure.ac: Use AS_LIBTOOL_TAGS.
28040
28041 2005-07-18  Wim Taymans  <wim@fluendo.com>
28042
28043         * docs/gst/gstreamer.types:
28044         Remove deleted types.
28045
28046 2005-07-18  Wim Taymans  <wim@fluendo.com>
28047
28048         * check/elements/gstfakesrc.c: (GST_START_TEST):
28049         * configure.ac:
28050         * gst/Makefile.am:
28051         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
28052         (init_popt_callback):
28053         * gst/gst.h:
28054         * gst/gst_private.h:
28055         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
28056         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
28057         * gst/gstbin.h:
28058         * gst/gstbus.h:
28059         * gst/gstconfig.h.in:
28060         * gst/gstelement.c: (gst_element_class_init),
28061         (gst_element_set_base_time), (gst_element_get_base_time),
28062         (iterator_fold_with_resync), (gst_element_change_state),
28063         (gst_element_dispose), (gst_element_get_bus):
28064         * gst/gstelement.h:
28065         * gst/gstelementfactory.h:
28066         * gst/gsterror.c: (_gst_core_errors_init):
28067         * gst/gsterror.h:
28068         * gst/gstevent.h:
28069         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28070         * gst/gstindex.c:
28071         * gst/gstinfo.c: (_gst_debug_init):
28072         * gst/gstmessage.c: (_gst_message_copy):
28073         * gst/gstmessage.h:
28074         * gst/gstminiobject.h:
28075         * gst/gstobject.c:
28076         * gst/gstobject.h:
28077         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28078         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
28079         * gst/gstpad.h:
28080         * gst/gstparse.h:
28081         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28082         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28083         (gst_pipeline_get_last_stream_time):
28084         * gst/gstpipeline.h:
28085         * gst/gstpluginfeature.h:
28086         * gst/gstquery.h:
28087         * gst/gstscheduler.c:
28088         * gst/gstscheduler.h:
28089         * gst/gststructure.h:
28090         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28091         (gst_task_finalize), (gst_task_func), (gst_task_create),
28092         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
28093         (gst_task_stop), (gst_task_pause):
28094         * gst/gsttask.h:
28095         * gst/gsttypefind.h:
28096         * gst/gsttypes.h:
28097         * gst/registries/gstlibxmlregistry.c: (load_feature),
28098         (gst_xml_registry_load), (gst_xml_registry_save_feature):
28099         * gst/registries/gstxmlregistry.c:
28100         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
28101         * gst/schedulers/threadscheduler.c:
28102         * libs/gst/control/dparammanager.h:
28103         * tools/gst-inspect.c: (print_element_list),
28104         (print_plugin_features), (print_element_features):
28105         * tools/gst-xmlinspect.c: (print_element_list),
28106         (print_plugin_info), (main):
28107         Removed plugable schedulers.
28108         Removed Scheduler/Manager from elements.
28109         Removed gsttypes.h, rearranged includes.
28110         Removed dependency pad<->element, element<>pipeline, and
28111         various others,  fix includes.
28112         implement gst_pad_get_parent() with gst_object_get_parent()
28113         Make GstTask sefcontained.
28114         Fix _get_state() on GstBin, it did not return ASYNC with a 0
28115         timeout.
28116         Fix endless loop in iterator_fold_with_resync.
28117
28118
28119 2005-07-18  Wim Taymans  <wim@fluendo.com>
28120
28121         * gst/Makefile.am:
28122         * gst/gstarch.h:
28123         Remove old file.
28124
28125 2005-07-18  Wim Taymans  <wim@fluendo.com>
28126
28127         * gst/Makefile.am:
28128         No more cothreads.h
28129
28130 2005-07-18  Wim Taymans  <wim@fluendo.com>
28131
28132         * gst/cothreads.c:
28133         * gst/cothreads.h:
28134         Let's remove these.
28135
28136 2005-07-18  Wim Taymans  <wim@fluendo.com>
28137
28138         * docs/design/part-dynamic.txt:
28139         * docs/design/part-events.txt:
28140         * docs/design/part-seeking.txt:
28141         Some more docs in the works.
28142
28143         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28144         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28145         (gst_base_transform_setcaps), (gst_base_transform_get_size),
28146         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28147         (gst_base_transform_handle_buffer),
28148         (gst_base_transform_sink_activate_push),
28149         (gst_base_transform_src_activate_pull),
28150         (gst_base_transform_set_passthrough),
28151         (gst_base_transform_is_passthrough):
28152         Refcounting fixes.
28153
28154         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28155         Cleanups.
28156
28157         * gst/gstevent.c: (gst_event_finalize):
28158         Set SRC to NULL.
28159
28160         * gst/gstutils.c: (gst_element_unlink),
28161         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28162         (gst_pad_proxy_setcaps):
28163         * gst/gstutils.h:
28164         Add _get_parent_element() to get a pads parent as an element.
28165
28166 2005-07-18  Wim Taymans  <wim@fluendo.com>
28167
28168         * check/gst/gstbin.c: (GST_START_TEST):
28169         Remove bogus test.
28170
28171 2005-07-18  Wim Taymans  <wim@fluendo.com>
28172
28173         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28174         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28175         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28176         (gst_base_sink_event), (gst_base_sink_do_sync),
28177         (gst_base_sink_chain), (gst_base_sink_loop),
28178         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28179         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28180         Refcounting fixes.
28181         Fix logic for returning ASYNC when not prerolled.
28182
28183 2005-07-18  Wim Taymans  <wim@fluendo.com>
28184
28185         * gst/gstqueue.c: (gst_queue_handle_sink_event):
28186         Fix nasty refcount bug.
28187
28188 2005-07-16 Philippe Khalaf <burger@speedy.org>
28189
28190         * gst/elements/gstfdsrc.c:
28191         * gst/elements/gstfdsrc.h:
28192         * gst/elements/gstelements.c:
28193         * gst/elements/Makefile.am:
28194         Ported fdsrc to 0.9.
28195
28196 2005-07-16  Wim Taymans  <wim@fluendo.com>
28197
28198         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28199         (gst_base_sink_do_sync):
28200         Fix compile error.
28201
28202 2005-07-16  Wim Taymans  <wim@fluendo.com>
28203
28204         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28205         (gst_base_sink_event), (gst_base_sink_get_times),
28206         (gst_base_sink_do_sync), (gst_base_sink_change_state):
28207         * gst/base/gstbasesink.h:
28208         Store and use discont values when syncing buffers as described
28209         in design docs.
28210         
28211         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28212         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28213         (gst_base_src_activate_push):
28214         Push discont event when starting.
28215
28216         * gst/elements/gstidentity.c: (gst_identity_transform):
28217         Small cleanups.
28218
28219         * gst/gstbin.c: (gst_bin_change_state):
28220         Small cleanups in base_time  distribution.
28221
28222         * gst/gstelement.c: (gst_element_set_base_time),
28223         (gst_element_get_base_time), (gst_element_change_state):
28224         * gst/gstelement.h:
28225         Added methods for the base_time of the element.
28226         Some MT fixes.
28227
28228         * gst/gstpipeline.c: (gst_pipeline_send_event),
28229         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28230         (gst_pipeline_get_last_stream_time):
28231         * gst/gstpipeline.h:
28232         MT fixes.
28233         Handle seeking as described in design doc, remove stream_time
28234         hack.
28235         Cleanups clock and stream_time selection code. Added accessors
28236         for the stream_time.
28237         
28238
28239 2005-07-16  Andy Wingo  <wingo@pobox.com>
28240
28241         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28242         (#305291).
28243
28244 2005-07-16  Wim Taymans  <wim@fluendo.com>
28245
28246         * check/gst/gstbin.c: (GST_START_TEST):
28247         Make elements silent as the deep_notify refs the
28248         parent, which might make the test fail.
28249
28250         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28251         Don't hold the lock for too long.
28252
28253 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
28254
28255         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28256           Don't unref the caps we passed to gst_caps_make_writable() after
28257           passing them. gst_caps_make_writable() will do that for us.
28258
28259 2005-07-15  Andy Wingo  <wingo@pobox.com>
28260
28261         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28262         (#157311).
28263
28264         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28265         own marshalling function for the handoff signal. Properly type the
28266         buffer as a buffer. Fixes some warnings. Should do a more general
28267         solution.
28268         (gst_identity_class_init): Plug into the right marshaller.
28269
28270 2005-07-15  Wim Taymans  <wim@fluendo.com>
28271
28272         * docs/design/part-TODO.txt:
28273         * docs/design/part-clocks.txt:
28274         * docs/design/part-element-sink.txt:
28275         * docs/design/part-events.txt:
28276         * docs/design/part-gstpipeline.txt:
28277         Updated docs, mostly DISCONT related.
28278
28279 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
28280
28281         * docs/pwg/building-pads.xml:
28282           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28283
28284 2005-07-15  Andy Wingo  <wingo@pobox.com>
28285
28286         * tools/gst-typefind.c: Update, add copyright block.
28287
28288         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28289         Normalize and truncate caps before fixation.
28290
28291         * gst/gstcaps.h:
28292         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28293         discards all but the first structure from its argument.
28294
28295 2005-07-15  Wim Taymans  <wim@fluendo.com>
28296
28297         * gst/base/gstbasetransform.c: (gst_base_transform_init),
28298         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28299         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28300         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28301         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28302         (gst_base_transform_chain), (gst_base_transform_change_state),
28303         (gst_base_transform_set_passthrough),
28304         (gst_base_transform_is_passthrough):
28305         * gst/base/gstbasetransform.h:
28306         Make passthrough work using the bufferpools.
28307         Changed API a bit, subclasses have to write into a buffer
28308         provided by the base class.
28309         More debug info in nego functions.
28310         
28311         * gst/elements/gstidentity.c: (gst_identity_init),
28312         (gst_identity_transform):
28313         Port to new base class.
28314
28315 2005-07-15  Wim Taymans  <wim@fluendo.com>
28316
28317         * gst/gstmessage.c: (gst_message_new_state_changed):
28318         * tools/gst-launch.c: (event_loop), (main):
28319         Totally dump messages in -launch with the -m option.
28320         Fix message name for State messages,
28321
28322 2005-07-14  Wim Taymans  <wim@fluendo.com>
28323
28324         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28325         Post error messages on errors.
28326
28327 2005-07-14  Wim Taymans  <wim@fluendo.com>
28328
28329         * gst/gstcaps.c: (gst_caps_do_simplify):
28330         Remove debug info.
28331
28332         * gst/gsterror.h:
28333         Define error for stream stopped.
28334
28335         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28336         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28337         Do proper return values.
28338
28339         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28340         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28341         (gst_pad_get_range):
28342         Better return values.
28343
28344         * gst/gstpad.h:
28345         Reorganise return values, add macro to check for fatal errors.
28346
28347         * gst/gstqueue.c: (gst_queue_chain):
28348         Return proper GstFlowReturn values,
28349
28350 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
28351
28352         * docs/gst/gstreamer-sections.txt:
28353         * docs/gst/gstreamer.types:
28354         * docs/gst/tmpl/gst.sgml:
28355         * docs/gst/tmpl/gstbasesink.sgml:
28356         * docs/gst/tmpl/gstbasesrc.sgml:
28357         * docs/gst/tmpl/gstbasetransform.sgml:
28358         * docs/gst/tmpl/gstbin.sgml:
28359         * docs/gst/tmpl/gstbuffer.sgml:
28360         * docs/gst/tmpl/gstcaps.sgml:
28361         * docs/gst/tmpl/gstclock.sgml:
28362         * docs/gst/tmpl/gstcompat.sgml:
28363         * docs/gst/tmpl/gstconfig.sgml:
28364         * docs/gst/tmpl/gstelement.sgml:
28365         * docs/gst/tmpl/gstelementdetails.sgml:
28366         * docs/gst/tmpl/gstelementfactory.sgml:
28367         * docs/gst/tmpl/gstenumtypes.sgml:
28368         * docs/gst/tmpl/gsterror.sgml:
28369         * docs/gst/tmpl/gstevent.sgml:
28370         * docs/gst/tmpl/gstfakesink.sgml:
28371         * docs/gst/tmpl/gstfakesrc.sgml:
28372         * docs/gst/tmpl/gstfilesink.sgml:
28373         * docs/gst/tmpl/gstfilesrc.sgml:
28374         * docs/gst/tmpl/gstfilter.sgml:
28375         * docs/gst/tmpl/gstformat.sgml:
28376         * docs/gst/tmpl/gstghostpad.sgml:
28377         * docs/gst/tmpl/gstimplementsinterface.sgml:
28378         * docs/gst/tmpl/gstindex.sgml:
28379         * docs/gst/tmpl/gstindexfactory.sgml:
28380         * docs/gst/tmpl/gstinfo.sgml:
28381         * docs/gst/tmpl/gstiterator.sgml:
28382         * docs/gst/tmpl/gstmacros.sgml:
28383         * docs/gst/tmpl/gstmemchunk.sgml:
28384         * docs/gst/tmpl/gstminiobject.sgml:
28385         * docs/gst/tmpl/gstobject.sgml:
28386         * docs/gst/tmpl/gstpad.sgml:
28387         * docs/gst/tmpl/gstpadtemplate.sgml:
28388         * docs/gst/tmpl/gstparse.sgml:
28389         * docs/gst/tmpl/gstpipeline.sgml:
28390         * docs/gst/tmpl/gstplugin.sgml:
28391         * docs/gst/tmpl/gstpluginfeature.sgml:
28392         * docs/gst/tmpl/gstquery.sgml:
28393         * docs/gst/tmpl/gstqueue.sgml:
28394         * docs/gst/tmpl/gstregistry.sgml:
28395         * docs/gst/tmpl/gstregistrypool.sgml:
28396         * docs/gst/tmpl/gstscheduler.sgml:
28397         * docs/gst/tmpl/gstschedulerfactory.sgml:
28398         * docs/gst/tmpl/gststructure.sgml:
28399         * docs/gst/tmpl/gstsystemclock.sgml:
28400         * docs/gst/tmpl/gsttaglist.sgml:
28401         * docs/gst/tmpl/gsttagsetter.sgml:
28402         * docs/gst/tmpl/gsttrace.sgml:
28403         * docs/gst/tmpl/gsttrashstack.sgml:
28404         * docs/gst/tmpl/gsttypefind.sgml:
28405         * docs/gst/tmpl/gsttypefindfactory.sgml:
28406         * docs/gst/tmpl/gsttypes.sgml:
28407         * docs/gst/tmpl/gsturihandler.sgml:
28408         * docs/gst/tmpl/gsturitype.sgml:
28409         * docs/gst/tmpl/gstutils.sgml:
28410         * docs/gst/tmpl/gstvalue.sgml:
28411         * docs/gst/tmpl/gstversion.sgml:
28412         * docs/gst/tmpl/gstxml.sgml:
28413         * docs/libs/tmpl/gstcontrol.sgml:
28414         * docs/libs/tmpl/gstdataprotocol.sgml:
28415         * docs/libs/tmpl/gstdparam.sgml:
28416         * docs/libs/tmpl/gstdplinint.sgml:
28417         * docs/libs/tmpl/gstdpman.sgml:
28418         * docs/libs/tmpl/gstdpsmooth.sgml:
28419         * docs/libs/tmpl/gstgetbits.sgml:
28420         * docs/libs/tmpl/gstunitconvert.sgml:
28421         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28422         (gst_push_src_base_init), (gst_push_src_class_init),
28423         (gst_push_src_init), (gst_push_src_create):
28424         * gst/base/gstpushsrc.h:
28425         * gst/elements/gstelements.c:
28426         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28427         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28428         (gst_fake_sink_init), (gst_fake_sink_set_property),
28429         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28430         (gst_fake_sink_event), (gst_fake_sink_preroll),
28431         (gst_fake_sink_render), (gst_fake_sink_change_state):
28432         * gst/elements/gstfakesink.h:
28433         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28434         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28435         (gst_fake_src_base_init), (gst_fake_src_class_init),
28436         (gst_fake_src_init), (gst_fake_src_event_handler),
28437         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28438         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28439         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28440         (gst_fake_src_create_buffer), (gst_fake_src_create),
28441         (gst_fake_src_start), (gst_fake_src_stop):
28442         * gst/elements/gstfakesrc.h:
28443         * gst/elements/gstfilesink.c: (_do_init),
28444         (gst_file_sink_base_init), (gst_file_sink_class_init),
28445         (gst_file_sink_init), (gst_file_sink_dispose),
28446         (gst_file_sink_set_location), (gst_file_sink_set_property),
28447         (gst_file_sink_get_property), (gst_file_sink_open_file),
28448         (gst_file_sink_close_file), (gst_file_sink_query),
28449         (gst_file_sink_event), (gst_file_sink_render),
28450         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28451         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28452         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28453         * gst/elements/gstfilesink.h:
28454         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28455         (gst_file_src_class_init), (gst_file_src_init),
28456         (gst_file_src_finalize), (gst_file_src_set_location),
28457         (gst_file_src_set_property), (gst_file_src_get_property),
28458         (gst_file_src_map_region), (gst_file_src_map_small_region),
28459         (gst_file_src_create_mmap), (gst_file_src_create_read),
28460         (gst_file_src_create), (gst_file_src_is_seekable),
28461         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28462         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28463         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28464         (gst_file_src_uri_handler_init):
28465         * gst/elements/gstfilesrc.h:
28466           more autistic cleanliness in functions/names/defines
28467
28468 2005-07-13  Andy Wingo  <wingo@pobox.com>
28469
28470         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28471         source couldn't negotiate.
28472
28473         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28474         connections again.
28475
28476         * gst/gstutils.h:
28477         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28478         function. I am channeling Hades. Put your boots on suckers!!!
28479
28480 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28481
28482         * testsuite/caps/Makefile.am:
28483         * testsuite/caps/value_compare.c:
28484         * testsuite/caps/value_intersect.c:
28485         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28486           move two testsuite apps over to the check dir
28487
28488 2005-07-12  Wim Taymans  <wim@fluendo.com>
28489
28490         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28491         Added more debug info in the negotiate process.
28492
28493         * gst/gstmessage.h:
28494         Prepare for segment playback.
28495
28496         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28497         Better debugging.
28498
28499         * gst/gstutils.c:
28500         Some more docs.
28501
28502         * tools/gst-launch.c: (main):
28503         NULL pipeline on errors.
28504
28505 2005-07-12  Andy Wingo  <wingo@pobox.com>
28506
28507         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28508         not it comes from a malloc region. Make sure our copy gets freed.
28509
28510 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28511
28512         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28513         * check/gst/gstmessage.c: (GST_START_TEST):
28514         * check/gst/gststructure.c: (GST_START_TEST),
28515         (gst_structure_suite), (main):
28516           more testing
28517         * gst/gstelement.c: (gst_element_message_full):
28518           clean up GError and debug string now that they get copied
28519         * gst/gstmessage.c: (gst_message_new_error),
28520         (gst_message_new_warning), (gst_message_parse_error),
28521         (gst_message_parse_warning):
28522           use GST_TYPE_G_ERROR for structure_new, and take copies of
28523           arguments, so that we don't mess up refcounting
28524
28525 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28526
28527         * check/Makefile.am:
28528           add per-test valgrind targets
28529         * check/gst-libs/gdp.c: (GST_START_TEST),
28530         (gst_data_protocol_suite), (main):
28531           clean up
28532
28533 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28534
28535         * check/Makefile.am:
28536           instate more valgrindable tests
28537         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28538         (GST_START_TEST), (fakesrc_suite):
28539         * check/gst/gstpad.c: (GST_START_TEST):
28540         * check/gst/gststructure.c: (GST_START_TEST):
28541           fix test leaks
28542         * docs/gst/tmpl/gstminiobject.sgml:
28543         * gst/gstpad.c: (gst_pad_finalize):
28544           fix the static mutex leak
28545
28546 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28547
28548         * check/Makefile.am:
28549           add two more tests for valgrinding
28550         * check/gst/gstvalue.c: (GST_START_TEST):
28551           test refcount of deserialized buffer, found a leak
28552         * docs/gst/gstreamer-docs.sgml:
28553         * docs/gst/gstreamer-sections.txt:
28554         * docs/gst/gstreamer.types:
28555         * docs/gst/tmpl/gstminiobject.sgml:
28556           add miniobject to docs
28557         * gst/gstminiobject.c:
28558           add some docs
28559         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28560         (gst_string_unwrap):
28561           fix a hard-to-find invalid write for one of the tests
28562           fix a leak for deserialized buffers
28563
28564 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28565
28566         * docs/pwg/advanced-events.xml:
28567         * docs/pwg/advanced-request.xml:
28568         * docs/pwg/advanced-scheduling.xml:
28569         * docs/pwg/appendix-porting.xml:
28570         * docs/pwg/building-boiler.xml:
28571         * docs/pwg/intro-preface.xml:
28572         * docs/pwg/other-ntoone.xml:
28573           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28574           of example code and explanation for pad activation, loop() and
28575           getrange() functions and a bit more. Remove old comments pointing
28576           to loop-functions.
28577         * examples/pwg/Makefile.am:
28578           Add loop/getrange examples.
28579
28580 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28581
28582         * configure.ac:
28583           check for valgrind binary + some fixes
28584         * check/gst.supp:
28585           valgrind suppressions for the tests
28586         * check/Makefile.am:
28587           add a valgrind: target that valgrinds the unit tests
28588         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28589         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28590         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28591         * check/gst/gstghostpad.c:
28592           added some cleanup
28593         * check/gst/gstdata.c:
28594           removed
28595         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28596         (thread_unref), (gst_mini_object_suite), (main):
28597           added
28598         * gst/gst.c: (gst_deinit):
28599         * gst/gst.h:
28600           add a method to clean up.
28601         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28602         (gst_system_clock_obtain):
28603           allow for disposing the system clock.
28604         * tools/gst-launch.c: (main):
28605           deinit
28606
28607 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28608
28609         * docs/gst/tmpl/gstbasesrc.sgml:
28610         * docs/gst/tmpl/gstfakesrc.sgml:
28611         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28612         (gst_base_src_init), (gst_base_src_set_property),
28613         (gst_base_src_get_property), (gst_base_src_get_range),
28614         (gst_base_src_start):
28615         * gst/base/gstbasesrc.h:
28616           add num-buffers property
28617         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28618         (gst_fakesrc_init), (gst_fakesrc_set_property),
28619         (gst_fakesrc_get_property), (gst_fakesrc_create),
28620         (gst_fakesrc_start):
28621           remove num-buffers property
28622
28623 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28624
28625         * docs/gst/gstreamer-sections.txt:
28626         * docs/gst/tmpl/gstbasesink.sgml:
28627         * docs/gst/tmpl/gstbasesrc.sgml:
28628         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28629         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28630         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28631         (gst_base_sink_set_property), (gst_base_sink_get_property),
28632         (gst_base_sink_handle_object), (gst_base_sink_event),
28633         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28634         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28635         (gst_base_sink_loop), (gst_base_sink_deactivate),
28636         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28637         (gst_base_sink_change_state):
28638         * gst/base/gstbasesink.h:
28639         * gst/base/gstbasesrc.h:
28640         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28641         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28642         (gst_filesink_init):
28643           more macro splitting
28644
28645 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28646
28647         * gst/gstelement.c: (gst_element_get_bus):
28648           add debug
28649         * tools/gst-launch.c: (check_intr), (event_loop):
28650           fix bus leaks
28651
28652 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28653
28654         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28655           fix a caps leak
28656
28657 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28658
28659         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28660         (gst_base_src_finalize):
28661           add finalize method and clean up properly
28662         * gst/gstpipeline.c: (gst_pipeline_dispose):
28663           add debug
28664
28665 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28666
28667         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28668         (gst_bin_suite):
28669           add more things to check
28670         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28671         * gst/gstelement.c:
28672           more debug
28673
28674 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28675
28676         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28677         (GST_START_TEST), (fakesrc_suite):
28678         * check/gst-libs/gdp.c: (GST_START_TEST):
28679         * check/gst/gst.c: (GST_START_TEST):
28680         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28681         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28682         * check/gst/gstbus.c: (GST_START_TEST):
28683         * check/gst/gstcaps.c: (GST_START_TEST):
28684         * check/gst/gstdata.c: (GST_START_TEST):
28685         * check/gst/gstelement.c: (GST_START_TEST):
28686         * check/gst/gstghostpad.c: (GST_START_TEST):
28687         * check/gst/gstiterator.c: (GST_START_TEST):
28688         * check/gst/gstmessage.c: (GST_START_TEST):
28689         * check/gst/gstobject.c: (GST_START_TEST):
28690         * check/gst/gstpad.c: (GST_START_TEST):
28691         * check/gst/gststructure.c: (GST_START_TEST):
28692         * check/gst/gstsystemclock.c: (GST_START_TEST),
28693         (gst_systemclock_suite):
28694         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28695         * check/gst/gstvalue.c: (GST_START_TEST):
28696         * check/pipelines/cleanup.c: (GST_START_TEST):
28697         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28698         * check/states/sinks.c: (GST_START_TEST):
28699         * check/gstcheck.c: (gst_check_init):
28700         * check/gstcheck.h:
28701           add debugging category
28702           use GST_START_TEST now, so we add a debug line
28703
28704 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28705
28706         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28707           add test for state change message on a bin
28708         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28709           add another test
28710         * gst/gstbin.c: (gst_bin_init):
28711         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28712         * gst/gstelement.c: (gst_element_post_message),
28713         (gst_element_set_state):
28714         * gst/gstelementfactory.c: (gst_element_factory_create):
28715         * gst/gstmessage.c: (gst_message_new):
28716         * gst/gstscheduler.c:
28717           various debugging additions and cleanups
28718
28719 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28720
28721         * check/Makefile.am:
28722         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28723         (main):
28724           adding tests for elements
28725         * gst/gstelement.c: (gst_element_dispose):
28726
28727 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28728
28729         * gst/registries/gstlibxmlregistry.c: (load_feature):
28730           plug more leaks.  A simple gst_init() now is leakfree, yay.
28731
28732 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28733
28734         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28735         (gst_xml_registry_load):
28736           plug another memleak
28737
28738 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28739
28740         * configure.ac:
28741           use GST_SET_ERROR_CFLAGS
28742         * docs/faq/cvs.xml:
28743           change to ERROR_CFLAGS
28744
28745 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28746
28747         * configure.ac:
28748           make GST_ERROR_CFLAGS overridable and re-enable Werror
28749         * docs/faq/cvs.xml:
28750           add a note about error CFLAGS
28751         * docs/gst/tmpl/gstfakesrc.sgml:
28752         * gst/elements/gstfakesrc.c:
28753           comment out some unused code
28754         * gst/gst.c: (split_and_iterate):
28755         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28756         (load_feature):
28757           plug some memleaks
28758
28759 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28760
28761         * common/Makefile.am:
28762         * common/gtk-doc.mak:
28763         * docs/gst/Makefile.am:
28764           factor out gtk-doc.mak
28765
28766 2005-07-07  Wim Taymans  <wim@fluendo.com>
28767
28768         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28769         (gst_thread_scheduler_dispose):
28770         Unlock the STREAM_LOCK completely.
28771
28772 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28773
28774         * check/Makefile.am:
28775         * check/elements/.cvsignore:
28776         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28777         (START_TEST), (fakesrc_suite), (main):
28778         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28779         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28780         (gst_fakesrc_create), (gst_fakesrc_start):
28781         * gst/elements/gstfakesrc.h:
28782           adding a first element test
28783
28784 2005-07-07  Andy Wingo  <wingo@pobox.com>
28785
28786         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28787         debug message.
28788
28789 2005-07-07  Wim Taymans  <wim@fluendo.com>
28790
28791         * gst/gstquery.c:
28792         * gst/gstquery.h:
28793         Remove old types
28794
28795 2005-07-07  Wim Taymans  <wim@fluendo.com>
28796
28797         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28798         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28799         Allow subclasses to implement their own negotiation.
28800
28801 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28802
28803         * docs/design/part-gstbin.txt:
28804         * docs/design/part-gstpipeline.txt:
28805           Update design notes to reflect the movement of
28806           responsibility for bus handling from GstPipeline to
28807           GstBin
28808
28809 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28810
28811         * configure.ac:
28812           Remove unnecessary queue2/3/4 examples.
28813
28814 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28815
28816         * examples/Makefile.am:
28817         * examples/helloworld/helloworld.c: (event_loop), (main):
28818         * examples/queue/queue.c: (event_loop), (main):
28819         * examples/queue2/queue2.c: (main):
28820           Update a couple of the examples to work again.
28821
28822         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28823         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28824          Spelling corrections and extra debug.
28825         
28826         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28827         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28828         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28829         * gst/gstbin.h:
28830         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28831         (gst_pipeline_change_state):
28832         * gst/gstpipeline.h:
28833           Move the bus handler for children to the GstBin, and create a
28834           separate bus for receiving messages from children to the one the
28835           bus sends 'upwards' on.
28836
28837 2005-07-06  Wim Taymans  <wim@fluendo.com>
28838
28839         * gst/base/README:
28840         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28841         (gst_base_sink_handle_object), (gst_base_sink_loop),
28842         (gst_base_sink_change_state):
28843         * gst/base/gstbasesink.h:
28844         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28845         (gst_base_src_init), (gst_base_src_setcaps),
28846         (gst_base_src_getcaps), (gst_base_src_loop),
28847         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28848         (gst_base_src_start), (gst_base_src_change_state):
28849         * gst/base/gstbasesrc.h:
28850         Make basesrc negotiate.
28851         Handle the case where preroll fails in basesink.
28852         Update README.
28853
28854 2005-07-06  Wim Taymans  <wim@fluendo.com>
28855
28856         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28857         Implement the fixate function.
28858         Clean up acceptcaps.
28859
28860 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28861
28862         * docs/pwg/building-filterfactory.xml:
28863         * docs/pwg/pwg.xml:
28864           Remove never-written filter-factory chapter; I'll add the various
28865           base classes to part 4 ("other element types") later on.
28866
28867 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28868
28869         * docs/pwg/advanced-negotiation.xml:
28870         * docs/pwg/building-boiler.xml:
28871         * docs/pwg/building-pads.xml:
28872         * docs/pwg/pwg.xml:
28873         * examples/pwg/Makefile.am:
28874           Add a chapter on caps negotiation, simplify the original code
28875           samples a bit w.r.t. caps negotiation, add link to the advanced
28876           section. Add a bunch of examples showing different use cases of
28877           different types of caps negotiation. Upstream renegotiation isn't
28878           fully documented yet since nobody knows how that works.
28879
28880 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28881
28882         * check/gst/gstpad.c:
28883         * check/gstcheck.c:
28884         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28885           if pad has no parent, return NULL as list of internal links
28886
28887 2005-07-05  Andy Wingo  <wingo@pobox.com>
28888
28889         * gst/elements/gstfilesrc.c:
28890         * gst/elements/gstfakesrc.c: 
28891         * gst/base/gstpushsrc.c:
28892         * gst/base/gstbasesrc.h: 
28893         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28894         
28895 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28896
28897         * Makefile.am:
28898           better report generation target (lcov needs a patch)
28899
28900 2005-07-05  Andy Wingo  <wingo@pobox.com>
28901
28902         * gst/elements, testsuite: Null if we got it...
28903
28904 2005-07-05  Wim Taymans  <wim@fluendo.com>
28905
28906         * configure.ac:
28907         * libs/gst/dataprotocol/Makefile.am:
28908         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28909         * libs/gst/dataprotocol/dataprotocol.h:
28910         * pkgconfig/Makefile.am:
28911         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28912         * pkgconfig/gstreamer-dataprotocol.pc.in:
28913         Ported dataprotol to 0.9. 
28914         Added pkgconfig files.
28915
28916 2005-07-05  Andy Wingo  <wingo@pobox.com>
28917
28918         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28919         Default to returning TRUE for the case when tranform_caps returns
28920         a fixed caps, like for identity or volume.
28921
28922         * check/gst/gstbus.c (pound_bus_with_messages): 
28923         * check/gst/gstmessage.c (START_TEST): 
28924         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28925         message API change.
28926
28927         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28928         logic weaks here: always run transform_caps, trying passthrough
28929         operation only if the original caps intersects with the transform.
28930
28931         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28932         source and sink caps.
28933
28934         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28935         Intersect the peer caps with the pad template before going into
28936         transform_caps.
28937         (gst_base_transform_transform_caps): More debugging.
28938
28939         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28940         src argument.
28941
28942 2005-07-04  Edward Hervey  <edward@fluendo.com>
28943
28944         * gst/gstutils.c:
28945         * gst/gstutils.h:
28946         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28947         in bindings.
28948
28949 2005-07-04  Andy Wingo  <wingo@pobox.com>
28950
28951         * check/gst/gstpad.c: Only set explicit caps on pads.
28952
28953 2005-07-01  Andy Wingo  <wingo@pobox.com>
28954
28955         * tests/network-clock.scm: Commentary update.
28956
28957         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28958         Didn't really make sense, not implementable with basetransform,
28959         etc.
28960         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28961         attempt at implementing the sync property, needs an unlock method.
28962
28963         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28964         New func, by default returns the same caps (the identity
28965         transformation).
28966         (gst_base_transform_getcaps): Uses transform_caps to return
28967         something sensible.
28968         (gst_base_transform_setcaps): Complicated logic to get caps on
28969         both pads, even if they are different, and to call set_caps once
28970         for every time both pads get their caps set.
28971         (gst_base_transform_handle_buffer): Give the ref to the transform
28972         function. Allows in-place modification of the buffer.
28973
28974         * gst/base/gstbasetransform.h (transform_caps): New class method.
28975         Given caps on one side, what can I do on the other.
28976         (set_caps): Take two caps, one for each side of the element.
28977
28978         * gst/gstpad.h:
28979         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28980         caps in place. This is safe because we can check the mutability of
28981         the caps, and a good idea because fixate functions are just called
28982         as a matter of last resort. (Not actually implemented.)
28983         (gst_pad_set_caps): If the caps we're setting is actually the same
28984         as the existing pad caps, just update the pointer without calling
28985         setcaps. Assert that caps is either NULL or fixed, as per the
28986         docs.
28987
28988         * gst/gstghostpad.c: Update for fixate changes.
28989
28990 2005-07-02  Andy Wingo  <wingo@pobox.com>
28991
28992         * gst/gstcaps.c:
28993         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28994         two refcounts makes it immutable, which is enough. Doc more.
28995
28996 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28997
28998         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28999           Put the mini_object into GValue as a mini_object,
29000           not a gpointer, since that's how we declared
29001           the signal.
29002
29003 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29004
29005         * examples/pwg/Makefile.am:
29006           Fix buildbot again.
29007
29008 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29009
29010         * docs/pwg/building-testapp.xml:
29011           Add extra check.
29012         * examples/pwg/Makefile.am:
29013           Fix buildbot.
29014
29015 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29016
29017         * configure.ac:
29018         * examples/Makefile.am:
29019         * examples/pwg/Makefile.am:
29020         * examples/pwg/extract.pl:
29021           Enable building the PWG examples.
29022         * docs/pwg/advanced-interfaces.xml:
29023           Add URI interface stub.
29024         * docs/pwg/advanced-types.xml:
29025         * docs/pwg/other-autoplugger.xml:
29026         * docs/pwg/appendix-porting.xml:
29027         * docs/pwg/pwg.xml:
29028           Add porting guide (mostly stubs), remove autoplugging (see ADM).
29029         * docs/pwg/building-boiler.xml:
29030         * docs/pwg/building-chainfn.xml:
29031         * docs/pwg/building-pads.xml:
29032         * docs/pwg/building-props.xml:
29033         * docs/pwg/building-state.xml:
29034         * docs/pwg/building-testapp.xml:
29035           Update the building-*.xml parts for 0.9 changes. All examples
29036           code blocks compile in examples/pwg/*.
29037
29038 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29039
29040         * docs/manual/advanced-autoplugging.xml:
29041         * docs/manual/appendix-checklist.xml:
29042         * docs/manual/appendix-integration.xml:
29043         * docs/manual/highlevel-components.xml:
29044           Fix playbin/decodebin examples, update docs a bit, mention bus
29045           instead of signals in various places, mention kmplayer and
29046           kaffeine since they have a working GStreamer backend in the KDE
29047           section.
29048
29049 2005-06-30  Wim Taymans  <wim@fluendo.com>
29050
29051         * CHANGES-0.9:
29052         * docs/design/draft-ghostpads.txt:
29053         * docs/design/draft-push-pull.txt:
29054         * docs/design/draft-query.txt:
29055         * docs/design/part-TODO.txt:
29056         * docs/design/part-query.txt:
29057         Added CHANGES-0.9 doc, updated status of other docs.
29058         
29059         * gst/gstquery.h:
29060         Remove "hmm" macro
29061
29062 2005-06-30  Wim Taymans  <wim@fluendo.com>
29063
29064         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
29065         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
29066         (gst_base_sink_change_state):
29067         * gst/base/gstbasesink.h:
29068         Some tweaks, only EOS and a buffer complete a preroll.
29069
29070 2005-06-30  Andy Wingo  <wingo@pobox.com>
29071
29072         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
29073         activate_push down to the internal pad as well.
29074
29075 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
29076
29077         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29078
29079         * gst/gsttaginterface.c:
29080           Some documentation fixes (#307394 and #307397).
29081
29082 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
29083
29084         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29085
29086         * gst/gstvalue.c: (gst_value_intersect_list):
29087           Fix memleak (#309125).
29088
29089 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29090
29091         * docs/manual/advanced-dataaccess.xml:
29092           Fix fakesrc example to compile; doesn't work, bug somewhere...?
29093         * docs/manual/basics-pads.xml:
29094           Add reference for filtered caps to above chapter.
29095
29096 2005-06-30  Wim Taymans  <wim@fluendo.com>
29097
29098         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
29099         (gst_bin_change_state):
29100         Probes are gone.
29101         Lame attempt at making the state change function a bit
29102         more readable.
29103
29104 2005-06-30  Wim Taymans  <wim@fluendo.com>
29105
29106         * docs/design/part-clocks.txt:
29107         * docs/design/part-element-sink.txt:
29108         * docs/design/part-events.txt:
29109         * docs/design/part-preroll.txt:
29110         * docs/design/part-states.txt:
29111         Some more tweeks and additions to the docs.
29112
29113 2005-06-30  Wim Taymans  <wim@fluendo.com>
29114
29115         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29116         (default_have_data), (gst_pad_class_init), (gst_pad_init),
29117         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29118         (gst_pad_check_pull_range), (gst_pad_get_range),
29119         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
29120         * gst/gstpad.h:
29121         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
29122         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29123         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29124         (gst_pad_remove_buffer_probe):
29125         Removed atomic operations, use existing LOCK.
29126         Move exception handling out of main code path.
29127
29128 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29129
29130         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29131         (silly_return_true_function), (gst_pad_class_init),
29132         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29133         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29134         (gst_pad_send_event):
29135           Fix accumulator, add default value by using _emitv() instead
29136           of _emit() for signal emission.
29137
29138 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29139
29140         * docs/manual/advanced-dataaccess.xml:
29141         * examples/manual/Makefile.am:
29142           Add probe example.
29143         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29144           Make work (??).
29145
29146 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
29147
29148         * gst/elements/gstfilesink.c: (gst_filesink_render):
29149           Simplify code so that we don't have to handle short
29150           writes and return GST_FLOW_ERROR if an error occured.
29151
29152 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29153
29154         * docs/gst/gstreamer-docs.sgml:
29155           Remove probes more.
29156
29157 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29158
29159         * docs/gst/gstreamer-sections.txt:
29160         * docs/gst/tmpl/gstpad.sgml:
29161         * docs/gst/tmpl/gstprobe.sgml:
29162         * gst/Makefile.am:
29163         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29164         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29165         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29166         (gst_pad_push_event), (gst_pad_send_event):
29167         * gst/gstpad.h:
29168         * gst/gstutils.c: (gst_pad_add_data_probe),
29169         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29170         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29171         (gst_pad_remove_buffer_probe):
29172         * gst/gstutils.h:
29173           Remove old probes, add new g-signal-based probes and some utility
29174           functions.
29175
29176 2005-06-29  Edward Hervey  <edward@fluendo.com>
29177
29178         * gst/gstelementfactory.c:
29179         * gst/gstutils.h:
29180         * gst/gstutils.c:
29181         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29182         the definition to the header file.
29183
29184 2005-06-29  Andy Wingo  <wingo@pobox.com>
29185
29186         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29187         plugins from the source directory.
29188
29189 2005-06-29  Wim Taymans  <wim@fluendo.com>
29190
29191         * docs/gst/tmpl/gstbuffer.sgml:
29192         * docs/gst/tmpl/gstclock.sgml:
29193         Some fixings for blantently wrong text.
29194
29195 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29196
29197         * check/Makefile.am:
29198         * gst/gst.c: (add_path_func), (init_pre):
29199         * gst/gstregistry.c: (gst_registry_add_path):
29200           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29201           only scan the GST_PLUGIN_PATH locations, and not add
29202           system locations
29203
29204 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29205
29206         * docs/gst/gstreamer-sections.txt:
29207         * docs/gst/tmpl/gstbasesrc.sgml:
29208         * gst/gstelement.c:
29209         * gst/gstelement.h:
29210         * gst/gstevent.c:
29211         * gst/gstutils.c:
29212           doc fixes
29213
29214 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29215
29216         * docs/manual/advanced-autoplugging.xml:
29217           Fix autoplugging example.
29218
29219 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29220
29221         * docs/manual/advanced-autoplugging.xml:
29222         * docs/manual/mime-world.fig:
29223           Try to get autoplugging working, fix type detection. Fix text
29224           in hello-world image.
29225
29226 2005-06-29  Wim Taymans  <wim@fluendo.com>
29227
29228         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29229         (gst_base_sink_change_state):
29230         Small debug line.
29231
29232         * gst/gstclock.h:
29233         map SIGNAL and BROADCAST to the right function.
29234
29235         * gst/gstobject.h:
29236         Remove redundant braces.
29237
29238         * gst/gstpad.c: (gst_pad_set_caps):
29239         Don't call setcaps function when reseting caps to NULL.
29240
29241         * gst/gstsystemclock.c: (gst_system_clock_dispose),
29242         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29243         (gst_system_clock_id_unschedule):
29244         Use BROADCAST as this is what we do.
29245
29246 2005-06-29  Wim Taymans  <wim@fluendo.com>
29247
29248         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29249         We are actually prerolling before commiting the state
29250         change. 
29251
29252 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29253
29254         * docs/manual/advanced-clocks.xml:
29255         * docs/manual/advanced-interfaces.xml:
29256         * docs/manual/advanced-metadata.xml:
29257         * docs/manual/advanced-position.xml:
29258         * docs/manual/advanced-schedulers.xml:
29259         * docs/manual/advanced-threads.xml:
29260         * docs/manual/appendix-porting.xml:
29261         * docs/manual/basics-bins.xml:
29262         * docs/manual/basics-bus.xml:
29263         * docs/manual/basics-elements.xml:
29264         * docs/manual/basics-helloworld.xml:
29265         * docs/manual/basics-pads.xml:
29266         * docs/manual/highlevel-components.xml:
29267         * docs/manual/manual.xml:
29268         * docs/manual/thread.fig:
29269           Update (until threads/scheduling) Application Development Manual;
29270           remove GstThread, add GstBus, add simple porting checklist, add
29271           documentation for tag writing, clocks, make all examples until this
29272           part compile and run.
29273         * examples/manual/Makefile.am:
29274           Update from changes to Application Development Manual; add bus
29275           example, remove thread example.
29276
29277 2005-06-28  Wim Taymans  <wim@fluendo.com>
29278
29279         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29280         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29281         (gst_bus_source_dispatch):
29282         Add debugging messages.
29283         Make internal methods static.
29284         Handle the case where the bus is flushed in the handler.
29285         
29286         * gst/gstelement.c: (gst_element_get_bus):
29287         Fix refcount in _get_bus();
29288
29289         * gst/gstpipeline.c: (gst_pipeline_change_state),
29290         (gst_pipeline_get_clock_func):
29291         Clock refcounting fixes.
29292         Handle the case where preroll timed out more gracefully.
29293         
29294         * gst/gstsystemclock.c: (gst_system_clock_dispose):
29295         Clean up the internal thread in dispose. This is needed
29296         for subclasses that actually get disposed.
29297         
29298         * gst/schedulers/threadscheduler.c:
29299         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29300         (gst_thread_scheduler_dispose):
29301         Free thread pool in dispose.
29302
29303 2005-06-28  Andy Wingo  <wingo@pobox.com>
29304
29305         * tests/network-clock-utils.scm (debug, print-event): New utils.
29306
29307         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29308         (*packet-loss*): Unified loss probability.
29309         (network-time): Report out-of-band events.
29310
29311         * tests/plot-data: Add support for out-of-band events. Hack it
29312         into this script instead of passing it down the pipe; should fix
29313         this later.
29314
29315 2005-06-28  Wim Taymans  <wim@fluendo.com>
29316
29317         * docs/gst/gstreamer.types:
29318         * docs/gst/tmpl/gstbasesrc.sgml:
29319         * docs/gst/tmpl/gstpad.sgml:
29320         Docs fixes.
29321
29322 2005-06-28  Wim Taymans  <wim@fluendo.com>
29323
29324         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29325         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29326         (gst_proxy_pad_do_fixatecaps):
29327         Correctly proxy the check_pull_range function.
29328
29329 2005-06-28  Andy Wingo  <wingo@pobox.com>
29330
29331         * tests/network-clock.scm: Removed need for slib.
29332         
29333 2005-06-28  Wim Taymans  <wim@fluendo.com>
29334
29335         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29336         (gst_basesink_preroll_queue_flush):
29337         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29338         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29339         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29340         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29341         (gst_proxy_pad_set_property):
29342         * gst/gstpad.c:
29343         * gst/gstpad.h:
29344         * gst/gstqueue.c: (gst_queue_init):
29345         The deprecated pad loop function is removed now.
29346
29347 2005-06-28  Andy Wingo  <wingo@pobox.com>
29348
29349         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29350         New parameters, simulate network packet loss.
29351
29352         * tests/network-clock-utils.scm: Initialize the RNG.
29353
29354 2005-06-28  Wim Taymans  <wim@fluendo.com>
29355
29356         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29357         (gst_basesink_event), (gst_basesink_deactivate):
29358         Flushing the preroll queue always needs to unlock the waiters.
29359
29360 2005-06-28  Edward Hervey  <edward@fluendo.com>
29361
29362         * gst/gstpipeline.c: (gst_pipeline_send_event): 
29363         Wheen a seek was successful on a pipeline, set the stream_time to the
29364         seek offset in order to have a synchronized stream_time.
29365
29366 2005-06-28  Wim Taymans  <wim@fluendo.com>
29367
29368         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29369         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29370         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29371         (gst_proxy_pad_do_fixatecaps):
29372         Call wrapper function instead of just calling the function
29373         pointers. This takes care of any locking and whatmore.
29374
29375 2005-06-28  Wim Taymans  <wim@fluendo.com>
29376
29377         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29378         (gst_pad_pull_range):
29379         * gst/gstpad.h:
29380         CONNECTED -> LINKED.
29381
29382 2005-06-28  Andy Wingo  <wingo@pobox.com>
29383
29384         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29385         source-munging commit!!!
29386
29387         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29388         (gst_object_sink): Take gpointer arguments, not GstObject --
29389         avoids casts. Like GLib.
29390
29391         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29392         activate.
29393
29394 2005-06-27  Andy Wingo  <wingo@pobox.com>
29395
29396         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29397         remaining buffer.
29398
29399         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29400         returns a sorted copy of the trace list.
29401         (gst_alloc_trace_print_live): New API, only prints traces with
29402         live objects. Sort the list.
29403         (gst_alloc_trace_print_all): Sort the list.
29404         (gst_alloc_trace_print): Align columns.
29405
29406         * gst/elements/gstttypefindelement.c:
29407         * gst/elements/gsttee.c:
29408         * gst/base/gstbasesrc.c:
29409         * gst/base/gstbasesink.c:
29410         * gst/base/gstbasetransform.c:
29411         * gst/gstqueue.c: Adapt for pad activation changes.
29412
29413         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29414         sched.
29415         (gst_pipeline_dispose): Drop ref on sched.
29416
29417         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29418         (gst_pad_activate_default): Push mode by default.
29419         (pre_activate_switch, post_activate_switch): New stubs, things to
29420         do before and after switching activation modes on pads.
29421         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29422         the pad's activate function to choose which mode to activate.
29423         Shortcut on deactivation and call the right function directly.
29424         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29425         mode.
29426         (gst_pad_activate_push): New API, same for push mode.
29427         (gst_pad_set_activate_function) 
29428         (gst_pad_set_activatepull_function) 
29429         (gst_pad_set_activatepush_function): Setters for new API.
29430
29431         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29432         Trace all miniobjects.
29433         (gst_mini_object_make_writable): Unref the arg if we copy, like
29434         gst_caps_make_writable.
29435
29436         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29437
29438         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29439         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29440         Adapt for new pad API.
29441
29442         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29443
29444         * gst/gstelement.h:
29445         * gst/gstelement.c (gst_element_iterate_src_pads) 
29446         (gst_element_iterate_sink_pads): New API functions.
29447         
29448         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29449         should fold into gstiterator.c in some form.
29450         (gst_element_pads_activate): Simplified via use of fold and
29451         delegation of decisions to gstpad->activate.
29452
29453         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29454         help in debugging.
29455
29456         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29457         class once in init, like gstmessage. Didn't run into this issue
29458         but it seems correct. Don't initialize a trace, gstminiobject does
29459         that.
29460
29461         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29462         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29463         to the bus.
29464         (assert_live_count): New util function, uses alloc traces to check
29465         cleanup.
29466
29467         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29468         To be modified when unlink drops the internal pad.
29469
29470 2005-06-27  Wim Taymans  <wim@fluendo.com>
29471
29472         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29473         (gst_bin_change_state):
29474         Cleanup the get_state() function a little, make sure it
29475         iterates the same set of elements.
29476         Added stub iterate_state_order().
29477
29478 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29479
29480         * docs/gst/gstreamer-docs.sgml:
29481         * docs/gst/gstreamer-sections.txt:
29482         * docs/gst/gstreamer.types:
29483         * docs/gst/tmpl/gstbasesink.sgml:
29484         * docs/gst/tmpl/gstbasesrc.sgml:
29485         * docs/gst/tmpl/gstbasetransform.sgml:
29486         * docs/gst/tmpl/gstelement.sgml:
29487         * docs/gst/tmpl/gstiterator.sgml:
29488         * gst/base/gstbasesrc.c:
29489         * gst/base/gstbasesrc.h:
29490         * gst/base/gstbasetransform.h:
29491         * gst/gstelement.c:
29492         * gst/gstiterator.h:
29493           adding basetransform and iterator docs
29494
29495 2005-06-27  Andy Wingo  <wingo@pobox.com>
29496
29497         * docs/design/part-activation.txt: Notes on how activation should
29498         work -- not quite implemented yet.
29499
29500 2005-06-25  Wim Taymans  <wim@fluendo.com>
29501
29502         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29503         At least get the chain function correct, needs more
29504         fixing.
29505
29506 2005-06-25  Wim Taymans  <wim@fluendo.com>
29507
29508         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29509         (gst_basesink_handle_object), (gst_basesink_event),
29510         (gst_basesink_do_sync), (gst_basesink_handle_event),
29511         (gst_basesink_change_state):
29512         * gst/gsttask.h:
29513         Right, two problems here: ghostpads don't take locks and
29514         glib _rec_mutex_lock_full() with depth==0 still locks.
29515         Catch illegal locking and g_warn them.
29516
29517 2005-06-25  Wim Taymans  <wim@fluendo.com>
29518
29519         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29520         Have to check for completion now...
29521
29522 2005-06-25  Wim Taymans  <wim@fluendo.com>
29523
29524         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29525         (gst_basesink_handle_object), (gst_basesink_event),
29526         (gst_basesink_do_sync), (gst_basesink_handle_event),
29527         (gst_basesink_change_state):
29528         * gst/gstpad.h:
29529         Unlock STREAM_LOCK whatever the recursion was.
29530
29531 2005-06-25  Wim Taymans  <wim@fluendo.com>
29532
29533         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29534         (gst_basesink_preroll_queue_empty),
29535         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29536         (gst_basesink_event), (gst_basesink_do_sync),
29537         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29538         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29539         (gst_basesink_change_state):
29540         Reworked the base sink, handle event and buffer serialisation
29541         correctly and removed possible deadlock.
29542         Handle EOS correctly.
29543
29544 2005-06-25  Wim Taymans  <wim@fluendo.com>
29545
29546         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29547         (gst_pipeline_change_state):
29548         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29549         Allow elements to post EOS in the state change function.
29550         Fix up -launch, make it exit the poll loop when the
29551         pipeline actually changed state.
29552         Fix up warning parsing in -launch.
29553
29554 2005-06-25  Wim Taymans  <wim@fluendo.com>
29555
29556         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29557         (gst_tee_sink_activate):
29558         Core takes STREAM_LOCK for us now.
29559
29560 2005-06-25  Wim Taymans  <wim@fluendo.com>
29561
29562         * gst/gstelement.c: (gst_element_get_state_func),
29563         (gst_element_set_state):
29564         * gst/gstelement.h:
29565         * gst/gstmessage.c: (gst_message_parse_error),
29566         (gst_message_parse_warning):
29567         Keep track of current target state while performing a state
29568         change so that subclasses can do something interesting.
29569         Fix parsing of warning/error messages when GError is NULL.
29570
29571 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29572
29573         * docs/gst/Makefile.am:
29574         * docs/gst/gstreamer-docs.sgml:
29575         * docs/gst/gstreamer-sections.txt:
29576         * docs/gst/gstreamer.types:
29577         * docs/gst/tmpl/gstbasesink.sgml:
29578         * docs/gst/tmpl/gstbasesrc.sgml:
29579         * docs/gst/tmpl/gstbin.sgml:
29580         * docs/gst/tmpl/gstcompat.sgml:
29581         * docs/gst/tmpl/gstfakesink.sgml:
29582         * docs/gst/tmpl/gstfakesrc.sgml:
29583         * docs/gst/tmpl/gstfilesink.sgml:
29584         * docs/gst/tmpl/gstfilesrc.sgml:
29585         * docs/gst/tmpl/gstindex.sgml:
29586         * docs/manual/appendix-quotes.xml:
29587         * gst/base/gstbasesrc.h:
29588         * gst/elements/gstfakesrc.h:
29589         * gst/gstmessage.h:
29590           start pulling in base classes and elements in our docs
29591
29592 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29593
29594         * docs/gst/Makefile.am:
29595         * docs/libs/Makefile.am:
29596           fixed make distcheck with gtk-doc 1.3
29597
29598 2005-06-23  Wim Taymans  <wim@fluendo.com>
29599
29600         * gst/gstelement.c: (gst_element_get_state_func),
29601         (gst_element_set_state), (gst_element_change_state):
29602         When the state did not change, also report NO_PREROLL
29603         when it matters.
29604
29605 2005-06-23  Wim Taymans  <wim@fluendo.com>
29606
29607         * gst/gstpad.c: (gst_pad_event_default):
29608         * gst/gstqueue.c: (gst_queue_loop):
29609         No unsafe task pausing please.
29610
29611 2005-06-23  Wim Taymans  <wim@fluendo.com>
29612
29613         * gst/schedulers/threadscheduler.c:
29614         (gst_thread_scheduler_task_start),
29615         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29616         Ref the task before pushing it on the threadpool. This
29617         makes sure that we have a ref when the threadfunction is
29618         actually called.
29619
29620 2005-06-23  Andy Wingo  <wingo@pobox.com>
29621
29622         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29623         offset is greater than the file's size.
29624
29625         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29626         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29627         * gst/gstobject.c (gst_object_class_init): Make the class lock
29628         recursive. Wim won't let me drop deep_notify. Decodebin works
29629         again, whoopdy doo.
29630
29631         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29632         internal pad, and hacks accordingly. Doesn't do it on the target
29633         pad because we change its caps. Probably catches all cases of
29634         interest tho.
29635         (gst_ghost_pad_set_property): Connect to notify::caps as
29636         appropritate.
29637
29638         * tests/network-clock.scm (plot-simulation): Pipe data to the
29639         elite python skript.
29640
29641         * tests/network-clock-utils.scm (define-parameter): New macro,
29642         defines a parameter that can be set via the command line.
29643         (set-parameter!, parse-parameter-arguments): Command line args
29644         parser.
29645
29646         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29647         stdin.
29648
29649 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29650
29651         * gst/elements/gsttypefindelement.c:
29652         (gst_type_find_element_handle_event):
29653           Don't restart typefinding on a discont.
29654         * gst/gstelement.c: (gst_element_set_state):
29655           Debug spelling fix.
29656         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29657           Allow changing mode of an active pad.
29658           Debug output fixes.
29659         * gst/registries/gstlibxmlregistry.c: (load_feature):
29660           Don't cast a static pad template to a normal pad template.
29661
29662 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29663
29664         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29665         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29666           remove gst_strtoll completely, since it didn't actually do
29667           anything more than what g_ascii_strtoull already does.
29668           check for range errors when deserializing
29669           do a cast for the unsigned cases; but further fixing needs
29670           a decision on what the interpretation of "(int)" and
29671           deserialization should be for values that fall outside the
29672           type's boundaries (ie, refuse, or interpret as casting)
29673
29674 2005-06-23  Wim Taymans  <wim@fluendo.com>
29675
29676         * check/Makefile.am:
29677         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29678         * docs/design/part-live-source.txt:
29679         * docs/design/part-states.txt:
29680         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29681         (gst_basesrc_set_live), (gst_basesrc_is_live),
29682         (gst_basesrc_get_range), (gst_basesrc_activate),
29683         (gst_basesrc_change_state):
29684         * gst/base/gstbasesrc.h:
29685         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29686         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29687         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29688         * gst/gstelement.c: (gst_element_get_state_func),
29689         (gst_element_set_state):
29690         * gst/gstelement.h:
29691         * gst/gsttypes.h:
29692         * tools/gst-launch.c: (event_loop), (main):
29693         Added support for live sources and other elements that
29694         cannot do preroll.
29695         Updated design docs, added live-source design doc.
29696         Implemented live source functionality in basesrc
29697         Fix error condition in _bin_get_state()
29698         Implement live source handling in -launch.
29699         Added check for live sources.
29700         Fixed case in GstBin where elements were changed state
29701         multiple times.
29702
29703
29704 2005-06-23  Andy Wingo  <wingo@pobox.com>
29705
29706         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29707         borken refcounting.
29708
29709         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29710         gst_caps_replace takes care of this for us.
29711
29712         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29713         gst_pad_set_caps on the target, not just its setcaps() function.
29714
29715         * tests/network-clock.scm: 
29716         * tests/network-clock-utils.scm: A network clock simulator.
29717         Something of an algorithmic testbed before doing something in C.
29718
29719 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29720
29721         * check/Makefile.am:
29722         * check/gst/capslist.h:
29723           copy over from 0.8, and add two with bitmasks specified with
29724           (int) 0xFF...
29725         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29726           add test to parse everything from capslist.h
29727         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29728         (main):
29729           add test for structure deserialization
29730         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29731           add tests for deserialization of strings to int types
29732         * gst/gststructure.c: (gst_structure_nth_field_name):
29733         * gst/gststructure.h:
29734           add a way to get the name of a field referenced by index
29735         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29736           instead of checking if the resulting long long lies between
29737           min and max, we check if the long long would fit into
29738           a number of bytes for the final type.
29739           This fixes cases where a string represents 2^32 - 1, which
29740           when cast to int would be the (valid) -1, but is bigger than
29741           G_MAXINT
29742
29743 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29744
29745         * gst/parse/grammar.y:
29746           add a log line for type deserialization
29747
29748 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29749
29750         * check/gst/gstvalue.c: (START_TEST):
29751         * gst/gstvalue.c: (gst_value_deserialize):
29752           return long long, not int, so gint64 deserialization actually
29753           works.  Is there any flag that makes the compiler check this ?
29754           Fixes #308559
29755
29756 2005-06-22  Wim Taymans  <wim@fluendo.com>
29757
29758         * gst/gstbuffer.h:
29759         Added convenience macros for setting buffers in GValue.
29760
29761 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29762
29763         * check/gst/.cvsignore:
29764         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29765           add a test deserializing int64, and comment part out because
29766           it fails, yay !
29767
29768 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29769
29770         * check/Makefile.am:
29771         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29772         * testsuite/Makefile.am:
29773         * testsuite/caps/Makefile.am:
29774         * testsuite/caps/value_serialize.c:
29775         * testsuite/test_gst_init.c:
29776           move a value_serialize test over
29777
29778 2005-06-20  Wim Taymans  <wim@fluendo.com>
29779
29780         * gst/gstpad.c:
29781         Small doc updates.
29782         
29783         * gst/gstvalue.c: (gst_value_compare_buffer),
29784         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29785         (gst_value_compare_flags), (gst_value_serialize_flags),
29786         (gst_value_deserialize_flags), (_gst_value_initialize):
29787         Fix serialisation of buffers, they are not boxed types anymore
29788
29789 2005-06-20  Wim Taymans  <wim@fluendo.com>
29790
29791         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29792         Testcase to show error in buffer-on-caps serialisation.
29793
29794 2005-06-20  Andy Wingo  <wingo@pobox.com>
29795
29796         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29797         will be adding to later.
29798
29799         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29800         if its socks fill with rocks.
29801         (gst_system_clock_obtain): Set the name on object construction.
29802         Avoid double-checked locking.
29803
29804 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29805
29806         * gst/gsturi.c: (gst_element_make_from_uri):
29807           Fix potential endless loop.
29808
29809 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29810
29811         * check/Makefile.am:
29812           add gsttag
29813         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29814         (main):
29815           move over from testsuite dir and clean up
29816         * configure.ac:
29817         * gst/gsttag.c:
29818         * testsuite/Makefile.am:
29819         * testsuite/tags/.cvsignore:
29820         * testsuite/tags/Makefile.am:
29821         * testsuite/tags/merge.c:
29822           remove testsuite/tags
29823
29824 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29825
29826         * docs/gst/gstreamer-sections.txt:
29827         * docs/gst/tmpl/gstenumtypes.sgml:
29828         * win32/gstenumtypes.c:
29829           clean up documentation build a little
29830
29831 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29832
29833         * check/gstcheck.h:
29834           add macros for checking refcounts on objects and caps
29835         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29836           add some more unit tests
29837         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29838         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29839           fix leaked refcounts (I hope :)) so unittest works
29840         * gst/gstpad.h:
29841           whitespace removal
29842
29843 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29844
29845         * configure.ac: back to HEAD
29846
29847 === release 0.9.1 ===
29848
29849 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29850
29851         * NEWS:
29852         * RELEASE:
29853           updated
29854
29855 2005-06-17  Andy Wingo  <wingo@pobox.com>
29856
29857         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29858         assert; it's always possible that the pad gets deactivated in
29859         between the checks in gstpad.c and the implementation. Rely on
29860         finish_preroll() to return a FLUSHING or similar instead of on the
29861         assert.
29862         
29863         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29864         clock and post an EOS message if we come out of finish_preroll in
29865         the playing state.
29866
29867 2005-06-16  David Schleef  <ds@schleef.org>
29868
29869         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29870         (gst_capsfilter_set_property): Allow NULL as possible value
29871         for filter_caps property, indicating GST_CAPS_ANY.
29872
29873 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29874
29875         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29876           fix debug output
29877         * gst/schedulers/Makefile.am:
29878           use libgst prefix
29879         * gstreamer.spec.in:
29880           fix spec for it
29881
29882 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29883
29884         * gstreamer.spec.in:
29885           clean up
29886
29887 2005-06-08  Andy Wingo  <wingo@pobox.com>
29888
29889         * gst/gstutils.c: RPAD fixes all around.
29890         (gst_element_link_pads): Refcounting fixes.
29891
29892         * tools/gst-inspect.c:
29893         * tools/gst-xmlinspect.c:
29894         * parse/grammar.y:
29895         * gst/base/gsttypefindhelper.c:
29896         * gst/base/gstbasesink.c:
29897         * gst/gstqueue.c: RPAD fixes.
29898
29899         * gst/gstghostpad.h:
29900         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29901         pads. The tricky thing is they provide both source and sink
29902         interfaces, since they proxy the internal pad for the external
29903         pad, and vice versa. Implement with lower-level ProxyPad objects,
29904         with the interior proxy pad as a child of the exterior ghost pad.
29905         Should write a doc on this.
29906         
29907         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29908         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29909         gst_object API.
29910         
29911         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29912         pads are real pads. No ghost pads in this file. Not documenting
29913         the myriad s/RPAD/PAD/ and REALIZE fixes.
29914         (gst_pad_class_init): Add properties for "direction" and
29915         "template". Both are construct-only, so they can't change during
29916         the life of the pad. Fixes properly deriving from GstPad.
29917         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29918         derived objects, just set properties when creating the objects via
29919         g_object_new.
29920         (gst_pad_get_parent): Implement as a function, return NULL if the
29921         parent is not an element.
29922         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29923         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29924         
29925         * gst/gstobject.c (gst_object_class_init): Make name a construct
29926         property. Don't set it in the object init.
29927
29928         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29929         with UNKNOWN direction.
29930         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29931         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29932         (gst_element_remove_pad): Remove ghost-pad special cases.
29933         (gst_element_pads_activate): Remove rpad cruft.
29934
29935         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29936         catch the pad's-parent-not-an-element case.
29937
29938         * gst/gst.h: Include gstghostpad.h.
29939
29940         * gst/gst.c (init_post): No more real, ghost pads.
29941
29942         * gst/Makefile.am: Add gstghostpad.[ch].
29943
29944         * check/Makefile.am:
29945         * check/gst/gstbin.c:
29946         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29947         into a bin creates ghost pads, and that the refcounts are right.
29948         Partly moved from gstbin.c.
29949
29950 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29951
29952         * check/gst-libs/.cvsignore:
29953         * check/gst/.cvsignore:
29954         * check/pipelines/.cvsignore:
29955           ignore more
29956         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29957         (START_TEST), (cleanup_suite), (main):
29958           add some tests related to cleanup after running pipelines
29959
29960 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29961
29962         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29963           add a testsuite for GstBuffer
29964
29965 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29966
29967         * gst/gstminiobject.h:
29968           add defines for accessing the refcount
29969
29970 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29971
29972         * Makefile.am: added support for html unit test coverage reports
29973
29974 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29975
29976         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29977           Free existing caps if the capsfilter changes. Add a FIXME about
29978           setting those caps on the pads.
29979
29980         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29981           Before adding a ghost pad to a parent bin, check that there isn't
29982           already one for the element on the bin. Prevents infinite recursion
29983           when using decodebin in parse pipelines. Andy says he'll rewrite the
29984           way this works anyway, so ignore the hack.
29985
29986 2005-06-02  Andy Wingo  <wingo@pobox.com>
29987
29988         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29989         file size, pass it on to the type find helper.
29990
29991         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29992         segment_start and segment_end properly according to the seek
29993         method. Segment_end is still a bit flaky because offset can be
29994         negative for CUR and END cases, but it takes -1 as an "unset"
29995         value.
29996
29997 2005-06-02  Wim Taymans  <wim@fluendo.com>
29998
29999         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
30000         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
30001         (gst_basesink_activate):
30002         * gst/base/gstbasesink.h:
30003         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30004         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30005         (gst_pad_query), (gst_pad_start_task):
30006         * gst/gstpad.h:
30007         * gst/gstqueue.c: (gst_queue_bufferalloc),
30008         (gst_queue_handle_sink_event), (gst_queue_chain):
30009         Bufferalloc: return GstFlowReturn to more accuratly report
30010         why allocation failed.
30011
30012 2005-06-02  Wim Taymans  <wim@fluendo.com>
30013
30014         * gst/gstpipeline.c: (gst_pipeline_send_event):
30015         Take snapshot of state without blocking.
30016
30017 2005-06-02  Wim Taymans  <wim@fluendo.com>
30018
30019         * docs/design/part-TODO.txt:
30020         * docs/design/part-caps.txt:
30021         * docs/design/part-clocks.txt:
30022         * docs/design/part-negotiation.txt:
30023         * docs/design/part-preroll.txt:
30024         Small doc updates 
30025
30026 2005-05-30  Wim Taymans  <wim@fluendo.com>
30027
30028         * gst/elements/gstidentity.c: (gst_identity_event),
30029         (gst_identity_transform), (gst_identity_get_property):
30030         Protect last_message property as it is accessed from
30031         multiple threads.
30032
30033 2005-05-30  Wim Taymans  <wim@fluendo.com>
30034
30035         * gst/gstelement.c: (gst_element_init),
30036         (gst_element_pads_activate), (gst_element_change_state):
30037         Slicker pad activation code.
30038
30039 2005-05-30  Wim Taymans  <wim@fluendo.com>
30040
30041         * gst/Makefile.am:
30042         * gst/gstelement.h:
30043         * gst/gstelementfactory.h:
30044         * gst/gsttypes.h:
30045         Move elementfactory methods to separate .h file.
30046
30047 2005-05-30  Wim Taymans  <wim@fluendo.com>
30048
30049         * docs/design/part-overview.txt:
30050         * gst/gstsystemclock.h:
30051         Small typo fixes, doc updates.
30052
30053 2005-05-30  Wim Taymans  <wim@fluendo.com>
30054
30055         * gst/gst.c: (gst_init_get_popt_table), (init_post),
30056         (init_popt_callback):
30057         Remove cpu-opt flag.
30058
30059 2005-05-30  Wim Taymans  <wim@fluendo.com>
30060
30061         * gst/gstbuffer.c: (gst_subbuffer_finalize),
30062         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
30063         * gst/gstbuffer.h:
30064         Avoid typechecking in places where not needed.
30065         Added accessor for malloc_data.
30066
30067 2005-05-30  Wim Taymans  <wim@fluendo.com>
30068
30069         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
30070         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
30071         (gst_pad_configure_sink), (gst_pad_configure_src),
30072         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
30073         (gst_pad_start_task):
30074         Propagate errors from _set_caps() in configure_src/sink
30075         functions instead of returning TRUE.
30076         FLUSH events can travel up and downstream
30077
30078
30079 2005-05-30  Wim Taymans  <wim@fluendo.com>
30080
30081         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30082         (gst_basesink_activate):
30083         Handle EOS in preroll.
30084
30085 2005-05-30  Wim Taymans  <wim@fluendo.com>
30086
30087         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30088         (gst_queue_loop), (gst_queue_handle_src_event):
30089         Remove old pieces of code
30090         Flushing the queue in an upstream event is a very bad idea.
30091
30092 2005-05-26  Andy Wingo  <wingo@pobox.com>
30093
30094         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
30095         gst_value_set_mini_object so as to add a ref on the object (which
30096         will be removed when the value is unset).
30097
30098         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
30099         arg type in ::handoff.
30100
30101         * gst/gstelement.c (gst_element_change_state): Also deactivate
30102         pads in READY->NULL, just in case the element didn't make it to
30103         PAUSED. Wingo tested, Wim approved.
30104
30105 2005-05-26  Wim Taymans  <wim@fluendo.com>
30106
30107         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30108         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30109         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
30110         A flushing pad cannot be used to alloc_buffer from.
30111
30112 2005-05-26  Wim Taymans  <wim@fluendo.com>
30113
30114         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
30115         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
30116         (gst_bus_source_dispatch), (gst_bus_source_finalize),
30117         (gst_bus_create_watch), (gst_bus_add_watch_full):
30118         * gst/gstbus.h:
30119         Implement a real GSource and use g_main_context_wakeup() to
30120         signal new messages instead of the socketpair.
30121
30122 2005-05-25  Wim Taymans  <wim@fluendo.com>
30123
30124         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
30125         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
30126         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30127         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30128         (gst_pad_send_event), (gst_pad_start_task):
30129         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30130         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30131         (gst_queue_sink_activate), (gst_queue_src_activate),
30132         (gst_queue_change_state):
30133         * gst/gstqueue.h:
30134         Fix state changes for non sinks. We now change sinks, then elements
30135         with unconnected srcpads, then the rest.
30136         More efficient queue unlocking in flush and state changes.
30137         Set the pad activate mode even if it does not have an activate
30138         function.
30139
30140 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30141
30142         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30143           Don't go in pull mode for non-seekable sources.
30144         * gst/elements/gsttypefindelement.h:
30145         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30146         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30147         (free_entry), (stop_typefinding),
30148         (gst_type_find_element_handle_event), (find_peek),
30149         (gst_type_find_element_chain), (do_pull_typefind),
30150         (gst_type_find_element_change_state):
30151           Allow typefinding (w/o seeking) in push-mode, simplified version
30152           of what was in 0.8.
30153         * gst/gstutils.c: (gst_buffer_join):
30154         * gst/gstutils.h:
30155           gst_buffer_join() from 0.8.
30156
30157 2005-05-25  Wim Taymans  <wim@fluendo.com>
30158
30159         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30160         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30161         (gst_pad_send_event), (gst_pad_start_task):
30162         Disable attempt at mode switching until it is figured out.
30163
30164 2005-05-25  Wim Taymans  <wim@fluendo.com>
30165
30166         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30167         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30168         (gst_basesink_finish_preroll), (gst_basesink_chain),
30169         (gst_basesink_loop), (gst_basesink_activate),
30170         (gst_basesink_change_state):
30171         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30172         (gst_basesrc_get_range), (gst_basesrc_loop),
30173         (gst_basesrc_activate):
30174         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30175         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30176         (gst_real_pad_init), (gst_real_pad_set_property),
30177         (gst_real_pad_get_property), (gst_pad_set_active),
30178         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30179         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30180         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30181         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30182         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30183         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30184         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30185         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30186         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30187         (gst_pad_stop_task):
30188         * gst/gstpad.h:
30189         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30190         (gst_queue_loop), (gst_queue_src_activate):
30191         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30192         (gst_task_get_state):
30193         * gst/gsttask.h:
30194         * gst/schedulers/threadscheduler.c:
30195         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30196         Implement gst_pad_pause/start/stop_task(), take STREAM lock
30197         in task function.
30198         Remove ACTIVE pad flag, use FLUSHING everywhere
30199         Added _pad_chain(), _pad_get_range() to call chain/getrange 
30200         functions.
30201         Add locks around IS_FLUSHING when reading.
30202         Take STREAM lock in chain(), get_range() functions so plugins
30203         don't need to take it anymore.
30204         
30205
30206
30207 2005-05-25  Wim Taymans  <wim@fluendo.com>
30208
30209         * tools/gst-launch.c: (event_loop):
30210         Unref message after using its contents instead of
30211         before.
30212
30213 2005-05-24  Wim Taymans  <wim@fluendo.com>
30214
30215         * docs/design/draft-ghostpads.txt:
30216         * docs/design/draft-push-pull.txt:
30217         * docs/design/draft-query.txt:
30218         * docs/design/part-overview.txt:
30219         Docs updates, added general overview doc.
30220
30221 2005-05-21  David Schleef  <ds@schleef.org>
30222
30223         * docs/gst/tmpl/old/GstBin.sgml:
30224         * docs/gst/tmpl/old/GstBuffer.sgml:
30225         * docs/gst/tmpl/old/GstCaps.sgml:
30226         * docs/gst/tmpl/old/GstClock.sgml:
30227         * docs/gst/tmpl/old/GstCompat.sgml:
30228         * docs/gst/tmpl/old/GstData.sgml:
30229         * docs/gst/tmpl/old/GstElement.sgml:
30230         * docs/gst/tmpl/old/GstEvent.sgml:
30231         * docs/gst/tmpl/old/GstIndex.sgml:
30232         * docs/gst/tmpl/old/GstStructure.sgml:
30233         * docs/gst/tmpl/old/GstTag.sgml:
30234         * docs/gst/tmpl/old/cothreads.sgml:
30235         * docs/gst/tmpl/old/cothreads_compat.sgml:
30236         * docs/gst/tmpl/old/gettext.sgml:
30237         * docs/gst/tmpl/old/gobject2gtk.sgml:
30238         * docs/gst/tmpl/old/grammar.tab.sgml:
30239         * docs/gst/tmpl/old/gst-i18n-app.sgml:
30240         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30241         * docs/gst/tmpl/old/gst_private.sgml:
30242         * docs/gst/tmpl/old/gstaggregator.sgml:
30243         * docs/gst/tmpl/old/gstarch.sgml:
30244         * docs/gst/tmpl/old/gstatomic_impl.sgml:
30245         * docs/gst/tmpl/old/gstbufferstore.sgml:
30246         * docs/gst/tmpl/old/gstdata_private.sgml:
30247         * docs/gst/tmpl/old/gstdisksink.sgml:
30248         * docs/gst/tmpl/old/gstdisksrc.sgml:
30249         * docs/gst/tmpl/old/gstelementfactory.sgml:
30250         * docs/gst/tmpl/old/gstextratypes.sgml:
30251         * docs/gst/tmpl/old/gstfakesink.sgml:
30252         * docs/gst/tmpl/old/gstfakesrc.sgml:
30253         * docs/gst/tmpl/old/gstfdsink.sgml:
30254         * docs/gst/tmpl/old/gstfdsrc.sgml:
30255         * docs/gst/tmpl/old/gstfilesink.sgml:
30256         * docs/gst/tmpl/old/gstfilesrc.sgml:
30257         * docs/gst/tmpl/old/gsthttpsrc.sgml:
30258         * docs/gst/tmpl/old/gstidentity.sgml:
30259         * docs/gst/tmpl/old/gstindexfactory.sgml:
30260         * docs/gst/tmpl/old/gstmarshal.sgml:
30261         * docs/gst/tmpl/old/gstmd5sink.sgml:
30262         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30263         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30264         * docs/gst/tmpl/old/gstpadtemplate.sgml:
30265         * docs/gst/tmpl/old/gstpipefilter.sgml:
30266         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30267         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30268         * docs/gst/tmpl/old/gstshaper.sgml:
30269         * docs/gst/tmpl/old/gstspider.sgml:
30270         * docs/gst/tmpl/old/gstspideridentity.sgml:
30271         * docs/gst/tmpl/old/gststatistics.sgml:
30272         * docs/gst/tmpl/old/gsttee.sgml:
30273         * docs/gst/tmpl/old/gsttimecache.sgml:
30274         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30275         * docs/gst/tmpl/old/gstxmlregistry.sgml:
30276         * docs/gst/tmpl/old/gthread-cothreads.sgml:
30277         * docs/gst/tmpl/old/types.sgml:
30278           I didn't intend to add these or check them in.
30279
30280 2005-05-19  David Schleef  <ds@schleef.org>
30281
30282         * configure.ac: Use -no-common everywhere.  In a sane world, it
30283           would be the default in libtool, because without it, you can't
30284           build DLLs on Windows.
30285         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30286         * docs/gst/gstreamer-sections.txt:
30287         * docs/gst/tmpl/gstcpu.sgml:
30288         * docs/gst/tmpl/gstdata.sgml:
30289         * docs/gst/tmpl/gstthread.sgml:
30290
30291 2005-05-19  David Schleef  <ds@schleef.org>
30292
30293         * gst/gstminiobject.c: (gst_value_set_mini_object),
30294         (gst_value_take_mini_object), (gst_value_get_mini_object):
30295         * gst/gstminiobject.h: Add GValue set/get functions.
30296
30297 2005-05-19  Wim Taymans  <wim@fluendo.com>
30298
30299         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30300         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30301         (gst_subbuffer_init), (gst_buffer_is_span_fast):
30302         * gst/gstbuffer.h:
30303         * gst/gstbus.c: (gst_bus_post):
30304         * gst/gstelement.c: (gst_element_get_random_pad):
30305         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30306         Make subbufer unref the parent in finalize.
30307         some more debugging info.
30308
30309
30310 2005-05-19  Wim Taymans  <wim@fluendo.com>
30311
30312         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30313         (gst_basesink_init), (gst_basesink_finalize),
30314         (gst_basesink_activate), (gst_basesink_change_state):
30315         Don't free preroll queue too early.
30316
30317 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30318
30319         * gst/Makefile.am:
30320         * gst/ROADMAP:
30321           Hi, I'm outdated. Please shoot me.
30322
30323 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30324
30325         * gst/gstpipeline.c: (gst_pipeline_send_event):
30326           Do not access variables after they have been deleted.
30327
30328 2005-05-19  Wim Taymans  <wim@fluendo.com>
30329
30330         * tools/gst-inspect.c: (print_plugin_features):
30331         A plugin feature does unfortunatly not use the
30332         object name yet...
30333
30334 2005-05-18  Wim Taymans  <wim@fluendo.com>
30335
30336         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30337         Port _span() functions to new subbuffers.
30338
30339 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30340
30341         * gst/gstbin.c: (gst_bin_add_func):
30342           Fix clock settery in bins when adding kids after the clock has
30343           been selected.
30344
30345 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30346
30347         * gst/elements/gstidentity.c: (gst_identity_class_init):
30348           Workaround until signals support GstMiniObject.
30349
30350 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
30351
30352         * gst/gstbuffer.c:
30353         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30354
30355 2005-05-18  Wim Taymans  <wim@fluendo.com>
30356
30357         * gst/base/Makefile.am:
30358         * gst/base/gstadapter.c: (gst_adapter_base_init),
30359         (gst_adapter_class_init), (gst_adapter_init),
30360         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30361         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30362         (gst_adapter_flush), (gst_adapter_available),
30363         (gst_adapter_available_fast):
30364         * gst/base/gstadapter.h:
30365         Ported and added adapter to the base classes.
30366
30367 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30368
30369         * gst/gst.c:
30370         * gst/gstmessage.c:
30371           Make sure the class is reffed/unreffed once before threads can be
30372           used.  Fixes #304551.
30373
30374 2005-05-17  Wim Taymans  <wim@fluendo.com>
30375
30376         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30377         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30378         * gst/gstminiobject.c: (gst_mini_object_get_type),
30379         (gst_mini_object_free):
30380         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30381         (gst_pad_push), (gst_pad_push_event):
30382         * gst/gstqueue.c: (gst_queue_change_state):
30383         Don't queue buffers in basesink when we are flushing.
30384         Unref buffer when flushing in basesink.
30385         Flush queue when going to READY
30386         Unref buffer when _push() returns an error.
30387         Don't free MiniObject instance when refcount is incremented
30388         in _finalize() so that we can recover objects.
30389
30390 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30391
30392         * docs/manual/advanced-schedulers.xml:
30393         * docs/manual/appendix-checklist.xml:
30394         * docs/pwg/advanced-clock.xml:
30395         * docs/pwg/advanced-interfaces.xml:
30396         * docs/pwg/advanced-request.xml:
30397         * docs/pwg/advanced-types.xml:
30398         * docs/pwg/intro-preface.xml:
30399         * examples/plugins/example.c: (gst_example_get_type),
30400         (gst_example_class_init), (gst_example_chain),
30401         (gst_example_set_property), (gst_example_get_property),
30402         (gst_example_change_state), (plugin_init):
30403         * examples/plugins/example.h:
30404           small doc fixes
30405
30406 2005-05-17  Wim Taymans  <wim@fluendo.com>
30407
30408         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30409         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30410         * gst/gstqueue.c: (gst_queue_change_state):
30411         Clear queue when going to READY.
30412         Remove IN_SETCAPS flag too.
30413
30414 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30415
30416         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30417           Remove implicit cast from gboolean to GstElementStateReturn;
30418           make sure we still return failure in paused => ready case if
30419           the parent class fails to change state and our own stop 
30420           vfunc succeeds.
30421
30422 2005-05-17  Wim Taymans  <wim@fluendo.com>
30423
30424         * tools/gst-launch.c: (event_loop):
30425         Message was unreffed too soon.
30426
30427 2005-05-16  Andy Wingo  <wingo@pobox.com>
30428
30429         * gst/gstbin.c (sink_iterator_filter): Err... um...
30430
30431         * check/gst/gstbin.c (test_ghost_pads): New test for the
30432         ghosting-if-elements-not-in-same-bin behavior.
30433
30434 2005-05-16  David Schleef  <ds@schleef.org>
30435
30436         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30437         accessing refcount directly.
30438
30439 2005-05-15  David Schleef  <ds@schleef.org>
30440
30441         * check/Makefile.am: remove GstData checks
30442         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30443         * gst/Makefile.am: add miniobject, remove data
30444         * gst/gst.h: add miniobject, remove data
30445         * gst/gstdata.c: remove
30446         * gst/gstdata.h: remove
30447         * gst/gstdata_private.h: remove
30448         * gst/gsttypes.h: remove GstEvent and GstMessage
30449         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30450         * gst/gstmarshal.list: change BOXED -> OBJECT
30451
30452         Implement GstMiniObject.
30453         * gst/gstminiobject.c:
30454         * gst/gstminiobject.h:
30455
30456         Modify to be subclasses of GstMiniObject.
30457         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30458         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30459         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30460         (gst_subbuffer_get_type), (gst_subbuffer_init),
30461         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30462         (gst_buffer_span):
30463         * gst/gstbuffer.h:
30464         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30465         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30466         (_gst_event_copy), (gst_event_new):
30467         * gst/gstevent.h:
30468         * gst/gstmessage.c: (_gst_message_initialize),
30469         (gst_message_get_type), (gst_message_class_init),
30470         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30471         (gst_message_new), (gst_message_new_error),
30472         (gst_message_new_warning), (gst_message_new_tag),
30473         (gst_message_new_state_changed), (gst_message_new_application):
30474         * gst/gstmessage.h:
30475         * gst/gstprobe.c: (gst_probe_perform),
30476         (gst_probe_dispatcher_dispatch):
30477         * gst/gstprobe.h:
30478         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30479         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30480         (_gst_query_copy), (gst_query_new):
30481
30482         Update elements for GstData -> GstMiniObject changes
30483         * gst/gstquery.h:
30484         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30485         (gst_queue_chain), (gst_queue_loop):
30486         * gst/elements/gstbufferstore.c:
30487         (gst_buffer_store_add_buffer_func),
30488         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30489         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30490         (gst_fakesink_render):
30491         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30492         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30493         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30494         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30495         (gst_filesrc_create_read):
30496         * gst/elements/gstidentity.c: (gst_identity_class_init):
30497         * gst/elements/gsttypefindelement.c:
30498         (gst_type_find_element_src_event), (free_entry_buffers),
30499         (gst_type_find_element_handle_event):
30500         * libs/gst/dataprotocol/dataprotocol.c:
30501         (gst_dp_header_from_buffer):
30502         * libs/gst/dataprotocol/dataprotocol.h:
30503         * libs/gst/dataprotocol/dp-private.h:
30504
30505 2005-05-15  David Schleef  <ds@schleef.org>
30506
30507         * gst/elements/gstelements.c: Don't include headers that were
30508         just removed.
30509
30510 2005-05-15  David Schleef  <ds@schleef.org>
30511
30512         * gst/elements/Makefile.am: Remove some elements that don't
30513         need to be in the core (or even exist at all).
30514         * gst/elements/gstaggregator.c:
30515         * gst/elements/gstaggregator.h:
30516         * gst/elements/gstmd5sink.c:
30517         * gst/elements/gstmd5sink.h:
30518         * gst/elements/gstmultifilesrc.c:
30519         * gst/elements/gstmultifilesrc.h:
30520         * gst/elements/gstpipefilter.c:
30521         * gst/elements/gstpipefilter.h:
30522         * gst/elements/gstshaper.c:
30523         * gst/elements/gstshaper.h:
30524         * gst/elements/gststatistics.c:
30525         * gst/elements/gststatistics.h:
30526         * po/POTFILES.in: Remove above files.
30527
30528 2005-05-14  Andy Wingo  <wingo@pobox.com>
30529
30530         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30531         so as to get the refs right.
30532         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30533         unreffing objects that don't pass the filter.
30534
30535         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30536         gst_element_set_bus.
30537         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30538         normal cases, this will destroy the bus.
30539
30540         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30541         object.
30542
30543         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30544         has no sinks.
30545
30546 2005-05-13  Andy Wingo  <wingo@pobox.com>
30547
30548         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30549         gst_pad_link, call pad_link_maybe_ghosting,
30550         (pad_link_maybe_ghosting): Links pads, making sure that the
30551         elements being linked are in the same bin.
30552         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30553         Helpers for pad_link_maybe_ghosting.
30554
30555 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30556
30557         * configure.ac:
30558           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30559
30560 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30561
30562         * docs/design/part-element-source.txt:
30563           Mention GstPushSrc
30564
30565 2005-05-12  Wim Taymans  <wim@fluendo.com>
30566
30567         * gst/base/gstbasesink.c: (gst_basesink_init),
30568         (gst_basesink_activate):
30569         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30570         (gst_basesrc_is_seekable):
30571         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30572         (bin_element_is_sink), (gst_bin_change_state):
30573         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30574         * gst/gstelement.h:
30575         Identify sinks by their flag to avoid overly complicated
30576         checks (fow now).
30577         Do state changes even for elements not reachable from the
30578         sinks.
30579         BaseSink is a sink now :)
30580         Some more debugging info in the basesrc.
30581
30582
30583 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30584
30585         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30586           Implement _query on a bin, similar to _send_event.
30587
30588 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30589
30590         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30591           Discont event offset format should be GST_FORMAT_BYTES,
30592           not GST_FORMAT_TIME.
30593
30594 2005-05-12  Wim Taymans  <wim@fluendo.com>
30595
30596         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30597         Same fix as Ronald's but without the signal. 
30598
30599 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30600
30601         * gst/gstutils.c: (gst_element_query_position):
30602           No, an element is not a pad.
30603
30604 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30605
30606         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30607         (gst_bin_get_state):
30608           If a child is removed from a bin while we remove the child from
30609           the bin and while we're retrieving its state, signal this to the
30610           get_state function so we abort the wait (instead of waiting for
30611           a timeout) and can immediately re-iterate over all other elements.
30612
30613 2005-05-12  Wim Taymans  <wim@fluendo.com>
30614
30615         * gst/base/Makefile.am:
30616         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30617         (gst_basesrc_start):
30618         * gst/base/gstbasesrc.h:
30619         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30620         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30621         (gst_pushsrc_init), (gst_pushsrc_create):
30622         * gst/base/gstpushsrc.h:
30623         Added is_seekable to BaseSrc
30624         Added simple PushSrc.
30625
30626 2005-05-11  Wim Taymans  <wim@fluendo.com>
30627
30628         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30629         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30630         (gst_element_link_pads), (gst_element_query_position),
30631         (gst_element_query_convert), (intersect_caps_func),
30632         (gst_pad_query_position), (gst_pad_query_convert):
30633         Fix refcounting in utils function.
30634         No point in trying to activate a pad when it's added, it could
30635         be added from the state change function and then we deadlock, the
30636         element has to decide what to do.
30637
30638 2005-05-10  Andy Wingo  <wingo@pobox.com>
30639
30640         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30641         *all* the arguments.
30642
30643         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30644         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30645         lock (according to the docs -- if this is wrong change the docs).
30646
30647         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30648         flush messages in the NULL state.
30649
30650         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30651         message immediately and return.
30652         (gst_bus_set_flushing): New function. If a bus is flushing, it
30653         flushes out any queued messages and immediately unrefs new
30654         messages. This is so when an element goes to NULL, all of the
30655         unhandled messages coming from it can be freed, and their
30656         references to the element dropped. In other words: message source
30657         ref considered harmful :P
30658
30659         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30660         we're finished with it.
30661
30662         * gst/gstmessage.c (gst_message_new_state_changed): 
30663
30664 2005-05-10  Wim Taymans  <wim@fluendo.com>
30665
30666         * gst/gstvalue.c: (gst_value_compare_flags),
30667         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30668         (_gst_value_initialize):
30669         Added flags serialize/deserialize/compare code.
30670
30671 2005-05-09  Andy Wingo  <wingo@pobox.com>
30672
30673         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30674         Intersect the peer's caps with our caps.
30675
30676 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30677
30678         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30679         * gst/elements/gsttypefindelement.c: (find_peek):
30680           Handle negative offsets better. Fixes decodebin.
30681
30682 2005-05-09  Wim Taymans  <wim@fluendo.com>
30683
30684         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30685         (gst_base_transform_event):
30686         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30687         Implement accept_caps.
30688         Fix silly lock/unlock mismatch in base class.
30689
30690 2005-05-09  Wim Taymans  <wim@fluendo.com>
30691
30692         * docs/design/draft-push-pull.txt:
30693         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30694         * gst/elements/gstfilesink.c: (gst_filesink_init),
30695         (gst_filesink_query):
30696         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30697         (gst_type_find_handle_src_query), (find_element_get_length):
30698         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30699         * gst/gstelement.h:
30700         * gst/gstmessage.c:
30701         * gst/gstmessage.h:
30702         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30703         (gst_real_pad_get_caps_unlocked),
30704         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30705         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30706         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30707         (gst_real_pad_dispose), (gst_real_pad_finalize),
30708         (gst_pad_load_and_link), (gst_pad_save_thyself),
30709         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30710         (gst_pad_check_pull_range), (gst_pad_pull_range),
30711         (gst_pad_template_get_type), (gst_pad_template_class_init),
30712         (gst_pad_template_init), (gst_pad_template_dispose),
30713         (name_is_valid), (gst_static_pad_template_get),
30714         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30715         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30716         (gst_pad_get_element_private), (gst_pad_start_task),
30717         (gst_pad_pause_task), (gst_pad_stop_task),
30718         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30719         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30720         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30721         (gst_ghost_pad_new):
30722         * gst/gstpad.h:
30723         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30724         (gst_query_new_position), (gst_query_set_position),
30725         (gst_query_parse_position), (gst_query_new_convert),
30726         (gst_query_set_convert), (gst_query_parse_convert):
30727         * gst/gstquery.h:
30728         * gst/gstqueryutils.c:
30729         * gst/gstqueryutils.h:
30730         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30731         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30732         (gst_queue_handle_src_query):
30733         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30734         (gst_element_query_position), (gst_element_query_convert),
30735         (intersect_caps_func), (gst_pad_query_position),
30736         (gst_pad_query_convert):
30737         * gst/gstutils.h:
30738         * tools/gst-inspect.c: (print_pad_info):
30739         * tools/gst-xmlinspect.c: (print_element_info):
30740         Remove old query functions. Ported old code.
30741         Added position/convert helper functions to gstutils.
30742         Reordered gstpad.c code, grouping relevant things.
30743         Remove gst_message_new(), always need to speficy a specific
30744         message.
30745
30746
30747 2005-05-09  Andy Wingo  <wingo@pobox.com>
30748
30749         * gst/gstiterator.h: Add some includes.
30750
30751         * gst/gstqueryutils.h: Include more headers.
30752
30753         * gst/gstpad.h:
30754         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30755         some uses of gst_pad_query.
30756
30757         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30758         NULL out parameters.
30759         (gst_query_new_position): New proc, allocates a new position
30760         query.
30761
30762         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30763         gstqueryutils.c to the build.
30764
30765         * gst/gststructure.c (gst_structure_set_valist): Implement with
30766         the generic G_VALUE_COLLECT.
30767         
30768 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30769
30770         * gst/Makefile.am: (gst_headers):
30771         Added gstqueryutils.h to the list of headers to install, that was
30772         a 'nachty' move wingo :)
30773
30774 2005-05-06  Andy Wingo  <wingo@pobox.com>
30775
30776         * gst/gstquery.h
30777         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30778         GstData, init a memchunk.
30779         (standard_definitions): Add a few query types, deprecate a few.
30780         (gst_query_get_type): New proc.
30781         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30782         implementation.
30783         (gst_query_new_application, gst_query_get_structure): New public
30784         procs.
30785
30786         * docs/design/draft-query.txt: Removed LINKS from the query types,
30787         because all the rest can be dispatched to other pads -- seemed
30788         ugly to have a query that couldn't be dispatched. internal_links
30789         is fine as a pad method.
30790
30791         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30792         in gstpad.c, but maintain binary compatibility for the moment.
30793         Will fix before 0.9 is out.
30794
30795         * gst/gstqueryutils.c: 
30796         * gst/gstqueryutils.h: New files, implement 3 methods for each
30797         query type: parse_query, parse_response, and set. Probably need an
30798         allocator as well.
30799
30800         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30801
30802         * gst/elements/gstfilesink.c (gst_filesink_query2):
30803         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30804         query_types, and formats methods.
30805
30806         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30807         (gst_pad_set_query2_function): New functions.
30808         (gst_real_pad_init): Set query2_default as the default query2
30809         function. Basically just dispatches to internally linked pads.
30810
30811         Needs review!
30812         
30813         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30814         without using the atomic operations. Only one thread can possibly
30815         be accessing the data at this point. Changed so as to avoid
30816         gst_atomic operations.
30817
30818 2005-05-06  Wim Taymans  <wim@fluendo.com>
30819
30820         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30821         Also set caps if we use the fallback buffer alloc.
30822
30823 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30824
30825         * docs/gst/Makefile.am:
30826         * docs/gst/gstreamer-docs.sgml:
30827         * docs/gst/gstreamer-sections.txt:
30828         * docs/gst/tmpl/gstatomic.sgml:
30829         * docs/gst/tmpl/gstmemchunk.sgml:
30830         * testsuite/elements/struct_i386.h:
30831         * win32/GStreamer.vcproj:
30832         * win32/Makefile:
30833           Purge GstAtomic stuff from docs and win32 makefiles as well
30834
30835 2005-05-06  Wim Taymans  <wim@fluendo.com>
30836
30837         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30838         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30839         * gst/gstpad.c: (gst_pad_peer_get_caps):
30840         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30841         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30842         (gst_queue_src_activate), (gst_queue_change_state):
30843         * gst/gstqueue.h:
30844         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30845         (intersect_caps_func):
30846         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30847         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30848         Some fixes for the peer_get_caps() change.
30849
30850 2005-05-06  Wim Taymans  <wim@fluendo.com>
30851
30852         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30853         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30854         (gst_basesink_activate):
30855         Actually do something with error codes returned from the push
30856         functions.
30857
30858 2005-05-06  Wim Taymans  <wim@fluendo.com>
30859
30860         * docs/design/part-element-sink.txt:
30861         * docs/design/part-element-source.txt:
30862         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30863         (gst_basesink_event), (gst_basesink_activate):
30864         * gst/base/gstbasesink.h:
30865         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30866         (gst_basesrc_activate):
30867         * gst/base/gstbasesrc.h:
30868         * gst/gstelement.c: (gst_element_pads_activate):
30869         Some more documentation.
30870         Fixed scheduling decision in _pads_activate().
30871
30872 2005-05-05  Andy Wingo  <wingo@pobox.com>
30873
30874         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30875         the test suite.
30876
30877 2005-05-05  Wim Taymans  <wim@fluendo.com>
30878
30879         * gst/base/Makefile.am:
30880         * gst/base/gstbasesink.h:
30881         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30882         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30883         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30884         (gst_collectpads_class_init), (gst_collectpads_init),
30885         (gst_collectpads_finalize), (gst_collectpads_new),
30886         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30887         (find_pad), (gst_collectpads_remove_pad),
30888         (gst_collectpads_is_active), (gst_collectpads_collect),
30889         (gst_collectpads_collect_range), (gst_collectpads_start),
30890         (gst_collectpads_stop), (gst_collectpads_peek),
30891         (gst_collectpads_pop), (gst_collectpads_available),
30892         (gst_collectpads_read), (gst_collectpads_flush),
30893         (gst_collectpads_chain):
30894         * gst/base/gstcollectpads.h:
30895         * gst/elements/Makefile.am:
30896         * gst/elements/gstelements.c:
30897         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30898         (gst_fakesink_get_times), (gst_fakesink_event),
30899         (gst_fakesink_preroll), (gst_fakesink_render):
30900         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30901         (gst_filesink_init), (gst_filesink_set_location),
30902         (gst_filesink_open_file), (gst_filesink_close_file),
30903         (gst_filesink_pad_query), (gst_filesink_event),
30904         (gst_filesink_render), (gst_filesink_change_state):
30905         * gst/elements/gstfilesink.h:
30906         Added object to help in making collect pad based elements.
30907         Ported filesink.
30908         Make event function in sink baseclass return gboolean.
30909
30910 2005-05-05  Wim Taymans  <wim@fluendo.com>
30911
30912         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30913         (gst_bin_get_by_name):
30914         * gst/gstbuffer.h:
30915         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30916         (gst_clock_finalize):
30917         * gst/gstdata.c: (gst_data_replace):
30918         * gst/gstdata.h:
30919         * gst/gstelement.c: (gst_element_request_pad),
30920         (gst_element_pads_activate):
30921         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30922         (gst_object_unref):
30923         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30924         (gst_pad_set_checkgetrange_function),
30925         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30926         (gst_pad_check_pull_range), (gst_pad_pull_range),
30927         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30928         (gst_pad_pause_task), (gst_pad_stop_task):
30929         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30930         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30931         Fix name lookup in GstBin.
30932         Added _data_replace() function and _buffer_replace()
30933         Use finalize method to clean up clock.
30934         Fix refcounting on request pads.
30935         Fix pad schedule mode error.
30936         Some more object refcounting debug info,
30937
30938
30939 2005-05-04  Andy Wingo <wingo@pobox.com>
30940
30941         * check/Makefile.am:
30942         * docs/gst/tmpl/gstatomic.sgml:
30943         * docs/gst/tmpl/gstplugin.sgml:
30944         * gst/base/gstbasesink.c: (gst_basesink_activate):
30945         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30946         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30947         (gst_basesrc_query), (gst_basesrc_set_property),
30948         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30949         (gst_basesrc_activate):
30950         * gst/base/gstbasesrc.h:
30951         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30952         (gst_base_transform_src_activate):
30953         * gst/elements/gstelements.c:
30954         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30955         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30956         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30957         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30958         (gst_type_find_element_checkgetrange),
30959         (gst_type_find_element_activate):
30960         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30961         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30962         (gst_caps_load_thyself):
30963         * gst/gstelement.c: (gst_element_pads_activate),
30964         (gst_element_save_thyself), (gst_element_restore_thyself):
30965         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30966         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30967         * gst/gstpad.h:
30968         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30969         (gst_xml_parse_file), (gst_xml_parse_memory),
30970         (gst_xml_get_element), (gst_xml_make_element):
30971         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30972         (_file_index_id_save_xml), (gst_file_index_commit):
30973         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30974         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30975         (load_paths):
30976         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30977         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30978         * tools/gst-complete.c: (main):
30979         * tools/gst-compprep.c: (main):
30980         * tools/gst-inspect.c: (print_element_properties_info):
30981         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30982         * tools/gst-xmlinspect.c: (print_element_properties):
30983         GCC 4 fixen.
30984         
30985 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30986
30987         * gst/gstplugin.c: (gst_plugin_check_module),
30988         (gst_plugin_check_file), (gst_plugin_load_file):
30989             apply patch from #172526 to make register work on MacOSX
30990
30991 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30992
30993         * docs/gst/tmpl/gstconfig.sgml:
30994         * gst/gstconfig.h.in:
30995           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30996         * testsuite/debug/printf_extension.c: (main):
30997           Do not use GST_PTR_FORMAT on pointers to types with
30998           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30999         * testsuite/elements/property.h:
31000           use correct printf format
31001
31002 2005-05-02  Wim Taymans  <wim@fluendo.com>
31003
31004         * docs/design/draft-push-pull.txt:
31005         * docs/design/draft-query.txt:
31006         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
31007         (gst_basesrc_start):
31008         Added draft for new query API.
31009         Added draft for better selecting scheduling methods.
31010         Make basesrc ignore length if the subclass does not support
31011         it.
31012
31013 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
31014
31015         * gst/Makefile.am:
31016           possible fixes for automake-1.5 - _LIBADD is reserved
31017
31018 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
31019
31020         * docs/faq/Makefile.am:
31021         * docs/manual/Makefile.am:
31022         * docs/manuals.mak:
31023         * docs/pwg/Makefile.am:
31024         * gst/Makefile.am:
31025           possible fixes for automake-1.5
31026
31027 2005-04-28  Wim Taymans  <wim@fluendo.com>
31028
31029         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31030         (gst_basesink_pad_getcaps), (gst_basesink_init),
31031         (gst_basesink_do_sync):
31032         * gst/gstclock.c: (gst_clock_entry_new):
31033         * gst/gstevent.c: (gst_event_discont_get_value):
31034         * gst/gstpipeline.c: (pipeline_bus_handler),
31035         (gst_pipeline_change_state):
31036         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
31037         Better debugging of clocking info.
31038         Allow NULL values when getting discont values.
31039
31040 2005-04-27  Wim Taymans  <wim@fluendo.com>
31041
31042         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31043         * check/gst/gstpad.c: (gst_pad_suite):
31044         Increase timeout for checks.
31045
31046 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
31047
31048         * check/Makefile.am:
31049           fix the broken rule for cleanup.  Apparently this rule is
31050           only needed on FC2, so maybe this warrants further autotool
31051           inspection.
31052
31053 2005-04-26  Wim Taymans  <wim@fluendo.com>
31054
31055         * gst/gsttrashstack.h:
31056         Ooohh. a nasty one! After having a failed pop() from the stack,
31057         it's possible that the stack is empty. In that case, don't
31058         follow the NULL pointer.
31059
31060 2005-04-25  Wim Taymans  <wim@fluendo.com>
31061
31062         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31063         (gst_pad_set_checkgetrange_function),
31064         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
31065         (gst_pad_check_pull_range), (gst_pad_pull_range),
31066         (gst_static_pad_template_get_caps), (gst_pad_start_task),
31067         (gst_pad_pause_task), (gst_pad_stop_task):
31068         * gst/gstplugin.c: (gst_plugin_load):
31069         * gst/gstplugin.h:
31070         Remove gst_library_load as it does more harm than good with
31071         the new g_module flags.
31072         Revert bogus caps template check in pad linking, pad caps
31073         are important when linking not the template, which is more
31074         general than the current caps.
31075
31076 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31077
31078         * gst/autoplug/.cvsignore:
31079         * gst/autoplug/Makefile.am:
31080         * gst/autoplug/gstsearchfuncs.c:
31081         * gst/autoplug/gstsearchfuncs.h:
31082         * gst/autoplug/gstspider.c:
31083         * gst/autoplug/gstspider.h:
31084         * gst/autoplug/gstspideridentity.c:
31085         * gst/autoplug/gstspideridentity.h:
31086         * gst/autoplug/spidertest.c:
31087           Die, spider, die.
31088
31089 2005-04-25  Wim Taymans  <wim@fluendo.com>
31090
31091         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31092         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31093         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
31094         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
31095         * gst/gstpad.h:
31096         Added stubs for unimplemented functions. 
31097
31098 2005-04-24  David Schleef  <ds@schleef.org>
31099
31100         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
31101         please fix.
31102
31103 2005-04-24  David Schleef  <ds@schleef.org>
31104
31105         Convert everything from GstAtomicInt to g_atomic_int_*, and
31106         remove gstatomic.
31107         * gst/Makefile.am:
31108         * gst/gstatomic.c:
31109         * gst/gstatomic.h:
31110         * gst/gstatomic_impl.h:
31111         * gst/gstbuffer.c:
31112         * gst/gstcaps.c:
31113         * gst/gstcaps.h:
31114         * gst/gstclock.c:
31115         * gst/gstclock.h:
31116         * gst/gstdata.c:
31117         * gst/gstdata.h:
31118         * gst/gstdata_private.h:
31119         * gst/gstevent.c:
31120         * gst/gstinfo.c:
31121         * gst/gstinfo.h:
31122         * gst/gstmessage.c:
31123         * gst/gstobject.c:
31124         * gst/gstobject.h:
31125         * gst/gststructure.c:
31126         * gst/gststructure.h:
31127         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31128         * gst/gstutils.h:
31129
31130 2005-04-24  David Schleef  <ds@schleef.org>
31131
31132         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31133         make the regressions tests work.  Remove some code that is no
31134         longer true.
31135         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31136         Disable warning for pads without templates.
31137
31138 2005-04-24  David Schleef  <ds@schleef.org>
31139
31140         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
31141         functions that handle filtered links.
31142         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31143         removed functions.
31144         * gst/gstutils.c: Fix/remove utility functions that handle
31145         filtered caps.
31146         * gst/gstutils.h:
31147         * gst/gstvalue.c: Add serialization/deserialization of caps
31148         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
31149         requires fixing so that the filter caps notation creates
31150         a capsfilter element and sets the filter_caps property.  I
31151         think everyone probably wants to keep the shorthand notation.
31152         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31153         * docs/gst/tmpl/gstpad.sgml:
31154
31155         * gst/elements/gstelements.c: Register capsfilter element.
31156         * gst/Makefile.am: fix spacing
31157         * docs/random/ds/0.9-suggested-changes: random
31158
31159 2005-04-23  David Schleef  <ds@schleef.org>
31160
31161         * gst/elements/Makefile.am:
31162         * gst/elements/gstcapsfilter.c: New element that acts like an
31163         identity, but filters caps.  Will eventually replace filtered
31164         caps in pad linking.
31165         * gst/gstutils.c: (gst_element_create_all_pads): New function
31166         to create all the ALWAYS pads that are registered with an
31167         element class.  This functionality should eventually be
31168         merged in with GstElement initialization.
31169         * gst/gstutils.h:
31170         * testsuite/trigger/README: part of trigger test code that should
31171         have been checked in a long time ago.
31172
31173 2005-04-23  David Schleef  <ds@schleef.org>
31174
31175         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
31176         needed with new versions of libtool (nobody will confirm this),
31177         and hard to carry around.
31178         * gst/autoplug/Makefile.am:
31179         * gst/base/Makefile.am:
31180         * gst/elements/Makefile.am:
31181         * gst/indexers/Makefile.am:
31182         * gst/schedulers/Makefile.am:
31183         * libs/gst/bytestream/Makefile.am:
31184         * libs/gst/control/Makefile.am:
31185         * libs/gst/dataprotocol/Makefile.am:
31186         * libs/gst/getbits/Makefile.am:
31187
31188 2005-04-21  Wim Taymans  <wim@fluendo.com>
31189
31190         * docs/design/draft-push-pull.txt:
31191         * docs/design/part-MT-refcounting.txt:
31192         * docs/design/part-TODO.txt:
31193         * docs/design/part-caps.txt:
31194         * docs/design/part-events.txt:
31195         * docs/design/part-gstbus.txt:
31196         * docs/design/part-gstpipeline.txt:
31197         * docs/design/part-messages.txt:
31198         * docs/design/part-push-pull.txt:
31199         * docs/design/part-query.txt:
31200         Some more docs.
31201
31202 2005-04-21  Wim Taymans  <wim@fluendo.com>
31203
31204         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31205         (gst_message_new), (gst_message_new_error),
31206         (gst_message_new_warning), (gst_message_new_tag),
31207         (gst_message_new_state_changed), (gst_message_new_application),
31208         (gst_message_get_structure):
31209         * gst/gstmessage.h:
31210         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31211         (gst_structure_copy_conditional):
31212         Use parent refcount in GstMessage to ensure GstStructure
31213         consistency.
31214         Cleaned up headers a bit.
31215         
31216
31217 2005-04-20  Wim Taymans  <wim@fluendo.com>
31218
31219         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31220         (gst_basesink_pad_getcaps), (gst_basesink_init),
31221         (gst_basesink_chain_unlocked):
31222         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31223         (gst_type_find_helper):
31224         * gst/elements/gsttypefindelement.c:
31225         (gst_type_find_element_have_type), (gst_type_find_element_init),
31226         (stop_typefinding), (gst_type_find_element_handle_event),
31227         (find_suggest), (gst_type_find_element_chain),
31228         (gst_type_find_element_checkgetrange),
31229         (gst_type_find_element_getrange), (do_typefind),
31230         (gst_type_find_element_activate):
31231         * gst/gstbuffer.c: (_gst_buffer_sub_free),
31232         (gst_buffer_default_free), (gst_buffer_default_copy),
31233         (gst_buffer_set_caps):
31234         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31235         (gst_caps_replace):
31236         * gst/gstmessage.c: (gst_message_new),
31237         (gst_message_new_state_changed):
31238         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31239         (gst_pad_set_checkgetrange_function),
31240         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31241         (gst_pad_set_caps), (gst_pad_check_pull_range),
31242         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31243         * gst/gstpad.h:
31244         * gst/gsttypefind.c: (gst_type_find_register):
31245         Make gst_caps_replace() work like other _replace() functions.
31246         Use _caps_replace() where possible.
31247         Make sure _message_new() initialises its field.
31248         Add gst_static_pad_template_get_caps()
31249
31250
31251 2005-04-18  Andy Wingo  <wingo@pobox.com>
31252
31253         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31254         on the peer, not the pad. I think that was a typo. Pass an extra
31255         arg to see if random access is possible. Activate the pads as
31256         PULL_RANGE if possible.
31257
31258         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31259
31260         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
31261         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31262         to PROP_....
31263
31264 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31265
31266         * docs/faq/using.xml:
31267           Add note on gstreamer-properties (#154996).
31268
31269 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31270
31271         * docs/random/bbb/optional-properties:
31272           Some analysis on optional properties.
31273
31274 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31275
31276         * docs/gst/tmpl/gstelementfactory.sgml:
31277         * gst/gstelement.h:
31278         * gst/gstelementfactory.c: (gst_element_factory_init),
31279         (gst_element_factory_cleanup), (gst_element_register),
31280         (__gst_element_factory_add_static_pad_template),
31281         (gst_element_factory_get_static_pad_templates),
31282         (gst_element_factory_can_src_caps),
31283         (gst_element_factory_can_sink_caps):
31284         * gst/registries/Makefile.am:
31285         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31286         (gst_xml_registry_class_init), (gst_xml_registry_init),
31287         (gst_xml_registry_new), (gst_xml_registry_set_property),
31288         (gst_xml_registry_get_property), (get_time), (make_dir),
31289         (gst_xml_registry_get_perms_func),
31290         (plugin_times_older_than_recurse), (plugin_times_older_than),
31291         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31292         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31293         (add_to_char_array), (read_string), (read_uint), (read_enum),
31294         (load_pad_template), (load_feature), (load_plugin), (load_paths),
31295         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31296         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31297         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31298         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31299         (gst_xml_registry_rebuild):
31300         * gst/registries/gstlibxmlregistry.h:
31301         * tools/gst-compprep.c: (main):
31302         * tools/gst-inspect.c: (print_pad_templates_info):
31303         * tools/gst-xmlinspect.c: (print_element_info):
31304           Use libxml2 for registry parsing, use staticpadtemplates in
31305           elementfactories. Makes gst_init() +/- 10x faster.
31306
31307 2005-04-12  Wim Taymans  <wim@fluendo.com>
31308
31309         * gst/base/Makefile.am:
31310         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31311         (gst_basesink_pad_getcaps), (gst_basesink_init),
31312         (gst_basesink_event), (gst_basesink_change_state):
31313         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31314         (gst_basesrc_init), (gst_basesrc_query),
31315         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31316         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31317         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31318         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31319         (gst_basesrc_stop), (gst_basesrc_activate),
31320         (gst_basesrc_change_state):
31321         * gst/base/gsttypefindhelper.c: (helper_find_peek),
31322         (helper_find_suggest), (gst_type_find_helper):
31323         * gst/base/gsttypefindhelper.h:
31324         * gst/elements/Makefile.am:
31325         * gst/elements/gstelements.c:
31326         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31327         (gst_fakesink_get_times), (gst_fakesink_event),
31328         (gst_fakesink_preroll), (gst_fakesink_render):
31329         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31330         (gst_fakesrc_init), (gst_fakesrc_event_handler),
31331         (gst_fakesrc_get_property), (gst_fakesrc_create),
31332         (gst_fakesrc_start), (gst_fakesrc_stop):
31333         * gst/elements/gstfakesrc.h:
31334         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31335         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31336         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31337         (gst_filesrc_create_read), (gst_filesrc_create),
31338         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31339         (gst_filesrc_start):
31340         * gst/elements/gsttypefindelement.c:
31341         (gst_type_find_element_have_type), (gst_type_find_element_init),
31342         (start_typefinding), (stop_typefinding), (push_buffer_store),
31343         (gst_type_find_element_handle_event),
31344         (gst_type_find_element_chain),
31345         (gst_type_find_element_checkgetrange),
31346         (gst_type_find_element_getrange), (do_typefind),
31347         (gst_type_find_element_activate),
31348         (gst_type_find_element_change_state):
31349         * gst/elements/gsttypefindelement.h:
31350         * gst/gstpipeline.c: (pipeline_bus_handler):
31351         Added typefind helper.
31352         Small preroll fix in the base sink.
31353         Disable typefind code in basesrc.
31354         Crude port of typefindelement.
31355         Fakesrc cleanups.
31356
31357
31358 2005-04-11  Wim Taymans  <wim@fluendo.com>
31359
31360         * check/gst/gstbus.c: (gstbus_suite):
31361         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31362         * check/gstcheck.h:
31363           Fix up the timeout so that the test does not fail.
31364
31365 2005-04-06  Wim Taymans  <wim@fluendo.com>
31366
31367         * gst/base/README:
31368         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31369         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31370         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31371         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31372         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31373         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31374         (gst_basesrc_stop), (gst_basesrc_activate),
31375         (gst_basesrc_change_state), (basesrc_find_peek),
31376         (basesrc_find_suggest), (gst_basesrc_type_find):
31377         * gst/base/gstbasesrc.h:
31378         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31379         (gst_filesrc_class_init), (gst_filesrc_init),
31380         (gst_filesrc_finalize), (gst_filesrc_set_location),
31381         (gst_filesrc_set_property), (gst_filesrc_get_property),
31382         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31383         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31384         (gst_filesrc_create_read), (gst_filesrc_create),
31385         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31386         * gst/elements/gstfilesrc.h:
31387         * gst/gstelement.c: (gst_element_get_state_func),
31388         (gst_element_lost_state), (gst_element_pads_activate):
31389         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31390         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31391         (gst_pad_pull_range):
31392         * gst/gstpad.h:
31393         More work on the generic source base class, implement seeking,
31394         query.
31395         Make filesrc extend the base source class.
31396         Added gst_pad_set_checkgetrange_function to GstPad.
31397
31398 2005-04-06  Andy Wingo  <wingo@pobox.com>
31399
31400         * pkgconfig/gstreamer-base.pc.in:
31401         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31402
31403         * pkgconfig/Makefile.am:
31404         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31405
31406 2005-04-04  Wim Taymans  <wim@fluendo.com>
31407
31408         * gst/base/Makefile.am:
31409         * gst/base/README:
31410         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31411         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31412         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31413         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31414         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31415         (gst_basesrc_base_init), (gst_basesrc_class_init),
31416         (gst_basesrc_init), (gst_basesrc_get_formats),
31417         (gst_basesrc_get_query_types), (gst_basesrc_query),
31418         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31419         (gst_basesrc_set_property), (gst_basesrc_get_property),
31420         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31421         (gst_basesrc_loop), (gst_basesrc_activate),
31422         (gst_basesrc_change_state):
31423         * gst/base/gstbasesrc.h:
31424         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31425         (gst_fakesrc_class_init), (gst_fakesrc_init),
31426         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31427         (gst_fakesrc_get_property), (gst_fakesrc_create):
31428         * gst/elements/gstfakesrc.h:
31429         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31430         (gst_filesrc_open_file), (gst_filesrc_loop),
31431         (gst_filesrc_activate), (filesrc_find_peek),
31432         (gst_filesrc_type_find):
31433         Made base source class, make fakesrc extend it.
31434         Add comments to basesink class.
31435         Some filesrc cleanup.
31436
31437 2005-03-31  David Schleef  <ds@schleef.org>
31438
31439         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31440         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31441         expected to link against libgstreamer.
31442         * gst/base/Makefile.am: link against libgstreamer
31443         * gst/elements/Makefile.am: same
31444
31445 2005-03-31  Andy Wingo  <wingo@pobox.com>
31446
31447         * tests/instantiate/Makefile.am:
31448         * tests/instantiate/caps.c: Add test to test speed of caps copy
31449         and free.
31450
31451         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31452         GMemChunk to be fair.
31453
31454         * gst/gsttrashstack.h: Remove warning about using the fallback
31455         trash stack implementation, it's still faster than malloc.
31456
31457 2005-03-30  Andy Wingo  <wingo@pobox.com>
31458
31459         * tests/complexity.c: Add a copyright.
31460
31461 2005-03-31  Wim Taymans  <wim@fluendo.com>
31462
31463         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31464         (gst_base_transform_class_init), (gst_base_transform_init),
31465         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31466         (gst_base_transform_get_property),
31467         (gst_base_transform_sink_activate),
31468         (gst_base_transform_src_activate),
31469         (gst_base_transform_change_state):
31470         * gst/base/gstbasetransform.h:
31471         * gst/elements/gstidentity.c: (gst_identity_class_init),
31472         (gst_identity_event), (gst_identity_check_perfect),
31473         (gst_identity_transform), (gst_identity_start),
31474         (gst_identity_stop):
31475         Added start/stop methods to transform base class so subclasses 
31476         don't need to deal with state changes even.
31477
31478 2005-03-31  Wim Taymans  <wim@fluendo.com>
31479
31480         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31481         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31482         * gst/gstevent.h:
31483         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31484         (gst_pad_pull_range):
31485         Added rate to the discont event to prepare for variable speed
31486         and reverse playback.
31487
31488 2005-03-29  David Schleef  <ds@schleef.org>
31489
31490         * configure.ac:
31491         * testsuite/trigger/Makefile.am:
31492         * testsuite/trigger/trigger.c: A little example program to show
31493         how trigger-based elements can work.
31494
31495 2005-03-29  Wim Taymans  <wim@fluendo.com>
31496
31497         * gst/base/Makefile.am:
31498         * gst/base/README:
31499         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31500         (gst_basesink_base_init), (gst_basesink_class_init),
31501         (gst_basesink_pad_getcaps), (gst_basesink_init),
31502         (gst_basesink_activate), (gst_basesink_change_state):
31503         * gst/base/gstbasesink.h:
31504         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31505         (gst_base_transform_base_init), (gst_base_transform_finalize),
31506         (gst_base_transform_class_init), (gst_base_transform_init),
31507         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31508         (gst_base_transform_event), (gst_base_transform_getrange),
31509         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31510         (gst_base_transform_set_property),
31511         (gst_base_transform_get_property),
31512         (gst_base_transform_sink_activate),
31513         (gst_base_transform_src_activate),
31514         (gst_base_transform_change_state):
31515         * gst/base/gstbasetransform.h:
31516         * gst/elements/gstidentity.c: (gst_identity_finalize),
31517         (gst_identity_class_init), (gst_identity_init),
31518         (gst_identity_event), (gst_identity_check_perfect),
31519         (gst_identity_transform), (gst_identity_set_property),
31520         (gst_identity_get_property), (gst_identity_change_state):
31521         * gst/elements/gstidentity.h:
31522         * gst/gstelement.c: (gst_element_get_state_func),
31523         (gst_element_lost_state), (gst_element_pads_activate):
31524         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31525         (gst_pad_check_pull_range), (gst_pad_pull_range):
31526         * gst/gstpad.h:
31527         Simplify pad activation.
31528         Added function to check if pull_range can be performed.
31529         Error out when pulling inactive or flushing pads.
31530         Removed const from refcounted types as it does not make sense.
31531         Simplify pad templates in basesink
31532         Added base class for simple 1-to-1 transforms.
31533         Make identity subclass the base transform.
31534
31535 2005-03-29  Andy Wingo  <wingo@pobox.com>
31536
31537         * docs/libs/gstreamer-libs-overrides.txt: 
31538         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31539         really don't understand what's going on, but like whatever. I want
31540         green buildbot!
31541
31542         * docs/gst/Makefile.am:
31543         * docs/libs/Makefile.am: Dist the overrides files.
31544
31545         * check/Makefile.am (clean-local): Remove .libs directories.
31546
31547         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31548         elements to EXTRA_DIST, so po/ files are happy.
31549
31550         * po/POTFILES.in: Er, remove it here.
31551
31552         * po/POTFILES: Remove gstspider.c.
31553
31554         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31555
31556         * docs/libs/gstreamer-libs-docs.sgml: 
31557         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31558         bytestream.
31559
31560         * tests/complexity.c (main): Set the length of the preroll queue
31561         on the sinks to prevent a lockup.
31562
31563         * libs/gst/dataprotocol/Makefile.am: 
31564         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31565         the same as the one in check/gst-libs/gdp.c.
31566
31567         * po/, docs/gst/: Commit automatic changes to docs and po files.
31568
31569         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31570         the versioned libgstbase.
31571
31572         * check/Makefile.am: Depend on an unversioned gst-register, seems
31573         to make autoconf happier.
31574
31575         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31576
31577 2005-03-28  Wim Taymans  <wim@fluendo.com>
31578
31579         * configure.ac:
31580         * docs/design/part-gstelement.txt:
31581         * docs/design/part-negotiation.txt:
31582         * docs/design/part-preroll.txt:
31583         * docs/design/part-scheduling.txt:
31584         * docs/design/part-states.txt:
31585         * gst/Makefile.am:
31586         * gst/base/Makefile.am:
31587         * gst/base/README:
31588         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31589         (gst_basesink_base_init), (gst_basesink_class_init),
31590         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31591         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31592         (gst_basesink_set_pad_functions),
31593         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31594         (gst_basesink_set_property), (gst_basesink_get_property),
31595         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31596         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31597         (gst_basesink_preroll_queue_push),
31598         (gst_basesink_preroll_queue_empty),
31599         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31600         (gst_basesink_event), (gst_basesink_get_times),
31601         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31602         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31603         (gst_basesink_loop), (gst_basesink_activate),
31604         (gst_basesink_change_state):
31605         * gst/base/gstbasesink.h:
31606         * gst/elements/Makefile.am:
31607         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31608         (gst_fakesink_class_init), (gst_fakesink_init),
31609         (gst_fakesink_set_property), (gst_fakesink_get_property),
31610         (gst_fakesink_get_times), (gst_fakesink_event),
31611         (gst_fakesink_preroll), (gst_fakesink_render),
31612         (gst_fakesink_change_state):
31613         * gst/elements/gstfakesink.h:
31614         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31615         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31616         * gst/gstelement.c: (gst_element_add_pad),
31617         (gst_element_get_state_func), (gst_element_abort_state),
31618         (gst_element_commit_state), (gst_element_lost_state),
31619         (gst_element_set_state), (gst_element_pads_activate):
31620         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31621         * gst/gstpipeline.c: (gst_pipeline_send_event),
31622         (gst_pipeline_change_state):
31623         Added state change code.
31624         Added/updated docs.
31625         Added sink base class, make fakesink extend the base class.
31626         Small cleanups in GstPipeline.
31627
31628 2005-03-26  David Schleef  <ds@schleef.org>
31629
31630         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31631         is broken and should be implemented in a different library.
31632         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31633         * gst/gst.h: remove gstcpu.h
31634         * gst/gstcpu.c: remove
31635         * gst/gstcpu.h: remove
31636         * gst/Makefile.am.future: Remove this file.  It's ancient.
31637
31638 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31639
31640         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31641         (gst_bin_send_event):
31642           Add default event/set_manager handlers. The set_manager handler
31643           takes care that the manager is distributed over kids that were
31644           already in the bin before the manager was set. The event handler
31645           is a utility virtual function that sends the event over all sinks,
31646           so that gst_element_send_event (bin, event); has the expected
31647           behaviour.
31648         * gst/gstpad.c: (gst_pad_event_default):
31649           Re-install default event handling for discontinuities, so that
31650           seeking works without requiring hacks in applications or extra
31651           code in sinks.
31652         * gst/gstpipeline.c: (gst_pipeline_class_init),
31653         (gst_pipeline_send_event):
31654           Half hack, half utility: set a pipeline to PAUSED for seek events,
31655           since that is the only way we can guarantee a/v sync. Means that
31656           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31657           and it "just works".
31658
31659 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31660
31661         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31662           Lock/unlock mismatch.
31663
31664 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31665
31666         * docs/faq/gst-uninstalled:
31667           add gst-plugins-base
31668         * docs/gst/Makefile.am:
31669           don't error out until docs are fixed
31670         * docs/gst/gstreamer.types:
31671           remove thread
31672
31673 2005-03-22  Wim Taymans  <wim@fluendo.com>
31674
31675         * check/Makefile.am:
31676         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31677         * gst/gststructure.c: (gst_structure_set_valist),
31678         (gst_structure_copy_conditional):
31679         Activated more tests.
31680         Added message test.
31681         Added G_TYPE_POINTER to GstStructure.
31682         
31683
31684 2005-03-22  Wim Taymans  <wim@fluendo.com>
31685
31686         * docs/design/part-TODO.txt:
31687         * docs/design/part-events.txt:
31688         * docs/design/part-gstbin.txt:
31689         * docs/design/part-gstbus.txt:
31690         * docs/design/part-gstpipeline.txt:
31691         * docs/design/part-messages.txt:
31692         * gst/gstbus.c:
31693         * gst/gstmessage.c:
31694         Docs updates
31695
31696 2005-03-21  Wim Taymans  <wim@fluendo.com>
31697
31698         * gst/gstbus.c: (gst_bus_post):
31699         Fix copy-and-paste error.
31700
31701 2005-03-21  Wim Taymans  <wim@fluendo.com>
31702
31703         * check/Makefile.am:
31704         * gst/Makefile.am:
31705         * gst/elements/Makefile.am:
31706         * gst/elements/gstelements.c:
31707         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31708         (gst_fakesink_event), (gst_fakesink_chain):
31709         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31710         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31711         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31712         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31713         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31714         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31715         (gst_fakesrc_loop), (gst_fakesrc_activate),
31716         (gst_fakesrc_change_state):
31717         * gst/elements/gstfakesrc.h:
31718         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31719         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31720         (gst_filesrc_open_file), (gst_filesrc_loop),
31721         (gst_filesrc_activate), (gst_filesrc_change_state),
31722         (filesrc_find_peek), (filesrc_find_suggest),
31723         (gst_filesrc_type_find):
31724         * gst/elements/gstidentity.c: (gst_identity_finalize),
31725         (gst_identity_class_init), (gst_identity_init),
31726         (gst_identity_proxy_getcaps), (identity_queue_push),
31727         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31728         (gst_identity_getrange), (gst_identity_chain),
31729         (gst_identity_sink_loop), (gst_identity_src_loop),
31730         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31731         (gst_identity_set_property), (gst_identity_get_property),
31732         (gst_identity_change_state):
31733         * gst/elements/gstidentity.h:
31734         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31735         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31736         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31737         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31738         (gst_tee_sink_activate):
31739         * gst/elements/gsttee.h:
31740         * gst/gst.c: (gst_register_core_elements), (init_post):
31741         * gst/gst.h:
31742         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31743         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31744         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31745         (gst_bin_change_state):
31746         * gst/gstbin.h:
31747         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31748         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31749         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31750         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31751         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31752         (bus_watch_callback), (bus_watch_destroy),
31753         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31754         (poll_timeout), (gst_bus_poll):
31755         * gst/gstbus.h:
31756         * gst/gstcaps.h:
31757         * gst/gstdata.h:
31758         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31759         (gst_element_post_message), (gst_element_message_full),
31760         (gst_element_get_state_func), (gst_element_get_state),
31761         (gst_element_abort_state), (gst_element_commit_state),
31762         (gst_element_lost_state), (gst_element_set_state),
31763         (gst_element_pads_activate), (gst_element_change_state),
31764         (gst_element_dispose), (gst_element_set_manager_func),
31765         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31766         (gst_element_set_manager), (gst_element_get_manager),
31767         (gst_element_set_bus), (gst_element_get_bus),
31768         (gst_element_set_scheduler), (gst_element_get_scheduler):
31769         * gst/gstelement.h:
31770         * gst/gstevent.c: (gst_event_new_segment_seek),
31771         (gst_event_new_flush):
31772         * gst/gstevent.h:
31773         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31774         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31775         (gst_message_new_eos), (gst_message_new_error),
31776         (gst_message_new_warning), (gst_message_new_tag),
31777         (gst_message_new_state_changed), (gst_message_new_application),
31778         (gst_message_get_structure), (gst_message_parse_tag),
31779         (gst_message_parse_state_changed), (gst_message_parse_error),
31780         (gst_message_parse_warning):
31781         * gst/gstmessage.h:
31782         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31783         (gst_real_pad_set_property), (gst_pad_set_active),
31784         (gst_pad_is_active), (gst_pad_set_blocked_async),
31785         (gst_pad_set_blocked), (gst_pad_is_blocked),
31786         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31787         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31788         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31789         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31790         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31791         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31792         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31793         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31794         (gst_pad_set_caps), (gst_pad_configure_sink),
31795         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31796         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31797         (gst_real_pad_dispose), (gst_real_pad_finalize),
31798         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31799         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31800         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31801         * gst/gstpad.h:
31802         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31803         (pipeline_bus_handler), (gst_pipeline_change_state),
31804         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31805         * gst/gstpipeline.h:
31806         * gst/gstprobe.h:
31807         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31808         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31809         (gst_queue_link_src), (gst_queue_bufferalloc),
31810         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31811         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31812         (gst_queue_loop), (gst_queue_handle_src_event),
31813         (gst_queue_handle_src_query), (gst_queue_src_activate),
31814         (gst_queue_change_state):
31815         * gst/gstqueue.h:
31816         * gst/gstscheduler.c: (gst_scheduler_init),
31817         (gst_scheduler_dispose), (gst_scheduler_create_task),
31818         (gst_scheduler_factory_create):
31819         * gst/gstscheduler.h:
31820         * gst/gststructure.c: (gst_structure_get_type),
31821         (gst_structure_copy_conditional):
31822         * gst/gststructure.h:
31823         * gst/gsttaginterface.h:
31824         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31825         (gst_task_init), (gst_task_dispose), (gst_task_create),
31826         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31827         (gst_task_pause):
31828         * gst/gsttask.h:
31829         * gst/gstthread.c:
31830         * gst/gstthread.h:
31831         * gst/gsttypes.h:
31832         * gst/schedulers/Makefile.am:
31833         * gst/schedulers/cothreads_compat.h:
31834         * gst/schedulers/entryscheduler.c:
31835         * gst/schedulers/faircothreads.c:
31836         * gst/schedulers/faircothreads.h:
31837         * gst/schedulers/fairscheduler.c:
31838         * gst/schedulers/gstbasicscheduler.c:
31839         * gst/schedulers/gstoptimalscheduler.c:
31840         * gst/schedulers/gthread-cothreads.h:
31841         * gst/schedulers/threadscheduler.c:
31842         (gst_thread_scheduler_task_get_type),
31843         (gst_thread_scheduler_task_class_init),
31844         (gst_thread_scheduler_task_init),
31845         (gst_thread_scheduler_task_start),
31846         (gst_thread_scheduler_task_stop),
31847         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31848         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31849         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31850         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31851         (plugin_init):
31852         * libs/gst/Makefile.am:
31853         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31854         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31855         (gst_file_pad_parent_set):
31856         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31857         (gst_dp_event_from_packet):
31858         * tests/complexity.c: (main):
31859         * tests/mass_elements.c: (main):
31860         * testsuite/states/locked.c: (message_received), (main):
31861         * testsuite/states/parent.c: (main):
31862         * tools/gst-inspect.c: (print_element_flag_info),
31863         (print_implementation_info), (print_pad_info):
31864         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31865         (main):
31866         * tools/gst-md5sum.c: (event_loop), (main):
31867         * tools/gst-typefind.c: (main):
31868         * tools/gst-xmlinspect.c: (print_element_info):
31869         Next big merge.
31870         Added GstBus for mainloop integration.
31871         Added GstMessage for sending notifications on the bus.
31872         Added GstTask as an abstraction for pipeline entry points.
31873         Removed GstThread.
31874         Removed Schedulers.
31875         Simplified GstQueue for multithreaded core.
31876         Made _link threadsafe, removed old capsnego.
31877         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31878         Added pad blocking functions.
31879         Reworked scheduling functions in GstPad to prepare for
31880         scheduling updates soon.
31881         Moved events out of data stream.
31882         Simplified GstEvent types.
31883         Added return values to push/pull.
31884         Removed clocking from GstElement.
31885         Added prototypes for state change function for next merge.
31886         Removed iterate from bins and state change management.
31887         Fixed some elements, disabled others for now.
31888         Fixed -inspect and -launch.
31889         Added check for GstBus.
31890
31891 2005-03-10  Wim Taymans  <wim@fluendo.com>
31892
31893         * docs/design/part-MT-refcounting.txt:
31894         * docs/design/part-clocks.txt:
31895         * docs/design/part-gstelement.txt:
31896         * docs/design/part-gstobject.txt:
31897         * docs/design/part-standards.txt:
31898         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31899         (gst_bin_remove_func), (gst_bin_remove):
31900         * gst/gstbin.h:
31901         * gst/gstbuffer.c:
31902         * gst/gstcaps.h:
31903         * testsuite/clock/clock1.c: (main):
31904         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31905         (main):
31906         * testsuite/dlopen/loadgst.c: (do_test):
31907         * testsuite/refcounting/bin.c: (add_remove_test1),
31908         (add_remove_test2), (main):
31909         * testsuite/refcounting/element.c: (main):
31910         * testsuite/refcounting/element_pad.c: (main):
31911         * testsuite/refcounting/pad.c: (main):
31912         * tools/gst-launch.c: (sigint_handler_sighandler):
31913         * tools/gst-typefind.c: (main):
31914         Doc updates.
31915         Added doc about clock.
31916         removed gst_bin_iterate_recurse_up(), marked methods
31917         for removal.
31918         Fix more testsuites.
31919
31920 2005-03-09  Wim Taymans  <wim@fluendo.com>
31921
31922         * gst/gstpad.c: (gst_pad_get_direction),
31923         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31924         (gst_pad_collect_valist):
31925         * testsuite/bins/interface.c: (main):
31926         * testsuite/caps/audioscale.c: (test_caps):
31927         * testsuite/caps/caps.c: (test1), (test2), (test3):
31928         * testsuite/caps/deserialize.c: (main):
31929         * testsuite/caps/enumcaps.c: (main):
31930         * testsuite/caps/filtercaps.c: (main):
31931         * testsuite/caps/intersect2.c: (main):
31932         * testsuite/caps/random.c: (main):
31933         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31934         * testsuite/caps/sets.c: (check_caps):
31935         * testsuite/caps/simplify.c: (check_caps), (main):
31936         * testsuite/caps/subtract.c: (check_caps):
31937         Fix _pad_get_direction wrt ghostpads.
31938         Fix caps testsuite.
31939
31940 2005-03-09  Wim Taymans  <wim@fluendo.com>
31941
31942         * check/Makefile.am:
31943         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31944         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31945         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31946         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31947         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31948         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31949         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31950         (bin_element_is_sink), (gst_bin_iterate_sinks),
31951         (gst_bin_iterate_all_by_interface):
31952         * gst/gstbin.h:
31953         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31954         (gst_element_change_state), (gst_element_dispose),
31955         (gst_element_finalize), (gst_element_set_loop_function):
31956         * gst/gstelement.h:
31957         * gst/gstiterator.c: (find_custom_fold_func):
31958         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31959         (gst_pad_collectv), (gst_pad_collect_valist),
31960         (gst_pad_template_new):
31961         * gst/gstpipeline.c: (gst_pipeline_class_init),
31962         (gst_pipeline_dispose), (gst_pipeline_set_property),
31963         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31964         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31965         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31966         * gst/gstutils.h:
31967         * gst/schedulers/entryscheduler.c:
31968         * gst/schedulers/gstbasicscheduler.c:
31969         (gst_basic_scheduler_cothreaded_chain),
31970         (gst_basic_scheduler_chain_add_element):
31971         * testsuite/bins/interface.c: (main):
31972         Added GstBin test.
31973         Added GstSystemClock test.
31974         Implemented clock distribution code in GstBin.
31975         Implemented iterate sinks method for future use.
31976         Rearranged gstelement.h
31977         Fix GstIterator comparison bug.
31978         Moved some code to GstPipeline, mostly clocking related.
31979
31980 2005-03-09  Wim Taymans  <wim@fluendo.com>
31981
31982         * configure.ac:
31983         * gst/gst_private.h:
31984         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31985         (gst_bin_remove_func), (gst_bin_remove),
31986         (gst_bin_get_by_name_recurse_up):
31987         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31988         (gst_clock_id_compare_func), (gst_clock_id_wait),
31989         (gst_clock_id_wait_async), (gst_clock_init),
31990         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31991         * gst/gstelement.h:
31992         * gst/gstinfo.c: (_gst_debug_init):
31993         * gst/gstobject.h:
31994         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31995         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31996         * gst/gstpad.h:
31997         Bump version number, we're now 0.9.0
31998         Add future debugging category.
31999         Fix NULL _unref() in _get_by_name_recurse_up
32000         Rearrange gstpad.h.
32001         Update some docs.
32002
32003 2005-03-08  Wim Taymans  <wim@fluendo.com>
32004
32005         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
32006         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
32007         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
32008         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
32009         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
32010         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
32011         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
32012         * gst/elements/gstidentity.c: (gst_identity_class_init):
32013         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
32014         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
32015         * gst/elements/gstshaper.c: (gst_shaper_class_init):
32016         * gst/elements/gststatistics.c: (gst_statistics_class_init):
32017         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
32018         (gst_tee_link):
32019         * gst/gstelement.c: (gst_element_class_init),
32020         (gst_element_base_class_init), (gst_element_init),
32021         (gst_element_get_random_pad), (gst_element_wait_state_change),
32022         (gst_element_change_state), (gst_element_dispose),
32023         (gst_element_finalize), (gst_element_set_loop_function):
32024         * gst/gstelement.h:
32025         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
32026         * gst/gstthread.c: (gst_thread_class_init),
32027         (gst_thread_release_children_locks), (gst_thread_change_state):
32028         * gst/schedulers/gstbasicscheduler.c:
32029         (gst_basic_scheduler_loopfunc_wrapper),
32030         (gst_basic_scheduler_chain_wrapper),
32031         (gst_basic_scheduler_src_wrapper),
32032         (gst_basic_scheduler_remove_element):
32033         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
32034         Remove threadsafe properties. Fix elements because GObject
32035         complains when installing a property before declaring a
32036         set/get_property handler.
32037         Rearrange gstelement.h file, use STATE macros for state locks.
32038         Free mutexes in the finalize method instead of dispose.
32039
32040 2005-03-08  Wim Taymans  <wim@fluendo.com>
32041
32042         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
32043         * gst/gstthread.c: (gst_thread_release_children_locks):
32044         Added parentage check.
32045         Fix build og GstThread again.
32046
32047 2005-03-08  Wim Taymans  <wim@fluendo.com>
32048
32049         * docs/design/part-MT-refcounting.txt:
32050         * docs/design/part-conventions.txt:
32051         * docs/design/part-gstobject.txt:
32052         * docs/design/part-relations.txt:
32053         * docs/design/part-standards.txt:
32054         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
32055         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
32056         (gst_bin_get_by_name), (gst_bin_get_by_interface),
32057         (gst_bin_iterate_all_by_interface):
32058         * gst/gstbuffer.h:
32059         * gst/gstclock.h:
32060         * gst/gstelement.c: (gst_element_class_init),
32061         (gst_element_change_state), (gst_element_set_loop_function):
32062         * gst/gstelement.h:
32063         * gst/gstiterator.c:
32064         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
32065         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
32066         (gst_object_dispatch_properties_changed), (gst_object_set_name),
32067         (gst_object_set_parent), (gst_object_unparent),
32068         (gst_object_check_uniqueness):
32069         * gst/gstobject.h:
32070         Docs updates, clean up some headers.
32071
32072 2005-03-07  Wim Taymans  <wim@fluendo.com>
32073
32074         * check/.cvsignore:
32075         * check/Makefile.am:
32076         * check/gst-libs/.cvsignore:
32077         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
32078         * check/gst/.cvsignore:
32079         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
32080         (START_TEST), (gstbus_suite), (main):
32081         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
32082         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
32083         (gst_data_suite), (main):
32084         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
32085         (add_fold_func), (gstiterator_suite), (main):
32086         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
32087         (thread_name_object), (thread_name_object_default),
32088         (gst_object_name_compare), (gst_object_suite), (main):
32089         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
32090         (gst_pad_suite), (main):
32091         * check/gstcheck.c: (gst_check_log_message_func),
32092         (gst_check_log_critical_func), (gst_check_init):
32093         * check/gstcheck.h:
32094         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
32095         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
32096         Added checks.
32097
32098 2005-03-07  Wim Taymans  <wim@fluendo.com>
32099
32100         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
32101         (gst_list_iterator_next), (gst_list_iterator_resync),
32102         (gst_list_iterator_free), (gst_iterator_new_list),
32103         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
32104         (gst_iterator_free), (gst_iterator_push), (filter_next),
32105         (filter_resync), (filter_uninit), (filter_free),
32106         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
32107         (gst_iterator_foreach), (find_custom_fold_func),
32108         (gst_iterator_find_custom):
32109         * gst/gstiterator.h:
32110         Added missing files.
32111
32112 2005-03-07  Wim Taymans  <wim@fluendo.com>
32113
32114         * Makefile.am:
32115         * configure.ac:
32116         * docs/design/part-MT-refcounting.txt:
32117         * docs/design/part-conventions.txt:
32118         * docs/design/part-gstobject.txt:
32119         * docs/design/part-relations.txt:
32120         * examples/mixer/mixer.c: (main):
32121         * examples/thread/thread.c: (eos), (main):
32122         * gst/Makefile.am:
32123         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
32124         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
32125         (gst_spider_plug_from_srcpad):
32126         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
32127         (gst_spider_identity_change_state),
32128         (gst_spider_identity_sink_loop_type_finding):
32129         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32130         * gst/elements/gstidentity.c: (gst_identity_init):
32131         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32132         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32133         * gst/elements/gsttypefindelement.c: (free_entry):
32134         * gst/gst.c:
32135         * gst/gst.h:
32136         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32137         (gst_bin_set_clock_func), (gst_bin_auto_clock),
32138         (gst_bin_set_index), (gst_bin_set_element_sched),
32139         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32140         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32141         (gst_bin_iterate_elements), (iterate_child_recurse),
32142         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32143         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32144         (compare_interface), (gst_bin_get_by_interface),
32145         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32146         * gst/gstbin.h:
32147         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32148         (gst_buffer_default_free), (gst_buffer_default_copy),
32149         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32150         (gst_buffer_create_sub):
32151         * gst/gstbuffer.h:
32152         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32153         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32154         (gst_caps_unref), (gst_static_caps_get),
32155         (gst_caps_remove_and_get_structure), (gst_caps_append),
32156         (gst_caps_append_structure), (gst_caps_remove_structure),
32157         (gst_caps_copy_nth), (gst_caps_set_simple),
32158         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32159         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32160         (gst_caps_structure_intersect_field), (gst_caps_intersect),
32161         (gst_caps_structure_subtract_field), (gst_caps_subtract),
32162         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32163         (gst_caps_structure_figure_out_union),
32164         (gst_caps_switch_structures), (gst_caps_do_simplify),
32165         (gst_caps_replace), (gst_caps_from_string),
32166         (gst_caps_copy_conditional):
32167         * gst/gstcaps.h:
32168         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32169         (_gst_clock_id_free), (gst_clock_id_unref),
32170         (gst_clock_id_compare_func), (gst_clock_id_wait),
32171         (gst_clock_id_wait_async), (gst_clock_class_init),
32172         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32173         (gst_clock_get_time), (gst_clock_set_time_adjust),
32174         (gst_clock_set_property), (gst_clock_get_property):
32175         * gst/gstclock.h:
32176         * gst/gstcompat.h:
32177         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32178         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32179         * gst/gstdata.h:
32180         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32181         (gst_element_requires_clock), (gst_element_provides_clock),
32182         (gst_element_set_clock), (gst_element_clock_wait),
32183         (gst_element_wait), (gst_element_set_time_delay),
32184         (gst_element_is_indexable), (gst_element_add_pad),
32185         (gst_element_add_ghost_pad), (gst_element_remove_pad),
32186         (pad_compare_name), (gst_element_get_static_pad),
32187         (gst_element_request_pad), (gst_element_get_request_pad),
32188         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32189         (gst_element_class_get_pad_template_list),
32190         (gst_element_class_get_pad_template), (gst_element_error_func),
32191         (gst_element_get_random_pad), (gst_element_get_event_masks),
32192         (gst_element_send_event), (gst_element_seek),
32193         (gst_element_get_query_types), (gst_element_query),
32194         (gst_element_get_formats), (gst_element_convert),
32195         (gst_element_is_locked_state), (gst_element_set_locked_state),
32196         (gst_element_sync_state_with_parent), (gst_element_change_state),
32197         (gst_element_finalize), (gst_element_yield),
32198         (gst_element_interrupt), (gst_element_set_scheduler),
32199         (gst_element_get_scheduler), (gst_element_set_loop_function):
32200         * gst/gstelement.h:
32201         * gst/gstevent.h:
32202         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32203         (gst_format_get_by_nick), (gst_format_get_details),
32204         (gst_format_iterate_definitions):
32205         * gst/gstformat.h:
32206         * gst/gstindex.c: (gst_index_gtype_resolver):
32207         * gst/gstinfo.c:
32208         * gst/gstinfo.h:
32209         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32210         (gst_mem_chunk_free):
32211         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32212         (gst_object_ref), (gst_object_unref), (gst_object_sink),
32213         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32214         (gst_object_dispatch_properties_changed),
32215         (gst_object_set_name_default), (gst_object_set_name),
32216         (gst_object_get_name), (gst_object_set_name_prefix),
32217         (gst_object_get_name_prefix), (gst_object_set_parent),
32218         (gst_object_get_parent), (gst_object_unparent),
32219         (gst_object_check_uniqueness), (gst_object_save_thyself),
32220         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32221         (gst_object_set_property), (gst_object_get_property),
32222         (gst_object_get_path_string):
32223         * gst/gstobject.h:
32224         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32225         (gst_real_pad_init), (gst_real_pad_get_property),
32226         (gst_pad_custom_new), (gst_pad_get_direction),
32227         (gst_pad_set_active), (gst_pad_is_active),
32228         (gst_pad_set_event_function), (gst_pad_is_linked),
32229         (gst_pad_link_free), (gst_pad_link_intersect),
32230         (gst_pad_link_fixate), (gst_pad_set_caps),
32231         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32232         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32233         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32234         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32235         (gst_pad_get_caps), (gst_pad_peer_get_caps),
32236         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32237         (gst_pad_realize), (gst_pad_get_allowed_caps),
32238         (gst_real_pad_dispose), (gst_real_pad_finalize),
32239         (gst_pad_collectv), (gst_pad_collect_valist),
32240         (gst_pad_template_dispose), (gst_pad_template_new),
32241         (gst_pad_get_internal_links):
32242         * gst/gstpad.h:
32243         * gst/gstpipeline.c: (gst_pipeline_dispose),
32244         (gst_pipeline_change_state):
32245         * gst/gstpipeline.h:
32246         * gst/gstplugin.c:
32247         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32248         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32249         * gst/gstpluginfeature.h:
32250         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32251         * gst/gstquery.c: (_gst_query_type_initialize),
32252         (gst_query_type_register), (gst_query_type_get_by_nick),
32253         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32254         * gst/gstquery.h:
32255         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32256         * gst/gstscheduler.c: (gst_scheduler_add_element),
32257         (gst_scheduler_factory_create):
32258         * gst/gststructure.c: (gst_structure_set_parent_refcount),
32259         (gst_structure_free), (gst_structure_set_name),
32260         (gst_structure_id_set_value), (gst_structure_set_value),
32261         (gst_structure_set_valist), (gst_structure_remove_field),
32262         (gst_structure_remove_fields),
32263         (gst_structure_remove_fields_valist),
32264         (gst_structure_remove_all_fields), (gst_structure_foreach),
32265         (gst_structure_map_in_place),
32266         (gst_caps_structure_fixate_field_nearest_int),
32267         (gst_caps_structure_fixate_field_nearest_double):
32268         * gst/gststructure.h:
32269         * gst/gstsystemclock.c: (gst_system_clock_class_init),
32270         (gst_system_clock_init), (gst_system_clock_dispose),
32271         (gst_system_clock_async_thread),
32272         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32273         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32274         * gst/gstsystemclock.h:
32275         * gst/gsttag.c: (gst_tag_list_add_value_internal),
32276         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32277         * gst/gsttaginterface.c:
32278         * gst/gstthread.c: (gst_thread_dispose),
32279         (gst_thread_release_children_locks), (gst_thread_change_state),
32280         (gst_thread_main_loop):
32281         * gst/gsttrashstack.h:
32282         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32283         * gst/gsttypes.h:
32284         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32285         (gst_element_request_pad), (gst_element_get_pad_from_template),
32286         (gst_element_request_compatible_pad),
32287         (gst_element_get_compatible_pad_filtered),
32288         (gst_element_get_compatible_pad), (gst_element_state_get_name),
32289         (gst_element_link_pads_filtered), (gst_element_link_filtered),
32290         (gst_element_link_many), (gst_element_link),
32291         (gst_element_link_pads), (gst_element_unlink_pads),
32292         (gst_element_unlink_many), (gst_element_unlink),
32293         (gst_pad_can_link_filtered), (gst_pad_can_link),
32294         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32295         (gst_object_default_error), (gst_bin_add_many),
32296         (gst_bin_remove_many), (gst_element_populate_std_props),
32297         (gst_element_class_install_std_props), (gst_buffer_merge),
32298         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32299         (link_fold_func), (gst_pad_proxy_setcaps):
32300         * gst/gstutils.h:
32301         * gst/gstvalue.c: (gst_value_deserialize_string):
32302         * gst/parse/grammar.y:
32303         * gst/schedulers/gstbasicscheduler.c:
32304         (gst_basic_scheduler_cothreaded_chain),
32305         (gst_basic_scheduler_chain_recursive_add),
32306         (gst_basic_scheduler_pad_link):
32307         * gst/schedulers/gstoptimalscheduler.c:
32308         (get_group_schedule_function),
32309         (gst_opt_scheduler_state_transition),
32310         (gst_opt_scheduler_add_element), (element_get_reachables_func):
32311         * libs/gst/bytestream/bytestream.c:
32312         * libs/gst/dataprotocol/dataprotocol.c:
32313         (gst_dp_header_from_buffer):
32314         * po/nb.po:
32315         * po/ru.po:
32316         * tests/threadstate/threadstate2.c: (eos):
32317         * tools/gst-compprep.c: (main):
32318         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32319         (print_pad_info), (print_children_info):
32320         * tools/gst-launch.c: (idle_func), (main):
32321         * tools/gst-md5sum.c: (idle_func), (main):
32322         * tools/gst-xmlinspect.c: (print_element_info):
32323         First THREADED backport attempt, focusing on adding locks and
32324         making sure the API is threadsafe. Needs more work. More docs
32325         follow this week.
32326
32327 2005-02-24  Andy Wingo  <wingo@pobox.com>
32328
32329         * tests/bench-complexity.scm:
32330         * tests/complexity.gnuplot: New files, good for running complexity
32331         benchmarks.
32332
32333         * tests/Makefile.am:
32334         * tests/complexity.c: New test, sets up N elements, at each level
32335         teeing into M streams per element. Eeeenteresting.
32336
32337         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32338         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32339         running bench-mass_elements.scm.
32340
32341         * tests/bench-mass_elements.scm: New script, runs mass_elements
32342         for various numbers of identities, outputting the results to a
32343         file. Requires guile 1.6. Just for testing.
32344
32345 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32346
32347         * gst/schedulers/fairscheduler.c:
32348           compile with debug disabled
32349
32350 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
32351
32352         * configure.ac:
32353           hunting season on 0.9 is now OPEN