gst/gstbin.c: Use an iterator to set the clock and the index so that we can release...
[platform/upstream/gstreamer.git] / ChangeLog
1 2009-01-05  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * gst/gstbin.c: (gst_bin_set_index_func), (gst_bin_set_clock_func),
4         (gst_bin_change_state_func):
5         Use an iterator to set the clock and the index so that we can release
6         the object lock appropriately. Fixes #566393.
7
8 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
9
10         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_available):
11         Use the name of the pads instead of a pointer, helps in debugging.
12
13 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
14
15         * gst/gstindex.c: (gst_index_get_type):
16         Add a debugging category for GstIndex, first little step in making
17         indexing top-notch.
18
19 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
20
21         * gst/gstelement.c: (gst_element_message_full),
22         (gst_element_pads_activate):
23         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
24         * gst/gstutils.c: (gst_pad_proxy_getcaps), (gst_pad_proxy_setcaps),
25         (gst_pad_add_data_probe_full), (gst_pad_add_event_probe_full),
26         (gst_pad_add_buffer_probe_full), (gst_pad_remove_data_probe),
27         (gst_pad_remove_event_probe), (gst_pad_remove_buffer_probe):
28         Assign debug statements to relevant categories instead of the 'default'
29         category so they don't get lost in debugging.
30
31 2009-01-01  Stefan Kost  <ensonic@users.sf.net>
32
33         * gst/gstdebugutils.c:
34           Add some ideas, how to make the graph smaller.
35
36         * gst/gstutils.c:
37           Add a comment from a debug session.
38
39         * libs/gst/base/gstbasetransform.c:
40           Log more context.
41
42         * libs/gst/controller/gstinterpolationcontrolsource.c:
43           Indet.
44
45         * plugins/elements/gstcapsfilter.c:
46           Fix typo in docs.
47
48 2008-12-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
49
50         * gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
51           (gst_bus_wakeup_main_context), (gst_bus_set_main_context),
52           (gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
53           (gst_bus_create_watch):
54           Make GstBusSource work with non-default main contexts (#562170).
55
56         * tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
57           (test_watch), (test_watch_with_custom_context), (gst_bus_suite):
58           Add test case for GstBusSource with a non-default main context.
59
60         * tests/check/libs/.cvsignore:
61           Ignore more.
62
63 2008-12-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
64
65         * gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
66           (unpack_string)::
67           Wrap multi-line macros in G_STMT_{START|END}.
68
69 2008-12-20  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
70
71         * docs/gst/gstreamer-sections.txt:
72         * gst/gstquark.c:
73         * gst/gstquark.h:
74         * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
75         (gst_query_parse_uri):
76         * gst/gstquery.h:
77         API: Add URI query type. This is useful to query the URI
78         of a sink/source element and can be used by demuxers that
79         need to get data from other files.
80         This query should go upstream by default.
81         Fixes bug #562949.
82         * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
83         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
84         (gst_fd_src_query):
85         * plugins/elements/gstfilesink.c: (gst_file_sink_query):
86         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
87         (gst_file_src_query):
88         Implement URI query.
89
90 2008-12-19  Alessandro Decina <alessandro.decina@collabora.co.uk>
91
92         * gst/gstghostpad.c:
93         * tests/check/gst/gstghostpad.c:
94         Don't forward gst_pad_set_caps() on a source ghostpad to its target.
95         That would cause the ghostpad to emit notify::caps two times (fist
96         from gst_pad_set_caps() and after from on_src_target_notify()).
97
98 2008-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
99
100         * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
101         (GST_START_TEST):
102         Add some more unit-tests for the ghostpad notify signal, one of which
103         currently fails.
104
105 2008-12-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
106
107         * win32/common/libgstreamer.def:
108         Add gst_tag_setter_reset_tags to the list of exported symbols.
109
110 2008-12-17  Alessandro Decina  <alessandro.decina@collabora.co.uk>
111
112         * gst/gstghostpad.c:
113         * tests/check/gst/gstghostpad.c:
114         In a source ghostpad, when caps are changed in the target pad, the
115         change needs to be reflected in the ghostpad.
116         Fixes #564863.
117
118 2008-12-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
119
120         * gst/gstutils.c: (gst_element_found_tags_for_pad):
121         Add FIXME for 0.11 to set the pad as message source and not
122         the element. Otherwise it's impossible to detect for which
123         pad the tags were found without adding an event probe
124         or something similar to the pad.
125
126 2008-12-16  Wim Taymans  <wim.taymans@collabora.co.uk>
127
128         * docs/faq/general.xml:
129         Update the faq.
130
131 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
132
133         * docs/gst/gstreamer-sections.txt:
134         * gst/gsttagsetter.c:
135         * gst/gsttagsetter.h:
136           Rename api added in previous commit and add since tag to docs.
137           API: gst_tag_setter_reset_tags()
138
139 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
140
141         * docs/gst/gstreamer-sections.txt:
142         * gst/gsttagsetter.c:
143         * gst/gsttagsetter.h:
144           Add function to reset tagsetter for element reuse.
145
146 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
147
148         * gst/gsttaglist.c:
149           Avoid copy of empty taglist.
150
151 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
152
153         * gst/gsttaglist.c:
154         * tests/check/gst/gsttag.c:
155           More complete unit tests. Fix handling of empty taglists (they were
156           not merged before).
157
158 2008-12-15  Stefan Kost  <ensonic@users.sf.net>
159
160         * gst/gsttaglist.h:
161         * gst/gsttagsetter.c:
162           Update GstTagSetter and GstTagMergeMode documentation. Mention
163           that tags can come from events and from application. Fix example.
164
165 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
166
167         * docs/design/part-TODO.txt:
168         Remove the seqnum entry that we implemented in 0.10 already.
169         Add entry about removing the format return value for queries.
170
171 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
172
173         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
174         (gst_base_sink_init), (gst_base_sink_set_property),
175         (gst_base_sink_get_property):
176         Expose the render-delay as a property so things like appsink can use it
177         to tweak the synchronisation.
178
179 2008-12-10  Peter Kjellerstedt  <pkj@axis.com>
180
181         * libs/gst/check/gstcheck.h: Allow check tests to use
182         MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
183         CK_FORK=no to be used with multiple check test that use threads.
184
185 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
186
187         * gst/gstutils.c: (gst_element_get_compatible_pad):
188         Fix a caps memory leak introduced by the last change.
189
190 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
191
192         * gst/gstutils.c: (gst_element_get_compatible_pad):
193         Check if the caps of the pads are compatible before returning
194         a pad and claiming it is compatible. This, among other things,
195         fixes a bug with gst-launch where an incompatible pad is chosen
196         and linking fails. Fixes bug #544003.
197
198 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
199
200         * libs/gst/check/gstcheck.c: (gst_check_init):
201         Revert accidentially commited patch for bug #404631 which
202         tries to print a backtrace if a testcase is terminated by
203         a signal. This code was never activated as the corresponding
204         configure.ac change wasn't committed.
205
206 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
207
208         * tests/check/libs/controller.c: (GST_START_TEST):
209         This test should return TRUE now as syncing an uncontrolled
210         object will succeed now (there's nothing to sync).
211
212 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
213
214         * libs/gst/controller/gstcontroller.c:
215           Aggregate return value for gst_controller_sync_values(). More info in
216           logging. Always set values on first sync-call.
217
218         * libs/gst/controller/gstcontrolsource.c:
219           Microoptimizations.
220
221         * libs/gst/controller/gsthelper.c:
222           Fix return code and comment.
223
224 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
225
226         * tools/gst-launch.1.in:
227           Fix description of how to specify a type in caps. Fixes #553873.
228           Also ranges and list contain values and not property-assignments.
229
230 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
231
232         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
233         Check for changed pads-list before checking the last returned
234         GstFlowReturn because the pad could have been removed and we
235         need to ignore the value in that case.
236
237 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
238
239         * libs/gst/base/gstbasetransform.c:
240         (gst_base_transform_prepare_output_buffer),
241         (gst_base_transform_getrange), (gst_base_transform_chain):
242         * libs/gst/base/gstbasetransform.h:
243         Add vmethod that is called before we start the transform and which can
244         be used to configure the transform, such as dynamic properties.
245
246 2008-12-05  David Schleef  <ds@schleef.org>
247
248         * gst/gst.c:
249         Search for plugins on win32 based on the location of the
250         gstreamer DLL.  Fixes #548786
251
252 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
253
254         * configure.ac:
255         Apparently AC_CONFIG_MACRO_DIR breaks when using more
256         than one macro directory, reverting last change.
257
258 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
259
260         * configure.ac:
261         Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
262         our M4 macros.
263
264 2008-11-29  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
265
266         Patch by: Cygwin Ports maintainer
267                   <yselkowitz at users dot sourceforge dot net>
268
269         * autogen.sh:
270         * configure.ac:
271         Require gettext 0.17 because older versions don't mix with libtool
272         2.2. At build time an older gettext version will still work.
273         Fixes bug #556091.
274
275 2008-11-27  Wim Taymans  <wim.taymans@collabora.co.uk>
276
277         Patch by: 이문형 <iwings at gmail dot com>
278
279         * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
280         Adds support for FD_CONNECT event (win32). See #562258.
281
282 2008-11-24  Stefan Kost  <ensonic@users.sf.net>
283
284         * libs/gst/base/gstbasesink.c:
285           Turn comment into gtk-doc comment.
286
287 2008-11-24  Wim Taymans  <wim.taymans@collabora.co.uk>
288
289         * libs/gst/base/gstbasetransform.c:
290         (gst_base_transform_acceptcaps):
291         Revert quick accepcaps attempt, it's not fully equivalent to the old
292         behaviour and thus causes regressions.
293
294 2008-11-24  Edward Hervey  <edward.hervey@collabora.co.uk>
295
296         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
297         Fix memory leak.
298
299 2008-11-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
300
301         Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
302
303         * gst/gstregistry.c: (gst_registry_scan_path_level):
304         Reduce the number of stat() calls for every file from three times
305         to one time. Fixes bug #560360.
306
307 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
308
309         * libs/gst/base/gstbasetransform.c:
310         (gst_base_transform_acceptcaps):
311         Rename a variable to make the code clearer.
312
313 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
314
315         * plugins/elements/gstidentity.c:
316         Don't warning on offset==-1. Taken from _check_imperfect_offset().
317
318 2008-11-21  Michael Smith <msmith@songbirdnest.com>
319
320         * plugins/elements/gstfilesrc.c:
321           Check for localhost in URI was backwards, fix it. Fixes unit test.
322
323 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
324
325         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
326         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
327         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
328         Add beginnings of a more optimized acceptcaps function than the default
329         core one.
330
331 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
332
333         * gst/gstpad.c: (gst_pad_accept_caps):
334         Avoid getting the acceptcaps function too early.
335
336 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
337
338         * tools/gst-launch.c: (event_loop):
339         Make gst-launch handle LATENCY messages and make it recalculate the
340         latency.
341
342 2008-11-20  Michael Smith <msmith@songbirdnest.com>
343
344         * plugins/elements/gstfilesrc.c:
345           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
346           out own slightly incorrect version. Fixes use of some paths on
347           win32.
348
349 2008-11-20  Michael Smith <msmith@songbirdnest.com>
350
351         * gst/gstregistrybinary.c:
352           In win32 codepath, if we fail to write the registry, create the
353           directory for it and try again, matching the behaviour in non-win32
354           codepaths.
355
356 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
357
358         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
359         Changing the render delay changes the latency and so we must post a
360         latency message.
361
362 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
363
364         * gst/gstquery.c:
365         * gst/gstquery.h:
366         Add GstQueryType for custom queries instead of having to use the
367         not-so-very-convenient registration infrastructure to register new
368         types.
369
370 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
371
372         Patch by: Andrew Feren <acferen at yahoo dot com>
373
374         * gst/gstobject.c: (gst_object_default_deep_notify):
375         Unref the GEnumClass after usage again. Fixes bug #561501.
376
377 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
378
379         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
380         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
381         (gst_bin_change_state_func):
382         * gst/gstbin.h:
383         Add do-latency signal with the old default fallback implementation. This
384         allows for custom latency calculations for when the default is not
385         sufficient.
386         API: GstBin::do-latency signal.
387
388 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
389
390         * win32/common/libgstreamer.def:
391         Add new symbols to .def file.
392
393 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
394
395         * docs/gst/gstreamer-sections.txt:
396         * gst/gstbin.c: (gst_bin_recalculate_latency),
397         (gst_bin_change_state_func):
398         * gst/gstbin.h:
399         Add method to recalculate and redistribute the latency on a bin.
400         API: gst_bin_recalculate_latency().
401
402 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
403
404         * gst/gstbuffer.h:
405         Document the free_func.
406
407 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
408
409         * libs/gst/controller/gstinterpolation.c:
410         * libs/gst/controller/gstlfocontrolsource.c:
411         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
412         as it is mapped to a cast on non-win32 platforms.
413
414 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
415
416         * libs/gst/controller/gstcontroller.c:
417         * libs/gst/controller/gstcontrollerprivate.h:
418           Keep last-value and only call set_property if value has changed. This
419           supresses all the g_object_notifies we would trigger otherwise. It
420           also allows the user to chage the value while there is no controller
421           change.
422
423 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
424
425         * gst/gstvalue.c:
426           Don't crash if either of the string GValues is empty.
427
428 2008-11-17  Andy Wingo  <wingo@pobox.com>
429
430         * tools/gst-inspect.c (print_all_uri_handlers): New function,
431         prints a summary of what URI schemes are supported by what
432         elements.
433         (main): Plumb in support for --uri-handlers or -u, and fix the
434         argc check for -a and -u.
435
436 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
437
438         * gst/gstutils.h:
439         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
440         conversion functions.
441
442 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
443
444         * gst/gstbuffer.c: (gst_buffer_finalize):
445         Avoid costly typechecking for trivially correct pointers.
446
447         * gst/gstpoll.c: (gst_poll_wait):
448         Add some G_LIKELY here and there.
449
450         * libs/gst/base/gstadapter.c: (gst_adapter_push):
451         Add some debug info.
452
453 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
454
455         * docs/random/wtay/poll-timeout:
456         Small tweaks.
457
458 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
459
460         * tests/old/testsuite/caps/intersection.c: (main):
461         * tests/old/testsuite/plugin/loading.c: (main):
462         Remove references to deprecated API g_mem_chunk*.
463         Fixes #560442.
464
465 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
466
467         * tools/gst-inspect.c: (main):
468         Add --plugin option. Fixes #560301.
469
470 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
471
472         * docs/random/wtay/poll-timeout:
473         Quick braindump for a possible (not totally verified) atomic case.
474
475 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
476
477         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
478         (gst_registry_binary_initialize_magic),
479         (gst_registry_binary_write_cache),
480         (gst_registry_binary_check_magic):
481         * gst/gstregistrybinary.h:
482         Don't write and check a CRC for the binary registry file. It's
483         guaranteed that the registry is completely written (it's first written
484         to a temporary file and then moved) and if the registry was corrupted
485         by some hardware failure we would have bigger problems.
486
487         Bump binary registry version to 0.10.21.1 for this as it's an
488         incompatible change and to ensure that the registry gets rebuild
489         after the update.
490
491         This saves some milliseconds for reading/writing the registry.
492         Fixes bug #560399.
493
494 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
495
496         * docs/random/wtay/poll-timeout:
497         Some pseudo code for how we could implement clock timeouts with GstPoll.
498
499 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
500
501         * plugins/elements/gstfilesink.c:
502           Update Author string to match others.
503
504 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
505
506         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
507         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
508         being fixed and inline the trivial check.
509
510 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
511
512         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
513         (gst_caps_merge_structure), (gst_caps_get_structure),
514         (gst_caps_copy_nth), (gst_caps_set_simple),
515         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
516         (gst_caps_is_equal_fixed), (gst_caps_intersect),
517         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
518         (gst_caps_to_string):
519         Callgrind micro optimisations.
520         Avoid array bounds checks and force inline of trivial function.
521
522         * gst/gstobject.c: (gst_object_set_name_default):
523         -1 is equivalent to letting glib to the strlen but then there is more
524         room for optimisations and it's not our fault.
525
526         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
527         no need to clear the array, we're cool.
528
529         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
530         The most common _is_fixed() check is done on fundamental glib base
531         types so we check this first instead of doing a huge amount of
532         useless GST_TYPE_ARRAY calls.
533
534 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
535
536         * gst/gstevent.h:
537         Add a SKIP seek flag for use with advanced trickmodes.
538         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
539
540 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
541
542         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
543         No need to memset, we can clear the value ourselves.
544
545         * gst/gstvalue.c: (gst_type_is_fixed),
546         (gst_value_get_compare_func):
547         Some optimisations from a few callgrind sessions:
548         When checking if a type is fixed, check for trivial fundamental types
549         first before checking types for which we need to get the type followed
550         by the heavy duty type checks, this reduces the amount of
551         g_type_fundamental() calls a lot.
552         When getting the compare function, first check for our registered types.
553         If that fails, do the heavy duty g_type_is_a() checks, reduces the
554         amount of g_type_is_a() considerably.
555
556 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
557
558         * docs/design/part-TODO.txt:
559         Mumble something about removing GstXML.
560
561 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
562
563         * gst/gstbin.c: (gst_bin_handle_message_func):
564         Get the seqnum before we dispose the message.
565
566 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
567
568         * docs/design/part-TODO.txt:
569         Refer to the framestepping document.
570
571 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
572
573         * gst/gstbin.c: (bin_handle_async_start),
574         (gst_bin_handle_message_func), (gst_bin_query):
575         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
576         (gst_base_sink_event), (gst_base_sink_change_state):
577         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
578         (gst_base_src_loop), (gst_base_src_change_state):
579         Copy seqnums from events to messages so that they can all be related
580         back to eachother.
581
582 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
583
584         * tools/gst-launch.c: (event_loop):
585         Print the message seqnums.
586
587 2008-11-04  Andy Wingo  <wingo@pobox.com>
588
589         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
590
591 2008-11-04  Andy Wingo  <wingo@pobox.com>
592
593         Add sequence numbers to events and messages. See #559250.
594
595         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
596         API: New functions.
597
598         * gst/gstevent.h:
599         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
600         events with a new sequence number, and copy it when copying.
601         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
602         an event's sequence number.
603
604         * gst/gstmessage.h:
605         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
606         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
607         so with messages.
608
609         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
610
611 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
612
613         * docs/manual/advanced-position.xml:
614         * docs/manual/basics-bins.xml:
615         * docs/manual/basics-bus.xml:
616         * docs/manual/basics-pads.xml:
617         * docs/manual/intro-gstreamer.xml:
618         * docs/manual/intro-preface.xml:
619         Some Application Development Manual fixes thanks to
620         Andrew Feren. Fixes #558459.
621
622 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
623
624         * gst/gstregistrybinary.c:
625           Don't bother with the GTimer if we don't output the results.
626
627 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
628
629         Patch by: David Schleef  <ds@schleef.org>
630
631         * libs/gst/net/Makefile.am:
632         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
633
634 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
635
636         * gst/gstregistrybinary.c:
637           Oh my, studip, stupid me. Remove double stat() call.
638
639 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
640
641         * gst/gstpreset.c:
642           Use g_unlink instead of unlink.
643
644         * gst/gststructure.c:
645           Use glib type.
646
647         * gst/gstutils.c:
648           Add a FIXME:.
649
650         * gst/gsttaglist.c:
651         * gst/gsttypefind.c:
652         * gst/gstvalue.c:
653           Formatting & whitespaces.
654
655 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
656
657         * plugins/elements/gstidentity.c:
658           Doc typo. Use return value of parent_class->event.
659   
660         * plugins/elements/gsttypefindelement.c:
661           Chain up at the end for consistency.
662   
663 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
664
665         * docs/Makefile.am:
666         * docs/gst/gstreamer-docs.sgml:
667         * docs/gst/gstreamer-sections.txt:
668         * docs/gst/running.xml:
669         * docs/libs/gstreamer-libs-docs.sgml:
670           Change to xinclude based build - its faster and easier to maintain.
671
672 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
673
674         * gst/gstregistrybinary.c:
675         * gst/gstregistryxml.c:
676           Use g_unlink() as none of these are directories.
677
678 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
679
680         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
681         Some more comments.
682
683 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
684
685         * libs/gst/base/gstbasetransform.c:
686         (gst_base_transform_find_transform), (gst_base_transform_getrange):
687         If we have a fixate function, call it even if we already have fixed caps
688         because the subclass might add some caps. Makes audioconvert add a
689         default channel layout.
690
691 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
692
693         * libs/gst/base/gstbasetransform.c:
694         (gst_base_transform_prepare_output_buffer),
695         (gst_base_transform_getrange):
696         Clear the output buffer variable.
697         Cleanups to the error path in the getrange function.
698         Fixes #557649.
699
700 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
701
702         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
703         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
704         Use gst_buffer_try_new_and_alloc() and handle errors instead of
705         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
706         be allocated.
707
708 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
709
710         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
711         Set the last_stop to a more meaningful position when configuring the
712         segment. ie. the start/stop of the segment or clipped against the
713         updated segment boundaries.
714
715         * tests/check/gst/gstsegment.c: (GST_START_TEST):
716         Add some unit tests for the last_stop.
717
718 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
719
720         * libs/gst/base/gstbytereader.c:
721         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
722         copies of them.
723
724 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
725
726         * docs/gst/gstreamer-sections.txt:
727         * gst/gstutils.h:
728         API: Move float endianness conversion macros from libgstfloatcast
729         to core as it's useful in general, even in core. Fixes bug #555196.
730         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
731         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
732         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
733
734         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
735         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
736         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
737         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
738
739 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
740
741         * docs/libs/gstreamer-libs-sections.txt:
742         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
743         (gst_byte_reader_peek_data):
744         * libs/gst/base/gstbytereader.h:
745         * win32/common/libgstbase.def:
746         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
747         to get a pointer to the data at the current position and have
748         a guaranteed size.
749
750 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
751
752         * configure.ac:
753         Fix a bug in the output of the configure script summary
754         when --gst-disable-registry is supplied
755
756 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
757
758         * libs/gst/base/gstbitreader.c:
759         * libs/gst/base/gstbytereader.c:
760         Fix the names of 2 functions in the docs strings.
761
762 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
763
764         * libs/gst/base/gstbasetransform.c:
765         (gst_base_transform_prepare_output_buffer),
766         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
767         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
768         refcount problems as seen in banshee and maybe also in farsight2.
769         Remove atomic int now that we need to take the lock anyways.
770
771 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
772
773         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
774         (gst_base_sink_default_prepare_seek_segment),
775         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
776         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
777         (gst_base_sink_query):
778         Implement more seeking in pull mode.
779         Use pad convert functions to convert position to the requested format.
780         Fix position/duration reporting in pull mode.
781         Implement position and duration reporting in other formats than time.
782
783         * libs/gst/base/gstbasesink.h:
784         Add member to keep track of when the segment is playing.
785
786 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
787
788         * gst/gstpad.c: (gst_pad_configure_src):
789         When we use gst_pad_alloc_buffer() without wanting to set the caps we
790         also don't need to check if the caps are compatible because the caller
791         presumably is going to perform its own custom checks. Fixes some cases
792         where basetransform elements would error out when it was not needed.
793
794 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
795
796         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
797         Update comment.
798
799         * libs/gst/base/gstbasetransform.c:
800         (gst_base_transform_handle_buffer),
801         (gst_base_transform_reconfigure):
802         Add some debug info.
803
804         * win32/common/libgstbase.def:
805         Add new method.
806
807 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
808
809         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
810           Remove duplicated assignment and log a message in failure case.
811
812 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
813
814         Patch by: Dig Ge <dig.ge.cn at gmail com>
815
816         * tests/examples/helloworld/helloworld.c: (main):
817           Fix copy'n'paste bug in hello world example (#556900).
818
819 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
820
821         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
822         (gst_base_sink_query):
823         Query the total number of bytes when activating the pad in pull mode.
824         Implement duration query in pull mode by using the installed pad convert
825         function to convert from bytes to the requested format.
826
827 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
828
829         * docs/libs/gstreamer-libs-sections.txt:
830         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
831         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
832         (gst_base_sink_event), (gst_base_sink_perform_seek),
833         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
834         (gst_base_sink_send_event), (gst_base_sink_change_state):
835         * libs/gst/base/gstbasesink.h:
836         Add method to commit the state in subclasses.
837         Refactor the flush_start and flush_stop code because we need it for
838         flushing while seeking too.
839         Implement the beginnings of seeking in pull mode.
840         Use the segment last_stop field for the pulling offset.
841         Fix the pause method in pull mode.
842         Configure the segment to BYTES for pull mode.
843         API: GstBaseSink::gst_base_sink_do_preroll()
844
845 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
846
847         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
848         Update some docs.
849
850 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
851
852         * gst/gstquark.c: (_priv_gst_quarks_initialize):
853           Fix printf format warning.
854
855 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
856
857         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
858         Fix flow aggregation of tee. Error out immediately for all flow returns
859         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
860         and return OK if at least one pad is linked.
861
862         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
863         and otherwise returned the flow return of the last pad, which is wrong.
864         
865         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
866         (GST_START_TEST), (tee_suite):
867         Add unit tests for the flow aggregation.
868
869 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
870
871         * docs/design/part-TODO.txt:
872         Remove item from the todo list because it was fixed with the latency
873         state change rewrites.
874
875         * docs/design/part-seeking.txt:
876         * docs/design/part-segments.txt:
877         Update some docs.
878
879         * gst/gstevent.c: (gst_event_new_new_segment_full),
880         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
881         (gst_event_parse_buffer_size), (gst_event_new_qos),
882         (gst_event_parse_qos), (gst_event_new_seek),
883         (gst_event_parse_seek), (gst_event_new_latency),
884         (gst_event_parse_latency):
885         Use quarks to construct and parse events.
886
887         * gst/gstquark.c: (_priv_gst_quarks_initialize):
888         * gst/gstquark.h:
889         Add some more quarks to the table.
890         Emit a warning when the quark tables are not in sync.
891
892         * tests/check/gst/gstbus.c: (GST_START_TEST):
893         Add an assert.
894
895 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
896
897         * plugins/elements/Makefile.am:
898         * plugins/indexers/Makefile.am:
899           Don't install static libs for plugins. Fixes #550851 for core.
900
901 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
902
903         * gst/gstbus.c: (gst_bus_source_finalize),
904         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
905         (gst_bus_enable_sync_message_emission),
906         (gst_bus_disable_sync_message_emission),
907         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
908         Fix deadlock, g_source_get_id() cannot be called in finalize.
909         Keep track of the watch source by keeping a pointer to the source object
910         instead.
911         Use the bus lock to protect access to the pointer to the current
912         watch source.
913
914 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
915
916         Base on Patch by: Olivier Crete <tester at tester dot ca>
917
918         * gst/gstbus.c: (gst_bus_source_finalize),
919         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
920         Only allow one bus watch to be set at a time. This is necessary
921         because the dispatcher pops the message from the bus and the second
922         watcher will then get NULL or the next message (and the first won't
923         get this next message then, etc). If more than one "watcher" is
924         required signal watches should be used. Fixes bug #526044.
925
926 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
927
928         * tools/gst-launch.c:
929         Change the printing of the 'buffering...' output to avoid putting
930         a \r in a translateable string (flagged by the TP).
931
932 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
933
934         * gst/gstxml.c:
935         Clarify that the save_thyself() and restore_thyself() virtual
936         functions of GstObject need to be overriden, not
937         gst_object_(save|restore)_thyself() which is impossible.
938         Fixes bug #555700.
939
940 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
941
942         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
943         Revert a patch from 21 months ago that broke caps negotiation in pull
944         mode. Basically, having a buffer pass over a pad will trigger the
945         setcaps function when caps change, just like in push mode.
946
947 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
948
949         * docs/design/part-negotiation.txt:
950         Update the docs some more.
951
952         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
953         If we pull a buffer with non-trivial caps, suggest those caps with the
954         max probability.
955
956 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
957
958         * docs/design/part-TODO.txt:
959         Add another limitation of pad-blocking with segment seeks not pushing
960         EOS events.
961
962 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
963
964         * win32/common/libgstbase.def:
965         * win32/common/libgstreamer.def:
966         Add new symbols to the win32 defs files
967
968 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
969
970         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
971         (gst_bin_handle_message_func):
972         The message src can be NULL, don't try to print the object names in that
973         case.
974
975         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
976         Add some more debug info.
977
978         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
979         (GST_START_TEST):
980         Add some debug.
981         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
982         scheduling modes.
983
984 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
985
986         * docs/design/part-negotiation.txt:
987         Small doc update.
988
989         * docs/libs/gstreamer-libs-sections.txt:
990         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
991         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
992         (gst_base_sink_init), (gst_base_sink_set_blocksize),
993         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
994         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
995         (gst_base_sink_loop), (gst_base_sink_pad_activate),
996         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
997         (gst_base_sink_change_state):
998         * libs/gst/base/gstbasesink.h:
999         Add blocksize property and methods to control the amount of data
1000         to pull.
1001         Negotiate first before activating upstream in pull mode so that they can
1002         negotiate themselves.
1003         When we operate in pull mode, we only accept the caps that we
1004         negotiated.
1005         Make the sink go ASYNC to PAUSED, like all other sinks.
1006         API: GstBaseSink::gst_base_sink_set_blocksize()
1007         API: GstBaseSink::gst_base_sink_get_blocksize()
1008         API: GstBaseSink::blocksize
1009
1010         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1011         (gst_base_src_set_live), (gst_base_src_is_live),
1012         (gst_base_src_set_format), (gst_base_src_query_latency),
1013         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
1014         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
1015         (gst_base_src_set_property), (gst_base_src_get_property):
1016         * libs/gst/base/gstbasesrc.h:
1017         Add typechecking in public API functions.
1018         Add methods to control the blocksize in subclasses.
1019         API: GstBaseSrc::gst_base_src_set_blocksize()
1020         API: GstBaseSrc::gst_base_src_get_blocksize()
1021
1022 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
1023
1024         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
1025         (buffer_probe), (event_probe), (GST_START_TEST):
1026         We now see 3 events go through our pad, since basesink now sends
1027         upstream latency events.
1028
1029 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1030
1031         * gst/gstpipeline.c: (gst_pipeline_change_state):
1032         Release the object lock before trying to flush the bus.
1033
1034 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1035
1036         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1037         Forward LATENCY events upstreams so that elements know about the total
1038         pipeline latency. Fixes #555307.
1039
1040 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
1041
1042         * plugins/elements/gstqueue.c:
1043         Allow through queries when we don't know how
1044         to adjust them (not TIME or BYTES), as otherwise it's
1045         not possible to query the current position in order
1046         to seek in other formats at all.
1047
1048 2008-10-08  Andy Wingo  <wingo@pobox.com>
1049
1050         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
1051
1052 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1053
1054         * gst/gstghostpad.c:
1055         * gst/gstghostpad.h:
1056         Unbreak -good build, private is a reserved c++ keyword.
1057
1058 2008-10-08  Andy Wingo  <wingo@pobox.com>
1059
1060         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
1061         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
1062         removal: re-add GST_GHOST_PAD_CAST to the header.
1063
1064         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
1065         (GstGhostPadClass): Publically expose these structures so as to
1066         allow easy subclassing from C. Hide the member data behind a
1067         private opaque data pointer.
1068
1069         * gst/gstghostpad.c: Adapt to store instance data in the type
1070         instance's private data region, not in the public struct.
1071
1072 2008-10-08  Andy Wingo  <wingo@pobox.com>
1073
1074         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1075         template via g_object_get(), be sure to unref it.
1076
1077         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1078
1079 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1080
1081         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1082         If we can't get a cache file don't try to save something to it.
1083         Dereferencing NULL pointers usually isn't a good idea.
1084
1085 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1086
1087         * tests/check/Makefile.am:
1088         * tests/check/gst/gstabi.c:
1089         * tests/check/gst/struct_sparc.h:
1090         * tests/check/libs/libsabi.c:
1091         * tests/check/libs/struct_sparc.h:
1092         Add Sparc ABI checks
1093
1094         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1095         Cast signed integer to unsigned to avoid a compiler warning.
1096
1097 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1098
1099         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1100         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1101         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1102         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1103         (gst_byte_reader_peek_int24_be):
1104         Use new GST_READ_UINT24_(LE|BE) macros.
1105
1106 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1107
1108         * docs/gst/gstreamer-sections.txt:
1109         * gst/gstutils.h:
1110         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1111         as it's too easy to break the ISO C strict aliasing rules with simple
1112         casts to the corresponding type and this would introduce hard to debug
1113         bugs. Fixes bug #545714.
1114
1115         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1116
1117 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1118
1119         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1120         * gst/gstghostpad.c: (gst_ghost_pad_construct):
1121           Add 'Since' bits to gtk-doc chunks for new API.
1122
1123 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
1124
1125         * docs/gst/gstreamer-sections.txt:
1126         Fix documentation
1127
1128 2008-10-06  Andy Wingo  <wingo@pobox.com>
1129
1130         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1131         that will be called on the malloc_data to free it. Basically a way
1132         to avoid subclassing when all you need is a different free
1133         function, i.e. free() instead of g_free().
1134
1135         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1136         calling the free function.
1137         (gst_buffer_init): Initialize the free function to g_free.
1138
1139 2008-10-06  Andy Wingo  <wingo@pobox.com>
1140
1141         * gst/gstghostpad.h:
1142         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1143         finishes the initialization of ghost pad. Useful for language
1144         bindings and subclassers of GstGhostPad. Fixes #539108.
1145         (gst_ghost_pad_new_full): Use the new constructor.
1146
1147 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1148
1149         Base on Patch by: Olivier Crete <tester at tester dot ca>
1150
1151         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1152         (gst_bin_remove_func), (update_degree),
1153         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1154         Keep track of pads that are being linked/unlinked and resync the state
1155         changes.
1156
1157         * gst/gstpad.c: (gst_pad_get_direction),
1158         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1159         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1160         (gst_pad_link_prepare), (gst_pad_link),
1161         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1162         (gst_pad_check_pull_range), (gst_pad_get_range),
1163         (gst_pad_pull_range):
1164         Some code cleanups, use macros to check pad direction.
1165         Don't need to take the lock on the pad direction.
1166         Post structure change when pads are linked/unlinked.
1167         Change some checks into _return_if_fail().
1168
1169         * tests/check/gst/gstbin.c:
1170         (test_link_structure_change_state_changed_sync_cb),
1171         (GST_START_TEST), (gst_bin_suite):
1172         Add testcase for pad link/unlinke resync during a state change.
1173         Fixes #510354.
1174
1175 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1176
1177         * docs/gst/gstreamer-sections.txt:
1178         * gst/gstmessage.c: (gst_message_new_structure_change),
1179         (gst_message_parse_structure_change):
1180         * gst/gstmessage.h:
1181         Implement STRUCTURE_CHANGED messages. These messages will be used to
1182         signal the parent bin of link/unlink operations that could require a
1183         resync when doing a state change. See ##510354.
1184         API: gst_message_new_structure_change()
1185         API: gst_message_parse_structure_change()
1186
1187 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1188
1189         * gst/gstquark.c:
1190         * gst/gstquark.h:
1191         Add some more quarks for new message. See #510354.
1192
1193 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1194
1195         * docs/libs/gstreamer-libs-docs.sgml:
1196         * docs/libs/gstreamer-libs-sections.txt:
1197         * libs/gst/base/Makefile.am:
1198         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1199         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1200         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1201         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1202         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1203         (gst_bit_reader_skip_to_byte):
1204         * libs/gst/base/gstbitreader.h:
1205         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1206         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1207         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1208         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1209         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1210         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1211         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1212         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1213         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1214         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1215         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1216         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1217         * libs/gst/base/gstbytereader.h:
1218         * tests/check/Makefile.am:
1219         * tests/check/libs/bitreader.c: (GST_START_TEST),
1220         (gst_bit_reader_suite):
1221         * tests/check/libs/bytereader.c: (GST_START_TEST),
1222         (gst_byte_reader_suite):
1223         API: Add bit reader and byte reader classes, including documentation
1224         and an extensive unit test suite. Fixes bug #553554.
1225
1226 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1227
1228         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1229         (gst_base_sink_query):
1230         Improve position reporting while flushing and other intermediate state
1231         changes. Fixes #553874.
1232
1233 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1234
1235         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1236
1237         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1238         Original patch by : Simon Descaries
1239         Fix small refount leak in caps compatibility check.
1240         Fixes #551676.
1241
1242 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1243
1244         * docs/pwg/advanced-request.xml:
1245           Fix 0.8 api usage in example. Fixes #554561
1246
1247         * docs/pwg/appendix-porting.xml:
1248           Change 0.9 to 0.10 here.
1249
1250 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1251
1252         * docs/manual/basics-data.xml:
1253           Change "event-event interaction" to "element-element interaction".
1254           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1255           updates.
1256
1257 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
1258
1259         * configure.ac:
1260         Back to development -> 0.10.21.1
1261
1262 === release 0.10.21 ===
1263
1264 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
1265
1266         * configure.ac:
1267           releasing 0.10.21, "Take These Things From Me"
1268
1269 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1270
1271         * configure.ac:
1272         0.10.20.4 pre-release
1273
1274 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1275
1276         * libs/gst/base/gstbasetransform.c:
1277         * plugins/elements/gstcapsfilter.c:
1278         * tests/check/Makefile.am:
1279         * tests/check/elements/.cvsignore:
1280         * tests/check/elements/capsfilter.c:
1281         Fix assertion in basetransform when the subclass chooses not to
1282         allocate a buffer in prepare_buffer(), and make capsfilter error out
1283         cleanly if requested to apply caps that don't completely specify the
1284         buffer. Fixes #551509
1285
1286 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1287
1288         * libs/gst/base/gstbasetransform.c:
1289         (gst_base_transform_prepare_output_buffer):
1290         Take new caps ref because our old one might have been gone when the
1291         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1292
1293 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
1294
1295         * configure.ac:
1296           Do not probe availability of check unit test library when cross
1297           compiling, as test would not work anyway. Also cleanup verbose output
1298           of the check test. Fixes #551952.
1299
1300 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1301
1302         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1303
1304         * gst/gstelement.c: (gst_element_sync_state_with_parent):
1305         Avoid leaking the parent ref when we fail changing the state of the
1306         element using gst_element_sync_state_with_parent(). Fixes #551978.
1307
1308 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1309
1310         * docs/manual/intro-motivation.xml::
1311           Remove some bits that no longer apply, update others (#551642).
1312
1313 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1314
1315         * configure.ac:
1316         0.10.20.2 pre-release
1317
1318         * po/LINGUAS:
1319         * po/id.po:
1320         * po/pt_BR.po:
1321
1322         New translations.
1323
1324 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1325
1326         * win32/common/config.h.in:
1327           Add GST_DATADIR, hard-code cpu to x86.
1328
1329         * win32/common/libgstreamer.def:
1330           Spaces to tabs.
1331
1332 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1333
1334         * gst/gsttaglist.h:
1335           Fix Since: markers for new geo tags.
1336
1337 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1338
1339         * gst/gsttaglist.h:
1340           Fix actual tag name define after renaming from altitude to elevation.
1341
1342 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1343
1344         * gst/gstpad.c: (add_unref_pad_to_list),
1345         (gst_pad_get_internal_links_default):
1346         Add fallback when calling the deprecated function on an element that
1347         implements the new internal_link handler.
1348
1349 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1350
1351         * docs/gst/gstreamer-sections.txt:
1352         * gst/gsttaglist.c:
1353         * gst/gsttaglist.h:
1354           Add new tags for geo location and clarify purpose of existing location
1355           tag. Fixes #481169
1356
1357 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1358
1359         Patch by: Olivier Crete <tester at tester dot ca>
1360
1361         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1362         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1363         Use thread-safe internal links iterator. Fixes #549504.
1364
1365 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1366
1367         Based on patch by: Olivier Crete <tester at tester dot ca>
1368
1369         * docs/gst/gstreamer-sections.txt:
1370         * win32/common/libgstreamer.def:
1371         * gst/gstpad.c: (gst_pad_init),
1372         (gst_pad_set_iterate_internal_links_function),
1373         (int_link_iter_data_free), (iterate_pad),
1374         (gst_pad_iterate_internal_links_default),
1375         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1376         * gst/gstpad.h:
1377         Add threadsafe replacement functions for getting internal links of an
1378         element. Deprecate the old internal links functions.
1379         API:GstPad::gst_pad_set_iterate_internal_links_function()
1380         API:GstPad::GstPadIterIntLinkFunction
1381         API:GstPad::gst_pad_iterate_internal_links()
1382         API:GstPad::gst_pad_iterate_internal_links_default()
1383
1384         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1385         (gst_proxy_pad_init):
1386         Implement threadsafe internal links.
1387
1388         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1389         Unit test for internal links on tee. See #549504.
1390
1391 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1392
1393         * tests/check/Makefile.am:
1394         libs/transform1 test requires libs/test_transform.c
1395
1396 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1397
1398         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1399         Die evil deadlock, die !
1400
1401 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1402
1403         * gst/gstutils.c: (gst_element_get_compatible_pad):
1404         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1405         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1406         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1407         not steal the refcount of the given caps as stated.
1408
1409         REVERT THIS COMMIT ONCE FIXED !
1410         REVERT THIS COMMIT ONCE FIXED !
1411         REVERT THIS COMMIT ONCE FIXED !
1412         REVERT THIS COMMIT ONCE FIXED !
1413         REVERT THIS COMMIT ONCE FIXED !
1414         REVERT THIS COMMIT ONCE FIXED !
1415
1416 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1417
1418         * gst/gstiterator.c:
1419         * gst/gstiterator.h:
1420         After 3 years it's about time to revise the documentation of the
1421         iterator objects.
1422
1423 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1424
1425         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1426         Make the internal links function less thread-unsafe and add some
1427         comments, dunno why.
1428
1429 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1430
1431         * gst/gst_private.h:
1432           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1433           build with --disable-gst-debug.
1434
1435 2008-08-28  David Schleef  <ds@schleef.org>
1436
1437         * gst/gstpadtemplate.c: Revert last change, since it breaks
1438           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1439           but shouldn't be enabled until we've released fixed versions
1440           of -good and -ffmpeg.
1441
1442 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1443
1444         * gst/gstobject.c:
1445           Put the gst_object_get_name() back in.
1446
1447 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1448
1449         * gst/gstpadtemplate.c:
1450           The old behaviour was that gst_pad_template_new() takes ownership of
1451           the caps. As we now call g_object_new() which calls g_object_set() and
1452           which copies the caps, we have to unref them to not leak them. Fixes
1453           make valgrid for me.
1454
1455 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1456
1457         * gst/gsturi.c:
1458           Don't segfault on input like "tel:+1-123-555-1234".
1459
1460 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1461
1462         * gst/gstobject.c:
1463           Due to popular request also include ObjectType in
1464           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1465
1466 2008-08-26  David Schleef  <ds@schleef.org>
1467
1468         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1469           src_val must be positive, because that's not a requirement.
1470           This causes problems with converting negative granulepos
1471           values for Dirac.
1472         * gst/gstquery.c: Same, gst_query_new_convert().
1473
1474 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1475
1476         * gst/gstclock.c: (gst_clock_add_observation):
1477         Add some more debugging to the clock slaving code.
1478
1479         * win32/common/libgstbase.def:
1480         Add new basetransform method.
1481
1482 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1483
1484         * gst/gstbin.c: (gst_bin_element_set_state):
1485         Take the (recursive) state lock between getting the locked state of an
1486         element and changing the element state. This allows the application to
1487         lock an element's state and then change its state without races.
1488
1489 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1490
1491         * gst/gstbin.c: (gst_bin_element_set_state):
1492         When an element is in the locked state we still want to update the
1493         base_time of the element.
1494
1495 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1496
1497         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1498         Use the result from gst_pad_set_caps() instead of assuming the element
1499         always accepted the caps computed by the default negotiate function.
1500
1501 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1502
1503         * docs/libs/gstreamer-libs-sections.txt:
1504         * libs/gst/base/gstbasetransform.c:
1505         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1506         (gst_base_transform_chain), (gst_base_transform_suggest),
1507         (gst_base_transform_reconfigure):
1508         * libs/gst/base/gstbasetransform.h:
1509         Implement method for reconfiguring basetransform.
1510         API: GstBaseTransform::gst_base_transform_reconfigure()
1511
1512 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1513
1514         patch by: Murray Cumming <murrayc@murrayc.com>
1515
1516         * gst/gstutils.c:
1517           Mention that this is just like gst_buffer_merge() but with extra
1518           unreffing for C coders. Advise language bindings not to wrap it.
1519           Fixes Bug #533856.
1520           
1521           Also fix file comment.
1522
1523 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1524
1525         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1526
1527         * plugins/elements/gstfakesink.c:
1528         * plugins/elements/gstfakesrc.c:
1529           Call super::event() when not handling it. Fixes #544855.
1530
1531 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1532
1533         Patch by: Alessandro Decina <alessandro@nnva.org>
1534         * plugins/elements/gstfilesrc.c:
1535           Use 64 bit variants of stat functions on win32, to enable support
1536           of large files there.
1537           Fixes #547277.
1538
1539 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1540
1541         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1542         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1543         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1544         (gst_base_sink_get_position), (gst_base_sink_change_state):
1545         Improve position reporting in the flushing state.
1546         Also report the position when we are not yet prerolled but we
1547         have a newsegment event. Fixes #543444.
1548         Improve the pull-based negotiation code.
1549
1550         * tests/check/elements/fakesink.c: (GST_START_TEST),
1551         (fakesink_suite):
1552         Add testcase for position reporting while flushing in PAUSED and
1553         PLAYING.
1554
1555         * tests/check/generic/sinks.c: (GST_START_TEST):
1556         Update unit-test, we can now query the position as soon as we receive a
1557         NEWSEGMENT event.
1558
1559 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1560
1561         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1562
1563         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1564         When the subclass event handler releases the PREROLL_LOCK, we could be
1565         in the flushing state and we have to ignore the event. Fixes #548394.
1566
1567 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1568
1569         * tools/gst-launch.1.in:
1570           Document GST_REGISTRY_UPDATE environment variable.
1571
1572 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1573
1574         * libs/gst/base/gstbasetransform.c:
1575         (gst_base_transform_prepare_output_buffer):
1576         If the element is configured in passthrough mode but the
1577         prepare_output_buffer gave us a new output buffer, discard that buffer
1578         and reuse the input buffer.
1579
1580 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1581
1582         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1583
1584         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1585         (gst_tee_request_new_pad), (gst_tee_release_pad),
1586         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1587         * plugins/elements/gsttee.h:
1588         Protect pad_alloc with a new lock so that we can be sure that nothing is
1589         performing a pad_alloc when removing the pad. Fixes #547835.
1590
1591         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1592         (buffer_alloc_harness_teardown), (app_thread_func),
1593         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1594         Added testcase for shutdown race.
1595
1596 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1597
1598         * gst/gstpad.h:
1599         Add doc
1600
1601 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1602
1603         * libs/gst/base/gstbasetransform.c:
1604         (gst_base_transform_prepare_output_buffer),
1605         (gst_base_transform_buffer_alloc):
1606         Go over the buffer_alloc function again and make sure we always end up
1607         allocating a buffer.
1608         Add some more docs.
1609         Avoid doing pad alloc when we have a pending suggestion because we
1610         cannot yet deal with changing caps in that case. Fixes #547728
1611
1612 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1613
1614         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1615
1616         * docs/manual/advanced-clocks.xml:
1617         * docs/manual/clocks.png:
1618         * docs/manual/diagrams-clocks.svg:
1619           Add one more image showing different times together with a describing
1620           paragraph. Fixes #547729.
1621
1622 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1623
1624         * win32/common/libgstbase.def:
1625         Add new method.
1626
1627 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1628
1629         * libs/gst/base/gstbasetransform.c:
1630         (gst_base_transform_transform_caps),
1631         (gst_base_transform_prepare_output_buffer),
1632         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1633         Don't overwrite the outsize when calculating the expected size of a new
1634         buffer because we still need it in case we cannot process the new
1635         buffer.
1636         When converting the size of the new buffer to an upstream size, actually
1637         use the expected size of the buffer, not some other random value.
1638         Use an atomic int to signal that a new upstream caps suggestion is
1639         available.
1640         When we can convert the current buffer to a new format, check if the
1641         buffer size is of the expected size and allocate a new buffer of the
1642         expected size when this is not the case. Fixes #546883.
1643
1644         * tests/check/libs/transform1.c: (GST_START_TEST):
1645         remove ifdeffed code from the unit test.
1646
1647 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1648
1649         * pkgconfig/gstreamer-uninstalled.pc.in:
1650         * pkgconfig/gstreamer.pc.in:
1651           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1652           called gstcontroller-0.10.
1653
1654 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1655
1656         * gst/gstchildproxy.h:
1657         * gst/gstpreset.h:
1658           Remove double interface from doc-string.        
1659
1660 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1661
1662         * libs/gst/base/gstbasesrc.c:
1663         * libs/gst/base/gstbasetransform.c:
1664           Fix headings in docs and gtk-doc warnings.
1665
1666 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1667
1668         * gst/gstregistrybinary.c:
1669           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1670           libc.
1671           Fixes #544776.
1672
1673 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1674
1675         * libs/gst/base/gstbasetransform.c:
1676         (gst_base_transform_buffer_alloc):
1677         Fix a "may be used unitialized" warning.
1678
1679 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1680
1681         * docs/gst/gstreamer-sections.txt:
1682         * gst/gstpreset.h:
1683           Document preset-iface vmethods.
1684
1685 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1686
1687         * docs/manual/advanced-interfaces.xml:
1688           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1689           only used to discover devices.
1690
1691 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1692
1693         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1694
1695         * gst/gst.c: (init_pre):
1696         Make sure gettext returns translations in UTF-8 encoding rather
1697         than in the current locale encoding (#546822).
1698
1699 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1700
1701         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1702         Fix subset test.
1703
1704         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1705         Improve unit test subset tests and add a testcase for the subset failure
1706         cases.
1707
1708         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1709         Improve subtraction unit test.
1710
1711 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1712
1713         * plugins/elements/gsttee.c:
1714           Unlock, instead of locking again.
1715
1716 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1717
1718         * gst/gstpad.h:
1719         Clarify the docs a bit more.
1720
1721 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1722
1723         * tests/examples/metadata/read-metadata.c:
1724           Don't leak old taglist.
1725
1726 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1727
1728         Patch by: Olivier Crete <tester at tester dot ca>
1729
1730         * gst/gststructure.c:
1731         (gst_structure_fixate_field_nearest_fraction):
1732         Avoid overflows in fixation code when dealing with MAXINT values, which
1733         v4l2src seems to do.
1734         Fixes #546328.
1735
1736         * tests/check/gst/gststructure.c: (GST_START_TEST):
1737         Make a unit test to check the fix. 
1738
1739 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1740
1741         * plugins/elements/gstcapsfilter.c: (copy_func),
1742         (gst_capsfilter_set_property):
1743         Use new caps suggestion feature of basetransform to request a caps
1744         negotiation upstream.
1745
1746 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1747
1748         * docs/libs/gstreamer-libs-sections.txt:
1749         Add new function:
1750         API: GstBaseTransform::gst_base_transform_suggest()
1751
1752         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1753         (gst_base_transform_init), (gst_base_transform_transform_caps),
1754         (gst_base_transform_transform_size),
1755         (gst_base_transform_configure_caps),
1756         (gst_base_transform_can_transform),
1757         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1758         (gst_base_transform_prepare_output_buffer),
1759         (gst_base_transform_buffer_alloc),
1760         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1761         (gst_base_transform_chain), (gst_base_transform_activate),
1762         (gst_base_transform_set_passthrough),
1763         (gst_base_transform_is_passthrough),
1764         (gst_base_transform_set_in_place),
1765         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1766         (gst_base_transform_set_qos_enabled),
1767         (gst_base_transform_is_qos_enabled),
1768         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1769         (gst_base_transform_reconfigure):
1770         * libs/gst/base/gstbasetransform.h:
1771         Rewrite of basetransform to perform negotiation outside of the
1772         buffer_alloc functions.  Fixes #545853.
1773
1774         * tests/check/libs/transform1.c: (GST_START_TEST),
1775         (buffer_alloc_ct2):
1776         Update unit test.
1777
1778 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1779
1780         * tests/check/gst/gstpreset.c:
1781           Only run preset tests when $HOME is writable. Preliminary fix for
1782           #545433.
1783
1784 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1785
1786         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1787         (gst_bin_change_state_func), (bin_handle_async_done),
1788         (gst_bin_handle_message_func):
1789         Fix race for bins that simulate ASYNC state changes by inserting
1790         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1791         pending ASYNC messages even when the bin does not have ASYNC children.
1792         We note detect this behaviour because we will receive an ASYNC message
1793         that is originating from the bin itself. 
1794         Fixes races with decodebin2 state changes.
1795
1796         * tests/check/gst/gstbin.c: (GST_START_TEST):
1797         Add some more debug.
1798
1799 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1800
1801         * gst/gsttaglist.c: (_gst_tag_initialize):
1802           Fix typo.
1803
1804 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1805
1806         * gst/gsttaglist.c:
1807           Argh. actually save the text before committing. Now adds
1808           gst_tag_merge_strings_with_comma() to gst_tag_register().
1809
1810 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1811
1812         * gst/gsttaglist.c:
1813         * gst/gsttaglist.h:
1814           Do as tim pointed out and actually register the new tag. Also improve
1815           te docs and use gst_tag_merge_strings_with_comma() method to allow
1816           retriving all keywords merged in one list.
1817
1818 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1819
1820         * configure.ac:
1821         * docs/gst/gstreamer.types:
1822           Revert 'accidential' change of the configure option removal. We still
1823           need to generate the types file in configure --disable-load-save.
1824
1825 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1826
1827         * docs/gst/gstreamer-sections.txt:
1828         * gst/gsttaglist.h:
1829           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1830
1831 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1832
1833         * gst/gstpadtemplate.c:
1834           (gst_pad_template_class_init), (gst_static_pad_template_get),
1835           (gst_pad_template_new), (gst_pad_template_pad_created),
1836           (gst_pad_template_set_property), (gst_pad_template_get_property):
1837           Add "name-template", "direction", "presence" and "caps" properties,
1838           so that gst_pad_template_new() is just a thin wrapper around
1839           g_object_new(), which is better for bindings. (Fixes: #539772)
1840
1841 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1842
1843         * gst/gsturi.c:
1844           Be more liberal in what URIs we accept.
1845           Do not unescape bits of the URI for no apparent reason before passing to
1846           the element. Fixes #545352.
1847
1848 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1849
1850         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1851
1852         * gst/gst.c:
1853         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1854
1855 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1856
1857         * configure.ac:
1858         * docs/gst/gstreamer-sections.txt:
1859         * docs/gst/gstreamer.types:
1860         * docs/gst/gstreamer.types.in:
1861         * gst/Makefile.am:
1862         * gst/gst.c:
1863         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1864         * gst/gstconfig.h.in:
1865         * gst/gstelement.c: (gst_element_get_index):
1866         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1867         (gst_registry_binary_load_feature),
1868         (gst_registry_binary_read_cache):
1869         * gst/gstregistryxml.c: (load_feature),
1870         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1871         * plugins/Makefile.am:
1872         * tools/gst-indent:
1873         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1874         (print_plugin_features), (print_element_features):
1875         * tools/gst-xmlinspect.c: (print_event_masks),
1876         (print_element_info):
1877         * win32/common/gstconfig.h:
1878         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1879
1880         Disabling the indexers and URI handler code will only reduce the
1881         required amount of memory by a very small amount but on the other hand
1882         requires much more maintaince work. Apart from that many places of
1883         code are broken when disabling them.
1884
1885         Disabling the enum types doesn't reduce the required amount of memory
1886         by more than a few bytes and makes it hard to fix bugs like #539772,
1887         i.e. use the enums as GObject properties.
1888
1889 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1890
1891         * docs/design/part-TODO.txt:
1892         Add some thoughts and problems with upstream renegotiation.
1893
1894 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1895
1896         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1897         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1898         Remove silly redundant debug.
1899         Add some more debug info.
1900         Clarify the docs regarding new caps received from pad_alloc.
1901
1902 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1903
1904         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1905         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1906         Make setting the caps more threadsafe.
1907
1908 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1909
1910         * docs/design/part-element-transform.txt:
1911         Update docs.
1912
1913 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1914
1915         * plugins/elements/gstqueue.c: (gst_queue_init),
1916         (gst_queue_acceptcaps):
1917         Add and use a custom acceptcaps function instead of falling back to the
1918         potentially less optimized default implementation.
1919
1920 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1921
1922         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1923           Only sanity-check the buffer size if requested_caps == buffer_caps
1924           (ie. don't take pad caps into account, they're not relevant here)
1925
1926 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1927
1928         * plugins/elements/gsttee.c:
1929         * plugins/elements/gsttee.h:
1930           Reverting as not everything is clear yet. Needs some general design
1931           work.
1932
1933 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1934
1935         * ChangeLog:
1936           ChangeLog surgery for tee commit.
1937
1938 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1939
1940         * docs/gst/gstreamer-sections.txt:
1941           Cleanup section-file.
1942
1943 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1944
1945         * plugins/elements/gsttee.c:
1946         * plugins/elements/gsttee.h:
1947           Relay tag events in tee. Fixes parts of #474016.
1948           Downgrades 3 reoccurring debugs to log.
1949
1950 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1951
1952         * configure.ac:
1953         * libs/gst/Makefile.am:
1954           Build the net library if we have winsock2.
1955
1956 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1957
1958         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1959
1960         * docs/manual/advanced-threads.xml:
1961         * docs/manual/diagrams-pipelines.svg:
1962         * docs/manual/hello-world.png:
1963         * docs/manual/linked-elements.png:
1964         * docs/manual/mime-world.png:
1965         * docs/manual/queue.png:
1966         * docs/manual/thread-buffering.png:
1967         * docs/manual/thread-synchronizing.png:
1968           Replace one diagram with two separate ones and updates others.
1969           Fixes #542401.
1970
1971 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1972
1973         * gst/gstelement.h:
1974         Fix link in documentation.
1975
1976 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1977
1978         * gst/gstmessage.c:
1979         Fix confusing documentation.
1980
1981 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1982
1983         * libs/gst/base/gstbasesrc.h:
1984         revert the changes to the header file for the ABI.
1985
1986 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1987
1988         * libs/gst/base/gstbasesrc.c:
1989         * libs/gst/base/gstbasesrc.h:
1990         Don't cache the seekable status.
1991         Fixes bug #544174
1992
1993 2008-07-24  Rene Stadler  <mail@renestadler.de>
1994
1995         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1996         code to close the pipeline graph.  This prevents the program from
1997         printing internal data flow errors.
1998
1999 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2000
2001         * docs/manual/basics-bus.xml:
2002         Correct typo. Fixes bug #544320.
2003
2004 2008-07-22  Michael Smith <msmith@songbirdnest.com>
2005
2006         * configure.ac:
2007           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
2008           Add check (taken from -base) for winsock, adds WIN32_LIBS
2009         * gst/Makefile.am:
2010           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
2011           winsock.
2012           Define GST_EXPORTS when building libgstreamer (only used on win32)
2013         * gst/gst_private.h:
2014         * gst/gstinfo.h:
2015           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
2016           for symbols that we need to export in both these files.
2017         * gst/gstpoll.c:
2018           Include gst_private.h higher up to avoid some compile problems on win32.
2019
2020 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2021
2022         * gst/gstvalue.c:
2023         Fix typos.
2024
2025 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2026
2027         * gst/gstcaps.c:
2028         Previous commit was wrong NULL caps does not exist
2029         and indicate an error, so also add a FIXME to
2030         gst_caps_is_equal where NULL caps are accepted.
2031
2032 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2033
2034         * gst/gstcaps.c:
2035         Allow passing of NULL to gst_caps_union
2036
2037 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2038
2039         * gst/gstghostpad.c:
2040         Add in doc that gst_ghost_pad_set_target can accept
2041         NULL to clear target
2042
2043 2008-07-15  Michael Smith <msmith@songbirdnest.com>
2044
2045         * gst/gstplugin.c:
2046         * gst/gstregistry.c:
2047           GstRegistryPool doesn't exist; don't refer to it in docs.
2048           Don't refer to functions that don't exist in docs, it's
2049           unhelpful.
2050
2051 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2052
2053         * gst/gst.c:
2054         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
2055
2056 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2057
2058         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
2059
2060         * docs/pwg/building-testapp.xml:
2061         Don't use an undeclared variable in the example program.
2062         Fixes bug #542573.
2063
2064 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
2065
2066         * gst/gstdebugutils.c:
2067           Squeeze ghost-pad links and remove <> from classname labels to save
2068           more horizontal space.
2069
2070 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
2071
2072         * gst/gstdebugutils.c:
2073           Give request and sometimes pads a different shpe style. Condense the
2074           graphs a little more.
2075
2076 2008-07-09  Michael Smith <msmith@songbirdnest.com>
2077
2078         * configure.ac:
2079           Don't require flex and bison if the parser is disabled.
2080
2081 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2082
2083         * libs/gst/controller/gstinterpolationcontrolsource.c:
2084         (_list_find_sorted_custom):
2085         Don't use declarations after statements.
2086
2087 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2088
2089         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2090         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2091         of the the child-added / -removed signals as GstChildProxy
2092         only supports GstObjects.
2093
2094 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
2095
2096         * gst/gstdebugutils.c:
2097         Fix memleak
2098
2099 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2100
2101         Patch by: Alessandro Decina <alessandro at nnva dot org>
2102
2103         * gst/gstpoll.c:
2104         Fix "ignored return value" compiler warning with newer glibc.
2105
2106 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2107
2108         * gst/gstchildproxy.c:
2109         Fix copy&paste error in gst_child_proxy_removed() documentation.
2110
2111 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
2112
2113         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2114           Print error debug message if plugin description fields that should
2115           be set are NULL.
2116
2117         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2118           Don't crash if the string to serialise is NULL (it really should
2119           not be, but apparently this used to work with the xml registry ...).
2120
2121 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
2122
2123         * tools/gst-plot-timeline.py:
2124         Fix parsing of log messages
2125
2126 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
2127
2128         * win32/common/libgstbase.def::
2129           Sort alphabetically so make check-exports doesn't barf.
2130
2131 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
2132
2133         * gst/gstevent.c:
2134           Use gst_format_get_name() to improve debug output.
2135
2136         * gst/gstpreset.c:
2137           Remove #ifdef'ed code. Add TODO comment.
2138
2139         * gst/gstsegment.c:
2140           Add debug output to ease spotting format != segment.format assertions.
2141
2142 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2143
2144         * tests/check/libs/gdp.c: (gst_dp_suite):
2145         Also enable the GDP unit test again on PPC now that the bug
2146         is fixed.
2147
2148 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2149
2150         * libs/gst/dataprotocol/dataprotocol.c:
2151         Don't write to the same region of memory as a uint64 and uint16
2152         as this breaks strict aliasing rules and apparantly breaks on PPC
2153         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2154
2155 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2156
2157         * libs/gst/controller/gstinterpolationcontrolsource.c:
2158           Optimize list handling. Use own find function. Exploit that fact that
2159           the list is sorted. Also pass back the node before, so that we can
2160           insert quickly. Have a fast path for append.
2161
2162 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2163
2164         * docs/design/draft-framestep.txt:
2165         * docs/design/part-negotiation.txt:
2166           Fix two typos.
2167
2168 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2169
2170         * configure.ac:
2171           Show configuration sumary after configure run. Based on patch by
2172           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2173
2174 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2175
2176         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2177
2178         * docs/manual/advanced-autoplugging.xml:
2179         * docs/manual/advanced-threads.xml:
2180         * docs/manual/basics-bins.xml:
2181         * docs/manual/basics-elements.xml:
2182         * docs/manual/basics-helloworld.xml:
2183         * docs/manual/basics-pads.xml:
2184           Add scale factor for pdf output.
2185
2186         * docs/manual/intro-basics.xml:
2187           Switched sections "pads" and "bins" and added a pipeline diagram.
2188
2189         * docs/manual/intro-gstreamer.xml:
2190           Added more info on gstreamer.
2191
2192         * docs/manual/intro-motivation.xml:
2193           Commented out the whole section "current problem", which sounds
2194           historical and somehow osolete; it could be turned in a positive
2195           way and reused to improve the design principles.
2196
2197         * docs/manual/intro-preface.xml:
2198           - Update URLs to library.gnome.org. 
2199           - Do not mention GTK+ in preliminary reading (irrelevant). 
2200           - Mention Plugin Writer's Manual and further reading only in the
2201             previous section.
2202           - Added a list of most relevant GObject/glib topics.
2203
2204         * docs/manual/Makefile.am:
2205         * docs/manual/bin-element-ghost.fig:
2206         * docs/manual/bin-element-ghost.png:
2207         * docs/manual/bin-element-noghost.fig:
2208         * docs/manual/bin-element-noghost.png:
2209         * docs/manual/bin-element.fig:
2210         * docs/manual/bin-element.png:
2211         * docs/manual/filter-element-multi.fig:
2212         * docs/manual/filter-element-multi.png:
2213         * docs/manual/filter-element.fig:
2214         * docs/manual/filter-element.png:
2215         * docs/manual/gstreamer-overview.png:
2216         * docs/manual/hello-world.fig:
2217         * docs/manual/hello-world.png:
2218         * docs/manual/linked-elements.fig:
2219         * docs/manual/linked-elements.png:
2220         * docs/manual/mime-world.fig:
2221         * docs/manual/mime-world.png:
2222         * docs/manual/queue.fig:
2223         * docs/manual/queue.png:
2224         * docs/manual/simple-player.png:
2225         * docs/manual/sink-element.fig:
2226         * docs/manual/sink-element.png:
2227         * docs/manual/src-element.fig:
2228         * docs/manual/src-element.png:
2229         * docs/manual/diagrams-general.svg:
2230         * docs/manual/diagrams-pipelines.svg:
2231           Removed .fig, added .png counterpart.
2232           
2233           Fixes: #539137
2234
2235 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
2236
2237         * plugins/elements/gstmultiqueue.c:
2238         * plugins/elements/gstmultiqueue.h:
2239         revert extra-size-buffers stuff, caused some race conditions
2240         and extra-size-buffers is not used anymore. Docs needs some updates
2241
2242 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2243
2244         * win32/common/config.h:
2245         * win32/common/gstenumtypes.c:
2246         * win32/common/gstenumtypes.h:
2247         * win32/common/gstversion.h:
2248           Update win32 files.
2249
2250 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2251
2252         * gst/gstdebugutils.h: (GstDebugGraphDetails),
2253           (GST_DEBUG_BIN_TO_DOT_FILE):
2254           Add missing Since' markers to gtk-doc blurbs.
2255
2256 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
2257
2258         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2259         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2260         (set_caps_1), (set_caps_ct1), (transform_ct1),
2261         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2262         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2263         (transform_size_ct2), (buffer_alloc_ct2):
2264         Add some more tests with switching caps in buffer_alloc.
2265
2266 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2267
2268         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2269         (gst_test_trans_class_init), (result_sink_chain),
2270         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2271         (gst_test_trans_push), (gst_test_trans_pop):
2272         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2273         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2274         (set_caps_1), (set_caps_ct1), (transform_ct1),
2275         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2276         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2277         (transform_size_ct2), (buffer_alloc_ct2),
2278         (gst_basetransform_suite):
2279         More tests, prepare for tests with switching caps in buffer_alloc.
2280
2281 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2282
2283         * plugins/elements/gstmultiqueue.c:
2284         * plugins/elements/gstmultiqueue.h:
2285         Fix dead-lock in underrun_cb
2286
2287 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2288
2289         * docs/design/part-states.txt:
2290         Fix device open/close docs.
2291
2292 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2293
2294         * ChangeLog:
2295           Mention bugnumber for last commit.
2296
2297 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2298
2299         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2300
2301         * docs/manual/manual.xml:
2302         - Reorganised the previous "introduction" bundle into Foreword,
2303         Introduction, and About GStreamer. The two first are <preface>
2304         docbook elements. The later is the first part of the book.
2305         - added intro-gstreamer.xml (content partially from
2306         intro-preface.xml)
2307         - moved appendix-win32.xml into appendix-integration.xml
2308
2309         * docs/manual/intro-preface.xml: gstreamer section moved...
2310         * docs/manual/intro-gstreamer.xml: ...here. new file.
2311
2312         * docs/manual/appendix-win32.xml: removed file. Content moved...
2313         * docs/manual/appendix-integration.xml: ...here.
2314         
2315         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2316         * docs/manual/appendix-checklist.xml: ...here.
2317         
2318         Fixes: 538764
2319
2320 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2321
2322         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2323
2324         * docs/manual/basics-helloworld.xml:
2325         * docs/manual/hello-world.fig:
2326           - Explicitely include glib.h.
2327           - Do not use global variables.
2328           - Use g_printerr() instead of g_print().
2329           - Minor formating/renaming to increase readibility.
2330           - Renamed new_pad() to on_pad_added()
2331           - Improved explenatory comments.
2332           - renamed ogg parser to ogg demuxer
2333           - Use "autoaudiosink" instead of "alsasink".
2334           Fixes: #538619
2335
2336 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2337
2338         * ChangeLog:
2339           Remove cvs conflict marker.
2340
2341 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2342
2343         * docs/README:
2344           Document that for plgin-docs we extraxt he short-desc from the element
2345           details.
2346
2347         * docs/design/part-states.txt:
2348           Tell that devices should be closed in PAUSED -> READY.
2349
2350         * docs/manual/README:
2351           Document how tests in the manual are handled.
2352
2353         * docs/manuals.mak:
2354           Typo in comment.
2355
2356 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2357
2358         * gst/gstbin.c: (bin_query_latency_fold):
2359         Only care about latency min and max when the sink is actually a live
2360         sink.
2361
2362 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2363
2364         * docs/design/part-block.txt:
2365         Fix typo.
2366
2367         * docs/design/part-element-transform.txt:
2368         Add notes about why transform needs to know input/output sizes.
2369         Add some issues that need to be solved.
2370         Add some more use cases.
2371
2372         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2373         (gst_test_trans_class_init), (result_sink_chain),
2374         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2375         (gst_test_trans_push), (gst_test_trans_pop):
2376         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2377         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2378         (set_caps_1), (set_caps_ct1), (transform_ct1),
2379         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2380         (gst_basetransform_suite):
2381         Add suport for different pad templates and buffer-alloc.
2382         Add more checks for caps and buffer-alloc.
2383         Add checks for proxy buffer alloc.
2384         Add unit test for copy transform.
2385
2386 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2387
2388         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2389
2390         * docs/manual/appendix-integration.xml:
2391         * docs/manual/appendix-licensing.xml:
2392         * docs/manual/basics-elements.xml:
2393         * docs/manual/basics-helloworld.xml:
2394         * docs/manual/basics-pads.xml:
2395         * docs/manual/highlevel-components.xml:
2396         * docs/manual/highlevel-xml.xml:
2397         * docs/manual/intro-basics.xml:
2398         * docs/manual/intro-preface.xml:
2399           Typo and formatting fixes (#538594).
2400
2401 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2402
2403         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2404         Fix some memory leaks and uses of object instances that we don't
2405         actually own.
2406
2407 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2408
2409         * plugins/elements/gstmultiqueue.c:
2410         Add functionality to extra-size-buffers property.
2411
2412 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2413
2414         * plugins/elements/gstmultiqueue.c:
2415         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2416         activate the pads if they are added in STATE_NULL.
2417
2418 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2419
2420         * docs/libs/gstreamer-libs-sections.txt:
2421         Add new API to doc
2422         * libs/gst/check/gstcheck.c:
2423         * libs/gst/check/gstcheck.h:
2424         API: gst_check_teardown_pad_by_name
2425
2426 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2427
2428         * libs/gst/check/gstcheck.c:
2429         * libs/gst/check/gstcheck.h:
2430         Also setup request pads and allow setup pads by name (#537812)
2431         API: gst_check_setup_src_pad_by_name
2432         API: gst_check_setup_sink_pad_by_name
2433
2434 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2435
2436         * tests/check/gst/gstbuffer.c:
2437         * tests/check/pipelines/parse-launch.c:
2438           Use HAVE_VALGRIND_H some more.
2439
2440 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2441
2442         * scripts/cvs-update.sh:
2443           Pass arguments to make.
2444           Run autoregen.sh if Makefile is not there.
2445
2446 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2447
2448         * configure.ac:
2449         * gst/gstinfo.c:
2450           Don't assume that <valgrind/valgrind.h> exists just because
2451           the binary is there.
2452
2453 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2454
2455         * tests/check/Makefile.am:
2456         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2457         (gst_test_trans_class_init), (gst_test_trans_init),
2458         (gst_test_trans_set_data), (result_sink_chain),
2459         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2460         (gst_test_trans_pop):
2461         * tests/check/libs/transform1.c: (GST_START_TEST),
2462         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2463         Add some test basetransform element and the beginnings of various
2464         unit tests for it.
2465
2466 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2467
2468         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2469         Increase code readability.
2470         Don't try to compare buffer offsets when ther are invalid.
2471
2472 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2473
2474         * docs/design/Makefile.am:
2475           Dist some more design docs.
2476
2477         * docs/random/moving-plugins:
2478           Small addition: good plugins mustn't have functional code
2479           within assertion macros.
2480
2481 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2482
2483         * docs/design/draft-framestep.txt:
2484         Some ideas about a framestep API
2485
2486         * docs/design/part-element-transform.txt:
2487         Start design and use cases for basetransform in order to get it
2488         fixed soon.
2489
2490 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2491
2492         * gst/gsttaglist.h:
2493           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2494           be in UTF-8 encoding.
2495
2496 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2497
2498         * gst/gstbus.c:
2499           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2500
2501 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2502
2503         * plugins/elements/gstcapsfilter.c:
2504         * plugins/elements/gstfakesink.c:
2505         * plugins/elements/gstfakesrc.c:
2506         * plugins/elements/gstfdsink.c:
2507         * plugins/elements/gstfdsrc.c:
2508         * plugins/elements/gstfilesink.c:
2509         * plugins/elements/gstfilesrc.c:
2510         * plugins/elements/gstidentity.c:
2511         * plugins/elements/gstmultiqueue.c:
2512         * plugins/elements/gstqueue.c:
2513         * plugins/elements/gsttee.c:
2514         * plugins/elements/gsttypefindelement.c:
2515           Remove short_description. Add basic docs for gsttypefindelement.
2516           Simplify markup for fakesrc/fdsrc.
2517
2518 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2519
2520         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2521         Added Since doc.
2522
2523 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2524
2525         Patch by: Joel Larsson <tilljoel at gmail dot com>
2526
2527         * docs/plugins/gstreamer-plugins.args:
2528         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2529         (gst_fd_src_init), (gst_fd_src_update_fd),
2530         (gst_fd_src_set_property), (gst_fd_src_get_property),
2531         (gst_fd_src_create):
2532         * plugins/elements/gstfdsrc.h:
2533         Add timeout property like udpsrc. Fixes #538628.
2534         Add some more docs and example pipelines.
2535
2536 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2537
2538         * docs/libs/gstreamer-libs-sections.txt:
2539         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2540         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2541         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2542         (gst_base_sink_do_sync):
2543         * libs/gst/base/gstbasesink.h:
2544         * win32/common/libgstbase.def:
2545         Add method to allow sinks to specify additional delay between the sync
2546         times and the actual rendering of the data.
2547         API: gst_base_sink_set_render_delay()
2548         API: gst_base_sink_get_render_delay()
2549
2550 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2551
2552         * configure.ac:
2553         Bump version number back to dev -> 0.10.20.1
2554
2555 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2556
2557         * docs/gst/gstreamer-sections.txt:
2558         * gst/gsttaglist.c: (_gst_tag_initialize):
2559         * gst/gsttaglist.h:
2560         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2561         Fixes bug #538568.
2562
2563 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2564
2565         * libs/gst/controller/gstcontroller.c:
2566           Revert one change, that make ret value possible uninitialized.
2567
2568 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2569
2570         * libs/gst/controller/gstcontroller.c:
2571           Use freeze/thaw notify to sync notify emission a bit (its also more
2572           efficient). Move debug output to LOG (is called a lot in a loop).
2573           Always unset g_values if the have been initialized.
2574
2575 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2576
2577         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2578         (gst_base_sink_wait_eos), (gst_base_sink_event):
2579         If we have not seen a buffer before EOS, use the segment values to
2580         report the current position instead of invalid positions.
2581
2582 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2583
2584         * docs/plugins/tmpl/.cvsignore:
2585         * tests/check/gst/.cvsignore:
2586           Ignore more.
2587
2588 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2589
2590         * libs/gst/controller/gstinterpolation.c:
2591         * libs/gst/controller/gstinterpolationcontrolsource.c:
2592         * tests/check/libs/controller.c:
2593           Rewrite handling of default values. Fix overflow with unsigned types
2594           in linear interpolation. Remove now obsolete _first_value() function.
2595           Add more tests. Fixes #538201.
2596
2597 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2598
2599         * libs/gst/base/gstbasetransform.c:
2600         (gst_base_transform_class_init), (gst_base_transform_init),
2601         (gst_base_transform_transform_caps),
2602         (gst_base_transform_prepare_output_buffer):
2603         Add debug info.
2604         When a buffer is writable, its metadata is also writable so we don't
2605         need to subbuffer (which then makes the buffer not-writable anymore).
2606
2607 === release 0.10.20 ===
2608
2609 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2610
2611         * configure.ac:
2612           releasing 0.10.20, "You Crazy Diamond"
2613
2614 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2615
2616         * configure.ac:
2617         0.10.19.3 pre-release
2618
2619 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2620
2621         * configure.ac:
2622         * gst/gstpreset.c:
2623         Rename DATADIR to GST_DATADIR to avoid build problems
2624         on win32. Patch By: David Schleef <ds@schleef.org>
2625         Fixes: #536857
2626
2627 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2628
2629         * configure.ac:
2630         Explicitely link with -ldl if dladdr() is found there. Before it was
2631         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2632         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2633
2634 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2635
2636         * gst/gsterror.c: (_gst_stream_errors_init):
2637           Fix typo (spotted by Fabricio Godoy, #536723).
2638
2639 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2640
2641         * configure.ac:
2642         0.10.19.2 pre-release
2643
2644 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2645
2646         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2647         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2648         Add some debug.
2649         Make sure we don't generate invalid QoS messages.
2650
2651 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2652
2653         * gst/gstevent.c: (gst_event_new_qos):
2654         Add some assert and docs for invalid input to the qos function.
2655
2656 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2657
2658         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2659         (gst_base_sink_get_position):
2660         The reported position must always be smaller than the last seen
2661         timestamps (or timestamp + duration for reverse).
2662
2663 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2664
2665         Patch by: Rob Bradford <rob at robster dot org dot uk>
2666
2667         * gst/gstregistry.c: (gst_registry_scan_path_level):
2668         Don't recurse into .debug directories as some distros install
2669         the debugging symbols next to the plugins in .debug directories
2670         and dlopen() crashes on them sometimes. Fixes bug #508070.
2671
2672         Add FIXME for 0.11 to not recurse into directories at all because
2673         it's very inconsistent to the behaviour of other PATH environment
2674         variables.
2675
2676 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2677
2678         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2679         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2680         Fix position query range checks in reverse playback.
2681
2682 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2683
2684         * gst/gstelement.c:
2685         * gst/gstelement.h:
2686         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2687         clear of the reference to the resulting pad must be released later
2688         or not, resulting in possible leaks. Fixes bug #533865.
2689
2690 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2691
2692         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2693
2694         * gst/gstelementfactory.c:
2695         Small doc fix. Fixes #535285.
2696
2697 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2698
2699         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2700
2701         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2702         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2703         (gst_base_src_loop), (gst_base_src_set_flushing),
2704         (gst_base_src_change_state):
2705         Make sending an EOS event to the basesrc non-blocking even if the
2706         implementation does blocking waits in the create function. This is done
2707         by unlocking the create function when EOS is sent.
2708         Fixes #535218.
2709
2710 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2711
2712         * tools/gst-inspect.c: (print_element_properties_info):
2713         If possible print the element type of GValueArray properties.
2714
2715 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2716
2717         * gst/gstiterator.c:
2718         Remove an unused field from the private GstListIterator struct.
2719
2720 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2721
2722         * libs/gst/controller/gstcontroller.c:
2723           Add parameter guards.
2724
2725 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2726
2727         * tests/check/gst/gstpipeline.c:
2728           Revert test change and add comment why it should not work.
2729
2730 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2731
2732         * tests/check/gst/gstpipeline.c:
2733           Extending the test a little to verify that we also get the NULL state-
2734           change message.
2735
2736 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2737
2738         * gst/gstpreset.c: (gst_preset_default_get_meta),
2739           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2740           (gst_preset_load_preset), (gst_preset_save_preset),
2741           (gst_preset_rename_preset), (gst_preset_delete_preset),
2742           (gst_preset_set_meta):
2743           Add Since: markers to docs blurbs.
2744
2745         * win32/common/libgstreamer.def:
2746           Add recently-added API.
2747
2748 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2749
2750         Patch by: Stefan Kost  <ensonic@users.sf.net>
2751
2752         * configure.ac:
2753         Add DATADIR for storing presets.
2754
2755         * docs/gst/gstreamer-docs.sgml:
2756         * docs/gst/gstreamer-sections.txt:
2757         * docs/gst/gstreamer.types.in:
2758         Add GstPreset to docs.
2759
2760         * gst/Makefile.am:
2761         * gst/gst.h:
2762         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2763         (preset_open_and_parse_header), (preset_parse_version),
2764         (preset_merge), (preset_get_keyfile),
2765         (gst_preset_default_get_preset_names),
2766         (gst_preset_default_get_property_names),
2767         (gst_preset_default_load_preset),
2768         (gst_preset_default_save_presets_file),
2769         (gst_preset_default_save_preset),
2770         (gst_preset_default_rename_preset),
2771         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2772         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2773         (gst_preset_default_reset), (gst_preset_get_preset_names),
2774         (gst_preset_get_property_names), (gst_preset_load_preset),
2775         (gst_preset_save_preset), (gst_preset_rename_preset),
2776         (gst_preset_delete_preset), (gst_preset_set_meta),
2777         (gst_preset_get_meta), (gst_preset_class_init),
2778         (gst_preset_base_init), (gst_preset_get_type):
2779         * gst/gstpreset.h:
2780         Add GstPreset to core. Fixes #396779
2781
2782         * tests/check/Makefile.am:
2783         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2784         (gst_preset_test_set_property), (gst_preset_test_class_init),
2785         (gst_preset_test_base_init), (gst_preset_test_get_type),
2786         (gst_preset_test_plugin_init), (GST_START_TEST),
2787         (remove_preset_file), (test_setup), (test_teardown),
2788         (gst_preset_suite):
2789         Add GstPreset unit tests.
2790
2791 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2792
2793         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2794         The default event function on a sinkpad should return TRUE when
2795         there are no internal links but should collect the return values from
2796         the internal links otherwise.
2797
2798 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2799
2800         * plugins/elements/gsttypefindelement.c:
2801         (gst_type_find_element_src_event),
2802         (gst_type_find_element_handle_event):
2803         Use faster and safer _pad_push_event().
2804
2805 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2806
2807         * docs/gst/gstreamer-sections.txt:
2808         * gst/gstutils.c: (element_find_unlinked_pad),
2809           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2810         * gst/gstutils.h:
2811           API: add gst_bin_find_unlinked_pad()
2812           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2813
2814 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2815
2816         * gst/gstclock.c:
2817         * gst/gstclock.h:
2818         * gst/gsttask.c:
2819         * gst/gsttask.h:
2820         Fixed a bunch of typos.
2821
2822 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2823
2824         * gst/gstpad.h:
2825         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2826           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2827           (gst_parse_bin_from_description_full):
2828         * gst/gstutils.h:
2829           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2830
2831 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2832
2833         * docs/pwg/advanced-tagging.xml:
2834           Small docs update, can't be bothered to rewrite the nonsensical
2835           examples right now.
2836
2837 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2838
2839         * gst/gstevent.h:
2840           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2841
2842 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2843
2844         * gst/parse/grammar.y:
2845           Remove unneeded casts.
2846
2847 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2848
2849         * gst/parse/grammar.y:
2850         * tests/check/pipelines/parse-launch.c:
2851           Get all missing elements from a parse launch string if possible
2852           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2853
2854 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2855
2856         * tests/check/Makefile.am:
2857         * tests/check/pipelines/parse-launch.c:
2858           Add some unit tests for the new gst_parse_launch*_full() API.
2859           (Exposes a previously-existing memory leak in the error code
2860           path, so adding to VALGRIND_TO_FIX for now).
2861
2862 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2863
2864         * docs/gst/gstreamer-sections.txt:
2865         * gst/gst.c: (init_post):
2866         * gst/gst_private.h: (_GstParseContext):
2867         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2868           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2869           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2870           (gst_parse_launch_full):
2871         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2872           (GstParseFlags), (GstParseContext):
2873         * gst/gstutils.c: (gst_parse_bin_from_description),
2874           (gst_parse_bin_from_description_full):
2875         * gst/gstutils.h:
2876         * gst/parse/grammar.y:
2877         * gst/parse/types.h:
2878         * win32/common/libgstreamer.def:
2879           Add new gst_parse_*_full API (#528178):
2880           API: gst_parse_launch_full()
2881           API: gst_parse_launchv_full()
2882           API: gst_parse_bin_from_description_full()
2883           API: gst_parse_context_new()
2884           API: gst_parse_context_free()
2885           API: gst_parse_context_get_missing_elements()
2886
2887 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2888
2889         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2890
2891         * docs/faq/gst-uninstalled:
2892           Also support ffmpeg in gst-uninstalled.
2893
2894 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2895
2896         * configure.ac:
2897         After discussion on IRC use the binary registry as default
2898         but allow to disable it with --disable-binary-registry.
2899
2900         * win32/common/libgstreamer.def:
2901         Add the two new symbols for the binary registry.
2902
2903 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2904
2905         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2906         * gst/gstutils.c: (gst_parse_bin_from_description):
2907         * gst/parse/grammar.y: (graph):
2908           More guards against bad input; typo fix; some minor clean-ups.
2909
2910 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2911
2912         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2913
2914         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2915         If nothing else can be used, use the last buffer's start time as
2916         the segment's last stop. Fixes bug #534258.
2917
2918 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2919
2920         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2921           Move size sanity check to the right place: downstream may return
2922           a buffer with a smaller size if the buffer caps are different than
2923           the requested ones, as may happen when doing reverse negotiation.
2924
2925 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2926
2927         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2928         (gst_file_sink_render):
2929         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2930         (gst_file_src_start):
2931         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2932         use it yet.
2933
2934 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2935
2936         * gst/gstpad.c: (gst_pad_load_and_link):
2937         * gst/gstutils.c: (gst_element_link_pads),
2938         (gst_element_unlink_pads):
2939         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2940         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2941         (gst_check_teardown_sink_pad),
2942         (gst_check_element_push_buffer_list):
2943         * tests/check/elements/fakesink.c: (GST_START_TEST):
2944         * tests/check/elements/filesink.c:
2945         * tests/check/elements/filesrc.c: (GST_START_TEST):
2946         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2947         (mq_sinkpad_to_srcpad):
2948         * tests/check/elements/tee.c: (GST_START_TEST):
2949         * tests/check/generic/sinks.c: (GST_START_TEST):
2950         * tests/check/gst/gstbin.c: (GST_START_TEST):
2951         * tests/check/gst/gstevent.c: (GST_START_TEST):
2952         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2953         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2954         * tests/check/gst/gstquery.c: (GST_START_TEST):
2955         * tests/check/gst/gstutils.c: (GST_START_TEST):
2956         * tests/check/libs/basesrc.c: (GST_START_TEST):
2957         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2958         (gst_parse_test_element_change_state):
2959         Don't use gst_element_get_pad().
2960
2961 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2962
2963         * docs/Makefile.am:
2964         Fix installing plugin documentation when gtk-doc is disabled.
2965
2966 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2967
2968         * docs/manual/advanced-autoplugging.xml:
2969         * docs/manual/basics-helloworld.xml:
2970         * docs/manual/basics-pads.xml:
2971         * docs/manual/highlevel-components.xml:
2972         Avoid using a bad function in the example code.
2973
2974 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2975
2976         * gst/gstclock.c: (gst_clock_set_calibration):
2977         Fix debug of the new clock rate.
2978
2979 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2980
2981         * win32/common/libgstbase.def:
2982         Add gst_base_sink_wait_clock() to the exported symbols.
2983
2984 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2985
2986         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2987
2988         * libs/gst/base/gstbasetransform.c:
2989         (gst_base_transform_sink_event):
2990         Unref events that the GstBaseTransform::event vfunc didn't want to
2991         have forwarded by the base class. Closes a leak in identity.
2992         Fixes bug #446763.
2993
2994 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2995
2996         * docs/libs/gstreamer-libs-sections.txt:
2997         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2998         * libs/gst/base/gstbasesink.h:
2999         Expose a method that was previously used internally to synchronize
3000         against the clock because it can be useful for subclasses too.
3001         API: GstBaseSink::gst_base_sink_wait_clock()
3002
3003 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3004
3005         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3006           Add sanity check to make sure we don't get smaller buffers
3007           than requested (and fallback to normal buffer alloc if we do).
3008
3009 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3010
3011         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
3012         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
3013         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
3014         Refactor adjusting the running_time with latency and offset into a
3015         separate method.
3016         When doing clipping, we still want to use the subclass get_times method,
3017         just in case the DURATION or TIMESTAMP are not set.
3018
3019 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3020
3021         * docs/gst/gstreamer-sections.txt:
3022         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
3023         * gst/gsttypefind.h:
3024         * win32/common/libgstreamer.def:
3025           API: add gst_type_find_suggest_simple(), #533740.
3026
3027 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3028
3029         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
3030           Use right error code when typefinding fails, so we can use
3031           the default (translated) error messages.
3032
3033 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3034
3035         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3036         (gst_base_src_start):
3037         When the subclass did not set caps on outgoing buffers, configure the
3038         caps we negotiated on the source pad.
3039         When the typefind helper does not find caps, error out properly instead
3040         of doing things with NULL caps.
3041
3042 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3043
3044         * gst/gsttypefind.h:
3045           Tabs to spaces, oh yes!
3046
3047 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3048
3049         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
3050           Add David's and Benjamin's tests for array intersection to the
3051           unit test suite (#147931).
3052
3053 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3054
3055         * gst/gstevent.c:
3056           Document that gst_event_new_tag() and gst_event_new_navigation()
3057           take ownership of the taglist/structure passed to them. (#533635).
3058
3059 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
3060
3061         * docs/Makefile.am:
3062         Don't descend into the plugins dir if plugin docs building
3063         is disabled.
3064
3065         * docs/README:
3066         Add a note about the new type:GTypeName syntax for the plugin
3067         documentation .types file.
3068
3069 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3070
3071         * gst/gstmessage.c: (gst_message_new_error),
3072         (gst_message_new_warning), (gst_message_new_info):
3073         * gst/gstmessage.h:
3074         Mark the debug string parameters as const. Fixes bug #533490.
3075
3076 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
3077
3078         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3079         Sort buffer cache list by end offsets. This makes sure that we don't
3080         stop to search for a cached buffer that contains the requested data
3081         too early.
3082         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3083         more efficient. Fixes bug #459862.
3084
3085 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
3086
3087         * gst/gstinfo.c:
3088           Explain why we copy the list.
3089
3090         * gst/gstpipeline.c:
3091           Improve docs.
3092
3093         * gst/gstutils.c:
3094           Add one debug-log statement to help tracing probelms with linking pads.
3095
3096 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
3097
3098         * tests/check/gst/gstinfo.c:
3099         Add a test for removing the default log handler. Seems to fail under
3100         windows.
3101
3102 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3103
3104         * gst/gstpad.c: (gst_pad_peer_accept_caps):
3105         Release pad lock before calling out to avoid a possible deadlock.
3106
3107 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3108
3109         * gst/parse/grammar.y:
3110         Remove unneeded value unset.
3111
3112         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3113         Add unit test for de/serialization of caps.
3114
3115 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3116
3117         * plugins/elements/gstfakesink.c:
3118         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3119         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3120         (gst_fake_src_class_init):
3121         Use custom marshalers that take GstMiniObject as first parameter.
3122         Using OBJECT as parameter while a GstMiniObject is given will lead
3123         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3124
3125 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3126
3127         * plugins/elements/gsttypefindelement.c:
3128         (gst_type_find_element_handle_event),
3129         (gst_type_find_element_send_cached_events),
3130         (gst_type_find_element_change_state):
3131         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3132         immediately.
3133
3134 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3135
3136         * plugins/elements/gsttypefindelement.c:
3137         (gst_type_find_handle_src_query), (stop_typefinding),
3138         (gst_type_find_element_handle_event),
3139         (gst_type_find_element_send_cached_events),
3140         (gst_type_find_element_change_state):
3141         Forward FLUSH_START events immediately and clean up instead of
3142         caching them.
3143
3144 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3145
3146         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3147
3148         * libs/gst/base/gstbasetransform.c:
3149         (gst_base_transform_buffer_alloc):
3150         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3151         fall back to default negotiation in the chain function if the caps
3152         are different from what was requested. Fixes bug #526768.
3153
3154 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3155
3156         * gst/gstsegment.c:
3157         * tests/check/gst/gstsegment.c:
3158           No, let's not use g_slice_{dup|copy} here, since they only exist
3159           since GLib 2.14 and we still depend only on >= 2.12. Also add
3160           unit test for gst_segment_copy().
3161
3162 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3163
3164         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3165           Try to fix 'dereferencing type-punned pointer will break strict
3166           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3167           changed the default GType typedef from gulong to gsize at some point,
3168           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3169           g_once_* functions all take a gsize * though, so work around the type
3170           mismatch for C++ by doing everything in gsize and casting to GType
3171           later.
3172
3173 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
3174
3175         * plugins/elements/gstmultiqueue.c:
3176         Add documentation for the signals to push our core plugin docs
3177         coverage back up to 100%.
3178
3179 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3180
3181         * gst/gstinfo.h (GST_FUNCTION):
3182           Reverted GST_FUNCTION to the old version as we don't want the
3183           full signature in C++ code. Also added support for MSVC.
3184
3185 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3186
3187         * gst/gstutils.h:
3188         Intern the type name string, similar to what G_DEFINE_TYPE does.
3189
3190 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3191
3192         * gst/gstutils.h:
3193         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3194
3195 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3196
3197         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3198
3199         * libs/gst/base/gstbasetransform.c:
3200         (gst_base_transform_buffer_alloc):
3201         Don't passthrough buffer allocation too easily if the caps change.
3202         This breaks when working in passthrough mode and upstream changes
3203         it's caps. Fixes bug #526768.
3204
3205 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3206
3207         * gst/gstinfo.c (gst_debug_log_valist):
3208           Improved the __FILE__ part of debug output for MSVC.
3209
3210 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3211
3212         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3213           Declaration after statement fix for compilers like MSVC.
3214
3215 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3216
3217         * win32/common/config.h.in:
3218           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3219           use the real thing than having "???" unconditionally.
3220
3221 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3222
3223         * gst/gstinfo.h (GST_FUNCTION):
3224           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3225
3226 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3227
3228         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3229         Small code cleanup.
3230
3231         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3232         (gst_base_sink_set_flushing):
3233         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3234         Fix some comments.
3235
3236 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3237
3238         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3239         (gst_fake_src_init), (gst_fake_src_set_property),
3240         (gst_fake_src_get_property), (gst_fake_src_start):
3241         * plugins/elements/gstfakesrc.h:
3242         Added format property to control the format of the newsegment events.
3243         API: GstFakeSrc:format
3244
3245 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3246
3247         * win32/common/libgstreamer.def:
3248         Add gst_pad_has_name() to the exported symbols.
3249
3250 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3251
3252         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3253         * libs/gst/base/gstbasetransform.c:
3254         (gst_base_transform_prepare_output_buffer):
3255         Don't allow negative sizes when allocating new buffers.
3256         Fixes bug #461253.
3257
3258 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3259
3260         Patch by: Sjoerd Simons <sjoerd at luon net>
3261
3262         * gst/gstbus.c: (gst_bus_source_dispatch):
3263           Don't print a warning if the queue is empty when we try to pop
3264           here. That could happen if another thread or callback set the
3265           bus to flushing between the source's check/prepare and the
3266           dispatch being called (#531538).
3267
3268 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3269
3270         * plugins/elements/gstmultiqueue.c:
3271           Small docs fix.
3272         
3273 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
3274
3275         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3276         Add unit test for deserializing uint64s and check some really large
3277         numbers in the int64 test.
3278
3279 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3280
3281         * tools/gst-inspect.c: (n_print), (print_hierarchy),
3282         (print_interfaces), (print_element_properties_info),
3283         (print_signal_info):
3284         Use "%s" as format string instead of printing strings directly.
3285
3286 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3287
3288         * gst/gstclock.c: (gst_clock_set_calibration):
3289         Make some checks actually useful.
3290
3291         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3292         Remove some unused code. Unsigned integers tend to be >= 0.
3293
3294 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3295
3296         * gst/gstminiobject.c: (gst_value_get_mini_object):
3297           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3298           function was not in the unscheduled 0.10.19 release.
3299
3300 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3301
3302         * gst/gstregistry.c: (gst_registry_scan_path_level):
3303           Only print one log message per non-plugin file.
3304
3305 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3306
3307         * gst/gstinfo.c: (gst_debug_log_default):
3308           Fix alignment of debug log columns on 64-bit.
3309
3310 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3311
3312         * docs/libs/Makefile.am:
3313         * docs/libs/gstreamer-libs-sections.txt:
3314           Ignore private controller headers for docs.
3315
3316 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3317
3318         * libs/gst/controller/gstcontrollerprivate.h:
3319         * libs/gst/controller/gsthelper.c:
3320         * libs/gst/controller/gstinterpolation.c:
3321         * libs/gst/controller/gstinterpolationcontrolsource.c:
3322         (gst_interpolation_control_source_set_interpolation_mode):
3323         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3324         * libs/gst/controller/lib.c:
3325         Move some private declarations into private headers.
3326
3327 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3328
3329         * gst/gstdebugutils.c: (debug_dump_element_pad):
3330         Remove some code that is unused after Stefan's refactoring and uses
3331         uninitialized variables now, resulting in a compiler warning.
3332
3333 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3334
3335         * gst/gstregistry.c: (gst_registry_scan_path_level):
3336           Run g_str_has_suffix() only on the file name, not the
3337           entire file path.
3338
3339 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3340
3341         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3342           Since we're not called only from the chain function any longer,
3343           we can't assume that there's always data in the queue, so move
3344           the is_full check to the beginning of the loop (otherwise we'd
3345           hit the assert when changing the limit properties while the
3346           queue is empty or not running yet).
3347           Also, only set a discont if items were actually removed from
3348           the queue.
3349
3350         * tests/check/elements/queue.c: (test_leaky_downstream):
3351           Test case for the above.
3352
3353 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3354
3355         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3356
3357         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3358         (gst_queue_chain), (queue_capacity_change),
3359         (gst_queue_set_property):
3360         When changing thr max capacity of a leaky queue, immediatly drop buffers
3361         instead of waiting for a push on the sinkpad. Fixes #530637.
3362
3363 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3364
3365         * gst/gstdebugutils.c:
3366           Refactor code and fix handling of ghostpads and their proxypads.
3367
3368 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3369
3370         * docs/gst/gstreamer-sections.txt:
3371         * gst/gstevent.c: (gst_event_has_name):
3372         * gst/gstevent.h:
3373         * tests/check/gst/gstevent.c: (GST_START_TEST):
3374         Add method to conveniently check the name of a custom event with
3375         gst_event_has_name().
3376         Reformat the event docs so that related methods are put together instead
3377         of the default alphabetical sort.
3378         Update unit test with new method.
3379         API: GstEvent::gst_event_has_name()
3380
3381 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3382
3383         * libs/gst/check/Makefile.am:
3384           Don't add an explicit link to libgstreamer-0.10.la; it's already
3385           included in GST_OBJ_LIBS.
3386
3387 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3388
3389         * gst/gst.c:
3390         Register GstClock type from a type-safe context. Fixes bug #530317.
3391
3392 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3393
3394         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3395         * tools/gst-run.c:
3396           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3397
3398 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3399
3400         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3401         (gst_bin_dispose):
3402         Use the GLib stuff to create a private structure.
3403         Add some locking around some dispose methods to make them a little
3404         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3405
3406 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3407
3408         * libs/gst/base/gstbasesink.h:
3409         * libs/gst/base/gstbasesrc.h:
3410         * libs/gst/base/gstbasetransform.h:
3411         * libs/gst/base/gstcollectpads.h:
3412           Fix doc typos and unify caps a bit.
3413
3414 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3415
3416         * tools/gst-launch.1.in:
3417           Forgot to also add the envvar docs here.
3418
3419 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3420
3421         * gst/gst.c: (init_post), (gst_deinit):
3422         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3423           (test_concurrent_create), (gst_pipeline_suite):
3424           Ref some more classes in gst_init() to work around thread-safety
3425           issues in pre-2.16 GLibs, and add basic unit test.
3426
3427 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3428
3429         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3430         (gst_base_sink_send_event):
3431         Rearrange the latency query code. We always want to do the upstream
3432         query, even if we are not live so that the upstream elements can get the
3433         latency results too. If we fail doing the query and we are live, we
3434         return TRUE afterwards.
3435
3436 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3437
3438         patch by: Jason Zhao <e3423c@motorola.com>
3439
3440         * docs/gst/running.xml:
3441         * gst/gst.c:
3442           Enable/disable scan_and_update_registry() based on commandline switch
3443           or environment variable. Fixes #520468.
3444           
3445         * ChangeLog:
3446           Fix typo in my previous commit.
3447
3448 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3449
3450         * gst/gstregistrybinary.c:
3451           Add a warning if we hit unhandled factories when saving.
3452           More debug logging detail, but move to LOG category.
3453
3454 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3455
3456         * gst/gstregistry.c:
3457           Tell the *truth* when improving the documentation.
3458
3459 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3460
3461         * gst/gstelementfactory.c: (gst_element_factory_make):
3462         Unref the factory after it was used the last time, not before.
3463
3464         * gst/gstindexfactory.c: (gst_index_factory_make):
3465         Improve debugging a bit and don't leak a ref to the index factory with
3466         each call.
3467
3468 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3469
3470         * gst/gstregistry.c:
3471           Improve the documentation.
3472
3473 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3474
3475         * gst/gstsegment.c:
3476           The glib macro seems to be borked. Use g_slice_copy directly and cast
3477           in the hope that this fixes the warning on 64bit.
3478
3479 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3480
3481         * gst/gstsegment.c:
3482           Document the new function. Use g_slice_dup() (no need for
3483           gst_segment_init()).    
3484
3485 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3486
3487         * docs/gst/gstreamer-sections.txt:
3488           Move GParamSepc macros to standart section.
3489   
3490         * gst/gstbin.c:
3491           Dn't document _get_type - its in private section in docs anyway and
3492           this doc-blob was incomplete.
3493
3494         * gst/gstclock.h:
3495           Fix wrong symbol names in docs.
3496
3497         * gst/gstmacros.h:
3498           Add once doc sentence.
3499
3500         * tests/check/gst/.cvsignore:
3501           Ignore more.
3502
3503 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3504
3505         * docs/gst/Makefile.am:
3506           And remove those libs here.
3507
3508 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3509
3510         * docs/libs/Makefile.am:
3511           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3512
3513 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3514
3515         Patch by: Olivier Crete <tester at tester dot ca>
3516
3517         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3518         Add the min-threshold to the min latency if possible. Fixes #529148.
3519
3520 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3521
3522         * docs/gst/gstreamer.types.in:
3523           Stupid editor, I removed that line as it should go in yet.
3524
3525 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3526
3527         * docs/gst/gstreamer.types.in:
3528         * docs/libs/gstreamer-libs.types:
3529           Remove library types fro core docs and have them in libs docs.
3530           Reformat and cleanup. Add comment for miniobject types.
3531
3532 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3533
3534         * gst/gsturi.c: (gst_uri_get_protocol):
3535           Fix leak: g_strdown operates on the string in place, while
3536           g_ascii_strdown() returns a newly-allocated string.
3537
3538 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3539
3540         * tools/gst-inspect.c: (print_uri_handler_info),
3541         (print_element_info):
3542         Print the URI protocols and the URI type supported by the element.
3543
3544 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3545
3546         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3547         Use g_value_take_string() instead of the deprecated
3548         g_value_set_string_take_ownership().
3549
3550 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3551
3552         * gst/gstregistrybinary.c: (_gst_crc32):
3553         Return the old CRC instead of 0 if we give a NULL buffer
3554         or a buffer with a length of 0.
3555
3556 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3557
3558         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3559         (gst_uri_get_protocol), (gst_uri_has_protocol),
3560         (gst_uri_construct), (gst_uri_handler_set_uri):
3561         A valid URI scheme can also include '+', '-' and '.' additional
3562         to alphanumeric characters as per RFC 3986 Section 3.1.
3563
3564         Handle URI schemes case insensitive in all places and convert
3565         to lower-case when constructing an URI or setting an URI with
3566         the GstURIHandler interface. Fixes bug #528868.
3567         All elements can still assume (as before) that they will
3568         get passed URIs with a lower-case URI scheme by the GstURIHandler
3569         interface.
3570
3571 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3572
3573         * gst/gstcaps.c: (gst_static_caps_get):
3574         * gst/gstclock.c: (gst_clock_entry_new):
3575           Don't use g_atomic_set_int where it's not needed.
3576
3577 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3578
3579         * gst/gstvalue.c: (gst_value_deserialize_caps):
3580         * gst/parse/grammar.y:
3581         Fix 2 caps leaks.
3582
3583 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3584
3585         * gst/gstutils.c: (gst_atomic_int_set):
3586         Use g_atomic_int_set() here too instead of assignment +
3587         g_atomic_int_get().
3588
3589 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3590         
3591         * gst/gstutils.c:
3592         * gst/gstutils.h:
3593         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3594         now that we depend on new enough GLib.
3595
3596         * gst/gstcaps.c: (gst_static_caps_get):
3597         * gst/gstclock.c: (gst_clock_entry_new):
3598         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3599         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3600         (gst_debug_category_set_threshold):
3601         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3602         (gst_base_sink_set_qos_enabled):
3603         * libs/gst/net/gstnettimeprovider.c:
3604         (gst_net_time_provider_set_property):
3605         Use g_atomic_int_set() instead of gst_atomic_int_set().
3606
3607 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3608
3609         * gst/gstquery.c:
3610           Also use G_GINT64_CONSTANT for the queries.
3611
3612 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3613
3614         * gst/gstmessage.c:
3615           Use G_GINT64_CONSTANT in varargs function.
3616
3617 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3618
3619         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3620         Initialize the registry magic with zeroes.
3621
3622 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3623
3624         * gst/gstregistrybinary.c: (_gst_crc32),
3625         (gst_registry_binary_write),
3626         (gst_registry_binary_initialize_magic),
3627         (gst_registry_binary_write_cache),
3628         (gst_registry_binary_check_magic),
3629         (gst_registry_binary_read_cache):
3630         * gst/gstregistrybinary.h:
3631         Add crc32 checksum to the binary registry file and check this before
3632         accepting a registry file.
3633
3634         Also free the data list when writing to the registry file fails.
3635
3636 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3637
3638         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3639         (gst_registry_binary_load_feature),
3640         (gst_registry_binary_load_plugin):
3641         If an element supports the Uri interface, returns a valid pointer
3642         to the supported URI protocols but this pointer contains nothing
3643         don't try to save that as it will corrupt the registry.
3644
3645         Don't unref the plugin if we added it to the registry already but
3646         fail to load a feature as gst_registry_add_plugin() takes ownership
3647         of the plugin.
3648
3649         Improve debugging a bit.
3650
3651 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3652
3653         * gst/gsttaglist.h:
3654           Clarify some tag item docs after discussion on irc.
3655
3656 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3657
3658         * docs/gst/gstreamer-docs.sgml:
3659           Remove commented out plugins (they have their own docs). Update
3660           comments.
3661
3662 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3663
3664         * docs/gst/gstreamer-docs.sgml:
3665         * docs/gst/gstreamer-sections.txt:
3666         * gst/gstparamspecs.c:
3667         * gst/gstparamspecs.h:
3668           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3669           docs to own section.
3670
3671         * gst/gstvalue.c:
3672           This now only documents GValue.
3673           
3674         * docs/libs/gstreamer-libs-sections.txt:
3675         * libs/gst/controller/gstcontroller.h:
3676           Remove GST_PARAM_CONTROLLABLE.
3677
3678 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3679
3680         * docs/README:
3681           Correct file path. Tell about how to use -overrides.txt.
3682         * docs/design/draft-tagreading.txt:
3683           Small design update.
3684
3685 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3686
3687         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3688         (gst_registry_binary_load_plugin):
3689         Fix a typo in a debug message and revert change from yesterday as
3690         gst_registry_add_plugin() will only fail if something is really wrong
3691         already and we can't survive it anyway.
3692
3693 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3694
3695         * gst/gst.c: (init_post), (gst_deinit):
3696           Pre-register GstGError GType from a thread-safe context
3697           (fixes #527967); unref enum type classes in deinit.
3698
3699 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3700
3701         Patch by: Rene Stadler <mail at renestadler de>
3702
3703         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3704           Merging an empty list with another list in KEEP_ALL mode should
3705           yield an empty list as result and not the second list (#512578).
3706
3707         * tests/check/gst/gsttagsetter.c:
3708           Add unit test for tag merge modes and the aforementioned bug.
3709
3710 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3711
3712         Patch by: Rene Stadler <mail at renestadler de>
3713
3714         * gst/gsttaglist.h:
3715           Fix description to match the order in the table (#512577).
3716   
3717 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3718
3719         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3720
3721         * libs/gst/net/gstnettimepacket.h:
3722         * docs/libs/gstreamer-libs-sections.txt:
3723           Define socklen_t as int if it's not defined yet. Fixes compilation
3724           with MSVC6 and other versions where socklen_t is not defined in
3725           the windows headers (#518022).
3726
3727 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3728
3729         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3730         If gst_registry_add_plugin() fails our reference to the plugin is
3731         invalid so don't try to use it anymore and instead error out.
3732
3733 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3734
3735         * tools/gst-xmlinspect.c: (print_element_info), (main):
3736           De-cruft a bit. If no argument is specified, print all elements in
3737           XML syntax rather than a freestyle list of elements like gst-inspect.
3738           Also, don't print XML header chunk unless we actually have something
3739           to print (ie. don't print it before an error message); print error
3740           message to stderr not stdout. Remove support for printing plugin
3741           info (it would just output something freestyle along the lines of
3742           gst-inspect so far), which fixes #514507. Also add license header.
3743
3744 2008-04-11  Julien Moutte  <julien@fluendo.com>
3745
3746         Mac OS X love...
3747         * configure.ac: Merge platform specific defines, introduce a new
3748         define on OS X to remember that forking when updating registry is
3749         unsafe.
3750         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3751         module.
3752         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3753         is defined.
3754         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3755         condition that leads to absolutely no plugins being registered on
3756         OS X.
3757
3758 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3759
3760         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3761
3762         * gst/gstutils.c: (gst_pad_add_data_probe),
3763           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3764           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3765           (gst_pad_add_buffer_probe_full):
3766         * gst/gstutils.h:
3767         * docs/gst/gstreamer-sections.txt:
3768         * win32/common/libgstreamer.def:
3769           Add gst_pad_add_*_probe_full() functions with a notify callback that
3770           lets the caller free the data it passes to the probe functions. This
3771           is useful for bindings such as gst-python or gstreamermm (#526814).
3772           API: gst_pad_add_data_probe_full
3773           API: gst_pad_add_buffer_probe_full
3774           API: gst_pad_add_event_probe_full
3775
3776         * tests/check/gst/gstutils.c:
3777           Add minimal unit test to make sure freeing the data actually works
3778           as expected.
3779
3780         * tests/benchmarks/.cvsignore:
3781           Random cvsignore addendum.
3782
3783 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3784
3785         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3786           (GST_DEBUG_BIN_TO_DOT_FILE):
3787           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3788           to it in the docs (since these are macros the types of the arguments
3789           won't be shown in the docs otherwise).
3790
3791 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3792
3793         * gst/gstpad.c:
3794           Do not abort on out of memory for pad_alloc_buffer.
3795
3796 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3797
3798         * libs/gst/check/gstcheck.c:
3799           Remove blank line between symbol name ad parameters to fix gtkdoc
3800           warning.
3801
3802 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3803
3804         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3805
3806         * docs/gst/gstreamer-sections.txt:
3807         * gst/gstsegment.c:
3808         * gst/gstsegment.h:
3809         * win32/common/libgstreamer.def:
3810           Expose gst_segment_copy() to make things easier for the c++ bindings.
3811           Fixes #518932.
3812           API: gst_segment_copy()
3813
3814 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3815
3816         * gst/gst.c: (gst_init_get_option_group), (init_post):
3817           Fix const position; ref GType classes for enum types to work
3818           around thread-safety issues in GLib versions < 2.16.
3819
3820 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3821
3822         * docs/design/part-buffering.txt:
3823         Fix some typos and set the estimated total for push mode to -1.
3824
3825         * gst/gstquery.c: (gst_query_new_buffering):
3826         Set buffering-left to 0 as we're not buffering by default.
3827
3828         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3829         Implement BUFFERING query.
3830
3831 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3832
3833         Based on patch by: Milosz Derezynski <internalerror gmail com>
3834
3835         * gst/gsterror.c: (_gst_stream_errors_init):
3836         * gst/gsterror.h:
3837           Add two new error codes for encrypted content. Fixes #524659.
3838           API: GST_STREAM_ERROR_DECRYPT
3839           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3840
3841 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3842
3843         * gst/gstquery.h:
3844           Fix typo.
3845
3846         * win32/common/libgstreamer.def:
3847           Add new functions.
3848
3849 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3850
3851         * plugins/elements/gstidentity.c: (gst_identity_event),
3852         (gst_identity_start):
3853         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3854         event after processing some data. Fixes bug #526042.
3855
3856 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3857
3858         * docs/gst/gstreamer-sections.txt:
3859         * gst/gstquery.c: (gst_query_parse_latency),
3860         (gst_query_set_buffering_percent),
3861         (gst_query_parse_buffering_percent),
3862         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3863         * gst/gstquery.h:
3864         Rename _avail -> _range
3865         API: gst_query_set_buffering_range
3866         API: gst_query_parse_buffering_range
3867
3868 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3869
3870         * docs/design/part-buffering.txt:
3871         * gst/gstquark.c:
3872         * gst/gstquark.h:
3873         * gst/gstquery.c: (gst_query_parse_latency),
3874         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3875         (gst_query_parse_buffering_percent):
3876         * gst/gstquery.h:
3877         Add busy field and quark for the buffering query so that the app can
3878         only use the query to see if buffering is in progress.
3879
3880 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3881
3882         * docs/gst/gstreamer-sections.txt:
3883         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3884         (gst_message_parse_buffering_stats):
3885         * gst/gstmessage.h:
3886         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3887         (gst_query_parse_latency), (gst_query_new_buffering),
3888         (gst_query_set_buffering_percent),
3889         (gst_query_parse_buffering_percent),
3890         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3891         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3892         * gst/gstquery.h:
3893         Reorder the message docs and headers for clarity.
3894         Add aditional buffering stats API for messages.
3895         Add buffering query.
3896         Convert some leftover queries to use GstQuark.
3897         API: gst_message_set_buffering_stats
3898         API: gst_message_parse_buffering_stats
3899         API: GST_QUERY_BUFFERING
3900         API: GstBufferingMode
3901         API: gst_query_new_buffering
3902         API: gst_query_set_buffering_percent
3903         API: gst_query_parse_buffering_percent
3904         API: gst_query_set_buffering_stats
3905         API: gst_query_parse_buffering_stats
3906
3907 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3908
3909         * gst/gstmessage.c: (gst_message_new_error),
3910         (gst_message_new_warning), (gst_message_new_info),
3911         (gst_message_new_buffering), (gst_message_new_state_changed),
3912         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3913         (gst_message_new_new_clock), (gst_message_new_segment_start),
3914         (gst_message_new_segment_done), (gst_message_new_duration),
3915         (gst_message_new_async_start), (gst_message_parse_buffering),
3916         (gst_message_parse_state_changed),
3917         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3918         (gst_message_parse_new_clock), (gst_message_parse_error),
3919         (gst_message_parse_warning), (gst_message_parse_info),
3920         (gst_message_parse_segment_start),
3921         (gst_message_parse_segment_done), (gst_message_parse_duration),
3922         (gst_message_parse_async_start):
3923         Use GstQuark for messages.
3924
3925 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3926
3927         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3928         * gst/gstquark.h:
3929         Add some more quarks needed for messages and queries.
3930
3931 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3932
3933         * docs/design/part-buffering.txt:
3934         Remove the "none" buffering mode, STREAM is a good default.
3935         Move estimated-time to the avail query, that's when it will be needed.
3936         Other small typo fixes and updates.
3937
3938 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3939
3940         * gst/gstindex.c: (gst_index_resolver_get_type):
3941           Don't put descriptions into the nick field of a GEnumValue: it's not
3942           meant for that and some language bindings rely on the nick field to
3943           construct constants and the like. Fixes #526705.
3944
3945 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3946
3947         * NEWS:
3948         * RELEASE:
3949         * gstreamer.doap:
3950           Merge other changes from 0.10.19 release branch.
3951
3952 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3953
3954         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3955
3956         * configure.ac:
3957         Actually build dlls when cross-compiling with mingw32.
3958         Fixes bug #526247.
3959
3960 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3961
3962         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3963
3964         * gst/gstpoll.c:
3965         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3966
3967 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3968
3969         * docs/design/draft-latency.txt:
3970         Fix typo.
3971
3972         * docs/design/part-buffering.txt:
3973         Update design docs with more buffering ideas.
3974
3975 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3976
3977         * configure.ac:
3978           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3979
3980 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3981
3982         * configure.ac:
3983           Revert part that belongs to the preset patch.
3984
3985 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3986
3987         * configure.ac:
3988           Add qoutes to the define. Fixes # 525961.
3989
3990 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3991
3992         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3993         (gst_file_index_load), (gst_file_index_add_id),
3994         (gst_file_index_get_assoc_entry):
3995         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3996         (gst_mem_index_free_id), (gst_mem_index_add_id),
3997         (gst_mem_index_index_format):
3998         Use GSlice when possible.
3999
4000 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
4001
4002         * libs/gst/controller/gstinterpolationcontrolsource.c:
4003         (gst_control_point_free),
4004         (gst_interpolation_control_source_set_internal):
4005         Use GSlice for allocating the control points.
4006
4007 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
4008
4009         * plugins/elements/gsttypefindelement.c:
4010         (gst_type_find_element_class_init),
4011         (gst_type_find_element_set_property),
4012         (gst_type_find_element_get_property),
4013         (gst_type_find_element_activate):
4014         * plugins/elements/gsttypefindelement.h:
4015         Cleanup properties.
4016         Fix pad leak when peer query fails.
4017         We can still typefind when the peer returns -1.
4018         Add property to force caps and bypass typefinding. This will be used in
4019         uridecodebin.
4020         API::force-caps
4021
4022 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
4023
4024         * configure.ac:
4025         Require GLib 2.12.
4026
4027         * gst/glib-compat-private.h:
4028         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
4029         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4030         Unconditionally use GSlice for allocation.
4031
4032         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
4033         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
4034         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
4035         (gst_structure_free):
4036         Use GSlice for allocation.
4037
4038 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
4039
4040         * gst/parse/Makefile.am:
4041         * gst/parse/grammar.tab.pre.c:
4042         * gst/parse/grammar.tab.pre.h:
4043         * gst/parse/lex._gst_parse_yy.pre.c:
4044         Require a new enough flex and bison and remove the parser hacks to use
4045         a pre-regenerated version.
4046
4047 2008-04-01  Julien Moutte  <julien@fluendo.com>
4048
4049         patch by: Jason Zhao <E3423C@motorola.com>
4050
4051         * configure.ac: Add a configure switch to disable option parsing
4052         in gst_init.
4053         Fixes #522882.
4054
4055 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4056
4057         * configure.ac:
4058         * gst/gstregistry.c:
4059           MacOS has plugins under .so or under .dylib. Add detection for MacOS
4060           and handle this case.
4061
4062         * gst/gst.c:
4063           Add a comment here describing, why we stat each plugin and not try to
4064           be smart.
4065
4066 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
4067
4068         * libs/gst/base/gstbasetransform.c:
4069         (gst_base_transform_prepare_output_buffer):
4070         Also unset the GAP flag on buffers if we're working inplace but
4071         the element is not GAP-aware.
4072
4073         Mark a comment as FIXME 0.11.
4074
4075 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4076
4077         * gst/gst.c:
4078           Fix type in log message and add one to ease seeing how long registry
4079           cache verification takes.
4080
4081         * gst/gstregistry.c:
4082           Only test plugin filenames against G_MODULE_SUFFIX.
4083
4084 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4085
4086         * gst/gstdebugutils.c:
4087           Improve handling ghost/proxy pads.
4088
4089 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
4090
4091         * docs/gst/gstreamer-sections.txt:
4092         * gst/gstpad.c:
4093         * gst/gstpad.h:
4094           Expose macro to docs and fix link to it.
4095
4096 2008-03-27  Michael Smith <msmith@fluendo.com>
4097
4098         * libs/gst/dataprotocol/dataprotocol.c:
4099         (gst_dp_packet_from_event_1_0):
4100           When calculating GDP body CRC, use the correct pointer. 
4101           Fixes part of #522401.
4102
4103 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4104
4105         Patch by: Mark Nauwelaerts <manauw at skynet be>
4106
4107         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4108         (gst_identity_init), (gst_identity_prepare_output_buffer):
4109         Identity is not always a passthrough element, it can modify the buffer
4110         timestamps when it has a datarate and operates in single-segment mode.
4111         We therefore make it an in_place filter with a custom buffer prepare
4112         function that conditionally makes the input buffer metadata writable
4113         when needed.  Fixes #523985.
4114
4115 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4116
4117         Patch by: Mark Nauwelaerts <manauw at skynet be>
4118
4119         * gst/gstclock.h:
4120         * libs/gst/base/gstbasesrc.h:
4121         * libs/gst/base/gstbasetransform.c:
4122         * libs/gst/check/gstcheck.c:
4123         Small documentation fixes. Fixes #523978.
4124
4125 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4126
4127         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4128         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4129         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4130
4131 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4132
4133         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4134         (single_queue_underrun_cb):
4135         When trying to make room in the queue, bump the max allowed buffers
4136         bigger than the current amount of buffers in the queue. this fixes some
4137         nasty deadlocks in multiqueue when dynamically changing the limits of
4138         the queue.
4139
4140 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4141
4142         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
4143
4144         * gst/gstcaps.c: (gst_caps_set_simple),
4145         (gst_caps_set_simple_valist), (gst_caps_intersect):
4146         * gst/gstcaps.h:
4147         Constify the field gchar * params in set_simple and friends.
4148         Fixes #522326.
4149
4150 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4151
4152         * gst/gstvalue.c: (gst_value_transform_object_string):
4153         Transform a GstObject to a more meaningfull string that includes the
4154         object type in addition to its name.
4155
4156 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
4157
4158         * ChangeLog:
4159           ChangeLog surgery to add bugnumber to commit.
4160
4161 2008-03-23  Rene Stadler  <mail@renestadler.de>
4162
4163         * libs/gst/base/gstbasetransform.c:
4164         (gst_base_transform_set_gap_aware): Fix confusing documentation.
4165
4166 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4167
4168         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4169         Rename constant everywhere and don't forget one occurence.
4170
4171 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4172
4173         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4174         Align memory to the pointer size even if the architecture allows
4175         unaligned memory access. Unaligned memory access usually comes with
4176         performance penality.
4177
4178 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4179
4180         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4181         (gst_registry_binary_check_magic),
4182         (gst_registry_binary_load_pad_template),
4183         (gst_registry_binary_load_feature),
4184         (gst_registry_binary_load_plugin):
4185         Align memory to the pointer size instead of always 32 bit. Fixes
4186         unaligned memory accesses on ia64 and friends.
4187
4188         * gst/gstregistrybinary.h:
4189         Bump binary registry format version for this as it changes the
4190         format on those architectures that don't have unaligned access
4191         and 64 bit pointers.
4192
4193 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4194
4195         * docs/pwg/advanced-dparams.xml:
4196         * docs/pwg/building-props.xml:
4197         * docs/pwg/other-source.xml:
4198         * gst/glib-compat.h:
4199         * gst/gstbin.c: (gst_bin_class_init):
4200         * gst/gstclock.c: (gst_clock_class_init):
4201         * gst/gstindex.c: (gst_index_class_init):
4202         * gst/gstobject.c: (gst_object_class_init):
4203         * gst/gstpad.c: (gst_pad_class_init):
4204         * gst/gstpipeline.c: (gst_pipeline_class_init):
4205         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4206         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4207         * libs/gst/base/gstbasetransform.c:
4208         (gst_base_transform_class_init):
4209         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4210         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4211         (_gst_check_fault_handler_sighandler),
4212         (_gst_check_fault_handler_setup), (gst_check_init):
4213         * libs/gst/controller/gstcontroller.c:
4214         (_gst_controller_class_init):
4215         * libs/gst/controller/gstlfocontrolsource.c:
4216         (gst_lfo_control_source_class_init):
4217         * libs/gst/net/gstnetclientclock.c:
4218         (gst_net_client_clock_class_init):
4219         * libs/gst/net/gstnettimeprovider.c:
4220         (gst_net_time_provider_class_init):
4221         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4222         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4223         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4224         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4225         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4226         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4227         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4228         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4229         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4230         * plugins/elements/gstqueue.c: (gst_queue_class_init):
4231         * plugins/elements/gsttee.c: (gst_tee_class_init):
4232         * plugins/elements/gsttypefindelement.c:
4233         (gst_type_find_element_class_init):
4234         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4235         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4236         use it everywhere for GParamSpecs that use static strings (i.e. all).
4237         This gives us less memory usage, fewer allocations and thus less
4238         memory defragmentation. Fixes bug #523806.
4239
4240 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4241
4242         * gst/gstminiobject.c: (gst_value_dup_mini_object),
4243         (gst_param_spec_mini_object):
4244         * gst/gstminiobject.h:
4245         * win32/common/libgstreamer.def:
4246         * docs/gst/gstreamer-sections.txt:
4247         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4248         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4249         GstParamSpecMiniObject into a public header for this.
4250
4251         This make GstMiniObject a bit more consistent with GObject and makes
4252         it possible to extend the param specs.
4253
4254         gst_value_dup_mini_object is mainly useful for set_property methods.
4255
4256         Fixes bug #523798.
4257
4258         * tools/gst-inspect.c: (print_element_properties_info):
4259         Print something useful for GstMiniObject properties and not just
4260         "unknown type".
4261
4262 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4263
4264         * docs/gst/gstreamer-sections.txt:
4265         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4266         (gst_registry_binary_check_magic):
4267         * gst/gstregistrybinary.h:
4268         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4269         and add it to the (private part) of the docs to fix the build.
4270
4271 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4272
4273         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4274         (gst_registry_binary_check_magic),
4275         (gst_registry_binary_read_cache):
4276         * gst/gstregistrybinary.h:
4277         Don't use GST_MAJORMINOR for the binary registry version. Instead
4278         hardcode a value that must be changed whenever the format changes
4279         in an incompatible way.
4280         Also don't GST_ERROR when there is a version mismatch, just
4281         regenerate the registry silently.
4282
4283 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
4284
4285         * configure.ac:
4286         Back to development - 0.10.18.1
4287
4288 === release 0.10.18 ===
4289
4290 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
4291
4292         * configure.ac:
4293           releasing 0.10.18, "So far away"
4294
4295 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
4296
4297         * configure.ac:
4298         * win32/common/config.h:
4299         0.10.17.4 pre-release
4300
4301 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
4302
4303         Patch by: Ole André Vadla Ravnås
4304             <ole dot andre dot ravnas at tandberg dot com>
4305
4306         * docs/gst/gstreamer-sections.txt:
4307         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4308         (gst_poll_update_winsock_event_mask),
4309         (gst_poll_prepare_winsock_active_sets),
4310         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4311         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4312         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4313         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4314         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4315         * gst/gstpoll.h:
4316         * win32/common/libgstreamer.def:
4317         Add new function gst_poll_fd_ignored() for improved Windows
4318         compatibility.
4319         Various minor fixes and cleanups. See #520808.
4320
4321 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4322
4323         * gst/gstindex.c: (gst_index_entry_free):
4324         * gst/gstindex.h:
4325           Don't free key strings which we don't own. Fixes crash in
4326           gst_index_entry_free() (#522741).
4327
4328         * tests/check/Makefile.am:
4329         * tests/check/gst/.cvsignore:
4330         * tests/check/gst/gstindex.c: (test_index_entries),
4331           (gst_index_suite), (gst_index):
4332           Add unit test for the above.
4333
4334 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4335
4336         * win32/common/libgstreamer.def:
4337         Remove symbols that were removed recently. Fixes bug #521740.
4338
4339 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4340
4341         * configure.ac:
4342         * win32/common/config.h:
4343         0.10.17.3 pre-release
4344
4345 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4346
4347         Patch by: Ole André Vadla Ravnås
4348             <ole dot andre dot ravnas at tandberg dot com>
4349
4350         * docs/gst/gstreamer-sections.txt:
4351         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4352         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4353         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4354         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4355         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4356         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4357         (gst_poll_fd_can_write), (gst_poll_wait),
4358         (gst_poll_set_controllable), (gst_poll_restart),
4359         (gst_poll_set_flushing):
4360         * gst/gstpoll.h:
4361         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4362         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4363         (gst_net_time_provider_new):
4364         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4365         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4366         * tests/benchmarks/gstpollstress.c: (main):
4367         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4368         Remove GstPollMode from the API, it does not make sense to let the
4369         application control this.
4370         Add support for Win32.
4371         Fix the testsuite. Fixes #520671.
4372
4373 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4374
4375         Patch by: Ole André Vadla Ravnås
4376             <ole dot andre dot ravnas at tandberg dot com>
4377
4378         * gst/gstregistrybinary.c:
4379         Include io.h for write() and close() when building with MSVC. Fixes
4380         bug #520877.
4381
4382 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4383
4384         * configure.ac:
4385         * gst/gst_private.h:
4386         * gst/gstconfig.h.in:
4387         * gst/gstregistry.h:
4388         * gst/gstregistrybinary.c:
4389         * win32/common/gstconfig.h:
4390           Move registry backend API to private headers where we can. Add
4391           fixme-0.11 comments for the others. Add stubs for the xml backend when
4392           using the binary to ensure they functions exists (they should not be
4393           used though). Fixes #520756.
4394
4395 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4396
4397         * configure.ac:
4398         * win32/common/config.h:
4399         0.10.17.2 prelease
4400
4401 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4402
4403         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4404         (gst_registry_binary_read_cache):
4405         * gst/gstregistryxml.c: (gst_registry_save):
4406         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4407         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4408         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4409         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4410         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4411         Fixes #520152
4412
4413 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4414
4415         * gst/gstminiobject.c:
4416         Import gst_private.h before any other header that might include other
4417         glib headers. This fixes the build on windows using native compilers.
4418
4419 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4420
4421         * win32/common/gstconfig.h:
4422           Add here too, just for completeness.
4423
4424 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4425
4426         * configure.ac:
4427         * gst/gstconfig.h.in:
4428         * gst/gstregistry.h:
4429           Fix broken use of config.h-defined preprocessor directive in a public
4430           header file. Add a corresponding define to gstconfig.h, since we can't
4431           really remove those function declarations from the header file now
4432           (or can we? and why are they there in the first place?).
4433
4434 2008-03-03  Andy Wingo  <wingo@pobox.com>
4435
4436         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4437         the new warning.
4438
4439         * gst/gststructure.c (gst_structure_from_string): Warn if
4440         structure_from_string didn't consume the whole string, but the
4441         caller did not provide an end pointer.
4442
4443 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4444
4445         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4446
4447         * gst/gstregistryxml.c: (read_string), (load_feature):
4448           Strings allocated by libxml2 should be freed with xmlFree(), not
4449           with g_free(). Fixes issues on windows in certain contexts (#519698).
4450
4451 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4452
4453         * gst/gstinterface.c: (gst_element_implements_interface):
4454           Don't crash if the element supports the interface queried, but does
4455           not implement GstImplementsInterface. Fixes #519584.
4456
4457         * tests/check/Makefile.am:
4458         * tests/check/gst/.cvsignore:
4459         * tests/check/gst/gstinterface.c:
4460           Add unit test for the above.
4461
4462 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4463
4464         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4465         Small doc update.
4466
4467 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4468
4469         * gst/gstsegment.c: (gst_segment_set_seek),
4470         (gst_segment_to_stream_time):
4471         Improve some comment.
4472         Update variables where it makes more sense.
4473
4474 2008-02-29  Rene Stadler  <mail@renestadler.de>
4475
4476         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4477         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4478         URIHandlers implemented using language bindings.
4479
4480 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4481
4482         * gst/gstelementfactory.h:
4483         * tests/check/elements/fakesink.c:
4484         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4485         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4486         * tests/check/elements/filesink.c: (setup_filesink):
4487         * tests/check/elements/filesrc.c: (setup_filesrc):
4488         * tests/check/elements/identity.c: (setup_identity):
4489         * tests/check/elements/tee.c:
4490         * tests/check/generic/sinks.c:
4491         * tests/check/generic/states.c: (setup), (teardown):
4492         * tests/check/gst/gst.c:
4493         * tests/check/gst/gstabi.c:
4494         * tests/check/gst/gstbin.c:
4495         * tests/check/gst/gstbus.c: (pull_messages):
4496         * tests/check/gst/gstcaps.c:
4497         * tests/check/gst/gstelement.c:
4498         * tests/check/gst/gstevent.c:
4499         * tests/check/gst/gstghostpad.c:
4500         * tests/check/gst/gstiterator.c:
4501         * tests/check/gst/gstmessage.c:
4502         * tests/check/gst/gstminiobject.c: (my_foo_init):
4503         * tests/check/gst/gstobject.c: (thread_name_object),
4504         (gst_object_suite):
4505         * tests/check/gst/gstpad.c:
4506         * tests/check/gst/gstplugin.c:
4507         * tests/check/gst/gstpoll.c:
4508         * tests/check/gst/gstquery.c:
4509         * tests/check/gst/gstsegment.c:
4510         * tests/check/gst/gststructure.c:
4511         * tests/check/gst/gstsystemclock.c:
4512         * tests/check/gst/gsttask.c:
4513         * tests/check/gst/gstutils.c:
4514         * tests/check/gst/gstvalue.c:
4515         * tests/check/gst/struct_hppa.h:
4516         * tests/check/gst/struct_i386.h:
4517         * tests/check/gst/struct_ppc32.h:
4518         * tests/check/gst/struct_ppc64.h:
4519         * tests/check/gst/struct_x86_64.h:
4520         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4521         * tests/check/libs/basesrc.c:
4522         * tests/check/libs/controller.c: (GST_START_TEST):
4523         * tests/check/libs/gdp.c:
4524         * tests/check/libs/gstnetclientclock.c:
4525         * tests/check/libs/gstnettimeprovider.c:
4526         * tests/check/libs/libsabi.c:
4527         * tests/check/libs/struct_hppa.h:
4528         * tests/check/libs/struct_i386.h:
4529         * tests/check/libs/struct_ppc32.h:
4530         * tests/check/libs/struct_ppc64.h:
4531         * tests/check/libs/struct_x86_64.h:
4532         * tests/check/pipelines/cleanup.c:
4533         * tests/check/pipelines/simple-launch-lines.c:
4534         * tests/check/pipelines/stress.c:
4535         And correct even more valid sparse warnings.
4536
4537         * win32/common/libgstreamer.def:
4538         Add gst_poll_fd_init to the list of symbols.
4539
4540 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4541
4542         * gst/gstconfig.h.in:
4543         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4544         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4545         (gst_check_log_critical_func), (gst_check_drop_buffers),
4546         (gst_check_element_push_buffer_list):
4547         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4548         (gst_controller_get_type):
4549         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4550         (gst_object_get_controller), (gst_object_get_control_source):
4551         * libs/gst/controller/gstinterpolationcontrolsource.c:
4552         (gst_interpolation_control_source_new):
4553         * libs/gst/controller/gstlfocontrolsource.c:
4554         (gst_lfo_control_source_new):
4555         * libs/gst/dataprotocol/dataprotocol.c:
4556         (gst_dp_event_from_packet_0_2):
4557         * plugins/elements/gstfdsrc.c:
4558         * plugins/elements/gstmultiqueue.c:
4559         * plugins/elements/gsttee.c:
4560         * plugins/elements/gsttypefindelement.c:
4561         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4562         (gst_file_index_add_association):
4563         * plugins/indexers/gstmemindex.c:
4564         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4565         * tests/check/elements/queue.c: (setup_queue):
4566         * tests/check/gst/gstpipeline.c:
4567         * tests/check/libs/collectpads.c: (setup), (teardown),
4568         (gst_collect_pads_suite):
4569         * tests/examples/adapter/adapter_test.c:
4570         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4571         * tests/examples/xml/createxml.c:
4572         * tests/examples/xml/runxml.c:
4573         * tools/gst-inspect.c:
4574         * tools/gst-run.c:
4575         Correct all relevant warnings found by the sparse semantic code
4576         analyzer. This include marking several symbols static, using
4577         NULL instead of 0 for pointers, not using variable sized arrays
4578         on the stack, moving variable declarations to the beginning of
4579         a block and using "foo (void)" instead of "foo ()" for declarations.
4580
4581 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4582
4583         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4584         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4585         Don't reset GstPollFDs, this is not necessary at all.
4586
4587         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4588         (delayed_restart), (delayed_control):
4589         Use GST_POLL_FD_INIT.
4590
4591 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4592
4593         * gst/gstpoll.c: (gst_poll_fd_init):
4594         * gst/gstpoll.h:
4595         Added Since tags.
4596
4597         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4598         Use some more init macros.
4599
4600 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4601
4602         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4603         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4604         Use init macros and functions.
4605
4606 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4607
4608         * docs/gst/gstreamer-sections.txt:
4609         * gst/gstpoll.c: (gst_poll_fd_init):
4610         * gst/gstpoll.h:
4611         Add INIT macro and _init method for initializing the GstPollFD.
4612
4613 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4614
4615         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4616         (gst_fd_sink_update_fd):
4617         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4618         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4619         (delayed_restart), (delayed_control):
4620         Initialize some uninitialized variables as spotted by valgrind.
4621
4622 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4623
4624         * tests/benchmarks/Makefile.am:
4625         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4626         (main):
4627         Add poll stress test.
4628
4629 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4630
4631         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4632
4633         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4634         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4635         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4636         * plugins/elements/gstfdsink.h:
4637         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4638         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4639         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4640         (gst_fd_src_uri_set_uri):
4641         * plugins/elements/gstfdsrc.h:
4642         Port to GstPoll. See #505417.
4643
4644 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4645
4646         * win32/common/libgstreamer.def:
4647         Add new gst_poll_ symbols to win32 defs.
4648
4649 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4650
4651         * docs/libs/gstreamer-libs-sections.txt:
4652         * libs/gst/net/gstnetclientclock.c:
4653         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4654         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4655         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4656         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4657         * libs/gst/net/gstnetclientclock.h:
4658         * libs/gst/net/gstnettimeprovider.c:
4659         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4660         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4661         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4662         (gst_net_time_provider_new):
4663         * libs/gst/net/gstnettimeprovider.h:
4664         Use a private stuct to not break ABI.
4665
4666 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4667
4668         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4669
4670         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4671         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4672         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4673         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4674         * libs/gst/net/gstnetclientclock.h:
4675         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4676         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4677         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4678         (gst_net_time_provider_new):
4679         * libs/gst/net/gstnettimeprovider.h:
4680         Massive code removal and cleanups because of GstPoll.
4681         Fixes #505417.
4682
4683 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4684
4685         * configure.ac:
4686         Add checks for poll, ppoll and pselect.
4687
4688         * docs/gst/gstreamer-docs.sgml:
4689         * docs/gst/gstreamer-sections.txt:
4690         Add docs for GstPoll.
4691
4692         * gst/Makefile.am:
4693         * gst/gst.h:
4694         * gst/gstpoll.c: (find_index), (selectable_fds),
4695         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4696         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4697         (gst_poll_set_mode), (gst_poll_get_mode),
4698         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4699         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4700         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4701         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4702         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4703         (gst_poll_fd_can_write), (gst_poll_wait),
4704         (gst_poll_set_controllable), (gst_poll_restart),
4705         (gst_poll_set_flushing):
4706         * gst/gstpoll.h:
4707         Add generic poll abstraction. We ideally don't want to have this in core
4708         here but in glib intead...
4709         This code will be used in various network elements and ultimately for
4710         the nanosecond precision monotonic clock (that's why it's here in core).
4711         It'll allow us to implement cancelable socket operations for windows too.
4712
4713         * tests/check/Makefile.am:
4714         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4715         (delayed_stop), (delayed_restart), (delayed_flush),
4716         (delayed_control), (gst_poll_suite):
4717         Add GstPoll unit test.
4718
4719 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4720
4721         * gst/gstfilter.c:
4722           Improve documentation of gst_filter_run(). Fixes #518627.
4723
4724 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4725
4726         * docs/README:
4727           Add a few lines about the new 'check-inspected-versions' target.
4728
4729 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4730
4731         * tests/check/gst/gstevent.c:
4732           Add qos to the event test. Rename tcase/tsuite; is not only about
4733           custom events.
4734
4735 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4736
4737         * plugins/elements/gstqueue.c:
4738           Ensure that buffer metadata is writeable, before modifying. Spotted by
4739           Mike.
4740
4741 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4742
4743         * plugins/elements/gstqueue.c:
4744         * plugins/elements/gstqueue.h:
4745           When dropping buffers in leaky modes, mark next buffers we sent as
4746           DISCONT.
4747
4748 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4749
4750         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4751           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4752
4753 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4754
4755         * plugins/elements/Makefile.am:
4756         * plugins/elements/gstbufferstore.c:
4757         * plugins/elements/gstbufferstore.h:
4758         * plugins/elements/gsttypefindelement.h:
4759           Remove GstBufferStore, no idea why we were still building it.
4760           It's not used anywhere and superseded by GstAdapter.
4761
4762         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4763           (gst_file_src_create_mmap):
4764         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4765           Printf format fixes for 64-bit integers.
4766
4767 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4768
4769         * configure.ac:
4770         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4771         We're not in 0.8 times anymore.
4772
4773 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4774
4775         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4776         (gst_check_element_push_buffer_list):
4777         * libs/gst/check/gstcheck.h:
4778         Make the declaration in the header for
4779         gst_check_element_push_buffer_list match the implementation.
4780
4781         Fix up spelling, grammar and wording of the documentation in a few
4782         places, and add the Since keyword to new API functions.
4783         Use g_list_delete_link instead of g_list_remove in
4784         gst_check_drop_buffers, since it's immeasurably more efficient.
4785
4786         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4787         Use new gst_check_drop_buffers function where appropriate.
4788
4789         * win32/common/libgstbase.def:
4790         * win32/common/libgstreamer.def:
4791         Add new symbols gst_collect_pads_take_buffer, 
4792         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4793         exports
4794
4795         Changelog surgery to add API keyword to new gst_check API.
4796
4797 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4798
4799         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4800         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4801         Update pre-generated flex files with flex 2.3.34.
4802
4803 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4804
4805         * gst/gstminiobject.c:
4806           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4807           friendly to subclasses and not require them to know all internals
4808           of their parent class.
4809
4810 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4811
4812         * docs/libs/gstreamer-libs-sections.txt:
4813         * libs/gst/base/gstcollectpads.c:
4814         * libs/gst/base/gstcollectpads.h:
4815           Add sub-buffer functions to collectpads. Fixes #516187.
4816           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4817
4818 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4819
4820         * gst/gstbuffer.c:
4821           Copy selected buffer-flags when creating subbuffers.
4822           Fixes #516395.
4823
4824 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4825
4826         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4827         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4828         * gst/gstmessage.c: (gst_message_class_init),
4829         (gst_message_finalize):
4830         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4831         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4832         (gst_mmap_buffer_finalize):
4833         Properly chain up finalize functions to the parent class.
4834
4835 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4836
4837         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4838
4839         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4840         (gst_index_set_resolver_full):
4841         * gst/gstindex.h:
4842         Add new function with option to dispose of user_data in resolver.
4843         Actually call the dispose function when finalizing the object and not
4844         just when changing the resolver/filter.
4845         API: GstIndex::gst_index_set_resolver_full()
4846
4847         * docs/gst/gstreamer-sections.txt:
4848         Add new function to docs. Fixes #515469.
4849
4850 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4851
4852         * gst/gstindex.c: (gst_index_finalize):
4853         Chain up finalize to the parent class. Fixes leaking the GstObject
4854         name and other things.
4855
4856 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4857
4858         * configure.ac:
4859         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4860         pre-releases or releases.
4861
4862         * docs/faq/gst-uninstalled:
4863         Add gst-plugins-gl
4864
4865         * docs/random/release:
4866         Change one of the steps - we only upload core & base to Gnome FTP
4867
4868 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4869
4870         * gst/gstconfig.h.in:
4871           Add 'id' for example.
4872
4873         * gst/gstpad.c:
4874         * gst/gstutils.c:
4875         * plugins/elements/gstfdsink.c:
4876           Link to signals. Doc and comment fixes.
4877
4878 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4879
4880         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4881         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4882           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4883           unused and unimplemented; finally, it is plugin features, not
4884           plugins, that have ranks.
4885           
4886 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4887
4888         * gst/gstpluginfeature.h:
4889           Clarify GstRank range docs.
4890
4891 2008-02-05  David Schleef  <ds@schleef.org>
4892
4893         * gst/gst.c: Add a separate gst_deinitialized that prevents
4894           gst_init() from being called after gst_deinit().  Fixes #509559
4895
4896 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4897
4898         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4899         (gst_bin_class_init):
4900         * gst/gstelement.c: (gst_element_base_class_init),
4901         (gst_element_class_add_pad_template):
4902         * gst/gstpadtemplate.c: (gst_pad_template_init):
4903         * gst/gstpipeline.c: (gst_pipeline_get_type),
4904         (gst_pipeline_base_init), (gst_pipeline_class_init):
4905         * libs/gst/base/gstbasesink.c:
4906         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4907         (gst_base_src_base_init), (gst_base_src_class_init):
4908         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4909         (gst_capsfilter_class_init):
4910         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4911         (gst_fake_sink_class_init):
4912         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4913         (gst_fake_src_class_init):
4914         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4915         (gst_fd_sink_class_init):
4916         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4917         (gst_fd_src_class_init):
4918         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4919         (gst_file_sink_class_init):
4920         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4921         (gst_file_src_class_init):
4922         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4923         (gst_identity_class_init):
4924         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4925         (gst_multi_queue_class_init):
4926         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4927         (gst_queue_class_init):
4928         * plugins/elements/gsttee.c: (gst_tee_base_init),
4929         (gst_tee_class_init):
4930         * plugins/elements/gsttypefindelement.c:
4931         (gst_type_find_element_base_init),
4932         (gst_type_find_element_class_init):
4933         * tests/check/gst/gstelement.c: (gst_element_suite):
4934         Revert previous changes to the behaviour of GstPadTemplates, etc
4935         and the possiblity to call them in class_init as it breaks too
4936         many elements. Reopens bug #491501.
4937
4938         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4939         several places.
4940
4941 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4942
4943         * tools/gst-launch.c:
4944         Dump one graph per pipeline state-change and state change name
4945         (if GST_DEBUG_DUMP_DOT_DIR is set).
4946
4947 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4948
4949         * gst/gstpad.c:
4950         * tests/check/gst/gstpad.c:
4951         Be sure that we have a new copy of the caps and not
4952         reffed caps from a template
4953
4954 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4955
4956         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4957         * gst/gstpipeline.c: (gst_pipeline_get_type),
4958         (gst_pipeline_class_init):
4959         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4960         (gst_base_sink_class_init):
4961         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4962         (gst_base_src_class_init):
4963         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4964         (gst_base_transform_class_init):
4965         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4966         (gst_collect_pads_class_init):
4967         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4968         * libs/gst/net/gstnettimeprovider.c:
4969         (gst_net_time_provider_base_init),
4970         (gst_net_time_provider_class_init):
4971         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4972         (gst_capsfilter_class_init):
4973         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4974         (gst_fake_sink_class_init):
4975         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4976         (gst_fake_src_class_init):
4977         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4978         (gst_fd_sink_class_init):
4979         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4980         (gst_fd_src_class_init):
4981         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4982         (gst_file_sink_class_init):
4983         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4984         (gst_file_src_class_init):
4985         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4986         (gst_identity_class_init):
4987         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4988         (gst_multi_queue_class_init):
4989         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4990         (gst_queue_class_init):
4991         * plugins/elements/gsttee.c: (gst_tee_base_init),
4992         (gst_tee_class_init):
4993         * plugins/elements/gsttypefindelement.c:
4994         (gst_type_find_element_base_init),
4995         (gst_type_find_element_class_init):
4996         Don't use base_init where not absolutely necessary. For example it's
4997         not necessary anymore for adding pad templates or setting element
4998         details.
4999
5000         Leave empty base_init functions in several places as GST_BOILERPLATE
5001         still defines and uses them.
5002
5003 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
5004
5005         * gst/gstelement.c: (gst_element_base_class_init),
5006         (gst_element_class_add_pad_template):
5007         * gst/gstpadtemplate.c:
5008         Make it possible (and recommended) to set element details and add
5009         pad templates in the class_init functions by copying the details/pad
5010         templates in GstElement's base_init.
5011
5012         Also make it possible to replace existing pad templates by adding
5013         a new one with the same name. This was done in a hackish fashion
5014         in same elements before already.
5015
5016         Don't reference pad templates that are added a second time. A
5017         new pad template has a refcount of one and is not floating anymore
5018         and to be owned by the element's class. Make this more explicit by
5019         mentioning it in the docs of gst_element_class_add_pad_template().
5020
5021         These changes are backwards compatible. Fixes bug #491501.
5022
5023         * tests/check/gst/gstelement.c:
5024         Add unit test for setting element details, adding pad templates and
5025         replacing them in a subclass.
5026
5027 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
5028
5029         * tools/gst-inspect.c: (print_interfaces),
5030         (print_element_properties_info), (print_pad_info),
5031         (print_signal_info), (print_element_info):
5032         Fix a few memory leaks.
5033
5034 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5035
5036         * docs/libs/gstreamer-libs-sections.txt:
5037         * libs/gst/check/gstcheck.c:
5038         * libs/gst/check/gstcheck.h:
5039         Add more functions for unit testing: gst_check_drop_buffers,
5040         gst_check_caps_equal, gst_check_element_push_buffer_list,
5041         gst_check_element_push_buffer
5042         API: gst_check_drop_buffers
5043         API: gst_check_caps_equal
5044         API: gst_check_element_push_buffer_list
5045         API: gst_check_element_push_buffer
5046
5047 2008-02-01  Julien Moutte  <julien@fluendo.com>
5048
5049         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
5050         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
5051         (gst_index_finalize), (gst_index_entry_free),
5052         (gst_index_add_association): Fix memory leaks.
5053         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
5054         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
5055         (gst_mem_index_free_format), (gst_mem_index_free_id),
5056         (gst_mem_index_finalize): Fix memory leaks.
5057         * win32/common/config.h: Updated to CVS HEAD.
5058
5059 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
5060
5061         * docs/README:
5062           Some more details about how the plugin docs works.
5063
5064         * docs/plugins/gstreamer-plugins-sections.txt:
5065           Whitespace cleanup.
5066
5067 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
5068
5069         * gst/parse/grammar.tab.pre.c:
5070         * gst/parse/grammar.tab.pre.h:
5071         * gst/parse/grammar.y:
5072         * gst/parse/lex._gst_parse_yy.pre.c:
5073           Add delayed set-property. This allows to set properties on dynamicaly
5074           created objects (pads in videomxer). Fixes #509391.
5075
5076 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5077
5078         * gst/gstutils.c:
5079         Check if caps are not NULL (fix bug #510194)
5080
5081 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5082
5083         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5084         (gst_base_sink_get_position_paused):
5085         Add fixme regarding EOS in pull mode.
5086         Fix position reporting in PAUSED for negative rates.
5087
5088 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5089
5090         * gst/gstminiobject.c: (gst_mini_object_replace):
5091         When replacing a miniobject, do a quick equality check first so that we
5092         can avoid a ref/unref pair.
5093
5094 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5095
5096         * docs/design/part-synchronisation.txt:
5097         Update some docs.
5098
5099         * docs/plugins/Makefile.am:
5100         * docs/plugins/gstreamer-plugins-docs.sgml:
5101         * docs/plugins/gstreamer-plugins-sections.txt:
5102         * plugins/elements/gstmultiqueue.c:
5103         Add multiqueue to the docs.
5104
5105 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5106
5107         * configure.ac:
5108           Back to CVS
5109
5110 === release 0.10.17 ===
5111
5112 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
5113
5114         * configure.ac:
5115           releasing 0.10.17, "Due Negligence"
5116
5117 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5118
5119         * gst/gstutils.c:
5120         Revert caps != NULL check temporarily for 0.10.17 release.
5121
5122 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5123
5124         * gst/gstutils.c:
5125         Check if caps are not NULL (fix bug #510194)
5126
5127 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5128
5129         * gst/gstutils.c:
5130         Fix compilation on systems that have posix timers but no
5131         monotonic clock.
5132         Fixes: #512715
5133         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5134         dot net>
5135
5136 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5137
5138         * tools/gst-inspect.c:
5139         Revert previous commit in preparation for an impromptu 0.10.17 release
5140
5141 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
5142
5143         * tools/gst-inspect.c: (print_interfaces),
5144         (print_element_properties_info), (print_pad_info),
5145         (print_signal_info), (print_element_info):
5146         Fix a few memory leaks.
5147
5148 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
5149
5150         * configure.ac:
5151         Back to CVS
5152
5153 === release 0.10.16 ===
5154
5155 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
5156
5157         * configure.ac:
5158           releasing 0.10.16, "Special Dispensation"
5159
5160 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
5161
5162         * configure.ac:
5163           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5164           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5165           not fail when trying to crosscompile on OpenEmbedded (#511750).
5166
5167 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
5168
5169         * docs/manuals.mak:
5170         Use $(MAKE) instead of make to fix the build if GNU make is
5171         called different. Fixes bug #510747.
5172
5173 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5174
5175         * gst/gstplugin.c: (_gst_plugin_initialize):
5176           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5177           again, which I broke two commits ago when changing the API
5178           of gst_plugin_register_static(): the g_list_foreach() in
5179           _gst_plugin_register_static still assumed the old function
5180           signature and would therefore fail (re-fixes #510187).
5181
5182         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5183           (_gst_plugin_register_static), (gst_plugin_register_static):
5184           Revert the (technically correct) change to call g_thread_init() from
5185           the pre-main() constructor. This will break programs which call
5186           g_thread_init() without an if (!g_thread_supported()) guard in their
5187           main function. We could just blame it on GLib or the application, but
5188           it's probably best to just avoid this altogether and simply not use
5189           any GLib functions here and use plain old malloc() with a simple
5190           array to store the plugins to register later when gst_init() is
5191           finally called (re-fixes #510187).
5192
5193         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5194           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5195           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5196           (GST_START_TEST), (gst_plugin_suite):
5197           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5198           works.
5199
5200 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5201
5202         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5203           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5204           This makes gtk-doc complain, but results in slightly better
5205           compiler errors. The old _gst_plugin_register_static() is
5206           still guarded, so there'll be a compiler warning about that
5207           instead. Fixes #510187 too.
5208
5209 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5210
5211         * gst/gst.c: (init_post):
5212         * gst/gstplugin.c: (_gst_plugin_register_static),
5213           (gst_plugin_register_static), (_gst_plugin_initialize):
5214         * gst/gstplugin.h: (GstPluginFilter):
5215           Change API of gst_plugin_register_static() to not take
5216           a GstPluginDesc, but rather just take all the arguments
5217           in a GstPluginDesc directly. This is more intuitive and
5218           avoids certain mistakes when porting code from
5219           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5220           Fixes #510187.
5221
5222         * tests/check/gst/gstplugin.c:
5223           Fix up for changed API.
5224
5225 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5226
5227         * docs/faq/legal.xml:
5228           Update FAQ, Totem actually has an exception these days.
5229
5230 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
5231
5232         * win32/common/libgstreamer.def:
5233         Add new API declarations
5234
5235 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5236
5237         * gst/gstminiobject.c:
5238           Spelling fixes for the API docs.
5239
5240 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5241
5242         * libs/gst/base/gstbasetransform.c:
5243           Fix long property description for QoS.
5244
5245 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
5246
5247         * gst/gst.c:
5248         _gst_trace_on is already provided by gsttrace.h, no need to declare
5249         it ourselves.
5250
5251         * docs/libs/gstreamer-libs-sections.txt:
5252         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5253         and remove strange tcase_add_test which is outputting a warning.
5254
5255         * libs/gst/check/gstcheck.c:
5256         * libs/gst/check/gstcheck.h:
5257         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5258         and define them in gstcheck.c instead of having every .c file whcih
5259         includes gstcheck.h be defining its own copy and relying on symbol
5260         interposing to marry them all, which doesn't work on Solaris.
5261
5262         * tests/check/elements/identity.c: (GST_START_TEST):
5263         Don't define 'buffers' locally, it comes from libgstcheck.
5264
5265         * tests/check/generic/sinks.c: (send_buffer):
5266         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5267
5268         * tests/check/gst/gststructure.c: (GST_START_TEST):
5269         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5270         * tests/check/gst/gstutils.c: (GST_START_TEST):
5271         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5272         Add a bunch of casts to make various constants fit the types
5273         they're being assigned to.
5274
5275 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
5276
5277         * gst/gstchildproxy.c:
5278           Improve docs and add some ideas for making this more general-purpose.
5279
5280 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5281
5282         * gst/gst_private.h: (GST_CAT_TYPES):
5283           Add GST_CAT_TYPES, for consistency, and so that the other
5284           debug categories don't make fun of it. Spotted by Saur on IRC.
5285
5286 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5287
5288         * gst/parse/Makefile.am:
5289           Move types.h from EXTRA_DIST to noinst_HEADERS.
5290
5291 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5292
5293         * autogen.sh:
5294           Add -Wno-portability to the automake parameters to stop warnings
5295           about GNU make extensions being used. We require GNU make in almost
5296           every Makefile anyway.
5297
5298         * configure.ac:
5299           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5300           at the same time is required for per target flags.
5301
5302 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5303
5304         * gst/gstmacros.h:
5305           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5306           __GNUC__ is defined before using it.
5307
5308 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5309
5310         * docs/gst/gstreamer-sections.txt:
5311         * gst/gst.c: (init_post):
5312         * gst/gstplugin.c: (_gst_plugin_register_static),
5313           (gst_plugin_register_static), (_gst_plugin_initialize),
5314           (gst_plugin_register_func):
5315         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5316           API: add gst_plugin_register_static() and deprecate
5317           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5318           (#498924).
5319           Also, in _gst_plugin_register_static(), make sure to call
5320           g_thread_init() before calling GLib functions such as
5321           g_list_append() if we're not initialised yet, since that
5322           may lead to random crashes with older GSlice/GLib versions.
5323
5324         * tests/check/gst/gstplugin.c:
5325           Adapt unit test to above changes.
5326
5327 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5328
5329         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5330         * gst/gstcaps.c: (gst_caps_to_string):
5331         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5332           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5333           Yet another gratuitous GString micro-optimisation: add a (private)
5334           function that serialises a structure appending to an existing
5335           GString, so that when we serialise caps we don't need to alloc+free
5336           a throwaway GString for each structure (each of which also entailing
5337           multiple reallocs on the way); also use g_string_sized_new() in
5338           various places with an approximate string length to avoid reallocs
5339           within GString. See #500143.
5340
5341 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5342
5343         * gst/gststructure.c: (gst_structure_id_set_value):
5344           Always check UTF-8 conformance of structure strings and not only
5345           if the debugging system is enabled; reasoning: the behaviour of
5346           the actual code shouldn't really change depending on whether the
5347           debugging system is enabled or not (#508291).
5348
5349 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5350
5351         * Makefile.am:
5352           Remove old coverage target in favour of "make lcov".
5353
5354 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5355
5356         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5357         (gst_base_src_loop):
5358         The start segment for reverse playback goes from start to last_stop.
5359
5360 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5361
5362         Patch by: Peter Kjellerstedt <pkj axis com>
5363
5364         * gst/gstclock.h:
5365         Cast the results from the timeval/spec_to_time macros to what the
5366         docs say it casts to, a GstClockTime. fixes #508175.
5367
5368 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5369
5370         * gst/gstbuffer.c:
5371         Update some comments.
5372
5373         * tools/gst-inspect.c: (print_element_properties_info):
5374         Improve printing of flags.
5375
5376 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5377
5378         * libs/gst/base/gstbasetransform.c:
5379           (gst_base_transform_transform_size):
5380           Print element name with g_warning() if there's a problem
5381           with the unit size.
5382
5383 2008-01-07  David Schleef  <ds@schleef.org>
5384
5385         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5386
5387         * libs/gst/controller/gstcontroller.h:
5388         * libs/gst/controller/gstcontrolsource.h:
5389         * libs/gst/controller/gstinterpolationcontrolsource.h:
5390         * libs/gst/controller/gstlfocontrolsource.h:
5391         * libs/gst/dataprotocol/dataprotocol.h:
5392           Fix empty prototypes.  Fixes bug #507957.
5393
5394 2008-01-07  David Schleef  <ds@schleef.org>
5395
5396         * docs/faq/dependencies.xml: Fix typo.
5397
5398 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5399
5400         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5401         (gst_base_src_loop):
5402         Don't update the last_stop position in do_seek, that's the position we
5403         did a seek to.
5404         Read backwards when we have a negative rate.
5405
5406         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5407         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5408         (filesrc_suite):
5409         Add check for reverse reading.
5410
5411 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5412
5413         Patch by: Alexis Ballier <aballier at gentoo org>
5414
5415         * tests/check/gst/gstabi.c:
5416         * tests/check/gst/struct_ppc64.h:
5417         * tests/check/libs/libsabi.c:
5418         * tests/check/libs/struct_ppc64.h:
5419           Decide which header to include based on the userland ABI target
5420           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5421           for 64-bit userland (#503590).  Might need something similar for
5422           x86 too.
5423
5424 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5425
5426         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5427           Log the reason why fopen fails in addition to the fact that it failed.
5428           
5429 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5430
5431         * gst/parse/parse.l:
5432         Use "%option never-interactive" to prevent useless calls to isatty()
5433         on every input when parsing. Also use "%option noinput" to not define
5434         the static input/yyinput functions which we don't use anyway. This
5435         removes a compiler warning with gcc 4.3 and saves some bytes in the
5436         library.
5437         
5438         * gst/parse/lex._gst_parse_yy.pre.c:
5439         Regenerated for the above change.
5440
5441 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5442
5443         * gst/gstpad.c: (fixate_value):
5444         Don't crash when trying to fixate and empty list.
5445         Fixes #506643.
5446
5447 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5448
5449         * docs/faq/gst-uninstalled:
5450         Clarify the comments to make the usage of this script and what it
5451         does easier to understand.
5452
5453 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5454
5455         * tools/gst-plot-timeline.py:
5456         Add more options to gst-plot-timeline
5457
5458 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5459
5460         * docs/design/part-synchronisation.txt:
5461         Some more info on how the stream_time in GstBaseSink is done.
5462
5463 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5464
5465         * tests/check/generic/sinks.c: (gst_sinks_suite):
5466           Put back the tcase_set_timeout(), apparently it's needed after
5467           all; fix it up in a way that makes things work with valgrind too.
5468
5469 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5470
5471         * gst/gstdebugutils.c:
5472           Add warning when failed to open file for writing.
5473
5474 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5475
5476         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5477
5478         * gst/gstvalue.c: (gst_value_is_fixed):
5479           Optimisation: bail out of the loop as early as possible (#500143).
5480
5481 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5482
5483         * gst/gstcaps.c: (gst_caps_to_string):
5484         * gst/gstinfo.c: (gst_debug_construct_term_color):
5485         * gst/gstparse.c: (gst_parse_launchv):
5486         * gst/gstutils.c: (gst_util_dump_mem):
5487         * gst/gstvalue.c: (gst_value_serialize_any_list),
5488           (gst_value_transform_any_list_string):
5489           Bunch of gratuitous nano-optimisations.
5490
5491 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5492
5493         * tests/check/generic/sinks.c: (async_done_func),
5494           (async_done_eos_func):
5495           Fix leak in unit test (bus sync handler must unref the message
5496           if it returns GST_BUS_DROP). Don't fiddle with the default test
5497           timeout, this is smaller than the current preconfigured value
5498           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5499           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5500
5501 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5502
5503         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5504
5505         * configure.ac:
5506         Check for stdio_ext.h for the filesink changes.
5507
5508         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5509         (gst_file_sink_class_init), (gst_file_sink_init),
5510         (gst_file_sink_dispose), (gst_file_sink_set_property),
5511         (gst_file_sink_get_property), (gst_file_sink_open_file),
5512         (gst_file_sink_close_file):
5513         * plugins/elements/gstfilesink.h:
5514         Add two properties to control the buffering mode and size.
5515         API: GstFileSink::buffer-mode
5516         API: GstFileSink::buffer-size
5517         Fixes #500150.
5518
5519 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5520
5521         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5522         Add some more docs to explain why a FIXME was wrongly added. 
5523
5524 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5525
5526         * gst/gstobject.c:
5527           Fix typo in the gst_object_{ref,unref} documentation.
5528
5529 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5530
5531         * tests/check/libs/controller.c:
5532         * tests/check/libs/typefindhelper.c:
5533         * tests/check/pipelines/parse-launch.c:
5534           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5535           going to be deprecated (see #498924).
5536
5537 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5538
5539         * gst/gsttypefind.c: (gst_type_find_register):
5540           Make gst_type_find_register work for static typefind functions,
5541           ie. allow passing plugin == NULL (prerequisite for #498924).
5542
5543         * gst/gstelementfactory.c: (gst_element_register):
5544           Small docs addition.
5545
5546 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5547
5548         * gst/gstpad.c: (gst_pad_dispose):
5549         Really unlink the peer pad instead of setting the peer pointer to NULL
5550         when we dispose the pad.
5551         This correctly calls the unlink functions and makes sure that the peer
5552         does not have a handle to invalid memory. See #504671.
5553
5554         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5555         Add testsuite for above case.
5556
5557 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5558
5559         Patch by: Peter Kjellerstedt <pkj axis com>
5560
5561         * libs/gst/check/gstcheck.h:
5562           Fix detection of the check version we're compiling against (would
5563           otherwise break if check goes v0.10.0); correctly report the
5564           name of the failed test again in case of failure, instead of
5565           just 'tf' (fixes #504499).
5566
5567 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5568
5569         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5570         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5571         (gst_base_src_loop), (gst_base_src_set_flushing),
5572         (gst_base_src_change_state):
5573         Allow sending EOS to the source to make it send out an EOS event from
5574         the streaming thread.
5575         Update docs and deprecate the old NULL/READY shutdown method.
5576
5577         * tests/check/libs/basesrc.c: (GST_START_TEST),
5578         (gst_basesrc_suite):
5579         Add unit test for controlled shutdown.
5580
5581 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5582
5583         * docs/design/part-synchronisation.txt:
5584         Small updates.
5585
5586         * gst/gstsegment.c: (gst_segment_set_seek),
5587         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5588         (gst_segment_to_running_time):
5589         The seek format can be different from the segment format when the start
5590         and stop values are not to be updated, when we only do a rate change for
5591         example.
5592
5593         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5594         (gst_segment_suite):
5595         Add a testcase for the rate-only seeks, checking that the format is
5596         correctly ignored when start and stop are not updated.
5597
5598 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5599
5600         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5601
5602         * win32/vs8/grammar.vcproj:
5603         * win32/vs8/libgstcontroller.vcproj:
5604         * win32/vs8/libgstreamer.vcproj:
5605         Fix compilation with VS8 and include some missing files.
5606
5607 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5608
5609         * gst/gsttaglist.c:
5610           Small docs addition: mention that the strings returned by
5611           gst_tag_list_get_string*() are in UTF-8 encoding.
5612
5613 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5614
5615         * Makefile.am:
5616           The check-exports stuff moved to common/win32.mak, so include that.
5617
5618 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5619
5620         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5621         (gst_base_src_perform_seek), (gst_base_src_get_range),
5622         (gst_base_src_set_playing), (gst_base_src_change_state):
5623         Make _wait_playing() not check any variables so that we can call this
5624         function from subclasses. Move the checks elsewhere similar to
5625         _wait_preroll() in basesink.
5626         Add some debugging.
5627         Only signal the LIVE cond when we are going back to PLAYING.
5628
5629 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5630
5631         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5632           Use g_remove() and g_rename(). Check result of g_rename(), and
5633           don't leak the open file descriptor if we error out when writing.
5634
5635         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5636           Must check the return value of close() after writing out the new
5637           registry file.  Sometimes write problems such as out-of-diskspace
5638           are only reported when the file is closed and not already during
5639           the write.  This may have caused partial/broken registry files in
5640           some rare circumstances. Should fix #503675.
5641
5642 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5643
5644         * docs/gst/.cvsignore:
5645         * docs/libs/.cvsignore:
5646         * docs/plugins/.cvsignore:
5647         Ignore files generated by new common/* modifications
5648
5649 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5650
5651         * win32/common/libgstbase.def:
5652           Yes, you can also have a <TAB> if you want.
5653
5654 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5655
5656         * win32/common/libgstbase.def:
5657           Add new basetransform API to win export file.
5658
5659 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5660
5661         * tests/check/gst/gstbin.c:
5662           Adjust the test to the refcount change two days ago.
5663
5664 2007-12-14  David Schleef  <ds@schleef.org>
5665
5666         * docs/faq/getting.xml: Fix typo.
5667
5668 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5669
5670         * docs/libs/gstreamer-libs-sections.txt:
5671         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5672           (gst_base_transform_prepare_output_buffer),
5673           (gst_base_transform_set_gap_aware):
5674         * libs/gst/base/gstbasetransform.h:
5675           API: Add gst_base_transform_set_gap_aware() to control whether
5676           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5677           get buffers with this flag at all. Fixes #503231.
5678
5679 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5680
5681         * libs/gst/base/gstbasesink.c:
5682         * libs/gst/base/gstbasesrc.c:
5683         * libs/gst/base/gstbasetransform.c:
5684           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5685           thread. Correct log message in gstbasesrc.c.
5686
5687 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5688
5689         * gst/gstutils.c: (element_find_unconnected_pad):
5690           Fix possible compiler warning (#503417).
5691
5692 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5693
5694         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5695           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5696
5697 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5698
5699         * tools/gst-inspect.c: (print_element_properties_info):
5700           Add support for GstFraction properties.
5701
5702 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5703
5704         * Makefile.am:
5705           Add check-exports target and run it as part of 'make check'
5706           (see #499140 and #493983).
5707
5708         * gst/gst_private.h:
5709         * gst/gstelementfactory.h:
5710         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5711         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5712           (_priv_gst_in_valgrind):
5713         * gst/gstinfo.h: (GstLogFunction):
5714         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5715           (gst_type_find_register):
5716         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5717           (gst_type_find_factory_get_type):
5718         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5719           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5720           (gst_controller_new_valist), (gst_controller_new_list),
5721           (_gst_controller_dispose), (_gst_controller_class_init):
5722         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5723         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5724           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5725           (gst_object_get_controller), (gst_object_set_controller),
5726           (gst_object_suggest_next_sync), (gst_object_sync_values),
5727           (gst_object_set_control_source), (gst_object_get_control_source),
5728           (gst_object_get_value_arrays), (gst_object_get_value_array),
5729           (gst_object_get_control_rate), (gst_object_set_control_rate):
5730         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5731         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5732           Make some functions that should be static static; rename some
5733           private symbols so that they don't get exported; add some FIXME
5734           comments so we can move accidentally exported functions into
5735           our private section in 0.11.
5736
5737         * win32/common/libgstreamer.def:
5738           Add gst_utils_get_timestamp().
5739
5740 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5741
5742         * gst/gstvalue.c:
5743         * gst/gstvalue.h:
5744           Add more missing "Since:" tags to docs.
5745
5746 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5747
5748         * gst/gstutils.c:
5749           Add mising "Since:" to docs.
5750
5751 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5752
5753         * gst/gstplugin.c:
5754           Include "glib-compat-private.h" to fix the build on system with
5755           glib < 2.10. Fixes #503131.
5756
5757 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5758
5759         * gst/gstutils.c:
5760         * gst/gstutils.h:
5761           Actually its not PURE as it gets the time from elsewhere.
5762
5763 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5764
5765         * docs/gst/gstreamer-sections.txt:
5766         * gst/gstclock.h:
5767         * gst/gstdebugutils.c:
5768         * gst/gstinfo.c:
5769         * gst/gstutils.c:
5770         * gst/gstutils.h:
5771         * libs/gst/base/gstbasesink.c:
5772         * tools/gst-launch.c:
5773           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5774           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5775           Thanks Tim for spotting.
5776           API: gst_util_get_timestamp
5777
5778 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5779
5780         * configure.ac:
5781           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5782
5783 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5784
5785         * gst/gststructure.c: (gst_structure_validate_name),
5786           (gst_structure_new_valist), (gst_structure_parse_value),
5787           (gst_structure_from_string):
5788           Don't crash in _from_string() if the structure name is not valid
5789           (fixes #501560).  Allow structure names to start with a number
5790           again (this apparently broke the ubuntu codec installer).
5791
5792         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5793           (GST_START_TEST):
5794           Add unit test for the crash; update unit tests for new behaviour.
5795
5796 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5797
5798         * gst/gstutils.c:
5799         Clarify gst_element_get_compatible_pad() documentation.
5800         Fixes #500919.
5801
5802 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5803
5804         * tests/check/Makefile.am:
5805           Don't forget to dist {gst,libs}/struct_hppa.h.
5806
5807 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5808
5809         * libs/gst/base/gstbasesink.c:
5810           Use new API to get elapsed time.
5811
5812 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5813
5814         * gst/gstdebugutils.c:
5815         * gst/gstinfo.c:
5816           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5817
5818         * tools/gst-launch.c:
5819           Use new API to get elapsed time.
5820
5821 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5822
5823         * docs/gst/gstreamer-sections.txt:
5824         * gst/gstclock.h:
5825         * gst/gstdebugutils.c:
5826         * gst/gstinfo.c:
5827           Rename new API + ChangeLog surgery to remove old name from last entry..
5828
5829 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5830
5831         * docs/gst/gstreamer-sections.txt:
5832         * gst/gstclock.h:
5833         * gst/gstdebugutils.c:
5834         * gst/gstinfo.c:
5835           Now hide the different clock stuff behind a macro.
5836
5837 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5838
5839         * configure.ac:
5840         * gst/gstdebugutils.c:
5841         * gst/gstinfo.c:
5842           Apply the posix-timer check from #361155. Conditionally use the posix
5843           timer for logging. This gives better timestamp precission, less
5844           overhead and no ntp jitter.
5845
5846 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5847
5848         * gst/gstminiobject.c: (gst_mini_object_get_type),
5849         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5850         (gst_mini_object_finalize), (gst_mini_object_copy),
5851         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5852         (gst_mini_object_replace), (param_mini_object_validate),
5853         (gst_param_spec_mini_object_get_type):
5854         Some cleanup and checking against invalid function parameters.
5855
5856 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5857
5858         * docs/gst/gstreamer-sections.txt:
5859         * gst/gstclock.h:
5860         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5861         (gst_systemclock_suite):
5862         Start merging in the easy bits of #361155, the monotonic clock patch.
5863         This one adds a few handy macros with docs and a testsuite.
5864
5865 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5866
5867         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5868         Be a bit smarter when seeking, like, don't try to do a seek when it's
5869         not needed. This avoids errors when the file is not seekable.
5870         Fixes #499771.
5871
5872 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5873
5874         * docs/gst/gstreamer-docs.sgml:
5875         * docs/gst/gstreamer-sections.txt:
5876         * docs/gst/gstreamer.types.in:
5877         * gst/Makefile.am:
5878         * gst/gst.h:
5879         * gst/gstpreset.c:
5880         * gst/gstpreset.h:
5881         * plugins/elements/gstqueue.c:
5882           Due to popular request remove preset interface again. :-(.
5883
5884 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5885
5886         * tools/gst-inspect.c:
5887           Print 'default value' for enums and flags too.
5888
5889 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5890
5891         * docs/random/ensonic/profiling.txt:
5892           More ideas.
5893
5894         * gst/gstbin.c:
5895           Fix typo and give better log output.
5896
5897         * gst/gstdebugutils.c:
5898         * gst/gstdebugutils.h:
5899           More ideas, make graphs a bit smaller and fix param name in macro.
5900
5901 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5902
5903         * gst/gstpreset.c:
5904           Try harder to use the return value from fgets().
5905
5906 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5907
5908         * gst/gstpreset.c:
5909           For theses two fgets we handle the error below.
5910
5911 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5912
5913         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5914         Only send upstream events upstream. Fixes #498746.
5915
5916 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5917
5918         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5919
5920         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5921         (gst_identity_init), (gst_identity_transform_ip),
5922         (gst_identity_set_property), (gst_identity_get_property):
5923         * plugins/elements/gstidentity.h:
5924         Add property to disable handoff signal emission. Fixes #498694.
5925         API: GstIdentity::signal-handoffs
5926
5927 2007-11-21  Julien Moutte  <julien@fluendo.com>
5928
5929         * docs/faq/gst-uninstalled: Yet another missing library for the
5930         uninstalled script (fft)
5931
5932 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5933
5934         * docs/faq/developing.xml:
5935         Add a question about how to submit new translations.
5936
5937         * docs/random/release:
5938         Update the contact email address for the Translation Project
5939
5940         * plugins/elements/gstfdsrc.c:
5941         The parent_class for fdsrc is pushsrc, not GstElement.
5942
5943 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5944
5945         * gst/gstpreset.c:
5946           Plug a leak and fix saving.
5947
5948 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5949
5950         * docs/gst/gstreamer-sections.txt:
5951         Add new gst_preset__get_property_names() function to the docs
5952         to fix the build.
5953
5954 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5955
5956         * gst/gstpreset.c:
5957         * gst/gstpreset.h:
5958           Change _get_preset_names API to return a strv with copies. Add
5959           _get_property_names to allow implementations to filter and provide
5960           good default implementation.
5961
5962 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5963
5964         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5965         script (sdp).
5966
5967 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5968
5969         * gst/gstpreset.c:
5970           More cleanups, docs, and TODOs from comments that now slowly come in.
5971
5972 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5973
5974         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5975         search path.
5976
5977 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5978
5979         * gst/gstpreset.c:
5980           Fix bogus warning and make the property type specific code more
5981           similar.
5982
5983 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5984
5985         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5986         it build on OS X.
5987
5988 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5989
5990         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5991         (gst_bin_add_func), (gst_bin_remove_func),
5992         (gst_bin_change_state_func), (gst_bin_continue_func):
5993         Change email, cleanups add some more debug and comments.
5994         Also set bus and clock on new elements when the pipeline was in error.
5995
5996 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5997
5998         * gst/gstbin.c:
5999         * gst/gstdebugutils.c:
6000           Fix build with --disable-gst-debug. Fixes #497859.
6001           Spotted by Sameer Naik.
6002
6003 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6004
6005         * gst/gstevent.c:
6006           Little documentation improvment.
6007
6008         * gst/gstpreset.c:
6009           More TODO cleanups. Remove c++ comments.
6010
6011         * libs/gst/controller/gstcontroller.c:
6012           Add TODO and use quark from static string.
6013
6014         * tests/check/gst/gstmessage.c:
6015         * tests/check/gst/gststructure.c:
6016           Use quark from static string.
6017
6018 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6019
6020         * gst/gstpreset.c:
6021           Add some comments and TODOs.
6022
6023         * gst/gstpreset.h:
6024           Add padding for future changes.
6025
6026         * plugins/elements/gstqueue.c:
6027           Implement the iface.    
6028
6029 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6030
6031         * docs/gst/gstreamer-docs.sgml:
6032         * docs/gst/gstreamer-sections.txt:
6033         * docs/gst/gstreamer.types.in:
6034         * gst/Makefile.am:
6035         * gst/gst.h:
6036         * gst/gstpreset.c:
6037         * gst/gstpreset.h:
6038           Add the preset interface (Fixes #396779). Do some doc cleanups along.
6039
6040 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
6041
6042         * configure.ac:
6043
6044         Back to CVS
6045
6046 === release 0.10.15 ===
6047
6048 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
6049
6050         * configure.ac:
6051           releasing 0.10.15, "October"
6052
6053 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
6054
6055         * win32/vs6/libgstreamer.dsp:
6056         Convert line endings back to DOS.
6057
6058 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
6059
6060         * docs/design/draft-tagreading.txt:
6061         * docs/random/ensonic/profiling.txt:
6062         Update fast tagreading draft and performance profiling ideas.
6063
6064 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
6065
6066         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
6067         Don't hold the object lock when unreffing a buffer because it could
6068         cause a deadlock when the finalize function wants to grab the object
6069         lock too. Fixes #495133.
6070
6071 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
6072
6073         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6074         (gst_segment_to_stream_time), (gst_segment_to_running_time):
6075         Also accumulate time correctly when doing reverse playback. Fixes
6076         #488201,
6077         When converting to running and stream time, use default values for
6078         start/stop/time/accum when comparing different formats. Fixes #494245.
6079
6080         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6081         Do running/stream time in TIME format.
6082
6083         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6084         (gst_segment_suite):
6085         2 new unit tests for segment accumulation.
6086
6087 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
6088
6089         * gst/gst.c: (init_pre):
6090         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6091           (_gst_debug_bin_to_dot_file):
6092           Move getenv() back into gst_init, so everyone can live happily
6093           ever after. Make sure the symbol isn't exported though.
6094
6095 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6096
6097         Patch by: Sebastien Moutte  <sebastien moutte net>
6098
6099         * win32/common/gstenumtypes.c:
6100         * win32/common/gstenumtypes.h:
6101           Update enum types.
6102
6103         * win32/vs6/libgstreamer.dsp:
6104           Update vs6 project files (#494343).
6105
6106 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6107
6108         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6109         (gst_base_src_perform_seek), (gst_base_src_default_event),
6110         (gst_base_src_set_flushing), (gst_base_src_activate_push),
6111         (gst_base_src_activate_pull):
6112         Unify flushing code, remove some old unlock code that is no longer used.
6113         Take the streaming lock when seeking to avoid races. Fixes #492729.
6114         Added some more comments.
6115
6116 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6117
6118         * gst/gst.c: (_gst_disable_segtrap):
6119           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
6120           we can use gst_segtrap_is_enabled() there now that we have that API.
6121           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6122           to do the getenv here (and export the variable).
6123
6124         * gst/gstdebugutils.c: (debug_dump_element),
6125           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6126           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6127
6128         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6129           (gst_debug_log_default):
6130           Rename _gst_info_start_time to priv_gst_info_start_time so it
6131           doesn't get exported (was never in any header).
6132
6133         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6134           (gst_plugin_loading_mutex):
6135           Make static mutex gst_plugin_loading_mutex really static (was never
6136           in any header), and use gst_segtrap_is_enabled() instead of
6137           _gst_disable_segtrap.
6138
6139         * gst/gsttrace.c: (_gst_trace_default):
6140           Make local _gst_trace_default static (was never in any header).
6141
6142 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6143
6144         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6145
6146         * win32/common/libgstbase.def:
6147         * win32/common/libgstcontroller.def:
6148         * win32/common/libgstdataprotocol.def:
6149         * win32/common/libgstnet.def:
6150         * win32/common/libgstreamer.def:
6151           Add more missing symbols, remove some duplicates, and sort
6152           as the 'sort' command sorts it (partially fixes #493983).
6153
6154 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6155
6156         * gst/gstelement.c: (gst_element_set_state_func):
6157         Only change the state cookie if a different state was set on the
6158         element. See #492729.
6159
6160 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6161
6162         * gst/gstvalue.c:
6163           Remove unused and uninitialised type variables that were still
6164           exported for some reason (they were never in any header files
6165           though).
6166
6167 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6168
6169         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6170         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6171         (gst_base_sink_event), (gst_base_sink_get_position_last),
6172         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6173         (gst_base_sink_change_state):
6174         Don't try to report a 0 position when we don't know, return -1 and FALSE
6175         instead. This mostly happens when we are prerolling.
6176         Make sure we can report the right position before we post the ASYNC_DONE
6177         message so that a message handler can query position without races.
6178
6179         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6180         (async_done_handoff), (async_done_func), (send_buffer),
6181         (async_done_eos_func), (gst_sinks_suite):
6182         Add two tests for the above.
6183
6184 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6185
6186         * MAINTAINERS:
6187         Update with new email address.
6188
6189         * docs/design/part-TODO.txt:
6190         Add some more info about future pad-block and negotiation changes.
6191
6192         * docs/design/part-buffering.txt:
6193         Add some ideas about buffering reporting.
6194
6195 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
6196
6197         * tests/check/gst/gstobject.c:
6198         Disable silly racy test that always fails on this combination of CPU
6199         and kernel.
6200
6201 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
6202
6203         Patch by: Murray Cumming  <murrayc@murrayc.com>
6204
6205         * gst/gstobject.c:
6206           Corrected the registration of the parent-set and parent-unset
6207           signals: The parameter is a GstObject, not a GObject (#493134).
6208
6209 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6210
6211         * gst/gst_private.h:
6212         * gst/gstbuffer.h:
6213         * gst/gstevent.h:
6214         * gst/gstformat.h:
6215         * gst/gstmessage.h:
6216         * gst/gstplugin.h:
6217         * gst/gstquery.h:
6218         * gst/gsttaglist.h:
6219         * gst/gstvalue.h:
6220           Move declaration of private _gst_foo_initialize() functions into
6221           our private header file where they should have been all along.
6222
6223 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6224
6225         * docs/plugins/gstreamer-plugins-sections.txt:
6226         * gst/gstdebugutils.h:
6227         * gst/gstxml.h:
6228         * plugins/elements/gstqueue.c:
6229           gtk-doc fixes; trailing-comma-in-enum fix.
6230
6231 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6232
6233         * gst/gst.c: (gst_deinit):
6234           Clean up on deinit (not the external ones though, doesn't seem to be
6235           needed for some reason).
6236
6237 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6238
6239         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6240           Remove __declspec(dllimport) for MSVC that was copied over into core
6241           from a plugin, obviously without ever having been tested (note the
6242           single underscore in _declspec in the initial commit), and that doesn't
6243           really make sense.  See #492077.
6244
6245 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6246
6247         * gst/gst.c: (init_post):
6248         * gst/gstevent.c: (_gst_event_initialize):
6249         * gst/gstquery.c: (_gst_query_initialize):
6250         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6251           g_type_class_ref() other types as well, see #349410 and #64764.
6252
6253         * gst/gstbuffer.c: (_gst_buffer_initialize):
6254         * gst/gstmessage.c: (_gst_message_initialize):
6255           Simplify existing g_type_class_ref().
6256
6257 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6258
6259         * gst/gstformat.c: (_gst_format_initialize):
6260           g_type_class_ref() our GstFormat type to make sure we avoid the
6261           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6262           bug #64764. Should fix intermittent tee unit test failures (#474823).
6263
6264 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6265
6266         * tests/check/elements/tee.c: (test_num_buffers):
6267           Simplify, simplify, simplify - or not.  Rewrite unit test
6268           not to use gst_parse_launch(); allow N sub-streams. Increasing
6269           the number of sub-streams seems to reproduce #474823 more easily.
6270
6271 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6272
6273         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6274
6275         * gst/gsttrace.c:
6276         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6277         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6278         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6279           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6280           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6281           so use _pipe() directly (#492077).
6282
6283         * win32/common/dirent.c: (_treaddir):
6284           Add a couple of casts to make it build without warnings with MSVC.
6285
6286         * win32/common/libgstreamer.def:
6287           Add some more symbols that need to be exported.
6288
6289 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6290
6291         * tests/examples/metadata/read-metadata.c: (message_loop):
6292           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6293           arriving in a second or third tag message are added to
6294           the tag list as well.
6295
6296 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
6297
6298         * libs/gst/base/gstbasesrc.c:
6299           Its "Since:" and not "@Since:". And remove an superflous cast.
6300
6301 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
6302
6303         * docs/libs/gstreamer-libs-sections.txt:
6304         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6305         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6306         (gst_base_sink_get_property), (gst_base_sink_render_object),
6307         (gst_base_sink_preroll_object),
6308         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6309         (gst_base_sink_change_state):
6310         * libs/gst/base/gstbasesink.h:
6311         Add a new last-buffer property that contains the last buffer used in
6312         basesink for preroll or rendering. useful for making snapshots.
6313         API: gst_base_sink_get_last_buffer()
6314         API: GstBaseSink::last-buffer
6315
6316 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6317
6318         * docs/gst/running.xml:
6319         * gst/gst.c:
6320         * gst/gstdebugutils.c:
6321         * gst/gstdebugutils.h:
6322         * tools/gst-launch.c:
6323           Improve bin graph dumping, by using the envvar to specify a path.
6324           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6325
6326 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6327
6328         * plugins/elements/gsttypefindelement.c:
6329           (gst_type_find_element_handle_event),
6330           (gst_type_find_element_activate):
6331           Post special error message if we can't determine the type of a stream
6332           because it's empty.
6333
6334 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6335
6336         * docs/gst/running.xml:
6337         * gst/gstdebugutils.c:
6338           Document new env-var. Add one log-line after dumpng a graph.
6339
6340 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6341
6342         * configure.ac:
6343           Ugly hack to put the (recently removed and non-portable, apparently)
6344           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6345           GNU ld, because without that 'make check' fails miserably on my debian
6346           stable box.  Someone with more knowledge of linker intricacies and
6347           portability issues than me fix this properly please.
6348
6349 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6350
6351         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6352         Reset last seen position after flushing so that we don't report the old
6353         position anymore.
6354
6355 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6356
6357         * gst/gstelementfactory.c: (gst_element_register):
6358         * gst/gsturi.h:
6359         Patch from Alessandro Decina adding get_type_full and
6360         get_protocols_full private vfuncs to the URIHandler interface
6361         to allow bindings to support creating URI handlers. 
6362         Partially fixes: #339279
6363         API: GstURIHandlerInterface::get_type_full
6364         API: GstURIHandlerInterface::get_protocols_full
6365
6366 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6367
6368         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6369         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6370         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6371         Make it so that pads are considered linked until a buffer is pushed
6372         and discovered otherwise. This avoids problems with decodebin2 hanging
6373         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6374         case.
6375
6376         Make sure we lock the multiqueue when updating the max-size properties.
6377         
6378         Fix a crash on Solaris in a debug statement in get_request_pad that
6379         passes a NULL string to GST_DEBUG. 
6380
6381         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6382         (run_output_order_test):
6383         Fix the test to allow the first buffer on not-linked pads to come out
6384         of sequence while multiqueue discovers that they are not-linked.
6385
6386 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6387
6388         * configure.ac:
6389         * libs/gst/check/Makefile.am:
6390         Use a custom export symbol regex for libgstcheck, as it needs
6391         to export symbols that don't match the standard GStreamer gst_*
6392         pattern, and  --export-dynamic is not portable (only works on 
6393         GNU ld)
6394
6395         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6396         (gst_check_setup_sink_pad):
6397         Make sure to pass a message parameter to the fail_* macros.
6398
6399         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6400         Fix some compiler warnings.
6401
6402 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6403
6404         * tests/check/gst/gststructure.c: (test_to_string):
6405           Disable test that checks that white spaces are not allowed
6406           in structure names or field names, since we need to
6407           support that for now for backwards compatibility reasons.
6408
6409 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6410
6411         * docs/gst/gstreamer-sections.txt:
6412         * gst/gsttaglist.c:
6413         * gst/gsttaglist.h:
6414           API: add GST_TAG_ARTIST_SORTNAME
6415           API: add GST_TAG_ALBUM_SORTNAME
6416           API: add GST_TAG_TITLE_SORTNAME
6417           Add tag variants for sorting (#414539).
6418
6419 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6420
6421         * gst/gststructure.c:
6422           Also allow white space for names so we don't break
6423           backwards compatibility.
6424
6425 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6426
6427         * docs/design/part-TODO.txt:
6428         * docs/design/part-segments.txt:
6429         * docs/design/part-streams.txt:
6430         Small updates.
6431
6432 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6433
6434         * docs/gst/gstreamer-sections.txt:
6435          Fixed documentation from my previous commit (added new API add
6436          gst_value_set_structure(), add gst_value_get_structure() and
6437          GST_VALUE_HOLDS_STRUCTURE).
6438
6439 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6440
6441         * gst/gstdebugutils.c:
6442           Reflow code to fix uninitialized variable warning.
6443
6444 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6445
6446         * gst/gstcaps.c: (gst_caps_to_string),
6447         (gst_caps_from_string_inplace):
6448         * gst/gststructure.c: (gst_structure_get_abbrs),
6449         (gst_structure_to_string), (gst_structure_from_string):
6450         * gst/gstvalue.c: (gst_value_set_structure),
6451         (gst_value_get_structure), (gst_value_serialize_structure),
6452         (gst_value_deserialize_structure), (_gst_value_initialize):
6453         * gst/gstvalue.h:
6454         * tests/check/gst/gststructure.c: (GST_START_TEST),
6455         (gst_structure_suite):
6456         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6457          Added GstStructure to gst_value_table and its related functions.
6458          Changed gst_structure_to_string to print ';' in the end.
6459          Changed gst_caps_to_string to not print ';' beteween its
6460          fields (structures) anymore and remove the lastes ';' from latest
6461          structure. Now it is possible to have nested structures.
6462          In addition, backward compatibilty is assured by accepting '\0' as
6463          end delimiter. Fixes: #487969.
6464          API: add gst_value_set_structure()
6465          API: add gst_value_get_structure()
6466          API: add GST_VALUE_HOLDS_STRUCTURE
6467
6468 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6469
6470         * gst/gstbus.c:
6471           When no GSource callback has been set up, tell developer
6472           to use a function that actually exists.
6473
6474 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6475
6476         * docs/gst/gstreamer-sections.txt:
6477         * gst/Makefile.am:
6478         * gst/gst.c:
6479         * gst/gst.h:
6480         * gst/gstdebugutils.c:
6481         * gst/gstdebugutils.h:
6482         * gst/gstinfo.c:
6483         * gst/gstinfo.h:
6484         * tools/gst-launch.c:
6485           Allow dumping pipelines as dot graphs. Fixes #456573.
6486
6487 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6488
6489         * gst/gststructure.c:
6490           Allow '+' as well, it can be part of media or mime types
6491           such as image/svg+xml.
6492
6493 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6494
6495         * docs/gst/gstreamer-sections.txt:
6496         * gst/gstbus.c:
6497         * gst/gstbus.h:
6498           API: add gst_bus_pop_filtered
6499           API: add gst_bus_timed_pop_filtered
6500           Two new functions for waiting for specific message types on the
6501           bus for a specified amount of time without iterating any main
6502           loops or main contexts.
6503
6504         * tests/check/gst/gstbus.c:
6505           Some tests for the new functions.
6506
6507 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6508
6509         * docs/libs/gstreamer-libs-sections.txt:
6510           Make gtk-doc ignore stuff it should ignore.
6511
6512 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6513
6514         * libs/gst/check/gstcheck.c:
6515         * libs/gst/check/gstcheck.h:
6516           Allow runtime selection of unit tests to run via the GST_CHECKS
6517           environment variable (test case function names, comma-separated).
6518
6519 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6520
6521         * gst/gststructure.c:
6522         * tests/check/gst/gststructure.c:
6523           Revert serialisation change and constrain structure-names after
6524           consensus on irc. Update api documentation to reflect the change.
6525
6526 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6527
6528         * gst/gststructure.c:
6529           Improve serialization and fix tests.
6530
6531         * tests/check/gst/gststructure.c:
6532           Add another test that covers why I actually did the previous structure
6533           change.
6534
6535 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6536
6537         * tools/gst-inspect.c: (print_element_info):
6538         Don't crash when inspecting an element.
6539
6540 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6541
6542         * tests/check/gst/gststructure.c:
6543           Add unit test for escaping of structure name when serialising
6544           and deserialising to/from strings.
6545
6546 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6547
6548         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6549         (gst_single_queue_new):
6550         * plugins/elements/gstqueue.c: (gst_queue_init),
6551         (gst_queue_push_one):
6552         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6553         upstream is tricked into thinking it can suggest a format downstream
6554         while downstream does not support that format. The real problem is that
6555         core calls acceptcaps when pushing a buffer with new caps, for which we
6556         do a little workaround by setting the caps on the srcpad ourselves
6557         before pushing the buffer (until this is figured out). Fixes #486758.
6558
6559 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6560
6561         * gst/gststructure.c:
6562         * gst/gstvalue.c:
6563           Add some more comments and debug output. Quote structure name to fix
6564           deserialisation of some strings.
6565
6566 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6567
6568         * gst/gstbuffer.h:
6569           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6570           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6571
6572 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6573
6574         * tools/gst-inspect.c:
6575           Save approx. 400 1 byte allocs when printing. Use API to acces element
6576           details.
6577
6578         * tools/gst-run.c:
6579           Avoid a strdup.
6580
6581         * tools/gst-xmlinspect.c:
6582           Use API to acces element details.
6583
6584 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6585
6586         * gst/gstinfo.c:
6587           Fix some spelling errors.
6588
6589 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6590
6591         * gst/gstbin.c: (bin_handle_async_done):
6592         Correctly set the next state if all of our async children commited their
6593         state. This makes sure we can actually cancel the state change in
6594         progress. Fixes a regression in Rhythmbox when seeking.
6595
6596 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6597
6598         * gst/gstbin.c:
6599           Don't shadow local variable.
6600
6601         * gst/gstinfo.c:
6602           Don't shadow global function name.
6603
6604 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6605
6606         * gst/gstelementfactory.c:
6607         * gst/gstpluginfeature.c:
6608         * gst/gstpluginfeature.h:
6609         * gst/gstregistrybinary.c:
6610         * gst/gstregistryxml.c:
6611         * gst/gsttypefind.c:
6612           Use already-interned string for the private GstPluginFeature
6613           plugin_name field.
6614
6615 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6616
6617         * docs/libs/gstreamer-libs-sections.txt:
6618           Add new API to docs; fixes the build.
6619
6620 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6621         
6622         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6623
6624         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6625         (gst_base_sink_event):
6626         * libs/gst/base/gstbasesink.h:
6627         Add function to wait for EOS, subclasses can use this to correctly wait
6628         for devices to drain before performing the EOS logic. Fixes #485343.
6629         API: gst_base_sink_wait_eos()
6630
6631 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6632
6633         * gst/gstplugin.h:
6634           Cast description string constants in GST_PLUGIN_DEFINE macros
6635           to a (gchar*) to make C++ code using these macros compile
6636           without warning with g++-4.2 (see #462737).  Even if slightly
6637           ugly, this seems preferable to putting the description strings
6638           into the GLib quark table or making the structure member a
6639           const gchar * and doing casts in core code that allocs and
6640           frees these strings, or requiring a cast in the C++ code.
6641
6642 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6643
6644         * gst/gstinfo.h:
6645           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6646           to print the entire class/function signature into the log
6647           file for C++ code.  This only affects C++ code, for C code
6648           everything remains the same.
6649
6650 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6651
6652         * gst/gstbin.c: (remove_from_queue):
6653         Work around a problem with pipelines containing (semi)loops until a
6654         proper, more complicated solution is ready. See #475455.
6655
6656 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6657
6658         * gst/gstplugin.c:
6659         * gst/gstplugin.h:
6660         * gst/gstregistrybinary.c:
6661         * gst/gstregistryxml.c:
6662           Put more strings into the GLib quark table. No need to keep
6663           a hundred-something copies of identical version strings,
6664           license strings, package name strings and package origin
6665           strings around. 
6666
6667 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6668
6669         * docs/manual/advanced-dataaccess.xml:
6670           Don't imply that it's okay to unconditionally change
6671           buffer data or buffer metadata in a pad probe callback,
6672           and a bunch of other comments. Fixes #430031.
6673
6674 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6675
6676         * win32/common/gstenumtypes.c:
6677         * win32/common/gstenumtypes.h:
6678         * win32/common/gstversion.h:
6679           Update generated files.
6680
6681 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6682
6683         * docs/manual/advanced-autoplugging.xml:
6684           Prefix section with broken code with a warning (see #342432).
6685
6686 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6687
6688         * docs/manual/appendix-integration.xml:
6689         * docs/manual/basics-init.xml:
6690           Call g_thread_init() before g_option_context_new() to
6691           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6692
6693 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6694
6695         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6696         (gst_base_sink_queue_object_unlocked),
6697         (gst_base_sink_queue_object), (gst_base_sink_event),
6698         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6699         When we received EOS and are waiting for when to post the EOS message,
6700         our state is prerolled and we should not return ASYNC.
6701         Reorganize some code paths to implement this behavior.
6702
6703         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6704         (gst_sinks_suite):
6705         Add unit test to verify above EOS fix.
6706
6707 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6708
6709         * plugins/elements/gsttypefindelement.c:
6710         (gst_type_find_element_have_type), (gst_type_find_element_init),
6711         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6712         Move detecting the input caps of the sinkpad to the setcaps function.
6713         This allows us to update the output caps when we receive new input caps
6714         instead of always using the first detected caps.
6715
6716 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6717
6718         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6719         (gst_base_sink_get_position):
6720         Don't try to preroll non-async elements after a flush.
6721         Subtract latency form clock times when reporting position.
6722
6723 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6724
6725         * gst/gstpad.c: (gst_pad_pause_task):
6726         * gst/gstutils.c:
6727         Small comment and documentation update.
6728
6729 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6730
6731         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6732         (gst_base_src_set_live), (gst_base_src_is_live),
6733         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6734         (gst_base_src_default_event), (gst_base_src_wait),
6735         (gst_base_src_do_sync), (gst_base_src_get_range),
6736         (gst_base_src_pad_get_range), (gst_base_src_loop),
6737         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6738         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6739         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6740         (gst_base_src_change_state):
6741         Rework the locking of basesrc in a similar fashion to basesink. We
6742         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6743         us to handle live sources and semi live ones much better.
6744         Simplify flushing.
6745         Fix unlocking when seeking, shutting down and pausing in live sources.
6746
6747 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6748
6749         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6750         Fix compilation again.
6751
6752 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6753
6754         * gst/gstelement.c:
6755           Use meaningful categories for the logs to clean the default one.
6756
6757 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6758
6759         * tests/check/pipelines/cleanup.c:
6760           Print message name and not just number.
6761
6762 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6763
6764         * docs/design/draft-tagreading.txt:
6765           Add some more thoughts.
6766
6767 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6768
6769         * tests/check/pipelines/simple-launch-lines.c:
6770           Print message name and not just number.
6771
6772 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6773
6774         * libs/gst/base/gsttypefindhelper.c:
6775           Speedup typefinding. This is work in progress (see #459862).
6776
6777 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6778
6779         * gst/gstplugin.c:
6780           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6781           Spotted by Josep Torra Valles <josep@fluendo.com>.
6782
6783 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6784
6785         * gst/gstclock.h:
6786           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6787           field has moved to GstObject.
6788
6789 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6790
6791         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6792         (gst_base_src_get_range), (gst_base_src_change_state):
6793         Call unlock for live sources so that they can't get stuck in _create and
6794         produce a buffer before they are set back to PLAYING.
6795
6796 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6797
6798         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6799         (gst_queue_locked_dequeue):
6800         Comment the segment-related code... in the PROPER function.
6801         See #482147 and my commit from yesterday.
6802
6803 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6804
6805         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6806         Also initialize the counter that calculates the first timestamp on a
6807         buffer correctly for non-live sources.
6808
6809 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6810
6811         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6812         Disable code that's breaking the current-time-level reporting.
6813         See #482147
6814
6815 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6816
6817         * docs/gst/gstreamer-sections.txt:
6818         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6819         as they shouldn't show up. Fixes the docs build.
6820
6821 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6822         
6823         * gst/gstinfo.h:
6824         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6825         Define M_PI which is used in files which are including gstinfo.h. 
6826         VS6 includes doesn't define it.
6827         * win32/common/libgstbase.def:
6828         * win32/common/libgstcontroller.def:
6829         * win32/common/libgstreamer.def:
6830         Add new exported functions and variables.
6831         * win32/vs6/libgstcontroller.dsp:
6832         * win32/vs6/libgstreamer.dsp:
6833         Update the list of files to build.
6834         
6835 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6836
6837         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6838
6839         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6840         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6841         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6842         Improve debugging. Fixes #480858.
6843
6844 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6845
6846         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6847
6848         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6849         First patch of code cleanups, use the macros and right arguments in the
6850         macros to signal and lock the queue. See #480858.
6851
6852 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6853
6854         * gst/gstbus.c: (poll_func):
6855         Improve debugging when dealing with _poll().
6856
6857 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6858
6859         * gst/gstregistryxml.c:
6860           Fix memory leak I introduced a few days ago.
6861
6862 2007-09-26  Michael Smith <msmith@fluendo.com>
6863
6864         * gst/gstbuffer.c: (gst_buffer_finalize):
6865           Make it once again possible to free GstBuffers in the default
6866           build.
6867           The poisoning scribbles on parts of the miniobject we need in
6868           order to free it.
6869           Fixes #480341
6870
6871 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6872
6873         * docs/gst/gstreamer-sections.txt:
6874         * gst/gsttaglist.c:
6875         * gst/gsttaglist.h:
6876         API: add GST_TAG_COMPOSER, fixes #459809.
6877
6878 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6879
6880         * gst/gstplugin.c:
6881         * gst/gstplugin.h:
6882         Add the 3-clause BSD license and the MIT/X11 license to the license
6883         list. Fixes #479784.
6884
6885 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6886
6887         * docs/faq/getting.xml:
6888           Add Q+A about different GStreamer versions (#364056).
6889
6890 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6891
6892         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6893         (gst_base_sink_event), (gst_base_sink_change_state):
6894         Return correct gboolean from query function.
6895
6896 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6897
6898         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6899         (gst_base_sink_event), (gst_base_sink_query),
6900         (gst_base_sink_change_state):
6901         Simplify latency query.
6902         When not synchronizing, we can report latency without querying the peer
6903         element.
6904
6905 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6906
6907         * gst/gstobject.h:
6908         * gst/gstvalue.c:
6909         Fix small typos in the docs.
6910
6911 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6912
6913         * docs/design/draft-latency.txt:
6914         * docs/design/draft-push-pull.txt:
6915         * docs/design/draft-tagreading.txt:
6916         * docs/design/part-MT-refcounting.txt:
6917         * docs/design/part-activation.txt:
6918         * docs/design/part-block.txt:
6919         * docs/design/part-element-source.txt:
6920         * docs/design/part-events.txt:
6921         * docs/design/part-gstbin.txt:
6922         * docs/design/part-gstelement.txt:
6923         * docs/design/part-gstobject.txt:
6924         * docs/design/part-gstpipeline.txt:
6925         * docs/design/part-messages.txt:
6926         * docs/design/part-preroll.txt:
6927         * docs/design/part-push-pull.txt:
6928         * docs/design/part-qos.txt:
6929         * docs/design/part-query.txt:
6930         * docs/design/part-scheduling.txt:
6931         * docs/design/part-seeking.txt:
6932         * docs/design/part-segments.txt:
6933         * docs/design/part-states.txt:
6934         Documentation updates and typo fixes.
6935
6936 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6937
6938         * plugins/elements/gstfakesink.c:
6939           Add some debug text to error message to indicate that
6940           we errored out on request.
6941
6942         * tools/gst-launch.c:
6943           When the state change to PLAYING fails, check for an
6944           error message on the bus and print it.
6945
6946 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6947
6948         translated by: Jorge González González <aloriel@gmail.com>
6949
6950         * po/LINGUAS:
6951         * po/es.po:
6952           Added Spanish translation.
6953
6954 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6955
6956         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6957         Fix printf arguments.
6958
6959 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6960
6961         * tests/check/generic/states.c:
6962           Improved state change unit test.
6963
6964 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6965
6966         * gst/gstbin.h:
6967           Move priv to the right place.
6968
6969         * gst/gstsystemclock.c:
6970           Add FIXME: and improve log.
6971
6972         * tests/check/Makefile.am:
6973         * tests/examples/manual/Makefile.am:
6974           Work with all types of registries.
6975
6976 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6977
6978         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6979         Don't unref the event after pushing it. Fixes #478401.
6980
6981 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6982
6983         * .cvsignore:
6984         * tests/examples/manual/.cvsignore:
6985           Ignore registries in any format.
6986
6987 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6988
6989         * gst/glib-compat-private.h:
6990           Add compatibility macro for g_intern_string() for
6991           GLib-2.8 (any reason we can't just bump the
6992           requirement to at least 2.10?)
6993
6994         * gst/gstpadtemplate.h:
6995         * gst/gstelementfactory.c:
6996         * gst/gstregistryxml.c:
6997         * gst/gstregistrybinary.c:
6998           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6999           up the internal code accordingly.  This shouldn't be a problem, since
7000           there is no reason external code could ever assume the string in such
7001           a structure is dynamically allocated unless it did that itself;  the
7002           use of g_strdup() is private to element factories.  The new code also
7003           saves some memory by putting pad template name strings into the GLib
7004           quark table instead of allocating them dynamically.
7005           Declaring this field constant fixes warnings with g++-4.2 when using
7006           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
7007
7008 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
7009
7010         * gst/gstelementfactory.c:
7011           Release static caps. Fixes #475723.
7012
7013 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
7014
7015         * gst/gstinfo.c:
7016         * gst/gstinfo.h:
7017           Make some internal API take const gchar * instead of just
7018           gchar * to avoid compiler warnings with g++-4.2.2 when
7019           passing string constants (partially fixes #478092).
7020
7021 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
7022
7023         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
7024         A latency query fails when one of the sinks fail.
7025
7026         * gst/gstelement.c: (gst_element_set_base_time):
7027         Improve debugging.
7028
7029 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
7030
7031         * gst/gstbin.c: (gst_bin_continue_func):
7032         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7033         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
7034         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
7035
7036         Fix minor compilation warnings shown with Forte.
7037
7038 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
7039
7040         * plugins/elements/gstqueue.c: (apply_buffer),
7041         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
7042         Measure queue level based on the diff between head and tail timestamps
7043         even when pushing the first buffer.
7044
7045 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7046
7047         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7048         (gst_base_sink_event), (gst_base_sink_change_state):
7049         Sinks that don't preroll can always be queried for the latency.
7050         Don't post ASYNC start when we are not async.
7051
7052 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7053
7054         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
7055         (gst_queue_handle_sink_event), (gst_queue_chain),
7056         (gst_queue_push_one), (gst_queue_handle_src_query),
7057         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
7058         * plugins/elements/gstqueue.h:
7059         When downstream returns UNEXPECTED from pushing a buffer, don't try to
7060         push more buffers but allow pushing of EOS and NEWSEGMENT.
7061         Add some more debug info here and there. Fixes #476514.
7062
7063 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7064
7065         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7066         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
7067         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7068         (gst_base_sink_set_flushing), (gst_base_sink_query),
7069         (gst_base_sink_change_state):
7070         Latency query is allowed after we are prerolled. Introduce a new flag
7071         for this and stop abusing other variables.
7072
7073 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7074
7075         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7076         Push OOB events downstream when we get them in send_event. This allows
7077         the application to insert events in the pipeline.
7078         Add some more comments.
7079
7080 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7081
7082         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7083         (do_bin_latency), (gst_bin_change_state_func):
7084         * gst/gstpipeline.c: (gst_pipeline_change_state):
7085         Move latency query from GstPipeline to GstBin so that we can also
7086         use it when async-handling is enabled on bins.
7087
7088 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7089
7090         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7091         (gst_base_src_do_sync), (gst_base_src_change_state):
7092         Update docs.
7093         Clean up the timestamping and syncing code for pseudo live sources.
7094
7095 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
7096
7097         Patch by: Steve Fink  <sphink gmail com>
7098
7099         * docs/manual/appendix-checklist.xml:
7100           Mention less -R switch in the section about debug output (#474055).
7101
7102 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7103
7104         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7105         Queue can latency to the pipeline up to the configured max size in time.
7106         Report this fact in the latency query.
7107
7108 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7109
7110         Patch by: Sebastien Moutte <sebastien at moutte dot net>
7111
7112         * libs/gst/controller/gstinterpolation.c:
7113         * libs/gst/controller/gstlfocontrolsource.c:
7114         Use gst_guint64_to_gdouble() when converting from a uint64 or
7115         GstClockTime to double to fix the build on win32. Fixes #474371.
7116
7117 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7118
7119         * gst/gstbuffer.c: (gst_buffer_finalize):
7120         Implement poisoning for GstBuffer if --enable-poisoning is specified.
7121         When finalizing a buffer the complete struct is filled with 0xff,
7122         thus making a use of the buffer after the final unref impossible.
7123
7124 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7125
7126         * tests/check/libs/controller.c: (GST_START_TEST):
7127         Use fail_unless_equals_int(a, b) instead of
7128         fail_unless_equals (a == b) to get better output on failures.
7129
7130 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7131
7132         * tests/check/gst/gsturi.c:
7133           Also check for the other file URI variant on win32.
7134
7135 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7136
7137         * gst/gsturi.c: (gst_uri_get_location):
7138           If there's no hostname, we want to return 'c:/foo/bar.txt'
7139           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7140
7141         * tests/check/gst/gsturi.c:
7142           Unit test for the above and a few more things.
7143
7144 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7145
7146         * docs/design/part-live-source.txt:
7147         Add docs on how live sources should timestamp.
7148
7149         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7150         Add some more debug info.
7151         For subclasses that are live and like to sync, add aditional startup
7152         latency to sync time and timestamps so that we timstamp according to the
7153         design doc.
7154
7155 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7156
7157         * gst/gstbuffer.c:
7158           Also do a g_type_class_ref() for the subbuffer type in
7159           the init function.
7160
7161 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7162
7163         * docs/gst/gstreamer-sections.txt:
7164         * gst/gstpad.c: (gst_pad_peer_query):
7165         * gst/gstpad.h:
7166         Add function to perform a query on the peer of a pad.
7167         API: gst_pad_peer_query()
7168
7169 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
7170
7171         * tests/check/gst/gstsystemclock.c:
7172           Cleanup the test a little (use gst-logging and not g_message). Improve
7173           test to check if a wait reached the target.
7174
7175 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7176
7177         * docs/libs/gstreamer-libs-sections.txt:
7178           Add new API to docs and fix the build.
7179
7180 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
7181
7182         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7183         (gst_base_src_init), (gst_base_src_set_do_timestamp),
7184         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7185         (gst_base_src_get_property), (gst_base_src_do_sync):
7186         * libs/gst/base/gstbasesrc.h:
7187         Add property to make the basesrc timestamp buffers based on the current
7188         running time.
7189         API: GstBaseSrc::do-timestamp
7190         API: gst_base_src_set_do_timestamp()
7191         API: gst_base_src_get_do_timestamp()
7192
7193 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
7194
7195         * docs/random/release:
7196           Really make sure translations are up-to-date before
7197           a release (#465010).
7198
7199 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
7200
7201         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7202         Always destroy the timer, also in error cases.
7203
7204 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7205
7206         * docs/manual/highlevel-xml.xml:
7207         Fix XML example code. Fixes #472714.
7208
7209 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7210
7211         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7212         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7213         (gst_base_sink_query):
7214         Protect eos and have_preroll with the OBJECT lock so we don't need to
7215         take the PREROLL lock when querying the latency. Fixes #473846.
7216
7217 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
7218
7219         * gst/gstelement.c:
7220           Give some log-messages a category.
7221
7222 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
7223
7224         * gst/gststructure.c:
7225         (gst_structure_fixate_field_nearest_fraction):
7226         Fix fraction list fixation code. Take the fraction with the smallest
7227         difference with the target instead of the first one in the list.
7228
7229         * tests/check/gst/gststructure.c: (GST_START_TEST),
7230         (gst_structure_suite):
7231         Added test to verify correct fraction list fixation behaviour.
7232
7233 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
7234
7235         * win32/common/libgstreamer.def:
7236           Export gst_bus_add_signal_watch too.
7237
7238 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
7239
7240         * docs/libs/gstreamer-libs-sections.txt:
7241         Add new methods to docs.
7242
7243         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7244         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7245         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7246         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7247         * libs/gst/base/gstbasesink.h:
7248         Add ts-offset property to fine-tune the synchronisation.
7249         API: GstBaseSink::ts-offset property
7250         API: gst_base_sink_set_ts_offset()
7251         API: gst_base_sink_get_ts_offset()
7252
7253 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
7254
7255         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7256         (gst_base_sink_init), (gst_base_sink_set_sync),
7257         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7258         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7259         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7260         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7261         (gst_base_sink_get_property), (gst_base_sink_change_state):
7262         * libs/gst/base/gstbasesink.h:
7263         Add async property to instruct the sink never to inform the parent about
7264         ASYNC state changes, update docs.
7265         Check argument with g_return_* for the public functions.
7266         API: GstBaseSink::async property
7267         API: gst_base_sink_set_async_enabled()
7268         API: gst_base_sink_is_async_enabled()
7269
7270 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
7271
7272         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7273         Improve debugging.
7274
7275         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7276         (gst_base_src_default_query), (gst_base_src_wait),
7277         (gst_base_src_do_sync), (gst_base_src_change_state):
7278         Rearrange some code so that we can add support for measuring the 
7279         startup latency.
7280
7281 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
7282
7283         * docs/random/ensonic/dynlink.txt:
7284           More thoughs on this.
7285
7286         * plugins/elements/gstcapsfilter.c:
7287           Add bugzilla ticket number to FIXME comment.
7288
7289 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
7290
7291         * docs/design/part-TODO.txt:
7292         * docs/design/part-block.txt:
7293         Update some docs.
7294
7295 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7296
7297         * gst/Makefile.am:
7298           Revert patch which uses $(gst_headers) instead of $^ because it
7299           breaks make dist.
7300
7301 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7302
7303         * tests/check/gst/gstbin.c: (GST_START_TEST):
7304           Fix leaks in the new unit test.
7305
7306 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7307
7308         * gst/gst.c:
7309           Don't use GST_INFO before the debug system is actually initialised
7310           (shouldn't do any harm, but won't print anything either, so we can
7311           just as well remove it).
7312
7313         * gst/gstinfo.h:
7314           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7315           compilers that don't support variadic macros (such as MSVC), should
7316           check for debug_level <= __gst_debug_min as well, since that's the
7317           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7318           inline helper functions. Should improve performance a bit, but also
7319           makes sure uses of GST_INFO et.al are ignored if the debugging
7320           system isn't initialised yet (instead of printing an assertion
7321           failure).
7322
7323 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7324
7325         patch by: David Nečas <yeti@physics.muni.cz>
7326
7327         * gst/Makefile.am:
7328           Replace some non portable makefile constructs.
7329
7330 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7331
7332         * common/gtk-doc-plugins.mak:
7333           Grrrrr. Don't remove the types file on make clean.
7334
7335 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7336
7337         * tools/gst-launch.1.in:
7338         Add colorspace to example pipeline. Fixes #458274.
7339
7340 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7341
7342         * docs/random/release:
7343           The release manager should run 'make download-po' before making a
7344           release to make sure translations are up-to-date.
7345
7346         * po/LINGUAS:
7347         * po/be.po:
7348         * po/pl.po:
7349         * po/rw.po:
7350           Add some new translations.
7351
7352 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7353
7354         * tools/gst-launch.c: (event_loop), (main):
7355         Don´t try to do any state management when a live pipeline posts
7356         buffering messages.
7357         Also make the buffering string translatable.
7358
7359 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7360
7361         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7362         (bin_handle_async_start), (gst_bin_handle_message_func):
7363         Improve debugging.
7364         When adding elements, insert messages into the bus of the newly added
7365         element and make sure the element is the source of the message. This
7366         allows the parent bin to intercept the message and do the
7367         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7368         messages to the app (which is not allowed).
7369         Update some docs.
7370
7371         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7372         Fix testsuite so that is does not work around messages that should not
7373         have been posted in the first place.
7374
7375 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7376
7377         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7378         (update_degree), (gst_bin_sort_iterator_next):
7379         Fix annoying bug in the sorted iterator where a sink that is not really
7380         a sink (when it has downstream links) screwed up the iterator.
7381
7382         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7383         Unit test to verify the fix.
7384
7385 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7386
7387         * gst/gstmessage.h:
7388         Add some more docs for the messages.
7389
7390         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7391         (gst_base_sink_query):
7392         Add some more debugging.
7393
7394         * tools/gst-launch.c: (event_loop):
7395         When interrupting, don't try to set pipeline to PAUSED twice.
7396
7397 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7398
7399         
7400         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7401         (bin_handle_async_start), (gst_bin_handle_message_func):
7402         Move ASYNC_START message posting to where it belongs, similar to
7403         async_done. 
7404         Don't post ASYNC_START when we are in error. 
7405         Post ASYNC_START when we added an async element to a bin.
7406
7407 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7408
7409         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7410         generation from vargs. Fixes #466595.
7411
7412 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7413
7414         * gst/gstbin.c: (gst_bin_element_set_state):
7415         Always change the state of a NO_PREROLL element even if it has ASYNC
7416         elements inside (in case of a bin).
7417
7418         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7419         Unit test for this case.
7420
7421 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7422
7423         * libs/gst/check/gstbufferstraw.c:
7424         * libs/gst/check/gstcheck.h:
7425         * libs/gst/controller/gstcontroller.c:
7426         * libs/gst/controller/gstcontrolsource.h:
7427         * libs/gst/controller/gstlfocontrolsource.h:
7428         * plugins/elements/gstcapsfilter.h:
7429         * plugins/elements/gstfdsink.h:
7430         * plugins/elements/gstfdsrc.h:
7431           Add more missing docs.
7432
7433 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7434
7435         * gst/gststructure.c:
7436         Add Since tag to docs.
7437
7438 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7439
7440         * docs/gst/gstreamer-sections.txt:
7441         * gst/gststructure.c: (gst_structure_get_uint):
7442         * gst/gststructure.h:
7443         Add function to get uint from a structure.
7444         API: gst_structure_get_uint()
7445
7446 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7447
7448         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7449         (gst_caps_intersect):
7450         Fix proper check for simple caps.
7451
7452 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7453
7454         * docs/gst/Makefile.am:
7455         * docs/libs/Makefile.am:
7456           Remove cruft and do some cleanups.
7457
7458         * docs/gst/gstreamer-docs.sgml:
7459         * docs/libs/gstreamer-libs-docs.sgml:
7460           Prepare for comming gtkdoc features (rebase against online docs).
7461
7462 2007-08-10  Michael Smith <msmith@fluendo.com>
7463
7464         * docs/gst/gstreamer-sections.txt:
7465           Add gst_registry_add_path to docs.
7466
7467 2007-08-10  Michael Smith <msmith@fluendo.com>
7468
7469         * gst/gstregistry.h:
7470           Add gst_registry_add_path, which was missing from this header.
7471
7472 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7473
7474         * libs/gst/controller/gstlfocontrolsource.c:
7475           Printf format fix.
7476
7477 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7478
7479         * libs/gst/base/gstbasesink.c:
7480           Don't send an async_start message during downwards state change if 
7481           target state is less than READY
7482
7483 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7484
7485         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7486
7487         * po/LINGUAS:
7488         * po/hu.po:
7489           Added Hungarian translation.
7490
7491 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7492
7493         * po/fi.po:
7494         * po/it.po:
7495         * po/nl.po:
7496         * po/sv.po:
7497         * po/uk.po:
7498           Updated translations.
7499
7500 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7501
7502         * libs/gst/controller/Makefile.am:
7503         Dist gstlfocontrolsourceprivate.h
7504
7505 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7506
7507         * docs/libs/gstreamer-libs.types:
7508         Don't register the enum type gst_lfo_waveform_get_type() in the
7509         .types file - only GObject derived types belong.
7510
7511 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7512
7513         Patch by: <arenevier at fdn dot fr>
7514
7515         * gst/gstbuffer.h:
7516         Remove comma from last element in enum to avoid compile errors when
7517         using -pendantic. Fixes #464366.
7518
7519 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7520
7521         * docs/design/part-TODO.txt:
7522         Add some more TODO items
7523
7524         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7525         Improve debugging.
7526
7527         * gst/gstcaps.c: (gst_caps_intersect):
7528         Optimize trivial intersection case between identical caps pointers.
7529
7530         * gst/gstelement.c: (gst_element_continue_state),
7531         (gst_element_set_state_func):
7532         * gst/gstpad.c:
7533         Fix spelling and grammar mistakes.
7534
7535 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7536
7537         * po/POTFILES.in:
7538         * po/POTFILES.skip:
7539           Update POTFILES. Fixes #461599.
7540
7541 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7542
7543         * gst/gst.c:
7544         Fix confusing typo in debug output.
7545
7546 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7547
7548         reviewed by: Stefan Kost <ensonic@users.sf.net>
7549
7550         * libs/gst/controller/Makefile.am:
7551         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7552         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7553         (gst_lfo_control_source_new),
7554         (gst_lfo_control_source_set_waveform),
7555         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7556         (gst_lfo_control_source_finalize),
7557         (gst_lfo_control_source_dispose),
7558         (gst_lfo_control_source_set_property),
7559         (gst_lfo_control_source_get_property),
7560         (gst_lfo_control_source_class_init):
7561         * libs/gst/controller/gstlfocontrolsource.h:
7562         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7563         API: Add GstLFOControlSource, a control source that gives values
7564         for specific timestamps based on several periodic waveforms.
7565         Fixes #459717.
7566
7567         * tests/check/libs/controller.c: (GST_START_TEST),
7568         (gst_controller_suite):
7569         * docs/libs/gstreamer-libs-docs.sgml:
7570         * docs/libs/gstreamer-libs-sections.txt:
7571         * docs/libs/gstreamer-libs.types:
7572         Add documentation and unit tests for GstLFOControlSource.
7573
7574 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7575
7576         * configure.ac:
7577         Back to CVS
7578
7579 === release 0.10.14 ===
7580
7581 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7582
7583         * configure.ac:
7584           releasing 0.10.14, "Breathing Vacuum"
7585
7586 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7587
7588         * gst/gstelement.c: (gst_element_class_set_details_simple):
7589         * gst/gstelement.h:
7590           Make strings passed to gst_element_class_set_details_simple()
7591           constant, as they should be (#462752).
7592
7593 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7594
7595         * gst/gstbin.c: (gst_bin_change_state_func),
7596         (bin_handle_async_done), (gst_bin_handle_message_func):
7597         Don't forget about the fact that some element went ASYNC even after a
7598         resync. This makes us post the ASYNC_DONE message correctly.
7599         Fixes #462558.
7600
7601 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7602
7603         * gst/gstregistry.c: (gst_registry_add_feature):
7604         When replacing an existing feature in the registry, make sure to
7605         continue holding a reference until we've replaced the name string
7606         within our feature hash table. Make sure to use g_hash_table_replace
7607         instead of g_hash_table_insert to ensure the new name string is used
7608         as a key instead of the old one that we're about to free.
7609         Fixes: #462085
7610
7611 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7612
7613         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7614         (gst_plugin_feature_set_name):
7615         Revert patch from #459466 until after the release and we can work
7616         out exactly what the problem is (if any).
7617
7618 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7619
7620         * docs/gst/gstreamer-sections.txt:
7621         * gst/gsttaglist.c:
7622         * gst/gsttaglist.h:
7623           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7624
7625 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7626
7627         * docs/libs/Makefile.am:
7628         Include our build-prefix libs and includes before the generic ones to
7629         avoid linking against the installed libs when we want the build-tree
7630         ones.
7631
7632 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7633
7634         Patch by: Steve Fink  <sphink gmail com>
7635
7636         * docs/pwg/building-testapp.xml:
7637           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7638           if people try to build or install the example from the plugin
7639           template against a GStreamer from package using the configure
7640           defaults.
7641
7642 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7643
7644         Patch by: Steve Fink  <sphink gmail com>
7645
7646         * tools/gst-inspect.1.in:
7647           Document --print-all and --print-plugin-auto-install-info command
7648           line options in man page.
7649
7650 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7651
7652         * docs/gst/gstreamer-sections.txt:
7653         Add docs for new api function.
7654
7655 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7656
7657         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7658         * gst/gstelementfactory.h:
7659         API: gst_element_factory_has_interface()
7660         Added method to check if an element factory implements a named
7661         interface.
7662
7663 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7664
7665         * configure.ac:
7666         * docs/gst/gstreamer.types.in:
7667           Another conditional doc check.
7668
7669         * gst/gstmessage.c:
7670         * gst/gstparamspecs.h:
7671         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7672         * gst/gstvalue.c:
7673         * gst/gstxml.h:
7674           API-doc fixes.
7675
7676 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7677
7678         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7679         (gst_registry_binary_load_feature),
7680         (gst_registry_binary_load_plugin),
7681         (gst_registry_binary_read_cache):
7682           Print error just once and with additional info.
7683
7684 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7685
7686         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7687         (helper_find_suggest), (helper_find_get_length),
7688         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7689         (gst_type_find_helper_for_buffer):
7690           Cleanup the typefindhelper code and add private doc comments.
7691
7692 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7693
7694         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7695         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7696         Fix capsfilter for cases where the caps set on capsfilter will provide
7697         additional information.
7698         Fixes #449197
7699
7700 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7701
7702         * gst/gsttypefindfactory.c:
7703           Fix docs that recommened wrong function to use.
7704
7705 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7706
7707         * tools/gst-inspect.c: (print_plugin_features):
7708           Also give media-type for typefinders in element output.
7709
7710 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7711
7712         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7713         (gst_registry_remove_features_for_plugin_unlocked),
7714         (gst_registry_add_feature), (gst_registry_remove_feature),
7715         (gst_registry_lookup_feature_locked):
7716         * gst/gstregistry.h:
7717           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7718           Fixes #459501.
7719
7720 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7721
7722         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7723         (gst_plugin_feature_set_name):
7724           Avoid double memory usage for pluginfeature names. Fixes #459466.
7725
7726 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7727
7728         * gst/gstpad.h:
7729           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7730           driving the pipeline may need to explicitly check for NOT_LINKED as
7731           well, since IS_FATAL doesn't cover that.
7732
7733 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7734
7735         * docs/pwg/advanced-types.xml:
7736           Fix typo and duplicate entry in video formats list.
7737
7738 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7739
7740         * libs/gst/controller/gstinterpolation.c:
7741         Also round to the nearest int when using cubic interpolation.
7742
7743 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7744
7745         * libs/gst/controller/gstinterpolation.c:
7746         When linearly interpolating integer types, round to the nearest int
7747         by adding 0.5. Don't do it for float/double types.
7748         Fixes the failing controller test on my machine, which is somehow
7749         rounding differently than on the buildbots.
7750
7751 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7752
7753         * tools/gst-plot-timeline.py:
7754           Better log parsing (categories can have -). Adjust text vs. lines, so
7755           that they span the same y-range.        
7756
7757 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7758
7759         * docs/random/ensonic/audiobaseclasses.txt:
7760         * docs/random/ensonic/dynlink.txt:
7761         * docs/random/ensonic/profiling.txt:
7762           Save my thoughts.
7763
7764         * docs/random/moving-plugins:
7765           Add note to use g_assert type macros.
7766
7767 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7768
7769         * configure.ac:
7770         * libs/gst/check/Makefile.am:
7771           Add libm check as we use in for plugins.
7772
7773 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7774
7775         * gst/gstbin.c: (gst_bin_continue_func):
7776         Check that the state_cookie hasn't changed since the continue_func
7777         was scheduled. Avoids problems where the state changes back to
7778         something it shouldn't be because it was changed in the meantime.
7779
7780 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7781
7782         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7783         (gst_registry_binary_save_string),
7784         (gst_registry_binary_save_pad_template),
7785         (gst_registry_binary_save_feature),
7786         (gst_registry_binary_save_plugin),
7787         (gst_registry_binary_load_feature),
7788         (gst_registry_binary_load_plugin),
7789         (gst_registry_binary_read_cache):
7790           Fix memory leak. Be less verbose in the log.
7791
7792 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7793
7794         * tests/check/elements/.cvsignore:
7795         Add file to cvsignore as commanded.
7796
7797 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7798
7799         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7800         (mq_dummypad_event), (run_output_order_test):
7801         Use a GStaticMutex to protect all cases where libcheck
7802         fail_if/fail_unless macros might be called from multiple threads
7803         simultaneously to avoid errors like:
7804           "check_pack.c:107: :-1081725400:Bad message type arg"
7805
7806 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7807
7808         * tests/check/pipelines/stress.c: (GST_START_TEST):
7809         Make sure we set the pipeline back to the NULL state before
7810         dropping our final reference.
7811
7812 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7813
7814         * tests/check/elements/tee.c: (GST_START_TEST):
7815         Make the tee stress-test a little less stressful so it doesn't just
7816         time out on slow-machines, and remove a small race when it's starting 
7817         up by adding a get_state() call.
7818
7819 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7820
7821         * gst/gst.c:
7822           Avoid reading registry twice on startup. Fixes #457322.
7823
7824 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7825
7826         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7827         * pkgconfig/gstreamer-check.pc.in:
7828         Substitute the CFLAGS for libcheck into our .pc file too so that
7829         dependent modules will pick it up properly if libcheck is installed
7830         into some other prefix.
7831
7832 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7833
7834         * configure.ac:
7835         Revert the pkg-config check for libcheck, since it pulls in the
7836         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7837         a proper solution, either from the check project, or something else.
7838
7839 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7840
7841         * configure.ac:
7842           Use pkg-config to locate check.
7843
7844 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7845
7846         * gst/gsttaglist.c:
7847           Fix doc syntax.
7848
7849         * gst/gstutils.c:
7850         * gst/gstutils.h:
7851           Add deprecation guards.
7852
7853         * libs/gst/base/gstcollectpads.h:
7854           Don't document object (this is implicitly private).
7855
7856 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7857
7858         * gst/gststructure.c: (gst_structure_parse_value):
7859           When deserialising foo=bar without a type cast, check if it's a
7860           boolean before falling back to a string type, otherwise things like
7861           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7862           because the filtercaps end up having a signed=(string)true field,
7863           which causes problems later when intersection caps.
7864
7865         * tests/check/gst/gststructure.c: (GST_START_TEST):
7866           Add a unit test for this.
7867
7868 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7869
7870         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7871
7872         * libs/gst/controller/Makefile.am:
7873         * libs/gst/controller/gstcontroller.c:
7874         (gst_controlled_property_add_interpolation_control_source),
7875         (gst_controlled_property_new), (gst_controlled_property_free),
7876         (gst_controller_find_controlled_property),
7877         (gst_controller_new_valist), (gst_controller_new_list),
7878         (gst_controller_new), (gst_controller_remove_properties_valist),
7879         (gst_controller_remove_properties_list),
7880         (gst_controller_remove_properties),
7881         (gst_controller_set_property_disabled),
7882         (gst_controller_set_disabled), (gst_controller_set_control_source),
7883         (gst_controller_get_control_source), (gst_controller_get),
7884         (gst_controller_sync_values), (gst_controller_get_value_array),
7885         (_gst_controller_dispose), (gst_controller_get_type),
7886         (gst_controlled_property_set_interpolation_mode),
7887         (gst_controller_set), (gst_controller_set_from_list),
7888         (gst_controller_unset), (gst_controller_unset_all),
7889         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7890         * libs/gst/controller/gstcontroller.h:
7891         * libs/gst/controller/gstcontrollerprivate.h:
7892         * libs/gst/controller/gstcontrolsource.c:
7893         (gst_control_source_class_init), (gst_control_source_init),
7894         (gst_control_source_get_value),
7895         (gst_control_source_get_value_array), (gst_control_source_bind):
7896         * libs/gst/controller/gstcontrolsource.h:
7897         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7898         (gst_object_get_control_source):
7899         * libs/gst/controller/gstinterpolation.c:
7900         (gst_interpolation_control_source_find_control_point_node),
7901         (gst_interpolation_control_source_get_first_value),
7902         (_interpolate_none_get), (interpolate_none_get),
7903         (interpolate_none_get_boolean_value_array),
7904         (interpolate_none_get_enum_value_array),
7905         (interpolate_none_get_string_value_array),
7906         (_interpolate_trigger_get), (interpolate_trigger_get),
7907         (interpolate_trigger_get_boolean_value_array),
7908         (interpolate_trigger_get_enum_value_array),
7909         (interpolate_trigger_get_string_value_array):
7910         * libs/gst/controller/gstinterpolationcontrolsource.c:
7911         (gst_control_point_free), (gst_interpolation_control_source_reset),
7912         (gst_interpolation_control_source_new),
7913         (gst_interpolation_control_source_set_interpolation_mode),
7914         (gst_interpolation_control_source_bind),
7915         (gst_control_point_compare), (gst_control_point_find),
7916         (gst_interpolation_control_source_set_internal),
7917         (gst_interpolation_control_source_set),
7918         (gst_interpolation_control_source_set_from_list),
7919         (gst_interpolation_control_source_unset),
7920         (gst_interpolation_control_source_unset_all),
7921         (gst_interpolation_control_source_get_all),
7922         (gst_interpolation_control_source_get_count),
7923         (gst_interpolation_control_source_init),
7924         (gst_interpolation_control_source_finalize),
7925         (gst_interpolation_control_source_dispose),
7926         (gst_interpolation_control_source_class_init):
7927         * libs/gst/controller/gstinterpolationcontrolsource.h:
7928         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7929         API: Refactor GstController into the core controller which can take
7930         a GstControlSource for providing actual values for timestamps.
7931         Implement a interpolation control source and use this for backward
7932         compatibility, deprecate a bunch of functions that are now handled
7933         by GstControlSource or GstInterpolationControlSource.
7934         Make it possible to disable the controller completely or only for
7935         specific properties. Fixes #450711.
7936         * docs/libs/gstreamer-libs-docs.sgml:
7937         * docs/libs/gstreamer-libs-sections.txt:
7938         * docs/libs/gstreamer-libs.types:
7939         Add new functions and classes to the docs.
7940         * tests/check/libs/controller.c: (GST_START_TEST),
7941         (gst_controller_suite):
7942         * tests/examples/controller/audio-example.c: (main):
7943         Port unit test and example to the new API and add some new
7944         unit tests.
7945
7946 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7947
7948         Patch by: Mark Nauwelaerts <manauw at skynet be>
7949
7950         * plugins/elements/gstmultiqueue.c:
7951         (gst_multi_queue_get_internal_links), (apply_buffer),
7952         (single_queue_overrun_cb), (gst_single_queue_new):
7953         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7954         the pipeline layout can be tracked correctly. Fixes #453732.
7955
7956 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7957
7958         * docs/gst/Makefile.am:
7959         * docs/libs/Makefile.am:
7960         * docs/plugins/Makefile.am:
7961           Simplify --extra-dir as gtkdoc scans recursively.
7962
7963 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7964
7965         * tools/gst-launch.c: (main):
7966         When we got an error, there is no point in waiting for preroll when
7967         shutting down.
7968
7969 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7970
7971         * plugins/elements/gsttee.c: (gst_tee_base_init),
7972         (gst_tee_request_new_pad), (gst_tee_release_pad),
7973         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7974         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7975         (gst_tee_chain):
7976         Be a lot smarter when deciding what srcpad to use for proxying
7977         the buffer_alloc. Also handle pad added/removed when doing so.
7978         Fixes #357959.
7979         Keep track of what pads we already pushed on in case we have pads
7980         added/removed while pushing. Fixes #374639 
7981
7982         * tests/check/Makefile.am:
7983         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7984         (tee_suite):
7985         Added unit test for pad resync.
7986
7987 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7988
7989         * po/nl.po:
7990         * po/sv.po:
7991           Updated translations.
7992
7993 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7994
7995         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7996
7997         * po/LINGUAS:
7998         * po/fi.po:
7999           Added new Finnish translation.
8000
8001 2007-06-28  Wim Taymans  <wim@fluendo.com>
8002
8003         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8004         (single_queue_overrun_cb):
8005         When figuring out when a queue is filled, use our internal time estimate
8006         based on segments, just like check_full does.
8007
8008 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
8009
8010         * gst/gstminiobject.c: (gst_mini_object_get_type):
8011           Remove 3 do-nothing methods.
8012
8013 2007-06-27  Wim Taymans  <wim@fluendo.com>
8014
8015         Patch by: Tim Angus <tim at ngus dot net>
8016
8017         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8018         (gst_capsfilter_set_property):
8019         Take a reference instead of a copy when setting "caps".
8020         Fix documentation to clarify this behaviour. Fixes #449414.
8021
8022 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
8023
8024         * gst/gstindexfactory.c: (gst_index_factory_get_type):
8025         * gst/gstplugin.c: (gst_plugin_init):
8026         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
8027         * gst/gstquery.c: (gst_query_get_type):
8028         * gst/gstregistry.c: (gst_registry_init):
8029         * gst/gsturi.c: (gst_uri_handler_base_init):
8030           Remove empty instance_init() functions to save relocs and lessen the
8031           noise. Remove some of the function prototypes that are doubled by
8032           G_DEFINE_TYPE.
8033           
8034 2007-06-27  Wim Taymans  <wim@fluendo.com>
8035
8036         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
8037
8038         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
8039         Add peer and direction in the XML serialisation of ghostpads.
8040         Fixes #449226.
8041
8042 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
8043
8044         * configure.ac:
8045           Preserve useful information, thanks Tim.
8046
8047 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
8048
8049         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8050         (gst_single_queue_flush), (apply_segment), (apply_buffer),
8051         (gst_single_queue_push_one), (gst_multi_queue_loop),
8052         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8053         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
8054         (compute_high_id), (gst_single_queue_new):
8055         * plugins/elements/gstmultiqueue.h:
8056         Take the multiqueue lock when updating the fill level so we don't get
8057         confused. 
8058
8059         After applying a buffer or event on the src pad segment, make sure to
8060         call gst_data_queue_limits_changed() to get the data queue to unblock
8061         and check the filled state again.
8062         
8063         Rework the not-linked pad handling so the logic is that not-linked 
8064         pads can push as fast as they like, but only so they never get 
8065         ahead of any linked pads.
8066
8067         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8068         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8069         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8070
8071         Add a test to check that not-linked pads always stay behind
8072         linked pads.
8073
8074         Fixes: #430682
8075
8076 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
8077
8078         * docs/random/release:
8079           Some updates to the release procedure.
8080
8081 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
8082
8083         * gst/gstelementfactory.c: (__gst_element_details_clear):
8084           Microoptimization that saves stunning 80 bytes.
8085
8086 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
8087
8088         * docs/plugins/gstreamer-plugins.args:
8089         * docs/plugins/inspect/plugin-coreelements.xml:
8090         * docs/plugins/inspect/plugin-coreindexers.xml:
8091           Update docs with caps info.
8092
8093 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8094
8095         * po/it.po:
8096           Updated Italian translation.
8097
8098 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8099
8100         * ChangeLog:
8101         * po/vi.po:
8102           Update Vietnamese translations.
8103
8104 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8105
8106         * libs/gst/base/gstbasesink.c:
8107           Remove unused signal enum.
8108
8109 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8110
8111         * docs/gst/gstreamer-sections.txt:
8112         * gst/gstelement.c:
8113         * gst/gstutils.c: (gst_type_register_static_full):
8114         Beef up and include the docs for gst_type_register_static_full and
8115         gst_element_class_set_details_simple and add the API keyword
8116         in the ChangeLog.
8117
8118 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8119
8120         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8121         (update_time_level), (gst_single_queue_push_one),
8122         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8123         (single_queue_overrun_cb), (single_queue_underrun_cb),
8124         (single_queue_check_full):
8125         Fix setting max-* properties after adding queues.
8126         Use IS_FILLED for checking visible items.
8127         Signal overrun if multiple queues overrun.
8128         Add extra debug output.
8129         Patch by: Wim Taymans <wim@fluendo.com>
8130
8131 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
8132
8133         * gst/gstelement.c: (gst_element_class_set_details_simple):
8134         * gst/gstelement.h:
8135         * gst/gstutils.c: (gst_type_register_static_full):
8136         * gst/gstutils.h:
8137         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8138         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8139         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8140         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8141         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8142         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8143         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8144         * plugins/elements/gstidentity.c: (gst_identity_base_init):
8145         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8146         * plugins/elements/gstqueue.c: (gst_queue_base_init),
8147         (apply_buffer), (gst_queue_chain):
8148         * plugins/elements/gsttee.c: (gst_tee_base_init):
8149         * plugins/elements/gsttypefindelement.c:
8150         (gst_type_find_element_base_init),
8151         (gst_type_find_element_class_init):
8152           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8153           API: add gst_type_register_static_full
8154           API: add gst_element_class_set_details_simple
8155
8156 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8157
8158         * docs/pwg/advanced-types.xml:
8159           Fix typo in iana.org URI.
8160
8161 2007-06-19  Andy Wingo  <wingo@pobox.com>
8162
8163         * tests/check/pipelines/simple-launch-lines.c
8164         (test_state_change_returns): Enable pull-mode tests now that
8165         basesink has been fixed.
8166
8167         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8168         Changed from gst_base_sink_is_prerolled, reversing the sense of
8169         the return value. Returns FALSE also if the sink is in pull mode,
8170         in which case it needs no preroll.
8171         (gst_base_sink_query, gst_base_sink_change_state): Update for
8172         needs_preroll change.
8173         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8174         chaining up, in which we return SUCCESS directly if we activated
8175         in pull mode instead of ASYNC. Involves countering an async_start
8176         message sent before chaining up; not sure if this is correct, in
8177         an ideal world we only send async-start when activating in push
8178         mode.
8179
8180         * tests/check/pipelines/simple-launch-lines.c
8181         (test_state_change_returns): New test, partially disabled until
8182         basesink is fixed.
8183
8184 2007-06-19  Wim Taymans  <wim@fluendo.com>
8185
8186         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8187         (gst_multi_queue_sink_event):
8188         Fix event leak.
8189
8190 2007-06-19  Wim Taymans  <wim@fluendo.com>
8191
8192         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8193         (gst_bin_change_state_func), (bin_push_state_continue),
8194         (bin_handle_async_start), (bin_handle_async_done),
8195         (gst_bin_handle_message_func):
8196         Move the common code for posting state-change messages into
8197         one function.
8198         Broadcast the state signal after we posted the messages.
8199         Mark the bin as busy when it's doing a state-change.
8200         Make sure async-start/done messages don't interfere with the bin's
8201         state when it's busy.
8202         After the state change, let the bin check which elements completed the
8203         state change while it was busy so that it can update its state.
8204
8205 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
8206
8207         * docs/random/release:
8208         Add a note about updating the doap file to the release checklist
8209
8210 2007-06-18  Wim Taymans  <wim@fluendo.com>
8211
8212         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8213         (gst_single_queue_push_one), (gst_multi_queue_chain),
8214         (gst_multi_queue_sink_event):
8215         Make sure we don't reference the buffer/event after we have given away
8216         ownership in the queue.
8217
8218 2007-06-18  Wim Taymans  <wim@fluendo.com>
8219
8220         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8221         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8222         Update queue state _after_ adding the item in the queue because else we
8223         could end up being full without the element added yet.
8224
8225 2007-06-18  Wim Taymans  <wim@fluendo.com>
8226
8227         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8228         (gst_bin_remove_func), (gst_bin_get_state_func),
8229         (gst_bin_element_set_state), (gst_bin_continue_func),
8230         (bin_push_state_continue), (bin_handle_async_start),
8231         (bin_handle_async_done), (gst_bin_handle_message_func):
8232         * gst/gstbin.h:
8233         Immediatly commit the toplevel bin state when receiving an async-done
8234         message. This enables us to avoid spawning a thread to commit the state
8235         in some common cases and it also avoids some races.
8236         Avoid spawning a state thread when adding/removing async elements to a
8237         toplevel bin. Instead we immediatly update the bin state.
8238         Get rid of iterating all the children when getting the state in the bin
8239         because it is now always up-to-date.
8240         Fix bug where locked elements would always return _SUCCESS even it they
8241         returned NO_PREROLL before being locked.
8242         Fix the order of the state_change, async-start/done messages that was
8243         sometimes incorrect.
8244         Mark the state_dirty field as deprecated, we don't need it anymore as we
8245         are always up-to-date.
8246
8247         * gst/gstelement.c: (gst_element_get_state_func),
8248         (gst_element_continue_state):
8249         Small debug inprovements.
8250         Return the previous element state return when nothing is pending instead
8251         of blindly returning SUCCESS.
8252
8253         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8254         (gst_sinks_suite):
8255         Add a whole bunch of new testcases.
8256
8257 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8258
8259         * po/uk.po:
8260         * po/vi.po:
8261           Update translations.
8262
8263 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
8264
8265         * gst/gstpad.c:
8266         Fix typo in the docs.
8267
8268 2007-06-15  Wim Taymans  <wim@fluendo.com>
8269
8270         * docs/libs/gstreamer-libs-sections.txt:
8271         Add docs for new methods.
8272
8273 2007-06-15  Wim Taymans  <wim@fluendo.com>
8274
8275         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8276         (gst_multi_queue_item_new):
8277         Don't use GSlice because we don't depend on >= 2.10 yet.
8278
8279 2007-06-15  Wim Taymans  <wim@fluendo.com>
8280
8281         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8282         (update_time_level), (apply_segment), (apply_buffer),
8283         (gst_single_queue_push_one), (gst_multi_queue_item_new),
8284         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8285         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8286         (single_queue_underrun_cb), (single_queue_check_full):
8287         Remove debug printf.
8288
8289 2007-06-15  Wim Taymans  <wim@fluendo.com>
8290
8291         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8292         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8293         (gst_data_queue_set_flushing), (gst_data_queue_push),
8294         (gst_data_queue_pop), (gst_data_queue_drop_head),
8295         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8296         * libs/gst/base/gstdataqueue.h:
8297         Various cleanups.
8298         Added methods to get the current levels and to inform the queue that the
8299         'full' limits changed.
8300
8301         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8302         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8303         (gst_single_queue_flush), (update_time_level), (apply_segment),
8304         (apply_buffer), (gst_single_queue_push_one),
8305         (gst_multi_queue_item_steal_object),
8306         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8307         (gst_multi_queue_loop), (gst_multi_queue_chain),
8308         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8309         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8310         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8311         (single_queue_underrun_cb), (single_queue_check_full),
8312         (gst_single_queue_new):
8313         Keep track of time in the queue by measuring the difference between
8314         running_time on input and output. This gives more accurate results and
8315         can compensate for segments correctly.
8316         Make a queue by default only 5 buffers deep. We will now increase the
8317         buffer size depending on the filledness of the other queues.
8318         Factor out commong flush code.
8319         Make sure we don't add additional refcounts to buffers when we can avoid
8320         it.
8321         Propagate GstFlowReturn differently.
8322         Use GSlice for intermediate GstMultiQueueItems.
8323         Keep track of EOS.
8324         Resize queues on over and underruns based on filled level of other
8325         queues.
8326         When checking if the queue is filled, prefer to measure in time if we
8327         can and fall back to bytes when no time is known.
8328
8329         * plugins/elements/gstqueue.c:
8330         Fix return value.
8331
8332 2007-06-15  Wim Taymans  <wim@fluendo.com>
8333
8334         * libs/gst/base/gstbasetransform.c:
8335         (gst_base_transform_sink_event):
8336         Work around the brokenness of the event vmethod in basetransform. Prefer
8337         to return TRUE when the subclass returned FALSE (meaning don't forward
8338         the event). 
8339
8340         * libs/gst/base/gstbasetransform.h:
8341         Clarify the docs.
8342
8343 2007-06-15  Wim Taymans  <wim@fluendo.com>
8344
8345         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8346         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8347         (gst_base_src_default_query), (gst_base_src_get_range),
8348         (gst_base_src_start):
8349         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8350         Improve debugging.
8351
8352 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8353
8354         * docs/pwg/advanced-types.xml:
8355           Added more formats to caps table.
8356
8357 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8358
8359         * tools/gst-launch.c: (main):
8360           Remove crufy code. GOption does not need this workaround.
8361
8362 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8363
8364         * libs/gst/controller/gstcontroller.c:
8365         (gst_controlled_property_set_interpolation_mode):
8366           Fix wrong getter for enums in controller.
8367
8368 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8369
8370         * libs/gst/check/gstcheck.c: (gst_check_init):
8371           Intercept criticals and warnings in the Gst-Phonon log domain, so
8372           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8373           well.
8374         
8375 2007-06-14  Edward Hervey  <edward@fluendo.com>
8376
8377         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8378         Since this file doesn't include "gst.h" it will not go through the
8379         macros that disable GST_LOG if debugging was disabled.
8380
8381 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8382
8383         * libs/gst/check/Makefile.am:
8384         * libs/gst/check/gstcheck.h:
8385         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8386         * pkgconfig/gstreamer-check.pc.in:
8387           Ugly 'fix' for the controller unit test on the p5 bot: in
8388           fail_unless_equals_float() check whether the values are 'almost
8389           equal' by allowing a small absolute error, which should be good
8390           enough for our use cases (normal numbers and values close to 0).
8391           Proper fixage left to floating point arithmetic aficionados.
8392
8393 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8394
8395         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8396         (gst_base_sink_render_object), (gst_base_sink_get_position):
8397           Add two breaks thats where missing.
8398
8399 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8400
8401         * docs/libs/gstreamer-libs-sections.txt:
8402         * libs/gst/check/gstcheck.h:
8403           API: add fail_unless_equals_float() and assert_equals_float().
8404           Add documentation for some of the macros.
8405
8406         * tests/check/libs/controller.c: (GST_START_TEST):
8407           Use newly-added asserts.
8408
8409 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8410
8411         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8412           Show the caps change in the log to help spotting the case of not
8413           exactly matching caps.
8414
8415 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8416
8417         * docs/pwg/building-boiler.xml:
8418           Fix typos, spotted by Thijs Vermeir (#447190).
8419
8420 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8421
8422         * docs/plugins/tmpl/.cvsignore:
8423         Ignore file to keep the buildbots happy
8424
8425 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8426
8427         * docs/plugins/Makefile.am:
8428         * docs/plugins/gstreamer-plugins-docs.sgml:
8429         * docs/plugins/gstreamer-plugins-sections.txt:
8430         Pull fdsink into the docs too.
8431
8432 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8433
8434         * libs/gst/controller/gstinterpolation.c:
8435         Actually use the new functions with min/max checks for the trigger and
8436         none interpolation modes for get() and get_value_array() instead of
8437         just the latter.
8438
8439 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8440
8441         * libs/gst/controller/gstcontroller.c:
8442         (gst_controlled_property_free):
8443         Unset the minimum and maximum GValues when freeing the corresponding
8444         GstControllerProperty struct.
8445
8446 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8447
8448         * libs/gst/controller/gstcontroller.c:
8449         (gst_controlled_property_new):
8450         * libs/gst/controller/gstcontrollerprivate.h:
8451         * libs/gst/controller/gstinterpolation.c:
8452         (gst_controlled_property_find_control_point_node),
8453         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8454         (interpolate_none_get_string_value_array),
8455         (interpolate_trigger_get),
8456         (interpolate_trigger_get_enum_value_array),
8457         (interpolate_trigger_get_string_value_array):
8458         Protect against values larger or smaller than the minimum or maximum
8459         allowed value for the property when using values that can be compared.
8460
8461         Optimize trigger interpolator a bit by taking the last requested value
8462         into account instead of always looping through the complete list.
8463
8464         Fix coding style a bit, everywhere else we use "return foo" instead
8465         of "return (foo)".
8466         
8467         * tests/check/libs/controller.c: (GST_START_TEST),
8468         (gst_controller_suite):
8469         Add unit test for the protection against too large or too small
8470         values.
8471
8472 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8473
8474         * docs/random/slomo/controller.txt:
8475         Add some thoughts about the future of the controller.
8476
8477 2007-06-08  Wim Taymans  <wim@fluendo.com>
8478
8479         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8480         Don't overflow in retimestamping code.
8481
8482 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8483
8484         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8485         Use gst_util_guint64_to_gdouble for conversions.
8486         * win32/common/libgstreamer.def:
8487         Add new exported functions.
8488
8489 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8490
8491         * gst/gstutils.c:
8492           Small docs addition.
8493
8494 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8495
8496         * README:
8497           Remove that test line again.
8498
8499 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8500
8501         * README:
8502           Test commit mail sending.
8503
8504 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8505
8506         * configure.ac:
8507           Fix typo and test commit mail sending.
8508
8509 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8510
8511         * tests/examples/controller/audio-example.c:
8512           Improve comment and test commit mail sending.
8513
8514 2007-06-07  Wim Taymans  <wim@fluendo.com>
8515
8516         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8517         (gst_bin_remove_func), (gst_bin_element_set_state),
8518         (bin_handle_async_start), (bin_handle_async_done),
8519         (gst_bin_handle_message_func):
8520         Add helper function to find messages.
8521         Generate the async-done messages together with the state change
8522         messages.
8523         Small cleanups in handling toplevel bins.
8524
8525 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8526
8527         * libs/gst/base/gstdataqueue.c:
8528         * libs/gst/base/gstdataqueue.h:
8529         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8530         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8531         (gst_multi_queue_sink_event):
8532         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8533           Fix multiqueue leaking buffers and events when downstream or the
8534           queue are flushing. Make refcounting assumptions explicit and
8535           document them (shouldn't break existing code that uses it other than
8536           maybe leak miniobjects, but that already happens anyway). Add unit
8537           test for the most common flushing case. Fixes #423700.
8538           
8539 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8540
8541         * libs/gst/controller/gstcontroller.c:
8542         Clarify docs: The get_all, get_value_array(s) functions
8543         don't modify the GObject properties.
8544
8545 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8546
8547         * libs/gst/controller/gstcontroller.c:
8548         (gst_controlled_property_set_interpolation_mode),
8549         (gst_controlled_property_prepend_default),
8550         (gst_controlled_property_new), (gst_controller_set_unlocked),
8551         (gst_controller_set), (gst_controller_set_from_list),
8552         (gst_controller_unset), (gst_controller_unset_all):
8553         * libs/gst/controller/gstcontrollerprivate.h:
8554         * libs/gst/controller/gstinterpolation.c:
8555         Factor out the 'set' logic into gst_controller_set_unlocked for the
8556         gst_controller_set and gst_controller_set_from_list functions.
8557
8558         To make life of the interpolators easier always add a control point
8559         at timestamp zero with the default value.
8560
8561         In the linear interpolator make things more obvious by better variable
8562         naming (slope).
8563
8564         Implement cubic interpolation mode (by using a natural cubic spline)
8565         and map the quadratic interpolation mode to this too (as quadratic
8566         doesn't make much sense, see discussion on the list).
8567
8568         * tests/check/libs/controller.c: (GST_START_TEST),
8569         (gst_controller_suite):
8570         Add unit test for the cubic interpolation mode and check everywhere
8571         if the interpolation mode could be set as expected.
8572
8573 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8574
8575         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8576           Don't use GLib-2.10 functions, we still depend on
8577           GLib-how-old-is-it-again-2.8.
8578
8579 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8580
8581         * docs/gst/gstreamer-sections.txt:
8582         * gst/Makefile.am:
8583         * gst/gst.c:
8584         * gst/gst.h:
8585         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8586         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8587         (_gst_param_fraction_values_cmp),
8588         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8589         * gst/gstparamspecs.h:
8590         * gst/gstvalue.c:
8591         * tests/check/Makefile.am:
8592         * tests/check/gst/.cvsignore:
8593         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8594         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8595         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8596         (GST_START_TEST), (gst_param_spec_suite):
8597           API: add GstParamSpecFraction, so elements can have fraction
8598           properties without lots of painful string parsing (#444648).
8599
8600 2007-06-05  Wim Taymans  <wim@fluendo.com>
8601
8602         * gst/gstobject.c: (gst_object_class_init):
8603         Fix signal signature.
8604
8605         * gst/gstsegment.c:
8606         Add small clarification in the api docs.
8607
8608         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8609         States are protected with object lock.
8610
8611 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8612
8613         * AUTHORS:
8614         I should probably be listed as an author by now.
8615
8616         * docs/random/release:
8617         Update the release doc
8618
8619 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8620
8621         * gst/gstvalue.c:
8622           Make docs for gst_value_compare() mention return enums that
8623           actually exist.
8624
8625 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8626
8627         * configure.ac:
8628           Back to CVS
8629
8630 === release 0.10.13 ===
8631
8632 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8633
8634         * configure.ac:
8635           releasing 0.10.13, "With or without you"
8636
8637 2007-05-25  Wim Taymans  <wim@fluendo.com>
8638
8639         * gst/gstbin.c: (bin_handle_async_done):
8640         Make sure that the child bin stops after completing the async state
8641         change so that the parent can continue the state change to PLAYING.
8642         Fixes #441159.
8643
8644 2007-05-25  Wim Taymans  <wim@fluendo.com>
8645
8646         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8647         (unref_data), (gst_collect_pads_remove_pad),
8648         (gst_collect_pads_check_pads):
8649         Use additional refcounting to avoid crashes when dynamically adding and
8650         removing pads. Fixes #420206.
8651
8652 2007-05-24  Wim Taymans  <wim@fluendo.com>
8653
8654         * tools/gst-launch.c: (event_loop):
8655         When buffering goes from a two digit to a single digit number, make sure
8656         to remove the old second digit by writing a blank over it.
8657
8658 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8659
8660         * libs/gst/base/gstdataqueue.c:
8661           Eliminate tabs and trailing comma in enum list; fix some typos.
8662
8663 2007-05-24  Wim Taymans  <wim@fluendo.com>
8664
8665         * tests/check/gst/gstbin.c: (GST_START_TEST):
8666         Allow refcount of 3 and 4 because some state thread might still be busy
8667         with it.
8668
8669 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8670
8671         * plugins/elements/Makefile.am:
8672         * plugins/elements/gstmultiqueue.h:
8673         * plugins/elements/gstqueue.h:
8674           These are not installed headers, no need for padding.
8675
8676 2007-05-24  Wim Taymans  <wim@fluendo.com>
8677
8678         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8679         (gst_bin_continue_func):
8680         Enable latency for next release.
8681         Restore STATE_LOCK around recalc_state that was left out during the
8682         rewrite and could result in racy behaviour when _get_state and
8683         recalc_state are run concurrently. See #440463.
8684
8685 2007-05-23  Wim Taymans  <wim@fluendo.com>
8686
8687         * tests/check/gst/gstsystemclock.c: (store_callback),
8688         (GST_START_TEST):
8689         Improve test_async_order to also work when both timers are already
8690         expired when we get scheduled to check it.
8691
8692 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8693
8694         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8695         (gst_bin_set_property), (gst_bin_get_property),
8696         (gst_bin_remove_func), (gst_bin_handle_message_func):
8697         * gst/gstbin.h:
8698           'private' is a c++ keyword, let's not use that in header files,
8699           otherwise c++ compilers will throw a tantrum.
8700
8701 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8702
8703         * plugins/elements/gstelements.c:
8704         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8705         (gst_file_sink_get_current_offset):
8706         * plugins/indexers/gstindexers.c: (plugin_init):
8707           Use #ifdef for HAVE_XYZ for consistency.
8708
8709         * tests/check/Makefile.am:
8710         * tests/check/elements/.cvsignore:
8711         * tests/check/elements/filesink.c: (setup_filesink),
8712         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8713           Add some unit tests for filesink.
8714
8715 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8716
8717         Patch by: Mark Nauwelaerts <manauw at skynet be>
8718
8719         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8720         (gst_file_sink_query), (gst_file_sink_do_seek),
8721         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8722         * plugins/elements/gstfilesink.h:
8723           Fix position reporting; rename data_written member to current_pos to
8724           reflect its real meaning (fixes #412648).
8725
8726 2007-05-22  Edward Hervey  <edward@fluendo.com>
8727
8728         * docs/gst/gstreamer-sections.txt:
8729         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8730         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8731         (gst_bin_remove_func), (gst_bin_handle_message_func):
8732         * gst/gstbin.h:
8733         Add a property for bins that handle the state change of their childs.
8734         Fixes #435880
8735
8736 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8737
8738         * libs/gst/controller/gstinterpolation.c:
8739         Use an array of the correct type when using _get_value_array with
8740         linear interpolation.
8741
8742 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8743
8744         * gst/gstelement.c (gst_element_requires_clock,
8745           gst_element_provides_clock, gst_element_request_pad,
8746           gst_element_class_set_details, gst_element_class_set_details_simple,
8747           gst_element_default_send_event, gst_element_abort_state,
8748           gst_element_continue_state, gst_element_set_state,
8749           gst_element_set_state_func, iterator_activate_fold_with_resync):
8750         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8751           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8752           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8753           gst_pad_get_range, gst_pad_pull_range):
8754         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8755           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8756           GstPadActivateModeFunction, GstPadChainFunction,
8757           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8758           GstPadFixateCapsFunction, GstPadTemplate):
8759         * gst/gstpipeline.c (gst_pipeline_change_state,
8760           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8761           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8762           gst_pipeline_get_delay):
8763           Whitespace and docs fixes.
8764
8765 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8766
8767         * libs/gst/controller/gstinterpolation.c:
8768         (interpolate_trigger_get_enum_value_array),
8769         (interpolate_trigger_get_string_value_array):
8770         Add support for retrieving value arrays when using the trigger
8771         interpolation mode. 
8772
8773 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8774
8775         * libs/gst/controller/gstcontroller.c:
8776         (gst_controller_get_value_array):
8777         * libs/gst/controller/gstcontroller.h:
8778         Clarify the docs of gst_controller_get_value_array(): The array where
8779         the values should be written to must be allocated as there seems to be
8780         no way to get the size of a random GType. This doesn't change any
8781         behaviour. Also fix some typos all over the place and remove an unused,
8782         commented function that is not necessary as g_object_set() could be
8783         used instead.
8784         * tests/check/libs/controller.c: (GST_START_TEST),
8785         (gst_controller_suite):
8786         Add unit test for gst_controller_get_value_array().
8787
8788 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8789
8790         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8791
8792         Disable part of the gst_buffer_try_new_and_alloc test, because
8793         it can happily succeed on 64-bit systems where there's more address
8794         space available.
8795
8796 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8797
8798         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8799         Add unit test for the improved caps checking from bug #421543.
8800
8801 2007-05-21  Wim Taymans  <wim@fluendo.com>
8802
8803         * docs/design/part-synchronisation.txt:
8804         Small addition.
8805
8806         * gst/gstbin.c: (gst_bin_query):
8807         * plugins/elements/gstqueue.c: (apply_segment):
8808         Improve debugging.
8809
8810         * gst/gstmessage.h:
8811         Improve docs.
8812
8813 2007-05-21  Wim Taymans  <wim@fluendo.com>
8814
8815         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8816         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8817         (gst_pad_configure_src):
8818         Added simple version of improved caps checking. It was previously
8819         assumed that a setcaps function would check the validity of the caps but
8820         people prefer us to check caps against the template automatically. 
8821         Fixes #421543.
8822
8823 2007-05-21  Wim Taymans  <wim@fluendo.com>
8824
8825         * libs/gst/base/gstbasetransform.h:
8826         Fix macro for locking/unlocking the transform lock.
8827
8828 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8829
8830         * docs/plugins/tmpl/.cvsignore:
8831           Ignore more.
8832
8833 2007-05-18  Edward Hervey  <edward@fluendo.com>
8834
8835         * plugins/elements/gstqueue.c: (gst_queue_loop):
8836         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8837         for the subtle art of warning a potentially blocking thread that it
8838         should check the source pad return value, and relay the information
8839         upstream.
8840
8841 2007-05-18  Edward Hervey  <edward@fluendo.com>
8842
8843         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8844         Release the queue lock !
8845
8846 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8847
8848         * docs/libs/gstreamer-libs-sections.txt:
8849         Add the two new controller functions to the appropiate places.
8850
8851 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8852
8853         reviewed by: Stefan Kost <ensonic@users.sf.net>
8854
8855         * libs/gst/controller/gstcontroller.c:
8856         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8857         (_gst_controller_get_property), (_gst_controller_set_property),
8858         (_gst_controller_init), (_gst_controller_class_init):
8859         * libs/gst/controller/gstcontroller.h:
8860         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8861         (gst_object_get_control_rate), (gst_object_set_control_rate):
8862         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8863         Add API that provides sync suggestion timestamps for elements that
8864         call gst_object_sync_values() from which those elements can subdivide
8865         their processing loop to get the best results for the controlled
8866         properties. For now it just suggests last_sync + control_rate as
8867         new timestamp but this will be improved in the future.
8868
8869         While doing that change the control-rate property to a GstClockTime
8870         from guint and change it's meaning from samples to nanoseconds as
8871         the GstController doesn't know anything about sampling rate. Strictly
8872         speaking this breaks ABI but as the control-rate property didn't do
8873         anything in the past and as such couldn't be used this should be no
8874         problem.        
8875
8876 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8877
8878         reviewed by: Stefan Kost <ensonic@users.sf.net>
8879
8880         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8881         (gst_controller_unset_all):
8882         * libs/gst/controller/gstcontrollerprivate.h:
8883         * libs/gst/controller/gstinterpolation.c:
8884         (gst_controlled_property_find_control_point_node):
8885         Save last synced value from the list to continue searching from there
8886         in future syncs. This speeds everything up a bit.
8887         
8888 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8889
8890         reviewed by: Stefan Kost <ensonic@users.sf.net>
8891
8892         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8893         (gst_control_point_find), (gst_controlled_property_new),
8894         (gst_control_point_free), (gst_controlled_property_free),
8895         (gst_controller_set), (gst_controller_set_from_list),
8896         (gst_controller_unset), (gst_controller_unset_all),
8897         (gst_controller_sync_values):
8898         * libs/gst/controller/gstcontroller.h:
8899         * libs/gst/controller/gstcontrollerprivate.h:
8900         * libs/gst/controller/gstinterpolation.c:
8901         (gst_controlled_property_find_control_point_node),
8902         (interpolate_none_get), (interpolate_trigger_get):
8903         Add a new private GstControlPoint struct which "inherits" from
8904         GstTimedValue to allow different interpolators to store internal
8905         values next to each control point. From the outside everything is
8906         still a GstControlPoint so we don't loose binary compatibility.
8907         Also fixup all the GValue handling to not leak GValues or list nodes.
8908         * tests/check/libs/controller.c: (GST_START_TEST):
8909         Free the list nodes and GValues in the controller_misc test.
8910
8911 2007-05-17  Edward Hervey  <edward@fluendo.com>
8912
8913         * gst/gstsegment.c:
8914         Small doc fix.
8915
8916 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8917
8918         * gst/gstplugin.c: (gst_plugin_load_file):
8919           If we fail to load a plugin because of unresolved symbols or missing
8920           libraries and spew a warning to stderr, we may just as well mention
8921           which plugin it was that failed to load.
8922
8923 2007-05-13  David Schleef  <ds@schleef.org>
8924
8925         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8926           handles the case when ENABLE_GTK_DOC is false, and installs
8927           the prebuilt documentation.  So gtk-doc subdirs are 
8928           unconditionally enabled.  Fixes: #349099.
8929
8930 2007-05-13  David Schleef  <ds@schleef.org>
8931
8932         * gst/gstutils.h: Reword some documentation.
8933
8934 2007-05-12  David Schleef  <ds@schleef.org>
8935
8936         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8937           do anything with the passed "module" parameter, so remove it.
8938           Allows removal of additional vestigal code.
8939
8940 2007-05-12  David Schleef  <ds@schleef.org>
8941
8942         * gst/gstplugin.c:
8943           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8944           Switch to using g_stat() because it's more portable.
8945
8946 2007-05-12  David Schleef  <ds@schleef.org>
8947
8948         * gst/gst.c:
8949           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8950           parsing for embedded systems.
8951         * gst/gstelementfactory.c:
8952           Allow gst_element_register() to be called with plugin==NULL.
8953           Did nobody notice that static elements were broken?
8954
8955 2007-05-12  Wim Taymans  <wim@fluendo.com>
8956
8957         * tools/gst-launch.c: (event_loop):
8958         Give more interesting info when buffering starts and stops.
8959         Fix case where buffering starts but we fail to update the buffering flag
8960         because the target state is not PLAYING.
8961
8962 2007-05-12  Wim Taymans  <wim@fluendo.com>
8963
8964         * plugins/elements/gstqueue.c: (gst_queue_init),
8965         (gst_queue_finalize), (update_time_level), (apply_segment),
8966         (apply_buffer), (gst_queue_locked_flush),
8967         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8968         (gst_queue_handle_sink_event), (gst_queue_chain),
8969         (gst_queue_push_one), (gst_queue_loop):
8970         * plugins/elements/gstqueue.h:
8971         Refactor an cleanup queue a bit.
8972         Do better time level calculations that also work when the srcpad is not
8973         yet running.
8974         Remove some unneeded debug lines.
8975
8976         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8977         Added testcase for time level measurement.
8978         Try to make some stuff more racefree.
8979
8980 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8981
8982         * gst/gsturi.c: (gst_element_make_from_uri):
8983           Don't leak plugin feature.
8984
8985         * tests/check/Makefile.am:
8986         * tests/check/gst/.cvsignore:
8987         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8988           Add brain-dead unit test.
8989
8990 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8991
8992         Patch by: Jeroen Wouters <woutersj at gmail com>
8993
8994         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8995           Treat protocol strings in a case-insensitive way (#437563).
8996
8997 2007-05-11  Michael Smith <msmith@fluendo.com>
8998
8999         * gst/gstplugin.c: (gst_plugin_load_file):
9000         * gst/gstregistry.c: (gst_registry_scan_path_level):
9001           Don't print a g_warning for any failure to load a shared object.
9002           Instead, push this down into gstplugin.c, and warn _only_ if we
9003           failed to open the module (i.e. failure to link).
9004           Avoids warnings on normal, working, non-plugin .so files.
9005
9006 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
9007
9008         * gst/gstplugin.c (gst_plugin_load_file):
9009         * gst/gstregistry.c (GST_CAT_DEFAULT,
9010           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
9011           Print a g_warning if there was an error when loading a plugins during
9012           registry scan. The shuld help beginners starting with gst-plugin
9013           template.
9014
9015 2007-05-10  Wim Taymans  <wim@fluendo.com>
9016
9017         * plugins/elements/gstqueue.c: (gst_queue_class_init),
9018         (update_time_level), (gst_queue_locked_flush),
9019         (gst_queue_handle_sink_event), (gst_queue_chain),
9020         (gst_queue_push_one), (gst_queue_loop):
9021         * plugins/elements/gstqueue.h:
9022         Be smarter when calculating the current amount of data in the queue by
9023         measuring the difference between start and end timestamps (in running
9024         time) inside the queue. Fixes #432876.
9025         API: GstQueue::pushing to notify elements that we are pushing data again
9026         since the running signal is rather broken for this purpose.
9027
9028 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
9029
9030         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
9031           gst_queue_base_init, gst_queue_init):
9032           use GST_BOILERPLATE
9033
9034 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
9035
9036         * win32/common/libgstreamer.def:
9037         Add new exported functions.
9038         * win32/vs6/grammar.dsp:
9039         Use grammar pre-generated files.
9040
9041 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9042
9043         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
9044
9045         * gst/Makefile.am:
9046         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
9047         * gst/gstparse.h:
9048         * gst/gstutils.c: (gst_parse_bin_from_description):
9049         * gst/gstutils.h:
9050           Maintain API and ABI when --disable-parse is used. Now that
9051           we have an appropriate error code, we can just return NULL and the
9052           appropriate error when gst_parse_launch() is used despite it having
9053           been disabled (#342564).
9054
9055         * tests/check/Makefile.am:
9056         * tests/check/pipelines/.cvsignore:
9057         * tests/check/pipelines/parse-disabled.c:
9058           Make sure these functions exist and return NULL plus a GError when
9059           --disable-parse is used.
9060
9061 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9062
9063         * tests/benchmarks/complexity.c: (main):
9064         * tests/benchmarks/mass-elements.c: (main):
9065           Set a good example and don't leak messages.
9066
9067 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
9068
9069         * docs/gst/Makefile.am:
9070         * docs/libs/Makefile.am:
9071           Correct fixxrefs options.
9072
9073         * docs/plugins/Makefile.am:
9074         * docs/plugins/gstreamer-plugins-docs.sgml:
9075         * docs/plugins/gstreamer-plugins-sections.txt:
9076         * plugins/elements/Makefile.am:
9077         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9078         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9079           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9080           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9081           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9082           _GstCapsFilterClass, trans_class):
9083         * plugins/elements/gstelements.c (name, rank, type, _elements):
9084         * plugins/elements/gstidentity.c
9085           (gst_identity_check_imperfect_timestamp,
9086           gst_identity_check_imperfect_offset):
9087           Document capsfilter and add doc-blurb to identity.
9088
9089 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9090
9091         * libs/gst/controller/gstcontroller.c:
9092         (gst_controlled_property_set_interpolation_mode):
9093         * libs/gst/controller/gstinterpolation.c:
9094           Don't crash if someone tries to set an interpolation mode that
9095           is invalid or that isn't supported yet. Fixes #422295.
9096
9097         * tests/check/libs/controller.c: (GST_START_TEST),
9098         (gst_controller_suite):
9099           Add a test case for the above.
9100
9101 2007-05-03  Edward Hervey  <edward@fluendo.com>
9102
9103         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9104         Properly set the last_stop position on GstSegment. This will only happen
9105         if there is a buffer to push out.
9106
9107 2007-05-03  Wim Taymans  <wim@fluendo.com>
9108
9109         * libs/gst/base/gstbasetransform.c:
9110         (gst_base_transform_buffer_alloc):
9111         always_in_place does not mean that the sink and source caps are the
9112         same! Make sure we don't blindly proxy the buffer_alloc in this case.
9113
9114 2007-05-03  Wim Taymans  <wim@fluendo.com>
9115
9116         * docs/libs/gstreamer-libs-sections.txt:
9117         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9118         (gst_base_src_default_query), (gst_base_src_get_range):
9119         * libs/gst/base/gstbasesrc.h:
9120         API: gst_base_src_query_latency(). Added method so that subclasses can
9121         easily get the latency values of the base source class.
9122
9123 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
9124
9125         * tools/gst-inspect.c (print_implementation_info):
9126         Remove 0.8 cruft.
9127
9128 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
9129
9130         * tools/Makefile.am:
9131         * tools/gst-launch.1.in:
9132           Don't create a customised man page based on the host architecture,
9133           describe the default registry path generically. That way the man
9134           page is the same for all architectures and packagers have one
9135           multilib issue less to deal with. Fixes #434926.
9136
9137 2007-05-02  Wim Taymans  <wim@fluendo.com>
9138
9139         * gst/gstpad.c:
9140         Fix documentation as spotted by rg on IRC. 
9141
9142 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
9143
9144         * gst/gstutils.c:
9145           Improve docs for gst_element_{link,unlink}.
9146
9147 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
9148
9149         * docs/design/part-events.txt:
9150         * docs/design/part-overview.txt:
9151         * gst/gstevent.c:
9152         * gst/gsturi.c:
9153         * gst/gsturi.h:
9154         * libs/gst/base/gstbasesink.c:
9155           Typo fixes; minor docs addition.
9156
9157 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9158
9159         * docs/gst/gstreamer-sections.txt:
9160         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9161         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9162         * gst/gsturi.h:
9163         API: Add gst_uri_protocol_is_supported(), which checks if a sink
9164         or src that supports a given URI protocol exists.
9165
9166 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9167
9168         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9169         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9170         Set the location to NULL if "file://" is set as URI. Otherwise
9171         some random previous URI would still be set if "file://" is
9172         set on an already used filesink/filesrc.
9173
9174 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9175
9176         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9177         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9178         Special case the "file://" URI as as this is used by some
9179         applications to test with gst_element_make_from_uri if there's
9180         an element that supports the URI protocol.
9181         Also move the g_path_is_absolute() check for the location part
9182         of the URI to also check this for "file://localhost/bla" URIs.
9183
9184 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
9185
9186         * docs/gst/gstreamer-sections.txt:
9187         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9188         * gst/gstbuffer.h:
9189         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9190         (gst_buffer_suite):
9191           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9192
9193 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
9194
9195         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9196         (gst_registry_binary_load_pad_template),
9197         (gst_registry_binary_load_plugin),
9198         (gst_registry_binary_read_cache):
9199         * gst/gstregistrybinary.h:
9200           Implement no-mmap alternative for registry reading. Do code cleanups.
9201           Add more comments about avoiding strdups for all text data. Comments
9202           welcome.
9203
9204 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9205
9206         * gst/gstregistrybinary.h (GstBinaryPluginElement,
9207           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9208           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9209           Comment structs and reformat to fix the build (that stuff should go
9210           into a priv. header).
9211
9212 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9213
9214         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9215         (gst_registry_binary_load_feature):
9216         * gst/gstregistrybinary.h:
9217           Refactor so that we can implement multiple features. Add support for
9218           TypeFindFactory features.
9219
9220 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
9221
9222         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9223
9224         * configure.ac:
9225           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9226
9227 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
9228
9229         * gst/gstbin.c: (gst_bin_element_set_state),
9230         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9231         (bin_handle_async_done), (gst_bin_handle_message_func):
9232           Fix build with --gst-disable-gst-debug
9233
9234 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
9235
9236         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9237           Make sure streaming has finished before calling the ::stop() vfunc,
9238           since that vfunc might clear state which is being used in the
9239           streaming thread. This fixes a race that caused crashes in
9240           audioresample when shutting down a pipeline (#420106).
9241
9242 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9243
9244         * docs/gst/gstreamer-sections.txt:
9245           That was one byte missing.
9246
9247 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9248
9249         * configure.ac:
9250         * docs/gst/gstreamer-sections.txt:
9251         * gst/Makefile.am:
9252         * gst/gstconfig.h.in:
9253         * gst/gstobject.c: (gst_object_class_init),
9254         (gst_signal_object_class_init):
9255         * gst/gstobject.h:
9256           2nd attempt to have a xml-less build as a joined effort of #413123
9257           and #421480.
9258
9259 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9260
9261         * docs/design/draft-tagreading.txt:
9262           Added open issues/thoughts to draft.
9263
9264 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9265
9266         * gst/parse/grammar.tab.pre.c:
9267         * gst/parse/grammar.tab.pre.h:
9268         * gst/parse/lex._gst_parse_yy.pre.c:
9269         Update the prebuild parser sources.
9270
9271 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9272
9273         * gst/parse/Makefile.am:
9274         And now fix the building of the flex sources. Now everything should
9275         work as expected.
9276
9277 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9278
9279         * gst/parse/Makefile.am:
9280         Now hopefully fix the build failures by setting proper rule
9281         dependencies and moving instead of copying.
9282
9283 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9284
9285         * tests/benchmarks/complexity.gnuplot:
9286         * tests/benchmarks/complexity.scm:
9287         * tests/benchmarks/mass-elements.gnuplot:
9288         * tests/benchmarks/mass-elements.scm:
9289           Total licensification.
9290
9291 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9292
9293         * gst/parse/Makefile.am:
9294           Fix the build by correcting the rule that gave wrong files to flex.
9295
9296 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9297
9298         * tests/benchmarks/complexity.c:
9299         * tests/benchmarks/mass-elements.c:
9300           Change licence to LGPL as granted by Benjamin and Andy.
9301
9302 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9303
9304         * gst/parse/Makefile.am:
9305         Add correct grammar.tab.h dependency if compiling without new enough
9306         flex. Fixes #431150.
9307
9308 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9309
9310         * gst/parse/Makefile.am:
9311         Fix typo and use outdated sources if the flex/bison sources are newer
9312         than the pregenerated ones but flex is too old. Print a warning in
9313         that case. This should fix the build on the build bot.
9314
9315 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9316
9317         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9318         * gst/parse/Makefile.am:
9319         * gst/parse/grammar.y:
9320         * gst/parse/parse.l:
9321         Make the parser reentrant and recursively callable. This requires flex
9322         >= 2.5.31, for older versions pregenerated sources are used as we
9323         can't bump the build dependency. Finally fixes #349180.
9324
9325         * gst/gstparse.c: (gst_parse_launch):
9326         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9327         now anyway.
9328
9329         * docs/gst/Makefile.am:
9330         * docs/gst/Makefile.am:
9331         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9332         (__gst_parse_strfree), (__gst_parse_link_new),
9333         (__gst_parse_link_free), (__gst_parse_chain_new),
9334         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9335         (gst_parse_element_set), (gst_parse_free_link),
9336         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9337         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9338         (_gst_parse_launch):
9339         * gst/parse/grammar.tab.pre.h:
9340         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9341         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9342         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9343         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9344         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9345         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9346         (_gst_parse_yypop_buffer_state),
9347         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9348         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9349         (yy_fatal_error), (_gst_parse_yyget_extra),
9350         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9351         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9352         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9353         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9354         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9355         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9356         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9357         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9358         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9359         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9360         (_gst_parse_yyfree):
9361         If the installed flex version is too old use pre-generated parser
9362         sources. These pre-generated parser sources are always updated when
9363         the actual flex/bison sources change but require everybody who wants
9364         to change something in the parser to have flex >= 2.5.31 installed.
9365
9366 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9367
9368         * common/m4/gst-gettext.m4:
9369         * gst/gst-i18n-lib.h:
9370           Make --disable-nls to work
9371
9372 2007-04-17  Wim Taymans  <wim@fluendo.com>
9373
9374         * gst/gstconfig.h.in:
9375         Revert previous change that broke the build.
9376
9377 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9378
9379         * configure.ac:
9380         * gst/Makefile.am:
9381         * gst/gstconfig.h.in:
9382           Drop libxml2 dependency when building with 
9383           --enable-binary-registry --disable-loadsave
9384
9385 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9386
9387         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9388         (gst_registry_binary_read_cache):
9389         * gst/gstregistrybinary.h:
9390           Remove unnecessary <sys/mman.h> include which broke the win32 build
9391           with MingW; move includes from header file to .c file, even if the
9392           header file isn't installed; use g_strerror() where UTF-8 strings
9393           are expected, such as in GST_DEBUG messages.
9394
9395 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9396
9397         * docs/libs/gstreamer-libs-sections.txt:
9398         Remove bogus addition for API I didn't end up keeping.
9399
9400         * libs/gst/base/gstbasesrc.h:
9401         Mention Since: 0.10.13 in the documentation.
9402
9403         Add the API keyword to the previous ChangeLog entry.
9404
9405 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9406
9407         * docs/libs/gstreamer-libs-sections.txt:
9408         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9409         (gst_base_src_default_prepare_seek_segment),
9410         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9411         * libs/gst/base/gstbasesrc.h:
9412         Allow basesrc derived classes to execute seeks in other formats
9413         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9414         to prepare the GstSegment in any format that their perform_seek method
9415         will be able to understand. The default implementation provides the
9416         old behaviour of attempting to convert the seek offsets to the 
9417         configured native format.
9418
9419         API: basesrc::prepare_seek_segment vmethod.
9420
9421 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9422
9423         * gst/gstelement.c: (gst_element_get_state_func):
9424         Don't output the same debug statement twice.
9425
9426         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9427         (gst_adapter_peek), (gst_adapter_take_buffer):
9428         Optimise the case where we have buffers at the head of the queue that
9429         can be joined quickly (because they're contiguous sub-buffers) by
9430         merging them together rather than copying data out into new memory.
9431
9432         * gst/parse/grammar.y:
9433         * tests/check/pipelines/parse-launch.c:
9434         Fix a leak in an error path for parse_launch, and add a check 
9435         for it to the testsuite.
9436
9437 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9438
9439         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9440           Don't deadlock when releasing a pad - gst_pad_set_active may try
9441           and take the multiqueue lock too.
9442
9443 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9444
9445         * gst/gsterror.c: (_gst_core_errors_init):
9446         * gst/gsterror.h:
9447           API: add GST_CORE_ERROR_DISABLED (#392804).
9448
9449 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9450
9451         * docs/faq/gst-uninstalled:
9452           don't get empty paths on the PATH variables
9453         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9454           Don't format for the uncommon terminal width of 84 characters.
9455
9456 2007-04-06  Wim Taymans  <wim@fluendo.com>
9457
9458         * gst/gstpipeline.c: (reset_stream_time),
9459         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9460         Only try to select a different pipeline clock when we went back to
9461         PAUSED and not when we merely got flushed.
9462
9463 2007-04-05  Michael Smith  <msmith@fluendo.com>
9464
9465         * tools/gst-launch.1.in:
9466           fractions are better supported in gstreamer than ractions, so
9467           suggest using those.
9468
9469 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9470
9471         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9472
9473         * po/LINGUAS:
9474         * po/da.po:
9475           Added Danish translation.
9476
9477 2007-04-05  Wim Taymans  <wim@fluendo.com>
9478
9479         * libs/gst/base/gstbasesink.c:
9480         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9481         Fix leak caused when refusing newsegment after EOS.
9482
9483         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9484         (gst_fake_sink_init), (gst_fake_sink_set_property),
9485         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9486         (gst_fake_sink_render), (gst_fake_sink_change_state):
9487         * plugins/elements/gstfakesink.h:
9488         Add num-buffers property to make the element generate EOS after a
9489         configurable amount of buffers.
9490         API: fakesink::num-buffers property.
9491
9492         * tests/check/elements/fakesink.c: (GST_START_TEST),
9493         (fakesink_suite):
9494         Fix GstBus leak in test.
9495         Test for fakesink num-buffers.
9496
9497 2007-04-05  Wim Taymans  <wim@fluendo.com>
9498
9499         * libs/gst/base/gstbasesink.c:
9500         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9501         (gst_base_sink_change_state):
9502         Don't accept anything after an EOS, return UNEXPECTED instead.
9503
9504         * tests/check/elements/fakesink.c: (GST_START_TEST),
9505         (fakesink_suite):
9506         Unit test for new EOS behaviour.
9507
9508 2007-04-05  Wim Taymans  <wim@fluendo.com>
9509
9510         * gst/gstelement.c: (gst_element_get_request_pad):
9511         Make padtemplates also work when they don't contain %s or %d.
9512
9513 2007-04-05  Wim Taymans  <wim@fluendo.com>
9514
9515         * docs/gst/gstreamer-sections.txt:
9516         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9517         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9518         * gst/gstclock.h:
9519         Improve _adjust_unlocked() so that it overflows less.
9520         Add gst_clock_unadjust_unlocked to convert from external time to
9521         internal time based on calibration.
9522         Add some more debug.
9523         API: GstClock::gst_clock_unadjust_unlocked()
9524
9525 2007-04-03  Wim Taymans  <wim@fluendo.com>
9526
9527         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9528
9529         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9530         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9531         when releasing sink pad. Fixes #425400.
9532
9533 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9534
9535         * docs/random/ensonic/dynlink.txt:
9536           More work on proposal for new core api.
9537
9538         * docs/libs/gstreamer-libs-sections.txt:
9539         * libs/gst/base/gstbasetransform.h:
9540           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9541           
9542         * libs/gst/controller/gstcontroller.c:
9543         (on_object_controlled_property_changed),
9544         (gst_controller_sync_values),
9545         (gst_controller_set_interpolation_mode):
9546         * libs/gst/controller/gstcontroller.h:
9547           Less verbose logging add docs for unimplemented parts and correctly
9548           return when using unavailable parts.
9549
9550 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9551
9552         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9553         Move all the debug to the CLOCK category, and associate it with
9554         the clock object.
9555
9556 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9557
9558         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9559         Make take_buffer a bit quicker by removing redundant checks
9560         caused by calling gst_adapter_take.
9561
9562 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9563
9564         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9565           Don't leak GCond.
9566
9567         * tests/check/Makefile.am:
9568         * tests/check/elements/.cvsignore:
9569         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9570         (GST_START_TEST), (multiqueue_suite):
9571           Add some dead simple unit tests for the 'multiqueue' element
9572           (some bits don't work yet and are disabled for now).
9573
9574 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9575
9576         * gst/gstelement.c: (gst_element_get_request_pad),
9577         (gst_element_class_get_request_pad_template):
9578           Make gst_element_get_request_pad() create request pads only for
9579           request pad templates and not for, say, sometimes pad templates.
9580
9581 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9582
9583         * docs/design/draft-klass.txt:
9584           Add example that needs more thinking.
9585         
9586         * docs/design/draft-missing-plugins.txt:
9587           More thoughts about wrapper plugins.
9588         
9589         * docs/random/ensonic/embedded.txt:
9590         * docs/random/ensonic/profiling.txt:
9591           More design work.
9592
9593 2007-03-25  Wim Taymans  <wim@fluendo.com>
9594
9595         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9596         (gst_base_src_loop):
9597         Only push the segment events in the PLAYING state for live sources.
9598
9599 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9600
9601         * gst/gstpipeline.c: (gst_pipeline_change_state):
9602         Modify the clock distribution path in PAUSED->PLAYING so that we 
9603         never attempt to choose a new clock unless we're actually leaving
9604         the PAUSED state for the first time. This prevents choosing a
9605         different clock when the state_change gets called for a 2nd time due
9606         to some element doing an async state change.
9607
9608 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9609
9610         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9611         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9612         (gst_pad_chain_unchecked), (gst_pad_push):
9613         Revert last commit. This needs some more thoughts.
9614
9615 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9616
9617         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9618         (gst_pad_chain_unchecked), (gst_pad_push):
9619         Check in set_caps if the caps are compatible with the pad and remove
9620         two functions that are redundant now. Fixes #421543.
9621
9622 2007-03-22  Wim Taymans  <wim@fluendo.com>
9623
9624         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9625         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9626         Unref some more to make valgrind happy.
9627
9628 2007-03-22  Wim Taymans  <wim@fluendo.com>
9629
9630         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9631         (gst_system_clock_id_wait_jitter),
9632         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9633         Fix anoying regression that survived a few releases. When adding an
9634         async entry while blocking on a sync entry, the sync entry will unblock
9635         but still be busy, so it should continue to wait instead of returning
9636         _BUSY to the app.
9637         Add some comments here and there.
9638
9639         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9640         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9641         Add testcase for this.
9642
9643 2007-03-22  Wim Taymans  <wim@fluendo.com>
9644
9645         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9646         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9647         WRONG_STATE and can silently pause the task. All other cases should
9648         error out.
9649
9650 2007-03-22  Wim Taymans  <wim@fluendo.com>
9651
9652         Patch by: Ville Syrjala <syrjala at sci dot fi>
9653
9654         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9655         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9656         Improve debugging.
9657
9658 2007-03-21  Michael Smith  <msmith@fluendo.com>
9659
9660         * docs/pwg/advanced-types.xml:
9661           Fix some errors in the typefinding docs pointed out on irc.
9662
9663 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9664
9665         * libs/gst/base/gstbasesrc.c:
9666         Clarify FIXME comment in the face of having added unlock_stop()
9667
9668 2007-03-21  Wim Taymans  <wim@fluendo.com>
9669
9670         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9671         Prepare for release where we warn against possible app breakage in the
9672         case of live pipelines along with an env var to enable/disable live
9673         preroll mode (GST_COMPAT=[no-]live-preroll).
9674
9675 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9676
9677         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9678         So we should use correct constants for checking for None offset.
9679
9680 2007-03-20  Wim Taymans  <wim@fluendo.com>
9681
9682         * docs/design/part-block.txt:
9683         Mention the fact that the newly switched element should be set to at
9684         least PAUSED.
9685
9686 2007-03-20  Wim Taymans  <wim@fluendo.com>
9687
9688         * gst/gst.c:
9689         Fix compilation with registry disabled as spotted by Saur.
9690
9691 2007-03-20  Wim Taymans  <wim@fluendo.com>
9692
9693         Patch by: Olivier Crete <tester at tester dot ca>
9694
9695         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9696         Look at the pending state too when syncing the element state to the
9697         parent. Fixes #420133.
9698
9699 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9700
9701         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9702         (gst_base_sink_change_state):
9703         * libs/gst/base/gstbasesink.h:
9704         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9705         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9706         (gst_base_src_deactivate):
9707         * libs/gst/base/gstbasesrc.h:
9708         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9709         for sub-classes to correctly clear any state they set trying to
9710         unlock, such as clearing out unlock commands from a command fd.
9711         API: basesrc::unlock_stop
9712         API: basesink::unlock_stop
9713
9714         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9715         (gst_fd_sink_render), (gst_fd_sink_unlock),
9716         (gst_fd_sink_unlock_stop):
9717         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9718         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9719         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9720
9721         Implement unlock_stop in fdsrc and fdsink.
9722         Implement seeking in fdsrc when a seekable fd is passed, as in
9723         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9724
9725 2007-03-19  Wim Taymans  <wim@fluendo.com>
9726
9727         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9728
9729         * gst/gstelement.c: (gst_element_class_init):
9730         Fix pad-added and pad-removed signal signatures so that the pad type is
9731         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9732
9733 2007-03-19  Wim Taymans  <wim@fluendo.com>
9734
9735         * docs/gst/gstreamer-sections.txt:
9736         Add new element field and method.
9737
9738         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9739         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9740         (gst_bin_recalc_state), (gst_bin_get_state_func),
9741         (gst_bin_element_set_state), (gst_bin_change_state_func),
9742         (gst_bin_continue_func), (bin_bus_handler),
9743         (bin_push_state_continue), (bin_handle_async_start),
9744         (bin_handle_async_done), (gst_bin_handle_message_func):
9745         Make async state changes a bit smarter by using new ASYNC_START and
9746         ASYNC_DONE messages. This reduces the number of times we run the state
9747         recalculation thread.
9748         Don't change state of element with a pending ASYNC_START message.
9749         Deprecate STATE_DIRTY messages.
9750         
9751         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9752         (gst_element_get_state_func), (gst_element_continue_state),
9753         (gst_element_lost_state), (gst_element_set_state_func),
9754         (gst_element_change_state):
9755         * gst/gstelement.h:
9756         Keep the state that was last set by the app in a new element field.
9757         Don't allow state changes when handling an element event.
9758         Post ASYNC_START and ASYNC_DONE messages.
9759         Change lost_state so that we go to PAUSED and wait for the parent to set
9760         us to PLAYING again (so latency calculation can be performed)
9761         Export gst_element_change_state() method so that subclasses can use it.
9762         API: gst_element_change_state()
9763         API: GST_STATE_TARGET
9764
9765         * gst/gstpipeline.c: (gst_pipeline_class_init),
9766         (reset_stream_time), (gst_pipeline_change_state),
9767         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9768         Using the new ASYNC_START message we can reset the base_time when
9769         needed. This can then be used to implement base_time redistribution in
9770         flushing seeks so that we can remove the explicit seek handling.
9771         Perform latency query and configuration when going to PLAYING.
9772
9773         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9774         (gst_base_sink_query), (gst_base_sink_change_state):
9775         Post new ASYNC_START/ASYNC_DONE messages.
9776
9777         * tests/check/generic/sinks.c: (GST_START_TEST):
9778         Fix test because the bin will not set the async element to PLAYING right
9779         away.
9780
9781         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9782         Make the message check a little stronger.
9783         Handle ASYNC messages.
9784
9785         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9786         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9787         Expect ASYNC_DONE messages.
9788
9789 2007-03-19  Wim Taymans  <wim@fluendo.com>
9790
9791         * docs/gst/gstreamer-sections.txt:
9792         * gst/gstmessage.c: (gst_message_new_async_start),
9793         (gst_message_new_async_done), (gst_message_parse_info),
9794         (gst_message_parse_async_start):
9795         * gst/gstmessage.h:
9796         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9797         support.
9798
9799 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9800
9801         * tools/gst-inspect.c:
9802         (print_plugin_automatic_install_info_codecs):
9803           Now that we don't check for the 'Codec' keyword any longer in the
9804           klass, we shouldn't spew a warning if the klass isn't a decoder or
9805           encoder (since it might be a Source/Network, for example).
9806
9807 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9808
9809         * tools/gst-inspect.c:
9810         (print_plugin_automatic_install_info_codecs):
9811           Don't require decoder/demuxer/depayloader elements or
9812           encoder/muxer/paylader elements to have 'Codec' as part of their
9813           factory class string when introspecting a plugin's capabilities.
9814           draft-klass.txt mentions that it might be removed in future, and
9815           flump3dec doesn't have it as part of its class string, so chances
9816           are others might also not have it.
9817
9818 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9819
9820         * po/af.po:
9821         * po/az.po:
9822         * po/bg.po:
9823         * po/ca.po:
9824         * po/cs.po:
9825         * po/de.po:
9826         * po/en_GB.po:
9827         * po/fr.po:
9828         * po/it.po:
9829         * po/nb.po:
9830         * po/nl.po:
9831         * po/ru.po:
9832         * po/sq.po:
9833         * po/sr.po:
9834         * po/sv.po:
9835         * po/tr.po:
9836         * po/uk.po:
9837         * po/vi.po:
9838         * po/zh_CN.po:
9839         * po/zh_TW.po:
9840           Update translations from translation project
9841
9842 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9843
9844         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9845         (gst_child_proxy_set_property):
9846           Invert precondition check to be alike the ones in the mimiced gobject
9847           api.
9848
9849 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9850
9851         * docs/design/draft-tagreading.txt:
9852         * docs/random/ensonic/audiobaseclasses.txt:
9853           Do some Architect work.
9854
9855         * gst/gstobject.c: (gst_object_set_name):
9856           Add a WARNING.
9857
9858         * gst/gstpad.c:
9859           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9860
9861 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9862
9863         * gst/gstsystemclock.c: (gst_system_clock_init),
9864         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9865         Defer starting the async system clock thread until the first async
9866         wait is scheduled. Fixes #414986.
9867
9868 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9869
9870         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9871         (gst_single_queue_free):
9872           Fix small leak (free GstSingleQueue structure too, not only contents).
9873
9874 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9875
9876         * gst/gstbin.c:(gst_bin_add):
9877         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9878         * win32/common/libgstbase.def:
9879         * win32/common/libgstreamer.def:
9880         Add new exported functions.
9881
9882 2007-03-09  Wim Taymans  <wim@fluendo.com>
9883
9884         * docs/plugins/gstreamer-plugins-sections.txt:
9885         Fix GstTee docs.
9886
9887 2007-03-09  Wim Taymans  <wim@fluendo.com>
9888
9889         * docs/gst/gstreamer-sections.txt:
9890         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9891         * gst/gstbuffer.h:
9892         Add metadata copy functions. Fixes #393099.
9893         API: gst_buffer_copy_metadata()
9894
9895         * gst/gstutils.c: (gst_buffer_stamp):
9896         * libs/gst/base/gstbasetransform.c:
9897         (gst_base_transform_prepare_output_buffer):
9898         Use new metadata copy functions.
9899
9900 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9901
9902         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9903         (gst_identity_init), (gst_identity_check_perfect),
9904         (gst_identity_check_imperfect_timestamp),
9905         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9906         (gst_identity_set_property), (gst_identity_get_property):
9907         * plugins/elements/gstidentity.h:
9908         Separate out check-imperfect-timestamp and check-imperfect-offset.
9909         Put back check-perfect as it was to keep compatibility.
9910
9911 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9912
9913         * gst/gstelement.c: (gst_element_dispose):
9914         There's no need to warn if VOID_PENDING is not NONE here, as
9915         long as the state is NULL it's ok, and that's checked immediately
9916         above.
9917
9918 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9919
9920         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9921         Fix check for perfect stream to ignore buffers with -1 
9922         offsets/offset ends when checking data contiguity.
9923
9924 2007-03-08  Wim Taymans  <wim@fluendo.com>
9925
9926         * tools/gst-launch.c: (event_loop):
9927         Print INFO messages.
9928
9929 2007-03-08  Wim Taymans  <wim@fluendo.com>
9930
9931         * libs/gst/base/gstbasetransform.c:
9932         (gst_base_transform_sink_eventfunc),
9933         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9934         (gst_base_transform_activate):
9935         * libs/gst/base/gstbasetransform.h:
9936         Add support for dropping buffers with custom GstFlowReturn.
9937         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9938         buffers or dropped buffers.
9939
9940         * docs/libs/gstreamer-libs-sections.txt:
9941         docs for new custom return code.
9942
9943         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9944         Use drop support in base class to implement drop-probability.
9945
9946 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9947
9948         * gst/gst.c: (load_plugin_func):
9949         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9950         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9951         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9952           Remove newlines at end of debug log strings.
9953
9954 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9955
9956         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9957         Only post bus message at max, once per buffer received.
9958
9959 2007-03-07  Wim Taymans  <wim@fluendo.com>
9960
9961         * docs/design/Makefile.am:
9962         * docs/design/part-synchronisation.txt:
9963         Add doc about synchronisation
9964
9965         * docs/design/draft-latency.txt:
9966         * docs/design/part-TODO.txt:
9967         * docs/design/part-clocks.txt:
9968         * docs/design/part-events.txt:
9969         * docs/design/part-gstbus.txt:
9970         * docs/design/part-gstpipeline.txt:
9971         * docs/design/part-live-source.txt:
9972         * docs/design/part-messages.txt:
9973         * docs/design/part-overview.txt:
9974         * docs/design/part-streams.txt:
9975         * docs/design/part-trickmodes.txt:
9976         Documentation updates.
9977
9978 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9979
9980         * gstreamer.doap:
9981         Update the doap file.
9982
9983 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9984
9985         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9986         Rename non-perfect to imperfect for Mike and for the sanctity of the
9987         language.
9988         Also make sure bus message gets emitted for data-incontiguities.
9989
9990 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9991
9992         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9993         (gst_identity_start):
9994         * plugins/elements/gstidentity.h:
9995         Emit bus message if check-perfect is true and we encounter a
9996         non-perfect stream between 2 consecutive buffers.
9997         Fixes #415394.
9998
9999 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
10000
10001         * configure.ac:
10002         Back to CVS
10003
10004 === release 0.10.12 ===
10005
10006 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
10007
10008         * configure.ac:
10009           releasing 0.10.12, "Inevitable Demise"
10010
10011 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
10012
10013         * configure.ac:
10014          Version 0.10.11.2 (0.10.12 pre-release)
10015          Bump libtool versioning.
10016
10017 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
10018
10019         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10020           Log flow-names and not numbers.
10021
10022 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10023
10024         * configure.ac:
10025           Convert to new AG_GST style.
10026
10027 2007-02-28  Wim Taymans  <wim@fluendo.com>
10028
10029         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
10030         Don't unref query twice.
10031
10032 2007-02-28  Wim Taymans  <wim@fluendo.com>
10033
10034         * gst/gstvalue.c: (gst_value_transform_object_string),
10035         (_gst_value_initialize):
10036         Implement GstObject -> string transform so we print object names
10037         when serializing GValues containing GstObjects.
10038
10039 2007-02-28  Wim Taymans  <wim@fluendo.com>
10040
10041         * docs/gst/gstreamer-sections.txt:
10042         Add new stuff to docs.
10043
10044 2007-02-28  Wim Taymans  <wim@fluendo.com>
10045
10046         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
10047         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
10048         (gst_base_sink_change_state):
10049         Improve latency query code.
10050         Don't leak latency events.
10051
10052         * tests/check/gst/gstbin.c: (GST_START_TEST):
10053         Improve debugging.
10054
10055 2007-02-28  Wim Taymans  <wim@fluendo.com>
10056
10057         * gst/gstelement.c: (gst_element_message_full),
10058         (gst_element_get_state_func):
10059         * gst/gstelement.h:
10060         Improve docs a little. Added Since: for new macro.
10061
10062         * gst/gstobject.c: (gst_object_sink):
10063         * gst/gstpipeline.c: (gst_pipeline_change_state),
10064         (gst_pipeline_set_new_stream_time):
10065         * gst/gstpipeline.h:
10066         Improve debugging and docs.
10067
10068         * gst/gstutils.c: (gst_element_state_change_return_get_name):
10069         Improve debugging.
10070
10071 2007-02-28  Wim Taymans  <wim@fluendo.com>
10072
10073         * gst/gstelement.c: (gst_element_message_full),
10074         (gst_element_set_locked_state), (gst_element_get_state_func),
10075         (gst_element_change_state):
10076         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10077         Documentation updates.
10078         Small code cleanups.
10079
10080         * gst/gstmessage.c: (gst_message_new_info),
10081         (gst_message_parse_info):
10082         * gst/gstmessage.h:
10083         API: gst_message_new_info()
10084         API: gst_message_parse_info()
10085         Add INFO message create and parse code.
10086
10087 2007-02-28  Wim Taymans  <wim@fluendo.com>
10088
10089         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10090         (bin_query_latency_done):
10091         Also report the live parameter of a latency query.
10092
10093 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10094
10095         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10096           Copy the current generic/states example from -base and adapt so
10097           we can use the exact same code everywhere.
10098           Check a STATES_IGNORE_ELEMENTS env var which can be used
10099           to ignore certain element factories for this test, which is
10100           what is being done in -base
10101         * tests/check/Makefile.am:
10102           Mention this environment variable.
10103
10104 2007-02-27  Wim Taymans  <wim@fluendo.com>
10105
10106         * docs/gst/gstreamer-sections.txt:
10107         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10108         (gst_bus_timed_pop), (gst_bus_pop):
10109         * gst/gstbus.h:
10110         API: gst_bus_timed_pop()
10111         Implement gst_bus_timed_pop() to do a blocking timed wait for a
10112         message to arrive on the bus.
10113
10114         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10115         (gst_bus_suite):
10116         Two unit tests for new _timed_pop() function.
10117
10118 2007-02-23  Wim Taymans  <wim@fluendo.com>
10119
10120         * gst/gstpipeline.c: (gst_pipeline_change_state),
10121         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10122         Don't ref a NULL clock in _provide_clock_func().
10123         Don't allow an INVALID delay.
10124         Don't try to calculate base_time with an invalid start_time.
10125         Also distribute and notify a NULL clock when it was selected.
10126
10127         * tools/gst-launch.c: (event_loop):
10128         Don't crash when a NULL clock was selected in the pipeline.
10129
10130 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10131
10132         * docs/design/Makefile.am:
10133         * docs/design/draft-missing-plugins.txt:
10134         * docs/random/draft-missing-plugins.txt:
10135           Some small updates: update plugin system identifier prefix
10136           ('gstreamer.net' to 'gstreamer'), mention our new install
10137           API in libgstbaseutils rather than libgimme-codec, add
10138           reference to the online docs.
10139
10140 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10141
10142         * win32/common/config.h:
10143           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
10144           use moap cl ci to only check in what is mentioned in the ChangeLog.
10145
10146 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10147
10148         * docs/gst/gstreamer-sections.txt:
10149         * gst/gstelement.h:
10150           Fix up documentation to link to the correct GstGError section.
10151           Add GST_ELEMENT_INFO macro since someone else added a Info message.
10152
10153 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10154
10155         * tools/gst-launch.c: (event_loop):
10156           Make sure that we actually show the important message part of a
10157           warning message.
10158           No need to check if the gerror is not NULL to free; first of all
10159           g_free accepts NULL; and second the default error handler would
10160           segfault if gerror was NULL.
10161
10162 2007-02-21  Wim Taymans  <wim@fluendo.com>
10163
10164         * docs/gst/gstreamer-sections.txt:
10165         Removed docs as well.
10166
10167 2007-02-21  Wim Taymans  <wim@fluendo.com>
10168
10169         * gst/gstmessage.c: (gst_message_parse_duration):
10170         * gst/gstmessage.h:
10171         Remove new messages for release.
10172
10173 2007-02-20  Wim Taymans  <wim@fluendo.com>
10174
10175         * docs/design/part-gstghostpad.txt:
10176         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10177         (gst_ghost_pad_new_full):
10178         Make the ghostpad a parent of the internal pad again for better backward
10179         compatibility. Don't write code that relies on this however.
10180
10181         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10182         (gst_pad_link_check_hierarchy):
10183         Require that parents should be GstElements in the hierarchy check.
10184
10185 2007-02-20  Wim Taymans  <wim@fluendo.com>
10186
10187         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10188         (gst_bin_change_state_func), (bin_query_min_max_init),
10189         (bin_query_latency_fold), (bin_query_latency_done),
10190         (gst_bin_query):
10191         Improve debug info.
10192         Implement latency query.
10193
10194 2007-02-20  Wim Taymans  <wim@fluendo.com>
10195
10196         * docs/design/part-gstghostpad.txt:
10197         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10198         (gst_ghost_pad_internal_do_activate_push),
10199         (gst_ghost_pad_internal_do_activate_pull),
10200         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10201         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10202         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10203         Do not set the internal pad as a parent anymore so we can avoid
10204         hierarchy linking errors when the ghostpad has no parent yet. This also
10205         fixes failed activation because of unlinked internal pads, which in
10206         turn fixes the impossible case where you have to activate a pad before
10207         you can add it to a running element.
10208         Also fix the docs.
10209
10210         * gst/gstpad.c: (pre_activate), (post_activate),
10211         (gst_pad_set_active), (gst_pad_activate_pull),
10212         (gst_pad_activate_push), (gst_pad_check_pull_range):
10213         Add some more debug info.
10214         Mark activation mode in pre_activate so that we don't try to activate in
10215         endless loops. Fixes #385084.
10216
10217 2007-02-19  Wim Taymans  <wim@fluendo.com>
10218
10219         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10220         (gst_base_transform_check_get_range):
10221         Implement a checkgetrange function instead of relying on the default
10222         core behaviour that assumes we can operate in pull mode if we have a
10223         getrange function. First step at fixing #385084.
10224
10225 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
10226
10227         * gst/gstchildproxy.h:
10228         * libs/gst/base/gstbasesink.h:
10229         * libs/gst/base/gstbasesrc.h:
10230         * libs/gst/base/gstbasetransform.h:
10231         More docs coverage and some ChangeLog surgery (add missing names)
10232
10233 2007-02-15  Wim Taymans  <wim@fluendo.com>
10234
10235         * docs/design/part-TODO.txt:
10236         * docs/design/part-activation.txt:
10237         * docs/design/part-block.txt:
10238         * docs/design/part-buffering.txt:
10239         * docs/design/part-clocks.txt:
10240         * docs/design/part-element-source.txt:
10241         * docs/design/part-events.txt:
10242         * docs/design/part-gstbin.txt:
10243         * docs/design/part-gstbus.txt:
10244         * docs/design/part-gstpipeline.txt:
10245         * docs/design/part-live-source.txt:
10246         * docs/design/part-messages.txt:
10247         * docs/design/part-overview.txt:
10248         * docs/design/part-qos.txt:
10249         * docs/design/part-query.txt:
10250         * docs/design/part-states.txt:
10251         * docs/design/part-trickmodes.txt:
10252         Some doc updates. Start renaming from stream_time to running_time where
10253         it was used wrongly.
10254
10255 2007-02-15  Wim Taymans  <wim@fluendo.com>
10256
10257         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10258         Answer LATENCY query.
10259
10260 2007-02-15  Wim Taymans  <wim@fluendo.com>
10261
10262         * tests/check/gst/gstevent.c: (event_probe), (test_event),
10263         (GST_START_TEST):
10264         Improve debugging.
10265
10266 2007-02-15  Wim Taymans  <wim@fluendo.com>
10267
10268         * gst/gstpad.c: (gst_pad_get_internal_links_default),
10269         (gst_pad_dispatcher):
10270         Improve debugging of default pad dispatcher and query functions.
10271
10272 2007-02-15  Wim Taymans  <wim@fluendo.com>
10273
10274         * docs/gst/gstreamer-sections.txt:
10275         Remove old unused method.
10276
10277 2007-02-13  Wim Taymans  <wim@fluendo.com>
10278
10279         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10280         Fix check
10281
10282 2007-02-13  Wim Taymans  <wim@fluendo.com>
10283
10284         * docs/design/part-seeking.txt:
10285         Some small update.
10286
10287         * gst/gstsegment.c: (gst_segment_set_seek):
10288         Revert old bogus change that should make seeking work again.
10289
10290 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10291
10292         * docs/random/ensonic/dynlink.txt:
10293         * docs/random/ensonic/interfaces.txt:
10294         * docs/random/ensonic/receipies.txt:
10295           Possible dynamic reconnection api, plus some type fixes the other two
10296           docs.
10297
10298 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
10299
10300         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10301         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10302         Also check for an absolute path following file:// in the filesrc
10303         element. Remove redundant check and call g_path_is_absolute() on the
10304         unescaped location.
10305
10306 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10307
10308         * docs/design/draft-klass.txt:
10309           Add existing category analysis.
10310           
10311         * gst/gstcaps.c:
10312           Fix doc example, framerate is a fraction.
10313
10314 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10315
10316         * configure.ac:
10317         * docs/gst/Makefile.am:
10318         * docs/gst/gstreamer-sections.txt:
10319         * docs/libs/Makefile.am:
10320           Erm, forgot a bunch of --extra-dir.
10321
10322 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10323
10324         * configure.ac:
10325         * docs/gst/Makefile.am:
10326         * docs/libs/Makefile.am:
10327         * docs/plugins/Makefile.am:
10328           Add crossreferences to glib/gobject docs.
10329
10330 2007-02-12  Wim Taymans  <wim@fluendo.com>
10331
10332         * docs/design/draft-latency.txt:
10333         Small update.
10334
10335         * docs/libs/gstreamer-libs-sections.txt:
10336         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10337         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10338         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10339         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10340         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10341         (gst_base_sink_get_position), (gst_base_sink_query),
10342         (gst_base_sink_change_state):
10343         * libs/gst/base/gstbasesink.h:
10344         API: gst_base_sink_query_latency() to let subclasses query the upstream
10345         latency.
10346         API: gst_base_sink_get_latency() to let subclasses query the configured
10347         latency in the sink.
10348         Implement query and set latency.
10349         Update some docs.
10350         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10351         don't continue preroll when we are flushing. Fixes #405284.
10352
10353         * tests/check/pipelines/stress.c: (change_state_timeout),
10354         (quit_timeout), (GST_START_TEST), (stress_suite):
10355         Test for #405284.
10356
10357 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10358
10359         Patch by: René Stadler <mail at renestadler de>
10360
10361         * docs/gst/gstreamer-sections.txt:
10362         * gst/gsttaglist.c: (_gst_tag_initialize):
10363         * gst/gsttaglist.h:
10364           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10365
10366 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10367
10368         * docs/libs/Makefile.am:
10369           Fix path to core docs.
10370
10371         * gst/gstbin.c: (gst_bin_get_by_interface),
10372         (gst_bin_iterate_all_by_interface):
10373           Refix docs by also renaming 'interface' to 'iface' in implementation.
10374
10375         * docs/gst/gstreamer-sections.txt:
10376         * gst/gstcaps.c:
10377         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10378         * gst/gstchildproxy.h:
10379         * gst/gstelementfactory.c:
10380         * gst/gstpadtemplate.h:
10381         * libs/gst/controller/gstcontroller.c:
10382         (gst_controlled_property_new):
10383           Document more.
10384
10385 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10386
10387         * gst/gstbin.h:(gst_bin_get_by_interface),
10388         (gst_bin_iterate_all_by_interface):
10389         Replace interface parameter name by iface as interface is 
10390         a reserved keyword in Visual Studio for C++ projects so it removes
10391         a build error for application developpers using VS.
10392         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10393         Fix a bug on Windows in uri format check. Now the prefix checked
10394         is file:// and next we check if the path after file:// is absolute.
10395         * win32/common/libgstbase.def:
10396         * win32/common/libgstdataprotocol.def:
10397         * win32/common/libgstgstreamer.def:
10398         Add new exported functions.
10399
10400 2007-02-09  Andy Wingo  <wingo@pobox.com>
10401
10402         * tests/check/pipelines/simple-launch-lines.c
10403         (simple_launch_lines_suite, test_tee): Disable tee test until I
10404         have time to fix it :-(
10405
10406         * tests/check/Makefile.am (noinst_HEADERS): 
10407         * tests/check/libs/libsabi.c: 
10408         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10409         * tests/check/gst/gstabi.c: 
10410         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10411
10412         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10413         tests for push and pull tee behavior.
10414
10415         * plugins/elements/gsttee.h: 
10416         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10417         mark as deprecated as well as unimplemented. It was a crack idea.
10418         Add support for tee operating in pull mode, off by default.
10419
10420         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10421         normal-case logs down to LOG, raise errors to WARNING.
10422         (gst_registry_xml_read_cache): Don't log before calling a function
10423         that logs.
10424
10425         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10426         exit (registry finalize).
10427         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10428         DEBUG log when we emit signals that people don't even have the
10429         chance to connect to.
10430         (gst_registry_scan_path_level): Less logging in the normal case.
10431
10432 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10433
10434         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10435
10436         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10437         Correctly generate EOS for non-seekable files. We don't have a total
10438         length for them and would get an unexpected end of file if we only
10439         special-cased for regular files. (Fixes: #404569)
10440
10441 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10442
10443         * tests/check/elements/filesrc.c: (GST_START_TEST),
10444         (filesrc_suite):
10445         Add unit test for the GstURIHandler interface in filesrc. This also
10446         tests the newly added file://localhost/foo/bar support.
10447
10448 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10449
10450         * gst/gstelementfactory.h:
10451           The klass string is not a hierarchy. Add reference to the design doc
10452           for more information and common types.
10453
10454 2007-02-02  Wim Taymans  <wim@fluendo.com>
10455
10456         * gst/gstquery.c: (gst_query_new_latency):
10457         Remove old structure field.
10458
10459 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10460
10461         * tools/gst-launch.1.in:
10462           Give example for network streaming (#351998)
10463
10464 2007-02-02  Wim Taymans  <wim@fluendo.com>
10465
10466         * docs/gst/gstreamer-sections.txt:
10467         Add docs for new methods.
10468
10469         * gst/gstevent.c: (gst_event_new_latency),
10470         (gst_event_parse_latency):
10471         * gst/gstevent.h:
10472         Add new LATENCY event to configure latency in a pipeline.
10473         API: gst_event_new_latency
10474         API: gst_event_parse_latency
10475
10476         * gst/gstmessage.c: (gst_message_new_buffering),
10477         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10478         (gst_message_new_latency), (gst_message_parse_buffering),
10479         (gst_message_parse_lost_preroll):
10480         * gst/gstmessage.h:
10481         Added messages used in draft-latency.
10482         API: gst_message_new_lost_preroll
10483         API: gst_message_parse_lost_preroll
10484         API: gst_message_new_prerolled
10485         API: gst_message_new_latency
10486
10487         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10488         (gst_query_parse_latency):
10489         * gst/gstquery.h:
10490         Implemented new latency query as in design doc.
10491         API: gst_query_new_latency
10492         API: gst_query_set_latency
10493         API: gst_query_parse_latency
10494
10495 2007-02-02  Wim Taymans  <wim@fluendo.com>
10496
10497         * docs/design/draft-latency.txt:
10498         Slight redesign to allow for dynamic latency adjustments.
10499
10500         * docs/design/part-negotiation.txt:
10501         Fix some typos.
10502
10503 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10504
10505         reviewed by: Wim Taymans <wim@fluendo.com>
10506
10507         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10508         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10509         Allow file://localhost/foo/bar URLs and correctly fail for every other
10510         hostname that one sets. This was gnomevfssrc is linked for those if
10511         installed as it can handle it (#403172)
10512
10513 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10514
10515         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10516
10517         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10518         (unref_data), (gst_collect_pads_add_pad_full):
10519         * libs/gst/base/gstcollectpads.h:
10520         Don't put the previously added destroy notify in the GstCollectData
10521         struct as all it's padding is already used and we don't want to break
10522         ABI. Instead put in the pad's GObject data for now. This should be
10523         cleaned up for 0.11 (#402393).
10524
10525 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10526
10527         reviewed by: Wim Taymans <wim@fluendo.com>
10528
10529         * docs/libs/gstreamer-libs-sections.txt:
10530         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10531         (unref_data), (gst_collect_pads_add_pad),
10532         (gst_collect_pads_add_pad_full):
10533         * libs/gst/base/gstcollectpads.h:
10534         API: Add function to specify a destroy notification for custom
10535         GstCollectData when adding new pads in GstCollectPads (#402393).
10536
10537 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10538
10539         * po/sv.po:
10540           Update Swedish translation (#378255).
10541
10542 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10543
10544         * docs/design/draft-klass.txt:
10545           Fix the previous change, this is a list of categories and not a hierarchy.
10546
10547 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10548
10549         * docs/design/draft-klass.txt:
10550           Add info about how to get a list of used classes.
10551
10552 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10553
10554         * plugins/elements/gsttypefindelement.c:
10555         (gst_type_find_element_chain_do_typefinding),
10556         (gst_type_find_element_change_state):
10557           Don't leak found caps in chain function (no idea why that never
10558           showed up as a leak anywhere).
10559
10560 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10561
10562         * gst/gstplugin.h:
10563           Fix and expand GstPluginDesc API docs.
10564
10565 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10566
10567         * gst/gstcaps.c:
10568         * gst/gstelementfactory.c:
10569         * gst/gstpadtemplate.h:
10570           api doc fixes
10571
10572         * libs/gst/controller/gstcontroller.c:
10573         (gst_controlled_property_new):
10574         * tests/examples/controller/audio-example.c:
10575           comment fixes
10576
10577 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10578
10579         * configure.ac:
10580           comment about refining the xml deps
10581
10582         * docs/manuals.mak:
10583           comments about moving away from jade for docs
10584         
10585         * gst/gst.c:
10586           recommit the ifdefs to use the binary registry
10587         
10588         * gst/gstbin.c: (gst_bin_change_state_func):
10589           this break is obsolete
10590
10591         * gst/gstelementfactory.h:
10592           better GST_ELEMENT_DETAILS docs, add comment about translation
10593
10594         * gst/gstinfo.h:
10595           remove eol slash
10596
10597         * gst/gstobject.c: (gst_signal_object_get_type):
10598           add G_UNLIKELY as usual
10599
10600         * gst/gstpad.c: (gst_pad_event_default):
10601           add fall trhu comment
10602
10603         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10604         (gst_registry_binary_initialize_magic),
10605         (gst_registry_binary_save_string),
10606         (gst_registry_binary_save_pad_template),
10607         (gst_registry_binary_save_feature),
10608         (gst_registry_binary_save_plugin),
10609         (gst_registry_binary_write_cache),
10610         (gst_registry_binary_check_magic),
10611         (gst_registry_binary_load_pad_template),
10612         (gst_registry_binary_load_feature),
10613         (gst_registry_binary_load_plugin),
10614         (gst_registry_binary_read_cache):
10615           comment typo and formatting
10616
10617         * gst/gstutils.c: (gst_element_state_get_name),
10618         (gst_element_state_change_return_get_name):
10619           remove obsolete breaks
10620
10621         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10622           add FIXME 0.11 and remove cpp comment
10623
10624 2007-01-29  Edward Hervey  <edward@fluendo.com>
10625
10626         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10627         Fix print statement in an even more portable way.
10628
10629 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10630
10631         * docs/gst/gstreamer-sections.txt:
10632         * gst/gstutils.h:
10633           API: add GST_ROUND_DOWN_* macros (#401781).
10634
10635 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10636
10637         * docs/gst/gstreamer.types.in:
10638         * gst/gstregistry.c: (gst_registry_class_init):
10639           Document registry signals and make gtk-doc pick them up (#401381).
10640
10641 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10642
10643         * docs/pwg/building-testapp.xml:
10644           Add some audioconverts and audioresample to the pipeline, and some
10645           more comments and error handling.
10646
10647 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10648
10649         * docs/manual/manual.xml:
10650         * docs/pwg/pwg.xml:
10651           Fix typo (#400987).
10652
10653 2007-01-26  Wim Taymans  <wim@fluendo.com>
10654
10655         * gst/gstcaps.c: (gst_static_caps_get):
10656         Init caps flags too.
10657
10658 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10659
10660         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10661
10662         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10663         If not using mmap'ed files try to seek to the end instead of the
10664         start to determine whether we can seek at all. This fixes the case
10665         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10666         seeks for everything afterwards fail. Fixes #400656
10667
10668 2007-01-25  Wim Taymans  <wim@fluendo.com>
10669
10670         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10671         Add some refcount debugging.
10672         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10673         in multiple streaming threads.
10674
10675 2007-01-25  Wim Taymans  <wim@fluendo.com>
10676
10677         Patch by: David Schleef <ds at schleef dot org>
10678
10679         * docs/libs/gstreamer-libs-sections.txt:
10680         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10681         * libs/gst/base/gstadapter.h:
10682         API: gst_adapter_copy() that can reduce the amount of memcpy when
10683         getting data from the adapter. Fixes #388201.
10684
10685 2007-01-25  Edward Hervey  <edward@fluendo.com>
10686
10687         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10688         In print statements, "%x" is for guint. Fixes build on macosx.
10689
10690 2007-01-24  Edward Hervey  <edward@fluendo.com>
10691
10692         * plugins/elements/gstmultiqueue.c:
10693         (gst_multi_queue_loop):
10694         Small fix.
10695         (single_queue_overrun_cb), (single_queue_underrun_cb),
10696         (single_queue_check_full), (gst_single_queue_new):
10697         Implement single queue growth system.
10698         This uses the extra-size properties, and will grow single queues by
10699         that much if one goes full whereas there are others empty. This is
10700         called extra-mode in the code.
10701         When a single queue's levels go back below the initial max-size
10702         limits, it is no longer in extra-mode. This is to ensure we don't
10703         consume too much memory.
10704         Fixes #399875
10705
10706 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10707
10708         * gst/gst.c: (gst_init_get_option_group):
10709           Make warning about late g_thread_init() calls a bit more explicit,
10710           so that it's more obvious to application developers what they need
10711           to do if a user files a bug against their application.
10712
10713 2007-01-22  Edward Hervey  <edward@fluendo.com>
10714
10715         * plugins/elements/gstmultiqueue.c:
10716         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10717         Remove previous hack of unsetting the flushing flag for the source pad
10718         instead of activating it. Instead, fix the source pad activate function
10719         so that it no longer depends on having a parent set or not.
10720
10721 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10722
10723         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10724
10725         * docs/manual/basics-bus.xml:
10726           Fix example code, gst_element_unref() doesn't exist any longer.
10727
10728 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10729
10730         Patch by: Mark Nauwelaerts <manauw at skynet be>
10731
10732         * gst/gstpad.c:
10733           Fix two docs typoes (#399094).
10734
10735 2007-01-19  Edward Hervey  <edward@fluendo.com>
10736
10737         * docs/faq/gst-uninstalled:
10738         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10739         depending on libgstbaseutils can work in uninstalled environment.
10740
10741 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10742
10743         * gst/gsttaglist.h:
10744         * gst/gsttagsetter.c:
10745         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10746         statement for new tag.
10747
10748 2007-01-17  Edward Hervey  <edward@fluendo.com>
10749
10750         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10751         When dynamically creating single queues, activate sinkpad before adding
10752         it.
10753         We should be doing the same thing for the source pad, but we can't
10754         since it would call a method which needs the parent to be set in order
10755         to work propertly. Instead of activating the source pad, we just unset
10756         the flushing flag, which is the minimal requirement for adding a pad
10757         to an element in a state greater than READY.
10758
10759 2007-01-17  Edward Hervey  <edward@fluendo.com>
10760
10761         * docs/faq/gst-uninstalled:
10762         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10763         Mac OS X.
10764
10765 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10766
10767         * tests/check/gst/gstabi.c:
10768         * tests/check/gst/struct_hppa.h:
10769         * tests/check/libs/libsabi.c:
10770         * tests/check/libs/struct_hppa.h:
10771           Add ABI structs for HPPA (see #393796).
10772
10773 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10774
10775         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10776           Actually write ABI structs to the file specified in the GST_ABI
10777           environment variable, as the message we print claims we would.
10778
10779 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10780
10781         * tests/check/gst/gsttask.c:
10782           Fix header comment.
10783
10784 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10785
10786         * gst/gsttaglist.c: (_gst_tag_initialize):
10787           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10788           previous two entries.
10789
10790 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10791
10792         * docs/gst/gstreamer-sections.txt:
10793         * gst/gsttaglist.c: (_gst_tag_initialize):
10794         * gst/gsttaglist.h:
10795           Add tag support for beat-per-minute.
10796
10797 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10798
10799         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10800         (gst_registry_binary_initialize_magic),
10801         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10802         (gst_registry_binary_save_pad_template),
10803         (gst_registry_binary_save_feature),
10804         (gst_registry_binary_save_plugin),
10805         (gst_registry_binary_write_cache),
10806         (gst_registry_binary_check_magic),
10807         (gst_registry_binary_load_pad_template),
10808         (gst_registry_binary_load_feature),
10809         (gst_registry_binary_load_plugin),
10810         (gst_registry_binary_read_cache):
10811         * gst/gstregistrybinary.h:
10812           Use glib types, cleanup comments, impement interfaces and uri-types.
10813
10814 2007-01-13  Andy Wingo  <wingo@pobox.com>
10815
10816         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10817         getrange() to return buffers with other caps, while we fix
10818         demuxers and typefind, or otherwise change part-negotiation.txt.
10819
10820 2007-01-12  Andy Wingo  <wingo@pobox.com>
10821
10822         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10823         Factor start/stop into this private function instead of partially
10824         in activate functions and partially in the change_state function.
10825         Fixes setup before the element has changed from READY->PAUSED, as
10826         is the case in pull-mode pipelines.
10827         (gst_base_transform_sink_activate_push)
10828         (gst_base_transform_src_activate_pull): Refactor to use
10829         gst_base_transform_activate().
10830         (gst_base_transform_change_state): Removed, not needed any more.
10831
10832         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10833         Truncate before fixating.
10834         
10835         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10836         Don't set_caps() if the result of fixating is ANY, as it's not
10837         supported, and not necessary in the case of a link with no
10838         template caps on either side. Fixes tests/check/libs/basesrc in
10839         some pull-mode tests.
10840
10841         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10842         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10843         (gst_base_transform_src_activate_pull): 
10844         Track the activation mode.
10845         (gst_base_transform_setcaps): In pull mode, when activating the
10846         src pad, after activating the sink pad, activate the sink pad's
10847         peer, as discussed in part-negotiation.txt.
10848
10849         * libs/gst/base/gstbasesrc.h: 
10850         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10851         vmethod, as in basesink.
10852
10853         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10854
10855         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10856         mode, first proxy the setcaps to the peer pad.
10857         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10858         new fixate vmethod.
10859         (gst_base_sink_default_activate_pull): Rename from
10860         gst_base_sink_activate_pull.
10861         (gst_base_sink_negotiate_pull): New function, performs negotiation
10862         in pull mode before calling ::activate_pull().
10863         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10864         vmethod instead of the default implementation. I have no idea how
10865         this worked before. Negotiate before calling activate_pull.
10866
10867         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10868         sink pads in pull mode. In addition to being correct, fixes
10869         filesrc ! decodebin ! identity ! fakesink.
10870         (gst_pad_get_range, gst_pad_pull_range): Don't call
10871         gst_pad_set_caps() if the caps changes; instead error out with
10872         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10873
10874 2007-01-12  Andy Wingo  <wingo@pobox.com>
10875
10876         * docs/design/part-negotiation.txt: Update with more policy.
10877
10878 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10879
10880         * libs/gst/check/gstbufferstraw.h:
10881         * libs/gst/check/gstcheck.h:
10882           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10883           belongs.
10884
10885 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10886
10887         * tests/check/Makefile.am:
10888         * tests/check/gst/.cvsignore:
10889         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10890         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10891         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10892         (GST_START_TEST), (gst_tag_setter_suite):
10893           Add minimal unit test for beforementioned GstTagSetter bug.
10894
10895 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10896
10897         Patch by: René Stadler <mail at renestadler dot de>
10898
10899         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10900           gst_tag_list_merge() returns a new list, so it's not the best idea
10901           to ingore its return value. Effectively meant that tags could only
10902           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10903           Also add function guard to require a non-NULL taglist as input (has
10904           always been so due to gst_tag_list_copy(), just making it explicit).
10905
10906 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10907
10908         * docs/random/draft-missing-plugins.txt:
10909           Some additions: mention new API that is supposed to be used at the
10910           various stages; short blob about new gst-inspect introspection
10911           option; mention potential future problem with plugins that have
10912           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10913
10914 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10915
10916         * tools/gst-inspect.c:
10917         (print_plugin_automatic_install_info_codecs),
10918         (print_plugin_automatic_install_info_protocols),
10919         (print_plugin_automatic_install_info), (main):
10920         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10921         introspect plugin files and get machine-parsable output that corresponds
10922         to the last bit of the missing-plugin installer string (small gotcha:
10923         doesn't take into account ranks).
10924
10925 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10926
10927         * configure.ac:
10928         * docs/gst/gstreamer-sections.txt:
10929         * gst/Makefile.am:
10930         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10931         (gst_registry_lookup_locked):
10932         * gst/gstregistry.h:
10933         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10934         (gst_registry_binary_initialize_magic),
10935         (gst_registry_binary_save_string),
10936         (gst_registry_binary_save_pad_template),
10937         (gst_registry_binary_save_feature),
10938         (gst_registry_binary_save_plugin),
10939         (gst_registry_binary_write_cache),
10940         (gst_registry_binary_check_magic),
10941         (gst_registry_binary_load_pad_template),
10942         (gst_registry_binary_load_feature),
10943         (gst_registry_binary_load_plugin),
10944         (gst_registry_binary_read_cache):
10945         * gst/gstregistrybinary.h:
10946         * gst/gstregistryxml.c: (load_feature),
10947         (gst_registry_xml_read_cache):
10948           commit binary registry (disabled by default, see #359653)
10949
10950 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10951
10952         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10953           Fix 'make check' too.
10954
10955 2007-01-10  Andy Wingo  <wingo@pobox.com>
10956
10957         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10958         notes.
10959         
10960         * docs/design/part-negotiation.txt: Update with, um, one way that
10961         pull-mode negotiation might work?
10962
10963         * gst/gstpad.h: 
10964         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10965         that the pad must be a src pad; makes sense to call it the other
10966         way in pull mode, and the logic is symmetric anyway.
10967
10968 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10969
10970         * plugins/elements/gstfilesink.c:
10971           Include <stdio.h> for fseeko().
10972
10973 2007-01-10  Wim Taymans  <wim@fluendo.com>
10974
10975         * gst/gstevent.c:
10976         * gst/gstevent.h:
10977         Reserve LATENCY event.
10978
10979 2007-01-09  Wim Taymans  <wim@fluendo.com>
10980
10981         * docs/design/draft-latency.txt:
10982         Updates.
10983
10984 2007-01-09  Wim Taymans  <wim@fluendo.com>
10985
10986         * docs/design/draft-latency.txt:
10987         Updates.
10988
10989         * gst/gstelement.h:
10990         * gst/gststructure.c:
10991         * gst/gsttrace.c:
10992         Small typo fixes.
10993
10994 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10995
10996         * tests/check/.cvsignore:
10997           Ignore test-registry.xml as well.
10998
10999 2007-01-09  Wim Taymans  <wim@fluendo.com>
11000
11001         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
11002         unref data at the end when we are done with the pad.
11003
11004 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
11005
11006         * docs/gst/gstreamer-sections.txt:
11007         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
11008         (init_post), (gst_deinit), (gst_update_registry):
11009         * gst/gst.h:
11010           API: add gst_update_registry() (#391296).
11011
11012         * tests/check/Makefile.am:
11013         * tests/check/gst/gstregistry.c:
11014         * tests/check/gst/.cvsignore:
11015           Simple unit test for the above.
11016
11017 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
11018
11019         * gst/gstregistry.c: (gst_registry_scan_path_level):
11020           Plugin extension on HP-UX is .sl, add that to the list of approved
11021           plugin extensions (see #393796).
11022
11023         * tests/check/gst/gstpad.c: (GST_START_TEST):
11024           ulong => gulong. Fixes compilation with HP-UX compiler.
11025
11026         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11027           Fix compilation if valgrind headers are not available.
11028
11029 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
11030
11031         * win32/common/libgstreamer.def: 
11032           Add new exported function.
11033         * win32/vs6/libgstbase.dsp: 
11034           Add gstdataqueue.c to the build.
11035         * win32/vs6/libgstcoreelements.dsp:
11036           Add gstmultiqueue.c to the build.
11037         
11038 2007-01-06  Andy Wingo  <wingo@pobox.com>
11039
11040         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
11041         activate_pull(), providing for a way to specialize the process of
11042         spawning a thread to pull on the sink pad. There is a default
11043         implementation.
11044
11045         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
11046         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
11047         (gst_base_sink_init): Renamed pad activation functions (inserting
11048         "_pad" in their names). Refactor to use the new activate_pull
11049         vmethod, as appropriate.
11050         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
11051         default activate_pull function to start a task pulling from the
11052         sink pad, as before.
11053
11054         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
11055         on the pads if necessary, as in push()/chain(). Update docs.
11056         Shouldn't affect existing pull() usage as it is currently only
11057         being used on buffers without caps.
11058
11059 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11060
11061         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11062         (init_pre):
11063           Call g_thread_init() first thing in gst_init() / gst_check_init().
11064           When initialisation is done via gst_init_get_option_group() and
11065           GOption parsing, issue a warning if the GLib thread system has not
11066           been initialised yet by the time gst_init_get_option_group() is
11067           called, as it's quite likely other GLib functions such as
11068           g_option_context_new() have been called already then, and
11069           g_thread_init() must be called before any other GLib function. The
11070           application in question must be fixed in that case, since memory
11071           corruption might happen otherwise.
11072           We issue the warning because even if the GLib folks decide to work
11073           around the problem on their end in future, this is still an issue
11074           with all GLib versions >= 2.10.0, so we should warn until we depend
11075           on a GLib version we know to be safe.
11076           Update documentation as well.
11077           Closes bug #391278.
11078
11079 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11080
11081         * tools/gst-inspect.c: (main):
11082         * tools/gst-launch.c: (main):
11083         * tools/gst-typefind.c: (main):
11084         * tools/gst-xmlinspect.c: (main):
11085           Call g_thread_init() really really early, before any other GLib
11086           function (see #342564 and recent discussion on gtk-devel-list).
11087
11088 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11089
11090         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
11091
11092         * gst/gst_private.h:
11093         * gst/gstconfig.h.in:
11094         * gst/gstinfo.h:
11095           On win32, all the __declspec stuff for symbol exporting is
11096           apparently only needed with MSVC, but doesn't work with MingW.
11097           Fixes compilation with MingW and #391909.
11098
11099 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11100
11101         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11102           Change some GST_ERROR_OBJECT that aren't really errors to
11103           GST_WARNING_OBJECT in order to reduce terminal spam.
11104
11105 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11106
11107         * tests/check/Makefile.am:
11108           disable test again, as there seem to be still race problems
11109
11110 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11111
11112         * tests/check/Makefile.am:
11113         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11114         (GST_START_TEST), (queue_suite):
11115           enable queue test again, add tests for the leaky behaviour
11116
11117 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
11118
11119         * configure.ac:
11120         * tests/examples/Makefile.am:
11121           Compile adapter test/example only if the required headers are
11122           available (fixes #391915).
11123
11124 2007-01-01  David Schleef  <ds@schleef.org>
11125
11126         * gst/gstplugin.c:
11127           Restore the previous signal handler for SIGSEGV instead of
11128           setting to default, since we may have stolen it away from
11129           someone.  (i.e., Mono)
11130
11131 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11132
11133         * docs/random/draft-missing-plugins.txt:
11134           Some small additions and clarifications.
11135
11136 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11137
11138         * gst/gstregistryxml.c: (gst_registry_save_escaped):
11139           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11140           since that can lead to random memory corruptions and crashes
11141           (may or may not be related to #383244, #386711, and #386711).
11142
11143 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11144
11145         * tests/check/.cvsignore:
11146         * tests/check/Makefile.am:
11147           sync .cvsignome and CLEANFILES
11148
11149 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11150
11151         * tests/check/Makefile.am:
11152           fix distcheck
11153
11154 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11155
11156         * docs/design/part-states.txt:
11157           two tiny additional comments
11158         
11159         * gst/gststructure.c:
11160           doc fixing
11161
11162         * tests/check/Makefile.am:
11163         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11164         (GST_START_TEST):
11165           disable test for now, unless it gets fixed
11166
11167 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11168
11169         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11170         (GST_START_TEST):
11171           fix race in underrun test
11172
11173 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11174
11175         * tests/check/elements/.cvsignore:
11176           ignore more
11177
11178         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11179         (GST_START_TEST):
11180           try to narrow test failure
11181
11182 2006-12-21  David Schleef  <ds@schleef.org>
11183
11184         * plugins/elements/gstfakesrc.c:
11185           Use g_random_int_range(), since it produces better random
11186           numbers in a range than almost-correct floating point code.
11187
11188 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11189
11190         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11191         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11192         (gst_check_teardown_sink_pad):
11193           do not automatically (de)activate pads
11194
11195         * tests/check/Makefile.am:
11196         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11197         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11198           add new, yet simple tests for queue
11199
11200         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11201         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11202         * tests/check/elements/filesrc.c: (cleanup_filesrc),
11203         (GST_START_TEST):
11204         * tests/check/elements/identity.c: (cleanup_identity):
11205           consistent pad (de)activation
11206
11207 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
11208
11209         Patch by: Sebastian Dröge  <slomo ubuntu com>
11210
11211         * libs/gst/base/gstcollectpads.c:
11212           Fix two doc typos (#387866).
11213
11214 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11215
11216         * docs/manual/advanced-dparams.xml:
11217           Fix typo (g_object_control_properties() doesn't exist).
11218
11219 2006-12-19  Edward Hervey  <edward@fluendo.com>
11220
11221         * gst/gstsegment.c: (gst_segment_set_seek):
11222         Fine tune the cases where the segment start/stop values are really
11223         updated.
11224         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11225         Add tests for the return values of gst_segment_set_seek().
11226
11227 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11228
11229         * gst/gst.c:
11230           Docs typo fix.
11231
11232         * plugins/elements/gstqueue.c: (gst_queue_class_init),
11233         (gst_queue_init):
11234           Fix incorrect documentation and flesh it out a bit more.
11235           Set default values for the max properties on the GParamSpec as well,
11236           so it shows up correctly in gst-inspect.
11237
11238 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
11239
11240         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11241           Correct docs of queue, add more detail and crosslink it more.
11242
11243 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11244
11245         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11246           Print additional debug info when the stream isn't perfectly
11247           timestamped; don't try to use invalid durations.
11248
11249 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11250
11251         * docs/design/Makefile.am:
11252           Dist new design docs.
11253
11254 2006-12-16  Wim Taymans  <wim@fluendo.com>
11255
11256         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11257
11258         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11259         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11260         (gst_collect_pads_stop), (gst_collect_pads_event),
11261         (gst_collect_pads_chain):
11262         * libs/gst/base/gstcollectpads.h:
11263         Add refcounting to the collectpads data so we can track when it's safe
11264         to free the data. Fixes #383382.
11265
11266 2006-12-15  Wim Taymans  <wim@fluendo.com>
11267
11268         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11269         (gst_collect_pads_remove_pad):
11270         Automatically activate/deactivate pads when they are added to a
11271         started/stoped collectpads.
11272
11273 2006-12-15  Wim Taymans  <wim@fluendo.com>
11274
11275         * gst/gstelement.c: (gst_element_add_pad):
11276         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11277         * gst/gstpad.c: (gst_pad_init):
11278         Set pads to FLUSHING when they are created. Check, warn and fix when a
11279         demuxer adds an inactive pad to itself when running. Fixes #339326.
11280
11281 2006-12-15  Wim Taymans  <wim@fluendo.com>
11282
11283         * gst/gstelement.c: (gst_element_class_init),
11284         (gst_element_default_send_event), (gst_element_send_event),
11285         (gst_element_default_query), (gst_element_query):
11286         Expose default element send_event and query handling as vmethods that
11287         subclasses can chain up to.
11288
11289 2006-12-15  Wim Taymans  <wim@fluendo.com>
11290
11291         * gst/gstelement.c: (gst_element_set_state_func):
11292         Small documentation fixes.
11293
11294 2006-12-15  Wim Taymans  <wim@fluendo.com>
11295
11296         * docs/design/draft-latency.txt:
11297         Checked in draft for handling latency in pipelines.
11298
11299 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11300
11301         * Makefile.am:
11302         * gstreamer.doap:
11303         * gstreamer.spec.in:
11304           adding .doap file
11305
11306 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11307
11308         * gst/gst.c: (init_pre), (init_post):
11309           init_pre() and init_post() might be called via our GOptionGroup or
11310           from gst_init(), and we should skip both of them if we've already
11311           been initialised, otherwise we will init some things twice or add
11312           two default log functions.
11313
11314 2006-12-13  Edward Hervey  <edward@fluendo.com>
11315
11316         * docs/manual/basics-bus.xml:
11317         No, gst_main_loop does not exist. Its g_main_loop.
11318         Discovered by somebody who abused the copy-paste technique of coding :)
11319
11320 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11321
11322         * gst/gstghostpad.c:
11323           Log ghostpad debug stuff to the GST_PADS category as well rather
11324           than just to the default category.
11325
11326 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11327
11328         * configure.ac:
11329         * gst/gst.c: (init_pre):
11330           Add some basic system details such as OS and architecture
11331           to the debug output if possible, courtesy of uname().
11332
11333 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11334
11335         * docs/gst/running.xml:
11336           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11337           environment variables.
11338
11339 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11340
11341         * tests/check/gst/gstbin.c: (GST_START_TEST):
11342         It is acceptable to have a refcount of 2 or 3 at this point in the
11343         test, because the pipeline might be just posting its state_change
11344         message. The next line then waits for that message to appear using
11345         bus_poll, so that should be fine too.
11346
11347 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11348
11349         * gst/gst.c: (ensure_current_registry_forking):
11350         Ignore EINTR when reading from the child registry pipe.
11351         Explicitly ignore the return value from close, since it makes no
11352         difference.
11353
11354         * gst/gstminiobject.c: (gst_mini_object_ref),
11355         (gst_mini_object_unref):
11356         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11357
11358         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11359         When removing cached plugins, remove their features too, so they're
11360         not visible after they've disappeared.
11361
11362         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11363         In the unlikely case that we are linking pads with no parents, don't
11364         crash trying to get the non-existent parent bin.
11365
11366         * gst/parse/grammar.y:
11367         Output debug in the PIPELINE category
11368
11369 2005-03-08  Wim Taymans  <wim@fluendo.com>
11370
11371         Patch by: René Stadler <mail at renestadler dot de>
11372
11373         * gst/gstclock.c: (gst_clock_new_periodic_id):
11374         Reject invalid clock times for interval of periodic ids.
11375         Fixes ##383506.
11376
11377 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11378
11379         * gst/gstelementfactory.c: (gst_element_factory_create):
11380         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11381         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11382         * tools/gst-inspect.c: (print_element_info):
11383         Fix refcounting of gst_plugin_feature_load to match the docs. 
11384         Fixes: #380129
11385
11386 2006-12-07  Wim Taymans  <wim@fluendo.com>
11387
11388         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11389         (gst_base_sink_get_position):
11390         Improve debugging of events.
11391
11392 2006-12-07  Wim Taymans  <wim@fluendo.com>
11393
11394         Patch by: René Stadler <mail at renestadler dot de>
11395
11396         * gst/gstclock.c: (gst_clock_id_wait):
11397         Make period ids add the interval to the origial requested time instead
11398         of the possibly updated time which can be wrong when there are multiple
11399         waiters for the same id. Fixes #382592.
11400
11401         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11402         (gst_system_clock_id_wait_jitter_unlocked),
11403         (gst_system_clock_id_wait_jitter):
11404         Fix restart in the async notify thread when an async entry is added to
11405         the front of the list. Fixes #381492. 
11406
11407         * tests/check/gst/gstsystemclock.c: (store_callback),
11408         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11409         Added test for multiple async waits.
11410         Added test for async wait order.
11411
11412 2006-12-07  Wim Taymans  <wim@fluendo.com>
11413
11414         * gst/gstbin.c: (gst_bin_query):
11415         Add some more docs about the POSITION query.
11416
11417 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11418
11419         * configure.ac:
11420         Bump version nano - back to CVS.
11421
11422 === release 0.10.11 ===
11423
11424 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11425
11426         * configure.ac:
11427           releasing 0.10.11, "Love never runs on time"
11428
11429 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11430
11431         * win32/common/libgstbase.def:
11432         * win32/common/libgstreamer.def:
11433         * win32/vs8/libgstbase.vcproj:
11434         * win32/vs8/libgstcoreelements.vcproj:
11435         * win32/vs8/libgstreamer.vcproj:
11436         Fix compilation on win32 under VS8
11437         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11438         Partially fixes #381175
11439
11440 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11441
11442         * gst/gstvalue.c: (gst_value_compare_fraction):
11443         If someone is foolish enough to compare 2 fractions with denominator =
11444         0, return UNORDERED rather than aborting.
11445
11446 2006-11-28  Edward Hervey  <edward@fluendo.com>
11447
11448         * libs/gst/base/Makefile.am:
11449         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11450         (gst_data_queue_base_init), (gst_data_queue_class_init),
11451         (gst_data_queue_init), (gst_data_queue_new),
11452         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11453         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11454         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11455         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11456         (gst_data_queue_set_flushing), (gst_data_queue_push),
11457         (gst_data_queue_pop), (gst_data_queue_drop_head),
11458         (gst_data_queue_set_property), (gst_data_queue_get_property):
11459         * libs/gst/base/gstdataqueue.h:
11460         New GstDataQueue object for threadsafe queueing. Most useful for
11461         elements that need some queueing functionnality.
11462         * docs/libs/gstreamer-libs-docs.sgml:
11463         * docs/libs/gstreamer-libs-sections.txt:
11464         Insert documentation for GstDataQueue
11465         * plugins/elements/Makefile.am:
11466         * plugins/elements/gstelements.c:
11467         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11468         (gst_multi_queue_class_init), (gst_multi_queue_init),
11469         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11470         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11471         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11472         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11473         (gst_multi_queue_loop), (gst_multi_queue_chain),
11474         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11475         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11476         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11477         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11478         (wake_up_next_non_linked), (compute_next_non_linked),
11479         (single_queue_overrun_cb), (single_queue_underrun_cb),
11480         (single_queue_check_full), (gst_single_queue_new):
11481         * plugins/elements/gstmultiqueue.h:
11482         New multiqueue element, using GstDataQueue. Used for queuing multiple
11483         streams.
11484         Closes #344639 and #347785
11485
11486 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11487
11488         * docs/pwg/advanced-types.xml:
11489           add more missing type details
11490
11491         * tools/gst-run.c: (main):
11492           remove unused variable
11493
11494 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11495
11496         * docs/libs/Makefile.am:
11497         * docs/libs/gstreamer-libs.types:
11498           add types of base classes to enable gobject specific stuff in the docs
11499
11500         * docs/random/ensonic/embedded.txt:
11501           more ideas about isolating platform specific things
11502
11503 2006-11-20  Wim Taymans  <wim@fluendo.com>
11504
11505         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11506
11507         * libs/gst/check/gstcheck.h:
11508         Fix compilation and running against 0.9.4. Fixes #377332.
11509
11510 2006-11-20  Wim Taymans  <wim@fluendo.com>
11511
11512         * gst/gstsegment.c: (gst_segment_set_seek),
11513         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11514         (gst_segment_to_running_time):
11515         Fix boundary checking in to_running_time() and to_stream_time().
11516         Fixes #377183.
11517
11518         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11519         stream and running time can now be calculated for the complete
11520         clipped segment.
11521
11522 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11523
11524         * gst/gstpad.c: (gst_pad_push_event):
11525           Can't access event structure after giving away ownership of
11526           the event.
11527
11528 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11529
11530         * docs/random/ensonic/embedded.txt:
11531         * docs/random/ensonic/profiling.txt:
11532         * docs/random/ensonic/receipies.txt:
11533           more thinking
11534
11535 2006-11-13  Wim Taymans  <wim@fluendo.com>
11536
11537         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11538
11539         * gst/gstpad.c:
11540         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11541
11542 2006-11-13  Wim Taymans  <wim@fluendo.com>
11543
11544         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11545
11546         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11547         Store new length in segment duration so we don't keep on calling the
11548         potentially expensize get_size() call. Fixes #370865.
11549
11550 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11551
11552         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11553
11554         * win32/common/libgstreamer.def:
11555           Add two missing symbols (#366492).
11556
11557 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11558
11559         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11560         (gst_adapter_take_buffer):
11561         Fix format string to use all its arguments.
11562         Remove useless >= check on a guint
11563
11564 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11565
11566         * tests/examples/adapter/.cvsignore:
11567         Ignore build file as commanded by the build-bot
11568
11569 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11570
11571         * tests/examples/adapter/Makefile.am:
11572         * tests/examples/adapter/adapter_test.c: (run_test_take),
11573         (run_test_take_buffer), (run_tests), (main):
11574
11575         Add new files from the previous commit
11576
11577 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11578
11579         * Makefile.am:
11580         * configure.ac:
11581         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11582         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11583         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11584         * libs/gst/base/gstadapter.h:
11585         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11586         (GST_START_TEST), (gst_adapter_suite):
11587         * tests/examples/Makefile.am:
11588         Do some optimisation work in GstAdapter to avoid copies in more cases.
11589         It could still do slightly better by merging buffers when
11590         gst_buffer_is_span_fast is true, but is already faster. 
11591
11592         Also, avoid traversing a single-linked list to append each incoming 
11593         buffer inside the adapter.
11594
11595         Add simple test app that times the adapter behaviour in different
11596         situations, and extend the unit test to check that bytes enter and
11597         exit the adapter in their original order.
11598
11599 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11600
11601         * docs/random/draft-missing-plugins.txt:
11602           Update: use element message instead of adding a new message
11603           type to the core; don't provide GStreamer API to initiate the
11604           plugin download, just provide API to compose the strings needed
11605           and let an external libgimmestuff handle the rest.
11606
11607 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11608
11609         * tools/gst-inspect.c: (print_element_properties_info):
11610         Print a string instead of 'unknown type' for GValueArray properties
11611
11612 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11613
11614         * docs/random/draft-missing-plugins.txt:
11615         More small fixes.
11616
11617 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11618
11619         * tests/examples/typefind/typefind.c: (type_found), (main):
11620           Make typefind element example work again (#371894); add a
11621           license header.
11622
11623 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11624
11625         * docs/random/draft-missing-plugins.txt:
11626           Commit initial draft about how to deal with missing plugins,
11627           needs work (API too).
11628
11629 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11630
11631         * docs/pwg/advanced-types.xml:
11632           documents the new caps elements (see #363118)
11633
11634 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11635
11636         * gst/gstplugin.c: (gst_plugin_load_file):
11637         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11638         (gst_file_src_map_region), (gst_file_src_start):
11639         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11640         (gst_file_index_commit):
11641           Use g_strerror() instead of strerror() - we want UTF-8.
11642
11643 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11644
11645         Patch by: Peter Kjellerstedt <pkj at axis com>
11646
11647         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11648           Another printf fix (#371493).
11649
11650 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11651
11652         * tests/check/gst/gsttag.c:
11653           relicence (okay with author=company)
11654
11655 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11656
11657         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11658         (gst_pad_push_event):
11659           Enhance debug and improve docs
11660         
11661         * gst/gsturi.c:
11662           Fix docs
11663
11664 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11665
11666         * docs/random/ensonic/distributed.txt:
11667         * docs/random/ensonic/profiling.txt:
11668           more ideas
11669
11670 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11671
11672         * docs/gst/gstreamer-sections.txt:
11673           add new API and fix the build
11674           
11675         * gst/gstbin.c: (gst_bin_recalc_state):
11676         * gst/gstelement.c: (gst_element_message_full),
11677         (gst_element_get_state_func), (gst_element_set_state_func):
11678           use new API and improve logging
11679         
11680         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11681         * gst/gstutils.h:
11682           API: add function to get StateChangereturn names to improve logs 
11683
11684 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11685
11686         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11687           I'm considering shooting the next person to put strerror stuff
11688           in the translateable part of the message.
11689
11690 2006-11-03  Wim Taymans  <wim@fluendo.com>
11691
11692         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11693         Get the type and printf conversion specifiers right.
11694
11695 2006-11-03  Wim Taymans  <wim@fluendo.com>
11696
11697         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11698
11699         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11700         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11701         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11702         Some small cleanups. Improve debugging.
11703         * gst/gstpad.h:
11704         Signal all waiting threads with a broadcast instead of just one.
11705         Fixes #369942.
11706
11707 2006-11-03  Wim Taymans  <wim@fluendo.com>
11708
11709         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11710         (gst_fd_src_create):
11711         Add some debugging. 
11712         Only update fd when it's different from the old.
11713
11714 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11715
11716         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11717           Printf fixes for PPC/OSX, take two (#369366).
11718
11719 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11720
11721         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11722
11723         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11724         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11725         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11726           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11727           don't cast to long long for portability reasons, but use
11728           GLib's types instead.
11729
11730 2006-10-30  Michael Smith  <msmith@fluendo.com>
11731
11732         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11733           Get the arguments to lseek() the right way around.
11734           Fixes 367677.
11735
11736 2006-10-30  Wim Taymans  <wim@fluendo.com>
11737
11738         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11739
11740         * gst/gstinfo.h:
11741         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11742
11743 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11744
11745         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11746
11747         * docs/design/part-MT-refcounting.txt:
11748         * docs/random/wtay/capsnego2-docs:
11749         * gst/gstclock.c:
11750         * gst/gstxml.c:
11751           Typo fixes (#366212).
11752
11753 2006-10-28  Wim Taymans  <wim@fluendo.com>
11754
11755         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11756
11757         * gst/gst.c:
11758         * win32/common/libgstbase.def:
11759         * win32/common/libgstreamer.def:
11760         * win32/vs8/libgstbase.vcproj:
11761         * win32/vs8/libgstcontroller.vcproj:
11762         Add needed entries in .def files.
11763         Use HAVE_UNISTD_H.
11764         Rearrange def files in vs8 solutions. Fixes #366286.
11765
11766 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11767
11768         * win32/common/gstconfig.h:
11769           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11770           hand-made win32 gstconfig.h. Fixes #366321.
11771
11772 2006-10-27  Wim Taymans  <wim@fluendo.com>
11773
11774         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11775         (gst_ghost_pad_new_full):
11776         Make acceptcaps return TRUE when we don't have a target, just like
11777         setcaps does.
11778
11779 2006-10-27  Wim Taymans  <wim@fluendo.com>
11780
11781         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11782         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11783
11784 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11785
11786         * gst/gststructure.c: (gst_structure_id_set_value):
11787           If someone tries to set a non-UTF8 string field on a structure,
11788           don't just print a warning, but also ignore the request and do
11789           not change/add that field to the structure.
11790
11791         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11792           Test for the above.
11793
11794 2006-10-25  David Schleef  <ds@schleef.org>
11795
11796         * gst/gstinfo.c:
11797           g_hash_table_insert() needs a cast to a non-const pointer duh.
11798
11799 2006-10-25  David Schleef  <ds@schleef.org>
11800
11801         * gst/gstinfo.c:
11802         * gst/gstinfo.h:
11803           Change name parameter of _gst_debug_register_funcptr to const
11804           to reflect the constness of its use in the function as well
11805           as to quiet a gcc warning.
11806
11807 2006-10-25  Edward Hervey  <edward@fluendo.com>
11808
11809         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11810         Don't push the buffer if it's empty.
11811         Closes #363095
11812
11813 2006-10-24  Wim Taymans  <wim@fluendo.com>
11814
11815         * gst/gstevent.h:
11816         Add small comment.
11817
11818         * libs/gst/base/gstbasetransform.c:
11819         (gst_base_transform_sink_eventfunc):
11820         Debug segment values *after* updating them as this is more
11821         interesting.
11822
11823 2006-10-23  Wim Taymans  <wim@fluendo.com>
11824
11825         * docs/design/part-events.txt:
11826         Update some docs.
11827
11828         * docs/design/part-block.txt:
11829         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11830         (gst_pad_push_event):
11831         Revert BLOCKING patch, it tries to be smart without really having a
11832         clear idea what or how. So, now we discard all FLUSHING events again on
11833         a blocking pad. Should fix gnonlin again.
11834
11835 2006-10-23  Wim Taymans  <wim@fluendo.com>
11836
11837         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11838
11839         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11840         (gst_base_src_start), (gst_base_src_activate_push):
11841         Make sure size is always initialized. Fixes #364388.
11842
11843 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11844
11845         * docs/random/ensonic/distributed.txt:
11846           add some ideas about doing distributed processing
11847
11848         * docs/random/ensonic/profiling.txt:
11849           get_rusage look promising
11850
11851 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11852
11853         * docs/manual/basics-helloworld.xml:
11854           Add a cast in example to fix compile warning
11855
11856 2006-10-18  Wim Taymans  <wim@fluendo.com>
11857
11858         * gst/gstsegment.c: (gst_segment_set_last_stop),
11859         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11860         Relax arg checking again, -1 is allowed.
11861
11862 2006-10-18  Wim Taymans  <wim@fluendo.com>
11863
11864         * gst/gstsegment.c: (gst_segment_set_last_stop),
11865         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11866         _set_last_stop() must be with a value != -1
11867         A _TYPE_SET to -1 means seek to 0.
11868         Calc last_stop correctly for negative rates.
11869         Make sure we work with positive durations when updating a segment.
11870
11871 2006-10-18  Wim Taymans  <wim@fluendo.com>
11872
11873         * docs/design/part-live-source.txt:
11874         * gst/gstclock.h:
11875         Small docs fixes.
11876
11877 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11878
11879         * gst/gstbuffer.h:
11880           Add an explicit cast to GstBuffer** to keep old code that added an
11881           explicit cast to GstMiniObject** for gst_mini_object_replace()
11882           compiling without warning.
11883
11884 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11885
11886         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11887           check for validity of dates
11888
11889 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11890
11891         * docs/gst/gstreamer-sections.txt:
11892           Forgot this one, makes gtk-doc shut up.
11893
11894 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11895
11896         Patch by: Peter Kjellerstedt <pkj at axis com>
11897
11898         * gst/gstobject.h:
11899           Don't define xmlNodePtr to gpointer if the core was built with
11900           --disable-loadsave and --disable-registry, this will break
11901           applications that want to use libxml2 but are buildling against a
11902           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11903           instead so we don't have to mess with the libxml2 namespace
11904           (#361675).
11905
11906 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11907
11908         * gst/gstbuffer.h:
11909           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11910           type-punned pointer warnings.
11911
11912 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11913
11914         * gst/gstelement.h:
11915           Add casts to the correct return type to state <=> state transition
11916           macros.
11917
11918 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11919
11920         * docs/design/part-live-source.txt:
11921           describe howto handle latency
11922         
11923         * docs/random/ensonic/profiling.txt:
11924           more ideas
11925
11926         * tools/gst-plot-timeline.py:
11927           fix log parsing for solaris, remove unused function
11928
11929 2006-10-16  Wim Taymans  <wim@fluendo.com>
11930
11931         * docs/design/part-trickmodes.txt:
11932         * gst/gstevent.c:
11933         Update some docs regarding reverse playback.
11934
11935 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11936
11937         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11938
11939         * win32/vs8/grammar.vcproj:
11940           Error out with a warning if glib-genmarshal.exe is not in path,
11941           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11942
11943 2006-10-13  Wim Taymans  <wim@fluendo.com>
11944
11945         * gst/gstsegment.c: (gst_segment_set_seek):
11946         When seeking to stop -1, set last_stop (current position) to the
11947         duration of the segment.
11948
11949 2006-10-13  Wim Taymans  <wim@fluendo.com>
11950
11951         * gst/gstelement.h:
11952         Clarify _NO_PREROLL a bit more.
11953
11954         * gst/gstevent.c:
11955         Fix docs.
11956
11957         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11958         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11959         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11960         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11961         due to wrong locking order. Fixes #361769.
11962         Remove some redundant/misplaced checks in pad_block.
11963
11964         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11965         For negative rates, count backwards from the duration.
11966
11967 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11968
11969         * gst/gsterror.c: (_gst_library_errors_init):
11970           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11971           up with something better).
11972
11973 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11974
11975         * win32/vs6/libgstreamer.dsp:
11976         * win32/vs7/libgstreamer.vcproj:
11977         * win32/vs8/libgstreamer.vcproj:
11978           Don't reference glib-compat.c which is currently not used and not
11979           disted; add gstquark.c which was recently added. Fixes #361730.
11980
11981 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11982
11983         * win32/common/libgstbase.def:
11984         * win32/common/libgstcontroller.def:
11985         * win32/common/libgstreamer.def:
11986           Add gst_caps_merge() and a bunch of other recently-added functions.
11987           Fixes #361732.
11988
11989 2006-10-11  Wim Taymans  <wim@fluendo.com>
11990
11991         * docs/plugins/gstreamer-plugins.args:
11992         * docs/plugins/inspect/plugin-coreelements.xml:
11993         * docs/plugins/inspect/plugin-coreindexers.xml:
11994         Update element args.
11995
11996         * gst/gstsystemclock.c:
11997         Small comment update.
11998
11999         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12000         (gst_tee_request_new_pad), (gst_tee_release_pad),
12001         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
12002         (gst_tee_sink_activate_pull):
12003         * plugins/elements/gsttee.h:
12004         Some tee loving:
12005         Add default property defines.
12006         Implement release pad function.
12007         Give properties better blubs etc.
12008         Activate pads before adding them to a running tee.
12009         Do simple buffer_alloc on the first requested pad.
12010         Post error when activation fails.
12011
12012 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
12013
12014         * gst/gst.c: (ensure_current_registry_forking):
12015           Check return value of write() to make compiler happy.
12016
12017 2006-10-11  Wim Taymans  <wim@fluendo.com>
12018
12019         Patch by: Sjoerd Simons <sjoerd at luon dot net>
12020
12021         * plugins/elements/gstqueue.c: (gst_queue_chain):
12022         Recheck queue filledness after signalling the overrun when we're about
12023         to leak downstream because we released the lock when emitting the signal
12024         and the queue could be empty again. Fixes #352345.
12025
12026 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
12027
12028         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12029           Fix refcounting here too, just like we did for _new_valist() a few
12030           days ago (#357180) (thanks to René Stadler). Also remove all those
12031           'Since: 0.9' from the gtk-doc blobs.
12032
12033         * tests/check/libs/controller.c: (controller_refcount_new_list),
12034         (gst_controller_suite):
12035           Unit test for the above.
12036
12037 2006-10-10  Wim Taymans  <wim@fluendo.com>
12038
12039         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
12040
12041         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
12042         (gst_pad_save_thyself):
12043         Update some docs.
12044         Write pad direction in XML output. Fixes #345496.
12045
12046 2006-10-10  Wim Taymans  <wim@fluendo.com>
12047
12048         Patch by: René Stadler <mail at renestadler dot de>
12049
12050         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12051         (gst_controller_new_list), (_gst_controller_dispose),
12052         (_gst_controller_finalize), (_gst_controller_class_init):
12053         Take ref to controlled object so that it cannot disappear. 
12054         Fixes #357432.
12055
12056 2006-10-10  Wim Taymans  <wim@fluendo.com>
12057
12058         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
12059         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12060         (gst_check_teardown_sink_pad):
12061         Activate/deactivate pads in setup/teardown respectively.
12062
12063 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12064
12065         Patch by: Josep Torra Valles <josep@fluendo.com>
12066
12067         * gst/Makefile.am:
12068         Cast values when making gstenumtypes.h.  This pacifies Forte
12069         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12070         in the enumeration.
12071
12072 2006-10-09  Wim Taymans  <wim@fluendo.com>
12073
12074         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12075         Rename some more @cur to @start to fix docs. 
12076
12077         * gst/gstsegment.c: (gst_segment_set_seek):
12078         Fix typo.
12079         time and start must always stay in sync as defined in design doc.
12080
12081         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12082         Rename param to fix docs.
12083
12084         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12085         Check that start and time are in sync.
12086
12087         * tests/check/pipelines/parse-launch.c:
12088         (gst_parse_test_element_change_state):
12089         Activate pad before adding to the element.
12090
12091 2006-10-09  Wim Taymans  <wim@fluendo.com>
12092
12093         * docs/design/part-qos.txt:
12094         Fix typo.
12095
12096         * gst/gstevent.c:
12097         * gst/gstevent.h:
12098         Update seek event docs regarding negative rates.
12099         Rename @cur to @start. 
12100
12101         * gst/gstsegment.c: (gst_segment_set_seek):
12102         * gst/gstsegment.h:
12103         Update set_seek docs regarding negative rates.
12104         Correctly update last_stop to @stop when dealing with negative
12105         rates.
12106         Rename @cur to @start. 
12107
12108         * tests/check/gst/gstpad.c: (GST_START_TEST):
12109         Activate pads before trying to use them.
12110
12111         * tests/check/gst/gstsegment.c: (GST_START_TEST),
12112         (gst_segment_suite):
12113         Add simple check for segments and negative rates.
12114
12115 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
12116
12117         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12118         * gst/gsttaglist.h:
12119         * docs/gst/gstreamer-sections.txt:
12120           API: add gst_tag_list_is_empty() (#360467).
12121
12122         * tests/check/gst/gsttag.c: (GST_START_TEST):
12123           And a test case.
12124
12125 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12126
12127         * gst/gstmessage.h:
12128         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12129         a value that doesn't fit on enumeration.
12130
12131 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12132
12133         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12134         Remove local debugging system and use Gstreamer's instead.
12135
12136 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12137
12138         Patch by: Josep Torra Valles <josep@fluendo.com>
12139
12140         * common/m4/gst-error.m4:
12141         Disable warning of statement not reached on Forte.
12142         * gst/gstmessage.h:
12143         Fix warning on Forte (value doesn't fit on enumeration).
12144         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12145         Fix warning on Forte (value doesn't fit on enumeration).
12146         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12147         DEBUG macro says it takes minimum of 2 args and so Forte
12148         complains about the use with just 1 arg.
12149         * plugins/elements/gstfdsink.c:
12150         * plugins/elements/gstfdsrc.c:
12151         * plugins/elements/gstfilesink.c:
12152         * plugins/elements/gstfilesrc.c:
12153         Use correct return type for the uri handler implementations.
12154
12155         All these fix warnings in Forte.  Fixes bug #360860.
12156
12157 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
12158
12159         * gst/gstelement.h:
12160           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12161           format string, so don't use G_GNUC_PRINTF for those versions.
12162
12163 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12164
12165         * gst/gsttaglist.c: (gst_is_tag_list):
12166         * gst/gsttaglist.h:
12167           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12168
12169         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12170           Small test for the above.
12171
12172 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12173
12174         * gst/gsttaglist.h:
12175           Less tabs, more spaces.
12176
12177 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
12178
12179         * gst/gstinfo.h:
12180           Those two function declarations do actually belong there, revert
12181           commit from yesterday that turned them intro macros.
12182
12183 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12184
12185         Patch by: Josep Torra Valles <josep@fluendo.com>
12186
12187         * gst/gst.c: (gst_init_get_option_group):
12188         Fix empty declaration and type mismatch.
12189         * gst/gstbin.c: (gst_bin_change_state_func):
12190         Fix type mismatch.
12191         * gst/gstelement.c: (gst_element_continue_state),
12192         (gst_element_set_state_func), (gst_element_change_state),
12193         (gst_element_change_state_func):
12194         Fix type mismatches.
12195         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12196         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12197         Cast as appropriate.
12198         * gst/gstobject.c: (gst_class_signal_connect):
12199         Cast as appropriate.  The function pointer parameter really
12200         has the wrong type but would break API if we change it.
12201         * gst/gstquery.c:
12202         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12203         order of including string.h.
12204         * gst/gstutils.c: (gst_element_state_get_name):
12205         Remove unreachable line.
12206         * gst/gstxml.c: (gst_xml_parse_doc):
12207         Fix type mismatch.
12208         All these caught by Forte.
12209
12210 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12211
12212         Patch by: Josep Torra Valles <josep@fluendo.com>
12213
12214         * common/m4/gst-error.m4:
12215         Fixed bug #360151.
12216         We need to disable warnings on Forte for empty declarations
12217         due to gst-indent adding ;s to lines that just use macros
12218         where the macro actually doesn't need a ; at end to end
12219         statement.
12220
12221 2006-10-06  Wim Taymans  <wim@fluendo.com>
12222
12223         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12224         (gst_file_sink_close_file), (gst_file_sink_event),
12225         (gst_file_sink_render):
12226         Add some FIXME for the NEWSEGMENT handling.
12227
12228 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12229
12230         * gst/parse/grammar.y:
12231         Remove static function gst_parse_element_lock as all it does
12232         is return.  Looks like cruft from 0.8.
12233
12234 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12235
12236         Patch by: Josep Torra Valles <josep@fluendo.com>
12237
12238         * common/m4/gst-error.m4:
12239         * configure.ac:
12240         * libs/gst/net/Makefile.am:
12241         Fix a compilation issue with Forte on Solaris.  inet_aton is in
12242         libresolv.
12243
12244 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12245
12246         * gst/gstpad.c: (pre_activate):
12247         * gst/gstregistry.c: (gst_registry_scan_path_level):
12248         * gst/gstregistryxml.c: (load_plugin):
12249         * libs/gst/controller/gstcontroller.c:
12250         (gst_controlled_property_set_interpolation_mode):
12251         * libs/gst/dataprotocol/dataprotocol.c:
12252         (gst_dp_packet_from_event_1_0):
12253         * libs/gst/net/gstnetclientclock.c:
12254         (gst_net_client_clock_observe_times):
12255         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12256           Printf fixes.
12257
12258 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12259
12260         * configure.ac:
12261         * docs/gst/gstreamer-sections.txt:
12262         * gst/gstconfig.h.in:
12263         * gst/gstelement.h:
12264         * gst/gstinfo.h:
12265           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12266           whether we can use G_GNUC_PRINTF in other header files and at
12267           least check the printf format/arguments of debug messages and
12268           GST_ELEMENT_ERROR messages when the printf extension is not
12269           being used.
12270           Replace more tabs with spaces in gstinfo.h and remove two spurious
12271           function declarations in GST_DISABLE_DEBUG part with macros.
12272
12273 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
12274
12275         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12276           More docs for the sync-message signal (mention that it is not
12277           emitted by default); log message structures of messages posted on
12278           the bus as well.
12279
12280 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
12281
12282         * gst/gst.c: (ensure_current_registry_forking):
12283         Use a pipe pair to receive status results from the forked child, and
12284         ignore the result from waitpid. Fixes #355499
12285
12286 2006-10-02  Wim Taymans  <wim@fluendo.com>
12287
12288         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12289         (gst_ghost_pad_suite):
12290         Fix leak in check.
12291
12292 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12293
12294         * gst/gstpad.c:
12295           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12296
12297 2006-10-02  Edward Hervey  <edward@fluendo.com>
12298
12299         * docs/design/part-block.txt:
12300         Further explain the use of flushing on blocked pads.
12301         * docs/gst/gstreamer-sections.txt:
12302         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12303         (gst_pad_push_event):
12304         * gst/gstpad.h:
12305         Added new GstPadFlag : GST_PAD_BLOCKING.
12306         Adds the notion of pads really blocking, which enables to properly
12307         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12308         Fixes #358999
12309         API: gst_pad_is_blocking()
12310         API: GST_PAD_IS_BLOCKING() macro
12311         API: GST_PAD_BLOCKING GstPadFlag
12312         
12313 2006-10-02  Wim Taymans  <wim@fluendo.com>
12314
12315         Patch by: mrcgran <mrc.gran at gmail dot com>
12316
12317         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12318         Filter the proxied caps against the padtemplate if we have one.
12319
12320         * gst/gstquery.c: (gst_query_new_segment):
12321         Add include for gstinfo.h so that compilation with
12322         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12323
12324 2006-10-02  Wim Taymans  <wim@fluendo.com>
12325
12326         Patch by: Alessandro Decina  <alessandro at nnva org>
12327
12328         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12329         (gst_file_sink_set_location), (gst_file_sink_open_file),
12330         (gst_file_sink_close_file), (gst_file_sink_event),
12331         (gst_file_sink_render):
12332         Set file to NULL when closing filesink so that we can set a new filename
12333         in READY. Fixes #358613.
12334
12335 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12336
12337         Patch by: Alessandro Decina  <alessandro at nnva org>
12338
12339         * gst/gstevent.c: (_gst_event_copy):
12340           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12341           with event structures by setting the parent refcount address of the
12342           copied structure to the address of the refcount member of the newly
12343           copied event rather than the address of the refcount member of the
12344           original event. Fixes #358737.
12345
12346         * tests/check/gst/gstevent.c: (GST_START_TEST):
12347           Unit test for the above.
12348
12349 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12350
12351         * docs/design/Makefile.am:
12352           Dist some more files.
12353
12354 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12355
12356         * tests/check/libs/controller.c: (GST_START_TEST),
12357         (gst_controller_suite):
12358           Add test for the previous fix; add some more tests
12359           for correct refcounting behaviour; fix a few leaks
12360           in test cases; call gst_controller_init() at start
12361           of all tests.
12362
12363 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12364
12365         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12366         (gst_controller_set_from_list):
12367           Don't g_return_val_if_fail() on timed values with invalid timestamps
12368           inside a critical section without unlocking the mutex. Spotted by
12369           René Stadler. (#357617)
12370           Also, fix up refcounting properly: when returning an existing
12371           controller, we should increase the reference only once and not
12372           once per property and when trying to control a property again
12373           we should also increase the refcount.
12374
12375 2006-09-29  Wim Taymans  <wim@fluendo.com>
12376
12377         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12378         * libs/gst/net/gstnettimeprovider.c:
12379         (gst_net_time_provider_thread):
12380         Stop reading commands when EOF as well.
12381
12382         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12383         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12384         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12385         Unify description of the dump property.
12386
12387 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12388
12389         * tests/examples/manual/.cvsignore:
12390         OK, so it's actually cvsignore that needs changing. Stop laughing.
12391
12392 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12393
12394         * tests/examples/manual/Makefile.am:
12395         Gah, declare vars *before* using them
12396
12397 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12398
12399         * gst/gst.c: (init_pre), (scan_and_update_registry),
12400         (ensure_current_registry_nonforking),
12401         (ensure_current_registry_forking), (ensure_current_registry),
12402         (init_post), (gst_debug_help), (gst_deinit):
12403         * gst/gst_private.h:
12404         * gst/gstregistry.c: (gst_registry_finalize),
12405         (gst_registry_remove_features_for_plugin_unlocked),
12406         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12407         (gst_registry_scan_path),
12408         (_priv_gst_registry_remove_cache_plugins),
12409         (_priv_gst_registry_cleanup):
12410         * gst/gstregistry.h:
12411         Re-commit the registry changes, along with an extra fix:
12412           When a cached plugin is encountered at a different file path,
12413           update the stored path in the registry cache so that the parent
12414           process knows where it actually is now when it re-reads the registry
12415           cache. Fixes the thing that broke distcheck with the previous commit.
12416
12417         * tests/check/Makefile.am:
12418         Clean up files named 'core' too when running make clean.
12419
12420         * tests/examples/manual/Makefile.am:
12421         Set up a registry path for running these tests, and clean it properly
12422         for distcheck.
12423
12424 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12425
12426         * configure.ac:
12427         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12428         want gmodule-no-export-2.0.pc instead so that we don't drag in
12429         --export-dynamic on every project that links to GStreamer.
12430
12431         Also, make our export regex only match the start of symbols, rather 
12432         than any symbol that contains '_gst' somewhere.
12433
12434         * libs/gst/check/Makefile.am:
12435         The libgstcheck we build does however need export-dynamic, as it
12436         produces some symbols that don't match our _gst... style regex.
12437         Fixes: #318031
12438
12439 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12440
12441         * gst/gst.c: (init_pre), (scan_and_update_registry),
12442         (ensure_current_registry_nonforking),
12443         (ensure_current_registry_forking), (ensure_current_registry),
12444         (init_post), (gst_debug_help), (gst_deinit):
12445         * gst/gst_private.h:
12446         * gst/gstregistry.c: (gst_registry_finalize),
12447         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12448         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12449         (_gst_registry_cleanup):
12450         * gst/gstregistry.h:
12451           Revert previous change until I figure out why it breaks distcheck.
12452
12453 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12454
12455         * gst/gst.c: (init_pre), (scan_and_update_registry),
12456         (ensure_current_registry_nonforking),
12457         (ensure_current_registry_forking), (ensure_current_registry),
12458         (init_post), (gst_debug_help), (gst_deinit):
12459
12460           Make init_pre and init_post take the full complement of GOptionFunc
12461           args so they can return useful GErrors. Make the registry updating
12462           functions do so.
12463
12464           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12465           ensure that the registry we're about to write out doesn't contain
12466           stale information about old-deleted plugin files.
12467
12468           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12469           that deletion of plugin files is considered a registry change.
12470
12471         * gst/gst_private.h:
12472         * gst/gstregistry.c: (gst_registry_finalize),
12473         (gst_registry_remove_features_for_plugin_unlocked),
12474         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12475         (gst_registry_scan_path),
12476         (_priv_gst_registry_remove_cache_plugins),
12477         (_priv_gst_registry_cleanup):
12478         * gst/gstregistry.h:
12479         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12480         by adding _priv prefix, so that they won't appear in the global
12481         symbol table. They still do atm though because of #318031. Move the
12482         prototypes to gst_private.h
12483
12484         When removing a plugin, remove all features for that plugin too. 
12485         Fixes #340878.
12486
12487 2006-09-27  Wim Taymans  <wim@fluendo.com>
12488
12489         * docs/random/moving-plugins:
12490         Make it clear that the "compiled-in descriptions" really mean
12491         the element details.
12492
12493         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12494         (gst_base_sink_wait_preroll):
12495         Update docs.
12496
12497         * docs/libs/gstreamer-libs-sections.txt:
12498         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12499         (gst_base_src_get_range), (gst_base_src_activate_push):
12500         * libs/gst/base/gstbasesrc.h:
12501         Added function to block while waiting for PLAYING, this function
12502         is used by live sources that block on the clock.
12503         API: gst_base_src_wait_playing()
12504
12505 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12506
12507         Patch by: Peter Kjellerstedt <pkj at axis com>
12508
12509         * Makefile.am:
12510           gst-element-check.m4 is generated and should therefore be
12511           copied from the build dir rather than the source dir (#357593).
12512           'make distcheck' hasn't noticed this because we were disting
12513           the file as well, so stop doing that.
12514
12515 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12516
12517         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12518           Add some tests for gst_caps_intersect().
12519
12520         * tools/gst-launch.c: (event_loop):
12521           Print all buffering percentages we get, even the 100% one.
12522
12523 2006-09-26  Wim Taymans  <wim@fluendo.com>
12524
12525         * tools/gst-inspect.c: (print_element_properties_info),
12526         (print_signal_info):
12527         Fix printing of flags to match the look of enums.
12528
12529 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12530
12531         * gst/gstelementfactory.c:
12532           Fix typo in docs blurb.
12533
12534 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12535
12536         * gst/gsturi.c: (search_by_entry):
12537           Don't assert/crash here if a uri handler doesn't return any
12538           supported protocols. The list of protocols could be generated
12539           dynamically at runtime or at plugin registration, and an error
12540           in the underlying library shouldn't be fatal (#353301).
12541
12542 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12543
12544         * gst/gstinfo.c:
12545           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12546           (spotted by Peter Kjellerstedt).
12547
12548 2006-09-23  Wim Taymans  <wim@fluendo.com>
12549
12550         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12551
12552         * libs/gst/base/gstbasesrc.c:
12553         (gst_base_src_default_check_get_range), (gst_base_src_start),
12554         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12555         (gst_base_src_change_state):
12556         Match _start/_stop calls in the activate functions. Remove redundant
12557         _stop call from the state change function. Fixes #356910.
12558         Turn failure DEBUG into ERROR. 
12559
12560 2006-09-22  Wim Taymans  <wim@fluendo.com>
12561
12562         * docs/design/part-buffering.txt:
12563         * gst/gstmessage.c: (gst_message_new_buffering),
12564         (gst_message_parse_buffering):
12565         Update docs about buffering.
12566
12567         * docs/design/part-trickmodes.txt:
12568         Fix typo.
12569
12570 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12571
12572         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12573         (gst_controller_new_list):
12574           Ref instances when returning them again (fixes #357180)
12575
12576 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12577
12578         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12579           Don't forget to release proxy lock when there's an error.
12580
12581 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12582
12583         * gst/gstcaps.h:
12584           Add extra initialisers for Caps things, to fix some plugin warnings
12585           when using -Wextra
12586
12587 2006-09-18  Wim Taymans  <wim@fluendo.com>
12588
12589         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12590           Also set template on the internal pad so that a getcaps from the 
12591           target pad returns the template caps.
12592
12593 2006-09-18  Wim Taymans  <wim@fluendo.com>
12594
12595         * gst/gstelement.c: (gst_element_post_message),
12596         (gst_element_dispose):
12597         Use _DEBUG_OBJECT some more.
12598
12599         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12600         Avoid typechecks.
12601
12602         * tools/gst-launch.c: (main):
12603         If the toplevel element is not a GstPipeline, it must be put in a
12604         pipeline so that a bus and clock is selected.
12605
12606 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12607
12608         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12609           JITTER, RATE, and LATENCY query should be handled by the
12610           default case and not by the CONVERT query code.
12611
12612 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12613
12614         * gst/gstformat.c: (gst_format_register):
12615           Fix locking order (must take lock before using n_values).
12616
12617         * gst/gstvalue.c: (gst_value_serialize_enum),
12618         (gst_value_deserialize_enum_iter_cmp),
12619         (gst_value_deserialize_enum):
12620           Fix serialisation/deserialisation of custom registered GstFormats.
12621
12622         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12623           Unit test for custom format serialisation/deserialisation.
12624
12625 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12626
12627         * docs/pwg/building-boiler.xml:
12628         * plugins/elements/gstcapsfilter.c:
12629         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12630         section.
12631
12632 2006-09-16  Edward Hervey  <edward@fluendo.com>
12633
12634         * libs/gst/base/gstbasetransform.c:
12635         (gst_base_transform_buffer_alloc):
12636         Check if requested caps are the same as the sinks caps IF
12637         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12638         is FALSE.
12639         This fixes the renegotiation issues stated in #352827.
12640
12641 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12642
12643         * configure.ac:
12644         * docs/manual/advanced-autoplugging.xml:
12645         * tests/examples/Makefile.am:
12646         * tests/examples/manual/.cvsignore:
12647         * tests/examples/manual/Makefile.am:
12648         * tests/examples/manual/extract.pl:
12649           Extract the manual examples again like we used to do.
12650           Fix one of them.
12651
12652 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12653
12654         * win32/common/config.h:
12655           update for version
12656
12657 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12658
12659         * gst/gsterror.c:
12660           Documents how to receive errors.
12661
12662 2006-09-15  Wim Taymans  <wim@fluendo.com>
12663
12664         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12665         (event_loop), (main):
12666         Added some comments here and there.
12667         Post an application message when an interrupt is caught instead of doing
12668         an uncontrolled state change.
12669         Clean up the event loop.
12670         Handle buffering messages, pause/resume the pipeline.
12671         Make shutdown because of an interrupt more reliable.
12672
12673 2006-09-15  Wim Taymans  <wim@fluendo.com>
12674
12675         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12676         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12677         (gst_base_sink_preroll_object):
12678         Make sure that our internal state is correct when we commit our state
12679         asynchronously. This solves a race where a state change to PLAYING
12680         could cause the sink to remain blocked in preroll in some situations.
12681
12682 2006-09-15  Wim Taymans  <wim@fluendo.com>
12683
12684         * tools/gst-inspect.c: (print_element_properties_info),
12685         (print_signal_info):
12686         List flags as hex so it's easier to deal with.
12687
12688 2006-09-15  Wim Taymans  <wim@fluendo.com>
12689
12690         * docs/libs/gstreamer-libs-sections.txt:
12691         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12692         (gst_base_sink_do_sync):
12693         * libs/gst/base/gstbasesink.h:
12694         Expose logic to wait for preroll so that subclasses such as audiosink
12695         can also use this method.
12696         API: gst_base_sink_wait_preroll()
12697
12698 2006-09-15  Wim Taymans  <wim@fluendo.com>
12699
12700         * gst/gstobject.c: (gst_object_set_parent):
12701         * gst/gstpipeline.c: (do_pipeline_seek):
12702         Small cleanups in docs and code.
12703
12704         * gst/gstsegment.c: (gst_segment_clip):
12705         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12706         if stop == start and start is in the segment, no clipping should be
12707         done. Also add a test for this.
12708
12709 2006-09-15  Wim Taymans  <wim@fluendo.com>
12710
12711         * docs/design/part-buffering.txt:
12712         * docs/gst/gstreamer-sections.txt:
12713         * gst/gstmessage.c: (gst_message_new_buffering),
12714         (gst_message_parse_buffering):
12715         * gst/gstmessage.h:
12716         Added methods to create and parse BUFFERING messages.
12717         Added preliminary docs about buffering.
12718         API: gst_message_new_buffering
12719         API: gst_message_parse_buffering
12720
12721 2006-09-06  Wim Taymans  <wim@fluendo.com>
12722
12723         * gst/gstbin.c:
12724         Update documentation.
12725
12726         * gst/gstelement.c: (gst_element_class_init),
12727         (gst_element_release_request_pad), (gst_element_set_clock),
12728         (gst_element_get_index), (gst_element_add_pad),
12729         (gst_element_remove_pad), (gst_element_get_random_pad),
12730         (gst_element_send_event), (gst_element_get_query_types),
12731         (gst_element_query), (gst_element_post_message),
12732         (gst_element_message_full), (gst_element_continue_state),
12733         (gst_element_lost_state), (gst_element_save_thyself),
12734         (gst_element_restore_thyself):
12735         Documentation updates.
12736         Rename last bit of the new-pad -> pad-added signal rename.
12737         Fix the case where an element query would only work if the source
12738         pad was linked.
12739         Avoid some useless type checking in message handling.
12740
12741         * gst/gstevent.c:
12742         * gst/gstevent.h:
12743         * gst/gstutils.c:
12744         Documentation updates.
12745
12746 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12747
12748         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12749           add an INFO line for when we actually update the fd
12750
12751 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12752
12753         * configure.ac:
12754           back to TRUNK
12755
12756 === release 0.10.10 ===
12757
12758 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12759
12760         * configure.ac:
12761           releasing 0.10.10, "Pais"
12762
12763 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12764
12765         * docs/manual/advanced-position.xml:
12766           Fix typo in sample code.
12767
12768 2006-09-05  Wim Taymans  <wim@fluendo.com>
12769
12770         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12771         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12772         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12773         * libs/gst/net/gstnetclientclock.h:
12774         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12775         * libs/gst/net/gstnettimepacket.h:
12776         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12777         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12778         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12779         * libs/gst/net/gstnettimeprovider.h:
12780         Make stuff compile on windows. Fixes #345295.
12781
12782 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12783
12784         * gst/gst.c: (ensure_current_registry_forking):
12785           Print better details when child was terminated by signal.
12786
12787 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12788
12789         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12790           Print a warning rather than g_assert() if a plugin feature
12791           is a URI handler but returns no protocols (#353976).
12792
12793 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12794
12795         * docs/random/moving-plugins:
12796         Fix two typos.         
12797
12798 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12799
12800         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12801           Fix locking order, handle NULL function values properly.
12802
12803         * gst/gstinfo.h:
12804           Fix docs.
12805
12806         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12807           Initialise variable before using it and fix debug statement to
12808           print the address of the function rather than the address of the
12809           variable on the stack holding the address of the function.
12810
12811 2006-09-01  Wim Taymans  <wim@fluendo.com>
12812
12813         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12814         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12815         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12816         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12817         (gst_ghost_pad_parent_unset),
12818         (gst_ghost_pad_internal_do_activate_push),
12819         (gst_ghost_pad_internal_do_activate_pull),
12820         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12821         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12822         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12823         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12824         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12825         (gst_ghost_pad_new_no_target_from_template),
12826         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12827         More cleanups.
12828         Avoid needless typechecking in macros.
12829         Since the internal pad is always present and never changes, there is
12830         no need to locking or ref when retrieving it.
12831         Improve debugging a bit.
12832         Handle link errors when setting the target. Fixes #341029.
12833
12834 2006-09-01  Wim Taymans  <wim@fluendo.com>
12835
12836         * docs/libs/gstreamer-libs-sections.txt:
12837         * docs/plugins/gstreamer-plugins-sections.txt:
12838         Fix docs some more.
12839
12840         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12841         (gst_collect_pads_event):
12842         * libs/gst/base/gstcollectpads.h:
12843         Documentation updates.
12844         Free queued buffer when removing a pad.
12845
12846 2006-08-31  Michael Smith  <msmith@fluendo.com>
12847
12848         * gst/gstutils.c: (gst_element_link_pads),
12849         (gst_element_link_pads_filtered):
12850           Ensure that we set a capsfilter to NULL if we failed to link it
12851           when doing filtered linking, to avoid criticals.
12852
12853           No need to check for unreffing srcpad, which is explicly NULLed
12854           above (a trivial code cleanup).
12855
12856 2006-08-31  Wim Taymans  <wim@fluendo.com>
12857
12858         * docs/design/part-gstghostpad.txt:
12859         Update ascii art in documentation.
12860
12861         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12862         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12863         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12864         (gst_ghost_pad_internal_do_activate_push),
12865         (gst_ghost_pad_internal_do_activate_pull),
12866         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12867         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12868         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12869         (gst_ghost_pad_set_target):
12870         Small cleanups and leak fixes.
12871         Remove some checks now that the internal pad is never NULL.
12872         Fix the case where linking pads without a target would create nasty
12873         criticals. Fixes #341029.
12874         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12875         value of _set_target().
12876
12877         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12878         (gst_ghost_pad_suite):
12879         Some more tests for creating and linking untargeted ghostpads.
12880
12881 2006-08-31  Edward Hervey  <edward@fluendo.com>
12882
12883         * docs/gst/gstreamer-sections.txt:
12884         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12885         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12886         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12887         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12888         (gst_ghost_pad_new_from_template),
12889         (gst_ghost_pad_new_no_target_from_template):
12890         * gst/gstghostpad.h:
12891         Refactored *_new() functions.
12892         Templates are now used as a g_object_new() parameter.
12893         Use template in _do_getcaps() if we don't have a target.
12894         Small documentation cleanups.
12895         Added two new constructors:
12896         gst_ghost_pad_new_from_template()
12897         gst_ghost_pad_new_no_target_from_template()
12898         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12899         (gst_ghost_pad_suite):
12900         Added tests for new ghostpad instanciation functions.
12901
12902         API additions: gst_ghost_pad_new_from_template,
12903         gst_ghost_pad_new_no_target_from_template
12904
12905 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12906
12907         * docs/random/ensonic/profiling.txt:
12908           Ideas about qos profiling.
12909
12910 2006-08-29  Wim Taymans  <wim@fluendo.com>
12911
12912         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12913         Code cleanups.
12914         Fix memleak.
12915
12916 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12917
12918         * gst/gstxml.c:
12919           Improve and detypofy docs.
12920
12921         * tests/check/Makefile.am:
12922         * tests/check/gst/.cvsignore:
12923         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12924           Add a basic test suite for GstXML.
12925
12926 2006-08-29  Wim Taymans  <wim@fluendo.com>
12927
12928         * gst/gstelement.c: (activate_pads), (clear_caps),
12929         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12930         Clear the pad caps when the element shut down all of the pads and
12931         is not streaming data that could modify the caps. 
12932         Fixes #352958.
12933
12934 2006-08-28  Michael Smith  <msmith@fluendo.com>
12935
12936         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12937           Revert previous change; I misunderstood single-segment mode.
12938
12939 2006-08-28  Michael Smith  <msmith@fluendo.com>
12940
12941         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12942           Unset DISCONT on buffers when using single-segment mode.
12943
12944 2006-08-28  Wim Taymans  <wim@fluendo.com>
12945
12946         * gst/gstcaps.c: (gst_caps_merge_structure):
12947         * gst/gstcaps.h:
12948         Fix docs and indentation again.
12949
12950         * tests/check/gst/gstquery.c: (GST_START_TEST):
12951         Fix leak in tests and add some more tests.
12952
12953 2006-08-28  Edward Hervey  <edward@fluendo.com>
12954
12955         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12956         Inform GstSegment of the last stop position in order for the current
12957         segment to have a proper duration if it doesn't have a specific stop
12958         position from which a duration could be calculated.
12959         This bug was noticeable when a non-flushing, non-update new segment was
12960         followed by another segment (all buffers from the new segment were being
12961         dropped).
12962
12963 2006-08-28  Wim Taymans  <wim@fluendo.com>
12964
12965         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12966         Small comment update.
12967
12968         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12969         (gst_identity_transform_ip):
12970         Drop-probability is broken, mention this in the code with a 
12971         FIXME and also in the property description.
12972         Make silent also be silent about the drop messages.
12973
12974 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12975
12976         * docs/manual/appendix-win32.xml:
12977           Remove mention of popt, we don't depend on that any
12978           longer (#353136). Add some comments pointing out that
12979           this section is slightly outdated.
12980
12981 2006-08-28  Wim Taymans  <wim@fluendo.com>
12982
12983         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12984
12985         * gst/gstquery.c: (gst_query_new_segment):
12986         * tests/check/gst/gstquery.c: (GST_START_TEST):
12987         Initialize variables when creating a new segment query.
12988         Fixes #353121.
12989
12990 2006-08-28  Wim Taymans  <wim@fluendo.com>
12991
12992         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12993
12994         * gst/gstelement.c: (gst_element_get_bus):
12995         * tests/check/gst/gstelement.c: (GST_START_TEST):
12996         Check for NULL before _reffing the bus. Fixes #353122.
12997
12998 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12999
13000         * docs/manual/basics-bus.xml:
13001           Docs update: fix wrong callback return value explanation; add
13002           some lines about the implicit relationship between main loop
13003           and main context; remove duplicate main loop variable declaration.
13004
13005 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
13006
13007         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13008           Don't leak caps in unit test; add a few more simple
13009           checks. 
13010
13011 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
13012
13013         * docs/gst/gstreamer-sections.txt:
13014         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
13015         (gst_caps_structure_is_subset), (gst_caps_merge),
13016         (gst_caps_merge_structure):
13017         * gst/gstcaps.h:
13018         * libs/gst/base/gstbasetransform.c:
13019         (gst_base_transform_transform_caps):
13020         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13021           implement caps merging (fixes #352580)
13022
13023 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
13024
13025         * tools/Makefile.am:
13026         * tools/gst-plot-timeline.py:
13027           add debug-log plotting developer tool (#340674)
13028
13029 2006-08-23  Wim Taymans  <wim@fluendo.com>
13030
13031         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
13032         (gst_pad_stop_task):
13033         Improve debugging for task functions.
13034
13035         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
13036         (gst_task_start), (gst_task_pause), (gst_task_join):
13037         Make sure that the task function started and finished after a 
13038         join(). 
13039         Don't try to push the task function on the threadpool multiple
13040         times.
13041         Improve the g_warning message with some useful suggestions
13042         about how to fix the problem. 
13043
13044 2006-08-23  Wim Taymans  <wim@fluendo.com>
13045
13046         * gst/gstutils.c: (gst_pad_proxy_getcaps):
13047         Handle RESYNC correctly in _proxy_getcaps.
13048
13049 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
13050
13051         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
13052         (gst_xml_parse_memory), (gst_xml_get_element):
13053           Chain up to parent class in dispose function and also
13054           unref the elements in the toplevel_elements GList.
13055           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
13056           Always return a reference in gst_xml_get_element() rather
13057           than only sometimes.
13058
13059         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13060           Don't leak GstXml object.
13061
13062 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
13063
13064         * docs/gst/gstreamer-sections.txt:
13065         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
13066         (gst_caps_merge):
13067         * gst/gstcaps.h:
13068         * libs/gst/base/gstbasetransform.c:
13069         (gst_base_transform_transform_caps):
13070           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13071           in a better way
13072
13073 2006-08-21  Edward Hervey  <edward@fluendo.com>
13074
13075         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13076         Implement GObject::dispose virtual method in GstXML so we can free the
13077         top_elements GList.
13078
13079 2006-08-21  Wim Taymans  <wim@fluendo.com>
13080
13081         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13082         (gst_buffer_create_sub):
13083         Copy duration/offset_end/caps when creating a subbuffer of the
13084         complete parent.
13085         Make the subbuffer read-only when we make the metadata writable for
13086         now. Fixes #351768.
13087
13088         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13089         Added check for metadata copy when creating subbuffers.
13090
13091 2006-08-21  Edward Hervey  <edward@fluendo.com>
13092
13093         * libs/gst/base/gstbasetransform.c:
13094         (gst_base_transform_buffer_alloc):
13095         Only call downstream buffer_alloc if transform element is passthrough
13096         or always_in_place. Closes #350449.
13097
13098 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13099
13100         * ChangeLog:
13101           ChangeLog surgery to add comments to previous changes
13102
13103 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13104
13105         * gst/gst.c:
13106           Add comments
13107
13108         * gst/gstpad.c: (gst_pad_set_active):
13109           Be more verbose in the log
13110
13111         * libs/gst/base/gstbasetransform.c:
13112         (gst_base_transform_transform_caps):
13113           Simplify caps to get rid of duplicates, fixes #345444
13114
13115 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13116
13117         * gst/gstvalue.c:
13118         * gst/gstvalue.h:
13119           Use these optimizations only internally.
13120
13121 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13122
13123         * gst/gstvalue.c: (gst_value_compare_list),
13124         (gst_value_compare_fraction_range),
13125         (gst_value_intersect_fraction_fraction_range),
13126         (gst_value_intersect_fraction_range_fraction_range),
13127         (gst_value_subtract_fraction_fraction_range),
13128         (gst_value_subtract_fraction_range_fraction_range),
13129         (gst_value_get_compare_func), (gst_value_compare),
13130         (gst_value_compare_with_func):
13131         * gst/gstvalue.h:
13132           Saves the expensive lookup of the compare function in many cases
13133          (#345444)
13134
13135 2006-08-18  Edward Hervey  <edward@fluendo.com>
13136
13137         * tests/check/gst/gstinfo.c: (gst_info_suite):
13138         Disable test that require gstdebug if it wasn't built in core.
13139
13140 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13141
13142         * docs/random/ensonic/logging.txt:
13143           update ideas
13144           
13145         * gst/gstinfo.c: (gst_debug_log_default):
13146           reorder fields, save some columns, add optional color codes for log
13147           levels
13148
13149 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13150
13151         * docs/random/ensonic/logging.txt:
13152           add ideas about making the logs a bit more useful
13153
13154 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13155
13156         * docs/pwg/advanced-events.xml:
13157         * docs/pwg/titlepage.xml:
13158           Update for 0.10 API (#340627). Add myself
13159           to authors list.
13160
13161 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13162
13163         * docs/libs/gstreamer-libs-docs.sgml:
13164         * docs/libs/gstreamer-libs-sections.txt:
13165         * libs/gst/check/gstbufferstraw.c:
13166           Make gstcheck stuff show up in docs (still needs to
13167           be documented properly though).
13168
13169 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
13170
13171         * docs/gst/gstreamer-sections.txt:
13172         * gst/Makefile.am:
13173         * gst/gst.c: (init_post):
13174         * gst/gst_private.h:
13175         * gst/gstquark.c: (_priv_gst_quarks_initialize):
13176         * gst/gstquark.h:
13177         * gst/gstquery.c: (gst_query_new_position),
13178         (gst_query_set_position), (gst_query_parse_position),
13179         (gst_query_new_duration), (gst_query_set_duration),
13180         (gst_query_parse_duration), (gst_query_new_convert),
13181         (gst_query_set_convert), (gst_query_parse_convert),
13182         (gst_query_new_segment), (gst_query_set_segment),
13183         (gst_query_parse_segment), (gst_query_new_seeking),
13184         (gst_query_set_seeking), (gst_query_parse_seeking):
13185         Add internal helpers for pre-registering quarks from static strings
13186         and using the quark values directly instead of looking them up when
13187         creating and parsing queries. Can be used for event construction too.
13188         Closes #350432.
13189
13190 2006-08-16  Wim Taymans  <wim@fluendo.com>
13191
13192         * gst/gstbin.c:
13193         Fix bogus docs.
13194
13195 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13196
13197         * gst/gstutils.c: (gst_util_set_value_from_string):
13198           Fix memleak (#351502).
13199
13200         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13201           Add unit test for most of gst_util_set_value_from_string()
13202           (not that one would want to encourage use of this function).
13203
13204 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13205
13206         * libs/gst/check/gstcheck.h:
13207           Use const gchar * variables in fail_unless_equals_string
13208           macro to avoid compiler warnings (and don't use tabs for
13209           indenting).
13210
13211 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13212
13213         * tools/gst-launch.c: (print_tag):
13214           More space on the left for the tag names, to cater
13215           for the 'extended comment' tag (not touching the
13216           string for the first line since it's translated).
13217
13218 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13219
13220         * libs/gst/check/gstcheck.h:
13221           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13222           print something when they fail.
13223
13224 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13225
13226         * docs/gst/gstreamer-sections.txt:
13227         * gst/gsttaglist.c: (_gst_tag_initialize):
13228         * gst/gsttaglist.h:
13229           API: add GST_TAG_EXTENDED_COMMENT (#350935).
13230           Also change merge function for GST_TAG_COMMENT to
13231           use_first.
13232
13233 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13234
13235         * gst/gstinfo.c: (gst_debug_print_object):
13236           Make GST_PTR_FORMAT print messages as well.
13237
13238         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13239         (GST_START_TEST), (gst_info_suite):
13240           More tests.
13241
13242 2006-08-14  Edward Hervey  <edward@fluendo.com>
13243
13244         * gst/gstelementfactory.c: (gst_element_register):
13245         If the GstElementClass doesn't have a GstElementDetails with all fields
13246         filled up correctly (longname, description AND author), then error out
13247         nicely instead of crashing.
13248
13249 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13250
13251         * gst/gststructure.c:
13252           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13253
13254         * gst/gstvalue.h:
13255           Expand on the difference between arrays and lists as we use them.
13256           
13257 2006-08-14  Wim Taymans  <wim@fluendo.com>
13258
13259         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13260         If the parent state change function failed, don't assume we can safely
13261         stop the source, this will be done when the pads are deactivated.
13262
13263 2006-08-14  Wim Taymans  <wim@fluendo.com>
13264
13265         * gst/gstbuffer.c:
13266         * gst/gsttask.c: (gst_task_join):
13267         Small doc updates.
13268
13269         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13270         (gst_pad_stop_task):
13271         When pad (de)activation failed for some reason, restore the old
13272         activation mode and set the pad to flushing instead of assuming the
13273         pad is deactivated.
13274         If the _task_join() failed, reinstall the task on the pad so that it can
13275         be stopped later and return an error.
13276
13277 2006-08-11  Andy Wingo  <wingo@pobox.com>
13278
13279         * configure.ac:
13280         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13281         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13282         is only for users of API that don't want to see deprecated
13283         functions in the headers; people that want to compile out
13284         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13285         CFLAGS. Fixes the build of multifdsink, or will soon..
13286
13287 2006-08-11  Wim Taymans  <wim@fluendo.com>
13288
13289         * docs/gst/gstreamer-sections.txt:
13290         Add GstClockClass vmethod docs.
13291
13292         * gst/gstcaps.h:
13293         Mark #endif with comment for associated #if
13294
13295         * gst/gstclock.c: (gst_clock_id_wait):
13296         * gst/gstclock.h:
13297         Add vmethod wait_jitter to avoid an unneeded _get_time() for
13298         most clock implementations.
13299         Document vmethods.
13300         Flesh out docs about resolution methods.
13301         API: GstClockClass::wait_jitter
13302
13303         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13304         (gst_system_clock_async_thread),
13305         (gst_system_clock_id_wait_jitter_unlocked),
13306         (gst_system_clock_id_wait_jitter):
13307         Use base class wait_jitter variant for improved performance
13308         due to less clock polling.
13309
13310 2006-08-11  Edward Hervey  <edward@fluendo.com>
13311
13312         * gst/gst.c: (gst_init_check), (init_post):
13313         Set gst as being initialized before scanning/updating the registry,
13314         since there might be my python plugin loader that calls gst_init() and
13315         we don't want to loop back in.
13316         Closes #350879
13317
13318 2006-08-11  Wim Taymans  <wim@fluendo.com>
13319
13320         * docs/design/part-qos.txt:
13321         Bring docs in line with the code. Mostly the sign of the jitter was
13322         wrong in the docs. Fixes #349943.
13323
13324         * gst/gstclock.c:
13325         Fix the docs for the jitter.
13326
13327         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13328         (gst_event_parse_tag), (gst_event_new_buffer_size),
13329         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13330         (gst_event_new_seek), (gst_event_parse_seek),
13331         (gst_event_new_navigation):
13332         Make sure the GstStructure has no parent when creating custom
13333         events.
13334         Add some more argument checking so that we avoid 0.0 rates.
13335         Flesh out the docs for the QoS event some more.
13336
13337 2006-08-11  Wim Taymans  <wim@fluendo.com>
13338
13339         * docs/gst/gstreamer-sections.txt:
13340         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13341         (ensure_current_registry_forking), (ensure_current_registry),
13342         (parse_one_option), (parse_goption_arg), (gst_deinit),
13343         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13344         * gst/gst.h:
13345         Doc updates.
13346         Added API and command line option to disable registry forking in
13347         addition to the environment variable.
13348         Constify some static arrays.
13349         Added some more debug.
13350         Don't deinit twice.
13351         API: gst_registry_fork_is_enabled()
13352         API: gst_registry_fork_set_enabled()
13353         API: --gst-disable-registry-fork command line option
13354         Fixes #348918.
13355
13356 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13357
13358         * gst/gst.c: (gst_init):
13359           Fix typo in error message.
13360
13361 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13362
13363         * libs/gst/controller/gstcontroller.h:
13364           fix ABI size-correction
13365
13366         * tests/check/libs/gdp.c: (gst_dp_suite):
13367           make tests that use deprecated API conditional
13368
13369 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13370
13371         * docs/libs/gstreamer-libs-sections.txt:
13372         * libs/gst/controller/gstcontroller.c:
13373         (_gst_controller_get_property), (_gst_controller_set_property),
13374         (_gst_controller_init), (_gst_controller_class_init):
13375         * libs/gst/controller/gstcontroller.h:
13376         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13377         (gst_object_set_control_rate):
13378           API: add gst_object_{s,g}et_control_rate(), add private data section,
13379           fix docs
13380
13381         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13382         * libs/gst/dataprotocol/dataprotocol.h:
13383           add deprecation guards to make gtk-doc happy and allow disabling cruft
13384
13385 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13386
13387         * tests/check/Makefile.am:
13388         * tests/check/gst/.cvsignore:
13389           Let's enable the new unit test as well.
13390
13391 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13392
13393         * configure.ac:
13394         * docs/gst/gstreamer-sections.txt:
13395         * gst/gstconfig.h.in:
13396         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13397         (_gst_info_printf_extension_ptr),
13398         (_gst_info_printf_extension_segment):
13399           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13400           register that lets us easily dump GstSegments into debug
13401           logs (#350419).
13402
13403         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13404         (info_segment_format_printf_extension), (gst_info_suite):
13405           Add simple unit test that logs a bunch of different segments (not
13406           valgrinded at the moment because of leaks in
13407           gst_debug_add_log_function).
13408
13409 2006-08-09  Edward Hervey  <edward@fluendo.com>
13410
13411         * libs/gst/base/gstbasetransform.c:
13412         (gst_base_transform_buffer_alloc):
13413         Even if we can't figure out the proper format to request downstream,
13414         call buffer_alloc() downstream with the input parameters without setting
13415         the caps on the srcpad. This will force negotiation in the chain
13416         function.
13417         Closes #350449
13418
13419 2006-08-08  Edward Hervey  <edward@fluendo.com>
13420
13421         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13422         Unlinking from a pad without a target is now a perfectly valid case
13423         which should NOT raise an assertion.
13424         This case would happen if a linked ghostpad its target set to NULL after
13425         it was previously linked.
13426
13427 2006-08-08  Edward Hervey  <edward@fluendo.com>
13428
13429         * tests/check/libs/gdp.c:
13430         Also comment out the test (see below).
13431
13432 2006-08-08  Edward Hervey  <edward@fluendo.com>
13433
13434         * tests/check/libs/gdp.c: (gst_dp_suite):
13435         Use the architecture information from config.h and not gcc macros
13436         in order to properly disable a test that fails on PPC64.
13437
13438 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13439
13440         * gst/gstelement.c: (gst_element_remove_pad):
13441           Don't crash printing the warning if the pad has no parent.
13442
13443 2006-08-02  Wim Taymans  <wim@fluendo.com>
13444
13445         * libs/gst/dataprotocol/dataprotocol.c:
13446         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13447         (gst_dp_crc), (gst_dp_header_payload_length),
13448         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13449         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13450         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13451         (gst_dp_event_from_packet), (gst_dp_validate_header),
13452         (gst_dp_validate_payload):
13453         Make debug category static
13454         Constify the crc table.
13455         Do some more arg checking in public functions.
13456         Fix some docs and do some small cleanups.
13457
13458         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13459         Add some more checks to see if GDP deals with bogus input.
13460
13461 2006-07-31  Wim Taymans  <wim@fluendo.com>
13462
13463         * gst/gstvalue.c: (gst_value_compare_list):
13464         Fix GstValueList comparison code. Fixes #347293.
13465
13466         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13467         Check to test GstValueList comparison.
13468
13469 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13470
13471         * gst/gstelementfactory.c: (gst_element_factory_create):
13472         Remove unnecessary ref/unref pair
13473
13474         * gst/parse/grammar.y:
13475         Make sure to free the parse buffer on all code paths.
13476         Move a g_free up to the error handler where it's easier to see.
13477
13478         * tests/check/gst/gstevent.c: (test_event):
13479         Extending timeout for downstream travelling events to 10 seconds to
13480         hopefully avoid intermittent failure on the buildbots.
13481
13482         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13483         Don't manually set the state of the src element - it will happen as a
13484         natural consequence of the pipeline changing state, and that way it
13485         will do it in the right order too.
13486
13487 2006-07-31  Wim Taymans  <wim@fluendo.com>
13488
13489         * libs/gst/base/gstbasetransform.c:
13490         (gst_base_transform_buffer_alloc):
13491         Use OBJECT_LOCK and refcounting to get the pad caps in the
13492         buffer_alloc function because the caps could change while we are
13493         busy with them. Fixes #349105
13494
13495 2006-07-31  Wim Taymans  <wim@fluendo.com>
13496
13497         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13498         Protect _PAD_CAPS with OBJECT_LOCK.
13499
13500 2006-07-31  Wim Taymans  <wim@fluendo.com>
13501
13502         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13503         (gst_pad_get_property), (gst_pad_activate_pull),
13504         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13505         (gst_pad_set_activate_function),
13506         (gst_pad_set_activatepull_function),
13507         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13508         (gst_pad_set_getrange_function),
13509         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13510         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13511         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13512         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13513         (gst_pad_set_acceptcaps_function),
13514         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13515         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13516         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13517         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13518         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13519         (gst_pad_configure_sink), (gst_pad_configure_src),
13520         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13521         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13522         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13523         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13524         (gst_pad_send_event):
13525         Use _DEBUG_OBJECT when it makes sense.
13526         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13527         Small cleanups and code reflows.
13528         Avoid caps refcounting in _accept_caps.
13529         Refactor alloc_buffer so that the code performed on the peer is in a
13530         separate function. Also if the pad does not implement a buffer alloc
13531         function, we should still check if the pad is flushing before falling
13532         back to the default allocator.
13533
13534 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13535
13536         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13537         Make all uses of identity and fakesink have silent=true to avoid
13538         serialising every passing data structure, which is breaking tests
13539         on FC4 for some unknown reason.
13540
13541 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13542
13543         * gst/parse/Makefile.am:
13544         * gst/parse/grammar.y:
13545         * gst/parse/parse.l:
13546           Reverted previous patch as it required to bump the flex dependency to
13547           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13548
13549 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13550
13551         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13552
13553         * gst/parse/Makefile.am:
13554         * gst/parse/grammar.y:
13555         * gst/parse/parse.l:
13556           push & pop the state of the lexer for reentrant use case
13557           Fixes #349180
13558
13559 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13560
13561         * libs/gst/base/gstbasesrc.h:
13562           Note in the docs that the ::newsegment vfunc is not actually used by
13563           GstBaseSrc.
13564
13565 2006-07-28  Wim Taymans  <wim@fluendo.com>
13566
13567         * libs/gst/base/gstcollectpads.c:
13568         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13569         (gst_collect_pads_clear), (gst_collect_pads_flush),
13570         (gst_collect_pads_event), (gst_collect_pads_chain):
13571         When flushing a pad, also clear the queued buffer so that we don't
13572         accidentally use it when we shouldn't.
13573         Fix leaks by inreffing incomming buffer.
13574         Flush out queued buffers in case of errors.
13575         Fixes #347452.
13576
13577 2006-07-28  Wim Taymans  <wim@fluendo.com>
13578
13579         * docs/random/phonon-gst:
13580         Random notes about a Phonon backend.
13581
13582 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13583
13584         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13585         Extra debug output
13586         * tests/check/libs/gdp.c: (gst_dp_suite):
13587         Take a whack at fixing the ppc compile using a different define to
13588         disable the broken test.
13589
13590         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13591         Remove excess g_print()
13592
13593 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13594
13595         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13596         Oops, meant to uncomment this line too to dampen the noise a bit.
13597
13598 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13599
13600         * gst/parse/grammar.y:
13601         * gst/parse/parse.l:
13602         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13603         (GST_START_TEST), (parse_suite):
13604         Fix some of the leaks exposed by extending the parse-launch testsuite,
13605         and move the 3 I can't figure out into a separate test that won't run
13606         the pipelines unless the appropriate line is uncommented.
13607
13608 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13609
13610         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13611           Requesting 0 bytes before the end of the file should result in
13612           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13613           unit test.
13614
13615 2006-07-27  Wim Taymans  <wim@fluendo.com>
13616
13617         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13618         Fix useless assert, a uint is always positive.
13619
13620         * gst/gststructure.c: (gst_structure_nth_field_name),
13621         (gst_structure_foreach), (gst_structure_map_in_place):
13622         Check input arguments for public functions to avoid obvious crashes.
13623
13624         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13625         * plugins/elements/gstfakesink.h:
13626         Do less useless typechecking.
13627
13628 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13629
13630         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13631           Do not use mmap() by default since there are a number of error
13632           conditions that we would like to handle in a non-fatal way that
13633           will result in a SIGBUS if we use mmap(). Examples: external
13634           devices (USB harddrive, portable music player) being unplugged
13635           while in use; file on mounted CD/DVD that can't be read because
13636           the medium is partly damaged. Fixes #348455 and #348475.
13637
13638 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13639
13640         * gst/gstquery.h:
13641         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13642         rates are a gdouble
13643
13644 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13645
13646         * gst/gstregistry.c:
13647           Move big documentation comment into class section header, so that it
13648           appears in the API docs.
13649
13650 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13651
13652         * docs/gst/gstreamer-sections.txt:
13653         Oops. Commit the docs additions too for new API.
13654         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13655
13656 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13657
13658         * gst/gststructure.c: (gst_structure_id_set),
13659         (gst_structure_id_set_valist):
13660         * gst/gststructure.h:
13661         Add API for setting values into structures without performing
13662         a quark lookup, if the appropriate quark is already known.
13663
13664         API: gst_structure_id_set
13665         API: gst_structure_id_set_valist
13666
13667         * gst/parse/grammar.y:
13668         * gst/parse/parse.l:
13669         Remove some dead code shown by the coverage information.
13670         Don't throw a critical g_warning when encountering a syntax error,
13671         just warn and let the normal error path handle it.
13672
13673         * plugins/elements/gstelements.c:
13674         Bump the rank of filesink up to PRIMARY so that it is preferred over
13675         gnomevfssink for file:// sink uri's
13676
13677         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13678         (GST_START_TEST), (run_delayed_test),
13679         (gst_parse_test_element_base_init),
13680         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13681         (gst_parse_test_element_change_state),
13682         (gst_register_parse_element), (parse_suite):
13683         Beef up the tests for parse syntax to check that more error cases
13684         fail as they are supposed to. Increases the test coverage a bit.
13685
13686 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13687
13688         * docs/manual/basics-elements.xml:
13689           Fix gst_element_link() example.
13690
13691         * gst/gstutils.c:
13692           Mention in API docs that one should usually gst_bin_add()
13693           elements to a bin or pipeline before doing the linking.
13694           
13695 2006-07-26  Wim Taymans  <wim@fluendo.com>
13696
13697         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13698         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13699         Avoid function call for known types by keeping the buffer and
13700         subbuffer GType global.
13701
13702         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13703         Random silly optimisations in read() path.
13704
13705 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13706
13707         * tools/gst-launch.c: (main):
13708           If the top-level of the parse is a normal bin, it doesn't do the
13709           right logic to run as a top-level element, so place it inside a
13710           pipeline.
13711
13712 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13713
13714         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13715           Remove superfluous g_object_notify() calls, GObject does
13716           that for us automatically.
13717
13718 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13719
13720         * gst/gstinfo.h:
13721           on Win32, use dllspec to export the debug category symbols
13722
13723 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13724
13725         * gst/gsttaglist.c: (_gst_tag_initialize):
13726           Allow more than one GST_TAG_IMAGE per taglist.
13727
13728 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13729
13730         * gst/gstminiobject.c:
13731           update docs
13732         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13733         (gst_fd_src_create):
13734           log recurring events at LOG level
13735           add more debug for when the fd gets set
13736
13737 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13738
13739         * gst/gstparse.c: (gst_parse_launch):
13740           Also remove reentrance checks if flex is MT safe (#348179)
13741          Fix my empty ChangeLog entry below
13742
13743 2006-07-21  Andy Wingo  <wingo@pobox.com>
13744
13745         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13746
13747         * libs/gst/check/Makefile.am
13748         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13749         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13750         * libs/gst/check/gstbufferstraw.h:
13751         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13752         functions, thus proving I am still a GStreamer haxor. OK I wrote
13753         them a long time ago, but anyways.
13754
13755 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13756
13757         * configure.ac:
13758         * gst/gstparse.c: (gst_parse_launch):
13759           Check for flex version and omit mutex if we have a MT save flex
13760           (fixes #348179)
13761
13762 2006-07-21  Wim Taymans  <wim@fluendo.com>
13763
13764         * gst/gstparse.c: (gst_parse_launch):
13765         Protect recursive calls to _parse with a recursive mutex
13766         and busy flag.
13767
13768 2006-07-21  Wim Taymans  <wim@fluendo.com>
13769
13770         * tests/check/gst/gstpad.c: (GST_START_TEST):
13771         Fix leak in test.
13772
13773 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13774
13775         * gst/gstparse.c: (gst_parse_launch):
13776           Do not hang on recursive usage of gst_parse_launch()
13777
13778 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13779
13780         * gst/gsttaglist.c:
13781           Add some more docs, comments and FIXME 0.11s here and there
13782           and also fix some typos.
13783
13784 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13785
13786         * gst/gstsegment.h:
13787           Convert tabs to spaces for better readability. 
13788
13789 2006-07-20  Edward Hervey  <edward@fluendo.com>
13790
13791         * tests/check/libs/gdp.c: (gst_dp_suite):
13792         the test_buffer test fails at line 140 on ppc64 at the following
13793         check:
13794         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13795                 GST_BUFFER_FLAG_IN_CAPS),
13796                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13797         See bug #348114 for more details.
13798
13799 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13800
13801         * docs/pwg/advanced-scheduling.xml:
13802         * gst/gstpad.c:
13803           Fix typos (#348000).
13804
13805 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13806
13807         * docs/pwg/intro-basics.xml:
13808           Fix wrong links (#347927).
13809
13810 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13811
13812         * gst/gstregistry.h:
13813         * gst/gstregistryxml.c: (load_feature),
13814         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13815         * win32/common/config.h:
13816           make --disable-index work (#342564)
13817
13818 2006-07-18  Wim Taymans  <wim@fluendo.com>
13819
13820         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13821
13822         * gst/Makefile.am:
13823         * gst/gsttrace.h:
13824         The attached patch adds two missing defines to gsttrace.h when tracing
13825         is disabled.  It also corrects one existing define.
13826         Fixes #347756.
13827
13828 2006-07-17  Wim Taymans  <wim@fluendo.com>
13829
13830         * docs/gst/gstreamer-sections.txt:
13831         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13832         * gst/gst.h:
13833         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13834         Add two functions to check and change the SIGSEGV behaviour
13835         when loading plugins.
13836         Don't mess with the SIGSEGV handler when we were told not to.
13837         Fixes #347794.
13838         API: gst_segtrap_is_enabled
13839         API: gst_segtrap_set_enabled
13840
13841 2006-07-14  Wim Taymans  <wim@fluendo.com>
13842
13843         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13844         * tests/check/elements/filesrc.c: (GST_START_TEST):
13845         Revert fix for regression in #347408 after release.
13846
13847 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13848
13849         Patch by: Antoine Tremblay <hexa00 at gmail com>
13850
13851         * gst/gstutils.c: (gst_element_unlink):
13852           Free iterator when done (#347311).
13853
13854         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13855           And add a test case for this.
13856
13857 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13858
13859         * configure.ac:
13860         Bump nano back to CVS
13861
13862 === release 0.10.9 ===
13863
13864 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13865
13866         * configure.ac:
13867           releasing 0.10.9, "On the road again"
13868
13869 2006-07-13  Wim Taymans  <wim@fluendo.com>
13870
13871         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13872         * tests/check/elements/filesrc.c: (GST_START_TEST):
13873         Revert pull-0 fix for release. Disable check. Fixes #347408.
13874
13875 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13876
13877         * libs/gst/dataprotocol/dataprotocol.c:
13878         (gst_dp_event_from_packet_1_0):
13879           Fixes #347337: failure to deserialize event packets with
13880           empty payload (only event type)
13881
13882 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13883
13884         * gst/Makefile.am:
13885           do not install a .c file in the header directory
13886
13887 2006-07-13  Edward Hervey  <edward@fluendo.com>
13888
13889         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13890         GhostPad no longer implicitely use the padtemplates of the targets.
13891         Fixes #347384
13892
13893 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13894
13895         * gst/gstvalue.c: (gst_value_compare_list),
13896         (gst_value_compare_array), (_gst_value_initialize):
13897         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13898         Make GstValueArray comparison be order dependent as designed.
13899         Add checks for value lists and value array comparisons.
13900         Fixes #347221
13901
13902 2006-07-11  Edward Hervey  <edward@fluendo.com>
13903
13904         * gst/gstbin.c: (activate_pads),
13905         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13906         (gst_bin_change_state_func):
13907         (de)activate src pads before calling state_change on the childs.
13908         This is to avoid the case where a src ghostpad is blocked (holding the
13909         stream lock), which would block the deactivation of the ghostpad's
13910         target pad.
13911         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13912         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13913         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13914         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13915         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13916         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13917         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13918         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13919         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13920         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13921         (gst_ghost_pad_class_init),
13922         (gst_ghost_pad_internal_do_activate_push),
13923         (gst_ghost_pad_internal_do_activate_pull),
13924         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13925         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13926         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13927         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13928         GhostPads now create their internal GstProxyPad at creation (and not
13929         when they're linked, as it was being done previously).
13930         The internal and target pads are linked straight away.
13931         The data will also travel through the other pad in order to make
13932         pad blocking and probes non-hackish (the probe/block now really happens
13933         on the GhostPad and not on the target).
13934         * gst/gstpad.c: (gst_pad_set_blocked_async),
13935         (gst_pad_link_prepare), (gst_pad_push_event):
13936         Remove previous ghostpad cruft.
13937         * gst/gstutils.c: (gst_pad_add_data_probe),
13938         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13939         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13940         (gst_pad_remove_buffer_probe):
13941         Remove previous ghost pad cruft.
13942         Added more detailed debug statements.
13943         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13944         Fix the testsuite for refcounting changes.
13945         The comments about who has references were correct, but the refcount
13946         being checked wasn't the same (!?!).
13947
13948         Fixes #341029
13949
13950 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13951
13952         * docs/gst/gstreamer-sections.txt:
13953         * gst/gstconfig.h.in:
13954         More docs for configuration options, add docs to gtk-doc.
13955
13956 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13957
13958         * gst/Makefile.am:
13959         * gst/gstconfig.h.in:
13960         * win32/common/config.h:
13961         Fix build when disabling tracing (fixes #344016). Also start to document
13962         the defines that disable the sub-systems.
13963
13964 2006-07-10  Edward Hervey  <edward@fluendo.com>
13965
13966         * gst/gst.c: (ensure_current_registry_forking):
13967         let's make valgrind happy...
13968
13969 2006-07-09  Wim Taymans  <wim@fluendo.com>
13970
13971         * gst/gstelement.c: (activate_pads),
13972         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13973         Better pad activation code: Reset the collect value too on resync.
13974         Add some comments.
13975
13976 2006-07-09  Wim Taymans  <wim@fluendo.com>
13977
13978         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13979         (gst_pad_activate_push):
13980         Use some more macros where it makes sense.
13981         Allow pad mode switching instead of asserting. When a pad
13982         is activated in one mode and we activate it in another, 
13983         deactivate it first before activating it in a different mode.
13984         Fixes #329198.
13985
13986 2006-07-08  Andy Wingo  <wingo@pobox.com>
13987
13988         * tools/gst-launch.c (main): Handle err == NULL.
13989
13990         * gst/gst.c (init_post, ensure_current_registry)
13991         (ensure_current_registry_forking)
13992         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13993         factoring out the registry scanning into separate functions. Don't
13994         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13995         Better environment var name/interface suggestions accepted.
13996
13997 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13998
13999         * gst/gstobject.c: (gst_object_set_name_default),
14000         (gst_object_set_name):
14001           Random micro-optimisation: don't use a hash table
14002           with strings as keys and the usual strdup/strcmp
14003           involved, but rather just use the GQuark of the
14004           type name as key, since it needs to be looked up
14005           anyway to get the type name string.
14006
14007         * tests/check/gst/gstobject.c: (GST_START_TEST):
14008           Fix various leaks.
14009
14010 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14011
14012         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
14013         (gst_bin_iterate_all_by_interface):
14014           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
14015           GTypes are gulongs and thus the top 4 bytes might be cut
14016           off on some platforms when doing GPOINTER_TO_INT, leading
14017           to invalid GTypes and bad things happening (see RH bug #179654).
14018           Also add a check to make sure the type passed in is really
14019           an interface type.
14020
14021 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14022
14023         * .cvsignore:
14024           Ignore more.
14025
14026 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14027
14028         * Makefile.am:
14029         * configure.ac:
14030         * gst-element-check.m4:
14031         * gst-element-check.m4.in:
14032           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
14033           instead of the unversioned gst-inspect (#324176, #168659).
14034
14035 2006-07-06  Wim Taymans  <wim@fluendo.com>
14036
14037         * gst/gstmessage.h:
14038         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
14039         warnings.
14040
14041 2006-07-06  Wim Taymans  <wim@fluendo.com>
14042
14043         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14044         (gst_base_src_wait), (gst_base_src_update_length),
14045         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
14046         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
14047         (gst_base_src_loop), (gst_base_src_start),
14048         (gst_base_src_activate_pull):
14049         Update docs.
14050         blocksize == 0 now means the default blocksize when working in push
14051         based mode.
14052         Remove some pointless asserts in _wait function.
14053         Fix offset/length calculations and EOS handling. We can now pull 0
14054         bytes as well, which is allowed.
14055         use _check_get_range() to decide if we can operate in _pull based
14056         mode.
14057         Fix refcounting leak when check_get_range function was not 
14058         implemented.
14059         API GstBaseSrc::blocksize range can be 0 too now (default)
14060
14061         * tests/check/elements/filesrc.c: (GST_START_TEST),
14062         (filesrc_suite):
14063         Added check to test _get_range() behaviour.
14064
14065 2006-07-06  Wim Taymans  <wim@fluendo.com>
14066
14067         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14068         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14069         (gst_pad_pull_range):
14070         * gst/gstpad.h:
14071         Lots of comments and docs added to the pad functions.
14072         Flesh out the expected behaviour of the get_range() functions.
14073
14074 2006-07-06  Wim Taymans  <wim@fluendo.com>
14075
14076         * gst/gstbus.h:
14077         * gst/gstclock.h:
14078         * gst/gstevent.h:
14079         * gst/gstiterator.h:
14080         * gst/gstpad.h:
14081         * gst/gstplugin.h:
14082         * gst/gsttask.h:
14083         Remove comma at end of enumerator list. 
14084
14085 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
14086
14087         * win32/common/libgstbase.def:
14088         * win32/common/libgstdataprotocol.def:
14089         * win32/common/libsgtreamer.def:
14090         Add new exported functions.
14091
14092 2006-07-05  Wim Taymans  <wim@fluendo.com>
14093
14094         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14095         Add some more docs here and there.
14096
14097 2006-07-05  Wim Taymans  <wim@fluendo.com>
14098
14099         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14100         (gst_base_sink_loop), (gst_base_sink_get_position):
14101         When operating in pull mode update the offset so that we
14102         read sequentially.
14103
14104 2006-07-05  Wim Taymans  <wim@fluendo.com>
14105
14106         * gst/gstregistryxml.c: (read_string):
14107         Avoid strdup. (will happen in libxml, but hey!)
14108
14109         * gst/gsturi.c:
14110         Add some more docs.
14111
14112 2006-07-05  Wim Taymans  <wim@fluendo.com>
14113
14114         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14115         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14116         (gst_buffer_suite):
14117         No point in checking if the size of the subbuffer > 0, the
14118         code handles it correclty as demonstrated by unit test.
14119         Also add a unit test for the zero sized _new_and_alloc and
14120         _copy. Fixes #346663.
14121
14122 2006-07-05  Wim Taymans  <wim@fluendo.com>
14123
14124         * libs/gst/base/gstbasetransform.c:
14125         (gst_base_transform_prepare_output_buffer),
14126         (gst_base_transform_buffer_alloc),
14127         (gst_base_transform_handle_buffer):
14128         Make sure the buffer we pass to transform_ip has a refcount of
14129         1 and thus is writable. Fixes #343196
14130
14131 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
14132
14133         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14134         (gst_file_src_init), (gst_file_src_set_property),
14135         (gst_file_src_get_property), (gst_file_src_map_region):
14136         * plugins/elements/gstfilesrc.h:
14137         Add "sequential" property, off by default, to use madvise and hint
14138         to the kernel that sequential access is desired.
14139         Touch all retrieved pages by default to ensure they are pulled
14140         into memory. (Closes #345720)
14141
14142 2006-07-03  Wim Taymans  <wim@fluendo.com>
14143
14144         * docs/design/part-block.txt:
14145         * docs/design/part-dynamic.txt:
14146         Small docs updates.
14147
14148 2006-07-03  Wim Taymans  <wim@fluendo.com>
14149
14150         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14151         (gst_caps_unref), (gst_static_caps_get),
14152         (gst_caps_append_structure):
14153         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14154         Use GSlice when the glib we build against is >= 2.10
14155
14156 2006-07-03  Wim Taymans  <wim@fluendo.com>
14157
14158         * gst/gstelement.c: (gst_element_pads_activate):
14159         Small cleanup in pad activation code.
14160
14161 2006-07-03  Wim Taymans  <wim@fluendo.com>
14162
14163         Patch by: Peter Kjellerstedt <pkj at axis dot com>
14164
14165         * gst/gst-i18n-app.h:
14166         * gst/gst-i18n-lib.h:
14167         * tools/gst-inspect.c: (print_signal_info):
14168         The attached patch will make the inclusion of gettext.h unconditional in
14169         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14170         libintl.h in tools/gst-inspect.c.
14171         This allows use of --disable-nls again and fixes #344642.
14172
14173 2006-07-03  Edward Hervey  <edward@fluendo.com>
14174
14175         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14176         Implement pad blocking on events according to part-block.txt.
14177         More comments on behaviour.
14178         * tests/check/gst/gstevent.c: (test_event):
14179         Send event to peer pad of blocked pad (else it will block).
14180
14181 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14182
14183         * libs/gst/check/gstcheck.c: (gst_check_message_error),
14184         (gst_check_run_suite):
14185           if we get the wrong message, give us the types as string
14186         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14187           Fix a translatable
14188         * tests/check/elements/filesrc.c: (GST_START_TEST):
14189           add a test for trying to open a non-existing file
14190
14191 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14192
14193         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14194           add a test for adding self
14195
14196 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14197
14198         * libs/gst/check/gstcheck.h:
14199           add some assert_ as alias for fail_unless_*
14200         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14201           increase test coverage
14202
14203 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14204
14205         * Makefile.am:
14206           include lcov.mak for lcov coverage generation
14207         * tools/Makefile.am:
14208           add to CLEANFILES
14209
14210 2006-07-02  Edward Hervey  <edward@fluendo.com>
14211
14212         * tests/check/elements/.cvsignore:
14213         moaping
14214
14215 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14216
14217         * configure.ac:
14218           don't set CFLAGS and friends for gcov, done from GST_GCOV now
14219         * tests/check/Makefile.am:
14220           clean up gcov files
14221
14222 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14223
14224         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14225           remove gst_caps_simplify; it was not declared and not used
14226           and deprecated in 0.8
14227
14228 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14229
14230         * docs/faq/gst-uninstalled:
14231           don't put empty paths on PYTHONPATH
14232         * docs/gst/gstreamer-sections.txt:
14233           remove some symbols that are not there
14234
14235 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14236
14237         * gst/gstcaps.c: (gst_caps_compare_structures):
14238           whitespace fixes
14239         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14240         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14241           add more tests
14242
14243 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14244
14245         * libs/gst/dataprotocol/Makefile.am:
14246           build dataprotocol test by linking to the lib, instead of
14247           compiling the source, so we get coverage
14248         * tests/check/Makefile.am:
14249         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14250         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14251           add a test for filesrc
14252
14253 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14254
14255         * tests/check/gst/gststructure.c: (GST_START_TEST),
14256         (gst_structure_suite):
14257           Push coverage from 59.04% to 70.00%
14258
14259 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14260
14261         * tests/check/Makefile.am:
14262           gst-inspect every element; this makes sure that we also get
14263           coverage on element's get/set functions
14264
14265 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14266
14267         * configure.ac:
14268           set CFLAGS and friends to -O0 if gcov is being used
14269           add GCOV LIBS
14270         * gst/Makefile.am:
14271         * libs/gst/base/Makefile.am:
14272         * libs/gst/check/Makefile.am:
14273         * libs/gst/controller/Makefile.am:
14274         * libs/gst/dataprotocol/Makefile.am:
14275         * libs/gst/net/Makefile.am:
14276         * plugins/elements/Makefile.am:
14277         * plugins/indexers/Makefile.am:
14278           add makefile rules to generate gcov data and clean up
14279         * tests/check/Makefile.am:
14280           add a coverage target that generates an html overview
14281           of coverage data
14282
14283 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14284
14285         * tests/check/elements/fakesink.c:
14286         * tests/check/elements/fakesrc.c:
14287         * tests/check/elements/fdsrc.c:
14288         * tests/check/elements/identity.c:
14289         * tests/check/generic/sinks.c: (gst_sinks_suite):
14290         * tests/check/generic/states.c:
14291         * tests/check/gst/gst.c:
14292         * tests/check/gst/gstabi.c:
14293         * tests/check/gst/gstbin.c:
14294         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14295         * tests/check/gst/gstbus.c: (gst_bus_suite):
14296         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14297         * tests/check/gst/gstelement.c:
14298         * tests/check/gst/gstevent.c: (gst_event_suite):
14299         * tests/check/gst/gstghostpad.c:
14300         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14301         * tests/check/gst/gstmessage.c: (gst_message_suite):
14302         * tests/check/gst/gstminiobject.c:
14303         * tests/check/gst/gstobject.c:
14304         * tests/check/gst/gstpad.c:
14305         * tests/check/gst/gstpipeline.c:
14306         * tests/check/gst/gstplugin.c:
14307         * tests/check/gst/gstquery.c: (gst_query_suite):
14308         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14309         * tests/check/gst/gststructure.c:
14310         * tests/check/gst/gstsystemclock.c:
14311         * tests/check/gst/gsttag.c:
14312         * tests/check/gst/gsttask.c: (gst_task_suite):
14313         * tests/check/gst/gstutils.c:
14314         * tests/check/gst/gstvalue.c:
14315         * tests/check/libs/adapter.c:
14316         * tests/check/libs/basesrc.c:
14317         * tests/check/libs/collectpads.c:
14318         * tests/check/libs/controller.c:
14319         * tests/check/libs/gdp.c: (gst_dp_suite):
14320         * tests/check/libs/gstnetclientclock.c:
14321         * tests/check/libs/gstnettimeprovider.c:
14322         * tests/check/libs/libsabi.c: (libsabi_suite):
14323         * tests/check/libs/typefindhelper.c:
14324         * tests/check/pipelines/cleanup.c:
14325         * tests/check/pipelines/parse-launch.c:
14326         * tests/check/pipelines/simple-launch-lines.c:
14327         * tests/check/pipelines/stress.c: (stress_suite):
14328           use the new macro
14329
14330 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14331
14332         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14333         * libs/gst/check/gstcheck.h:
14334           create a macro and function so that the simple unit test
14335           case can be just one macro to create main()
14336
14337 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14338
14339         * gst/gstbin.c: (gst_bin_restore_thyself):
14340         * gst/gstxml.c: (gst_xml_make_element):
14341           Fix deserialisation from XML. Set parent manually
14342           instead of using gst_bin_add(), since gst_bin_add()
14343           will unlink all pads of the element being added.
14344           Fixes #341667.
14345
14346 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14347
14348         Patch by: Peter Kjellerstedt <pkj at axis com>
14349
14350         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14351           Fix missing g_strdup() and double free when using the
14352           --gst-plugin-load command line option (#346097).
14353
14354 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14355
14356         * gst/gstinfo.c:
14357           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14358
14359         * libs/gst/net/gstnetclientclock.c:
14360         * libs/gst/net/gstnettimeprovider.c:
14361           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14362
14363 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14364
14365         * docs/manual/advanced-dataaccess.xml:
14366           Fix buffer probe example compilation in
14367           ADM (#345708).
14368         
14369 2006-06-22  Edward Hervey  <edward@fluendo.com>
14370
14371         * gst/gstelement.c: (gst_element_pads_activate):
14372         We need to deactivate src pads first and then sink pads.
14373         The reason is the src pads might be blocking while holding the streaming
14374         lock, so we need to deactivate them first so that deactivating the sink
14375         pads doesn't block (since it will require the streaming lock).
14376
14377 2006-06-22  Wim Taymans  <wim@fluendo.com>
14378
14379         * libs/gst/base/gstbasetransform.c:
14380         (gst_base_transform_buffer_alloc):
14381         Forgot to remove two unneeded unrefs.
14382         Simplify a check _is_equal allready checks the obvious case.
14383
14384 2006-06-22  Wim Taymans  <wim@fluendo.com>
14385
14386         * docs/design/part-block.txt:
14387         Some docs about what pad_block should do.
14388
14389 2006-06-22  Wim Taymans  <wim@fluendo.com>
14390
14391         * gst/gstcaps.c: (gst_caps_replace):
14392         Fix crasher when passed NULL. Doc clarification.
14393         Optimize for the trivial case.
14394
14395         * gst/gstpipeline.c: (gst_pipeline_change_state):
14396         Small cleanups.
14397
14398         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14399         Small documentation cleanup.
14400
14401         * libs/gst/base/gstbasetransform.c:
14402         (gst_base_transform_buffer_alloc):
14403         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14404         is what we need and it avoids a whole lot of redundant 
14405         refcount operations.
14406
14407 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14408
14409         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14410
14411         * docs/manual/advanced-dataaccess.xml:
14412           Fix 'Embedding static elements' section to use
14413           GST_PLUGIN_DEFINE_STATIC (#345607).
14414
14415 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14416
14417         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14418           Attempt to 'fix' spuriously failing test case: it seems like the
14419           timeout of half a second is simply too small when the system is under
14420           load otherwise, and the timeout doesn't really seem to serve any
14421           particular purpose here. Give the pipeline a few seconds to preroll
14422           first, and then give it another half a second to go from PAUSED to
14423           PLAYING and marshal the message into the main thread.
14424
14425 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14426
14427         * tools/gst-feedback-m.m:
14428           Don't only use unversioned tools, try versioned tools as well
14429           (#345086).
14430
14431 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14432
14433         * gst/gstbus.c: (gst_bus_class_init):
14434           Fix some typos, make docs more explicit.
14435
14436 2006-06-20  Wim Taymans  <wim@fluendo.com>
14437
14438         * tests/check/gst/gstghostpad.c: (block_callback),
14439         (GST_START_TEST), (gst_ghost_pad_suite):
14440         Added some more ghostpad tests, mainly blocking
14441         and probes.
14442
14443 2006-06-16  Wim Taymans  <wim@fluendo.com>
14444
14445         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14446         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14447         (gst_file_sink_event), (gst_file_sink_render):
14448         * plugins/elements/gstfilesink.h:
14449         Check if we can seek in the file instead of assuming
14450         we always can. Post an error when we are asked to seek in a
14451         non-seekable file (like a fifo). Fixes #343312.
14452         Some cleanups.
14453
14454 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14455
14456         * tools/gst-launch.1.in:
14457           Un-garble (fourcc) bit in filtered caps section.
14458
14459 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14460
14461         * docs/manual/advanced-autoplugging.xml:
14462         * docs/manual/basics-helloworld.xml:
14463         * docs/manual/highlevel-components.xml:
14464           Don't leak bus reference in sample code.
14465
14466 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14467
14468         * autogen.sh:
14469           Add default for new --enable-plugin-docs switch.
14470
14471         * configure.ac:
14472           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14473           Fixes #344039.
14474
14475         * docs/Makefile.am:
14476           Use new ENABLE_PLUGIN_DOCS conditional.
14477
14478 2006-06-14  Wim Taymans  <wim@fluendo.com>
14479
14480         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14481         Make it clear with a FIXME and a real define what the #if 0
14482         previously disabled.
14483
14484 2006-06-14  Wim Taymans  <wim@fluendo.com>
14485
14486         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14487         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14488         * libs/gst/base/gstbasetransform.c:
14489         (gst_base_transform_sink_eventfunc):
14490         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14491         Don't randomly and silently reset a segment when the format 
14492         changes as this is a bug somewhere upstream. Fixes #330379.
14493
14494 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14495
14496         Patch by: Wouter Paesen  <wouter at kangaroot net>
14497
14498         * libs/gst/controller/gstcontroller.c:
14499         (gst_controlled_property_new):
14500           Fix controlling of float properties (#344849).
14501
14502         * tests/check/libs/controller.c:
14503         (gst_test_mono_source_get_property),
14504         (gst_test_mono_source_set_property),
14505         (gst_test_mono_source_class_init), (GST_START_TEST):
14506           While we're at it, add some float stuff to unit test.
14507
14508 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14509
14510         * docs/README:
14511         * docs/images/gdp-header.svg:
14512           add a gdp image
14513         * docs/libs/Makefile.am:
14514         * docs/libs/gdp-header.png:
14515         * libs/gst/dataprotocol/dataprotocol.c:
14516           add it to the API docs
14517         * docs/manual/intro-motivation.xml:
14518           fix typo
14519
14520 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14521
14522         * gst/gst.c: (scan_and_update_registry), (init_post):
14523           If the fork()'ed child process can't write the updated registry cache
14524           file to disk for some reason, make it exit with a failure exit code,
14525           so that the parent can then re-scan the plugins itself and update the
14526           registry structures in memory and work with that (rather than failing
14527           when creating elements because seemingly no plugins are available).
14528           Refactor registry scanning code into separate function for this and
14529           also separate fork() and non-fork() code paths. Fixes #344748.
14530
14531 2006-06-13  Wim Taymans  <wim@fluendo.com>
14532
14533         * docs/manual/advanced-dataaccess.xml:
14534         Fix wrong PluginDesc. Fixes #344755.
14535
14536 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14537
14538         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14539           Fix silly bug that prevented us from creating
14540           ~/.gstreamer-0.10 and writing the registry in one
14541           go (the first call to g_mkstemp() would overwrite the
14542           placeholder in the template string, so the second call
14543           to g_mkstemp() after creating the missing directory
14544           would then error out with 'invalid argument').
14545
14546 2006-06-13  Edward Hervey  <edward@fluendo.com>
14547
14548         * gst/gst.c: (init_post):
14549         Free string.
14550
14551 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14552
14553         * gst/glib-compat-private.h:
14554         * gst/glib-compat.c:
14555         * gst/glib-compat.h:
14556         * gst/gstvalue.c: (gst_value_serialize_flags):
14557           remove GLib 2.6 compatibility code
14558
14559 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14560
14561         * gst/parse/Makefile.am:
14562           Fix build with 'make -j N' even more (#340016).
14563
14564 2006-06-12  Wim Taymans  <wim@fluendo.com>
14565
14566         * docs/gst/gstreamer-sections.txt:
14567         Fix docs.
14568
14569 2006-06-12  Wim Taymans  <wim@fluendo.com>
14570
14571         * gst/gstsegment.c: (gst_segment_set_duration),
14572         (gst_segment_set_last_stop), (gst_segment_set_seek),
14573         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14574         (gst_segment_to_running_time), (gst_segment_clip):
14575         Use G_UNLIKELY to help the compiler a bit.
14576
14577 2006-06-12  Wim Taymans  <wim@fluendo.com>
14578
14579         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14580
14581         * gst/gstevent.c: (gst_event_get_type):
14582         * gst/gstmessage.c:
14583         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14584         (gst_pad_push):
14585         constify quark registration strings. Fixes #344115
14586         Avoid unneeded type checking is _pad_push() by internally
14587         calling gst_pad_chain_unchecked().
14588
14589 2006-06-12  Wim Taymans  <wim@fluendo.com>
14590
14591         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14592         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14593         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14594         (gst_buffer_is_span_fast), (gst_buffer_span):
14595         Init _type for consistency.
14596         Use _FLAGS macro to avoid type check.
14597         Avoid unneeded type checks in subbufer code.
14598
14599 2006-06-12  Wim Taymans  <wim@fluendo.com>
14600
14601         * gst/gst.c: (gst_debug_help):
14602         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14603         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14604         (gst_plugin_feature_list_free):
14605         * gst/gstregistry.c: (gst_registry_add_plugin),
14606         (gst_registry_add_feature), (gst_registry_plugin_filter),
14607         (gst_registry_feature_filter), (gst_registry_find_plugin),
14608         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14609         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14610         * gst/gstregistryxml.c: (load_feature),
14611         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14612         * gst/gstminiobject.c: (gst_mini_object_unref),
14613         (gst_mini_object_replace), (gst_value_mini_object_free),
14614         (gst_value_mini_object_copy):
14615         Use _CAST macros to avoid unneeded type checking.
14616         Added some more G_UNLIKELY.
14617
14618 2006-06-12  Wim Taymans  <wim@fluendo.com>
14619
14620         * gst/gstbuffer.h:
14621         Avoid unneeded type checking.
14622         API: GST_BUFFER_IS_DISCONT
14623
14624         * gst/gstminiobject.h:
14625         Avoid type check in flag accessor.
14626
14627         * gst/gstelementfactory.h:
14628         * gst/gstplugin.h:
14629         * gst/gstpluginfeature.h:
14630         Add _CAST macros.
14631         API: GST_ELEMENT_FACTORY_CAST
14632         API: GST_PLUGIN_CAST
14633         API: GST_PLUGIN_FEATURE_CAST
14634
14635 2006-06-12  Wim Taymans  <wim@fluendo.com>
14636
14637         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14638         (gst_object_unref):
14639         Add G_UNLIKELY in type registration.
14640         Avoid type check in _ref/_unref since that is also
14641         done in glib.
14642
14643 2006-06-12  Wim Taymans  <wim@fluendo.com>
14644
14645         * gst/gsterror.c: (gst_g_error_get_type):
14646         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14647         (gst_static_pad_template_get_type):
14648         * gst/gsttaglist.c: (gst_tag_list_get_type):
14649         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14650         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14651         * gst/gsturi.c: (gst_uri_handler_get_type):
14652         * gst/gstvalue.c: (gst_date_get_type):
14653         * gst/gstxml.c: (gst_xml_get_type):
14654         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14655         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14656         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14657         Add G_UNLIKELY in type registration.
14658
14659 2006-06-12  Wim Taymans  <wim@fluendo.com>
14660
14661         * tools/gst-inspect.c: (print_signal_info):
14662         Properly print enum values.
14663
14664 2006-06-12  Wim Taymans  <wim@fluendo.com>
14665
14666         * gst/gstinfo.c: (gst_debug_set_active),
14667         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14668         * gst/gstinfo.h:
14669         Add some G_[UN]LIKELY.
14670         Maintain __gst_debug_min to avoid formatting the arguments of
14671         debug messages that will be dropped anyway to avoid a lot of 
14672         overhead from the debugging system.
14673
14674 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14675
14676         * po/POTFILES.in:
14677         * po/POTFILES.skip:
14678           add missing files containing translatable strings, tell intltool about
14679           one exception
14680
14681 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14682
14683         * tests/check/libs/.cvsignore:
14684         add test-binary to ignore list
14685
14686 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14687
14688         * docs/libs/gstreamer-libs-docs.sgml:
14689         reorder (put dp into a chapter) and indent
14690
14691 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14692
14693         * configure.ac:
14694           back to HEAD
14695
14696 === release 0.10.8 ===
14697
14698 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14699
14700         * configure.ac:
14701           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14702
14703 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14704
14705         * gst/gst.c: (init_post):
14706           move pid declaration to declaration block
14707
14708 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14709
14710         * gst/gst.c: (init_post):
14711           use _exit() instead of exit() in our forked child; this ensures
14712           that none of the registered exit handlers from whatever is using
14713           GStreamer get executed.  This fixes gnome-mixer-applet failing
14714           to load, because ORBit would shut down.
14715           Spotted by: Edward Hervey  <edward@fluendo.com>
14716           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14717           Fixes #344474
14718
14719 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14720
14721         * configure.ac:
14722           back to TRUNK
14723
14724 === release 0.10.7 ===
14725
14726 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14727
14728         * configure.ac:
14729           releasing 0.10.7, "Soepeke, ik zie ou"
14730
14731 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14732
14733         * configure.ac:
14734         * po/af.po:
14735         * po/az.po:
14736         * po/bg.po:
14737         * po/ca.po:
14738         * po/cs.po:
14739         * po/de.po:
14740         * po/en_GB.po:
14741         * po/fr.po:
14742         * po/it.po:
14743         * po/nb.po:
14744         * po/nl.po:
14745         * po/ru.po:
14746         * po/sq.po:
14747         * po/sr.po:
14748         * po/sv.po:
14749         * po/tr.po:
14750         * po/uk.po:
14751         * po/vi.po:
14752         * po/zh_CN.po:
14753         * po/zh_TW.po:
14754         * win32/common/config.h:
14755           0.10.6.2 prerelease
14756
14757 2006-06-07  Wim Taymans  <wim@fluendo.com>
14758
14759         * gst/gstindex.c: (gst_index_gtype_resolver):
14760         * tools/gst-xmlinspect.c: (print_plugin_info):
14761         Fix leak spotted by coverity checker. Fixes #343827
14762         Fix another other leak found by paolo borelli.
14763
14764 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14765
14766         * libs/gst/dataprotocol/dataprotocol.c:
14767         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14768         (gst_dp_version_get_type), (gst_dp_init),
14769         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14770         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14771         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14772         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14773         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14774         (gst_dp_packetizer_free):
14775         * libs/gst/dataprotocol/dataprotocol.h:
14776           API: add a GstDPPacketizer object, and create/free functions
14777           API: add GstDPVersion enum
14778           Add 1.0 event function that uses the string serialization
14779           Serialize more useful buffer flags
14780           Fixes #343988
14781
14782 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14783
14784         * tests/check/Makefile.am:
14785         * tests/check/gst/gstabi.c:
14786         * tests/check/gst/struct_ppc64.h:
14787         * tests/check/libs/libsabi.c:
14788         * tests/check/libs/struct_ppc64.h:
14789           add ppc64 structure sizes
14790
14791 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14792
14793         * tests/check/Makefile.am:
14794         * tests/check/gst/gstabi.c:
14795         * tests/check/gst/struct_x86_64.h:
14796         * tests/check/libs/libsabi.c:
14797         * tests/check/libs/struct_x86_64.h:
14798           generate and add structure size lists for x86_64
14799
14800 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14801
14802         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14803         * libs/gst/check/gstcheck.h:
14804           factor out the method from tests that checks size of structures,
14805           and add code to generate the header containing these sizes
14806         * tests/check/gst/gstabi.c: (GST_START_TEST):
14807         * tests/check/gst/struct_i386.h:
14808         * tests/check/libs/libsabi.c: (GST_START_TEST):
14809         * tests/check/libs/struct_i386.h:
14810           use it
14811
14812 2006-06-06  Michael Smith  <msmith@fluendo.com>
14813
14814         * gst/gstsegment.h:
14815           Don't use c++-style comments, fixes #343929
14816
14817 2006-06-05  Edward Hervey  <edward@fluendo.com>
14818
14819         * gst/gst.c:
14820         plugin_paths is not used if we build without registry support.
14821
14822         * gst/gstsegment.c: (gst_segment_copy): 
14823         _copy() was always returning NULL...
14824
14825 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14826
14827         * libs/gst/dataprotocol/dataprotocol.c:
14828         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14829         (gst_dp_packet_from_event):
14830           factor out CRC code
14831
14832 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14833
14834         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14835           make sure we unset caps
14836
14837 2006-06-02  Michael Smith  <msmith@fluendo.com>
14838
14839         * libs/gst/check/gstcheck.c: (gst_check_init),
14840         (gst_check_chain_func):
14841         * libs/gst/check/gstcheck.h:
14842           Add a cond/mutex to the check support lib, signal this whenever we
14843           add to the buffers list. This will allow tests to not busy-wait on
14844           the buffer-list.
14845
14846 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14847
14848         * libs/gst/dataprotocol/dataprotocol.c:
14849         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14850         (gst_dp_packet_from_event):
14851           factor out some common header init code
14852
14853 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14854
14855         * docs/libs/gstreamer-libs-sections.txt:
14856         * docs/libs/tmpl/gstdataprotocol.sgml:
14857         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14858         * libs/gst/dataprotocol/dataprotocol.h:
14859           API: make gst_dp_crc() public
14860
14861 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14862
14863         * plugins/indexers/gstindexers.c: (plugin_init):
14864         conditionally register fileindexer (fixes #343598)
14865
14866 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14867
14868         * gst/gsttagsetter.h:
14869         Can't cast ifaces to a class
14870
14871         * libs/gst/net/gstnetclientclock.h:
14872         * libs/gst/net/gstnettimeprovider.h:
14873         * plugins/elements/gstfakesink.h:
14874         * plugins/elements/gstfakesrc.h:
14875         * plugins/elements/gstfdsink.h:
14876         * plugins/elements/gstfdsrc.h:
14877         * plugins/elements/gstfilesink.h:
14878         * plugins/elements/gstfilesrc.h:
14879         * plugins/elements/gstidentity.h:
14880         * plugins/elements/gstqueue.h:
14881         * plugins/elements/gsttee.h:
14882         * plugins/indexers/gstfileindex.c:
14883         * plugins/indexers/gstmemindex.c:
14884         * tests/old/examples/plugins/example.h:
14885         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14886
14887 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14888
14889         * libs/gst/dataprotocol/dataprotocol.c:
14890         (gst_dp_header_from_buffer):
14891           make sure we zero the whole ABI-compatible area
14892
14893 2006-06-01  Wim Taymans  <wim@fluendo.com>
14894
14895         Patch by: Alessandro Decina <alessandro at nnva dot org>
14896
14897         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14898         Make sure the EOS flag is cleared from pads after a flush
14899         or stop. Fixes #343538.
14900
14901         * tests/check/libs/collectpads.c: (GST_START_TEST),
14902         (gst_collect_pads_suite):
14903         Added test for collectpads reusage after EOS.
14904
14905 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14906
14907         * gst/gst.c:
14908          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14909         * win32/common/libgstbase.def:
14910          export gst_collect_pads_set_flushing
14911         * win32/common/libgstreamer.def:
14912          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14913          gst_value_fraction_multiply
14914         * win32/vs6/gst_inspect.dsp:
14915          add a link to intl.lib
14916
14917 2006-05-30  Wim Taymans  <wim@fluendo.com>
14918
14919         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14920         (gst_collect_pads_chain):
14921         Handle the case where a pad is removed from the collection
14922         that could cause the other pads to become collectable.
14923
14924 2006-05-30  Wim Taymans  <wim@fluendo.com>
14925
14926         * gst/gstelement.c:
14927         Clarify the use of _release_request_pad() and
14928         _get_request_pad() a bit better.
14929
14930         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14931         (gst_adapter_take_buffer):
14932         Fix some doc and comment typos.
14933
14934 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14935
14936         * docs/gst/gstreamer-sections.txt:
14937         * docs/libs/gstreamer-libs-sections.txt:
14938           add declared symbols
14939
14940 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14941
14942         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14943         Add debug that can be enabled using a #define at the top of the file,
14944         for dumping stats about how late/early we were when waking up from
14945         waiting on the clock.
14946
14947 2006-05-30  Wim Taymans  <wim@fluendo.com>
14948
14949         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14950         When rebuilding the pad list, don't leak the previous list.
14951
14952 2006-05-30  Wim Taymans  <wim@fluendo.com>
14953
14954         Patch by: Lutz Mueller <lutz at topfrose dot de>
14955
14956         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14957         (gst_base_src_get_query_types), (gst_base_src_update_length):
14958         Publish supported query types.
14959         Update last_stop field in get_range mode so the position
14960         query works. Fixes #342321.
14961
14962 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14963
14964         * docs/gst/gstreamer-sections.txt:
14965         * gst/gsttaglist.c: (_gst_tag_initialize):
14966         * gst/gsttaglist.h:
14967           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14968
14969 2006-05-30  Wim Taymans  <wim@fluendo.com>
14970
14971         Patch by: Alessandro Decina <alessandro at nnva dot org>
14972
14973         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14974         Unlock mutex when removing an unknown pad.
14975         Fixes #343334.
14976
14977         * tests/check/Makefile.am:
14978         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14979         (push_event), (setup), (teardown), (GST_START_TEST),
14980         (gst_collect_pads_suite), (main):
14981         Added collecpads check, disabled for now as check crashes for
14982         some reason.
14983
14984 2006-05-29  Wim Taymans  <wim@fluendo.com>
14985
14986         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14987         Don't leak pads lists.
14988
14989 2006-05-29  Wim Taymans  <wim@fluendo.com>
14990
14991         * docs/libs/gstreamer-libs-sections.txt:
14992         * libs/gst/base/gstcollectpads.c:
14993         (gst_collect_pads_set_flushing_unlocked),
14994         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14995         (gst_collect_pads_stop):
14996         * libs/gst/base/gstcollectpads.h:
14997         API: gst_collect_pads_set_flushing()
14998         Added api to set the pads to flushing, useful for seeking
14999         code in elements using collectpads.
15000         Clear segment when receiving a flush.
15001
15002 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
15003
15004         * gst/gst.c: (add_path_func), (init_post):
15005           Don't scan registry paths passed via --gst-plugin-path immediately
15006           (will crash, because absolutely nothing is set up and no types are
15007           registered etc.); do this later in init_post(). Fixes #343057.
15008
15009 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15010
15011         * gst/gst.c: (init_post):
15012           if we have fork, fork while reading/rebuilding the registry
15013           so the parent doesn't take the hit of having all plugins loaded
15014           in memory.  Fixes #342777.
15015         * configure.ac:
15016           Check if we have fork()
15017         * win32/common/config.h.in:
15018           no fork() on win32
15019
15020 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
15021
15022         * plugins/elements/gstelements.c:
15023         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
15024         (gst_file_src_init), (gst_file_src_set_property),
15025         (gst_file_src_get_property), (gst_file_src_start):
15026         * plugins/elements/gstfilesrc.h:
15027           API: GstFileSrc::use-mmap
15028
15029         Add a use-mmap property to enable easier testing of all code paths.
15030         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
15031         in the absence of gnomevfssrc. (Closes #340501)
15032
15033 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15034
15035         * tools/gst-inspect.c:
15036         Add missing include, removes warning of ngettext not being defined on
15037         some arches.
15038
15039 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
15040
15041         * gst/gstvalue.c: (gst_value_deserialize_fraction):
15042         Handle NULL input and output pointers silently as a failed conversion,
15043         rather than g_warnings.
15044
15045 2006-05-25  Wim Taymans  <wim@fluendo.com>
15046
15047         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
15048         Initialize variable before using. Fixes #342820.
15049
15050 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
15051
15052         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
15053           Fix off-by-one bug that would only allow peeks of N-1 bytes
15054           from the start even if the buffer to typefind on contains
15055           in fact N bytes of data (makes vorbis typefinding from a
15056           vorbis identification header buffer work).
15057
15058         * tests/check/Makefile.am:
15059         * tests/check/libs/.cvsignore:
15060         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
15061         (gst_typefindhelper_suite), (main), (foobar_typefind),
15062         (plugin_init):
15063           Add very basic unit test for gst_type_find_helper_for_buffer()
15064           that checks for the problem fixed above.
15065
15066 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15067
15068         * tools/gst-inspect.c: (print_interfaces),
15069         (print_element_properties_info), (print_element_list), (main):
15070           add more translatable strings
15071
15072 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
15073
15074         Patch by: Julien Moutte  <julien at moutte net>
15075
15076         * docs/gst/gstreamer-sections.txt:
15077           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15078           
15079         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15080         (gst_fake_sink_preroll):
15081         * plugins/elements/gstfakesink.h:
15082           API: Add new GstFakeSink::preroll-handoff signal (#337100).
15083
15084 2006-05-23  Wim Taymans  <wim@fluendo.com>
15085
15086         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15087         * gst/gstpad.h:
15088         Added _CUSTOM error and success GstFlowReturn that can be
15089         used be elements internally. 
15090         Added macro to check for SUCCESS flowreturns.
15091         API: GST_FLOW_CUSTOM_SUCCESS
15092         API: GST_FLOW_CUSTOM_ERROR
15093         API: GST_FLOW_IS_SUCCESS
15094
15095         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15096         Added check for GstFlowReturn sanity.
15097
15098 2006-05-23  Wim Taymans  <wim@fluendo.com>
15099
15100         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15101
15102         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15103         (gst_collect_pads_event):
15104         clear/reset segment info in FLUSH_STOP.
15105         Fixes #336929.
15106
15107 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
15108
15109         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15110         (gst_collect_pads_check_collected):
15111         Flush queued buffer on _stop(), fixes playing again (#342454)
15112
15113 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15114
15115         * tests/check/gst/gststructure.c: (GST_START_TEST),
15116         (gst_structure_suite):
15117           add a test for a complete structure
15118
15119 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15120
15121         * docs/faq/developing.xml:
15122         * docs/faq/faq.xml:
15123         * docs/faq/troubleshooting.xml:
15124         * docs/faq/using.xml:
15125           Some minor FAQ updates that won't change the fact that
15126           our FAQ is badly structured, full of information hardly
15127           anyone new to GStreamer needs to know and lacking lots
15128           of information people constantly ask for.
15129           
15130 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
15131
15132         * gst/gstpad.c: (gst_pad_set_caps):
15133           Short-circuit gst_pad_set_caps if setting the existing
15134           caps pointer again, and avoid printing debug and 
15135           reffing/unreffing the caps.
15136
15137         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15138           There's actually no need to set the caps before pushing -
15139           the acceptcaps method will handle it anyway.
15140
15141 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15142
15143         * docs/gst/gstreamer-sections.txt:
15144         * win32/common/libgstreamer.def:
15145         * gst/gstutils.c: (gst_element_seek_simple):
15146         * gst/gstutils.h:
15147           API: add gst_element_seek_simple() (#342238).
15148
15149 2006-05-18  Edward Hervey  <edward@fluendo.com>
15150
15151         * gst/gsttypefind.c: (gst_type_find_get_type):
15152         * gst/gsttypefind.h:
15153         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15154         registered for GstTypeFind pointers. This allows wrapping the structure
15155         in bindings (i.e. gst-python).
15156
15157 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15158
15159         * gst/gsttagsetter.c:
15160           Docs additions and fixes (see #339918).
15161
15162 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
15163
15164         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15165         The caps intersection algorithm can produce multiple copies of the
15166         caps. Until that is fixed, we need to simplify the result to be
15167         sure whether the allowed caps are fixed or not.
15168
15169         * plugins/elements/gstqueue.c: (gst_queue_init),
15170         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15171         (gst_queue_push_one):
15172         Proxied buffer alloc should not set the caps on the source pad.
15173         When pushing buffers, we always accept the caps change that triggers.
15174         This prevents negotiation errors caused by caps changing mid-stream 
15175         and then being refused on our source pad (because upstream is now
15176         refusing those caps).
15177
15178 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15179
15180         * tests/examples/helloworld/helloworld.c: (main):
15181           Must plug audioconvert and audioresample between decoder
15182           and audio sink.
15183
15184 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
15185
15186         * gst/gstregistryxml.c: (read_string), (load_pad_template),
15187         (load_feature), (load_plugin):
15188         Allow empty strings for some of the plugin fields so we don't 
15189         drop valid plugin entries that were written out correctly
15190         (Fixes #341479)
15191
15192 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
15193         
15194         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15195           Use g_remove and g_rename instead of remove and rename that don't 
15196           handle utf8 characters. rename was failing for users who had specific
15197           characters in their name then the registry was built at each 
15198           gstreamer init.
15199         * win32/vs6/gst_inspect.dsp:
15200         * win32/vs6/gst_launch.dsp:
15201         * win32/vs6/libgstbase.dsp:
15202         * win32/vs6/libgstcoreelements.dsp:
15203         * win32/vs6/libgstreamer.dsp:
15204           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
15205           build of libgstreamer and clean unused libraries in projects link 
15206           settings.
15207
15208 2006-05-17  Edward Hervey  <edward@fluendo.com>
15209
15210         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15211         The queue is not responsible for pushing an EOS when receiving a fatal
15212         flow error. It's up to the real element driving the pipeline to do that.
15213
15214 2006-05-16  Edward Hervey  <edward@fluendo.com>
15215
15216         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15217         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15218         buffer returned a fatal error. It should just send an EOS and stop
15219         its task.
15220         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15221         when pushing buffers on the queue and will be able to handle the event.
15222
15223 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
15224
15225         * docs/manual/basics-bins.xml:
15226         * docs/manual/basics-init.xml:
15227           Fix typos and minor errors in sample code (#341856).
15228
15229 2006-05-16  Wim Taymans  <wim@fluendo.com>
15230
15231         * docs/design/part-qos.txt:
15232         Fix indexes in formulas to make more sense.
15233
15234 2006-05-15  Wim Taymans  <wim@fluendo.com>
15235
15236         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15237         Don't report POSITION based on clock time if sync is
15238         disabled in a sink.
15239
15240 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
15241
15242         * gst/gstobject.h:
15243           Add cast to make compiler happy - refcount variable was a gint
15244           in GstObject but is a guint in GObject and g_atomic_int_get()
15245           wants a gint *.
15246
15247 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15248
15249         * gst/parse/Makefile.am:
15250           chain commands using &&, which also makes parallel make work
15251
15252 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
15253
15254         * docs/gst/gstreamer-sections.txt:
15255         * gst/gstevent.c:
15256         * gst/gstevent.h:
15257         * gst/gstmessage.h:
15258           Minor docs fixes.
15259
15260 === release 0.10.6 ===
15261
15262 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
15263
15264         * configure.ac:
15265           releasing 0.10.6, "Take the cannoli"
15266
15267 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15268
15269         * tools/gst-launch.c: (print_tag):
15270           Fix use of uninitialized variable in the hypothetical
15271           case that some broken plugin creates a GST_TAG_IMAGE
15272           tag containing a NULL buffer (#341667).
15273
15274 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15275
15276         * tools/gst-launch.c: (print_tag):
15277           Print something more intelligible for image tags when
15278           using the -t switch (#341556).
15279
15280 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15281
15282         * Makefile.am:
15283           updates for win32
15284         * configure.ac:
15285           define GST_MAJORMINOR so we have it available in win32/common/config.h
15286           Possibly remove it from our Makefile.am files later
15287         * win32/common/config.h:
15288         * win32/common/config.h.in:
15289           added GST_MAJORMINOR
15290         * win32/common/gstenumtypes.c: (register_gst_resource_error):
15291         * win32/common/gstversion.h:
15292           updated
15293
15294 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
15295
15296         * win32/MANIFEST:
15297           Update win32 files listing.
15298         * win32/common/gstversion.h:
15299           Add GST_MAJORMINOR definition.
15300         * win32/common/libgstreamer.def:
15301           Add new exported functions.
15302           
15303 2006-05-12  Michael Smith  <msmith@fluendo.com>
15304
15305         * gst/gstplugin.c: (gst_plugin_load_file):
15306           If an so file has no plugin entry point, unload the module.
15307
15308 2006-05-11  Wim Taymans  <wim@fluendo.com>
15309
15310         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15311         (gst_queue_set_property):
15312         Don't forget to signal the _chain or _loop function 
15313         when the queue size or thresholds change since that might
15314         cause them to make progres again.
15315
15316 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15317
15318         * gst/gstclock.c: (gst_clock_class_init):
15319         * gst/gstindex.c: (gst_index_class_init):
15320         * gst/gstobject.c: (gst_object_class_init):
15321         * gst/gstpad.c: (gst_pad_class_init):
15322         * gst/gstpipeline.c: (gst_pipeline_class_init):
15323         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15324         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15325         * libs/gst/base/gstbasetransform.c:
15326         (gst_base_transform_class_init):
15327         * libs/gst/net/gstnetclientclock.c:
15328         (gst_net_client_clock_class_init):
15329         * libs/gst/net/gstnettimeprovider.c:
15330         (gst_net_time_provider_class_init):
15331         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15332         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15333         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15334         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15335         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15336         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15337         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15338         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15339         * plugins/elements/gsttee.c: (gst_tee_class_init):
15340         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15341         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15342           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15343
15344 2006-05-11  Wim Taymans  <wim@fluendo.com>
15345
15346         * gst/gstbuffer.c: (_gst_buffer_initialize):
15347         Register subbufer along with the buffer type so that
15348         it does not accidentally gets registered from N
15349         different streaming threads in a non threadsafe way.
15350
15351 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15352
15353         * gst/gstbuffer.h:
15354         * gst/gstevent.h:
15355         * gst/gstmessage.h:
15356           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15357           gst_event_ref() and gst_message_ref() functions again
15358           (ugly hack, please do fix if there's a better way besides
15359           overrides.txt, which doesn't seem to work).
15360
15361 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15362
15363         * libs/gst/check/gstcheck.h:
15364           add an assert for setting state to avoid lots of repetitive code
15365           in the future
15366
15367 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15368
15369         * gst/gstvalue.c: (gst_value_serialize_flags):
15370           fix a leak if no flags are set
15371         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15372           fix leak in tests
15373
15374 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15375
15376         * docs/manual/basics-pads.xml:
15377           Expand a bit on caps and filtered links and update
15378           examples that were still using the no longer existing
15379           gst_pad_link_filtered() (#338206).
15380
15381 2006-05-10  Wim Taymans  <wim@fluendo.com>
15382
15383         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15384         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15385         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15386         (gst_collect_pads_stop):
15387         * libs/gst/base/gstcollectpads.h:
15388         No need to call _stop in _finalize.
15389         Iterate the main pad list in _finalize.
15390         Added some more debug.
15391         Free lists and data in the right order.
15392         Also free data whem doing _remove_pad when stopped for
15393         backward compatibility protect ::started with PAD_LOCK as
15394         well.
15395
15396 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15397
15398         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15399         (gst_structure_parse_value):
15400           add some comments
15401           rename a method so that it actually says what it does better
15402
15403 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15404
15405         * gst/gstevent.c: (_gst_event_initialize):
15406         * gst/gstformat.c: (_gst_format_initialize):
15407           make sure some essential types used by events are registered
15408           as part of gst_init()
15409         * gst/gstvalue.c: (gst_value_serialize_flags):
15410           if no flags are set, serialize them to a value that represents NONE
15411           so that deserializing them works
15412         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15413           add tests for serialization and deserialization of flags
15414
15415 2006-05-10  Wim Taymans  <wim@fluendo.com>
15416
15417         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15418         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15419         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15420         (gst_collect_pads_event), (gst_collect_pads_chain):
15421         Update docs.
15422         Better debug info.
15423         Catch and return errors from the collect function
15424         Refuse data on eos pads.
15425
15426 2006-05-10  Edward Hervey  <edward@fluendo.com>
15427
15428         * gst/gstinterface.h:
15429         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15430         GInterface type checking.
15431         They were previously using non-defined macros.
15432
15433 2006-05-09  Wim Taymans  <wim@fluendo.com>
15434
15435         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15436         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15437         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15438         (gst_collect_pads_start), (gst_collect_pads_stop),
15439         (gst_collect_pads_peek), (gst_collect_pads_pop),
15440         (gst_collect_pads_available), (gst_collect_pads_read),
15441         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15442         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15443         (gst_collect_pads_chain):
15444         * libs/gst/base/gstcollectpads.h:
15445         Clean up the mess that is collectpads, add comments and
15446         FIXMEs where needed.
15447         Maintain a separate pad list so we can add pads while
15448         collecting the other ones. For this we need a new separate 
15449         lock (see comics).
15450         Fix memory leak in finalize.
15451         Refactor some weird code to set/unset pad flushing flags, mark
15452         with comments.
15453         Don't crash in _available, _read, _flush when we're EOS.
15454
15455         * tests/check/libs/.cvsignore:
15456         Ignore adapter check binary.
15457
15458 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15459
15460         * gst/gstindex.c: (gst_index_resolver_get_type):
15461         * plugins/elements/gstfakesink.c:
15462         (gst_fake_sink_state_error_get_type):
15463         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15464         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15465         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15466           Const-ify GEnumValue arrays.
15467
15468 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15469
15470         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15471           Add test case for flags + gst_buffer_make_metadata_writable().
15472
15473 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15474
15475         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15476           gst_buffer_make_metadata_writable() should maintain the
15477           buffer flags (those that make sense at least) (see #340859).
15478
15479 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15480
15481         * tools/gst-inspect.c:
15482         * tools/gst-launch.c:
15483         * tools/gst-typefind.c:
15484         * tools/gst-xmlinspect.c:
15485         * tools/tools.h:
15486           Fix up includes: need to include stdlib.h in tools.h for exit().
15487
15488 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15489
15490         * gst/gsttaglist.c: (_gst_tag_initialize):
15491         * gst/gsttaglist.h:
15492           API: add GST_TAG_IMAGE tag (#340721).
15493
15494 2006-05-08  Wim Taymans  <wim@fluendo.com>
15495
15496         * gst/gstquery.c:
15497         Added some docs for the segment query.
15498
15499 2006-05-08  Wim Taymans  <wim@fluendo.com>
15500
15501         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15502         (gst_base_src_loop), (gst_base_src_change_state):
15503         Always push non-flushing serialized events in the streaming 
15504         thread.
15505
15506 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15507
15508         * gst/gsterror.c: (_gst_stream_errors_init):
15509           Add a missing error string.
15510
15511 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15512
15513         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15514         Add applied_rate to the debug
15515
15516         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15517         Copy applied_rate into the outgoing NEWSEGMENT event
15518
15519 2006-05-08  Wim Taymans  <wim@fluendo.com>
15520
15521         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15522
15523         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15524         (gst_base_sink_change_state):
15525         call ::unlock before taking the PREROLL_LOCK so we can safely
15526         handle elements that lock in ::render.
15527         Fixes #340174.
15528
15529 2006-05-08  Edward Hervey  <edward@fluendo.com>
15530
15531         * autogen.sh: (CONFIGURE_DEF_OPT): 
15532         Darwin's libtoolize is in fact called glibtoolize.
15533         Adding glibtoolize to the list of accepted names for libtoolize.
15534
15535 2006-05-08  Wim Taymans  <wim@fluendo.com>
15536
15537         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15538         Unify error handling, don't post an error message
15539         when a push() returns EOS but perform our normal EOS
15540         handling code. Fixes #340772.
15541
15542 2006-05-08  Wim Taymans  <wim@fluendo.com>
15543
15544         * docs/design/part-overview.txt:
15545         Make upsteam/downstream concepts more clear.
15546         Give an example of serialized/non-serialized events.
15547
15548         * docs/design/part-events.txt:
15549         * docs/design/part-streams.txt:
15550         Mention applied_rate.
15551
15552         * docs/design/part-trickmodes.txt:
15553         Mention applied rate, flesh out some more use cases.
15554
15555         * gst/gstevent.c: (gst_event_new_new_segment),
15556         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15557         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15558         (gst_event_parse_tag), (gst_event_new_buffer_size),
15559         (gst_event_parse_buffer_size), (gst_event_new_qos),
15560         (gst_event_parse_qos), (gst_event_parse_seek),
15561         (gst_event_new_navigation):
15562         * gst/gstevent.h:
15563         Add applied_rate field to NEWSEGMENT event.
15564         API: gst_event_new_new_segment_full()
15565         API: gst_event_parse_new_segment_full()
15566
15567         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15568         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15569         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15570         * gst/gstsegment.h:
15571         Add applied_rate to GstSegment structure.
15572         Make calculation of stream_time and running_time more correct
15573         wrt rate/applied_rate.
15574         Add some more docs.
15575         API: GstSegment::applied_rate field
15576         API: gst_segment_set_newsegment_full();
15577
15578         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15579         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15580         * libs/gst/base/gstbasetransform.c:
15581         (gst_base_transform_sink_eventfunc),
15582         (gst_base_transform_handle_buffer):
15583         Parse and use applied_rate in the GstSegment field.
15584
15585         * tests/check/gst/gstevent.c: (GST_START_TEST):
15586         Add check for applied_rate field.
15587
15588         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15589         (gstsegments_suite):
15590         Add more checks for various GstSegment operations.
15591
15592 2006-05-08  Wim Taymans  <wim@fluendo.com>
15593
15594         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15595         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15596         (gst_base_sink_get_position), (gst_base_sink_change_state):
15597         Store the sync time of the buffer end position separatly in a
15598         new variable eos_rtime so we can properly sync the EOS event.
15599         Fixes #340697.
15600         Fix the docs for gst_base_sink_set_qos_enabled().
15601         Don't set segment start to invalid value when we receive a 
15602         non TIME newsegment.
15603         get closer to handling position reporting for negative rates 
15604         correctly.
15605
15606 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15607
15608         * gst/gstcaps.c:
15609         Docs about how to print caps for debug purposes.
15610
15611         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15612         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15613
15614 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15615
15616         * gst/gstelement.c:
15617           use full enum names and preprend a '%' in docs strings to make recent 
15618           gtk-doc turn that into a link
15619
15620 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15621
15622         * docs/manual/basics-bins.xml:
15623         * docs/manual/basics-bus.xml:
15624         * docs/manual/basics-pads.xml:
15625           Some typo fixes, some additions, some clarifications. 
15626
15627 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15628
15629         * tools/gst-inspect.c: (main):
15630         * tools/gst-launch.c: (main):
15631         * tools/gst-run.c: (main):
15632         * tools/gst-typefind.c: (main):
15633         * tools/gst-xmlinspect.c: (main):
15634           Use the string passed to g_option_context_new() for
15635           what it's intended for - the program name is already
15636           printed elsewhere.
15637
15638 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15639
15640         * tools/Makefile.am:
15641         * tools/gst-inspect.c: (main):
15642         * tools/gst-launch.c: (main):
15643         * tools/gst-xmlinspect.c: (main):
15644         * tools/tools.h:
15645           Add back --version command line option (#340460).
15646
15647         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15648           Add --version option and use GOption for argument parsing; refactor a
15649           bit; accept directories as arguments and recurse into them; lastly,
15650           print a decent error message when things go wrong.
15651
15652 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15653
15654         * docs/manual/basics-bins.xml:
15655         Don't mention GstThread (#340611)
15656         * docs/manual/basics-elements.xml:
15657         Update link to GObject tutorial (#340607)
15658         
15659 2006-05-05  Wim Taymans  <wim@fluendo.com>
15660
15661         * gst/gstbuffer.h:
15662         * gst/gstminiobject.c:
15663         Add note about refcounting and miniobject/buffer writeability
15664         to docs. Fixes #340604
15665
15666         * gst/gstelementfactory.h:
15667         Added some explanation about @klass.
15668
15669 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15670
15671         * docs/manual/intro-motivation.xml:
15672         * docs/manual/manual.xml:
15673         Avoid CORBA & Bonobo references (#340598)
15674
15675 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15676
15677         * docs/manual/basics-bus.xml:
15678         * docs/manual/basics-pads.xml:
15679         Fix up some inaccuracies and omissions (#340609)
15680         
15681 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15682
15683         * gst/gstghostpad.c:
15684           Small typo in docs (#340625)
15685
15686 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15687
15688         * gst/parse/Makefile.am:
15689           Make 'make -j' proof (see #340698).
15690
15691 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15692
15693         * configure.ac:
15694           Require GLib-2.8 here as well.
15695
15696 2006-05-05  Wim Taymans  <wim@fluendo.com>
15697
15698         * gst/glib-compat.c:
15699         * gst/gst.c: (init_pre):
15700         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15701         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15702         (gst_object_dispatch_properties_changed):
15703         * gst/gstobject.h:
15704         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15705         * gst/gststructure.c: (gst_structure_set_valist):
15706         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15707         Remove pre glib2.8 compatibility, fixes #340508
15708
15709 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15710
15711         * gst/gsttaglist.h:
15712           Mention type of tags in doc blurbs.
15713
15714 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15715
15716         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15717         (gst_pad_configure_src), (gst_pad_push):
15718         Restore acceptcaps checking behaviour now that good plugins have
15719         been released.
15720
15721 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15722
15723         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15724
15725         * gst/gst.c:
15726         * gst/gstbus.c:
15727         * gst/gstclock.c:
15728         * gst/gstevent.c:
15729         * gst/gstformat.c:
15730         * gst/gstmessage.c:
15731         * gst/gstparse.c:
15732         * gst/gstquery.c:
15733         * gst/gstutils.c:
15734         * gst/parse/Makefile.am:
15735         * libs/gst/base/gstadapter.c:
15736         * libs/gst/base/gstbasesrc.c:
15737         * libs/gst/base/gstpushsrc.c:
15738         * libs/gst/base/gsttypefindhelper.c:
15739         * plugins/elements/gstfakesrc.c:
15740         * plugins/elements/gstidentity.c:
15741           Make sure gstprivate.h and/or config.h are
15742           always included first, otherwise some of our
15743           defines (like _FILE_OFFSET_BITS) might be
15744           redefined in the system headers. Fixes build
15745           on opensolaris (#340016).
15746
15747 2006-05-04  Wim Taymans  <wim@fluendo.com>
15748
15749         * docs/libs/gstreamer-libs-sections.txt:
15750         API: addition: gst_adapter_take_buffer()
15751         
15752         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15753         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15754         (gst_adapter_available_fast):
15755         * libs/gst/base/gstadapter.h:
15756         Prepare for optimizing the hell out of this hugely inefficient
15757         piece of code. 
15758         Added gst_adapter_take_buffer() so we can at least start thinking
15759         about subbuffering and merging.
15760         Added some comments.
15761
15762         * tests/check/Makefile.am:
15763         * tests/check/libs/adapter.c: (GST_START_TEST),
15764         (gst_adapter_suite), (main):
15765         Added GstAdapter check.
15766
15767 2006-05-04  Wim Taymans  <wim@fluendo.com>
15768
15769         * docs/design/part-overview.txt:
15770         Fix some typos, add blurb about buffer flags.
15771
15772 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15773
15774         * docs/libs/gstreamer-libs-sections.txt:
15775           make sure GstBaseTransformClass shows up in the docs
15776         * libs/gst/base/gstbasetransform.c:
15777         * libs/gst/base/gstbasetransform.h:
15778           move docs so gtk-doc picks it up now
15779
15780 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15781
15782         * docs/libs/gstreamer-libs-sections.txt:
15783           add missing symbols to docs
15784
15785 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15786
15787         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15788           back out the newsegment handling change, see #340060 for ongoing
15789           discussion
15790
15791 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15792
15793         * tools/gst-run.c: (get_candidates), (main):
15794           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15795           work); fix typo in error message. Fixes #340079.
15796
15797 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15798
15799         * common/Makefile.am:
15800         * docs/Makefile.am:
15801         * docs/faq/Makefile.am:
15802         * docs/gst/Makefile.am:
15803         * docs/libs/Makefile.am:
15804         * docs/manual/Makefile.am:
15805         * docs/plugins/Makefile.am:
15806         * docs/pwg/Makefile.am:
15807         * docs/slides/Makefile.am:
15808         * docs/upload.mak:
15809         * common/upload.mak:
15810           move upload.mak to common
15811
15812 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15813
15814         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15815           add more asserts on refcounts
15816           do more cleanup at end of tests
15817           fix test leaks showing in FC5
15818
15819 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15820
15821         * plugins/elements/gsttypefindelement.c:
15822         (gst_type_find_element_handle_event):
15823         reverted wrong change and reflowed code to avoid others falling into
15824         this trap
15825
15826 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15827
15828         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15829           fix changelog entry about last collectpads change,
15830           add notes about proper fix
15831
15832 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15833
15834         * gst/gst.c:
15835         * gst/gstregistry.c: (gst_registry_scan_path_level),
15836         (gst_registry_scan_path):
15837         * gst/gstregistry.h:
15838           only write out registry if it has changed, fixes #338339
15839
15840 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15841
15842         * gst/gstbin.c:
15843         * gst/gstpipeline.c:
15844         * plugins/elements/gstcapsfilter.c:
15845         * plugins/elements/gstfakesink.c:
15846         * plugins/elements/gstfakesrc.c:
15847         * plugins/elements/gstfdsink.c:
15848         * plugins/elements/gstfdsrc.c:
15849         * plugins/elements/gstfilesink.c:
15850         * plugins/elements/gstfilesrc.c:
15851         * plugins/elements/gstidentity.c:
15852         * plugins/elements/gstqueue.c:
15853         * plugins/elements/gsttee.c:
15854         * plugins/elements/gsttypefindelement.c:
15855         (gst_type_find_element_handle_event):
15856           make GstElementDetails const
15857
15858 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15859
15860         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15861         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15862         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15863           more detailed debug and formatting cleanup,
15864           forward newsegments to src-pad (so that e.g. adder not eats them)
15865
15866 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15867
15868         * gst/gstutils.c: (gst_element_link_pads):
15869           cleanup double code
15870
15871 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15872
15873         * libs/gst/controller/gstcontroller.c:
15874         (gst_controller_sync_values):
15875           some little tuning
15876         * tests/check/libs/controller.c: (GST_START_TEST),
15877         (gst_controller_suite):
15878           a new test for live value handling
15879
15880 2006-04-28  Wim Taymans  <wim@fluendo.com>
15881
15882         * gst/gstutils.c: (push_and_ref):
15883         Added some more docs.
15884         Fix refcount issue whith gst_element_found_tags() helper 
15885         function. Fixes #338335
15886
15887         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15888         Added testsuite for gst_element_found_tags().
15889
15890 2006-04-28  Michael Smith  <msmith@fluendo.com>
15891
15892         * gst/gstvalue.c: (gst_value_serialize_flags):
15893           Avoid NULL dereference when trying to serialize flags containing
15894           invalid values.
15895
15896 2006-04-28  Michael Smith  <msmith@fluendo.com>
15897
15898         * plugins/elements/gsttypefindelement.c:
15899         (gst_type_find_element_handle_event):
15900           If we get EOS before any data is accumulated, don't use
15901           uninitialised local variables.
15902
15903 2006-04-28  Michael Smith  <msmith@fluendo.com>
15904
15905         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15906         (gst_dp_event_from_packet):
15907           Fixes in reading/writing events over GDP (not currently used?) - 
15908           dereferencing NULL events for unknown/invalid event types, memory
15909           leak, and change g_warning to GST_WARNING.
15910
15911 2006-04-28  Wim Taymans  <wim@fluendo.com>
15912
15913         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15914         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15915         (gst_base_sink_get_position), (gst_base_sink_change_state):
15916         When frame dropping is enabled, we should not ignore frames
15917         without a duration.
15918         Update some documentation.
15919
15920 2006-04-28  Wim Taymans  <wim@fluendo.com>
15921
15922         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15923         (gst_base_src_send_event), (gst_base_src_change_state):
15924         Documentation updates.
15925
15926 2006-04-28  Wim Taymans  <wim@fluendo.com>
15927
15928         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15929         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15930         handle EAGAIN, EINTR and short writes correctly. Also clean
15931         up some error cases, avoid a deadlock on bad file descriptors and
15932         use GST_DEBUG_OBJECT.
15933         Fixes #339843
15934
15935 2006-04-28  Wim Taymans  <wim@fluendo.com>
15936
15937         * gst/gstvalue.c: (gst_value_serialize_buffer),
15938         (gst_value_deserialize_buffer):
15939         Don't try to serialize a GValue with a NULL buffer. 
15940         Fixes #339821.
15941
15942         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15943         Added check for serialisation of NULL buffers.
15944
15945 2006-04-28  Wim Taymans  <wim@fluendo.com>
15946
15947         * gst/gstminiobject.c: (gst_value_take_mini_object):
15948         Taking a NULL miniobject is valid, fix the case where
15949         we try to unref the NULL miniobject.
15950
15951 2006-04-28  Wim Taymans  <wim@fluendo.com>
15952
15953         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15954
15955         * gst/gstbin.c: (gst_bin_handle_message_func):
15956         Update docs.
15957         Don't leak bin refcount when a state recalc is
15958         in progress and we delay another one #339808.
15959
15960 2006-04-28  Wim Taymans  <wim@fluendo.com>
15961
15962         * docs/design/part-TODO.txt:
15963         Mention QoS as an ongoing work item.
15964
15965         * docs/design/part-buffering.txt:
15966         New doc about buffering that needs to be fleshed out
15967         at some point.
15968
15969         * docs/design/part-qos.txt:
15970         More QoS policy for decoders/demuxers/transforms
15971
15972         * docs/design/part-trickmodes.txt:
15973         Small update.
15974
15975 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15976
15977         * configure.ac:
15978           back to HEAD
15979
15980 === release 0.10.5 ===
15981
15982 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15983
15984         * configure.ac:
15985           releasing 0.10.5, "Fogo"
15986
15987 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15988
15989         patch by: Wim Taymans
15990
15991         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15992         (gst_pad_configure_src), (gst_pad_push):
15993         * gst/gstpipeline.c: (gst_pipeline_init):
15994           Fix internal data flow errors.  Fixes #338711.
15995
15996 2006-04-12  Wim Taymans  <wim@fluendo.com>
15997
15998         * tests/check/gst/gstelement.c: (GST_START_TEST):
15999         Don't leak the factory.
16000
16001 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16002
16003         * configure.ac:
16004         * win32/common/config.h:
16005           prerelease
16006
16007 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
16008
16009         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16010         (gst_controller_unset_all):
16011           Free allocated GstTimedValues when freeing list nodes.
16012           Should fix leaks 'make check-valgrind' complains about.
16013
16014         * win32/common/libgstcontroller.def:
16015           Add gst_controller_unset_all.
16016
16017 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
16018
16019         * docs/libs/gstreamer-libs-sections.txt:
16020         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16021         (gst_controller_unset_all):
16022         * libs/gst/controller/gstcontroller.h:
16023         API: Added new method gst_controller_unset_all()
16024         fixed gst_controller_unset()
16025         * tests/check/libs/controller.c: (GST_START_TEST),
16026         (gst_controller_suite):
16027         Added two testcases for new and fixed method
16028
16029 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
16030
16031         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
16032           MSG_DONTWAIT is not defined on Cygwin, so work
16033           around that (fixes #317048).
16034           
16035 2006-04-11  Wim Taymans  <wim@fluendo.com>
16036
16037         * gst/gstelementfactory.c: (gst_element_register),
16038         (gst_element_factory_create), (gst_element_factory_make):
16039         Some cleanups.
16040         Fixed a FIXME.
16041         Updated docs (Fixes #131079)
16042
16043         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16044         Small cleanups.
16045
16046         * tests/check/gst/gstelement.c: (GST_START_TEST),
16047         (gst_element_suite):
16048         Added testcase for elementfactory class field.
16049
16050 2006-04-10  Wim Taymans  <wim@fluendo.com>
16051
16052         * gst/gstsegment.c:
16053         Added some more docs.
16054
16055         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
16056         (gst_base_sink_reset_qos):
16057         Calculate more accurate rate values.
16058
16059 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
16060
16061         * gst/gst_private.h:
16062           add a new #ifdef to use __declspec(dllimport) only for
16063           other modules and not for gstreamer core
16064         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
16065           use gst_guint64_to_gdouble for conversion
16066         * win32/common/libgstreamer.def:
16067           add new exported functions
16068         * win32/vs6/gst_inspect.dsp:
16069         * win32/vs6/gst_launch.dsp:
16070         * win32/vs6/libgstbase.dsp:
16071         * win32/vs6/libgstcontroller.dsp:
16072         * win32/vs6/libgstcoreelements.dsp:
16073         * win32/vs6/libgstdataprotocol.dsp:
16074         * win32/vs6/libgstnet.dsp:
16075           update project files
16076
16077 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16078
16079         * gst/gstbuffer.c: (gst_subbuffer_class_init):
16080         * gst/gstclock.c: (gst_clock_class_init):
16081         * gst/gstelement.c: (gst_element_class_init):
16082         * gst/gstindex.c: (gst_index_class_init):
16083         * gst/gstindexfactory.c: (gst_index_factory_class_init):
16084         * gst/gstobject.c: (gst_object_class_init),
16085         (gst_signal_object_class_init):
16086         * gst/gstpad.c: (gst_pad_class_init):
16087         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16088         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16089         * gst/gstregistry.c: (gst_registry_class_init):
16090         * gst/gstsystemclock.c: (gst_system_clock_class_init):
16091         * gst/gsttask.c: (gst_task_class_init):
16092         * gst/gstxml.c: (gst_xml_class_init):
16093         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16094         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16095         (gst_base_src_loop):
16096         * libs/gst/controller/gstcontroller.c:/
16097         (_gst_controller_class_init):
16098         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16099         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16100         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16101         * tests/old/examples/plugins/example.c: (gst_example_class_init):
16102         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16103         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16104
16105 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
16106
16107         * gst/gstpad.c: (gst_pad_link):
16108           Must set peer pads before calling the link function, otherwise
16109           a task started from a link function might get a flow-not-linked
16110           result when trying to push because the other thread where the
16111           linking happens hasn't had a chance to set the peers yet. This
16112           might happen for example when a queue gets linked to a downstream
16113           element, as queue starts a streaming task when its source pad
16114           gets linked. Happens in real life when playing back flac/musepack
16115           files in playbin (#332390).
16116           
16117 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16118
16119         * gst/gstindex.h:
16120         * gst/gstxml.h:
16121         * libs/gst/base/gstadapter.h:
16122         * libs/gst/base/gstbasesink.h:
16123         * libs/gst/base/gstbasesrc.h:
16124         * libs/gst/base/gstbasetransform.h:
16125         * libs/gst/base/gstcollectpads.h:
16126         * libs/gst/base/gstpushsrc.h:
16127         Fix broken GObject macros
16128
16129 2006-04-07  Wim Taymans  <wim@fluendo.com>
16130
16131         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16132         Initialize start and stop times, thanks valgrind.
16133
16134 2006-04-07  Wim Taymans  <wim@fluendo.com>
16135
16136         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16137         Be a bit nicer to badly behaving upstream elements that expect
16138         us to deal with non TIME segments and timestamps (such as fakesrc
16139         in the testsuite).
16140
16141 2006-04-07  Wim Taymans  <wim@fluendo.com>
16142
16143         * gst/gstbus.c:
16144         Small documentation clarification about the signal watch.
16145
16146         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16147         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16148         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16149         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16150         (gst_base_sink_get_position_last),
16151         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16152         Convert and store timestamps in stream time and running time, the
16153         raw timestamps are not useful, also document this better.
16154         Use different window sizes for good and bad QoS observations so
16155         we react to badness a little quicker.
16156         Keep track of the amount of rendered and dropped buffers.
16157         Send QoS timestamps in running time.
16158
16159         * libs/gst/base/gstbasetransform.c:
16160         (gst_base_transform_sink_eventfunc),
16161         (gst_base_transform_handle_buffer):
16162         Compare QoS timestamps against running time.
16163
16164 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16165
16166         * gst/gstpad.c:
16167           Typo fixes in docs.
16168
16169 2006-04-06  Michael Smith  <msmith@fluendo.com>
16170
16171         * gst/gstpad.c: (gst_pad_set_property):
16172           Use g_value_get_object() instead of g_value_dup_gst_object(),
16173           to avoid double-reffing the pad template (which we then sink,
16174           so this worked previously if (and only if) the pad template
16175           was floating.
16176
16177         * gst/gstpadtemplate.c: (gst_pad_template_init),
16178         (gst_pad_template_pad_created):
16179           Never return floating references to pad templates, create
16180           them as initially-sunken.
16181
16182           Document an extra function (and make this stop sinking our
16183           pad template, since that is now guaranteed to do nothing,
16184           since we created it sunken).
16185
16186         * gst/gstghostpad.c:
16187           Fix docs typo.
16188
16189 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16190
16191         * gst/gstinfo.c: (__gst_in_valgrind):
16192           Add some newlines.
16193
16194         * plugins/elements/gsttypefindelement.c:
16195         (gst_type_find_element_chain):
16196           Don't leak buffer caps.
16197
16198 2006-04-06  Michael Smith  <msmith@fluendo.com>
16199
16200         * gst/parse/grammar.y:
16201           Fix a leak in parse-launch for any source-or-sink named element 
16202           references used.
16203
16204         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16205           Unref the pipeline if it exists after we've failed parsing.
16206
16207 2006-04-05  Michael Smith  <msmith@fluendo.com>
16208
16209         * gst/gstpipeline.c: (gst_pipeline_init):
16210           When we create a pipeline bus, initially create it in flushing mode.
16211           Fixes leaks in at least one test, and makes a new pipeline work the
16212           same as one that has gone to READY and then back to NULL.
16213
16214         * gst/gstelement.c:
16215           Typo fix in docs.
16216
16217 2006-04-05  Michael Smith  <msmith@fluendo.com>
16218
16219         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16220           Unref a pad we reffed.
16221         * tests/check/gst/gstutils.c: (GST_START_TEST):
16222           Unref bins
16223
16224 2006-04-05  Michael Smith  <msmith@fluendo.com>
16225
16226         * gst/gstquery.c: (gst_query_set_formats),
16227         (gst_query_set_formatsv):
16228           Fix leaking GValues in queries, as shown by valgrind/testsuite.
16229
16230 2006-04-05  Michael Smith  <msmith@fluendo.com>
16231
16232         * tests/check/generic/sinks.c: (GST_START_TEST):
16233           Fix a variety of memleaks in sinks check, which are only sometimes 
16234           shown by running the tests under valgrind (weird?).
16235
16236 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
16237
16238         * docs/version.entities.in:
16239           Fix the substituted entity name after thomas' changes on the
16240           weekend.
16241
16242 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
16243
16244         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16245         VALGRIND_PRINTF
16246         
16247 2006-04-05  Andy Wingo  <wingo@pobox.com>
16248
16249         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16250
16251         * libs/gst/base/gstbasetransform.c
16252         (gst_base_transform_sink_eventfunc): When resetting our segment on
16253         FLUSH_STOP, also update the flag saying we haven't seen a
16254         newsegment.
16255
16256 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16257
16258         Patch by: Paolo Borelli  <pborelli at katamail dot com>
16259
16260         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16261         (gst_plugin_check_license):
16262           minor clean-ups: G_DEFINE_TYPE already takes care of the
16263           parent_class stuff, no need to do it twice. Mark array of
16264           license strings as constant. (#337103)
16265           
16266 2006-04-04  Michael Smith  <msmith@fluendo.com>
16267
16268         * tools/gst-inspect.c: (print_element_list):
16269           Free the right plugin list; fixes a memory leak.
16270
16271 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16272
16273         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
16274
16275         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16276           Don't error out on empty buffers (#336945).
16277           
16278 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
16279
16280         * docs/libs/gstreamer-libs-sections.txt:
16281         * gst/gsttaglist.c:
16282         * libs/gst/base/gstbasesink.c:
16283         * libs/gst/base/gstbasesink.h:
16284         * libs/gst/base/gstbasesrc.c:
16285         * libs/gst/base/gstbasesrc.h:
16286           Documentation updates. Make BaseSink and BaseSrc docs contain the
16287           class structure so that people can actually see the prototypes for
16288           virtual functions they're supposed to be overriding.
16289
16290 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16291
16292         * plugins/elements/gsttypefindelement.c:
16293         (gst_type_find_element_chain):
16294           More debug info; when skipping typefinding, send cached
16295           events in all cases.
16296
16297 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16298
16299         * configure.ac:
16300           use new AS_VERSION and AS_NANO macros
16301         * gst/gst-i18n-lib.h:
16302         * gst/gst.c:
16303         * gst/gsterror.c:
16304         * gst/gstversion.h.in:
16305         * win32/common/config.h:
16306         * win32/common/config.h.in:
16307           update accordingly
16308
16309 2006-03-31  Michael Smith  <msmith@fluendo.com>
16310
16311         * plugins/elements/gsttypefindelement.c:
16312         (gst_type_find_element_chain):
16313           Do not typefind content if the buffers already have caps.
16314           Neccesary for icydemux (#333657), and the right thing to do anyway.
16315
16316 2006-03-30  Wim Taymans  <wim@fluendo.com>
16317
16318         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16319         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16320         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16321         (gst_base_sink_record_qos_observation),
16322         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16323         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16324         (gst_base_sink_change_state):
16325         More QoS measurements as described in the design doc.
16326         Get rid of ringbuffer with observations, running average is
16327         more simple and equally good.
16328         Calculates valid proportion now.
16329         Added beginning of flood measurement.
16330
16331 2006-03-29  Wim Taymans  <wim@fluendo.com>
16332
16333         * docs/design/part-qos.txt:
16334         * gst/gstclock.c:
16335         Small documentation updates and additions.
16336
16337 2006-03-29  Wim Taymans  <wim@fluendo.com>
16338
16339         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16340         (gst_base_src_send_event), (gst_base_src_loop),
16341         (gst_base_src_change_state):
16342         Perform the EOS logic when we reach the segment stop position.
16343         Fix compilation on gcc4.1
16344
16345 2006-03-29  Wim Taymans  <wim@fluendo.com>
16346
16347         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16348
16349         * plugins/elements/gstqueue.c: (gst_queue_init),
16350         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16351         (gst_queue_set_property):
16352         * plugins/elements/gstqueue.h:
16353         In queue, when EOS is received, if minimum threshold > max_size -
16354         current_level, there is chance that queue blocks forever in conditional
16355         item del wait. This is because the queue is not emptied completely due
16356         to minimum threshold.  Here is another approach. Instead of setting
16357         cur_levels to max in EOS, just zero all minimum threshold levels. This
16358         should make sure that queue gives out all data. When going to READY
16359         (stop) state, just reset the original minimum threshold levels.
16360         Fixes #336336.
16361
16362 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16363
16364         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16365         (gst_type_find_element_handle_event),
16366         (gst_type_find_element_send_cached_events),
16367         (gst_type_find_element_change_state):
16368         * plugins/elements/gsttypefindelement.h:
16369           When typefinding is done in push mode, we should cache
16370           events we receive during typefinding instead of just
16371           dropping them (e.g. newsegment, custom events from
16372           dvdreadsrc etc.) and then send them out once we've
16373           determined the type of the stream (and decodebin
16374           has had a chance to plug in a decoder/demuxer).
16375           
16376 2006-03-27  Wim Taymans  <wim@fluendo.com>
16377
16378         * docs/design/part-qos.txt:
16379         First QoS ideas.
16380
16381 2006-03-27  Wim Taymans  <wim@fluendo.com>
16382
16383         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16384
16385         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16386         (gst_base_src_send_event), (gst_base_src_change_state):
16387         Handle element seek correctly when we are streaming.
16388         Fixes #326998.
16389
16390 2006-03-24  Michael Smith  <msmith@fluendo.com>
16391
16392         * docs/faq/gst-uninstalled:
16393           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16394           allow you to correctly run intalled applications built against old 
16395           core, using plugins that require updated core (e.g. running
16396           installed totem against a full uninstalled gstreamer stack)
16397
16398 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16399
16400         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16401         more debug details
16402
16403 2006-03-24  Wim Taymans  <wim@fluendo.com>
16404
16405         * docs/gst/gstreamer-sections.txt:
16406         Rearrange the order of the methods so that related methods
16407         are grouped together in sections.
16408
16409 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16410
16411         * gst/gstelement.c:
16412           Little clarification in the docs
16413
16414 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16415
16416         * docs/README:
16417         formatting fix
16418         * plugins/elements/gstidentity.c:
16419         * plugins/elements/gstqueue.c:
16420         * plugins/elements/gsttee.c:
16421         * plugins/elements/gsttypefindelement.c:
16422         GST_ELEMENT_DETAILS formatting
16423
16424 2006-03-24  Wim Taymans  <wim@fluendo.com>
16425
16426         * libs/gst/base/gstbasesink.h:
16427         Only add fields, not insert or we break ABI.
16428
16429 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16430
16431         * win32/common/libgstbase.def:
16432         * win32/common/libgstreamer.def:
16433           Update, add recently added functions.
16434
16435 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16436
16437         * docs/gst/gstreamer-sections.txt:
16438         * gst/gstutils.c: (gst_pad_query_peer_position),
16439         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16440         * gst/gstutils.h:
16441           API: add some new utility functions:
16442            - gst_pad_query_peer_position()
16443            - gst_pad_query_peer_duration()
16444            - gst_pad_query_peer_convert()
16445           
16446 2006-03-23  Wim Taymans  <wim@fluendo.com>
16447
16448         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16449         (gst_base_sink_init), (gst_base_sink_finalize),
16450         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16451         (gst_base_sink_set_property), (gst_base_sink_get_property),
16452         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16453         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16454         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16455         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16456         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16457         (gst_base_sink_preroll_object), (gst_base_sink_event),
16458         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16459         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16460         (gst_base_sink_query), (gst_base_sink_change_state):
16461         Decouple max-lateness and the fact that QoS messages are generated
16462         with a new property (qos).
16463         added API: GstBaseSink::async_play()
16464         Add vmethod so subclasses can be notified of ASYNC playing
16465         state changes.
16466         Collect timestamp start and stop to report better current
16467         position in EOS/PLAYING/PAUSED/READY/NULL.
16468         Refactor QoS/frame dropping and other measurements.
16469         API: GstBaseSrc::qos
16470         Fixes #326311
16471
16472         * libs/gst/base/gstbasesink.h:
16473         Added Private struct.
16474         API: gst_base_sink_set_qos_enabled()
16475         API: gst_base_sink_is_qos_enabled()
16476
16477 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16478
16479         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16480           If compiling against GLib-2.8 or newer, try to read the
16481           registry file using GMappedFile first before falling back
16482           to fopen() + fread() (#332151).
16483
16484 2006-03-22  Wim Taymans  <wim@fluendo.com>
16485
16486         * gst/gstinfo.c: (gst_debug_set_active),
16487         (gst_debug_category_set_threshold):
16488         Disable debugging unless explicitly activated.
16489         Fixes #335480.
16490
16491 2006-03-22  Wim Taymans  <wim@fluendo.com>
16492
16493         * gst/gstelement.c: (gst_element_set_locked_state),
16494         (gst_element_dispose):
16495         Cleanup the error case.
16496
16497         * gst/gstobject.c: (gst_object_dispose):
16498         print a critical when some object was disposed with
16499         a parent, also revive the object since it might
16500         crash the parent.
16501
16502 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16503
16504         * tools/gst-launch.1.in:
16505           Fix another typo.
16506
16507 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16508
16509         * configure.ac:
16510         * tests/check/Makefile.am:
16511           disable some tests when we don't have a registry
16512         * tests/check/gst/gstutils.c: (gst_utils_suite):
16513           don't build the part that needs parsing
16514
16515 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16516
16517         * gst/Makefile.am
16518         * tests/examples/Makefile.am:
16519           fix --disable-parse build
16520
16521 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16522
16523         * tools/gst-feedback.1.in:
16524           Fix typo: s/feeback/feedback/ (#133494).
16525
16526 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16527
16528         * tools/Makefile.am:
16529         * tools/gst-launch.1.in:
16530           Add FILES section and correct entry about GST_REGISTRY_PATH
16531           environment variable (#133495; #133494).
16532
16533 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16534
16535         * tools/Makefile.am:
16536         * tools/gst-md5sum.1.in:
16537         * tools/gst-md5sum.c:
16538           Remove gst-md5sum and man page (the md5sink element
16539           required was removed ages ago)
16540
16541 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16542
16543         * gst/gststructure.c: (gst_structure_id_set_value):
16544           Make sure that string fields in structures/taglists
16545           contain valid UTF-8 - we don't want to pass rubbish to
16546           applications because of a buggy plugin (cp. #334167).
16547
16548 2006-03-21  Edward Hervey  <edward@fluendo.com>
16549
16550         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16551         (gst_bin_handle_message_func):
16552         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16553         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16554         (gst_element_set_bus_func):
16555         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16556         * gst/gstminiobject.c: (gst_value_set_mini_object),
16557         (gst_value_take_mini_object):
16558         * gst/gstpad.c: (gst_pad_set_pad_template):
16559         * gst/gstpipeline.c: (gst_pipeline_dispose),
16560         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16561         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16562         (gst_collect_pads_chain):
16563         * libs/gst/net/gstnettimeprovider.c:
16564         (gst_net_time_provider_set_property):
16565         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16566         It's in fact all issues with gst_*object_replace().
16567
16568 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16569
16570         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16571         
16572         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16573         * pkgconfig/gstreamer-check.pc.in:
16574           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16575
16576 2006-03-21  Edward Hervey  <edward@fluendo.com>
16577
16578         * gst/gstbuffer.h:
16579         * gst/gstevent.h:
16580         * gst/gstmessage.h:
16581         gst_[buffer|event|message]_ref() macros are replaced by a static
16582         inline functions because gcc-4.1 will about if the return value
16583         isn't used.
16584         * tests/check/gst/gstevent.c: (event_probe):
16585         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16586
16587 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16588
16589         * gst/gstutils.h:
16590         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16591         the type' case. (Closes: #335195 for now). In the future, when we
16592         depend on GLib 2.10, we could also intern the type name using
16593         g_intern_static_string()
16594
16595 2006-03-20  Wim Taymans  <wim@fluendo.com>
16596
16597         * gst/gstbin.c: (gst_bin_handle_message_func),
16598         (bin_query_max_init), (bin_query_position_fold),
16599         (bin_query_position_done), (gst_bin_query):
16600         Position query should also take max of all streams.
16601
16602 2006-03-20  Wim Taymans  <wim@fluendo.com>
16603
16604         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16605         (gst_fake_src_finalize):
16606         Fix leaks in fakesrc.
16607
16608         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16609         Fix leaks in the testcase.
16610
16611 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16612
16613         * gst/gst_private.h:
16614           add win32 specific import decoration(__declspec(dllimport)) 
16615           for all extern GstDebugCategory * variables
16616         * win32/common/libgstbase.def:
16617         * win32/common/libgstcontroller.def:
16618         * win32/common/libgstreamer.def:
16619           Add some exports, remove empty lines
16620         * win32/common/libgstdataprotocol.def:
16621         * win32/common/libgstdataprotocol.dsp:
16622         * win32/common/libgstnet.def:
16623         * win32/common/libgstnet.dsp:
16624           new project files and exportation files added
16625         
16626 2006-03-19  Wim Taymans  <wim@fluendo.com>
16627
16628         * tests/check/libs/basesrc.c: (eos_event_counter):
16629         Use proper return value for probe.
16630
16631 2006-03-17  Wim Taymans  <wim@fluendo.com>
16632
16633         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16634         (gst_pad_push):
16635         Don't leak buffers, caps and pads on negotiation errors.
16636
16637 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16638
16639         * docs/faq/cvs.xml:
16640         * docs/faq/dependencies.xml:
16641         * docs/faq/developing.xml:
16642         * docs/faq/faq.xml:
16643         * docs/faq/general.xml:
16644         * docs/faq/getting.xml:
16645         * docs/faq/legal.xml:
16646         * docs/faq/troubleshooting.xml:
16647         * docs/faq/using.xml:
16648         Faq review and update.
16649
16650 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16651
16652         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16653         (gst_pad_push):
16654         Don't pound the cpu to pieces by checking get_caps when accept_caps
16655         is called with the same caps as the pad already has.
16656         Use GST_DEBUG_OBJECT when outputting caps change information.
16657
16658 2006-03-15  Wim Taymans  <wim@fluendo.com>
16659
16660         * gst/gstclock.c: (gst_clock_class_init):
16661         Fix docs.
16662
16663 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16664
16665         * gst/gstbuffer.h:
16666         Documentation fix.
16667
16668         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16669         (gst_pad_accept_caps), (gst_pad_configure_sink),
16670         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16671         Make the default acceptcaps behaviour be to check the requested 
16672         caps against the gst_pad_get_caps output. 
16673
16674         Ensure that gst_pad_accept_caps is used to check caps when a pad
16675         doesn't have a setcaps function, so that pads automatically refuse 
16676         caps that they don't allow in their pad template. (Fixes #332986)
16677
16678         When a buffer with attached caps is pushed, ensure that the source 
16679         pad receives those caps even if the element didn't call
16680         gst_pad_set_caps first.
16681
16682 2006-03-15  Wim Taymans  <wim@fluendo.com>
16683
16684         * libs/gst/base/gstadapter.c:
16685         Add some docs.
16686
16687 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16688
16689         * win32/common/libgstbase.def:
16690         * win32/common/libgstcontroller.def:
16691         * win32/common/libgstreamer.def:
16692           Add a whole bunch of missing functions (#334434).
16693
16694 2006-03-14  Wim Taymans  <wim@fluendo.com>
16695
16696         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16697         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16698         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16699         Better debug info when we receive a segment event.
16700         Reorganize a bit so we can pass the get_times() results around.
16701         Use the segment format when calculating the running time.
16702         Don't do QoS is sync is disabled or we have no clock or the
16703         element does not want us to sync to the clock.
16704         Don't drop buffers if QoS is disabled for now.
16705
16706 2006-03-14  Wim Taymans  <wim@fluendo.com>
16707
16708         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16709         Marked the stats property as unimplemented so people don't get
16710         wild ideas.
16711         Add debug message when regression goes wrong.
16712         Added some more docs.
16713
16714 2006-03-14  Wim Taymans  <wim@fluendo.com>
16715
16716         * gst/gstsegment.c: (gst_segment_to_stream_time):
16717         Return correct return type in case of errors.
16718
16719 2006-03-14  Wim Taymans  <wim@fluendo.com>
16720
16721         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16722           Don't segfault on invalid formats.
16723
16724 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16725
16726         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16727           Can't use gst_segment_to_running_time() when the segment
16728           is not in GST_TIME_FORMAT (like with filesink, for example).
16729           Stops flac encoding pipelines from spewing critical warnings
16730           at EOS (#331248).
16731           
16732 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16733
16734         * gst/gstpipeline.c: (gst_pipeline_class_init):
16735           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16736
16737         * plugins/elements/gsttypefindelement.c:
16738         (gst_type_find_element_handle_event):
16739           Don't try to typefind empty streams.
16740
16741 2006-03-14  Wim Taymans  <wim@fluendo.com>
16742
16743         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16744         (gst_base_sink_do_qos):
16745         Separate QoS calculation.
16746         Only drop buffers when lateness is bigger than the 
16747         duration of the buffer.
16748
16749 2006-03-13  Wim Taymans  <wim@fluendo.com>
16750
16751         * gst/gstpipeline.c: (gst_pipeline_set_property),
16752         (gst_pipeline_get_property), (do_pipeline_seek),
16753         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16754         (gst_pipeline_get_delay):
16755         Don't deadlock when reading properties.
16756
16757 2006-03-13  Wim Taymans  <wim@fluendo.com>
16758
16759         * libs/gst/base/gstbasetransform.c:
16760         (gst_base_transform_class_init), (gst_base_transform_init),
16761         (gst_base_transform_sink_event),
16762         (gst_base_transform_sink_eventfunc),
16763         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16764         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16765         (gst_base_transform_set_property),
16766         (gst_base_transform_get_property),
16767         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16768         (gst_base_transform_set_qos_enabled),
16769         (gst_base_transform_is_qos_enabled):
16770         * libs/gst/base/gstbasetransform.h:
16771         Make basetransform virtual method for src events too.
16772         Handle QOS in basetransform.
16773         API: gst_base_transform_update_qos()
16774         API: gst_base_transform_set_qos_enabled()
16775         API: gst_base_transform_is_qos_enabled()
16776
16777 2006-03-13  Wim Taymans  <wim@fluendo.com>
16778
16779         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16780         (gst_base_sink_do_sync):
16781         Small cleanups.
16782         Use QOS debug category.
16783
16784 2006-03-13  Wim Taymans  <wim@fluendo.com>
16785
16786         * plugins/elements/gstqueue.c:
16787         Very small doc update.
16788
16789 2006-03-13  Wim Taymans  <wim@fluendo.com>
16790
16791         * gst/gst_private.h:
16792         * gst/gstinfo.c: (_gst_debug_init):
16793         Added QOS debug category
16794
16795 2006-03-13  Wim Taymans  <wim@fluendo.com>
16796
16797         * docs/gst/gstreamer-sections.txt:
16798         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16799         * gst/gstbin.h:
16800         * gst/gstbus.c: (gst_bus_class_init):
16801         * gst/gstbus.h:
16802         * gst/gstclock.c:
16803         * gst/gstelement.c: (gst_element_set_locked_state):
16804         * gst/gstsegment.c:
16805         Documentation updates.
16806
16807         * gst/gstpipeline.c: (gst_pipeline_get_type),
16808         (gst_pipeline_class_init), (gst_pipeline_init),
16809         (gst_pipeline_dispose), (gst_pipeline_set_property),
16810         (gst_pipeline_get_property), (do_pipeline_seek),
16811         (gst_pipeline_send_event), (gst_pipeline_change_state),
16812         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16813         (gst_pipeline_get_delay):
16814         * gst/gstpipeline.h:
16815         Added methods for setting the delay.
16816         API: gst_pipeline_set_delay()
16817         API: gst_pipeline_get_delay()
16818         Add pipeline debug category
16819         Various cleanups.
16820         Updated docs.
16821         Don't reset stream time when seek failed.
16822
16823 2006-03-13  Wim Taymans  <wim@fluendo.com>
16824
16825         * docs/design/draft-klass.txt:
16826         * docs/design/part-clocks.txt:
16827         * docs/design/part-events.txt:
16828         * docs/design/part-gstbin.txt:
16829         * docs/design/part-gstpipeline.txt:
16830         * docs/design/part-messages.txt:
16831         * docs/design/part-negotiation.txt:
16832         * docs/design/part-overview.txt:
16833         * docs/design/part-preroll.txt:
16834         * docs/design/part-seeking.txt:
16835         * docs/design/part-states.txt:
16836         * docs/design/part-streams.txt:
16837         Documentation updates.
16838
16839 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16840
16841         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16842         us to leak strings...
16843
16844 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16845
16846         * libs/gst/net/gstnettimeprovider.c:
16847           fix docs
16848         * win32/common/config.h:
16849           update
16850
16851 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16852
16853         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16854
16855         * configure.ac:
16856           Don't check for libgnomeui (leftover from old examples
16857           that aren't built or disted any longer) (#334303).
16858           
16859 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16860
16861         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16862         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16863           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16864           there's no space left on the device.
16865
16866 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16867
16868         * gst/gstclock.h:
16869           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16870           to cast the input to GstClockTime before comparing with
16871           another GstClockTime value.
16872
16873 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16874
16875         * configure.ac:
16876           back to trunk
16877
16878 === release 0.10.4 ===
16879
16880 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16881
16882         * configure.ac:
16883           releasing 0.10.4, "Light"
16884
16885 2006-03-10  Michael Smith  <msmith@fluendo.com>
16886
16887         * libs/gst/dataprotocol/dataprotocol.c:
16888           Fix docs for dataprocotol to not get the return types completely
16889           wrong for a few functions.
16890
16891 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16892
16893         * docs/gst/gstreamer-sections.txt:
16894         * gst/gstpipeline.c: (gst_pipeline_class_init),
16895         (gst_pipeline_init), (gst_pipeline_set_property),
16896         (gst_pipeline_get_property), (gst_pipeline_change_state),
16897         (gst_pipeline_set_auto_flush_bus),
16898         (gst_pipeline_get_auto_flush_bus):
16899         * gst/gstpipeline.h:
16900           Add new API: gst_pipeline_set_auto_flush_bus() and
16901           gst_pipeline_get_auto_flush_bus() to disable automatic
16902           flushing of the pipeline's GstBus when going from READY
16903           to NULL state (#332045).
16904
16905 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16906
16907         * docs/gst/gstreamer-sections.txt:
16908         * gst/gsturi.c: (gst_uri_has_protocol):
16909         * gst/gsturi.h:
16910            Add new API: gst_uri_has_protocol() (#333779).
16911
16912 2006-03-09  Wim Taymans  <wim@fluendo.com>
16913
16914         * gst/gstclock.c: (gst_clock_entry_new),
16915         (gst_clock_id_compare_func), (gst_clock_id_wait),
16916         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16917         (gst_clock_init), (gst_clock_get_internal_time),
16918         (gst_clock_set_master), (do_linear_regression),
16919         (gst_clock_add_observation), (gst_clock_set_property):
16920         * gst/gstclock.h:
16921         Review docs.
16922         Small cleanups.
16923         Fix a possible segfault when the window-size is made smaller.
16924         Calculate jitter before performing the clock wait. Ideally
16925         the clock implementation should calculate jitter but we need
16926         API breakage for that.
16927
16928         * gst/gstsystemclock.c: (gst_system_clock_init):
16929         Docs review.
16930         
16931         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16932         Remove leftover else
16933
16934         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16935         (gst_systemclock_suite):
16936         Added check to test GST_CLOCK_DIFF.
16937
16938 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16939
16940         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16941         (gst_type_find_helper_get_range):
16942           If we are provided with the size, we should implement
16943           GstTypeFind::get_length, so that typefind functions who
16944           want to can actually peek at the middle of a file.
16945
16946 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16947
16948         * docs/manual/advanced-dataaccess.xml:
16949           Add some very very basic error checking.
16950
16951         * docs/pwg/appendix-checklist.xml:
16952           Some updates to the list of things to check when writing an element.
16953
16954 2006-03-08  Wim Taymans  <wim@fluendo.com>
16955
16956         * docs/design/part-element-transform.txt:
16957         Added some docs about the design of tranform elements.
16958
16959         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16960         (gst_base_src_loop), (gst_base_src_change_state):
16961         Mark buffers with the DISCONT flag.
16962
16963 2006-03-08  Michael Smith  <msmith@fluendo.com>
16964
16965         * gst/gstregistry.h:
16966         * gst/gstregistryxml.c: (gst_registry_save),
16967         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16968         (gst_registry_xml_save_pad_template),
16969         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16970         (gst_registry_xml_write_cache):
16971           Rewrite registry-saving to avoid race conditions and check for
16972           failed writes.
16973
16974 2006-03-08  Wim Taymans  <wim@fluendo.com>
16975
16976         * libs/gst/base/gstbasetransform.c:
16977         (gst_base_transform_transform_caps),
16978         (gst_base_transform_transform_size),
16979         (gst_base_transform_prepare_output_buffer),
16980         (gst_base_transform_get_unit_size),
16981         (gst_base_transform_buffer_alloc),
16982         (gst_base_transform_handle_buffer),
16983         (gst_base_transform_change_state):
16984         Cleanups, separate normal flow from errors, add sensible
16985         DEBUG lines.
16986         Don't try to renegotiate when allocating an output buffer.
16987         Also copy DISCONT buffer flag when copying a buffer.
16988         Reset the transform after we finish streaming, not during.
16989
16990 2006-03-08  Wim Taymans  <wim@fluendo.com>
16991
16992         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16993         Use last buffer timestamp in qos message.
16994
16995 2006-03-07  Wim Taymans  <wim@fluendo.com>
16996
16997         Patch by: Christophe Fergeau
16998
16999         * docs/pwg/advanced-tagging.xml:
17000         * docs/pwg/building-pads.xml:
17001           fixes #333416
17002
17003 2006-03-07  Wim Taymans  <wim@fluendo.com>
17004
17005         * docs/libs/gstreamer-libs-sections.txt:
17006         Added basesink new methods.
17007
17008         * gst/gstevent.c:
17009         * gst/gstevent.h:
17010         Docs updates. Flesh out the QoS docs.
17011
17012         * libs/gst/base/gstadapter.c:
17013         Small doc clarification about ownership and flushing.
17014
17015         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
17016         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
17017         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
17018         (gst_base_sink_get_property), (gst_base_sink_do_sync):
17019         * libs/gst/base/gstbasesink.h:
17020         API additions: 
17021         Added new methods to allow subclass to control max-lateness 
17022         and sync.
17023         Generate very basic QoS events based on last sync observation.
17024         Updated docs, fix typo, added some QoS blurb.
17025
17026         * libs/gst/base/gstbasesrc.c:
17027         Remove obsolete _get_state() calls from docs.
17028
17029 2006-03-07  Wim Taymans  <wim@fluendo.com>
17030
17031         * docs/libs/gstreamer-libs-sections.txt:
17032         * libs/gst/base/gstbasetransform.h:
17033         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
17034         Fix docs for GstBaseSrc.
17035
17036 2006-03-07  Wim Taymans  <wim@fluendo.com>
17037
17038         * docs/gst/gstreamer-sections.txt:
17039         * gst/gstbuffer.h:
17040         * gst/gstvalue.c:
17041         * libs/gst/base/gstbasetransform.h:
17042         Small documentation fixes.
17043
17044 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
17045
17046         * gst/gstvalue.c:
17047           Document thread-unsafety of gst_value_register_foo_func()
17048           when used at the same time as gst_value_foo() (#322628).
17049
17050 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
17051
17052         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
17053         (gst_push_src_check_get_range):
17054           Push sources don't support pull mode by default.
17055
17056 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
17057
17058         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17059         (gst_base_src_init), (gst_base_src_pad_check_get_range),
17060         (gst_base_src_default_check_get_range):
17061         * libs/gst/base/gstbasesrc.h:
17062           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
17063           provide default implementation, and rename
17064           gst_base_src_check_get_range() to
17065           gst_base_src_pad_check_get_range() for clarity.
17066
17067 2006-03-06  Wim Taymans  <wim@fluendo.com>
17068
17069         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17070         Make property overridable.
17071
17072 2006-03-06  Wim Taymans  <wim@fluendo.com>
17073
17074         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17075         (gst_base_sink_init), (gst_base_sink_set_property),
17076         (gst_base_sink_get_property), (gst_base_sink_do_sync):
17077         * libs/gst/base/gstbasesink.h:
17078         API addition: Make max-lateness a property.
17079
17080 2006-03-06  Wim Taymans  <wim@fluendo.com>
17081
17082         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17083         (gst_base_sink_do_sync), (gst_base_sink_render_object):
17084         Don't ever draw a frame that is >10ms late.
17085
17086 2006-03-06  Michael Smith  <msmith@fluendo.com>
17087
17088         * gst/gstmessage.c: (_gst_message_copy):
17089           When copying a message, set the parent_refcount of the enclosed
17090           structure to point at the copy, not the original message.
17091
17092 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
17093
17094         Patch by: Christophe Fergeau
17095
17096         * gst/gstutils.h:
17097           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17098           usable in c++ code (#333417)
17099
17100 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17101
17102         * gst/gstclock.h:
17103           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17104
17105 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
17106
17107         * libs/gst/base/gstbasetransform.c:
17108         (gst_base_transform_transform_caps):
17109           Make sure caps are writable before passing them to
17110           gst_caps_append().
17111
17112 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17113
17114         * gst/gsterror.h:
17115           Fix some minor docs errors.
17116
17117 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17118
17119           Patch by: Ross Burton <ross at burtonini dot com>
17120
17121         * gst/gsterror.c: (_gst_resource_errors_init):
17122         * gst/gsterror.h:
17123           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17124
17125 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17126
17127         * gst/gst.c:
17128         Add a check and output a g_warning when GStreamer is built
17129         against GLib 2.6 but running against 2.8 or higher, and vice 
17130         versa. (Closes: #323542)
17131
17132 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17133
17134         * gst/parse/parse.l:
17135           Commit patch for parse_launch syntax from #331255. Removes 
17136           support for quoted strings and mimetypes when writing filtered 
17137           caps. See the bug report for more details - I'm pretty sure this
17138           obscure feature is not in use by _anyone_ anywhere.
17139
17140           With this simple change, the size of the gstreamer.so here 
17141           drops from 2193KB to 1565KB.
17142
17143 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17144
17145         * plugins/elements/gsttypefindelement.h:
17146         * plugins/elements/gsttypefindelement.c:
17147         (gst_type_find_element_src_event), (start_typefinding),
17148         (stop_typefinding), (gst_type_find_element_handle_event),
17149         (gst_type_find_element_chain),
17150         (gst_type_find_element_chain_do_typefinding):
17151           Use gst_type_find_helper_for_buffer() for chain-based
17152           typefinding.
17153
17154 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17155
17156         * plugins/elements/gsttypefindelement.c:
17157         (gst_type_find_element_class_init),
17158         (gst_type_find_element_set_property),
17159         (gst_type_find_element_get_property):
17160           Deprecate "maximum" property (not only was it only taken into
17161           account for typefinding in push-mode anyway, it also was never
17162           actually possible to set it in the first place because the
17163           property was registered with the numeric property ID for the
17164           "minimum" property). Register "maximum" property correctly,
17165           for the sake of future copy'n'pasters. Remove some cruft
17166           from property get/set functions.
17167
17168 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17169
17170         * plugins/elements/gsttypefindelement.c:
17171         (gst_type_find_element_activate):
17172           Use gst_type_find_helper_get_range() here, so we
17173           can honour the "minimum" property and also emit
17174           the signal with the correct probability of the found caps.
17175
17176 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
17177
17178         * docs/libs/gstreamer-libs-sections.txt:
17179         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17180         (helper_find_suggest), (gst_type_find_helper_get_range),
17181         (gst_type_find_helper):
17182         * libs/gst/base/gsttypefindhelper.h:
17183           New API: gst_type_find_helper_get_range() (#333042).
17184
17185 2006-03-02  Michael Smith  <msmith@fluendo.com>
17186
17187         * gst/gstregistryxml.c: (load_feature):
17188           Asserting on a failure to read part of the registry is Not Cool.
17189           Just log a warning and return NULL (which is already handled)
17190
17191 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
17192
17193         * win32/common/libgstbase.def:
17194           added export of gst_type_find_helper_for_buffer
17195         * win32/common/libgstbase.def:
17196           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17197           gst_ghost_pad_get_target
17198
17199 2006-02-28  Wim Taymans  <wim@fluendo.com>
17200
17201         * docs/design/draft-klass.txt:
17202         We use Filter now.
17203         Added Connector to mark elements that are only used to
17204         allow pipeline connections.
17205         Moved Debug to extra feature since most of them are 
17206         functionally something else.
17207
17208 2006-02-28  Wim Taymans  <wim@fluendo.com>
17209
17210         * docs/design/draft-klass.txt:
17211         Some updates and clarifications.
17212
17213 2006-02-28  Wim Taymans  <wim@fluendo.com>
17214
17215         * docs/design/draft-klass.txt:
17216         Proposal for klass field values.
17217
17218         * docs/design/part-streams.txt:
17219         Start of a doc describing stream anatomy.
17220
17221 2006-02-28  Wim Taymans  <wim@fluendo.com>
17222
17223         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17224         Help the compiler a bit with type registration.
17225         Use existing forward cod path instead of duplicating it when 
17226         handling a message.
17227         
17228         * gst/gstbus.c: (gst_bus_get_type):
17229         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17230         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17231         * gst/gstclock.c: (gst_clock_get_type):
17232         * gst/gstelement.c: (gst_element_get_type),
17233         * gst/gstelementfactory.c: (gst_element_factory_get_type):
17234         * gst/gstindexfactory.c: (gst_index_factory_get_type):
17235         * gst/gstminiobject.c: (gst_mini_object_get_type):
17236         * gst/gstpad.c: (gst_pad_get_type):
17237         * gst/gstsegment.c: (gst_segment_get_type):
17238         * gst/gststructure.c: (gst_structure_get_type):
17239         * gst/gstsystemclock.c: (gst_system_clock_get_type):
17240         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17241         * gst/gstvalue.c:
17242         Help compiler with type registration.
17243
17244         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17245         Small doc update.
17246
17247 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17248
17249         * plugins/elements/gsttypefindelement.c:
17250         (gst_type_find_element_handle_event):
17251           When we get an EOS event and have not found a type yet
17252           (most likely because we had not yet accumulated
17253           TYPE_FIND_MIN_SIZE of data yet), try to determine the
17254           type given the data we have so far. Fixes typefinding
17255           for very short streams again, most notably quicktime
17256           redirections as used on Apple's trailer site (#331701).
17257
17258 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17259
17260         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17261         (gst_type_find_helper):
17262           Try typefinding factories with the highest rank first.
17263
17264 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17265
17266         * docs/libs/gstreamer-libs-docs.sgml:
17267         * docs/libs/gstreamer-libs-sections.txt:
17268         * libs/gst/base/gsttypefindhelper.c:
17269           Add section for typefind helper and add documentation
17270           for the old and the new function.
17271
17272 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17273
17274         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17275         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17276         (gst_type_find_helper_for_buffer):
17277         * libs/gst/base/gsttypefindhelper.h:
17278           New API: gst_type_find_helper_for_buffer() (#332723).
17279           
17280 2006-02-27  Michael Smith  <msmith@fluendo.com>
17281
17282         Patch by: Loïc Minier
17283
17284         * configure.ac:
17285         * docs/Makefile.am:
17286         * docs/slides/Makefile.am:
17287           prevent CVS directories getting disted.
17288
17289 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17290
17291         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17292           Use the REFCOUNTING category for caps refcounting.
17293           
17294 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17295
17296         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17297           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17298
17299 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17300
17301         * plugins/elements/gsttypefindelement.c:
17302         (gst_type_find_element_activate):
17303           Use gst_pad_check_pull_range() before _activate_pull()
17304           to avoid unnecessary open/close (see #331690).
17305
17306 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17307
17308         * gst/gstutils.c:
17309           Docs enhancement: make it crystal clear what the
17310           gst_pad_add_*_probe() callbacks should look like.
17311
17312 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17313
17314         * libs/gst/base/gstbasesrc.c:
17315           Document how applications can stop recording from
17316           live sources (see #330996).
17317
17318 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17319
17320         * tests/check/Makefile.am:
17321         * tests/check/libs/basesrc.c: (eos_event_counter),
17322         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17323         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17324         (gst_basesrc_suite), (main):
17325           ... and add some tests for the base source EOS stuff.
17326
17327 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17328
17329         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17330           Test case originally showed the problem fixed below,
17331           but was then amended. Add checks back at the place
17332           where they used to be.
17333
17334 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17335
17336         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17337         (gst_base_src_init), (gst_base_src_loop),
17338         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17339         (gst_base_src_change_state):
17340         * libs/gst/base/gstbasesrc.h:
17341           Don't unconditionally send EOS when going from PAUSED to
17342           READY state, esp. make sure we don't send two EOS events
17343           in some cases (e.g. one when reaching EOS and one when
17344           going from PAUSED to READY). Also, we don't want to send
17345           EOS events when operating in pull mode. However, we do
17346           want to send an EOS event when shutting down a live
17347           source explicitly, for example (fixes #330996).
17348           
17349 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17350
17351         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17352           Update src->read_position after a seek when not using mmap.
17353           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17354
17355 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17356
17357         * gst/Makefile.am:
17358         * gst/gstparse.h:
17359         * gst/gstutils.c:
17360         * gst/gstutils.h:
17361         Make things work with --disable-parse as they do with 
17362         --disable-load-save - the symbols involved disappear, but the
17363         header is still installed and GST_DISABLE_PARSE is included via
17364         gstconfig.h
17365
17366 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17367
17368         * libs/gst/base/gstbasetransform.c:
17369         (gst_base_transform_change_state): Fix a stupid bug. I was 
17370         sure I compiled that.
17371
17372 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17373
17374         * gst/gstpad.c: (gst_pad_set_blocked_async):
17375         * gst/gstutils.c: (gst_pad_add_data_probe),
17376         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17377         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17378         (gst_pad_remove_buffer_probe): Make those function act on the
17379         ghostpad target when it's a ghostpad. (Closes #331727)
17380
17381 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17382
17383         * libs/gst/base/gstbasetransform.c:
17384         (gst_base_transform_change_state): Make basetransform reusable.
17385         (Closes #331898)
17386
17387 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17388
17389         * docs/random/release:
17390         Move the current documentation of how to do a release to the top
17391         of the file.
17392
17393         * gst/gstbin.c: (gst_bin_class_init),
17394         (gst_bin_handle_message_func):
17395         Allow multiple state-recalculation threads. (Closes #328873)
17396
17397 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17398
17399         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17400         * gst/gstpad.c: (gst_pad_set_event_function),
17401         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17402         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17403         2 strings. You can't use the STR_NULL macro on that.
17404
17405 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17406
17407         * gst/gstpad.c: (gst_pad_set_event_function),
17408         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17409         (gst_pad_set_getcaps_function)
17410         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17411           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17412           So now, we can use --gst-debug-level=5 on Windows
17413         * win32/common/libgstcontroller.def:
17414           Added export of gst_controller_init
17415         * win32/vs6/libgstcontroller.dsp:
17416           Fixed Release post build configuration
17417
17418 2006-02-17  Wim Taymans  <wim@fluendo.com>
17419
17420         * tests/check/gst/gstquery.c: (GST_START_TEST):
17421         Added another check.
17422
17423 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17424
17425         * plugins/elements/gsttypefindelement.c: (find_peek):
17426           We can do peeks at non-zero offsets, as long as they
17427           fall within the buffer we have.
17428
17429 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17430
17431         * tests/check/Makefile.am:
17432         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17433         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17434         (parse_suite), (main):
17435           Add testsuite for parse launch syntax
17436
17437 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17438
17439         * plugins/elements/gsttypefindelement.c:
17440         (gst_type_find_element_chain):
17441           When typefinding is unsuccessful in the chain function, don't
17442           error out immediately. Only error out with NO_CAPS_FOUND if
17443           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17444           otherwise simply wait for more data so we can try typefinding
17445           again with more data later. Also, don't attempt to typefind
17446           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17447           this should improve typefinding from network sources where the
17448           size of the first buffer can be somewhat random.
17449
17450 2006-02-14  Wim Taymans  <wim@fluendo.com>
17451
17452         * docs/gst/gstreamer-sections.txt:
17453         * gst/gstpadtemplate.c:
17454         * gst/gstpadtemplate.h:
17455         Fix padtemplate docs, fixes #328805.
17456
17457 2006-02-14  Wim Taymans  <wim@fluendo.com>
17458
17459         * tools/gst-launch.c: (main):
17460         NO_PREROLL is not an ERROR so don't send confusing messages
17461         to the user.
17462
17463 2006-02-14  Wim Taymans  <wim@fluendo.com>
17464
17465         Patch by: Torsten Schoenfeld
17466
17467         * gst/gstregistry.c: (gst_registry_get_default),
17468         (_gst_registry_cleanup):
17469         Protect default registry with lock and ref/sink it.
17470         Fixes #324818
17471
17472 2006-02-14  Wim Taymans  <wim@fluendo.com>
17473
17474         * gst/gstbuffer.c:
17475         * gst/gstquery.c: (gst_query_list_add_format),
17476         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17477         (gst_query_parse_formats_nth):
17478         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17479         Docs fixes.
17480
17481 2006-02-14  Wim Taymans  <wim@fluendo.com>
17482
17483         * docs/gst/gstreamer-sections.txt:
17484         Reworked query docs.
17485
17486         * gst/gstquery.c: (gst_query_new_formats),
17487         (gst_query_list_add_format), (gst_query_set_formats),
17488         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17489         (gst_query_parse_formats_nth):
17490         * gst/gstquery.h:
17491         Flesh out formats query, added some new methods.
17492         Fix part of #324398.
17493
17494         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17495         Added query creation tests.
17496
17497 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17498
17499         * gst/gstpad.c: (fixate_value):
17500         Add a default fixation for fraction lists.
17501
17502 2006-02-13  Wim Taymans  <wim@fluendo.com>
17503
17504         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17505         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17506         (gst_task_join):
17507         * gst/gsttask.h:
17508         Detect and warn for obvious deadlocks. fixes #320340
17509         Fix error case where lock was not released.
17510
17511         * tests/check/Makefile.am:
17512         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17513         (task_func), (gst_element_suite), (main):
17514         Add task check.
17515
17516 2006-02-13  Wim Taymans  <wim@fluendo.com>
17517
17518         * docs/gst/gstreamer-sections.txt:
17519         * gst/gstbus.c:
17520         Add new functions to docs.
17521
17522 2006-02-13  Wim Taymans  <wim@fluendo.com>
17523
17524         * docs/design/part-TODO.txt:
17525         Updated TODO list, basesrc supports seeking to non-bytes
17526         formats.
17527
17528         * docs/design/part-element-sink.txt:
17529         Update docs.
17530
17531         * gst/gstbin.c: (bin_replace_message),
17532         (gst_bin_handle_message_func):
17533         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17534         * gst/gstevent.c: (gst_event_finalize):
17535         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17536         (gst_pad_send_event):
17537         Use shiny new _TYPE_NAME macros.
17538
17539         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17540         Move debug statement up.
17541
17542         * gst/gstelement.c: (gst_element_set_locked_state):
17543         Add some debugging.
17544
17545 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17546
17547         * docs/gst/gstreamer-sections.txt:
17548         * gst/gstmessage.h:
17549         * gst/gstquery.h:
17550           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17551           macros (#330906). Also, document the already existing
17552           GST_QUERY_TYPE macro.
17553
17554 2006-02-13  Wim Taymans  <wim@fluendo.com>
17555
17556         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17557         (event_probe), (GST_START_TEST):
17558         Only events up to the pipeline EOS are counted, there are
17559         some more when going to NULL currently which we don't care
17560         about for now.
17561
17562 2006-02-13  Wim Taymans  <wim@fluendo.com>
17563
17564         * gst/gstpad.c: (gst_pad_send_event):
17565         Correctly check flushing and emit probes. fixes #330125
17566
17567 2006-02-10  Andy Wingo  <wingo@pobox.com>
17568
17569         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17570         structure.
17571         (gst_bus_init): Cache the location of the private data in the
17572         instance structure.
17573         (gst_bus_enable_sync_message_emission) 
17574         (gst_bus_disable_sync_message_emission): Implement new public
17575         functions.
17576         (gst_bus_post): Emit the sync-message signal if the user asked for
17577         it. Fixes #330684.
17578
17579         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17580         location of the bus-private structure.
17581         (gst_bus_enable_sync_message_emission)
17582         (gst_bus_disable_sync_message_emission): API addition
17583
17584 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17585
17586         Patch by: Vincent Torri
17587
17588         * docs/pwg/building-boiler.xml:
17589         PWG patch from #326800
17590
17591 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17592
17593         * configure.ac:
17594         * docs/Makefile.am:
17595         * docs/design/Makefile.am:
17596           Dist design docs.
17597
17598 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17599
17600         * configure.ac:
17601           back to CVS
17602
17603 === release 0.10.3 ===
17604
17605 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17606
17607         * configure.ac:
17608           releasing 0.10.3, "Like a virgin"
17609
17610 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17611
17612         * configure.ac:
17613           2nd prerelease of 0.10.3
17614           Bump libtool versioning.
17615
17616 2006-02-07  Andy Wingo  <wingo@pobox.com>
17617
17618         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17619         update last_stop if we're in TIME format and the timestamp is
17620         valid.
17621
17622         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17623         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17624         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17625         If we get a new newsegment with a different format, adapt
17626         accordingly.
17627
17628         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17629         of 0. Not a problem, really.
17630
17631         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17632         warn if sync=true.
17633
17634 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17635
17636         * configure.ac:
17637           Prelease of 0.10.3
17638
17639 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17640
17641         * win32/vs7:
17642           project files updated to the default vs7 configuration
17643         * win32/common/libgstbase.def:
17644         * win32/common/libgstreamer.def:
17645           added new symbols,
17646           removed empty lines,
17647           sorted all exported symbols alphabetically
17648         * win32/common/dirent.c:
17649         * win32/common/dirent.h:
17650         * win32/common/gchar.h:
17651           use windows line end.
17652           
17653 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17654
17655         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17656           Send EOS event when stopping.
17657
17658 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17659
17660         * docs/README:
17661           Tell folks what to do if the plugin-foobar.xml file
17662           hasn't been generated for a newly-added plugin.
17663
17664 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17665
17666         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17667         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17668         (gst_collect_pads_start), (gst_collect_pads_stop),
17669         (gst_collect_pads_event): Collectpads now holds a reference
17670         to the GstPad that was added. Indeed we don't want to look
17671         at pads that might just go away with no warning...
17672
17673 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17674
17675         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17676         (gst_collect_pads_start), (gst_collect_pads_stop),
17677         (gst_collect_pads_event), (gst_collect_pads_chain):
17678         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17679         Mark Nauwelaerts's patch on bug #328491.
17680
17681 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17682
17683         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17684         (gst_utils_suite):
17685           Add some simple tests for gst_parse_bin_from_description() and
17686           gst_bin_find_unconnected_pad() (#329069).
17687
17688 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17689
17690         * tools/gst-launch.c: (event_loop), (main):
17691           Catch errors during preroll (#320084).
17692
17693 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17694
17695         * plugins/elements/gsttypefindelement.c:
17696         (gst_type_find_element_activate):
17697           Post TYPE_NOT_FOUND error message when typefinding
17698           is unsuccessful in the activate function as well.
17699
17700 2006-02-02  Wim Taymans  <wim@fluendo.com>
17701
17702         * docs/design/part-element-sink.txt:
17703         Updated doc.
17704
17705 2006-02-02  Wim Taymans  <wim@fluendo.com>
17706
17707         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17708         (gst_base_sink_render_object),
17709         (gst_base_sink_queue_object_unlocked):
17710         Only keep track of prerollable items when we are 
17711         prerolling.
17712         Before rendering after preroll, always check if we
17713         have queued items.
17714         Added some more debugging.
17715
17716 2006-02-02  Wim Taymans  <wim@fluendo.com>
17717
17718         * gst/gstelement.c: (gst_element_continue_state),
17719         (gst_element_set_state_func), (gst_element_change_state):
17720         Fixed #326576, been running this for quite some time with
17721         no regressions at all.
17722
17723 2006-02-02  Wim Taymans  <wim@fluendo.com>
17724
17725         * common/gst.supp:
17726         Added more suppressions
17727
17728 2006-02-02  Wim Taymans  <wim@fluendo.com>
17729
17730         * docs/design/part-element-sink.txt:
17731         Updated document.
17732
17733         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17734         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17735         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17736         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17737         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17738         (gst_base_sink_preroll_object),
17739         (gst_base_sink_queue_object_unlocked),
17740         (gst_base_sink_queue_object), (gst_base_sink_event),
17741         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17742         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17743         (gst_base_sink_get_position), (gst_base_sink_change_state):
17744         * libs/gst/base/gstbasesink.h:
17745         Totally refactored matching the design doc.
17746         Use two segments, one to clip incomming buffers and another to
17747         perform sync.
17748         Handle queueing correctly, bypass the queue when playing.
17749         Make EOS cancelable.
17750         Handle errors correctly when operating in pull based mode.
17751
17752         * tests/check/elements/fakesink.c: (GST_START_TEST),
17753         (fakesink_suite):
17754         Added new check for sinks.
17755
17756 2006-02-02  Wim Taymans  <wim@fluendo.com>
17757
17758         * gst/gstsegment.c: (gst_segment_clip):
17759         No reason to refuse to clip when start == -1
17760
17761 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17762
17763         * docs/README:
17764         * docs/manual/intro-basics.xml:
17765         * docs/manual/intro-preface.xml:
17766         * docs/manual/manual.xml:
17767         * docs/pwg/advanced-dparams.xml:
17768         * docs/pwg/intro-basics.xml:
17769         * docs/pwg/intro-preface.xml:
17770         * docs/pwg/pwg.xml:
17771           describe dparams (controller) for plugins
17772           unify docs a little more
17773
17774 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17775
17776         * docs/gst/gstreamer-sections.txt:
17777         * gst/gstutils.c: (element_find_unconnected_pad),
17778         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17779         * gst/gstutils.h:
17780           Add new API: gst_parse_bin_from_description() and
17781           gst_bin_find_unconnected_pad() (#329069).
17782
17783 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17784
17785         * docs/manual/README:
17786           uncover a nasty detail of the docs build
17787
17788 2006-01-31  Wim Taymans  <wim@fluendo.com>
17789
17790         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17791         Don't cache duration messages if we're not going to use or
17792         free them.
17793
17794 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17795
17796         * docs/manual/advanced-dparams.xml:
17797         * docs/pwg/advanced-dparams.xml:
17798           more dparam docs
17799         * gst/gstindex.c:
17800           fix docs
17801         * libs/gst/controller/lib.c: (gst_controller_init):
17802           init just once
17803
17804 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17805
17806         * gst/gstelement.c: (gst_element_message_full):
17807           also show file/line/func if no additional debug was given
17808
17809 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17810         
17811         * win32/vs7/grammar.vcproj:
17812           activate copy of autogenerated files for Release mode
17813
17814 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17815         
17816         * win32/common/libgstreamer.def:
17817           export gst_value_compare
17818
17819 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17820
17821         * plugins/elements/Makefile.am:
17822         * plugins/elements/gstelements.c:
17823         * plugins/elements/gstfdsink.c: (_do_init),
17824         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17825         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17826         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17827         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17828         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17829         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17830         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17831         * plugins/elements/gstfdsink.h:
17832         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17833
17834 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17835
17836         * docs/manual/advanced-dparams.xml:
17837           describe controller
17838         * docs/manual/advanced-position.xml:
17839         * docs/manual/basics-init.xml:
17840         * docs/manual/manual.xml:
17841         * docs/manual/titlepage.xml:
17842         * docs/pwg/pwg.xml:
17843         * docs/pwg/titlepage.xml:
17844           cleanup xml (more to come)
17845         * libs/gst/controller/gstcontroller.c:
17846           fix typo
17847
17848 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17849         
17850         * win32/vs6/grammar.dsp:
17851           add autogen of gstmarshal.c,h for Release mode
17852                 
17853 2006-01-30  Wim Taymans  <wim@fluendo.com>
17854
17855         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17856         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17857         (gst_base_sink_handle_object), (gst_base_sink_event),
17858         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17859         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17860         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17861         (gst_base_sink_deactivate), (gst_base_sink_activate),
17862         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17863         (gst_base_sink_query), (gst_base_sink_change_state):
17864         Basesink cleanups, remove some old code.
17865         Handle the case where a subclass can preroll in the render
17866         method (mostly audiosinks).
17867         Handle more events.
17868         Remove some locks around variables that are now protected
17869         with the PREROLL_LOCK (clock_id, flushing, ..).
17870         Optimize position query some more, do correct locking.
17871         Remove old code to push queue in state change, this is not
17872         needed anymore since preroll blocks on all prerollable items 
17873         now.
17874         Almost implemented as described in design doc.
17875
17876 2006-01-30  Wim Taymans  <wim@fluendo.com>
17877
17878         * tests/check/gst/gstbin.c: (GST_START_TEST):
17879         Wait for refcount to settle down before checking.
17880
17881 2006-01-30  Wim Taymans  <wim@fluendo.com>
17882
17883         * docs/design/part-element-sink.txt:
17884         Pseudo code overview of desired sink behaviour regarding
17885         preroll.
17886
17887 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17888         * win32/vs6/grammar.dsp:
17889           fix some bugs in Release mode for autogenerated files
17890                 
17891 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17892         * win32/common/libgstbase.def:
17893         * win32/common/libgstreamer.def:
17894           export some new symbols: gst_base_src_set_format,
17895           gst_iterator_next, gst_structure_set_valist
17896
17897 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17898
17899         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17900         Set pad functions unconditionally. Fixes #329105.
17901
17902 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17903         * win32/vs8:
17904           add vs8 project files created by Sergey Scobich
17905
17906 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17907
17908         * gst/gstutils.c: (gst_element_unlink_pads):
17909         Don't leak pad references.
17910
17911         * tests/check/elements/fakesink.c: (GST_START_TEST):
17912         * tests/check/generic/sinks.c: (GST_START_TEST):
17913         * tests/check/generic/states.c: (GST_START_TEST):
17914         * tests/check/gst/gstbin.c: (GST_START_TEST):
17915         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17916         * tests/check/gst/gstelement.c: (GST_START_TEST):
17917         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17918         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17919         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17920         Fix a bunch of leaks. Make generic/sinks.c
17921         use a bit less cpu by slowing the buffer rate
17922         between fakesrc and fakesink.
17923         
17924 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17925         * gst/gstcaps.c:
17926         * gst/gstelement.c: (gst_element_send_event):
17927         * gst/gstevent.c:
17928         * gst/gstinfo.c:
17929         * gst/gstiterator.c:
17930         * gst/gstiterator.h:
17931         * gst/gstpad.c: (gst_pad_send_event):
17932         * gst/gststructure.c:
17933         * gst/gsturi.c:
17934         * gst/gstutils.c:
17935         * gst/gstvalue.c:
17936         * libs/gst/base/gstadapter.c:
17937           doc fixes, to link to function, just write gst_cool_function(), don't
17938           prefix with '#'
17939
17940 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17941
17942         * plugins/elements/gsttee.c: (gst_tee_do_push),
17943         (gst_tee_handle_buffer):
17944         Always prefer an actual return value from a src
17945         pad in place of NOT_LINKED. This means we return
17946         WRONG_STATE when all src pads are WRONG_STATE
17947         instead of NOT_LINKED.
17948
17949         Lock when replacing the last message to prevent
17950         racing with the get_property method.
17951
17952         Add debug output
17953
17954 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17955
17956         * tests/check/Makefile.am:
17957         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17958         (main):
17959         Add a very simple check that should have caught the memleak I fixed
17960         last night (if not for the slice allocator hiding it)
17961
17962 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17963
17964         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17965         (gst_bin_remove_func), (gst_bin_handle_message_func),
17966         (bin_query_duration_fold), (bin_query_generic_fold):
17967         Clean up references to the clock provider when disposed or when
17968         handling a clock-lost message from it.
17969
17970         Unref sinks when performing a query via gst_iterator_fold, as the
17971         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17972
17973         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17974         (gst_clock_set_master):
17975         Drop our reference to the master clock, if any, when we are disposed.
17976
17977         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17978         Chain up in dispose. 
17979
17980 2006-01-26  Wim Taymans  <wim@fluendo.com>
17981
17982         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17983         Add some debugging.
17984
17985 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17986
17987         * plugins/elements/gsttee.c: (gst_tee_do_push),
17988         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17989         handles pad being NOT_LINKED or in WRONG_STATE.
17990
17991 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17992
17993         * win32/MANIFEST:
17994           more updating
17995
17996 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17997
17998         * win32/MANIFEST:
17999           remove obsolete entry
18000
18001 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
18002
18003         * docs/gst/gstreamer-sections.txt:
18004         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
18005         (gst_bin_iterate_sources), (gst_bin_send_event):
18006         * gst/gstbin.h:
18007         * gst/gstelement.c: (gst_element_send_event):
18008         * gst/gstevent.c:
18009         * gst/gstpad.c: (gst_pad_send_event):
18010           added code for downstream events, reviewed docs in gstevent.c
18011
18012 2006-01-25  Julien MOUTTE  <julien@moutte.net>
18013
18014         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18015         We only query position using the clock in the playing state.
18016         Query peer in the other cases.
18017         * win32/common/config.h: Updates.
18018
18019 2006-01-24  Wim Taymans  <wim@fluendo.com>
18020
18021         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18022         A clock entry that is scheduled for the exact time of the
18023         clock is still in time.
18024
18025         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18026         (gst_base_sink_do_sync):
18027         Add some more debug info.
18028
18029 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
18030
18031         * win32/vs7:
18032           Add new vs7 project files and solution.
18033
18034 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
18035
18036         * win32/vs7:
18037           all files removed as they were out-dated.
18038
18039 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18040
18041         * docs/random/release:
18042           update notes
18043         * gst/gstbin.c: (gst_bin_init):
18044         * gst/gstbus.c: (gst_bus_new):
18045         * gst/gstbus.h:
18046         * gst/gstpipeline.c: (gst_pipeline_init):
18047           use gst_bus_new(), improve logging, fix docs
18048         * win32/common/config.h:
18049           update for cvs build
18050
18051 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18052
18053         * autogen.sh:
18054           up required version of automake to 1.7
18055
18056 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
18057
18058         * win32/common/libgstreamer.def:
18059           export gst_buffer_is_metadata_writable
18060
18061 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
18062
18063         * docs/gst/gstreamer-sections.txt:
18064         * gst/gstevent.h:
18065           Add gst_event_replace() (#327001)
18066
18067 2006-01-20  Wim Taymans  <wim@fluendo.com>
18068
18069         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18070         Make it actually compile too..
18071
18072 2006-01-20  Wim Taymans  <wim@fluendo.com>
18073
18074         * gst/gstcaps.c:
18075         Clarify behaviour of _is_equal() when passing NULL parameters.
18076
18077         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18078         (gst_pad_set_caps):
18079         Cleanups. Don't unref NULL caps.
18080         When setting the same caps, protect caps of the pad with
18081         proper lock.
18082         Use full functionality of _is_equal() when comparing caps.
18083
18084 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18085
18086         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18087         Don't loop infinitely if there are no buffers to present. Partially
18088         fixes #327197, but collectpads is just broken for reusing elements
18089         to do multiple encodes atm.
18090
18091 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18092
18093         * tools/gst-inspect.c: (print_element_features):
18094         * tools/gst-xmlinspect.c: (main):
18095         URL_HANDLER is not a plugin feature we can search for in
18096         the registry.
18097
18098 2006-01-19  Edward Hervey  <edward@fluendo.com>
18099
18100         * gst/gstelement.c: (gst_element_pads_activate): 
18101         When activating, do src pads first, then sink pads.
18102         When de-activating, do sink pads first, then src pads.
18103
18104 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18105
18106         * docs/gst/gstreamer-sections.txt:
18107         Add gst_index_add_associationv to the docs
18108
18109 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18110
18111         * gst/gstevent.c:
18112           Fix docs typo
18113
18114         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18115         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18116           Do some refactoring. Doesn't actually change functionality,
18117           but makes landing the DRAIN event easier later.
18118
18119 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
18120
18121         * docs/pwg/advanced-scheduling.xml:
18122           Update from 0.9.x to 0.10 API and make example a bit
18123           clearer.
18124
18125 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18126
18127         * docs/gst/gstreamer-sections.txt:
18128         Add gst_buffer_(is|make)_metadata_writable methods.
18129
18130 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18131
18132         * docs/design/part-sparsestreams.txt:
18133         Update sparse streams doc, hopefully for greater clarity
18134
18135 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
18136
18137         * docs/design/part-events.txt:
18138         Remove mention of FILLER events.
18139         Add DRAIN event.
18140
18141         * docs/design/part-sparsestreams.txt:
18142         Write some things about using NEWSEGMENT to keep sparse streams
18143         flowing.
18144
18145 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18146
18147         * gst/gstbin.c: (gst_bin_dispose):
18148           Guard gst_object_unref call against a NULL object (dispose
18149           can theoretically be called multiple times).
18150           
18151 2006-01-18  Wim Taymans  <wim@fluendo.com>
18152
18153         * gst/gstbin.c: (gst_bin_element_set_state):
18154         * gst/gstclock.c: (gst_clock_id_wait):
18155         Added some more debug info.
18156
18157         * libs/gst/base/gstadapter.c:
18158         Added more docs.
18159
18160         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18161         (gst_base_sink_do_sync), (gst_base_sink_chain):
18162         Added some comments.
18163
18164 2006-01-18  Wim Taymans  <wim@fluendo.com>
18165
18166         * tests/check/Makefile.am:
18167         * tests/check/elements/fakesink.c: (chain_async_buffer),
18168         (chain_async), (chain_async_return), (GST_START_TEST),
18169         (fakesink_suite), (main):
18170         Added fakesink test that checks prerolling and clipping
18171         behaviour.
18172
18173         * tests/check/gst/gstutils.c: (GST_START_TEST):
18174         Make check run faster so that buildbots don't timeout.
18175
18176 2006-01-18  Wim Taymans  <wim@fluendo.com>
18177
18178         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18179         (gst_base_sink_do_sync):
18180         Some cleanups.
18181         When the sink finishes blocking on the preroll buffer, it can
18182         immediatly render it instead of rendering when the next buffer
18183         arrives.
18184
18185 2006-01-18  Wim Taymans  <wim@fluendo.com>
18186
18187         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18188         (gst_base_sink_get_property), (gst_base_sink_do_sync),
18189         (gst_base_sink_chain):
18190         Small cleanups.
18191         GST_ELEMENT_CLOCK and sync are protected with LOCK.
18192         Don't store _last_stop if the buffer is dropped.
18193
18194 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18195
18196         * plugins/elements/gsttypefindelement.c:
18197         (gst_type_find_element_class_init):
18198           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18199           object method handler that sets the caps on the pad and we want
18200           that to happen before we emit the signal (fixes e.g. feeding a
18201           plain text file to decodebin).
18202
18203 2006-01-18  Christian Schaller  <Christian@fluendo.com>
18204
18205         * gst/gstplugin.c: Add MPL and Proprietary as license options
18206
18207 2006-01-18  Andy Wingo  <wingo@pobox.com>
18208
18209         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18210         symbol was exported before, it appears this was just an oversight.
18211         Fixes #168703.
18212         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18213
18214         * gst/gstindex.c (gst_index_add_associationv): Changed int in
18215         prototype to gint. OK since this prototype was not in the header.
18216
18217 2006-01-17  Andy Wingo  <wingo@pobox.com>
18218
18219         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18220         registry while we remove plugins.
18221
18222         * tools/gst-inspect.c (print_element_info): Don't unref the
18223         factory arg, that should be the responsibility of whatever code
18224         received the ref. Fixes a double-free when called from
18225         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18226         (main): Unref the factory if we have one.
18227         (print_element_list): No change -- relies on the
18228         plugin_feature_list_free to free the list of features.
18229
18230 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
18231
18232         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18233         (gst_buffer_make_metadata_writable):
18234         * gst/gstbuffer.h:
18235         * libs/gst/base/gstbasetransform.c:
18236         (gst_base_transform_prepare_output_buf):
18237         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18238         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18239           Replace gst_buffer_(make|is)_metadata_writable patch now
18240           that the release is out.
18241
18242 2006-01-17  Andy Wingo  <wingo@pobox.com>
18243
18244         * gst/gstregistry.c: Reflow design comment. Update so as to speak
18245         in the present tense without reference to versions.
18246
18247         * gst/gstregistry.c (gst_registry_add_plugin)
18248         (gst_registry_remove_plugin, gst_registry_remove_feature)
18249         (gst_registry_find_feature, gst_registry_get_feature_list)
18250         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18251         (gst_registry_lookup, gst_registry_scan_path)
18252         (_gst_registry_remove_cache_plugins)
18253         (gst_registry_get_feature_list_by_plugin): Add argument
18254         validation.
18255
18256 === release 0.10.2 ===
18257
18258 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
18259
18260         * configure.ac:
18261           releasing 0.10.2, "If man is five"
18262
18263 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18264
18265         * gst/gstbuffer.c:
18266         * gst/gstbuffer.h:
18267         * libs/gst/base/gstbasetransform.c:
18268         (gst_base_transform_prepare_output_buf):
18269         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18270         * tests/check/gst/gstbuffer.c: (gst_test_suite):
18271           Back out patch until after the release.
18272
18273 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18274
18275         * gst/gstminiobject.c:
18276           Spelling fix in docs.
18277         * ChangeLog - remove conflict indicator
18278
18279 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18280
18281         Reviewed By: Andy Wingo
18282
18283         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18284         (gst_buffer_make_metadata_writable):
18285         * gst/gstbuffer.h:
18286           Add gst_buffer_(is|make)_metadata_writable as analogues of
18287           gst_buffer_(is|make)_writable.
18288
18289         * libs/gst/base/gstbasetransform.c:
18290         (gst_base_transform_prepare_output_buf):
18291         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18292           Use name gst_buffer_(is|make)_metadata_writable functions.
18293
18294         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18295           Test gst_buffer_(is|make)_metadata_writable
18296         
18297           (Closes: #324162)
18298
18299 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18300
18301         * docs/manual/Makefile.am:
18302           don't do parallel make
18303         * configure.ac:
18304           AC_SUBST HOST_CPU
18305         * win32/common/config.h.in:
18306           add generations for HOST_CPU and GST_MAJORMINOR
18307         * win32/common/config.h:
18308           commit generated result
18309
18310 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18311
18312         * docs/manual/appendix-integration.xml:
18313           Update GNOME integration section to use gst_init_get_option_group()
18314           instead of the old popt stuff (#322911). Also, GNOME applications
18315           should  now use gconf*sink and gconf*src instead of the old gconf
18316           helper lib we had.
18317
18318 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18319
18320
18321         * docs/gst/gstreamer-docs.sgml:
18322         * docs/gst/gstreamer-sections.txt:
18323         * docs/libs/gstreamer-libs-sections.txt:
18324           add new API entries to the docs
18325         * libs/gst/controller/Makefile.am:
18326         * libs/gst/controller/gstcontroller.c:
18327         * libs/gst/controller/gstcontroller.h:
18328         * libs/gst/controller/gstcontrollerprivate.h:
18329         * libs/gst/controller/gsthelper.c:
18330         * libs/gst/controller/gstinterpolation.c:
18331           move private structs to private header
18332         * po/README:
18333           gstreamer-0.7 -> gstreamer-0.10
18334         * tests/check/libs/struct_i386.h:
18335           remove private structs
18336
18337 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18338
18339         * plugins/indexers/Makefile.am:
18340           Fixes as part of #317048
18341
18342 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18343
18344         * plugins/indexers/Makefile.am:
18345           fix #316086 - compilation when mmap is missing
18346
18347 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18348
18349         * libs/gst/base/gstbasesink.c:
18350           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18351           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18352         * win32/common/config.h:
18353           added some defines GST_MAJORMINOR and HOST_CPU
18354         * win32/common/libgstbase.def:
18355         * win32/common/libgstreamer.def:
18356           added some exported functions.
18357
18358 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18359
18360         * libs/gst/controller/gstcontroller.c:
18361         (gst_controlled_property_set_interpolation_mode),
18362         (gst_controlled_property_new):
18363         * libs/gst/controller/gstcontroller.h:
18364         * libs/gst/controller/gstinterpolation.c:
18365         (interpolate_none_get_string_value_array):
18366           make G_TYPE_STRING controlable
18367
18368 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18369
18370         * tools/README:
18371         * tools/gst-feedback.1.in:
18372         * tools/gst-inspect.1.in:
18373         * tools/gst-launch.1.in:
18374         * tools/gst-md5sum.1.in:
18375         * tools/gst-typefind.1.in:
18376         * tools/gst-xmlinspect.1.in:
18377         * tools/gst-xmllaunch.1.in:
18378           cleanup man-pages, remove reference to gst-register, document env-vars
18379
18380 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18381
18382         * gst/gstbuffer.c: (gst_buffer_span):
18383           gst_buffer_span should copy the timestamp of the first buffer
18384           if they were both originally overlapping subbuffers of the 
18385           same parent, using the same logic as the 'slow copy' case.
18386
18387 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18388
18389         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18390           Need to awaken ALL the pads when we pop a buffer, otherwise
18391           collectpads only works when there is 2 input streams.
18392
18393 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18394
18395         * docs/random/ensonic/media-device-daemon.txt:
18396           more ideas (dbus)
18397         * gst/gstbuffer.c:
18398           fix doc example, add clarification
18399         * tools/gst-launch.1.in:
18400           add initial info about GST_PLUGIN_PATH, needs more work
18401
18402 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18403
18404         * docs/manual/basics-bins.xml:
18405         * docs/manual/basics-elements.xml:
18406         * docs/manual/intro-basics.xml:
18407           Some more minor docs additions and updates.
18408
18409 2006-01-11  Wim Taymans  <wim@fluendo.com>
18410
18411         * docs/manual/basics-bins.xml:
18412         * docs/manual/basics-elements.xml:
18413         Some small fixes as pointed out by Ser-ver on IRC.
18414
18415 2006-01-10  Edward Hervey  <edward@fluendo.com>
18416
18417         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18418         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18419         the single-segment mode.
18420
18421 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18422
18423         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18424
18425         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18426         (gst_base_src_perform_seek), (gst_base_src_send_event),
18427         (gst_base_src_set_property), (gst_base_src_get_property),
18428         (gst_base_src_loop), (gst_base_src_start),
18429         (gst_base_src_activate_push):
18430         * libs/gst/base/gstbasesrc.h:
18431           Name (private) union; makes Sun's Forte compiler happy (#324900).
18432
18433 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18434
18435         * README:
18436           gst-register is gone.
18437
18438 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18439
18440         * gst/gstvalue.c: (_gst_value_initialize):
18441           make the G_TYPE_DATE instantiation work if debug is disabled
18442
18443 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18444
18445         * gst/gstmessage.c: (gst_message_parse_tag),
18446         (gst_message_parse_error), (gst_message_parse_warning):
18447           Don't crash when return location for error/warning debug
18448           string is NULL; add fact that return locations can be
18449           NULL to docs where appropriate.
18450
18451 2006-01-05  Wim Taymans  <wim@fluendo.com>
18452
18453         * gst/gstplugin.c: (gst_plugin_load_file):
18454         Replace strdup by g_strdup.
18455
18456 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18457
18458         * docs/pwg/advanced-types.xml:
18459           fix doc borkage
18460
18461 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18462
18463         submitted by: Abel Cheung
18464
18465         * po/LINGUAS:
18466         * po/zh_TW.po:
18467           Added Chinese (traditional) translation
18468
18469 2006-01-04  Wim Taymans  <wim@fluendo.com>
18470
18471         * docs/manual/basics-pads.xml:
18472         * docs/plugins/Makefile.am:
18473         * docs/plugins/gstreamer-plugins-docs.sgml:
18474         * docs/plugins/gstreamer-plugins-sections.txt:
18475         * docs/pwg/advanced-clock.xml:
18476         * docs/pwg/advanced-scheduling.xml:
18477         * docs/pwg/advanced-types.xml:
18478         * plugins/elements/gstfdsink.c:
18479         * plugins/elements/gstfdsrc.c:
18480         * plugins/elements/gstfdsrc.h:
18481         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18482         * plugins/elements/gstidentity.h:
18483         * plugins/elements/gstqueue.h:
18484         * plugins/elements/gsttee.c:
18485         * plugins/elements/gsttee.h:
18486         * plugins/elements/gsttypefindelement.c:
18487         (gst_type_find_element_class_init):
18488         * plugins/elements/gsttypefindelement.h:
18489         Small updates to various docs.
18490         Added core plugins to docs.
18491
18492 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18493
18494         * common/gst.supp:
18495           add a suppression for liboil's uninitialized variable
18496
18497 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18498
18499         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18500
18501         * gst/gstutils.h:
18502           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18503           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18504           compiler switch is being used (#325429).
18505
18506 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18507
18508         * gst/gstbin.c: (gst_bin_query):
18509           Disable duration query caching in bins until it gets
18510           fixed (see #324807).
18511
18512 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18513
18514         * tools/gst-inspect.c: (print_element_properties_info):
18515           Handle properties of POINTER and BOXED type.
18516
18517 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18518
18519         * gst/gst.c: (init_post):
18520           Init tags stuff and some other things before loading
18521           any static plugins (there may be other static plugins
18522           than just the GStreamer ones, and they may want to
18523           register their own tags or formats or whatever, and
18524           preferably without segfaulting).
18525
18526         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18527           Print at least a warning in the debug logs if we drop a
18528           query just because we don't know how to adjust the value
18529           in the particular format.
18530
18531 2005-12-24  David Schleef  <ds@schleef.org>
18532
18533         * tools/gstreamer-completion:
18534           Replacement for gst-complete written in sh and sed.  Only
18535           completes names of features, but that's 90% of what I want
18536           it for.  Properties are not available in registry.xml.  (Maybe
18537           they should be...)
18538
18539 === release 0.10.1 ===
18540
18541 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18542
18543         * configure.ac:
18544           releasing 0.10.1, "Nollaig chridheil"
18545
18546 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18547
18548         * docs/faq/cvs.xml:
18549           Add missing quote, should be make ERROR_CFLAGS="".
18550
18551 2005-12-20  Wim Taymans  <wim@fluendo.com>
18552
18553         * docs/design/part-trickmodes.txt:
18554         More documentation on trickmodes.
18555
18556 2005-12-20  Edward Hervey  <edward@fluendo.com>
18557
18558         * gst/gstcaps.c: (gst_static_caps_get_type):
18559         * gst/gstcaps.h:
18560           API addition: GST_TYPE_STATIC_CAPS
18561         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18562         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18563         * gst/gstpadtemplate.h:
18564           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18565         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18566         bindings.
18567
18568 2005-12-18  Wim Taymans  <wim@fluendo.com>
18569
18570         * libs/gst/base/gstadapter.c:
18571         * libs/gst/base/gstadapter.h:
18572         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18573         (gst_base_sink_get_position):
18574         * libs/gst/base/gstbasesink.h:
18575         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18576         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18577         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18578         (gst_base_src_send_event), (gst_base_src_update_length),
18579         (gst_base_src_get_range), (gst_base_src_loop),
18580         (gst_base_src_start):
18581         * libs/gst/base/gstbasesrc.h:
18582         * libs/gst/base/gstbasetransform.h:
18583         * libs/gst/base/gstcollectpads.h:
18584         * libs/gst/base/gstpushsrc.c:
18585         * libs/gst/base/gstpushsrc.h:
18586         * libs/gst/dataprotocol/dataprotocol.c:
18587         * libs/gst/dataprotocol/dataprotocol.h:
18588         * libs/gst/net/gstnetclientclock.h:
18589         * libs/gst/net/gstnettimeprovider.h:
18590         Documentation updates.
18591
18592 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18593
18594         * docs/manual/basics-helloworld.xml:
18595           Remove superfluous closing bracket in helloworld example.
18596
18597 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18598
18599         * tools/gst-launch.1.in:
18600           Update gst-launch man page; add a section with useful
18601           environment variables. Fixes #323882.
18602
18603 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18604
18605         * gst/gst.c:
18606         * gst/gst_private.h:
18607           change some char* into char[]
18608
18609 2005-12-16  Wim Taymans  <wim@fluendo.com>
18610
18611         * gst/gstregistryxml.c: (load_feature):
18612         Cleanups.
18613         Don't use g_object_unref on GstObjects so that we avoid
18614         leaks on unsafe glibs.
18615
18616 2005-12-16  Wim Taymans  <wim@fluendo.com>
18617
18618         * gst/gstbin.c: (gst_bin_recalc_state):
18619         Small doc updates.
18620
18621 2005-12-16  Wim Taymans  <wim@fluendo.com>
18622
18623         * common/check.mak:
18624         Added make forever target for check.
18625
18626 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18627
18628         * gst/gst.c: (init_post):
18629           make the registry cache file HOST_CPU-dependent
18630
18631 2005-12-16  Andy Wingo  <wingo@pobox.com>
18632
18633         * plugins/elements/gstbufferstore.c
18634         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18635         return value.
18636
18637         * tests/check/gst/gstobject.c
18638         (test_fake_object_name_threaded_unique): Pay attention to
18639         g_list_sort return value.
18640
18641 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18642
18643         * tools/gst-feedback-m.m:
18644           Update for 0.9/0.10 (fixes #323870).
18645
18646 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18647
18648         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18649           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18650           
18651         * tests/check/gst/gstminiobject.c: (my_foo_init),
18652         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18653         (test_value_collection), (gst_mini_object_suite):
18654           Add test to ensure refcounts end up as expected when passing
18655           GstMiniObjects through g_object_get() and g_object_set().
18656
18657 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18658
18659         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18660         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18661         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18662         of collectpads. This version removes a lot of races without
18663         touching API/ABI. Yay !
18664
18665 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18666
18667         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18668           Don't allow activation of a srcpad in pull_range if it has no
18669           getrange function.
18670           Change some debug statements to be a little clearer
18671
18672         * plugins/elements/gsttypefindelement.c:
18673         (gst_type_find_handle_src_query):
18674           Check that we have a peer before executing queries thereupon.
18675
18676         * tests/examples/metadata/read-metadata.c: (message_loop):
18677           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18678           immediately return us any available message with 0 timeout.
18679
18680 2005-12-12  Michael Smith  <msmith@fluendo.com>
18681
18682         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18683           Don't unref factories after calling them.
18684         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18685         * plugins/elements/gsttypefindelement.c:
18686         (gst_type_find_element_chain):
18687           Free lists of factories after using them. Fixing typefinding memory
18688           leaks.
18689
18690 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18691
18692         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18693         (gst_plugin_feature_load):
18694           more meaningful debug output
18695         * configure.ac:
18696         * tests/Makefile.am:
18697         * tests/old/examples/Makefile.am:
18698           make make distcheck happy again
18699
18700 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18701
18702         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18703           Catch the special case where we are operating chain-based,
18704           but the downstream peer pad has no chain function. Emit a
18705           custom error message in this case instead of letting the
18706           core generate one implying that this is some sort of core
18707           bug. It's not, it just means that whatever got plugged
18708           into the pipeline downstream when we announced the type
18709           can only operate pull-based, while our source can only
18710           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18711           Error string has not been marked for translation yet, as
18712           it probably needs some more work first.
18713
18714         (gst_type_find_element_get_best_possibility):
18715           Add helper function to find the best of all available
18716           found possibilities that qualify given the min. threshold.
18717
18718         (gst_type_find_element_handle_event):
18719           Fix the case where we get an EOS while still in TYPEFIND
18720           mode (we want to chose the best of all possible types,
18721           not just the first type that happens to be in our unsorted
18722           list of possible types).
18723
18724         (gst_type_find_element_chain):
18725           Make sure we return GST_FLOW_ERROR when we errored out
18726           in stop_typefinding(); also, don't just find the best of
18727           all found type entries and then use the last examined
18728           type entry, but actually use the best entry.
18729
18730 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18731
18732         * tests/examples/typefind/typefind.c: (type_found):
18733         * tests/examples/xml/runxml.c: (xml_loaded):
18734           More gcc4 fixes and a mem leak fix.
18735
18736 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18737
18738         * tests/examples/xml/createxml.c: (object_saved):
18739           gcc 4 fixes
18740
18741 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18742
18743         * tests/Makefile.am:
18744           enable the examples even more
18745
18746 2005-12-12  Andy Wingo  <wingo@pobox.com>
18747
18748         * libs/gst/net/gstnettimeprovider.c
18749         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18750         (gst_net_time_provider_set_property)
18751         (gst_net_time_provider_get_property):
18752         API addition: Export "active" as a GObject property.
18753         (gst_net_time_provider_thread): Only respond to time queries if
18754         the time provider is active.
18755
18756         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18757         NetTimeProvider, preserving binary compat.
18758
18759 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18760
18761         * tests/examples/controller/audio-example.c: (main):
18762         * tests/examples/launch/Makefile.am:
18763           convert comments again
18764
18765 2005-12-12  Wim Taymans  <wim@fluendo.com>
18766
18767         * libs/gst/base/gstpushsrc.c:
18768         Fix typo.
18769
18770 2005-12-12  Wim Taymans  <wim@fluendo.com>
18771
18772         * docs/libs/gstreamer-libs-sections.txt:
18773         Added new symbol to docs.
18774
18775         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18776         (gst_base_src_init), (gst_base_src_set_format),
18777         (gst_base_src_default_query), (gst_base_src_query),
18778         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18779         (gst_base_src_perform_seek), (gst_base_src_send_event),
18780         (gst_base_src_default_event), (gst_base_src_event_handler),
18781         (gst_base_src_set_property), (gst_base_src_get_property),
18782         (gst_base_src_wait), (gst_base_src_do_sync),
18783         (gst_base_src_update_length), (gst_base_src_get_range),
18784         (gst_base_src_check_get_range), (gst_base_src_loop),
18785         (gst_base_src_default_negotiate), (gst_base_src_start),
18786         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18787         (gst_base_src_change_state):
18788         * libs/gst/base/gstbasesrc.h:
18789         Implement seeking to other formats than _BYTES.
18790         Implement more seeking methods correctly.
18791         Doc updates.
18792         Added query vmethod.
18793         Added do_seek vmethod to make life easier for subclasses
18794         when seeking.
18795         API addition: gst_base_src_set_format()
18796
18797 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18798
18799         * tests/examples/Makefile.am:
18800           added that too
18801
18802 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18803
18804         * configure.ac:
18805         * docs/random/ensonic/media-device-daemon.txt:
18806         * tests/examples/controller/.cvsignore:
18807         * tests/examples/controller/Makefile.am:
18808         * tests/examples/controller/audio-example.c: (main):
18809         * tests/examples/helloworld/.cvsignore:
18810         * tests/examples/helloworld/Makefile.am:
18811         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18812         * tests/examples/launch/.cvsignore:
18813         * tests/examples/launch/Makefile.am:
18814         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18815         * tests/examples/metadata/.cvsignore:
18816         * tests/examples/metadata/Makefile.am:
18817         * tests/examples/metadata/read-metadata.c: (message_loop),
18818         (make_pipeline), (print_tag), (main):
18819         * tests/examples/queue/.cvsignore:
18820         * tests/examples/queue/Makefile.am:
18821         * tests/examples/queue/queue.c: (event_loop), (main):
18822         * tests/examples/typefind/.cvsignore:
18823         * tests/examples/typefind/Makefile.am:
18824         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18825         (main):
18826         * tests/examples/xml/.cvsignore:
18827         * tests/examples/xml/Makefile.am:
18828         * tests/examples/xml/createxml.c: (object_saved), (main):
18829         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18830         * tests/old/examples/Makefile.am:
18831         * tests/old/examples/TODO:
18832         * tests/old/examples/controller/.cvsignore:
18833         * tests/old/examples/controller/Makefile.am:
18834         * tests/old/examples/controller/audio-example.c:
18835         * tests/old/examples/helloworld/.cvsignore:
18836         * tests/old/examples/helloworld/Makefile.am:
18837         * tests/old/examples/helloworld/helloworld.c:
18838         * tests/old/examples/launch/.cvsignore:
18839         * tests/old/examples/launch/Makefile.am:
18840         * tests/old/examples/launch/mp3parselaunch.c:
18841         * tests/old/examples/launch/mp3play:
18842         * tests/old/examples/manual/Makefile.am:
18843         * tests/old/examples/metadata/Makefile.am:
18844         * tests/old/examples/metadata/read-metadata.c:
18845         * tests/old/examples/queue/.cvsignore:
18846         * tests/old/examples/queue/Makefile.am:
18847         * tests/old/examples/queue/queue.c:
18848         * tests/old/examples/typefind/.cvsignore:
18849         * tests/old/examples/typefind/Makefile.am:
18850         * tests/old/examples/typefind/typefind.c:
18851         * tests/old/examples/xml/.cvsignore:
18852         * tests/old/examples/xml/Makefile.am:
18853         * tests/old/examples/xml/createxml.c:
18854         * tests/old/examples/xml/runxml.c:
18855           applied some simple fixing to some examples
18856           re-enabled the working examples
18857
18858 2005-12-12  Wim Taymans  <wim@fluendo.com>
18859
18860         * gst/gstsegment.c: (gst_segment_init),
18861         (gst_segment_set_last_stop), (gst_segment_set_seek),
18862         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18863         (gst_segment_to_running_time):
18864         Added more documentation.
18865         Make sure the last_pos value is updated properly.
18866         Make sure to_stream_time and to_running_time don't
18867         operate on wrong values.
18868
18869         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18870         Update check.
18871
18872 2005-12-12  Michael Smith  <msmith@fluendo.com>
18873
18874         * plugins/elements/gsttypefindelement.c: (free_entry),
18875         (gst_type_find_element_chain):
18876           Now that we're not leaking factories, make sure we keep references
18877           to them while we need them.
18878
18879 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18880
18881         * tests/check/gst/struct_i386.h:
18882           ifdef out the XML structs
18883
18884 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18885
18886         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18887           floor is not needed, F is always positive; this obviates the
18888           need for adding -lm when building without libxml
18889
18890 2005-12-12  Wim Taymans  <wim@fluendo.com>
18891
18892         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18893         Take current playback rate into account when reporting
18894         the position.
18895
18896 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18897
18898         * docs/manual/mime-world.fig:
18899           Let's try this again, this time with a file that is
18900           actually in XFig format.
18901
18902 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18903
18904         * docs/manual/mime-world.fig:
18905           Add audioconvert element to diagram so that it
18906           matches the text and the code (fixes #319526).
18907
18908 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18909
18910         * docs/pwg/building-chainfn.xml:
18911         * docs/pwg/building-pads.xml:
18912         * docs/pwg/building-state.xml:
18913         * docs/pwg/other-source.xml:
18914           Update state change stuff for 0.10 (fixes #322969).
18915
18916 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18917
18918         * docs/manual/advanced-dataaccess.xml:
18919         * docs/manual/appendix-checklist.xml:
18920         * docs/manual/appendix-programs.xml:
18921         * docs/manual/basics-pads.xml:
18922         * docs/manual/highlevel-components.xml:
18923         * docs/manual/manual.xml:
18924           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18925           add converters in front of pipelines; remove curly
18926           brackets for threads stuff, they no longer exist; use
18927           GST_TYPE_FRACTION for framerates; update some pieces of
18928           code to 0.10, but there's plenty more to do.
18929
18930         * docs/manual/appendix-porting.xml:
18931           Expand on asynchroneous state changes; s/0.9/0.10/;
18932           mention disappearance of gst_init_get_popt_table()
18933           (fixes #322916).
18934
18935 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18936
18937         * docs/faq/using.xml:
18938           Spider no longer exists, and neither does gst-launch-ext.
18939           Update examples to use decodebin and playbin and put
18940           converters in front of sinks (fixes #323726).
18941
18942 2005-12-09  Michael Smith  <msmith@fluendo.com>
18943
18944         * plugins/elements/gsttypefindelement.c: (find_peek),
18945         (gst_type_find_element_chain):
18946           Fix leaking element factories in typefinding.
18947           Fix problem where we forgot about a probable type on non-seekable
18948           files, and thus later mis-typefound it.
18949
18950 2005-12-09  Michael Smith  <msmith@fluendo.com>
18951
18952         * common/m4/gst-makecontext.m4:
18953         * common/m4/gst-mcsc.m4:
18954         * configure.ac:
18955         * win32/common/config.h:
18956         * win32/common/config.h.in:
18957           Remove makecontext stuff; not used in 0.10 and causes problems on
18958           HPUX according to bug #322441
18959
18960 2005-12-07  Wim Taymans  <wim@fluendo.com>
18961
18962         * tests/check/Makefile.am:
18963         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18964         (main):
18965         * tests/check/libs/struct_i386.h:
18966         Added ABI check for libs
18967
18968 2005-12-07  Wim Taymans  <wim@fluendo.com>
18969
18970         * tests/check/Makefile.am:
18971         And add the struct_i386.h to dist.
18972
18973 2005-12-07  Wim Taymans  <wim@fluendo.com>
18974
18975         * tests/check/Makefile.am:
18976         * tests/check/gst/.cvsignore:
18977         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18978         (main):
18979         * tests/check/gst/struct_i386.h:
18980         Added check for ABI compatibility.
18981
18982 2005-12-07  Wim Taymans  <wim@fluendo.com>
18983
18984         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18985         (gst_fake_src_get_times), (gst_fake_src_create):
18986         Fix broken sync option, fixes #323259
18987
18988 2005-12-07  Wim Taymans  <wim@fluendo.com>
18989
18990         * gst/gstbuffer.c:
18991         Small docs update.
18992
18993         * gst/gstcaps.c: (gst_caps_is_equal):
18994         Don't assert on NULL <--> X. Fixes #323260
18995
18996         * gst/gstminiobject.c: (gst_mini_object_replace):
18997         If we're doing atomic operations, we might just as well use
18998         the proper way to get an atomic pointer.
18999
19000         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
19001         Clean up debugging.
19002
19003 2005-12-07  Michael Smith  <msmith@fluendo.com>
19004
19005         * gst/parse/grammar.y:
19006           Remove handling of { } for threads.
19007
19008 2005-12-06  David Schleef  <ds@schleef.org>
19009
19010         * libs/gst/base/gstbasetransform.c: speling fix.
19011
19012 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19013
19014         * docs/libs/tmpl/gstdataprotocol.sgml:
19015         * docs/random/omega/testing/gstobject.c:
19016         * gst/gst.c:
19017         * gst/gstclock.c:
19018         * gst/gstelement.c:
19019         * gst/gstelementfactory.c:
19020         * gst/gsterror.c:
19021         * gst/gstevent.c:
19022         * gst/gstghostpad.c:
19023         * gst/gstinfo.c:
19024         * gst/gstpadtemplate.c:
19025         * gst/gstregistryxml.c:
19026         * gst/gsttaglist.c:
19027         * gst/gsttagsetter.c:
19028         * gst/gsttypefind.c:
19029         * gst/gstvalue.c:
19030         * libs/gst/base/gstbasesrc.c:
19031         * libs/gst/net/gstnetclientclock.c:
19032         * libs/gst/net/gstnettimeprovider.c:
19033         * plugins/elements/gstfakesrc.c:
19034         * plugins/elements/gstfdsrc.c:
19035         * plugins/elements/gstfilesrc.c:
19036         * plugins/elements/gstidentity.c:
19037         * plugins/elements/gstqueue.c:
19038         * plugins/elements/gsttypefindelement.c:
19039         * plugins/indexers/gstfileindex.c:
19040         * plugins/indexers/gstmemindex.c:
19041         * tests/check/gst/gsttag.c:
19042         * tests/old/examples/cutter/cutter.c:
19043         * tests/old/examples/mixer/mixer.c:
19044         * tests/old/examples/xml/runxml.c: (main):
19045         * tests/old/testsuite/caps/normalisation.c:
19046         * tests/old/testsuite/debug/global.c:
19047         * tests/old/testsuite/parse/parse1.c:
19048         * tools/gst-xmlinspect.c:
19049         * win32/common/dirent.c:
19050           expand tabs
19051
19052 === release 0.10.0 ===
19053
19054 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19055
19056         * configure.ac:
19057           releasing 0.10.0, "Maroilles"
19058
19059 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19060
19061         submitted by: Funda Wang <fundawang@linux.net.cn>
19062
19063         * po/LINGUAS:
19064         * po/zh_CN.po:
19065           added Chinese (Traditional) translation
19066
19067 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19068
19069         * docs/gst/gstreamer-sections.txt:
19070         * docs/libs/tmpl/gstdataprotocol.sgml:
19071         * docs/random/thomasvs/TODO:
19072         * gst/gstutils.c:
19073         * gst/gstutils.h:
19074           fix docs
19075
19076 2005-12-05  Andy Wingo  <wingo@pobox.com>
19077
19078         patch by: Wim Taymans <wim@fluendo.com>
19079
19080         * libs/gst/base/gstbasetransform.c
19081         (gst_base_transform_prepare_output_buf)
19082         (gst_base_transform_buffer_alloc):
19083         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19084         alloc_buffer_and_set_caps.
19085
19086         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19087         set_caps on the source pad.
19088         (gst_pad_alloc_buffer_and_set_caps): New function, does what
19089         alloc_buffer used to do. Fixes #322874.
19090
19091         * docs/gst/gstreamer-sections.txt: 
19092         * docs/design/part-negotiation.txt: 
19093         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19094         changes.
19095
19096 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19097
19098         patch by: Sebastien Moutte
19099
19100         * win32/MANIFEST:
19101         * win32/common/config.h.in:
19102         * win32/vs6/libgstcontroller.dsp:
19103           win32 build fixes
19104
19105 2005-12-05  Wim Taymans  <wim@fluendo.com>
19106
19107         * gst/gstcaps.c: (gst_caps_is_equal):
19108         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19109         (gst_fake_src_create):
19110         Back out previous code changes, leave doc updates, file bugs 
19111         instead. 
19112
19113 2005-12-05  Wim Taymans  <wim@fluendo.com>
19114
19115         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19116         (gst_fake_src_get_times), (gst_fake_src_create):
19117         * plugins/elements/gstfakesrc.h:
19118         Fix broken sync code.
19119
19120 2005-12-05  Wim Taymans  <wim@fluendo.com>
19121
19122         * gst/gstcaps.c: (gst_caps_is_equal):
19123         Comparing NULL against !NULL yields different caps, not a
19124         failure.
19125
19126 2005-12-05  Wim Taymans  <wim@fluendo.com>
19127
19128         * gst/gstpipeline.c:
19129         Fix small typo in docs.
19130
19131 2005-12-05  Andy Wingo  <wingo@pobox.com>
19132
19133         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
19134
19135         * gst/gst.c (init_post): remove hard-coded 0.9 location for
19136         registries/plugins with a MAJORMINOR one.
19137         (plugin_desc): Rename library from gstcoreleements to
19138         staticelements. Fixes #323222.
19139
19140 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
19141
19142         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19143           Change debug category to 'collectpads' from 'collect_pads'
19144           (fixes #323250).
19145
19146 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19147
19148         patch by: Sebastien Moutte
19149
19150         * libs/gst/controller/gstinterpolation.c:
19151           use convert function for uint64/double
19152         * win32/vs6/libgstcontroller.dsp:
19153           link to GLib
19154
19155 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19156
19157         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19158         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19159         * gst/gstutils.h:
19160         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19161           add tests that seem to show that the guint64/gdouble conversions
19162           are correct.
19163
19164 2005-12-02  Wim Taymans  <wim@fluendo.com>
19165
19166         * gst/gstregistry.c: (gst_registry_add_path):
19167         * gst/gstregistry.h:
19168         * gst/gstregistryxml.c:
19169         Fix docs again.
19170
19171 2005-12-02  Wim Taymans  <wim@fluendo.com>
19172
19173         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19174         (gst_util_uint64_scale_int):
19175         Small cleanup.
19176
19177         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19178         Add debug log line.
19179
19180         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19181         Add FIXME.
19182
19183 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19184
19185         * win32/MANIFEST:
19186         * win32/common/config.h:
19187         * win32/vs6/gstreamer.dsw:
19188         * win32/vs6/libgstcoreelements.dsp:
19189         * win32/vs6/libgstelements.dsp:
19190           renamed core elements plugin
19191
19192 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19193
19194         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19195         (get_candidates):
19196           do piece-wise major/minor comparison so 0.9 < 0.10
19197           also allow .exe extensions for tools
19198
19199 2005-12-02  Michael Smith  <msmith@fluendo.com>
19200
19201         * gst/gst.c:
19202           Escape a % to make gtkdoc happier; bug 322958.
19203
19204 === release 0.9.7 ===
19205
19206 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19207
19208         * configure.ac:
19209           releasing 0.9.7, "My Dog Has No Nose"
19210
19211 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19212
19213         * common/gst-xmlinspect.py:
19214         * configure.ac:
19215         * docs/libs/tmpl/gstdataprotocol.sgml:
19216         * docs/random/release:
19217         * po/af.po:
19218         * po/az.po:
19219         * po/bg.po:
19220         * po/ca.po:
19221         * po/cs.po:
19222         * po/de.po:
19223         * po/en_GB.po:
19224         * po/fr.po:
19225         * po/it.po:
19226         * po/nb.po:
19227         * po/nl.po:
19228         * po/ru.po:
19229         * po/sq.po:
19230         * po/sr.po:
19231         * po/sv.po:
19232         * po/tr.po:
19233         * po/uk.po:
19234         * po/vi.po:
19235         * win32/common/config.h:
19236         * win32/common/config.h.in:
19237         * win32/vs6/gst_inspect.dsp:
19238         * win32/vs6/gst_launch.dsp:
19239         * win32/vs6/libgstbase.dsp:
19240         * win32/vs6/libgstelements.dsp:
19241         * win32/vs6/libgstreamer.dsp:
19242         * win32/vs7/GStreamer.vcproj:
19243         * win32/vs7/gst-inspect.vcproj:
19244         * win32/vs7/gst-launch.vcproj:
19245         * win32/vs7/libgstbase.vcproj:
19246           bump GST_MAJORMINOR to 0.10
19247           reset libtool version
19248
19249 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19250
19251         * po/LINGUAS:
19252         * po/bg.po:
19253           Added Bulgarian translation by (Alexander Shopov)
19254
19255 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19256
19257         * tests/check/gst/gstplugin.c:
19258           fix test
19259
19260 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19261
19262         * common/gst-xmlinspect.py:
19263         * common/gtk-doc-plugins.mak:
19264         * configure.ac:
19265         * docs/Makefile.am:
19266         * docs/gst/Makefile.am:
19267         * docs/gst/gstreamer-docs.sgml:
19268         * docs/gst/gstreamer-sections.txt:
19269         * docs/gst/gstreamer.types:
19270         * docs/gst/gstreamer.types.in:
19271         * docs/plugins/Makefile.am:
19272         * docs/plugins/gstreamer-plugins-docs.sgml:
19273         * docs/plugins/gstreamer-plugins-sections.txt:
19274         * docs/plugins/gstreamer-plugins.types:
19275         * docs/plugins/inspect.stamp:
19276         * docs/plugins/inspect/plugin-coreelements.xml:
19277         * docs/plugins/inspect/plugin-coreindexers.xml:
19278         * docs/plugins/scanobj-build.stamp:
19279         * gstreamer.spec.in:
19280         * plugins/elements/Makefile.am:
19281         * plugins/elements/gstelements.c:
19282         * plugins/elements/gstfakesink.c:
19283         * plugins/elements/gstfakesrc.c:
19284         * plugins/elements/gstfilesink.c:
19285         * plugins/elements/gstfilesrc.c:
19286         * plugins/elements/gstqueue.c:
19287         * plugins/indexers/Makefile.am:
19288         * plugins/indexers/gstindexers.c:
19289           document core plugins in a separate document just like all the
19290           others
19291           rename these plugins to something starting with core
19292
19293 2005-12-01  Andy Wingo  <wingo@pobox.com>
19294
19295         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19296         padding here before, but it missed the commit.
19297
19298 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19299
19300         * libs/gst/controller/gstinterpolation.c:
19301           whitespace prices have crashed, we should feel free to use some now
19302           use gst_guint64_to_gdouble
19303
19304 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19305
19306         * libs/gst/controller/gstcontroller.c:
19307         * libs/gst/controller/gsthelper.c:
19308         * libs/gst/controller/gstinterpolation.c:
19309         * libs/gst/controller/lib.c:
19310           wrap config.h include
19311
19312 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19313
19314         * docs/gst/gstreamer-sections.txt:
19315           update docs
19316
19317 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19318
19319         * plugins/elements/gstelements.c:
19320         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19321         (gst_fd_sink__class_init), (gst_fd_sink__init),
19322         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19323         (gst_fd_sink__get_property):
19324         * plugins/elements/gstfdsink.h:
19325         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19326         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19327         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19328         (gst_fd_src_unlock), (gst_fd_src_set_property),
19329         (gst_fd_src_get_property), (gst_fd_src_create),
19330         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19331         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19332         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19333         (gst_fd_src_uri_handler_init):
19334         * plugins/elements/gstfdsrc.h:
19335         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19336           more anal cleanup
19337
19338 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19339
19340         * docs/gst/Makefile.am:
19341         * docs/gst/gstreamer.types.in:
19342         * gst/Makefile.am:
19343           fix the docs build
19344
19345 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19346
19347         * configure.ac:
19348         * gst/Makefile.am:
19349         * gst/gst.c:
19350         * gst/gstplugin.h:
19351         * gst/gstregistry.h:
19352         * tests/benchmarks/complexity.c:
19353         * tests/benchmarks/mass-elements.c:
19354         * tests/check/Makefile.am:
19355         * tools/Makefile.am:
19356         * tools/gst-inspect.c:
19357         * tools/gst-xmlinspect.c:
19358           various fixes to make
19359           --disable-nls --disable-registry --disable-loadsave
19360           --disable-parse --disable-gst-debug
19361           work and get the core .so down to 360444 bytes after stripping
19362
19363 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19364
19365         * Makefile.am:
19366         * configure.ac:
19367           descend into tests
19368         * docs/random/thomasvs/TODO:
19369         * tests/Makefile.am:
19370         * tests/README:
19371           add a README
19372
19373 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19374
19375         * win32/GStreamer.vcproj:
19376         * win32/MANIFEST:
19377         * win32/Makefile:
19378         * win32/Makefile.inspect:
19379         * win32/Makefile.launch:
19380         * win32/Makefile.register:
19381         * win32/README.txt:
19382         * win32/gst-inspect.vcproj:
19383         * win32/gst-launch.vcproj:
19384         * win32/gst-register.vcproj:
19385         * win32/gstelements.vcproj:
19386         * win32/gstgetbits.def:
19387         * win32/gstgetbits.vcproj:
19388         * win32/gstreamer-dbg.def:
19389         * win32/gstreamer.def:
19390         * win32/libgstbase.def:
19391         * win32/libgstbase.vcproj:
19392         * win32/link_oldruntime.c:
19393         * win32/mman.c:
19394         * win32/mman.h:
19395         * win32/mman.inl:
19396         * win32/msvc71.sln:
19397           move even more stuff, win32/ is nice and clean now
19398
19399 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19400
19401         * libs/gst/control/.cvsignore:
19402         * win32/MANIFEST:
19403         * win32/config.h:
19404         * win32/dirent.c:
19405         * win32/dirent.h:
19406         * win32/gstbytestream.def:
19407         * win32/gstbytestream.vcproj:
19408         * win32/gstconfig.h:
19409         * win32/gstenumtypes.c:
19410         * win32/gstenumtypes.h:
19411         * win32/gstoptimalscheduler.vcproj:
19412         * win32/gstversion.h:
19413         * win32/gtchar.h:
19414         * win32/testsuite/bins.vcproj:
19415         * win32/testsuite/bytestream.vcproj:
19416         * win32/testsuite/caps.vcproj:
19417         * win32/testsuite/cleanup.vcproj:
19418         * win32/testsuite/clock.vcproj:
19419         * win32/testsuite/debug.vcproj:
19420         * win32/testsuite/dlopen.vcproj:
19421         * win32/testsuite/dynparams.vcproj:
19422         * win32/testsuite/elements.vcproj:
19423         * win32/testsuite/ghostpads.vcproj:
19424         * win32/testsuite/indexers.vcproj:
19425         * win32/testsuite/negotiation.vcproj:
19426         * win32/testsuite/parse.vcproj:
19427         * win32/testsuite/plugin.vcproj:
19428         * win32/testsuite/refcounting.vcproj:
19429         * win32/testsuite/schedulers.vcproj:
19430         * win32/testsuite/states.vcproj:
19431         * win32/testsuite/tags.vcproj:
19432         * win32/testsuite/threads.vcproj:
19433           remove old win32 stuff that isn't maintained and should be
19434           reorganized
19435
19436 2005-11-30  Andy Wingo  <wingo@pobox.com>
19437
19438         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19439         loading the gst.interfaces python module bork.
19440
19441         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19442         available since GLib 2.2. Fixes #318031.
19443
19444 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19445
19446         * Makefile.am:
19447         * check/.cvsignore:
19448         * check/Makefile.am:
19449         * check/elements/.cvsignore:
19450         * check/elements/fakesrc.c:
19451         * check/elements/fdsrc.c:
19452         * check/elements/identity.c:
19453         * check/generic/.cvsignore:
19454         * check/generic/states.c:
19455         * check/gst-libs/.cvsignore:
19456         * check/gst-libs/controller.c:
19457         * check/gst-libs/gdp.c:
19458         * check/gst/.cvsignore:
19459         * check/gst/capslist.h:
19460         * check/gst/gst.c:
19461         * check/gst/gstbin.c:
19462         * check/gst/gstbuffer.c:
19463         * check/gst/gstbus.c:
19464         * check/gst/gstcaps.c:
19465         * check/gst/gstelement.c:
19466         * check/gst/gstevent.c:
19467         * check/gst/gstghostpad.c:
19468         * check/gst/gstiterator.c:
19469         * check/gst/gstmessage.c:
19470         * check/gst/gstminiobject.c:
19471         * check/gst/gstobject.c:
19472         * check/gst/gstpad.c:
19473         * check/gst/gstpipeline.c:
19474         * check/gst/gstplugin.c:
19475         * check/gst/gstsegment.c:
19476         * check/gst/gststructure.c:
19477         * check/gst/gstsystemclock.c:
19478         * check/gst/gsttag.c:
19479         * check/gst/gstutils.c:
19480         * check/gst/gstvalue.c:
19481         * check/net/.cvsignore:
19482         * check/net/gstnetclientclock.c:
19483         * check/net/gstnettimeprovider.c:
19484         * check/pipelines/.cvsignore:
19485         * check/pipelines/cleanup.c:
19486         * check/pipelines/simple_launch_lines.c:
19487         * check/pipelines/stress.c:
19488         * check/states/.cvsignore:
19489         * check/states/sinks.c:
19490         * configure.ac:
19491         * examples/Makefile.am:
19492         * examples/appreader/.cvsignore:
19493         * examples/appreader/Makefile.am:
19494         * examples/appreader/appreader.c:
19495         * examples/controller/.cvsignore:
19496         * examples/controller/Makefile.am:
19497         * examples/controller/audio-example.c:
19498         * examples/cutter/.cvsignore:
19499         * examples/cutter/Makefile.am:
19500         * examples/cutter/cutter.c:
19501         * examples/cutter/cutter.h:
19502         * examples/events/Makefile.am:
19503         * examples/events/seek.c:
19504         * examples/helloworld/.cvsignore:
19505         * examples/helloworld/Makefile.am:
19506         * examples/helloworld/helloworld.c:
19507         * examples/helloworld2/.cvsignore:
19508         * examples/helloworld2/Makefile.am:
19509         * examples/helloworld2/helloworld2.c:
19510         * examples/launch/.cvsignore:
19511         * examples/launch/Makefile.am:
19512         * examples/launch/mp3parselaunch.c:
19513         * examples/launch/mp3play:
19514         * examples/manual/.cvsignore:
19515         * examples/manual/Makefile.am:
19516         * examples/manual/extract.pl:
19517         * examples/metadata/Makefile.am:
19518         * examples/metadata/read-metadata.c:
19519         * examples/mixer/.cvsignore:
19520         * examples/mixer/Makefile.am:
19521         * examples/mixer/mixer.c:
19522         * examples/mixer/mixer.h:
19523         * examples/pingpong/.cvsignore:
19524         * examples/pingpong/Makefile.am:
19525         * examples/pingpong/pingpong.c:
19526         * examples/plugins/.cvsignore:
19527         * examples/plugins/Makefile.am:
19528         * examples/plugins/example.c:
19529         * examples/plugins/example.h:
19530         * examples/pwg/.cvsignore:
19531         * examples/pwg/Makefile.am:
19532         * examples/pwg/extract.pl:
19533         * examples/queue/.cvsignore:
19534         * examples/queue/Makefile.am:
19535         * examples/queue/queue.c:
19536         * examples/queue2/.cvsignore:
19537         * examples/queue2/Makefile.am:
19538         * examples/queue2/queue2.c:
19539         * examples/queue3/.cvsignore:
19540         * examples/queue3/Makefile.am:
19541         * examples/queue3/queue3.c:
19542         * examples/queue4/.cvsignore:
19543         * examples/queue4/Makefile.am:
19544         * examples/queue4/queue4.c:
19545         * examples/retag/.cvsignore:
19546         * examples/retag/Makefile.am:
19547         * examples/retag/retag.c:
19548         * examples/retag/transcode.c:
19549         * examples/thread/.cvsignore:
19550         * examples/thread/Makefile.am:
19551         * examples/thread/thread.c:
19552         * examples/typefind/.cvsignore:
19553         * examples/typefind/Makefile.am:
19554         * examples/typefind/typefind.c:
19555         * examples/xml/.cvsignore:
19556         * examples/xml/Makefile.am:
19557         * examples/xml/createxml.c:
19558         * examples/xml/runxml.c:
19559         * tests/Makefile.am:
19560         * tests/check/Makefile.am:
19561         * testsuite/.cvsignore:
19562         * testsuite/Makefile.am:
19563         * testsuite/Rules:
19564         * testsuite/caps/.cvsignore:
19565         * testsuite/caps/Makefile.am:
19566         * testsuite/caps/app_fixate.c:
19567         * testsuite/caps/audioscale.c:
19568         * testsuite/caps/caps.c:
19569         * testsuite/caps/caps.h:
19570         * testsuite/caps/caps_strings:
19571         * testsuite/caps/compatibility.c:
19572         * testsuite/caps/deserialize.c:
19573         * testsuite/caps/enumcaps.c:
19574         * testsuite/caps/eratosthenes.c:
19575         * testsuite/caps/filtercaps.c:
19576         * testsuite/caps/fixed.c:
19577         * testsuite/caps/fraction-convert.c:
19578         * testsuite/caps/fraction-multiply-and-zero.c:
19579         * testsuite/caps/intersect2.c:
19580         * testsuite/caps/intersection.c:
19581         * testsuite/caps/normalisation.c:
19582         * testsuite/caps/random.c:
19583         * testsuite/caps/renegotiate.c:
19584         * testsuite/caps/sets.c:
19585         * testsuite/caps/simplify.c:
19586         * testsuite/caps/string-conversions.c:
19587         * testsuite/caps/structure.c:
19588         * testsuite/caps/subtract.c:
19589         * testsuite/caps/union.c:
19590         * testsuite/debug/.cvsignore:
19591         * testsuite/debug/Makefile.am:
19592         * testsuite/debug/category.c:
19593         * testsuite/debug/commandline.c:
19594         * testsuite/debug/global.c:
19595         * testsuite/debug/output.c:
19596         * testsuite/debug/printf_extension.c:
19597         * testsuite/dlopen/.cvsignore:
19598         * testsuite/dlopen/Makefile.am:
19599         * testsuite/dlopen/dlopen_gst.c:
19600         * testsuite/dlopen/loadgst.c:
19601         * testsuite/elements/.cvsignore:
19602         * testsuite/elements/Makefile.am:
19603         * testsuite/elements/gst-inspect-check.in:
19604         * testsuite/elements/struct_i386.h:
19605         * testsuite/elements/struct_size.c:
19606         * testsuite/indexers/.cvsignore:
19607         * testsuite/indexers/Makefile.am:
19608         * testsuite/indexers/cache1.c:
19609         * testsuite/indexers/indexdump.c:
19610         * testsuite/parse/.cvsignore:
19611         * testsuite/parse/Makefile.am:
19612         * testsuite/parse/parse1.c:
19613         * testsuite/parse/parse2.c:
19614         * testsuite/plugin/.cvsignore:
19615         * testsuite/plugin/Makefile.am:
19616         * testsuite/plugin/README:
19617         * testsuite/plugin/dynamic.c:
19618         * testsuite/plugin/linked.c:
19619         * testsuite/plugin/loading.c:
19620         * testsuite/plugin/registry.c:
19621         * testsuite/plugin/static.c:
19622         * testsuite/plugin/static2.c:
19623         * testsuite/plugin/testplugin.c:
19624         * testsuite/plugin/testplugin2.c:
19625         * testsuite/plugin/testplugin2_s.c:
19626         * testsuite/plugin/testplugin_s.c:
19627         * testsuite/refcounting/.cvsignore:
19628         * testsuite/refcounting/Makefile.am:
19629         * testsuite/refcounting/bin.c:
19630         * testsuite/refcounting/element.c:
19631         * testsuite/refcounting/element_pad.c:
19632         * testsuite/refcounting/mainloop.c:
19633         * testsuite/refcounting/mem.c:
19634         * testsuite/refcounting/mem.h:
19635         * testsuite/refcounting/object.c:
19636         * testsuite/refcounting/pad.c:
19637         * testsuite/refcounting/sched.c:
19638         * testsuite/refcounting/thread.c:
19639         * testsuite/states/.cvsignore:
19640         * testsuite/states/Makefile.am:
19641         * testsuite/states/bin.c:
19642         * testsuite/states/locked.c:
19643         * testsuite/states/parent.c:
19644         * testsuite/threads/.cvsignore:
19645         * testsuite/threads/159566.c:
19646         * testsuite/threads/159852.c:
19647         * testsuite/threads/Makefile.am:
19648         * testsuite/threads/queue.c:
19649         * testsuite/threads/signals.c:
19650         * testsuite/threads/staticrec.c:
19651         * testsuite/threads/thread.c:
19652         * testsuite/threads/threadb.c:
19653         * testsuite/threads/threadc.c:
19654         * testsuite/threads/threadd.c:
19655         * testsuite/threads/threade.c:
19656         * testsuite/threads/threadf.c:
19657         * testsuite/threads/threadg.c:
19658         * testsuite/threads/threadh.c:
19659         * testsuite/threads/threadi.c:
19660           move all of these under tests
19661
19662 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19663
19664         * configure.ac:
19665         * tests/Makefile.am:
19666           fix distcheck
19667
19668 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19669
19670         * docs/gst/gstreamer-sections.txt:
19671         * tests/sched/.cvsignore:
19672         * tests/sched/Makefile.am:
19673         * tests/sched/cases/(fs-fs).xml:
19674         * tests/sched/cases/(fs-i-fs).xml:
19675         * tests/sched/cases/(fs-i-i-fs).xml:
19676         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19677         * tests/sched/dynamic-pipeline.c:
19678         * tests/sched/interrupt1.c:
19679         * tests/sched/interrupt2.c:
19680         * tests/sched/interrupt3.c:
19681         * tests/sched/runtestcases:
19682         * tests/sched/runxml.c:
19683         * tests/sched/sched-stress.c:
19684         * tests/sched/sort.c:
19685         * tests/sched/testcases:
19686         * tests/sched/testcases1.tc:
19687         * tests/seeking/.cvsignore:
19688         * tests/seeking/Makefile.am:
19689         * tests/seeking/seeking1.c:
19690         * tests/threadstate/.cvsignore:
19691         * tests/threadstate/Makefile.am:
19692         * tests/threadstate/test1.c:
19693         * tests/threadstate/test2.c:
19694         * tests/threadstate/threadstate1.c:
19695         * tests/threadstate/threadstate2.c:
19696         * tests/threadstate/threadstate3.c:
19697         * tests/threadstate/threadstate4.c:
19698         * tests/threadstate/threadstate5.c:
19699           remove obsolete tests
19700         * configure.ac:
19701         * tests/bench-complexity.scm:
19702         * tests/bench-mass_elements.scm:
19703         * tests/complexity.c:
19704         * tests/complexity.gnuplot:
19705         * tests/instantiate/.cvsignore:
19706         * tests/instantiate/Makefile.am:
19707         * tests/instantiate/caps.c:
19708         * tests/mass_elements.c:
19709         * tests/network-clock-utils.scm:
19710         * tests/network-clock.scm:
19711         * tests/plot-data:
19712         First pass at cleaning up tests/ dir before moving the rest
19713         Combined with CVS surgery
19714
19715 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19716
19717         * po/POTFILES.in:
19718           queue has moved, update
19719
19720 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19721
19722         * docs/gst/gstreamer-sections.txt:
19723           remove double entries from the docs
19724         * gst/gst_private.h:
19725         * gst/gstinfo.c: (_gst_debug_init):
19726           remove the THREAD debug category
19727         * gst/Makefile.am:
19728         * gst/gstqueue.c:
19729         * gst/gstqueue.h:
19730         * docs/gst/gstreamer.types:
19731         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19732         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19733           completely move queue and fix up debugging categories
19734
19735 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19736
19737         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19738           make initialization portable, using LL is not
19739
19740 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19741
19742         * win32/common/gstconfig.h:
19743           add large padding
19744
19745 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19746
19747         * win32/common/libgstreamer.def:
19748           rename symbols; sort base section
19749
19750 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19751
19752         * gst/gstclock.c: (do_linear_regression):
19753           remove crack non-portable handrolled DEBUG macro
19754
19755 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19756
19757         * docs/random/release:
19758           update notes
19759         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19760         (gst_object_flags_get_type), (register_gst_bin_flags),
19761         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19762         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19763         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19764         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19765         (gst_caps_flags_get_type), (register_gst_clock_return),
19766         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19767         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19768         (gst_clock_flags_get_type), (register_gst_state),
19769         (gst_state_get_type), (register_gst_state_change_return),
19770         (gst_state_change_return_get_type), (register_gst_state_change),
19771         (gst_state_change_get_type), (register_gst_element_flags),
19772         (gst_element_flags_get_type), (register_gst_core_error),
19773         (gst_core_error_get_type), (register_gst_library_error),
19774         (gst_library_error_get_type), (register_gst_resource_error),
19775         (gst_resource_error_get_type), (register_gst_stream_error),
19776         (gst_stream_error_get_type), (register_gst_event_type_flags),
19777         (gst_event_type_flags_get_type), (register_gst_event_type),
19778         (gst_event_type_get_type), (register_gst_seek_type),
19779         (gst_seek_type_get_type), (register_gst_seek_flags),
19780         (gst_seek_flags_get_type), (register_gst_format),
19781         (gst_format_get_type), (register_gst_index_certainty),
19782         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19783         (gst_index_entry_type_get_type),
19784         (register_gst_index_lookup_method),
19785         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19786         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19787         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19788         (gst_index_flags_get_type), (register_gst_debug_level),
19789         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19790         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19791         (gst_iterator_result_get_type), (register_gst_iterator_item),
19792         (gst_iterator_item_get_type), (register_gst_message_type),
19793         (gst_message_type_get_type), (register_gst_mini_object_flags),
19794         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19795         (gst_pad_link_return_get_type), (register_gst_flow_return),
19796         (gst_flow_return_get_type), (register_gst_activate_mode),
19797         (gst_activate_mode_get_type), (register_gst_pad_direction),
19798         (gst_pad_direction_get_type), (register_gst_pad_flags),
19799         (gst_pad_flags_get_type), (register_gst_pad_presence),
19800         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19801         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19802         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19803         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19804         (gst_plugin_flags_get_type), (register_gst_rank),
19805         (gst_rank_get_type), (register_gst_query_type),
19806         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19807         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19808         (gst_tag_flag_get_type), (register_gst_task_state),
19809         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19810         (gst_alloc_trace_flags_get_type),
19811         (register_gst_type_find_probability),
19812         (gst_type_find_probability_get_type), (register_gst_uri_type),
19813         (gst_uri_type_get_type), (register_gst_parse_error),
19814         (gst_parse_error_get_type):
19815         * win32/common/gstenumtypes.h:
19816         * win32/common/gstversion.h:
19817           update visual studio generated files
19818
19819 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19820
19821         * win32/vs6/libgstbase.dsp:
19822         * win32/vs6/libgstelements.dsp:
19823           update project files for new locations
19824
19825 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19826
19827         * Makefile.am:
19828           remove some files
19829         * README:
19830           reinstate and update
19831         * DEVEL:
19832         * REQUIREMENTS:
19833           removed
19834         * LICENSE:
19835         * docs/random/LICENSE:
19836           moved to random
19837
19838 2005-11-30  Edward Hervey  <edward@fluendo.com>
19839
19840         * gst/gsttypefind.c: (gst_type_find_register):
19841         * gst/gsttypefind.h:
19842         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19843         (gst_type_find_factory_dispose):
19844         * gst/gsttypefindfactory.h:
19845         Fix memory leak in GstTypeFindFactory.
19846
19847 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19848
19849         * gst/gst.c:
19850         * plugins/elements/Makefile.am:
19851         * plugins/elements/gstelements.c:
19852         * plugins/elements/gstqueue.c:
19853           move queue from core to the elements plugin
19854
19855 2005-11-29  Andy Wingo  <wingo@pobox.com>
19856
19857         * libs/gst/base/gstbasetransform.h: 
19858         * libs/gst/base/gstbasesrc.h: 
19859         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19860
19861         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19862         of pointers by which to pad very extensible base classes (like the
19863         ones in libs/gst/base).
19864
19865 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19866
19867         * docs/gst/gstreamer-docs.sgml:
19868         * docs/gst/gstreamer-sections.txt:
19869         * docs/libs/gstreamer-libs-docs.sgml:
19870         * docs/libs/gstreamer-libs-sections.txt:
19871           moving documentation from core to lib
19872
19873 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19874
19875         * check/Makefile.am:
19876         * configure.ac:
19877         * docs/gst/Makefile.am:
19878         * gst/Makefile.am:
19879         * gst/base/.cvsignore:
19880         * gst/base/Makefile.am:
19881         * gst/base/README:
19882         * gst/base/gstadapter.c:
19883         * gst/base/gstadapter.h:
19884         * gst/base/gstbasesink.c:
19885         * gst/base/gstbasesink.h:
19886         * gst/base/gstbasesrc.c:
19887         * gst/base/gstbasesrc.h:
19888         * gst/base/gstbasetransform.c:
19889         * gst/base/gstbasetransform.h:
19890         * gst/base/gstcollectpads.c:
19891         * gst/base/gstcollectpads.h:
19892         * gst/base/gstpushsrc.c:
19893         * gst/base/gstpushsrc.h:
19894         * gst/base/gsttypefindhelper.c:
19895         * gst/base/gsttypefindhelper.h:
19896         * gst/check/Makefile.am:
19897         * gst/check/gstcheck.c:
19898         * gst/check/gstcheck.h:
19899         * gst/net/Makefile.am:
19900         * gst/net/gstnet.h:
19901         * gst/net/gstnetclientclock.c:
19902         * gst/net/gstnetclientclock.h:
19903         * gst/net/gstnettimepacket.c:
19904         * gst/net/gstnettimepacket.h:
19905         * gst/net/gstnettimeprovider.c:
19906         * gst/net/gstnettimeprovider.h:
19907         * libs/gst/Makefile.am:
19908         * libs/gst/base/Makefile.am:
19909         * libs/gst/base/gstbasetransform.c:
19910         * libs/gst/check/Makefile.am:
19911         * plugins/elements/Makefile.am:
19912         * po/POTFILES.in:
19913           CVS surgery + support to move base, check, and net out of gst
19914           and into libs/gst
19915
19916 2005-11-29  Andy Wingo  <wingo@pobox.com>
19917
19918         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19919
19920         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19921         padding.
19922
19923         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19924
19925         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19926
19927         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19928
19929         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19930         padding; reduces object size by about 30%. We don't expect
19931         anything else to go into gstobject.
19932
19933         * gst/gstminiobject.h (struct _GstMiniObject)
19934         (struct _GstMiniObjectClass): Only one pointer of padding; the
19935         payload is only a pointer and two ints anyway. For the class there
19936         are only two methods as well.
19937         
19938         * gst/gstelement.h (struct _GstElementClass): Removed
19939         the state_changed signal callback, it is not used.
19940
19941 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19942
19943         * docs/gst/gstreamer.types:
19944           fix includes, though they are a little dinky
19945
19946 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19947
19948         * check/Makefile.am:
19949           look in the right place for elements, a lot more chance of
19950           success
19951         * gst/Makefile.am:
19952           remove indexers and elements subdirs
19953         * plugins/Makefile.am:
19954           make indexers conditional
19955
19956 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19957
19958         * Makefile.am:
19959         * configure.ac:
19960         * plugins/elements/Makefile.am:
19961         * plugins/elements/gstcapsfilter.c:
19962         * plugins/elements/gstfilesink.c:
19963         * plugins/elements/gstfilesrc.c:
19964         * plugins/elements/gstidentity.c:
19965         * plugins/indexers/Makefile.am:
19966           do CVS surgery and related build fixery to move elements
19967           and indexers in a new gstreamer/plugins directory, out of the
19968           gst/ directory
19969
19970 2005-11-29  Andy Wingo  <wingo@pobox.com>
19971
19972         * check/Makefile.am:
19973         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19974         * pkgconfig/gstreamer-net.pc.in:
19975         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19976         #322257.
19977
19978 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19979
19980         * tools/Makefile.am:
19981         * tools/gst-complete.1.in:
19982         * tools/gst-complete.c:
19983         * tools/gst-compprep.1.in:
19984         * tools/gst-compprep.c:
19985           removing -compprep and -complete
19986
19987 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19988
19989         * gst/gstevent.c: (gst_event_new_new_segment),
19990         (gst_event_parse_new_segment):
19991         * gst/gstevent.h:
19992           fix #320529 - clean up new_segment API and structure.
19993           Let's hope everyone was using the methods, and not the structure.
19994
19995 2005-11-29  Edward Hervey  <edward@fluendo.com>
19996
19997         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19998         (gst_base_sink_event), (gst_base_sink_do_sync),
19999         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20000         Properly handle non GST_FORMAT_TIME segment
20001         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20002         Properly handle non GST_FORMAT_TIME segment
20003         * gst/gstsegment.c:
20004         This function is valid if the accumulator is 0 and the format
20005         is different from the requested format.
20006         
20007 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
20008
20009         * docs/gst/gstreamer-sections.txt:
20010         Add gst_query_new_seeking and gst_query_parse_seeking to the
20011         docs.
20012
20013 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
20014
20015         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20016           Treat a pad alloc with new caps the same as if we were not
20017           negotiated, in order to allow a changing upstream output
20018           to produce a new format of data.
20019
20020 2005-11-29  Edward Hervey  <edward@fluendo.com>
20021
20022         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20023         (gst_base_transform_event), (gst_base_transform_eventfunc):
20024         The event virtual method is now properly implemented, with a default
20025         handler
20026         Sub classes should call the parent_class event method. They should
20027         return FALSE if they had a problem handling the given event, or don't
20028         want GstBaseTransform to send that even downstream
20029         * gst/elements/gstidentity.c: (gst_identity_class_init),
20030         (gst_identity_init), (gst_identity_event),
20031         (gst_identity_transform_ip), (gst_identity_set_property),
20032         (gst_identity_get_property):
20033         * gst/elements/gstidentity.h:
20034         Added the single-segment boolean property.
20035         If set to TRUE, it will output a single segment of data, starting from
20036         0, will eat up all incoming newsegment, and modify the timestamp of the
20037         buffers accordingly
20038
20039 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
20040
20041         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
20042           Don't ref NULL target pad (#322751). Improve docs.
20043
20044 2005-11-29  Michael Smith  <msmith@fluendo.com>
20045
20046         * gst/gstregistryxml.c: (load_plugin):
20047           Don't crash if we failed to load a feature from a plugin. 
20048
20049 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20050
20051         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20052         (GST_START_TEST):
20053           use more check API and less GLib API
20054
20055 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20056
20057         * Makefile.am:
20058           don't run checks if we don't have check
20059         * common/check.mak:
20060           remove the registry when running make torture
20061         * docs/gst/gstreamer-sections.txt:
20062           remove second multiply
20063         * gst/gstqueue.c: (gst_queue_loop):
20064           fix a compile warning when disabling debug
20065
20066 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20067
20068         * gst/gstinfo.h:
20069         Hey! Let's print the pad name if the pointer != NULL instead
20070         of when it == NULL :-)
20071
20072 2005-11-28  Wim Taymans  <wim@fluendo.com>
20073
20074         * check/gst/gstutils.c: (GST_START_TEST):
20075         Updated check, add some scaling accuracy checking code.
20076
20077         * gst/gstutils.c: (gst_util_div128_64),
20078         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20079         (gst_util_uint64_scale_int):
20080         Fix 6 times faster division code. Optimize for common 
20081         1/1 and less common X/1 cases.
20082
20083 2005-11-28  Wim Taymans  <wim@fluendo.com>
20084
20085         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20086         More checks.
20087
20088         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20089         (do_linear_regression), (gst_clock_add_observation):
20090         Cleanups.
20091         Release lock when the clock cannot be slaved.
20092         Catch the case where the regression returned an invalid denominator.
20093
20094         * gst/gstutils.c: (gst_util_div128_64_iterate),
20095         (gst_util_div128_64), (gst_util_uint64_scale_int64),
20096         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20097         Add protentially more performant non-iterative 128/64 divide function
20098         that unfortunatly does not work yet.
20099         Shortcut the trivial 0/X = 0 case.
20100         Remove the warnings on overflow.
20101
20102 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20103
20104         * gst/gstplugin.c: (gst_plugin_register_func):
20105           everything causing a plugin not to load should be at least a WARNING
20106
20107 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
20108
20109         * docs/random/ensonic/dparams.txt:
20110           some TODOs for the next dev cycle
20111         * libs/gst/controller/gstcontroller.c:
20112         (gst_controlled_property_set_interpolation_mode),
20113         (gst_controlled_property_new):
20114         * libs/gst/controller/gstcontroller.h:
20115           use base type to assign acccessor functions
20116
20117 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20118
20119         * check/Makefile.am:
20120         Oops, that should have been top_srcdir
20121
20122 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20123
20124         * check/Makefile.am:
20125         * check/elements/fdsrc.c: (GST_START_TEST):
20126         Use a cmdline define to specify the location of a file to use for
20127         testing, to avoid breaking distcheck.
20128
20129 2005-11-28  Andy Wingo  <wingo@pobox.com>
20130
20131         * gst/gstpad.c (fixate_value): Use array functions for arrays.
20132
20133 2005-11-28  Edward Hervey  <edward@fluendo.com>
20134
20135         * tools/gst-launch.c: (main):
20136         Clarify the output strings, makes it easier to translate.
20137         Fixes #322626
20138
20139 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20140
20141         * gst/Makefile.am:
20142           don't try and build net if we don't even have <sys/socket.h>
20143
20144 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
20145
20146         * check/Makefile.am:
20147         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20148         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20149           Add tests for fdsrc seekability
20150
20151         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20152         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20153         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20154         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20155         * gst/elements/gstfdsrc.h:
20156           fdsrc should not be a 'live' source.
20157           Implement seeking on seekable fd's.
20158
20159         * gst/gstquery.c: (gst_query_new_seeking),
20160         (gst_query_parse_seeking):
20161         * gst/gstquery.h:
20162           Implement SEEKING query functions: 
20163             *_new_seeking and *_parse_seeking
20164
20165 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
20166
20167         * gst/gstelement.c: (gst_element_dispose):
20168           don't loop forever
20169
20170         * gst/gstiterator.c:
20171         * gst/gststructure.c:
20172           doc fixes
20173
20174         * libs/gst/controller/gstcontroller.c:
20175         (gst_controlled_property_set_interpolation_mode):
20176         * libs/gst/controller/gstcontroller.h:
20177         * libs/gst/controller/gstinterpolation.c:
20178         (interpolate_none_get_enum_value_array):
20179           support controlling enums
20180
20181 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20182
20183         * gst/gstvalue.c:
20184           Improve documentation for gst_value_union().
20185
20186         * gst/gstvalue.h:
20187           Change return value for union, intersect and subtract functions
20188           from gint to gboolean.
20189
20190 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20191
20192         * gst/gstvalue.c: (gst_value_serialize_any_list),
20193         (gst_value_transform_any_list_string),
20194         (gst_value_deserialize_list), (gst_value_deserialize_array),
20195         (gst_value_set_int_range), (gst_value_deserialize_int_range),
20196         (gst_value_set_double_range), (gst_value_deserialize_double_range),
20197         (gst_value_set_fraction_range_full),
20198         (gst_value_deserialize_fraction_range),
20199         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20200         (gst_value_deserialize_boolean),
20201         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20202         (gst_value_serialize_float), (gst_value_deserialize_float),
20203         (gst_string_wrap), (gst_value_deserialize_string),
20204         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20205         (gst_value_union_int_range_int_range),
20206         (gst_value_intersect_int_range_int_range),
20207         (gst_value_intersect_double_range_double_range),
20208         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20209         (gst_value_subtract_int_range_int_range),
20210         (gst_value_subtract_double_double_range),
20211         (gst_value_subtract_double_range_double_range),
20212         (gst_value_deserialize_fraction):
20213         * gst/gstvalue.h:
20214           Use gint, gdouble and gchar in our API instead of int, double and
20215           char (and make usage in gstvalue.c more consistent).
20216
20217 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20218
20219         * check/Makefile.am:
20220         * libs/gst/controller/Makefile.am:
20221         * libs/gst/dataprotocol/Makefile.am:
20222           fix up Makefile.am and remove GST_ENABLE_NEW
20223
20224 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20225
20226         * configure.ac:
20227         * gst/Makefile.am:
20228         * gst/base/Makefile.am:
20229         * gst/check/Makefile.am:
20230         * gst/elements/Makefile.am:
20231         * gst/net/Makefile.am:
20232           update LDFLAGS use some more
20233
20234 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20235
20236         * common/m4/gst-doc.m4:
20237           Fixes #312589
20238
20239 2005-11-26  Edward Hervey  <edward@fluendo.com>
20240
20241         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20242         This shouldn't issue a g_warning since it returns NULL if it
20243         couldn't find the plugin, and all functions using this behave
20244         properly on a NULL return. Switching to a GST_WARNING.
20245
20246 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
20247
20248         * gst/gstbin.c: (gst_bin_handle_message_func):
20249         Don't leak clock messages.
20250
20251 2005-11-25  Wim Taymans  <wim@fluendo.com>
20252
20253         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20254         (gst_util_uint64_scale_int):
20255         Optimisations, remove unneeded vars.
20256
20257 2005-11-25  Wim Taymans  <wim@fluendo.com>
20258
20259         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20260         Added more checks for the high precision uint64 cases.
20261
20262         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20263         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20264         Implement high precision (guint64 * guint64) / guint64.
20265
20266 2005-11-24  Wim Taymans  <wim@fluendo.com>
20267
20268         * gst/base/gstbasesrc.c: (gst_base_src_query):
20269         Fix wrong percentage query.
20270
20271         * gst/gstutils.c: (gst_util_uint64_scale),
20272         (gst_util_uint64_scale_int):
20273         Add some more common cases that can be handled 
20274         efficiently to _scale.
20275
20276 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20277
20278         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20279         (gst_mini_object_suite):
20280           don't use check calls from threads; check probably isn't
20281           threadsafe and using a lock to make it threadsafe would
20282           defeat the purpose of this check
20283         * gst/check/gstcheck.c:
20284         * gst/check/gstcheck.h:
20285           use GST_DEBUG some more
20286
20287 2005-11-24  Wim Taymans  <wim@fluendo.com>
20288
20289         * gst/gstutils.c: (gst_util_uint64_scale),
20290         (gst_util_uint64_scale_int):
20291         Chain trivial case to _scale_int.
20292
20293 2005-11-24  Wim Taymans  <wim@fluendo.com>
20294
20295         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20296         Added test for scaling.
20297
20298         * gst/gstclock.h:
20299         Small doc fix.
20300
20301         * gst/gstutils.c: (gst_util_uint64_scale_int):
20302         Implemented high precision scaling code.
20303
20304 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
20305
20306         * gst/gstinfo.h:
20307           do not crash on pad==NULL
20308
20309 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20310
20311         Patch by: Stefan Kost
20312
20313         * common/gtk-doc.mak:
20314         * docs/gst/Makefile.am:
20315         * docs/libs/Makefile.am:
20316           Fix distcheck issues for the libraries docs build
20317           Closes #319599.
20318
20319 2005-11-24  Michael Smith <msmith@fluendo.com>
20320
20321         * docs/manual/basics-helloworld.xml:
20322           Fix bug #315027: memory leak in example code in docs.
20323
20324 2005-11-24  Michael Smith <msmith@fluendo.com>
20325
20326         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20327           Unlock the PREROLL_LOCK in a failure case.
20328
20329 2005-11-24  Wim Taymans  <wim@fluendo.com>
20330
20331         * docs/gst/gstreamer-sections.txt:
20332         * gst/base/gstadapter.h:
20333         * gst/base/gstbasesink.h:
20334         * gst/base/gstbasesrc.h:
20335         * gst/base/gstbasetransform.h:
20336         * gst/base/gstpushsrc.h:
20337         * gst/elements/gstfakesink.h:
20338         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20339         * gst/elements/gstfakesrc.h:
20340         * gst/elements/gstfilesink.h:
20341         * gst/elements/gstfilesrc.h:
20342         * gst/gst.c:
20343         * gst/gstbin.c:
20344         * gst/gstbuffer.c: (_gst_buffer_copy):
20345         * gst/gstbus.h:
20346         * gst/gstcaps.c:
20347         * gst/gstchildproxy.c:
20348         * gst/gstclock.c:
20349         * gst/gstelement.c:
20350         * gst/gstelementfactory.c:
20351         * gst/gstelementfactory.h:
20352         * gst/gstevent.c:
20353         * gst/gstghostpad.h:
20354         * gst/gstindex.h:
20355         * gst/gstinterface.h:
20356         * gst/gstminiobject.c:
20357         * gst/gstminiobject.h:
20358         * gst/gstpad.c:
20359         * gst/gstpad.h:
20360         * gst/gstpadtemplate.h:
20361         * gst/gstpipeline.h:
20362         * gst/gstpluginfeature.h:
20363         * gst/gstquery.h:
20364         * gst/gstqueue.h:
20365         * gst/gsttaglist.c:
20366         * gst/gsttaglist.h:
20367         * gst/gsttagsetter.c:
20368         * gst/gsttagsetter.h:
20369         * gst/gsttrace.c:
20370         * gst/gsttrace.h:
20371         * gst/gsttypefind.h:
20372         * gst/gsturi.h:
20373         * gst/gstvalue.c:
20374         * gst/net/gstnetclientclock.c:
20375         * gst/net/gstnetclientclock.h:
20376         * gst/net/gstnettimepacket.c:
20377         * gst/net/gstnettimeprovider.c:
20378         * gst/net/gstnettimeprovider.h:
20379         Doc fixes.
20380
20381 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20382
20383         * configure.ac: back to HEAD
20384
20385 === release 0.9.6 ===
20386
20387 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20388
20389         * configure.ac:
20390           releasing 0.9.6, "Always On Time"
20391
20392 2005-11-23  Wim Taymans  <wim@fluendo.com>
20393
20394         * docs/gst/gstreamer-sections.txt:
20395         * gst/glib-compat.c:
20396         * gst/gsttagsetter.c:
20397         * gst/gstvalue.c:
20398         * gst/net/gstnetclientclock.c:
20399         * gst/net/gstnettimepacket.h:
20400         Doc updates.
20401
20402 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20403
20404         * docs/faq/using.xml:
20405         * docs/libs/tmpl/gstcontrol.sgml:
20406         * docs/manual/advanced-dparams.xml:
20407         * docs/manual/appendix-checklist.xml:
20408         * docs/manual/basics-elements.xml:
20409         * docs/pwg/other-source.xml:
20410         * docs/random/moving-plugins:
20411         * gst/gstpad.c:
20412         * tools/gst-launch.1.in:
20413           remove mentions of sinesrc
20414
20415 2005-11-23  Michael Smith <msmith@fluendo.com>
20416
20417         * docs/gst/gstreamer-sections.txt:
20418           Update for new API and API changes.
20419         * gst/gstobject.h:
20420           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20421         * gst/gstvalue.c:
20422           Documentation typo fix.
20423         * gst/net/gstnettimepacket.c:
20424           Documentation fixes for arguments.
20425
20426 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20427
20428         * gst/gststructure.c: (gst_structure_get_fraction),
20429         (gst_structure_parse_value),
20430         (gst_structure_fixate_field_nearest_fraction):
20431         * gst/gststructure.h:
20432         * gst/gstutils.c: (gst_util_uint64_scale_int):
20433         * gst/gstutils.h:
20434         * scripts/update-funcnames:
20435         API Changes. 
20436         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20437         Make gst_structure_fixate_field_nearest_fraction take a numerator
20438         and denominator argument instead of a GValue
20439         add gst_structure_get_fraction helper function.
20440
20441 2005-11-23  Wim Taymans  <wim@fluendo.com>
20442
20443         * docs/design/part-TODO.txt:
20444         Update TODO.
20445
20446         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20447         * gst/net/gstnetclientclock.h:
20448         Use parent fields for timeout and window_size.
20449
20450 2005-11-23  Andy Wingo  <wingo@pobox.com>
20451
20452         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20453         rate_num/rate_denom change.
20454
20455         * gst/net/gstnetclientclock.c
20456         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20457         OBJECT_LOCK. Don't call add_observation with the lock.
20458
20459         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20460         fraction.
20461         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20462         rate fraction.
20463         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20464         deal with rate as a fraction whose numerator and denominator are
20465         GstClockTime values.
20466         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20467         master; the other fields are protected by the SLAVE_LOCK.
20468         (do_linear_regression): Note that this must be called with the
20469         SLAVE_LOCK.
20470         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20471         OBJECT_LOCK. Call set_calibration instead of touching the
20472         variables directly.
20473         (gst_clock_set_property, gst_clock_get_property): Protect
20474         master/slave parameters with the SLAVE_LOCK.
20475
20476         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20477         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20478         note that all of the instance variables that add_observation and
20479         the set_master functions use are protected by that lock and not
20480         the OBJECT_LOCK.
20481         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20482
20483         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20484         the caller to take the object lock.
20485
20486 2005-11-23  Wim Taymans  <wim@fluendo.com>
20487
20488         * gst/gsterror.c: (_gst_core_errors_init):
20489         * gst/gsterror.h:
20490         Add error for clock stuff.
20491
20492         * gst/gstpipeline.c: (gst_pipeline_change_state),
20493         (gst_pipeline_set_clock):
20494         Post clock error when clock cannot be used in a pipeline.
20495
20496 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20497
20498         * docs/gst/gstreamer-sections.txt:
20499           make two symbols from gstinfo private for the docs
20500         * gst/base/gstcollectpads.h:
20501         * gst/gstutils.c:
20502           fix doc typos, update docs
20503
20504 2005-11-22  Wim Taymans  <wim@fluendo.com>
20505
20506         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20507         (gst_base_sink_wait), (gst_base_sink_do_sync),
20508         (gst_base_sink_handle_event):
20509         * gst/base/gstbasesink.h:
20510         No need to store the clock, the parent element class already
20511         has it.
20512
20513         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20514         Updates for clock_set returning a gboolean
20515
20516         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20517         (gst_clock_id_wait_async), (gst_clock_class_init),
20518         (gst_clock_init), (gst_clock_finalize),
20519         (gst_clock_get_internal_time), (gst_clock_get_time),
20520         (gst_clock_slave_callback), (gst_clock_set_master),
20521         (gst_clock_get_master), (do_linear_regression),
20522         (gst_clock_add_observation), (gst_clock_set_property),
20523         (gst_clock_get_property):
20524         * gst/gstclock.h:
20525         Implement master/slave. When setting a clock as a slave, a
20526         periodic timeout is scheduled to sample master and slave times.
20527         Then the slave clock is recalibrated to match offset and rate
20528         of the master clock.
20529         Update logging a bit.
20530         Add flag so that a clock can state that is cannot be slaved to
20531         another clock.
20532
20533         * gst/gstelement.c: (gst_element_set_clock):
20534         * gst/gstelement.h:
20535         The set clock returns a gboolean for when an element cannot
20536         deal with the selected clock in the pipeline. 
20537
20538         * gst/gstpipeline.c: (gst_pipeline_change_state),
20539         (gst_pipeline_set_clock):
20540         * gst/gstpipeline.h:
20541         Handle the case where the selected clock cannot be set on
20542         the pipeline.
20543
20544         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20545         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20546         (gst_net_client_clock_set_property),
20547         (gst_net_client_clock_get_property),
20548         (gst_net_client_clock_observe_times):
20549         * gst/net/gstnetclientclock.h:
20550         Use regression code in GstClock parent, remove duplicated
20551         functionality.
20552
20553 2005-11-22  Michael Smith <msmith@fluendo.com>
20554
20555         * gst/gstutils.c: (gst_util_clock_time_scale):
20556         * gst/gstutils.h:
20557         * docs/gst/gstreamer-sections.txt:
20558           Rename method to have extra underscore.
20559
20560 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20561
20562         * gst/elements/Makefile.am:
20563         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20564         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20565         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20566         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20567         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20568         * gst/elements/gstfakesrc.h:
20569         * gst/gstqueue.c: (queue_leaky_get_type):
20570           correctly fix GEnumValues so that nick is the short lowercase
20571           dashed tag
20572         * tools/gst-inspect.c: (print_element_properties_info):
20573           also show the nick, since it's useful to use from parse_launch
20574           syntax
20575           Fixes #322139
20576
20577 2005-11-22  Michael Smith <msmith@fluendo.com>
20578
20579         * gst/gstutils.c: (gst_util_clocktime_scale):
20580         * gst/gstutils.h:
20581         * docs/gst/gstreamer-sections.txt:
20582           Add util method for scaling a clocktime by a fraction. Useful 
20583           implementation is left as an exercise for the reader.
20584
20585 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20586
20587         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20588         If needed, allocate storage in the destination value during
20589         collection.
20590
20591 2005-11-22  Edward Hervey  <edward@fluendo.com>
20592
20593         * docs/gst/gstreamer-sections.txt:
20594         * gst/Makefile.am:
20595         * gst/gst.h:
20596         * gst/gsturitype.c:
20597         * gst/gsturitype.h:
20598         * gst/gstutils.c: (gst_util_set_object_arg):
20599         * tools/gst-compprep.c: (main):
20600         * tools/gst-inspect.c: (print_element_properties_info):
20601         Removed GstURI, closes bug #321061
20602
20603 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20604
20605         * check/gst/gststructure.c: (GST_START_TEST):
20606         * gst/gststructure.c: (gst_structure_parse_value):
20607           Oops, broke automatic string type parsing.
20608           Add a test to catch it in future.
20609
20610 2005-11-22  Andy Wingo  <wingo@pobox.com>
20611
20612         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20613         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20614         Actually rename the function implementations. Grr.
20615
20616 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20617
20618         * check/gst/capslist.h:
20619           Comment test cases
20620         * check/gst/gststructure.c: (GST_START_TEST),
20621         (gst_structure_suite):
20622           Test automatic value type detection in gst_structure_from_string.
20623         * gst/gststructure.c: (gst_structure_parse_value):
20624           Add fraction as a type we try and guess automatically in
20625           caps/structure strings.
20626
20627 2005-11-22  Andy Wingo  <wingo@pobox.com>
20628
20629         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20630
20631         * gst/gsttagsetter.h:
20632         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20633         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20634         (gst_tag_setter_add_tag_valist)
20635         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20636         _add_values, _add_valist, and _add_valist_values. Since this is an
20637         interface the function suffixes should be more explicit so
20638         language binding don't end up with element.add_valist ->
20639         gst_tag_setter_add_valist, for example. Fixes #322069.
20640
20641 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20642
20643         * check/gst/gstcaps.c: (GST_START_TEST):
20644           Extend caps string tests to check that a caps to string
20645           conversion is reversible and produces the same caps.
20646
20647         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20648           Output "fraction" as the generic type fraction range, so caps
20649           serialisation and deserialisation works.
20650         * check/gst/capslist.h:
20651         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20652           Support 'MIN' and 'MAX' for deserialising fractions.
20653
20654 2005-11-22  Andy Wingo  <wingo@pobox.com>
20655
20656         * gst/gstevent.h (gst_event_new_new_segment)
20657         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20658         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20659         Renamed from *_newsegment, *_buffersize, *_notarget.
20660
20661         * scripts/update-funcnames: New script, performs the changes
20662         listed above.
20663
20664 2005-11-22  Wim Taymans  <wim@fluendo.com>
20665
20666         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20667         Make sure the GstFlowReturn is returned.
20668
20669         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20670         (gst_bus_add_signal_watch):
20671         * gst/gstbus.h:
20672         add gst_bus_add_signal_watch_full.
20673
20674         * gst/gstplugin.c: (gst_plugin_load_file):
20675         Small style cleanup.
20676
20677 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20678
20679         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20680           Block the fakesrc srcpad when we send an event, to avoid
20681           contention on the stream_lock causing random test failures.
20682
20683 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20684
20685         * check/gst/gstvalue.c: (GST_START_TEST):
20686         * gst/gstvalue.c: (gst_value_fraction_subtract):
20687           Fix subtraction.
20688
20689 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20690
20691         * gst/gst.h:
20692           include "gstchildproxy.h"
20693         * gst/gstchildproxy.h:
20694         * libs/gst/controller/gstcontroller.h:
20695           use G_GNUC_NULL_TERMINATED
20696
20697 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20698
20699         * check/gst/capslist.h:
20700         * check/gst/gstcaps.c: (GST_START_TEST):
20701         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20702         * gst/gststructure.c: (gst_structure_parse_range),
20703         (gst_structure_fixate_field_nearest_fraction):
20704         * gst/gststructure.h:
20705         * gst/gstvalue.c: (gst_value_init_fraction_range),
20706         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20707         (gst_value_collect_fraction_range),
20708         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20709         (gst_value_set_fraction_range_full),
20710         (gst_value_get_fraction_range_min),
20711         (gst_value_get_fraction_range_max),
20712         (gst_value_serialize_fraction_range),
20713         (gst_value_transform_fraction_range_string),
20714         (gst_value_compare_fraction_range),
20715         (gst_value_deserialize_fraction_range),
20716         (gst_value_intersect_fraction_fraction_range),
20717         (gst_value_intersect_fraction_range_fraction_range),
20718         (gst_value_subtract_fraction_fraction_range),
20719         (gst_value_subtract_fraction_range_fraction),
20720         (gst_value_subtract_fraction_range_fraction_range),
20721         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20722         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20723         (gst_value_transform_string_fraction), (_gst_value_initialize):
20724         * gst/gstvalue.h:
20725           Implement fraction ranges and extend GstFraction to support
20726           arithmetic subtraction, as well as deserialization from integer
20727           strings such as "100"
20728           Add a testsuite as for int and double range set operations
20729
20730 2005-11-21  Andy Wingo  <wingo@pobox.com>
20731
20732         * gst/gsttaglist.h: 
20733         * gst/gstcaps.h: 
20734         * gst/gststructure.h: Add glib-compat.h.
20735
20736 2005-11-21  Wim Taymans  <wim@fluendo.com>
20737
20738         * gst/gstbin.c: (gst_bin_change_state_func):
20739         Fix for #321595
20740
20741 2005-11-21  Wim Taymans  <wim@fluendo.com>
20742
20743         * gst/gstsegment.h:
20744         And add a nice define too.
20745
20746 2005-11-21  Wim Taymans  <wim@fluendo.com>
20747
20748         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20749         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20750         (gst_segment_set_duration), (gst_segment_set_last_stop),
20751         (gst_segment_set_seek), (gst_segment_set_newsegment),
20752         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20753         (gst_segment_clip):
20754         * gst/gstsegment.h:
20755         Make binding friendly.
20756
20757 2005-11-21  Andy Wingo  <wingo@pobox.com>
20758
20759         * gst/gsttagsetter.h: 
20760         * gst/gsttaglist.h: 
20761         * gst/gststructure.h: 
20762         * gst/gstcaps.h: 
20763         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20764         #319940.
20765
20766         * gst/gsterror.c (_gst_core_errors_init):
20767         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20768         category.
20769
20770         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20771         (noinst_HEADERS): noinst the -private.
20772
20773 2005-11-21  Michael Smith <msmith@fluendo.com>
20774
20775         * gst/gstplugin.h:
20776         * gst/gstregistry.h:
20777           Remove unimplemented declarations for which we can see no sensible
20778           use.
20779
20780 2005-11-21  Andy Wingo  <wingo@pobox.com>
20781
20782         * gst/gst.h: Include glib-compat.h.
20783
20784         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20785
20786         * gst/glib-compat.c: Include the public and the private header.
20787
20788         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20789
20790         * gst/gstvalue.c: 
20791         * gst/gstpad.c: 
20792         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20793
20794         * check/gst/gstevent.c (create_custom_events): Check that
20795         FLUSH_STOP is serialized.
20796
20797         * check/elements/identity.c (event_func): 
20798         * check/elements/fakesrc.c (event_func): No stream lock, the core
20799         takes it.
20800
20801         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20802         stream lock taking, yay.
20803
20804         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20805         ensure that core takes the stream lock.
20806
20807         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20808         lock name change.
20809
20810         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20811         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20812         it already. For the flush start we do take it though so we get the
20813         right preroll state change messages.
20814
20815         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20816         the stream lock here, the core does it for us.
20817
20818         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20819         GST_STREAM_GET_LOCK.
20820         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20821         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20822         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20823         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20824         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20825         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20826
20827         * gst/gstpad.c: Update for stream lock name change.
20828
20829         * gst/base/gstbasesink.c: Update for preroll lock name change.
20830
20831 2005-11-21  Wim Taymans  <wim@fluendo.com>
20832
20833         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20834         (gst_clock_get_master):
20835         * gst/gstclock.h:
20836         * gst/gstsystemclock.c: (gst_system_clock_init):
20837         Convert Clock flags to object flags.
20838         Added methods to manage master/slave clocks.
20839
20840 2005-11-21  Wim Taymans  <wim@fluendo.com>
20841
20842         * check/gst/gstsegment.c: (GST_START_TEST):
20843         * docs/design/part-TODO.txt:
20844         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20845         (gst_base_sink_event), (gst_base_sink_do_sync),
20846         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20847         (gst_base_sink_query), (gst_base_sink_change_state):
20848         * gst/base/gstbasesink.h:
20849         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20850         (gst_base_src_default_newsegment),
20851         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20852         (gst_base_src_get_range), (gst_base_src_loop),
20853         (gst_base_src_change_state):
20854         * gst/base/gstbasesrc.h:
20855         * gst/base/gstbasetransform.c:
20856         (gst_base_transform_prepare_output_buf),
20857         (gst_base_transform_event), (gst_base_transform_change_state):
20858         * gst/base/gstbasetransform.h:
20859         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20860         (gst_collect_pads_event):
20861         * gst/base/gstcollectpads.h:
20862         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20863         (gst_fake_src_create):
20864         * gst/elements/gstfakesrc.h:
20865         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20866         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20867         (gst_segment_set_last_stop), (gst_segment_set_seek),
20868         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20869         (gst_segment_to_running_time), (gst_segment_clip):
20870         * gst/gstsegment.h:
20871         More segment updates, replace code in plugins with segment
20872         helper functions.
20873
20874 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20875
20876         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20877         Don't ignore sscanf results
20878
20879 2005-11-21  Andy Wingo  <wingo@pobox.com>
20880
20881         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20882
20883         * *.h:
20884         * *.c: Ran scripts/update-macros. Oh yes.
20885
20886         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20887         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20888         GST_GET_LOCK, etc.
20889
20890         * scripts/update-macros: New script. Run it on your files to
20891         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20892         well.
20893
20894 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20895
20896         * docs/gst/Makefile.am:
20897         * docs/gst/gstreamer-docs.sgml:
20898         * docs/gst/gstreamer-sections.txt:
20899         * docs/gst/gstreamer.types:
20900         * gst/gstinfo.h:
20901           more docs fixes, add new api to the docs
20902
20903 2005-11-21  Andy Wingo  <wingo@pobox.com>
20904
20905         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20906         state_broadcast call.
20907
20908         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20909
20910 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20911
20912         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20913         function calls for arrays.
20914
20915 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20916
20917         * docs/random/ensonic/media-device-daemon.txt:
20918           wild idea, can this be done?
20919         * docs/gst/gstreamer-sections.txt:
20920         * gst/gsterror.h:
20921         * gst/gstfilter.c:
20922         * gst/gstfilter.h:
20923         * gst/gstplugin.h:
20924         * gst/gstpluginfeature.c:
20925         * gst/gsttrace.c:
20926         * gst/gstvalue.c:
20927         * gst/gstvalue.h:
20928           doc fixes and additions
20929
20930 2005-11-21  Andy Wingo  <wingo@pobox.com>
20931
20932         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20933         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20934         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20935         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20936         private to the basesrc implementation.
20937
20938         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20939         behalf of event function if necessary. It should no longer be
20940         necessary to take the stream lock in pad's event functions. Fixes
20941         #320299.
20942
20943 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20944         * docs/gst/gstreamer-sections.txt:
20945         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20946         (gst_structure_fixate_field_nearest_double),
20947         (gst_structure_fixate_field_boolean):
20948         * gst/gststructure.h:
20949         * win32/common/libgstreamer.def:
20950         * win32/gstreamer.def:
20951
20952         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20953         (#322027)
20954
20955 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20956
20957         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20958         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20959         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20960         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20961         (gst_fdsrc_uri_handler_init):
20962         * gst/elements/gstfdsrc.h:
20963           Port fd:// URI handler from 0.8 to fdsrc
20964
20965 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20966
20967         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20968         (gst_value_serialize_fourcc):
20969         * gst/gstvalue.h:
20970           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20971           consistent with our other format defines (#320324).
20972
20973 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20974
20975         * gst/gstvalue.c: (gst_value_is_fixed):
20976           Revert previous commit. Value lists are by definition
20977           not fixed, as they are a list of possible values.
20978
20979 2005-11-21  Andy Wingo  <wingo@pobox.com>
20980
20981         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20982         during the stable series if we need it. Fixes #319178.
20983
20984         * gst/gstevent.c (gst_event_new_filler): Removed.
20985
20986         * check/gst/gstevent.c: Update comment about filler events.
20987
20988 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20989
20990         * gst/gstvalue.c: (gst_value_is_fixed):
20991           Should handle both value arrays and value lists.
20992
20993 2005-11-21  Andy Wingo  <wingo@pobox.com>
20994
20995         patch by: Alessandro Dessina <alessandro nnva org>
20996
20997         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20998         functions to access arrays. Fixes #321962.
20999
21000 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21001
21002         * docs/gst/gstreamer.types:
21003           gst_collectpads_get_type => gst_collect_pads_get_type.
21004           
21005         * gst/base/gstbasetransform.c:
21006           Remove unused SIGNAL_HANDOFF enum.
21007
21008 2005-11-21  Andy Wingo  <wingo@pobox.com>
21009
21010         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
21011         the event type (upstream, downstream, serialized). Renamed
21012         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
21013         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
21014         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
21015
21016         * gst/gstevent.c: Update for new CUSTOM event names.
21017
21018         * check/gst/gstevent.c: Update check for new CUSTOM event names.
21019
21020         * gst/gstevent.h:
21021         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
21022         bug #319392.
21023
21024 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21025
21026         * docs/gst/gstreamer-sections.txt:
21027         * win32/common/libgstbase.def:
21028         * win32/libgstbase.def:
21029         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
21030         (gst_collect_pads_class_init), (gst_collect_pads_init),
21031         (gst_collect_pads_finalize), (gst_collect_pads_new),
21032         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
21033         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
21034         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
21035         (gst_collect_pads_start), (gst_collect_pads_stop),
21036         (gst_collect_pads_peek), (gst_collect_pads_pop),
21037         (gst_collect_pads_available), (gst_collect_pads_read),
21038         (gst_collect_pads_flush), (gst_collect_pads_event),
21039         (gst_collect_pads_chain):
21040         * gst/base/gstcollectpads.h:
21041           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
21042           unimplemented functions as unimplemented. Add padding to
21043           GstCollectData. (#320766, #320423)
21044
21045 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21046
21047         * gst/gstmessage.c:
21048           Improve docs for DURATION message (usage of duration parameter)
21049           (#320113)
21050
21051 2005-11-20  Wim Taymans  <wim@fluendo.com>
21052
21053         * check/Makefile.am:
21054         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
21055         (main):
21056         * gst/Makefile.am:
21057         * gst/gst.h:
21058         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
21059         (gst_segment_set_seek), (gst_segment_set_newsegment),
21060         (gst_segment_to_stream_time), (gst_segment_to_running_time),
21061         (gst_segment_clip):
21062         * gst/gstsegment.h:
21063         Added segment helper structure and methods. Not fully implemented
21064         yet.
21065         Added segment check.
21066
21067 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
21068
21069         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21070           Add a deserialisation test for fractions
21071         * examples/metadata/read-metadata.c: (message_loop),
21072         (make_pipeline), (main):
21073           Fix up metadata reading sample.
21074         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21075           Debug format fix
21076         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21077           Don't try and fixate empty caps
21078         * gst/gst_private.h:
21079           Wrap in G_BEGIN_DECLS/G_END_DECLS
21080         * gst/gstvalue.c: (gst_value_collect_fraction),
21081         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21082         (gst_value_transform_string_fraction),
21083         (gst_value_compare_fraction):
21084           Add some extra guards to ensure that we don't end up 
21085           with an invalid denominator of 0 in a gstfraction and
21086           that fractions always get reduced.
21087
21088 2005-11-20  Wim Taymans  <wim@fluendo.com>
21089
21090         * docs/gst/gstreamer-sections.txt:
21091         * gst/gstbuffer.h:
21092         * gst/gstelement.c:
21093         * gst/gstformat.c:
21094         * gst/gstformat.h:
21095         * gst/gstindex.h:
21096         * gst/gstquery.c:
21097         * gst/gstquery.h:
21098         * gst/gstvalue.c:
21099         Doc fixes.
21100
21101 2005-11-20  Wim Taymans  <wim@fluendo.com>
21102
21103         * docs/design/part-TODO.txt:
21104         * gst/gstcaps.h:
21105         Make a proper enum of the flag.
21106
21107 2005-11-19  Wim Taymans  <wim@fluendo.com>
21108
21109         * docs/design/part-TODO.txt:
21110         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21111         (gst_format_to_quark), (gst_format_register):
21112         * gst/gstformat.h:
21113         * gst/gstquery.c: (_gst_query_initialize),
21114         (gst_query_type_get_name), (gst_query_type_to_quark),
21115         (gst_query_type_register):
21116         * gst/gstquery.h:
21117         Add type to quark and type to string conversions.
21118
21119 2005-11-19  Andy Wingo  <wingo@pobox.com>
21120
21121         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21122         #320097.
21123
21124 2005-11-19  Wim Taymans  <wim@fluendo.com>
21125
21126         * docs/design/part-TODO.txt:
21127         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21128         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21129         (gst_bin_handle_message_func):
21130         * gst/gstbin.h:
21131         Make message handling overridable.
21132
21133 2005-11-19  Andy Wingo  <wingo@pobox.com>
21134
21135         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21136
21137         * gst/gstclock.h:
21138         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21139         be a GstClockTime.
21140         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21141         is a GstClockTime. Fixes #321710.
21142
21143         * gst/gstclock.h (GstClock): Remove offset property. Add
21144         internal_calibration and external_calibration. Fix padding. Pad
21145         also by GstClockTime so we don't run into problems.
21146
21147         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21148         (gst_clock_get_rate_offset): Remove.
21149         (gst_clock_set_time_adjust): Remove. Fixes #321712.
21150
21151         * gst/gstutils.h:
21152         * gst/gstutils.c (g_static_rec_cond_wait)
21153         (g_static_rec_cond_timed_wait): Removed, no longer needed.
21154
21155         * gst/gstbin.c: Remove terrible continue_state prototype.
21156
21157         * gst/gstelement.h (gst_element_continue_state): Make public.
21158
21159         * gst/gstelement.h:
21160         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21161         by continue_state. Fixes #319389.
21162
21163         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21164         Really fixes #168438. However I don't see anywhere where the
21165         filter function is called... stupid GStreamer...
21166         
21167         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21168         don't have a dispose function, so it won't get called when the
21169         object is unreffed, but oh well!
21170
21171         * gst/gstindex.c (gst_index_set_filter_full): New API function,
21172         allows a destroy function to be set so user_data can be freed.
21173         Fixes #168438.
21174         (gst_index_set_filter): Call gst_index_set_filter_full.
21175
21176         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21177
21178         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21179         string should produce an error, given the lack of a way to
21180         represent NULL strings. Fixes #165650.
21181         
21182         * gst/gstvalue.h: 
21183         * gst/gstvalue.c (gst_value_array_append_value) 
21184         (gst_value_array_prepend_value, gst_value_array_get_size) 
21185         (gst_value_array_get_value): New API, copied from
21186         gst_value_list_*, only operates on arrays.
21187         (gst_value_list_append_value, gst_value_list_prepend_value) 
21188         (gst_value_list_concat, gst_value_list_get_size) 
21189         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21190
21191         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21192         init_list, because it works on both.
21193         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21194         (gst_value_copy_list_or_array): Renamed from copy_list.
21195         (gst_value_free_list_or_array): Renamed from free_list.
21196         (gst_value_collect_list_or_array): Renamed from collect_list.
21197         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21198         (gst_value_list_or_array_peek_pointer): Renamed from
21199         list_peek_pointer.
21200         (_gst_value_array_value_table, _gst_value_list_value_table):
21201         Update value table functions.
21202         (gst_value_compare_list_or_array): Renamed from compare_list.
21203
21204         * gsttaglist.h: Whoops, foreach function returns void. Also fix
21205         some constness.
21206
21207         * gst/gsttaglist.c:
21208         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21209         GstTagList*. Fixes #143472.
21210
21211         * gst/gststructure.h: Clarify what the foreach/map functions can
21212         or can't do to their arguments.
21213
21214 2005-11-18  Wim Taymans  <wim@fluendo.com>
21215
21216         * gst/gstclock.c: (gst_clock_set_calibration),
21217         (gst_clock_get_calibration):
21218         Doc and API fixes.
21219         Calibration can be set with internal time equal to current
21220         internal time too.
21221
21222 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21223
21224         * gst/gsterror.c:
21225         * gst/gsterror.h:
21226           document
21227
21228 2005-11-18  Andy Wingo  <wingo@pobox.com>
21229
21230         * configure.ac: 
21231         * pkgconfig/gstreamer-net.pc.in:
21232         * pkgconfig/gstreamer-net-uninstalled.pc.in:
21233         * pkgconfig/Makefile.am: Add net pkgconfig files.
21234
21235 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
21236
21237         * gst/gstcaps.c:
21238         * gst/gstghostpad.c:
21239         * gst/gsttrace.c:
21240         * gst/gstvalue.c:
21241         * gst/gstvalue.h:
21242           docs fixes
21243
21244 2005-11-18  Andy Wingo  <wingo@pobox.com>
21245
21246         * gst/net/gstnetclientclock.c: Turn off debugging.
21247
21248         * check/net/gstnetclientclock.c (test_functioning): Assert that the
21249         times connverge somewhat. Can't make a real test.
21250
21251         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21252         integer arithmetic. Return the minimum of the domain, which can be
21253         set as "internal" for gst_clock_set_calibration.
21254         (gst_net_client_clock_observe_times): Call _set_calibration.
21255         (gst_net_client_clock_new): Call _set_calibration instead of
21256         rate_offset.
21257
21258         * check/net/gstnetclientclock.c (test_functioning): Use the right
21259         adjustment api.
21260
21261         * gst/gstclock.h:
21262         * gst/gstclock.c (gst_clock_get_calibration) 
21263         (gst_clock_set_calibration): New functions, obsolete the ones I
21264         added yesterday. Doh. Precision issues mean we have to extrapolate
21265         from a point in the more recent past than 1970.
21266         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21267         obsolete.
21268         (gst_clock_adjust_unlocked): Use the right calibration data.
21269
21270 2005-11-18  Edward Hervey  <edward@fluendo.com>
21271
21272         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
21273         Also reset the ->current_* values in READY->PAUSED
21274
21275 2005-11-18  Andy Wingo  <wingo@pobox.com>
21276
21277         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21278         Whoops, check the right fd. Also add some debugging.
21279         (gst_net_client_clock_observe_times): Adjust for int64 offset.
21280         (do_linear_regression): Add a crapload of debugging. Subtract off
21281         the minimum values from the input series to discard unneeded bits.
21282         Use only int arithmetic. There is still double arithmetic when
21283         calculating the intercept that needs fixing. Return boolean to
21284         indicate success; FALSE would mean the domain or range is too
21285         great. Still needs fixes.
21286
21287 2005-11-18  Wim Taymans  <wim@fluendo.com>
21288
21289         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21290         For the current position in stream time, we need to subtract
21291         accumulated time.
21292         
21293         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21294         Release lock before calling the callback function of async
21295         entries.
21296
21297 2005-11-18  Andy Wingo  <wingo@pobox.com>
21298
21299         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21300         Port goes all the way to MAXUINT16.
21301
21302         * gst/net/gstnettimeprovider.c: Make the port range the same as
21303         for the kernel: 0 assigns, otherwise ports are less than
21304         MAXUINT16.
21305
21306         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21307         port change.
21308
21309         * check/net/gstnetclientclock.c (test_functioning): Add the start
21310         of another test. 
21311
21312 2005-11-18  Wim Taymans  <wim@fluendo.com>
21313
21314         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21315         (gst_bin_remove_func), (bin_bus_handler):
21316         * gst/gstbin.h:
21317         Removing a clock provider from a bin, triggers a clock lost message
21318         so that a new clock will be selected.
21319         Adding a clock to a bin triggers a clock provider message.
21320         Make sure we reselect a clock when we received a clock lost message.
21321         Keep a reference to the element that provided the clock.
21322
21323 2005-11-18  Andy Wingo  <wingo@pobox.com>
21324
21325         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21326         the clock initially so it produces values around the base time.
21327         (gst_net_client_clock_class_init): Typo fix.
21328         (gst_net_client_clock_thread): Add note on when the socket gets
21329         closed.
21330
21331 2005-11-17  Wim Taymans  <wim@fluendo.com>
21332
21333         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21334         Free remote and local time arrays.
21335
21336 2005-11-17  Wim Taymans  <wim@fluendo.com>
21337
21338         * gst/net/gstnetclientclock.c: (do_linear_regression),
21339         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21340         Fix compilation, uninitialized vars and a forgotten continue.
21341
21342 2005-11-17  Andy Wingo  <wingo@pobox.com>
21343
21344         * check/Makefile.am (check_PROGRAMS): 
21345         * check/net/gstnetclientclock.c: Add a most minimal test for the
21346         net client clock. More to come later.
21347
21348         * gst/net/gstnet.h: 
21349         * gst/net/Makefile.am: Add netclientclock.
21350
21351         * gst/net/gstnetclientclock.h:
21352         * gst/net/gstnetclientclock.c: New files, implement an untested
21353         GstClock that takes its time from a network time provider.
21354         Implements the algorithm in network-clock.scm.
21355
21356         * tests/network-clock.scm (*window-size*): Rename from
21357         *queue-length*.
21358         * tests/network-clock.scm (network-time): 
21359         * tests/network-clock-utils.scm (q-push): Update callers.
21360
21361 2005-11-17  Wim Taymans  <wim@fluendo.com>
21362
21363         * gst/gstbin.c: (gst_bin_provide_clock_func),
21364         (gst_bin_sort_iterator_new):
21365         And unref the child too..
21366
21367 2005-11-17  Wim Taymans  <wim@fluendo.com>
21368
21369         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21370         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21371         Refactor the sort iterator so it can be used while holding the
21372         LOCK too.
21373         Make clock selection select a clock closest to the source.
21374
21375 2005-11-17  Michael Smith <msmith@fluendo.com>
21376
21377         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21378         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21379         * gst/gstclock.h:
21380           Anonymous structs are a gcc (and some other compilers) extension, so
21381           don't use them. Since this is only for ABI-compatibility, and our
21382           API/ABI freeze is over in a few days, this whole thing will only
21383           last a few days, so don't bother trying to think up a meaningful
21384           name for the struct.
21385
21386 2005-11-17  Andy Wingo  <wingo@pobox.com>
21387
21388         * gst/gstclock.h (GstClock): Add rate and offset properties,
21389         preserving ABI stability. Add rate/offset accessors. Will file bug
21390         for the freeze break.
21391
21392         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21393         and offset, trying to keep precision and avoiding
21394         underflow/overflow.
21395         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21396         functions. Make gst_clock_set_time_adjust obsolete.
21397         (gst_clock_set_time_adjust): Note that this function is obsolete.
21398         Will file bug soon.
21399
21400         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21401         greppable by using GST_PADDING-1+1.
21402
21403 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21404
21405         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21406
21407         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21408           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21409
21410         * gst/gstpadtemplate.h:
21411         * gst/gstpluginfeature.h:
21412           Don't use c++ style comments in headers (#321638).
21413
21414 2005-11-16  Andy Wingo  <wingo@pobox.com>
21415
21416         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21417         buffer.
21418
21419         * check/net/gstnettimeprovider.c: Check to see that the time
21420         provider actually provides times. Works, yo!
21421
21422 2005-11-16  Wim Taymans  <wim@fluendo.com>
21423
21424         * check/Makefile.am:
21425         Enable more tests.
21426
21427         * check/elements/fakesrc.c: (GST_START_TEST):
21428         Set element to NULL before disposing it.
21429
21430 2005-11-16  Andy Wingo  <wingo@pobox.com>
21431
21432         * gst/net/Makefile.am:
21433         * gst/net/gstnet.h:
21434         * gst/net/gstnettimeprovider.c: 
21435         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21436         provider, include it from gstnet.h, and add it to the build.
21437
21438         * gst/net/gstnettimepacket.h: 
21439         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21440         sending and receiving.
21441
21442 2005-11-16  Wim Taymans  <wim@fluendo.com>
21443
21444         * check/Makefile.am:
21445         Enable valgrind check.
21446
21447         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21448         (gst_fake_src_alloc_buffer):
21449         Fix memleak.
21450
21451 2005-11-16  Wim Taymans  <wim@fluendo.com>
21452
21453         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21454         Call parent finalize too.
21455
21456 2005-11-16  Wim Taymans  <wim@fluendo.com>
21457
21458         * check/Makefile.am:
21459         Enable valgrind check that should work fine now.
21460
21461         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21462         * gst/gstqueue.c: (gst_queue_init):
21463         Fix memleaks in pad allocation.
21464
21465 2005-11-16  Andy Wingo  <wingo@pobox.com>
21466
21467         * gst/net/Makefile.am:
21468         * gst/net/gstnet.h: New part of core to hold network elements and
21469         objects. Put in core because it exposes API that applications want
21470         to use. The library is named libgstnet-tempname right now because
21471         of the existing libgstnet in gst-plugins-base. Solution is
21472         probably to rename the one in plugins-base; will file a bug for
21473         the freeze break.
21474
21475         * gst/net/gstnettimeprovider.c: 
21476         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21477         get_time call over the network.
21478
21479         * configure.ac: 
21480         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21481
21482         * check/Makefile.am:
21483         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21484         get additions shortly.
21485
21486 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21487
21488         * gst/gstpad.c: (gst_pad_new_from_static_template):
21489         * gst/gstpad.h:
21490           add gst_pad_new_from_static_template functions
21491         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21492         (gst_check_setup_sink_pad):
21493         * gst/elements/gsttee.c: (gst_tee_init):
21494           and use them
21495
21496 2005-11-16  Wim Taymans  <wim@fluendo.com>
21497
21498         * gst/gstpad.c: (gst_pad_pause_task):
21499         Removed warning, it's not really an error either.
21500
21501 2005-11-16  Wim Taymans  <wim@fluendo.com>
21502
21503         * gst/base/gstbasetransform.c:
21504         (gst_base_transform_prepare_output_buf),
21505         (gst_base_transform_event):
21506         Check if the caps are NULL, this can happen if the element
21507         is shutting down and the pad caps are set to NULL.
21508
21509 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21510
21511         * gst/elements/gsttee.c: (gst_tee_init):
21512           fix pad template leak in tee
21513
21514 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21515
21516         * gst/glib-compat.c: (g_value_dup_gst_object):
21517         * gst/glib-compat.h:
21518         * gst/gstpad.c: (gst_pad_set_property):
21519           use gst_object_ref when setting the pad template; this will
21520           trigger the pad template leaks on GLib 2.6 and the slaves
21521
21522 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21523
21524         * gst/glib-compat.c: (gst_flags_get_first_value):
21525         * gst/glib-compat.h:
21526         * gst/gstregistryxml.c:
21527           remove functions copied from GLib 2.6
21528
21529 2005-11-16  Michael Smith <msmith@fluendo.com>
21530
21531         * gst/Makefile.am:
21532           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21533           do, but only breaks with newer valgrind versions. We're not a
21534           valgrind tool, we have no link-time dependencies on libcoregrind.
21535
21536 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21537
21538         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21539           some debug changes
21540         * gst/gstmessage.h:
21541           typo fixes
21542
21543 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21544
21545         * gst/base/gstbasesrc.c: (gst_base_src_init):
21546         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21547         * gst/gstqueue.c: (gst_queue_init):
21548         * gst/gstregistryxml.c: (load_feature):
21549           Revert all these unrefs, they don't even pass make check !
21550
21551 2005-11-15  Johan Dahlin  <johan@gnome.org>
21552
21553         * gst/base/gstbasesrc.c: (gst_base_src_init):
21554         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21555         * gst/gstqueue.c: (gst_queue_init): 
21556         Free pad templates, fixes a couple of leaks.
21557
21558 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21559
21560         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21561
21562         * gst/gstpad.c: (gst_pad_get_property):
21563           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21564           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21565           (#321452)
21566
21567 2005-11-15  Wim Taymans  <wim@fluendo.com>
21568
21569         * gst/gstevent.c:
21570         Small doc update.
21571
21572 2005-11-15  Andy Wingo  <wingo@pobox.com>
21573
21574         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21575
21576         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21577         using GST_CLOCK_TIME_NONE to disable base time management.
21578         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21579         time if it was NONE before.
21580         (gst_pipeline_change_state): Only munge the base time if
21581         stream_time != GST_CLOCK_TIME_NONE.
21582
21583         * check/gst/gstpipeline.c (test_base_time): Punt around the
21584         problem of the probe not being called, because that's not the
21585         issue I'm looking at. Add a check that setting stream_time to NONE
21586         disables base time management.
21587         
21588 2005-11-15  Wim Taymans  <wim@fluendo.com>
21589
21590         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21591         segment_stop == -1 at startup.
21592
21593         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21594         (gst_base_transform_change_state):
21595         Init segment values at start.
21596
21597 2005-11-15  Wim Taymans  <wim@fluendo.com>
21598
21599         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21600         0 segment values are 0 in any format.
21601
21602         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21603         * gst/base/gstbasetransform.h:
21604         Parse newsegment correctly in basetransform
21605
21606         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21607         Sync to clock using updated segment values.
21608
21609 2005-11-15  Andy Wingo  <wingo@pobox.com>
21610
21611         * check/gst/gstpipeline.c (test_base_time): Add check that the
21612         base time and stream time are reset correctly.
21613
21614 2005-11-15  Wim Taymans  <wim@fluendo.com>
21615
21616         * docs/design/part-TODO.txt:
21617         Some more TODO items.
21618
21619 2005-11-15  Andy Wingo  <wingo@pobox.com>
21620
21621         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21622         error if the user selected "no clock" as the clocking method.
21623
21624         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21625         timestamps with live capture.
21626
21627         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21628         is 0 but we are a live source, timestamp the buffers using the
21629         element's clock.
21630
21631 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21632
21633         * docs/gst/gstreamer-sections.txt:
21634         * gst/gsterror.c:
21635         * gst/gstghostpad.c:
21636         * gst/gstobject.h:
21637         * gst/gstxml.c:
21638           more section docs
21639
21640 2005-11-14  Wim Taymans  <wim@fluendo.com>
21641
21642         * common/gst.supp:
21643           add suppressions from Wim's Debian machine
21644
21645 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21646
21647         * common/gst.supp:
21648           add suppressions from Andy's AMD64 Ubuntu machine
21649
21650 2005-11-14  Andy Wingo  <wingo@pobox.com>
21651
21652         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21653         STATE_LOCK not necessary. Fixes #311489.
21654
21655         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21656         #305291.
21657
21658         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21659         this function is not implemented.
21660
21661 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21662
21663         * gst/base/gstbasetransform.c:
21664         (gst_base_transform_prepare_output_buf):
21665         Ref the source pad caps while we need them.
21666         Fixes (#321386)
21667
21668 2005-11-11  Wim Taymans  <wim@fluendo.com>
21669
21670         * docs/gst/gstreamer-sections.txt:
21671         Added some docs for GstCollectData.
21672
21673         * gst/base/gstadapter.c:
21674         Some small code example fix.
21675
21676         * gst/base/gstcollectpads.c:
21677         * gst/base/gstcollectpads.h:
21678         Document some more.
21679
21680 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21681
21682         * configure.ac: back to HEAD
21683
21684 === release 0.9.5 ===
21685
21686 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21687
21688         * configure.ac:
21689           releasing 0.9.5, "Bike Lunch Day"
21690
21691 2005-11-11  Wim Taymans  <wim@fluendo.com>
21692
21693         * gst/gstbuffer.c: (_gst_buffer_copy):
21694         Copy more flags.
21695
21696         * gst/gstcaps.c: (gst_caps_is_equal):
21697         Fix some docs.
21698         Make _is_equal fast in the trivial cases.
21699
21700         * gst/gstminiobject.c:
21701         * gst/gstminiobject.h:
21702         More docs. Spifify .h file.
21703
21704         * gst/gstutils.c:
21705         Small doc update.
21706
21707 2005-11-11  Wim Taymans  <wim@fluendo.com>
21708
21709         * gst/base/gstbasetransform.c:
21710         (gst_base_transform_prepare_output_buf),
21711         (gst_base_transform_handle_buffer):
21712         Small cleanups.
21713         If we're processing a buffer and need to allocate an output
21714         buffer, we cannot accept a format change. If we did get a 
21715         format change, we have to alloc a buffer ourselves of the 
21716         right size.
21717
21718 2005-11-11  Wim Taymans  <wim@fluendo.com>
21719
21720         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21721         While checking the flag for reentrancy in the gstcaps function
21722         is nice to detect recursive invocations, it also makes it 
21723         impossible to call getcaps from multiple threads, which must be
21724         possible. So, checking for recursive calls has to go.
21725
21726 2005-11-11  Michael Smith <msmith@fluendo.com>
21727
21728         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21729           Don't sync on buffers that fall partially outside our current
21730           segment. Prevents an assertion failure/abort playing some files.
21731
21732 2005-11-10  Andy Wingo  <wingo@pobox.com>
21733
21734         * check/gst/gstbin.c (test_message_state_changed_children): Style
21735         fix..
21736
21737         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21738         gst_bus_poll with the signal watch. Ensures that poll and a signal
21739         watch see the same messages.
21740
21741         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21742         a poll and a watch at the same time get the same messages.
21743
21744 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21745
21746         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21747         * gst/gstcaps.c: (gst_caps_intersect):
21748           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21749           and it's not needed.
21750
21751 2005-11-10  Wim Taymans  <wim@fluendo.com>
21752
21753         * docs/design/part-TODO.txt:
21754         Updated todo.
21755
21756 2005-11-10  Wim Taymans  <wim@fluendo.com>
21757
21758         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21759         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21760         (gst_base_src_do_sync), (gst_base_src_get_range):
21761         Implement clock sync in base class.
21762
21763 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21764
21765         patch by: Tim-Philipp Müller <tim at centricular dot net>
21766
21767         * gst/gststructure.c: (gst_structure_parse_field),
21768         (gst_structure_from_string):
21769           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21770           so that gst_parse_launch() can deal with spaces in filtered link
21771           caps (fixes #164479)
21772         * check/gst/capslist.h:
21773         * check/gst/gststructure.c: (GST_START_TEST):
21774           add unit tests for this change
21775
21776 2005-11-10  Wim Taymans  <wim@fluendo.com>
21777
21778         * docs/gst/gstreamer-sections.txt:
21779         * gst/gstelement.c:
21780         * gst/gstelement.h:
21781         Fix docs, move some STATE macros to private.
21782
21783 2005-11-10  Wim Taymans  <wim@fluendo.com>
21784
21785         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21786         Added check for bug #317341
21787
21788         * gst/gstbuffer.c:
21789         * gst/gstbuffer.h:
21790         Some more spiffifying.
21791
21792         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21793         Call peer linkfunction if we are a source pad. Totally fixes
21794         #317341
21795
21796         * gst/gstpad.c:
21797         Update docs, source pads should call the peer linkfunction
21798         so they can atomically perform the pad link.
21799
21800 2005-11-09  Wim Taymans  <wim@fluendo.com>
21801
21802         * gst/gstbuffer.c:
21803         * gst/gstbuffer.h:
21804         Uber-spiffy-spiffify some more.
21805
21806 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21807
21808         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21809         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21810         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21811         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21812         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21813         * gst/gstpad.c: (gst_pad_init):
21814           Use GST_DEBUG_FUNCPTR() more extensively.
21815
21816 2005-11-09  Wim Taymans  <wim@fluendo.com>
21817
21818         * gst/gstobject.c: (gst_object_class_init):
21819         * gst/gstobject.h:
21820         Documentation fixes.
21821
21822 2005-11-09  Edward Hervey  <edward@fluendo.com>
21823
21824         * gst/gsttypefindfactory.c:
21825         Fix docs.
21826         
21827 2005-11-09  Edward Hervey  <edward@fluendo.com>
21828
21829         * gst/base/gsttypefindhelper.c:
21830         * gst/gsttypefind.c:
21831         * gst/gsttypefind.h:
21832         Fix docs.
21833
21834 2005-11-09  Wim Taymans  <wim@fluendo.com>
21835
21836         * gst/gstiterator.c:
21837         Fix revision data.
21838
21839         * gst/gsttask.c:
21840         * gst/gsttask.h:
21841         Fix docs.
21842
21843 2005-11-09  Wim Taymans  <wim@fluendo.com>
21844
21845         * gst/gstevent.h:
21846         * gst/gsturi.h:
21847         Fix docs.
21848
21849 2005-11-09  Wim Taymans  <wim@fluendo.com>
21850
21851         * docs/gst/gstreamer-sections.txt:
21852         Moved the message async delivery private lock and cond
21853         to the private section.
21854
21855         * gst/gstmessage.c:
21856         * gst/gstmessage.h:
21857         Fixed docs.
21858
21859 2005-11-09  Edward Hervey  <edward@fluendo.com>
21860
21861         * docs/gst/gstreamer-sections.txt:
21862         * gst/gsturi.c:
21863         * gst/gsturi.h:
21864         Document GstURIHandler
21865
21866 2005-11-09  Wim Taymans  <wim@fluendo.com>
21867
21868         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21869         (gst_iterator_find_custom):
21870         * gst/gstiterator.h:
21871         Fix iterator docs.
21872
21873 2005-11-09  Wim Taymans  <wim@fluendo.com>
21874
21875         * gst/gstbin.h:
21876         Document another field.
21877
21878         * gst/gststructure.c:
21879         * gst/gststructure.h:
21880         Document.
21881
21882 2005-11-09  Wim Taymans  <wim@fluendo.com>
21883
21884         * gst/gstbin.h:
21885         Documented structs.
21886
21887 2005-11-09  Wim Taymans  <wim@fluendo.com>
21888
21889         * docs/gst/gstreamer-sections.txt:
21890         Added some new macros.
21891
21892         * gst/gstclock.c:
21893         * gst/gstclock.h:
21894         * gst/gstobject.h:
21895         Docs updates.
21896
21897 2005-11-09  Wim Taymans  <wim@fluendo.com>
21898
21899         * docs/design/part-TODO.txt:
21900         Some more items for the TODO
21901
21902         * gst/gstcaps.c:
21903         * gst/gstcaps.h:
21904         Document GstCaps.
21905
21906 2005-11-09  Andy Wingo  <wingo@pobox.com>
21907
21908         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21909         to work on something else now tho...
21910
21911         * gst/base/gstadapter.c: More adapter docs.
21912
21913         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21914         (gst_file_sink_stop): New functions, replace the state change
21915         handler.
21916         (gst_file_sink_class_init): Hook up the start and stop functions.
21917         (gst_file_sink_base_init): Don't set the state change handler any
21918         more. It was a bit ugly too, being set from here...
21919         (gst_file_sink_get_property, gst_file_sink_set_property):
21920         Cleanups...
21921         (gst_file_sink_set_location): More robust check that doesn't call
21922         GST_STATE. Ugggggg.
21923
21924 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21925
21926         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21927           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21928
21929 2005-11-08  Wim Taymans  <wim@fluendo.com>
21930
21931         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21932         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21933         (gst_base_sink_chain), (gst_base_sink_change_state):
21934         * gst/base/gstbasesink.h:
21935         * gst/base/gstbasesrc.h:
21936         * gst/gstelement.h:
21937         * gst/gstevent.h:
21938         Avoid excessive typechecking in macros.
21939
21940         * gst/gstminiobject.c: (gst_mini_object_get_type),
21941         (gst_mini_object_init), (gst_mini_object_new),
21942         (gst_mini_object_free):
21943         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21944         (gst_object_finalize):
21945         Remove cruft code, optimize alloc_trace.
21946
21947 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21948
21949         * docs/faq/gst-uninstalled:
21950           fix up PS1 for systems that try to reset it
21951
21952 2005-11-07  Wim Taymans  <wim@fluendo.com>
21953
21954         * gst/base/gstbasesrc.c: (gst_base_src_init),
21955         (gst_base_src_get_range):
21956         Set the segment_end to -1 initially. Fixed typefind.
21957
21958 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21959
21960         * gst/base/gstadapter.c:
21961           Debug category should be 'adapter', not 'GstAdapter'.
21962           
21963         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21964         (gst_collectpads_class_init), (gst_collectpads_init),
21965         (gst_collectpads_peek), (gst_collectpads_pop),
21966         (gst_collectpads_event), (gst_collectpads_chain):
21967           Add debug category and some debugging output. Use boilerplate
21968           macros. Remove some extraneous words from docs.
21969
21970 2005-11-05  Andy Wingo  <wingo@pobox.com>
21971
21972         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21973         macro.
21974
21975 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21976
21977         * docs/gst/gstreamer-sections.txt:
21978         * gst/gstcaps.h:
21979         * gst/gstinfo.c:
21980         * gst/gstminiobject.h:
21981         * gst/gstobject.h:
21982         * gst/gstutils.h:
21983           more docs added
21984
21985 2005-11-04  Wim Taymans  <wim@fluendo.com>
21986
21987         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21988         Small update to stop at the configured segment_end
21989         position.
21990
21991 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21992
21993         * gst/gstregistry.c:
21994         * gst/gstregistry.h:
21995           added missing docs
21996
21997 2005-11-04  Edward Hervey  <edward@fluendo.com>
21998
21999         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22000         Check if we are doing a segment seek and have arrived at the
22001         end of that segment.
22002
22003 2005-11-04  Wim Taymans  <wim@fluendo.com>
22004
22005         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
22006         Don't leak a mutex unlock in case of an error.
22007
22008         * gst/gstbus.h:
22009         Doc fixes.
22010
22011 2005-11-04  Wim Taymans  <wim@fluendo.com>
22012
22013         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
22014         (gst_bus_post):
22015         Get the context to wake up only once.
22016
22017 2005-11-03  Wim Taymans  <wim@fluendo.com>
22018
22019         * check/states/sinks.c: (GST_START_TEST):
22020         Uncomment fixed check.
22021
22022         * docs/design/part-TODO.txt:
22023         Updated TODO.
22024
22025         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22026         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22027         (gst_base_sink_get_position):
22028         If we are going to PLAYING, post the right pending state
22029         when we post the intermediate paused message.
22030
22031         * gst/gstelement.c: (gst_element_continue_state),
22032         (gst_element_set_state_func), (gst_element_change_state):
22033         Don't post state changes that were between the same state
22034         and were not ASYNC.
22035
22036 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
22037
22038         * docs/gst/gstreamer-sections.txt:
22039         * gst/gstcaps.h:
22040         * gst/gstinfo.c:
22041         * gst/gstminiobject.h:
22042         * gst/gstobject.h:
22043         * gst/gstutils.h:
22044           more docs and doc style fixes
22045
22046 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
22047
22048         * docs/gst/gstreamer-sections.txt:
22049         * gst/gstelement.c:
22050         * gst/gstminiobject.c:
22051         doc fixes
22052
22053 2005-11-03  Andy Wingo  <wingo@pobox.com>
22054
22055         * check/states/sinks.c (test_livesrc_sink): Add checks that the
22056         state-changed messages actually have the right order and the right
22057         values.
22058
22059 2005-11-03  Wim Taymans  <wim@fluendo.com>
22060
22061         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22062         Added some more checks. Specifically the case where NO_PREROLL
22063         elements are in the pipeline.
22064
22065         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22066         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22067         (gst_base_sink_get_position):
22068         Post READY->PAUSED state change messages too.
22069         Fix bug where VOID was posted as pending state...
22070
22071         * gst/gstbin.c: (gst_bin_recalc_state):
22072         use _element_continue_state() to continue the state change.
22073
22074         * gst/gstelement.c: (gst_element_continue_state),
22075         (gst_element_commit_state), (gst_element_set_state_func),
22076         (gst_element_change_state), (gst_element_change_state_func):
22077         Lots of state change cleanups, assign the STATE_RETURN in
22078         a new continue_state() function that also propagates the
22079         last return value from a state change to the app.
22080         Update some debug statements with proper category.
22081
22082 2005-11-03  Wim Taymans  <wim@fluendo.com>
22083
22084         * docs/design/part-events.txt:
22085         * docs/design/part-gstpipeline.txt:
22086         * docs/design/part-messages.txt:
22087         * docs/design/part-overview.txt:
22088         * docs/design/part-seeking.txt:
22089         * docs/design/part-states.txt:
22090         * docs/design/part-trickmodes.txt:
22091         * docs/manual/advanced-position.xml:
22092         Small docs updates.
22093
22094         * gst/gstobject.h:
22095         People think !! is ugly, this looks better.
22096
22097         * gst/gstpad.c: (gst_pad_set_blocked_async):
22098         Remove !! since it's fixed elsewhere now.
22099
22100 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22101
22102         * gst/gstminiobject.h:
22103         * gst/gstobject.h:
22104           Add !! to _FLAG_IS_SET macros to make the result boolean.
22105
22106 2005-11-03  Edward Hervey  <edward@fluendo.com>
22107
22108         * gst/gstpad.c: (gst_pad_set_blocked_async):
22109         comparing a flag and a gboolean rarely returns coherent results...
22110         Added two characters (!!) to make that work correctly.
22111         
22112 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22113
22114         * gst/gstbus.c: (gst_bus_class_init):
22115           Fix some typos.
22116           
22117         * gst/gstqueue.c: (gst_queue_loop):
22118           Don't assume a miniobject that isn't a buffer is an
22119           event (it could be that there is a refcounting
22120           problem somewhere and the pointer is stale and
22121           refers to an already destroyed miniobject).
22122
22123 2005-11-03  Julien MOUTTE  <julien@moutte.net>
22124
22125         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22126
22127 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22128
22129         * docs/manual/advanced-position.xml:
22130           Update seek example and explanations to current 0.9 API.
22131
22132         * gst/elements/gsttypefindelement.c:
22133         (gst_type_find_element_activate):
22134           Remove FIXME comment now that the found caps
22135           are unreffed.
22136
22137 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22138
22139         * gst/gstregistryxml.c: (load_feature):
22140           Add another GST_STR_NULL instance
22141
22142 2005-11-02  Edward Hervey  <edward@fluendo.com>
22143
22144         * gst/gstpad.c: (handle_pad_block):
22145         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22146         
22147 2005-11-02  Wim Taymans  <wim@fluendo.com>
22148
22149         * gst/gstbin.c:
22150         Fix typo in docs.
22151
22152         * gst/gstelement.c: (gst_element_commit_state):
22153         Remove unused value.
22154
22155         * gst/gstiterator.c:
22156         Mention that the returned element is reffed in the docs.
22157
22158 2005-11-02  Wim Taymans  <wim@fluendo.com>
22159
22160         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22161         (gst_pad_push), (gst_pad_push_event):
22162         Unlock blocked pads when they are flushed.
22163
22164 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22165
22166         * docs/README:
22167         * docs/gst/gstreamer-sections.txt:
22168         * gst/gstbin.c:
22169           doc updates
22170         * gst/gstregistry.c: (gst_registry_scan_path_level):
22171           fix for a nasty little missed situation where an installed plug-in
22172           which was in the cache did not get overridden by an uninstalled one
22173           which was earlier in the plugin path because the newly created plugin
22174           for the uninstalled one (not in the registry) didn't get its
22175           ->registered set to TRUE
22176
22177 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22178
22179         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22180         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22181         (gst_collectpads_is_active), (gst_collectpads_collect),
22182         (gst_collectpads_collect_range), (gst_collectpads_start),
22183         (gst_collectpads_stop), (gst_collectpads_peek),
22184         (gst_collectpads_pop), (gst_collectpads_available),
22185         (gst_collectpads_read), (gst_collectpads_flush):
22186           Guard public API with assertions.
22187         
22188         * gst/gstpad.c:
22189           Fix docs for gst_pad_set_link_function().
22190
22191 2005-11-02  Johan Dahlin  <johan@gnome.org>
22192
22193         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
22194         Unref found_caps after we used it.
22195
22196 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22197
22198         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22199           Don't try to ref NULL.
22200
22201 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22202
22203         * win32/common/config.h.in:
22204           provide a GST_FUNCTION that just gives a string for now
22205
22206 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22207
22208         * win32/common/gstenumtypes.c: (register_gst_object_flags),
22209         (gst_object_flags_get_type), (register_gst_bin_flags),
22210         (gst_bin_flags_get_type), (register_gst_buffer_flag),
22211         (gst_buffer_flag_get_type), (register_gst_bus_flags),
22212         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22213         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22214         (gst_clock_return_get_type), (register_gst_clock_entry_type),
22215         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22216         (gst_clock_flags_get_type), (register_gst_state),
22217         (gst_state_get_type), (register_gst_state_change_return),
22218         (gst_state_change_return_get_type), (register_gst_state_change),
22219         (gst_state_change_get_type), (register_gst_element_flags),
22220         (gst_element_flags_get_type), (register_gst_core_error),
22221         (gst_core_error_get_type), (register_gst_library_error),
22222         (gst_library_error_get_type), (register_gst_resource_error),
22223         (gst_resource_error_get_type), (register_gst_stream_error),
22224         (gst_stream_error_get_type), (register_gst_event_type),
22225         (gst_event_type_get_type), (register_gst_seek_type),
22226         (gst_seek_type_get_type), (register_gst_seek_flags),
22227         (gst_seek_flags_get_type), (register_gst_format),
22228         (gst_format_get_type), (register_gst_index_certainty),
22229         (gst_index_certainty_get_type), (register_gst_index_entry_type),
22230         (gst_index_entry_type_get_type),
22231         (register_gst_index_lookup_method),
22232         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22233         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22234         (gst_index_resolver_method_get_type), (register_gst_index_flags),
22235         (gst_index_flags_get_type), (register_gst_debug_level),
22236         (gst_debug_level_get_type), (register_gst_debug_color_flags),
22237         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22238         (gst_iterator_result_get_type), (register_gst_iterator_item),
22239         (gst_iterator_item_get_type), (register_gst_message_type),
22240         (gst_message_type_get_type), (register_gst_mini_object_flags),
22241         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22242         (gst_pad_link_return_get_type), (register_gst_flow_return),
22243         (gst_flow_return_get_type), (register_gst_activate_mode),
22244         (gst_activate_mode_get_type), (register_gst_pad_direction),
22245         (gst_pad_direction_get_type), (register_gst_pad_flags),
22246         (gst_pad_flags_get_type), (register_gst_pad_presence),
22247         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22248         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22249         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22250         (gst_plugin_error_get_type), (register_gst_plugin_flags),
22251         (gst_plugin_flags_get_type), (register_gst_rank),
22252         (gst_rank_get_type), (register_gst_query_type),
22253         (gst_query_type_get_type), (register_gst_tag_merge_mode),
22254         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22255         (gst_tag_flag_get_type), (register_gst_task_state),
22256         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22257         (gst_alloc_trace_flags_get_type),
22258         (register_gst_type_find_probability),
22259         (gst_type_find_probability_get_type), (register_gst_uri_type),
22260         (gst_uri_type_get_type), (register_gst_parse_error),
22261         (gst_parse_error_get_type):
22262         * win32/common/gstversion.h:
22263           update win32 copies
22264
22265 2005-11-01  Luca Ognibene  <luogni@tin.it>
22266
22267         * gst/gst.c:
22268           fix docs. popt is dead, long live GOption.
22269
22270 2005-10-31  Wim Taymans  <wim@fluendo.com>
22271
22272         * gst/gstbuffer.h:
22273         Small doc fix.
22274
22275 2005-10-31  Andy Wingo  <wingo@pobox.com>
22276
22277         * Boo!
22278
22279         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22280
22281         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22282         need to serialize property notifications on GLib 2.8. GLib 2.6 has
22283         the possibility of deadlocks here if code calling notify() or
22284         set() has a lock that can be taken in another notify handler (ABBA
22285         with class lock and e.g. python GIL state lock).
22286
22287 2005-10-28  Julien MOUTTE  <julien@moutte.net>
22288
22289         * gst/gstbus.c: Doc updates.
22290
22291 2005-10-28  Wim Taymans  <wim@fluendo.com>
22292
22293         * docs/design/part-TODO.txt:
22294         * gst/gstiterator.c:
22295         * gst/gstsystemclock.c:
22296         * gst/gstsystemclock.h:
22297         Doc updates.
22298
22299 2005-10-28  Edward Hervey  <edward@fluendo.com>
22300
22301         * docs/gst/gstreamer-docs.sgml:
22302         * docs/gst/gstreamer-sections.txt:
22303         the GstURIType documentation page is private, it only defines GstURIType
22304         which should be defined in the GstURIHandler page
22305         
22306 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22307
22308         * gst/gstbin.c: (gst_bin_class_init):
22309         * gst/gstbin.h:
22310         * gst/gstutils.c:
22311         Documentation updates.
22312
22313 2005-10-28  Wim Taymans  <wim@fluendo.com>
22314
22315         * docs/gst/gstreamer-sections.txt:
22316         * gst/gstclock.c:
22317         * gst/gstclock.h:
22318         Documented the clocks.
22319
22320 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22321
22322         * docs/gst/gstreamer-sections.txt:
22323           move some macros to private sections
22324         * gst/gstminiobject.c:
22325         * gst/gstminiobject.h:
22326           add descriptions provided by ds and some more
22327         * gst/gstpad.h:
22328           mark macro as to be removed
22329
22330 2005-10-28  Wim Taymans  <wim@fluendo.com>
22331
22332         * docs/design/part-TODO.txt:
22333         Add an item to TODO.
22334
22335         * gst/gstiterator.c: (gst_iterator_fold),
22336         (gst_iterator_find_custom):
22337         * gst/gstiterator.h:
22338         Add iterator docs.
22339
22340 2005-10-28  Wim Taymans  <wim@fluendo.com>
22341
22342         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22343         (gst_base_transform_init):
22344         Don't leak class.
22345
22346         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22347         An EOS event marks the queue as completely filled.
22348
22349 2005-10-27  Wim Taymans  <wim@fluendo.com>
22350
22351         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22352         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22353         Some more debugging.
22354
22355         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22356         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22357         (gst_base_transform_event), (gst_base_transform_getrange),
22358         (gst_base_transform_chain):
22359         * gst/base/gstbasetransform.h:
22360         Fix debugging,
22361         Protect transform and concurrent buffer alloc with a new lock.
22362         Try not to break ABI/API.
22363
22364 2005-10-27  Wim Taymans  <wim@fluendo.com>
22365
22366         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22367         (gst_base_src_init), (gst_base_src_query),
22368         (gst_base_src_default_newsegment),
22369         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22370         (gst_base_src_send_event), (gst_base_src_event_handler),
22371         (gst_base_src_pad_get_range), (gst_base_src_loop),
22372         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22373         (gst_base_src_start), (gst_base_src_deactivate),
22374         (gst_base_src_activate_push), (gst_base_src_change_state):
22375         Move some stuff around and cleanup things.
22376
22377 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22378
22379         * gst/base/gstbasesrc.c: (gst_base_src_query):
22380           Add missing break statements.
22381
22382 2005-10-27  Wim Taymans  <wim@fluendo.com>
22383
22384         * check/gst/gstbin.c: (GST_START_TEST):
22385         An extra refcount is taken in basesrc.
22386
22387         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22388         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22389         (gst_base_src_loop):
22390         Small cleanups, check for flushing after being unlocked from the 
22391         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22392         Don't send out EOS when going to READY.
22393
22394 2005-10-27  Wim Taymans  <wim@fluendo.com>
22395
22396         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22397         (gst_base_sink_get_position):
22398         Some more debug.
22399
22400         * gst/gstbin.c: (message_check), (bin_replace_message),
22401         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22402         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22403         (bin_query_duration_init), (bin_query_duration_fold),
22404         (bin_query_duration_done), (bin_query_generic_fold),
22405         (gst_bin_query):
22406         * tools/gst-launch.c: (main):
22407         Remove old option.
22408
22409 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22410
22411         * examples/controller/audio-example.c: (main):
22412         * examples/queue/queue.c: (event_loop):
22413         * gst/base/gstbasetransform.h:
22414         * gst/gstelement.c: (gst_element_send_event):
22415         * gst/gstevent.h:
22416         * gst/gstpad.c: (gst_pad_send_event):
22417           fixing examples
22418           fixing docs typos
22419           changing log priority in error situations
22420
22421 2005-10-25  Wim Taymans  <wim@fluendo.com>
22422
22423         * gst/gstbin.c: (message_check), (bin_replace_message),
22424         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22425         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22426         (bin_query_duration_init), (bin_query_duration_fold),
22427         (bin_query_duration_done), (bin_query_generic_fold),
22428         (gst_bin_query):
22429         Some doc and debug updates.
22430         Cache previously requested query DURATION for speed. invalidate
22431         cached duration if element posts a DURATION message.
22432
22433 2005-10-25  Wim Taymans  <wim@fluendo.com>
22434
22435         * docs/design/part-TODO.txt:
22436         Update TODO.
22437
22438         * gst/gstbin.c: (message_check), (bin_replace_message),
22439         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22440         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22441         (bin_query_duration_init), (bin_query_duration_fold),
22442         (bin_query_duration_done), (bin_query_generic_fold),
22443         (gst_bin_query):
22444         Handle SEGMENT_START/DONE messages correctly.
22445         More evolved query algorithm that handles duration queries
22446         correctly.
22447
22448         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22449         (gst_element_get_state_func), (gst_element_abort_state),
22450         (gst_element_commit_state), (gst_element_lost_state):
22451         Some more debugging.
22452
22453         * gst/gstmessage.h:
22454         Added doc.
22455
22456 2005-10-25  Wim Taymans  <wim@fluendo.com>
22457
22458         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22459         Don't use invalid stream_time.
22460
22461         * gst/gstevent.c: (gst_event_new_newsegment):
22462         stream_time in newsegment cannot be undefined.
22463
22464 2005-10-24  Wim Taymans  <wim@fluendo.com>
22465
22466         * gst/gstbus.c:
22467         Doc fix.
22468
22469         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22470         (gst_queue_loop):
22471         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22472
22473 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22474
22475         * docs/libs/tmpl/gstdparam.sgml:
22476         * docs/libs/tmpl/gstdplinint.sgml:
22477         * docs/libs/tmpl/gstdpman.sgml:
22478         * docs/libs/tmpl/gstdpsmooth.sgml:
22479         * docs/libs/tmpl/gstunitconvert.sgml:
22480           these are obsolete
22481
22482 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22483
22484         * configure.ac:
22485           back to HEAD
22486
22487 === release 0.9.4 ===
22488
22489 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22490
22491         * configure.ac:
22492           releasing 0.9.4, "Tyrannosaurus Rex"
22493
22494 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22495
22496         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22497         (gst_file_sink_get_current_offset):
22498           Use fseeko() and ftello() if available. When falling back on
22499           lseek() to get the current offset, fflush() first to make sure
22500           everything is up-to-date and we get the right offset.
22501
22502 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22503
22504         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22505         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22506         * gst/gsterror.c: (_gst_stream_errors_init):
22507         * gst/gsterror.h:
22508         * gst/gstqueue.c: (gst_queue_loop):
22509         * po/POTFILES.in:
22510           remove prematurely added error category and clean up the instances
22511
22512 2005-10-21  Wim Taymans  <wim@fluendo.com>
22513
22514         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22515         (gst_base_sink_get_position), (gst_base_sink_query),
22516         (gst_base_sink_change_state):
22517         Simply set the right flag when going to playing, that's all
22518         we need to do instead of calling a function inside the object
22519         lock (that could take the lock as well and deadlock)
22520
22521 2005-10-21  Wim Taymans  <wim@fluendo.com>
22522
22523         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22524         (gst_base_src_loop):
22525         Don't warn, the peer element knows what to do best when
22526         the seek failed, it might try something else.
22527
22528 2005-10-21  Wim Taymans  <wim@fluendo.com>
22529
22530         * gst/base/gstbasesrc.c: (gst_base_src_init),
22531         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22532         Fix seeking.
22533
22534 2005-10-21  Wim Taymans  <wim@fluendo.com>
22535
22536         * docs/design/part-segments.txt:
22537         More docs.
22538
22539         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22540         Correctly set caps, even on the subbufer.
22541
22542 2005-10-21  Wim Taymans  <wim@fluendo.com>
22543
22544         * docs/gst/gstreamer-docs.sgml:
22545         * docs/gst/gstreamer-sections.txt:
22546         * gst/gstelement.h:
22547         * gst/gstevent.c:
22548         * gst/gstevent.h:
22549         * gst/gstmessage.h:
22550         * gst/gstpad.h:
22551         * gst/gstparse.h:
22552         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22553         * gst/gsttask.h:
22554         * gst/gstutils.c:
22555         * gst/gstutils.h:
22556         And 2% more doc coverage.
22557
22558 2005-10-21  Andy Wingo  <wingo@pobox.com>
22559
22560         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22561         position reporting.
22562
22563 2005-10-20  Wim Taymans  <wim@fluendo.com>
22564
22565         * gst/gsterror.c: (gst_error_get_message):
22566         * gst/gstparse.h:
22567         * gst/gstquery.h:
22568         * gst/gststructure.c:
22569         * gst/gsttrace.c:
22570         * gst/gstutils.c:
22571         More docs.
22572
22573 2005-10-20  Wim Taymans  <wim@fluendo.com>
22574
22575         * gst/gstbuffer.h:
22576         * gst/gstpad.c:
22577         * gst/gstparse.c:
22578         Another 1% more coverage.
22579
22580 2005-10-20  Wim Taymans  <wim@fluendo.com>
22581
22582         * docs/gst/gstreamer-sections.txt:
22583         * gst/gstelement.c: (gst_element_get_state_func),
22584         (gst_element_abort_state), (gst_element_commit_state),
22585         (gst_element_lost_state):
22586         * gst/gstevent.h:
22587         * gst/gstquery.c: (gst_query_set_position),
22588         (gst_query_parse_position), (gst_query_set_duration),
22589         (gst_query_parse_duration), (gst_query_new_convert):
22590         * gst/gstutils.c:
22591         Yay! 1% more docs coverage.
22592
22593 2005-10-20  Wim Taymans  <wim@fluendo.com>
22594
22595         * gst/gstpad.h:
22596         * gst/gstquery.c: (gst_query_set_position),
22597         (gst_query_parse_position), (gst_query_set_duration),
22598         (gst_query_parse_duration), (gst_query_new_convert):
22599         * gst/gstquery.h:
22600         * gst/gstutils.c: (gst_element_query_convert):
22601         * gst/gstutils.h:
22602         Docs and consistency fixes.
22603
22604 2005-10-20  Wim Taymans  <wim@fluendo.com>
22605
22606         * gst/gsttask.c:
22607         * gst/gsttask.h:
22608         More docs.
22609
22610 2005-10-20  Wim Taymans  <wim@fluendo.com>
22611
22612         * gst/gstbin.c: (message_check), (bin_replace_message),
22613         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22614         (update_degree), (gst_bin_sort_iterator_next),
22615         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22616         Reworked the message handling a bit, cache the messages instead of
22617         only the senders. alows us to do more in the future.
22618
22619 2005-10-20  Wim Taymans  <wim@fluendo.com>
22620
22621         * docs/design/part-TODO.txt:
22622         Update TODO
22623
22624         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22625         (gst_base_sink_query):
22626         Don't use clock time to report position when in EOS.
22627
22628 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22629
22630         * tools/gst-inspect.c: (print_interfaces),
22631         (print_element_properties_info), (print_element_info):
22632           Fix interface output with gst-inspect -a; don't print
22633           newlines after double/float properties.
22634
22635 2005-10-20  Wim Taymans  <wim@fluendo.com>
22636
22637         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22638         (gst_base_sink_query):
22639         Speed up current position calculation.
22640
22641         * gst/base/gstbasesrc.c: (gst_base_src_query),
22642         (gst_base_src_default_newsegment):
22643         Correctly set stream position in newsegment.
22644
22645         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22646         (update_degree), (gst_bin_sort_iterator_next),
22647         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22648         * gst/gstmessage.c: (gst_message_new_custom):
22649         Clean up debugging info
22650
22651         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22652         (gst_queue_loop), (gst_queue_handle_src_query):
22653         Pause task faster.
22654
22655 2005-10-19  Wim Taymans  <wim@fluendo.com>
22656
22657         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22658         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22659         Fix query handling again.
22660
22661 2005-10-19  Wim Taymans  <wim@fluendo.com>
22662
22663         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22664         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22665         * gst/base/gstbasesrc.c: (gst_base_src_query):
22666         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22667         * gst/elements/gsttypefindelement.c:
22668         (gst_type_find_handle_src_query), (find_element_get_length),
22669         (gst_type_find_element_activate):
22670         API change fix.
22671
22672         * gst/gstquery.c: (gst_query_new_position),
22673         (gst_query_set_position), (gst_query_parse_position),
22674         (gst_query_new_duration), (gst_query_set_duration),
22675         (gst_query_parse_duration), (gst_query_set_segment),
22676         (gst_query_parse_segment):
22677         * gst/gstquery.h:
22678         Bundling query position/duration is not a good idea since duration
22679         does not change much and we don't want to recalculate it for every
22680         position query, so they are separated again..
22681         Base value in segment query is not needed.
22682
22683         * gst/gstqueue.c: (gst_queue_handle_src_query):
22684         * gst/gstutils.c: (gst_element_query_position),
22685         (gst_element_query_duration), (gst_pad_query_position),
22686         (gst_pad_query_duration):
22687         * gst/gstutils.h:
22688         Updates for query API change.
22689         Added some docs here and there.
22690
22691 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22692
22693         * check/gst/gstbin.c: (GST_START_TEST):
22694         * check/gst/gstghostpad.c: (GST_START_TEST):
22695         * check/pipelines/cleanup.c: (GST_START_TEST):
22696           wait on thread to die so we can check refcount correctly
22697
22698 2005-10-18  Wim Taymans  <wim@fluendo.com>
22699
22700         * check/pipelines/stress.c: (GST_START_TEST):
22701         Make check a little more time consuming.
22702
22703 2005-10-18  Wim Taymans  <wim@fluendo.com>
22704
22705         * check/Makefile.am:
22706         * check/pipelines/stress.c: (GST_START_TEST),
22707         (simple_launch_lines_suite), (main):
22708         Small state change torture test.
22709
22710         * docs/design/part-states.txt:
22711         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22712         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22713         (gst_base_sink_change_state):
22714         Never take state lock from streaming thread, clean up ugly
22715         hacks. Unfortunatly core does not yet support nice ways to
22716         async commit state.
22717         
22718         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22719         (bin_bus_handler):
22720         Start state recalc if a STATE_DIRTY message is posted, but only
22721         on the toplevel bin.
22722
22723         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22724         (gst_element_get_state_func), (gst_element_abort_state),
22725         (gst_element_commit_state), (gst_element_lost_state),
22726         (gst_element_set_state_func), (gst_element_change_state):
22727         * gst/gstelement.h:
22728         State variables are now protected with the LOCK, the state
22729         lock is only used to serialize _set_state().
22730
22731 2005-10-18  Wim Taymans  <wim@fluendo.com>
22732
22733         * check/gst/gstbin.c: (GST_START_TEST):
22734         * check/gst/gstmessage.c: (GST_START_TEST):
22735         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22736         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22737         (bin_bus_handler):
22738         * gst/gstelement.c: (gst_element_abort_state),
22739         (gst_element_commit_state), (gst_element_lost_state):
22740         * gst/gstmessage.c: (gst_message_new_state_changed),
22741         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22742         (gst_message_new_segment_done), (gst_message_new_duration),
22743         (gst_message_parse_state_changed),
22744         (gst_message_parse_segment_start),
22745         (gst_message_parse_segment_done), (gst_message_parse_duration):
22746         * gst/gstmessage.h:
22747         * tools/gst-launch.c: (event_loop):
22748         Seriously, this is better than a previous commit as we only need
22749         to notify the fact that an element changed state in a streaming
22750         thread, marking the state of the parents dirty, hence the 
22751         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22752         message.
22753
22754 2005-10-18  Wim Taymans  <wim@fluendo.com>
22755
22756         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22757         (gst_bin_recalc_func):
22758         * gst/gstelement.c: (gst_element_set_clock),
22759         (gst_element_abort_state), (gst_element_lost_state):
22760         Cleanups, prepare for state change fixes.
22761
22762 2005-10-18  Wim Taymans  <wim@fluendo.com>
22763
22764         * gst/gstbin.h:
22765         * gst/gstelement.c: (gst_element_class_init),
22766         (gst_element_set_state), (gst_element_set_state_func):
22767         * gst/gstelement.h:
22768         Pending ABI changes.
22769         GThreadPool in GstBinClass to monitor async state changes.
22770         state_cookie in GstElement to detect concurrent gst/set state.
22771         set_state is now virtual too in case a very complicated element
22772         has to be constructed.
22773
22774 2005-10-18  Wim Taymans  <wim@fluendo.com>
22775
22776         * check/gst/gstbin.c: (GST_START_TEST):
22777         * check/gst/gstmessage.c: (GST_START_TEST):
22778         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22779         * gst/gstbin.c: (bin_bus_handler):
22780         * gst/gstelement.c: (gst_element_commit_state),
22781         (gst_element_lost_state):
22782         * gst/gstmessage.c: (gst_message_new_state_changed),
22783         (gst_message_new_segment_start), (gst_message_new_segment_done),
22784         (gst_message_new_duration), (gst_message_parse_state_changed),
22785         (gst_message_parse_segment_start),
22786         (gst_message_parse_segment_done), (gst_message_parse_duration):
22787         * gst/gstmessage.h:
22788         * tools/gst-launch.c: (event_loop):
22789         Make messages future proof.
22790         state-change gets a flag if it was a message comming from the
22791         streaming thread.
22792         segment-start/stop can also be specified in other formats.
22793         A message to notify an app that a pipeline changed playback 
22794         duration.
22795         Also fix a GstMessage leak in -launch
22796
22797 2005-10-18  Andy Wingo  <wingo@pobox.com>
22798
22799         * gst/gstelement.c (gst_element_dispose): More helpful message.
22800
22801 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22802
22803         reviewed by: <delete if not using a buddy>
22804
22805         * common/gtk-doc.mak:
22806
22807 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22808
22809         * gst/gstregistry.c: (gst_registry_scan_path_level):
22810           unref a plug-in we get that was already initialized
22811
22812 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22813
22814         * docs/gst/gstreamer-sections.txt:
22815         * docs/libs/gstreamer-libs-sections.txt:
22816         * gst/gstelement.h:
22817           add new api entries
22818           hide internal macro
22819
22820 2005-10-17  Andy Wingo  <wingo@pobox.com>
22821
22822         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22823         cleanup.
22824
22825         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22826
22827         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22828
22829         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22830         (gst_element_get_state_func): Better debug message.
22831         (gst_element_commit_state): s/INFO/DEBUG/.
22832         (gst_element_lost_state, gst_element_change_state): 
22833
22834         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22835         (gst_message_new_custom): s/INFO/LOG/.
22836
22837 2005-10-17  Michael Smith <msmith@fluendo.com>
22838
22839         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22840           Check if end time is valid using end time, not start time.
22841
22842 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22843
22844         * check/gst-libs/controller.c: (GST_START_TEST),
22845         (gst_controller_suite):
22846         * libs/gst/controller/gstcontroller.c:
22847         (gst_controlled_property_set_interpolation_mode):
22848         * libs/gst/controller/gstcontroller.h:
22849         * libs/gst/controller/gstinterpolation.c:
22850         * testsuite/controller/.cvsignore:
22851         * testsuite/controller/Makefile.am:
22852         * testsuite/controller/interpolator.c:
22853           merge controller testsuites
22854           fix broken tests
22855           remove mem-chunk from docs
22856
22857 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22858
22859         * gst/gstmemchunk.c:
22860         * gst/gstmemchunk.h:
22861         * gst/gsttrashstack.c:
22862         * gst/gsttrashstack.h:
22863           out.  get out.  you're fired.  to the Attic !
22864
22865 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22866
22867         * gst/gstcaps.c: (gst_caps_intersect):
22868           fix signedness issues in a (hopefully) correct way
22869         * gst/gstelement.c: (gst_element_pads_activate):
22870           some debugging
22871         * gst/gstobject.c: (gst_object_set_parent):
22872           some debugging
22873
22874 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22875
22876         * gst/gstvalue.h: Fix prototypes.
22877
22878 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22879
22880         * docs/gst/gstreamer-sections.txt:
22881         * gst/gst.c: (gst_version_string):
22882         * gst/gst.h:
22883         * gst/gstversion.h.in:
22884         * win32/common/libgstreamer.def:
22885           add gst_version_string ()
22886
22887 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22888
22889         * configure.ac:
22890           clean up further
22891         * gst/gst.c: (init_post):
22892         * win32/common/config.h.in:
22893           it's PLUGINDIR now
22894         * gst/gstcaps.c: (gst_caps_intersect):
22895           use gint64, the range could be bigger than a guint
22896
22897 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22898
22899         * gst/gstclock.h:
22900           document potential problem in 2038
22901
22902 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22903
22904         * gst/gstcaps.c: (gst_caps_intersect):
22905           Fix guint j diving under 0
22906
22907 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22908
22909         * configure.ac:
22910         * win32/common/config.h:
22911         * win32/common/config.h.in:
22912           check for process.h, declares getpid() on Windows
22913         * gst/gstinfo.c:
22914           include process.h if we have it
22915         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22916         * gst/gstmemchunk.h:
22917           fix signedness issues
22918         * win32/common/libgstreamer.def:
22919           fix get_type's
22920
22921 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22922
22923         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22924         fix. Because of unsigned ints, caps intersection was going nuts and
22925         trying to access structures with G_MAXUINT index. That fixes
22926         videotestsrc ! ffmpegcolorspace ! fakesink
22927         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22928         consistency.
22929
22930 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22931
22932         * configure.ac:
22933           use the gettext macro
22934         * gst/elements/gstelements.c:
22935         * gst/gst.c:
22936         * gst/indexers/gstindexers.c:
22937           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22938         * win32/common/config.h:
22939           updated config.h
22940         * win32/common/config.h.in:
22941           add the template to generate config.h
22942         * win32/common/gstenumtypes.c:
22943         * win32/common/gstversion.h:
22944           updated copies
22945
22946 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22947
22948         * gst/gst.c: (gst_version):
22949         * gst/gstversion.h.in:
22950           add the nano
22951
22952 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22953
22954         * gst/gstevent.h:
22955           Oops, add missing closing bracket.
22956
22957 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22958
22959         * configure.ac:
22960           use common m4's for argument checking
22961
22962 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22963
22964         * docs/gst/gstreamer-sections.txt:
22965         * gst/gstevent.h:
22966           Add GST_EVENT_TYPE_NAME() macro.
22967
22968 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22969
22970         * gst/gstinfo.c:
22971         * gst/gstpluginfeature.c:
22972         * gst/gsttask.c:
22973           privatize more symbols
22974
22975 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22976
22977         * configure.ac:
22978           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22979           everything that uses GStreamer API should have the includes
22980
22981 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22982
22983         * docs/gst/gstreamer-sections.txt:
22984         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22985         * gst/gstvalue.h:
22986           give each value a _get_type, removes the DATA exports
22987
22988 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22989
22990         * gst/gst.c:
22991         * gst/gst.h:
22992           remove _gst_registry_auto_load, not used anymore
22993         * gst/gstbin.c: (gst_bin_get_type):
22994         * gst/gstbin.h:
22995         * gst/gstelement.c: (gst_element_get_type):
22996         * gst/gstelement.h:
22997         * gst/gstobject.c: (gst_object_get_type):
22998         * gst/gstobject.h:
22999         * gst/gstpad.c: (gst_pad_get_type):
23000         * gst/gstpad.h:
23001           make _get_type functions similar, fixes data export from library
23002
23003 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23004
23005         * configure.ac:
23006           correctly make conditionals
23007         * gst/elements/Makefile.am:
23008         * gst/elements/gstelements.c:
23009           fix typo causing fdsrc not to build
23010
23011 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23012
23013         * testsuite/Makefile.am:
23014         * testsuite/bytestream/.cvsignore:
23015         * testsuite/bytestream/Makefile.am:
23016         * testsuite/bytestream/filepadsink.c:
23017         * testsuite/bytestream/gstbstest.c:
23018         * testsuite/bytestream/test1.c:
23019         * testsuite/bytestream/testfile1:
23020         * testsuite/caps/normalisation.c:
23021         * testsuite/caps/random.c: (main):
23022         * testsuite/cleanup/.cvsignore:
23023         * testsuite/cleanup/Makefile.am:
23024         * testsuite/cleanup/cleanup1.c:
23025         * testsuite/cleanup/cleanup2.c:
23026         * testsuite/cleanup/cleanup3.c:
23027         * testsuite/cleanup/cleanup4.c:
23028         * testsuite/cleanup/cleanup5.c:
23029         * testsuite/controller/interpolator.c:
23030         * testsuite/debug/printf_extension.c: (main):
23031         * testsuite/elements/tee.c:
23032         * testsuite/negotiation/.cvsignore:
23033         * testsuite/negotiation/Makefile.am:
23034         * testsuite/negotiation/pad_link.c:
23035         * testsuite/pad/Makefile.am:
23036         * testsuite/pad/chainnopull.c:
23037         * testsuite/pad/getnopush.c:
23038         * testsuite/pad/link.c:
23039         * testsuite/refcounting/sched.c: (create_pipeline):
23040         * testsuite/registry/Makefile.am:
23041         * testsuite/registry/gst-print-formats.c:
23042         * testsuite/schedulers/.cvsignore:
23043         * testsuite/schedulers/142183-2.c:
23044         * testsuite/schedulers/142183.c:
23045         * testsuite/schedulers/143777-2.c:
23046         * testsuite/schedulers/143777.c:
23047         * testsuite/schedulers/147713.c:
23048         * testsuite/schedulers/147819.c:
23049         * testsuite/schedulers/147894-2.c:
23050         * testsuite/schedulers/147894.c:
23051         * testsuite/schedulers/Makefile.am:
23052         * testsuite/schedulers/group_link.c:
23053         * testsuite/schedulers/queue_link.c:
23054         * testsuite/schedulers/relink.c:
23055         * testsuite/schedulers/unlink.c:
23056         * testsuite/schedulers/unref.c:
23057         * testsuite/schedulers/useless_iteration.c:
23058         * testsuite/states/bin.c:
23059           clean out/remove some stuff from the testsuite directories
23060
23061 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23062
23063         * configure.ac:
23064           check for some headers
23065         * gst/elements/Makefile.am:
23066         * gst/elements/gstelements.c:
23067           don't compile fdsrc without sys/socket.h
23068         * gst/indexers/Makefile.am:
23069         * gst/indexers/gstindexers.c: (plugin_init):
23070           don't compile fileindex without mmap
23071
23072 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23073
23074         * configure.ac:
23075           reorganize
23076           clean up
23077           document more
23078           remove cruft
23079         * check/Makefile.am:
23080         * docs/gst/Makefile.am:
23081         * examples/helloworld/Makefile.am:
23082         * gst/Makefile.am:
23083         * gst/base/Makefile.am:
23084         * gst/check/Makefile.am:
23085         * gst/elements/Makefile.am:
23086         * gst/indexers/Makefile.am:
23087         * gst/parse/Makefile.am:
23088         * libs/gst/controller/Makefile.am:
23089         * libs/gst/dataprotocol/Makefile.am:
23090         * examples/helloworld/helloworld.c: (event_loop):
23091           compile fixes, though it's not being compiled currently
23092
23093 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23094
23095         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23096           Add some simple tests for the new taglist date API.
23097
23098 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23099
23100         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23101         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23102           Beautify 'last-message' output: print 'none' for buffer timestamps
23103           and durations if none is set; improve alignment with next messages.
23104
23105 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23106
23107         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23108         * gst/gstpluginfeature.h:
23109         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23110         * gst/gstregistry.h:
23111         * docs/gst/gstreamer-sections.txt:
23112           Add new API to check plugin feature version requirements.
23113
23114         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23115           Some basic tests for the above.         
23116
23117 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23118
23119         * gst/gststructure.c: (gst_structure_to_string):
23120           guard against NULL printf - happens when for example
23121           a message structure with GstClock gets serialized
23122
23123 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23124
23125         * gst/base/gstcollectpads.c: (gst_collectpads_event):
23126           Fix presumable copy'n'pasto.
23127
23128 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23129
23130         * gst/elements/gstfakesrc.h:
23131         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23132         * gst/elements/gsttypefindelement.c:
23133           fix some signedness
23134         * gst/elements/gstfilesink.c: (gst_file_sink_render):
23135           I wonder if this could actually write +2GB files before
23136
23137 2005-10-13  Andy Wingo  <wingo@pobox.com>
23138
23139         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23140         Fix Timmeke Waymans bug.
23141         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23142         string of the proper length to gst_caps_from_string. There's a
23143         potential for, before this fix, that this could cause someone
23144         connecting over the network to cause a segfault if the payload is
23145         not NUL-terminated.
23146
23147 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23148
23149         * docs/design/draft-push-pull.txt:
23150         * docs/design/part-overview.txt:
23151         * docs/random/TODO-pre-0.9:
23152         * docs/random/old/ChangeLog.gstreamer:
23153         * gst/base/gstpushsrc.c:
23154         * gst/gstclock.c:
23155           fixed typos
23156
23157 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23158
23159         * gst/glib-compat.c: (gst_flags_get_first_value):
23160         * gst/glib-compat.h:
23161         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23162         (gst_value_compare_double), (gst_value_serialize_flags):
23163           GLib 2.6 g_flags_get_first_value has a bug that triggers an
23164           infinite loop
23165
23166 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23167
23168         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23169         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23170           fix up debugging
23171         * tools/gst-launch.c: (event_loop):
23172           print out clock nicely
23173
23174 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23175
23176         * docs/gst/gstreamer-sections.txt:
23177         * gst/gsttaglist.h:
23178         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23179         (gst_tag_list_get_date_index):
23180           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23181           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23182
23183 2005-10-13  Julien MOUTTE  <julien@moutte.net>
23184
23185         * gst/base/gstcollectpads.c: (gst_collectpads_event),
23186         (gst_collectpads_chain):
23187         * gst/base/gstcollectpads.h: Handle newsegment and store informations
23188         in CollectData.
23189
23190 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23191
23192         * docs/gst/gstreamer-sections.txt:
23193         * gst/gst.c:
23194         * gst/gsterror.h:
23195         * tools/gst-inspect.c: (main):
23196         * tools/gst-launch.c: (main):
23197         * tools/gst-run.c: (main):
23198         * tools/gst-xmlinspect.c: (main):
23199           fix GOption context leaks
23200           doc fixes
23201
23202 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23203
23204         * gst/gstbus.c:
23205           use HAVE_UNISTD_H
23206         * win32/common/config.h:
23207           update config
23208         * win32/vs6/grammar.dsp:
23209         * win32/vs6/libgstelements.dsp:
23210         * win32/vs6/libgstreamer.dsp:
23211           update vs6 files
23212
23213 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23214
23215         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23216         * gst/base/gstbasesrc.c: (gst_base_src_query):
23217           fix more guint64<->gdouble conversions
23218
23219 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23220
23221         * Makefile.am:
23222           add win32-update target
23223         * win32/common/gstconfig.h:
23224         * win32/common/gstenumtypes.c:
23225         * win32/common/gstenumtypes.h:
23226         * win32/common/gstversion.h:
23227           add files that visual studio can't generate
23228
23229 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23230
23231         * Makefile.am:
23232           add a win32-update target
23233         * configure.ac:
23234
23235 2005-10-12  Wim Taymans  <wim@fluendo.com>
23236
23237         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23238         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23239         * gst/gstelement.c: (gst_element_commit_state),
23240         (gst_element_set_state):
23241         Protect flags with proper lock.
23242         unref provided cached clock in dispose.
23243
23244 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23245
23246         * gst/gst.c:
23247         * gst/gstminiobject.h:
23248         * gst/gstpad.h:
23249         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23250           removed unused flags from miniobject
23251           doc fixes
23252
23253 2005-10-12  Wim Taymans  <wim@fluendo.com>
23254
23255         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23256         (gst_file_sink_event), (gst_file_sink_render):
23257         Flush before seeking.
23258
23259 2005-10-12  Andy Wingo  <wingo@pobox.com>
23260
23261         * gst/gst.c (gst_init_check): Ignore unknown options, as has
23262         always been the case.
23263
23264 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23265
23266         * check/gst/gstbin.c: (GST_START_TEST):
23267         * docs/gst/gstreamer-sections.txt:
23268         * gst/base/gstbasesink.c: (gst_base_sink_init):
23269         * gst/base/gstbasesrc.c: (gst_base_src_init),
23270         (gst_base_src_get_range), (gst_base_src_check_get_range),
23271         (gst_base_src_start), (gst_base_src_stop):
23272         * gst/base/gstbasesrc.h:
23273         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23274         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23275         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23276         (bin_bus_handler):
23277         * gst/gstbin.h:
23278         * gst/gstbuffer.h:
23279         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23280         * gst/gstbus.h:
23281         * gst/gstelement.c: (gst_element_is_locked_state),
23282         (gst_element_set_locked_state), (gst_element_commit_state),
23283         (gst_element_set_state):
23284         * gst/gstelement.h:
23285         * gst/gstindex.c: (gst_index_init):
23286         * gst/gstindex.h:
23287         * gst/gstminiobject.h:
23288         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23289         (gst_object_set_parent):
23290         * gst/gstobject.h:
23291         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23292         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23293         * gst/gstpad.h:
23294         * gst/gstpadtemplate.h:
23295         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23296         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23297         * gst/gstpipeline.h:
23298         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23299         (gst_file_index_commit):
23300         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23301         * testsuite/pad/link.c: (gst_test_src_init),
23302         (gst_test_filter_init), (gst_test_sink_init):
23303         * testsuite/states/locked.c: (main):
23304           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23305           moved bitshift from macro to enum definition
23306
23307 2005-10-12  Wim Taymans  <wim@fluendo.com>
23308
23309         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23310         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23311         (gst_file_sink_render):
23312         Some more debugging info.
23313
23314 2005-10-12  Wim Taymans  <wim@fluendo.com>
23315
23316         * docs/design/part-states.txt:
23317         * tools/gst-launch.c: (main):
23318         Some doc updates.
23319         Revert non-intentional change.
23320
23321 2005-10-12  Wim Taymans  <wim@fluendo.com>
23322
23323         * check/gst/gstbin.c: (GST_START_TEST):
23324         * check/gst/gstelement.c: (GST_START_TEST):
23325         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23326         * check/gst/gstghostpad.c: (GST_START_TEST):
23327         * check/gst/gstpipeline.c: (GST_START_TEST):
23328         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23329         * check/states/sinks.c: (GST_START_TEST):
23330         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23331         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23332         (gst_bin_remove_func), (gst_bin_get_state_func),
23333         (gst_bin_recalc_state), (gst_bin_change_state_func),
23334         (bin_bus_handler):
23335         * gst/gstelement.c: (gst_element_get_state_func),
23336         (gst_element_get_state), (gst_element_abort_state),
23337         (gst_element_commit_state), (gst_element_set_state),
23338         (gst_element_change_state), (gst_element_change_state_func):
23339         * gst/gstelement.h:
23340         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23341         (gst_pipeline_provide_clock_func):
23342         * gst/gstutils.c: (gst_element_link_pads_filtered):
23343         * tools/gst-launch.c: (main):
23344         * tools/gst-typefind.c: (main):
23345         Use GstClockTime in _get_state() instead of GTimeVal.
23346         Remove old code in gstutils.c
23347
23348 2005-10-12  Andy Wingo  <wingo@pobox.com>
23349
23350         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23351         removed.
23352
23353         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23354         there is no task. Shouldn't affect any code, as nothing in our
23355         plugins checks this return value.
23356         (gst_pad_stop_task): Also take the stream lock if the pad has no
23357         task. Docs updated.
23358
23359 2005-10-12  Wim Taymans  <wim@fluendo.com>
23360
23361         * gst/gstpad.c: (pre_activate), (post_activate),
23362         (gst_pad_activate_pull), (gst_pad_activate_push):
23363         Cleanup activation code. Reset old state if
23364         activation failed.
23365
23366 2005-10-12  Wim Taymans  <wim@fluendo.com>
23367
23368         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23369         (gst_base_sink_change_state):
23370         No need to prerol after receiving EOS.
23371
23372         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23373         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23374         * gst/elements/gstidentity.c: (gst_identity_event):
23375         Print events more verbosely.
23376
23377 2005-10-12  Wim Taymans  <wim@fluendo.com>
23378
23379         * check/Makefile.am:
23380         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23381         * check/states/sinks2.c:
23382         Moved sinks2 testcode in sinks check.
23383
23384         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23385         (gst_bin_remove_func), (gst_bin_recalc_state),
23386         (gst_bin_change_state_func), (bin_bus_handler):
23387         Fix potential race condition when _get_state() iterated over an
23388         ASYNC element right before it posted a state completion.
23389
23390         * gst/gstclock.h:
23391         Do proper cast here.
23392
23393         * gst/gstevent.c: (gst_event_new_newsegment),
23394         (gst_event_parse_newsegment):
23395         A playback rate of 0.0 is not allowed.
23396
23397 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23398
23399         * win32/common/config.h:
23400         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23401         (_trewinddir), (_ttelldir), (_tseekdir):
23402         * win32/common/dirent.h:
23403         * win32/common/gtchar.h:
23404         * win32/common/libgstbase.def:
23405         * win32/common/libgstreamer.def:
23406         * win32/vs6/grammar.dsp:
23407         * win32/vs6/gst_inspect.dsp:
23408         * win32/vs6/gst_launch.dsp:
23409         * win32/vs6/gstreamer.dsw:
23410         * win32/vs6/libgstbase.dsp:
23411         * win32/vs6/libgstelements.dsp:
23412         * win32/vs6/libgstreamer.dsp:
23413           Visual Studio 6 project files, and a new common directory.
23414           Phear.
23415
23416 2005-10-11  Wim Taymans  <wim@fluendo.com>
23417
23418         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23419         (gst_base_sink_do_sync), (gst_base_sink_query),
23420         (gst_base_sink_change_state):
23421         * gst/base/gstbasesink.h:
23422         Correctly parse newsegment info.
23423
23424 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23425
23426         * gst/gst.c: (init_post):
23427           split plugin paths correctly
23428
23429 2005-10-11  Wim Taymans  <wim@fluendo.com>
23430
23431         * check/gst/gstevent.c: (GST_START_TEST):
23432         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23433         (gst_base_sink_change_state):
23434         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23435         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23436         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23437         * gst/gstevent.c: (gst_event_new_newsegment),
23438         (gst_event_parse_newsegment):
23439         * gst/gstevent.h:
23440         Added extra flag to newsegment for future API freeze.
23441         Updated check and base elements.
23442
23443 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23444
23445         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23446         (gst_collectpads_add_pad), (gst_collectpads_pop),
23447         (gst_collectpads_event), (gst_collectpads_chain):
23448         * gst/base/gstcollectpads.h: Handle EOS correctly.
23449
23450 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23451
23452         * tools/gst-launch.c: (main):
23453           more null protecting
23454
23455 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23456
23457         * gst/gst-i18n-lib.h:
23458           check for ENABLE_NLS, not GETTEXT_PACKAGE
23459         * gst/gstregistry.c: (gst_registry_add_plugin),
23460         (gst_registry_scan_path_level),
23461         (_gst_registry_remove_cache_plugins):
23462           protect possibly NULL strings
23463         * gst/parse/types.h:
23464           config.h already included before
23465         * tools/gst-inspect.c: (main):
23466           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23467           check for ENABLE_NLS, not GETTEXT_PACKAGE
23468         * tools/gst-launch.c: (main):
23469           check for ENABLE_NLS, not GETTEXT_PACKAGE
23470
23471 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23472
23473         * configure.ac:
23474           if we don't have glib, fail before testing 2.8
23475         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23476           fix a leak, should fix plugins-base testsuite
23477
23478 2005-10-11  Andy Wingo  <wingo@pobox.com>
23479
23480         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23481         take the mode we're going to as an arg. Go head and set the mode
23482         and flushing flags now, so that if the activate function starts a
23483         thread all the flags will be in the right state.
23484         (post_activate): Renamed also. Just handle making sure streaming
23485         finishes for the deactivation case, and setting the deactivated
23486         mode.
23487         (gst_pad_set_active): Complain loudly if deactivation fails.
23488         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23489         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23490         remove the terrible hack.
23491
23492 2005-10-11  Wim Taymans  <wim@fluendo.com>
23493
23494         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23495         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23496         (gst_bin_recalc_state), (gst_bin_change_state_func),
23497         (gst_bin_dispose), (bin_bus_handler):
23498         * gst/gstbin.h:
23499         Prepare to make current EOS message queue more generic.
23500         Fix some typos.
23501
23502         * gst/gstevent.c: (gst_event_new_newsegment),
23503         (gst_event_parse_newsegment):
23504         * gst/gstevent.h:
23505         Rename base to stream_time.
23506
23507         * gst/gstmessage.h:
23508         Fix typo in docs.
23509
23510 2005-10-11  Wim Taymans  <wim@fluendo.com>
23511
23512         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23513         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23514         (gst_bin_change_state_func), (bin_bus_handler):
23515         * gst/gstbin.h:
23516         Work on proper clock selection.
23517
23518 2005-10-11  Edward Hervey  <edward@fluendo.com>
23519
23520         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23521         * libs/gst/controller/gstcontroller.h:
23522         Added GList* version of _remove_properties() in order to be able to wrap
23523         it in bindings.
23524
23525 2005-10-11  Wim Taymans  <wim@fluendo.com>
23526
23527         * docs/design/part-states.txt:
23528         Some more docs.
23529
23530         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23531         (gst_bin_change_state_func), (bin_bus_handler):
23532         Doc updates. Don't distribute the same clock over and over again.
23533
23534         * gst/gstclock.c:
23535         * gst/gstclock.h:
23536         Doc updates.
23537
23538         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23539         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23540         (gst_pad_send_event):
23541         * gst/gstpad.h:
23542         Make probe emission threadsafe again.
23543         Register quarks and move _get_name() from utils.
23544         Doc updates.
23545
23546         * gst/gstpipeline.c: (gst_pipeline_class_init),
23547         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23548         Only redistribute the clock of it changed.
23549
23550         * gst/gstsystemclock.h:
23551         Doc updates. 
23552
23553         * gst/gstutils.c:
23554         * gst/gstutils.h:
23555         Moved the _flow_get_name() to GstPad.
23556
23557 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23558
23559         * check/gst-libs/gdp.c: (GST_START_TEST):
23560         * check/gst/gstcaps.c: (GST_START_TEST):
23561         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23562         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23563         (gst_dp_packet_from_caps):
23564           fix more valgrind warnings before turning up the heat
23565
23566 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23567
23568         * gst/parse/grammar.y:
23569           some cleanup before the hacking
23570
23571 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23572
23573         * gst/base/gstbasesrc.c: (gst_base_src_query):
23574           use conversions
23575         * gst/gstutils.c: (gst_guint64_to_gdouble),
23576         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23577         * gst/gstutils.h:
23578           externalize, basesrc uses it
23579           obviously the implementation needs testing
23580
23581 2005-10-10  Wim Taymans  <wim@fluendo.com>
23582
23583         * tests/sched/Makefile.am:
23584         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23585         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23586
23587 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23588
23589         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23590           apparently converting from guint64 to double is not implemented
23591           on MSVC
23592
23593 2005-10-10  Wim Taymans  <wim@fluendo.com>
23594
23595         * check/Makefile.am:
23596         * check/generic/states.c: (GST_START_TEST):
23597         * check/gst/gstbin.c: (GST_START_TEST):
23598         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23599         * check/states/sinks.c: (GST_START_TEST):
23600         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23601         (main):
23602         Check fixes, use API as stated in design docs, remove hacks.
23603
23604         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23605         (gst_base_sink_change_state):
23606         Catch stopping our task while we're shutting down.
23607
23608         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23609         (gst_bin_remove_func), (gst_bin_get_state_func),
23610         (gst_bin_recalc_state), (gst_bin_change_state_func),
23611         (bin_bus_handler):
23612         * gst/gstbin.h:
23613         * gst/gstelement.c: (gst_element_init),
23614         (gst_element_get_state_func), (gst_element_abort_state),
23615         (gst_element_commit_state), (gst_element_lost_state),
23616         (gst_element_set_state), (gst_element_change_state),
23617         (gst_element_change_state_func):
23618         * gst/gstelement.h:
23619         New state change algorithm (see #318116)
23620
23621         * gst/gstpipeline.c: (gst_pipeline_class_init),
23622         (gst_pipeline_init), (gst_pipeline_set_property),
23623         (gst_pipeline_get_property), (do_pipeline_seek),
23624         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23625         * gst/gstpipeline.h:
23626         Remove crude state change hacks.
23627
23628         * gst/gstutils.h:
23629         Remove crude hacks.
23630
23631         * tools/gst-launch.c: (main):
23632         Fixes for state change. Needs some more work to fully use the
23633         new stuff.
23634
23635 2005-10-10  Andy Wingo  <wingo@pobox.com>
23636
23637         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23638
23639         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23640         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23641         issue.
23642
23643 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23644
23645         * gst/gstiterator.c: (gst_iterator_new):
23646           Fix my previous commit: GTypes passed to gst_iterator_new()
23647           can be fundamental types.
23648
23649 2005-10-10  Wim Taymans  <wim@fluendo.com>
23650
23651         * gst/gstelement.c: (gst_element_iterate_pad_list),
23652         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23653         (gst_element_iterate_sink_pads):
23654         Use src/sink pads lists for the respective iterators instead
23655         of filtering.
23656
23657 2005-10-10  Andy Wingo  <wingo@pobox.com>
23658
23659         Merged in popt removal + GOption addition patch from Ronald, bug
23660         #169772.
23661
23662         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23663         GstElement macros around, remove popt-related symbols, add goption
23664         stuff.
23665
23666         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23667         
23668         * docs/gst/Makefile.am:
23669         * docs/libs/Makefile.am: No POPT_CFLAGS.
23670         
23671         * examples/manual/Makefile.am:
23672         * docs/manual/basics-init.xml: Doc updates with an example.
23673         
23674         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23675         (gst_init), (parse_one_option), (parse_goption_arg):
23676         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23677         bit of hand merging and debugging to get the GOption stuff working
23678         tho.
23679         
23680         * tests/Makefile.am:
23681         * tools/Makefile.am:
23682         * tools/gst-inspect.c: (main):
23683         * tools/gst-launch.c: (main):
23684         * tools/gst-run.c: (main):
23685         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23686
23687 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23688
23689         * gst/gstiterator.c: (gst_iterator_new):
23690           Add assertions to make sure passed GType is likely to really
23691           be a GType (as the compiler won't catch it if the size and
23692           GType arguments get mixed up, see #318447).
23693
23694 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23695
23696         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23697
23698         * gst/gstbin.c: (gst_bin_iterate_sorted):
23699           Pass GType and size arguments to gst_iterator_new() in the right
23700           order (maybe we should make _new() take the GType as first argument
23701           just like _new_list()?) (#318447).
23702           
23703
23704 2005-10-10  Wim Taymans  <wim@fluendo.com>
23705
23706         * gst/gstelement.c: (gst_element_finalize):
23707         And free the GStaticRecMutex too
23708
23709 2005-10-10  Andy Wingo  <wingo@pobox.com>
23710
23711         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23712         Allocate and free the mutex properly.
23713
23714         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23715         New macros.
23716         (GstElement): The state_lock is now recursive. Rebuild your
23717         plugins, suckers. Old macros adapted.
23718
23719         * docs/gst/gstreamer-sections.txt: Doc updates.
23720
23721         * gst/gstutils.h:
23722         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23723         (g_static_rec_cond_wait): Ported from state changes patch, while
23724         we wait on bug #317802 to be solved in a well-distributed GLib.
23725
23726         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23727         gst_element_change_state, variable name changes.
23728         (gst_element_change_state): Split out of gst_element_set_state in
23729         preparation for the state change merge. Doesn't pay attention to
23730         the 'transition' argument.
23731         (gst_element_set_state): Updates, hopefully purely cosmetic.
23732         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23733         state change patch.
23734         (gst_element_get_state_func): Renamed from get_state, cosmetic
23735         changes.
23736
23737 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23738
23739         * gst/elements/gstelements.c:
23740         * win32/GStreamer.vcproj:
23741         * win32/config.h:
23742         * win32/dirent.c: (_tseekdir):
23743         * win32/gst-inspect.vcproj:
23744         * win32/gst-launch.vcproj:
23745         * win32/gstconfig.h:
23746         * win32/gstelements.vcproj:
23747         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23748         * win32/gstreamer.def:
23749         * win32/msvc71.sln:
23750           updates for the win32 build (patch from Sebastien Moutte)
23751
23752 2005-10-10  Andy Wingo  <wingo@pobox.com>
23753
23754         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23755         gst_bin_get_state, cleaned up (but no logic changes).
23756         (bin_element_is_sink): Comment updates.
23757         (sink_iterator_filter): Remove needless cast.
23758         (gst_bin_iterate_sinks): Doc update.
23759         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23760         cleaned up (but no logic changes).
23761
23762         * check/states/sinks.c (test_src_sink): Cleanups from the state
23763         change patch.
23764         (test_livesrc_sink): Sync on the state.
23765
23766         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23767         the state change patch.
23768
23769         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23770         change patch.
23771
23772         * check/gst/gstbin.c: Merge in some style fixes and additional
23773         checks from Wim's state change patch.
23774
23775 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23776
23777         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23778         (gst_type_find_helper):
23779           Check whether we have the requested data already in our list of
23780           cached buffers before pulling a new buffer; also make the buffer
23781           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23782
23783 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23784
23785         * gst/gstcaps.c:
23786         * gst/gstevent.c:
23787           doc updates
23788         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23789           don't use long long, it's not portable.  Replacing with
23790           gint64 seems to work; let's hope no skeletons fall out of the closet.
23791
23792 2005-10-10  Andy Wingo  <wingo@pobox.com>
23793
23794         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23795
23796 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23797
23798         * docs/gst/gstreamer-sections.txt:
23799         * gst/gstevent.c:
23800         * gst/gstevent.h:
23801         * gst/gstinfo.c:
23802         * gst/gstinfo.h:
23803         * gst/gstmessage.c: (gst_message_parse_state_changed):
23804         * gst/gstpad.c:
23805         * gst/gstpad.h:
23806           more docs, fix compilation
23807
23808 2005-10-09  Philippe Khalaf <burger@speedy.org>
23809         * gst/gstmessage.c:
23810           Fixed a few forgotten variables on previous commit
23811
23812 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23813
23814         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23815           Fix evil typefind crasher: getrange() might return a short
23816           buffer at the end of a file, but gst_type_find_peek() must
23817           either return the full data as requested or NULL, but
23818           never a short buffer.
23819
23820 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23821
23822         * gst/gstmessage.c: (gst_message_new_state_changed),
23823         (gst_message_parse_state_changed):
23824         * gst/gstmessage.h:
23825           don't use "new", it's a C++ keyword
23826
23827 2005-10-08  Wim Taymans  <wim@fluendo.com>
23828
23829         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23830         * gst/gstelement.c: (gst_element_post_message):
23831         * gst/gstpipeline.c: (gst_pipeline_change_state):
23832         Small docs and debug updates.
23833
23834 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23835
23836         * docs/gst/gstreamer-sections.txt:
23837         * gst/gstelementfactory.c:
23838         * gst/gstevent.c:
23839         * gst/gsttaglist.c:
23840           more docs
23841
23842 2005-10-08  Wim Taymans  <wim@fluendo.com>
23843
23844         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23845         (gst_bin_dispose), (bin_bus_handler):
23846         Fix typos, add comments.
23847         Clear EOS list when going to PAUSED from any direction and do it
23848         in a threadsafe way.
23849         Get base time in a threadsafe way too.
23850         Fix confusing debug in the change_state function.
23851         Various other small cleanups.
23852         
23853         * gst/gstelement.c: (gst_element_post_message):
23854         Fix very verbose bus posting code.
23855
23856         * gst/gstpipeline.c: (gst_pipeline_class_init),
23857         (gst_pipeline_set_property), (gst_pipeline_get_property),
23858         (gst_pipeline_change_state):
23859         Small ARG_ -> PROP_ cleanup
23860
23861 2005-10-08  Wim Taymans  <wim@fluendo.com>
23862
23863         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23864         Do a less CPU demanding EOS check because we can.
23865
23866 2005-10-08  Wim Taymans  <wim@fluendo.com>
23867
23868         * libs/gst/dataprotocol/dataprotocol.c:
23869         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23870         (gst_dp_packet_from_event):
23871         * libs/gst/dataprotocol/dataprotocol.h:
23872         * libs/gst/dataprotocol/dp-private.h:
23873         It's about time we bump the version number.
23874         Since event types don't fit in the guint8 anymore describing
23875         the payload type, make payload type 16 bits wide.
23876
23877 2005-10-08  Wim Taymans  <wim@fluendo.com>
23878
23879         * docs/design/part-TODO.txt:
23880         * docs/design/part-clocks.txt:
23881         * docs/design/part-events.txt:
23882         * docs/design/part-gstbin.txt:
23883         * docs/design/part-gstelement.txt:
23884         * docs/design/part-gstpipeline.txt:
23885         * docs/design/part-live-source.txt:
23886         * docs/design/part-messages.txt:
23887         * docs/design/part-overview.txt:
23888         * docs/design/part-states.txt:
23889         Many doc updates.
23890
23891 2005-10-08  Wim Taymans  <wim@fluendo.com>
23892
23893         * gst/gstevent.c:
23894         * gst/gstevent.h:
23895         Fix event quark registration.
23896         Add some space between events so we can insert them in the
23897         right groups.
23898
23899 2005-10-08  Wim Taymans  <wim@fluendo.com>
23900
23901         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23902         (gst_base_sink_handle_buffer):
23903         Better log message.
23904
23905         * gst/gstbus.h:
23906         * gst/gstelement.h:
23907         More docs.
23908
23909         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23910         (gst_queue_set_property), (gst_queue_get_property):
23911         * gst/gstqueue.h:
23912         Remove old unused properties.
23913
23914 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23915         * docs/gst/gstreamer-sections.txt:
23916         * gst/gstmessage.c:
23917         * gst/gstmessage.h:
23918         * gst/gstminiobject.c:
23919         * gst/gstminiobject.h:
23920         * gst/gstobject.h:
23921         * gst/gstpad.h:
23922         * gst/gstutils.h:
23923           lots of new docs and doc fixes
23924
23925 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23926
23927         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23928         * gst/gstplugin.h:
23929         * gst/gstregistry.c: (gst_registry_lookup_locked),
23930         (gst_registry_scan_path_level):
23931         * gst/gstregistryxml.c: (load_plugin):
23932           Only ever load one plugin for a given plugin basename.
23933           This ensures correct overriding of GST_PLUGIN_PATH over
23934           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23935           system installed plugins.
23936
23937 2005-10-08  Wim Taymans  <wim@fluendo.com>
23938
23939         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23940         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23941         Prepare for doing QOS.
23942
23943 2005-10-08  Wim Taymans  <wim@fluendo.com>
23944
23945         * check/gst/gstbin.c: (GST_START_TEST):
23946         * check/pipelines/cleanup.c: (GST_START_TEST):
23947         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23948         Allow new clock message too.
23949
23950 2005-10-08  Wim Taymans  <wim@fluendo.com>
23951
23952         * gst/gstmessage.c: (gst_message_new_error),
23953         (gst_message_new_warning), (gst_message_new_tag),
23954         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23955         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23956         (gst_message_new_segment_start), (gst_message_new_segment_done),
23957         (gst_message_parse_state_changed),
23958         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23959         (gst_message_parse_new_clock):
23960         * gst/gstmessage.h:
23961         Also carry the clock in question.
23962
23963 2005-10-08  Wim Taymans  <wim@fluendo.com>
23964
23965         * gst/gstmessage.c: (gst_message_new_custom),
23966         (gst_message_new_eos), (gst_message_new_error),
23967         (gst_message_new_warning), (gst_message_new_tag),
23968         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23969         (gst_message_new_new_clock), (gst_message_new_segment_start),
23970         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23971         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23972         * gst/gstmessage.h:
23973         Clean up.
23974         Added clock related messages.
23975
23976         * gst/gstpipeline.c: (gst_pipeline_change_state):
23977         Post message when the clock changed.
23978
23979         * tools/gst-launch.c: (event_loop):
23980         Print new clock.
23981
23982 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23983
23984         * tools/gst-inspect.c: (print_element_properties_info):
23985           Can't pass NULL strings to g_print() on windows.
23986
23987 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23988
23989         * docs/Makefile.am:
23990         * docs/gst/Makefile.am:
23991         * docs/gst/gstreamer-docs.sgml:
23992         * docs/gst/running.xml:
23993         * docs/version.entities.in:
23994           add a chapter on running GStreamer.
23995           document GST_DEBUG and GST_PLUGIN* env vars
23996
23997 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23998
23999         * Makefile.am:
24000           remove include dir
24001         * configure.ac:
24002           remove PLUGINS_BUILDDIR stuff
24003         * gst/gst.c: (init_post):
24004           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
24005         * idiottest.mak:
24006           remove, it was condescending and not needed
24007
24008 2005-10-08  Wim Taymans  <wim@fluendo.com>
24009
24010         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
24011         (gst_base_sink_handle_object), (gst_base_sink_event),
24012         (gst_base_sink_wait), (gst_base_sink_handle_event),
24013         (gst_base_sink_change_state):
24014         * gst/base/gstbasesink.h:
24015         Repost EOS message while going to PLAYING if still EOS.
24016         Make sure that when receiving a FLUSH_START we don't attempt
24017         to sync on the clock anymore.
24018
24019 2005-10-08  Wim Taymans  <wim@fluendo.com>
24020
24021         * tools/gst-launch.c: (event_loop):
24022         Better message printout.
24023
24024 2005-10-08  Wim Taymans  <wim@fluendo.com>
24025
24026         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
24027         (gst_bin_child_proxy_get_children_count):
24028         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24029         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
24030         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
24031         (gst_child_proxy_set_valist):
24032         * gst/parse/grammar.y:
24033         Make ChildProxy threadsafe and fix mem leaks.
24034
24035 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24036
24037         * gst/gst.c: (init_post):
24038           debug the GST_PLUGIN_ env vars
24039
24040 2005-10-08  Wim Taymans  <wim@fluendo.com>
24041
24042         * check/gst/gstbin.c: (GST_START_TEST):
24043         * check/gst/gstmessage.c: (GST_START_TEST):
24044         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
24045         * gst/gstelement.c: (gst_element_commit_state),
24046         (gst_element_lost_state):
24047         * gst/gstmessage.c: (gst_message_new_state_changed),
24048         (gst_message_parse_state_changed):
24049         * gst/gstmessage.h:
24050         * tools/gst-launch.c: (event_loop):
24051         Added extra field to STATE_CHANGE message with the pending
24052         state, which will be different from the new state soon.
24053
24054 2005-10-08  Wim Taymans  <wim@fluendo.com>
24055
24056         * gst/gstbus.c: (gst_bus_pop):
24057         * gst/gstclock.c:
24058         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
24059         Small cleanups and doc updates.
24060
24061 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24062
24063         * gst/gst.c: (init_pre):
24064         * gst/gstbin.c: (gst_bin_add_func):
24065           log distributing clocks and base time
24066         * gst/gstregistry.c: (gst_registry_add_plugin),
24067         (gst_registry_scan_path_level), (gst_registry_scan_path):
24068           clean up the debugging output a little
24069         * gst/gstutils.c: (gst_element_state_get_name):
24070           warn about a memleak (I've actually seen this be used, though
24071           it was probably a bug)
24072
24073 2005-10-07  Wim Taymans  <wim@fluendo.com>
24074
24075         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24076         (gst_base_src_init), (gst_base_src_default_newsegment),
24077         (gst_base_src_newsegment), (gst_base_src_do_seek),
24078         (gst_base_src_loop), (gst_base_src_start):
24079         * gst/base/gstbasesrc.h:
24080         Make the newsegment event customizable by subclasses.
24081
24082 2005-10-07  Wim Taymans  <wim@fluendo.com>
24083
24084         * gst/gstevent.c: (gst_event_new_buffersize),
24085         (gst_event_parse_buffersize):
24086         * gst/gstevent.h:
24087         New event for future idea.
24088
24089 2005-10-07  Andy Wingo  <wingo@pobox.com>
24090
24091         * gst/gstelement.c (gst_element_post_message): Doc update.
24092
24093         * docs/gst/gstreamer-sections.txt: Update.
24094
24095         * gst/gstmessage.c (gst_message_new_application): Made into a
24096         function like honest API calls.
24097         (gst_message_new_element): New message type.
24098
24099         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24100
24101         * check/elements/fakesrc.c (test_no_preroll): New check, checks
24102         that setting a live fakesrc to PAUSED returns NO_PREROLL both
24103         times.
24104
24105         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24106         NO_PREROLL from gst_element_change_state to fall through.
24107
24108 2005-10-07  Wim Taymans  <wim@fluendo.com>
24109
24110         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24111         (gst_ghost_pad_do_activate_push):
24112         Activating a ghostpad with no internal pad in push mode
24113         is ok.
24114
24115 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24116
24117         * gst/gstobject.h:
24118           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24119           Fixes compilation on Windows.
24120
24121 2005-10-07  Michael Smith <msmith@fluendo.com>
24122
24123         * tools/gst-inspect.c:
24124           Print out feature and plugin count at the end when printing out
24125           all features.
24126
24127 2005-10-04  Michael Smith <msmith@fluendo.com>
24128
24129         * gst/gsterror.c: (_gst_stream_errors_init):
24130           Add another error string used in a few existing plugins.
24131
24132         * gst/gstplugin.c:
24133         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24134         * tools/gst-inspect.c: (print_element_info):
24135           When a feature disappears from a plugin (and the feature exists in
24136           the cached registry file), things went horribly wrong. This isn't a
24137           complete fix, we should actually be removing the 'missing' features
24138           from the features list when we load the actual plugin. That's not
24139           yet implemented. 
24140
24141 2005-10-04  Johan Dahlin  <johan@gnome.org>
24142
24143         * check/gst/gstiterator.c: (GST_START_TEST):
24144         * gst/gstbin.c: (gst_bin_iterate_elements),
24145         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24146         * gst/gstelement.c: (gst_element_iterate_pads):
24147         * gst/gstformat.c: (gst_format_iterate_definitions):
24148         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24149         (gst_iterator_new_list), (gst_iterator_filter):
24150         * gst/gstiterator.h:
24151         * gst/gstquery.c: (gst_query_type_iterate_definitions):
24152         Add a GType to GstIterator, update callsites and tests.
24153
24154 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24155
24156         * gst/gstpad.c: (gst_pad_event_default_dispatch):
24157           give events a chance to be handled by event probes when the pad
24158           is not linked
24159
24160 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24161
24162         * gst/gstevent.c: (gst_event_type_get_name),
24163         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24164         * gst/gstevent.h:
24165           add string representations for event types
24166
24167 2005-10-06  Wim Taymans  <wim@fluendo.com>
24168
24169         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24170         Don't use NULL pointers.
24171
24172 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24173
24174         * gst/gst_private.h:
24175         * gst/gstbus.c:
24176         * gst/gstelement.c:
24177         * gst/gstinfo.c:
24178         * gst/gstpluginfeature.c:
24179           widen the debug category in output to fit the biggest one we have
24180           add a bus category and use it
24181           play with the colors
24182           fix up some categories
24183
24184 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24185
24186         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24187           add push activation of sink ghost pads.
24188           Andye, please verify
24189
24190 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24191
24192         * gst/gstutils.c: (gst_element_link_pads):
24193           fix a bug in the case where neither element has a pad
24194         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24195           add a test for that case
24196
24197 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24198
24199         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24200           emit have-data before checking for peers.  This allows
24201           for probe handlers to connect elements.  This helps autopluggers.
24202         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24203         (gst_pad_suite):
24204           add six checks, linked/unlinked with no/true/false probe
24205
24206 2005-10-04  Wim Taymans  <wim@fluendo.com>
24207
24208         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24209         (gst_fake_sink_event), (gst_fake_sink_preroll),
24210         (gst_fake_sink_render), (gst_fake_sink_change_state):
24211         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24212         (gst_fake_src_get_property), (gst_fake_src_create),
24213         (gst_fake_src_stop):
24214         * gst/elements/gstidentity.c: (gst_identity_stop):
24215         Protect last_message with lock.
24216
24217 2005-10-04  Edward Hervey  <edward@fluendo.com>
24218
24219         * gst/gstformat.h: 
24220         Added precision in the comments for GST_FORMAT_DEFAULT
24221
24222 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
24223
24224         * tools/gst-launch.c: (main):
24225           Don't try to run erroneous pipelines.
24226
24227 2005-10-04  Julien MOUTTE  <julien@moutte.net>
24228
24229         * gst/gstbus.c: We don't need this header.
24230
24231 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24232
24233         * configure.ac:
24234           back to development
24235
24236 === release 0.9.3 ===
24237
24238 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24239
24240         * README:
24241         * configure.ac:
24242           Releasing 0.9.3, "Unregistered"
24243
24244 2005-10-03  Andy Wingo  <wingo@pobox.com>
24245
24246         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24247         whereby calling a pad's activatepush() function can start a thread
24248         that starts to push or pull before the pad gets the FLUSHING flag
24249         unset. Hack around it by holding the stream lock until the flag is
24250         set. Need to replace this with a proper solution. Together with
24251         the ghost pad fixes, this fixes mp3 playing/tagreading.
24252
24253         * docs/design/part-gstghostpad.txt: Add a note about activation of
24254         proxy pads outside of ghost pads.
24255
24256         * gst/gstghostpad.c: Implement the ghost pad activation design.
24257
24258 2005-10-02  Andy Wingo  <wingo@pobox.com>
24259
24260         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24261         It is volatile, after all.
24262
24263         * docs/design/part-gstghostpad.txt: Flesh out activation with
24264         ghost pads.
24265
24266         * gst/base/gstbasesrc.c (gst_base_src_init): Use
24267         GST_DEBUG_FUNCPTR.
24268
24269 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
24270
24271         * configure.ac:
24272           Fix (unused) AM_CONDITIONAL tests.
24273
24274 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
24275
24276         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24277
24278         * gst/gstutils.c: (gst_pad_query_convert):
24279           Add assertion that makes sure src_val is >=0, just like
24280           gst_query_new_convert() has. (#315895)
24281
24282 2005-09-30  Edward Hervey  <edward@fluendo.com>
24283
24284         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24285         Let's not iterate pads we're not interested in, it avoids getting 
24286         sky-high refcounts on sinkpad.
24287
24288 2005-09-30  Wim Taymans  <wim@fluendo.com>
24289
24290         * gst/gstelement.c: (gst_element_set_state),
24291         (gst_element_change_state):
24292         Small tweak, element in ASYNC remains ASYNC.
24293
24294 2005-09-30  Wim Taymans  <wim@fluendo.com>
24295
24296         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24297         Only error is an error.
24298
24299         * gst/gstbin.c: (gst_bin_change_state):
24300         Better debugging.
24301
24302         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24303         Also call pad_block in pad alloc.
24304
24305         * gst/gstutils.c: (gst_flow_get_name):
24306         Better debugging.
24307
24308 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24309
24310         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24311         (gst_base_src_get_range):
24312           Fix documentation typos. Add some more debug info.
24313
24314 2005-09-29  David Schleef  <ds@schleef.org>
24315
24316         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24317           more end-user friendly.
24318         * tools/gst-inspect.c: (main): Check if command-line argument is
24319           a file and attempt to load that file as a plugin.
24320
24321 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24322
24323         * check/gst/gstbin.c:
24324         * check/states/sinks.c:
24325           fix tests for the new warning
24326         * check/gst/gstpipeline.c:
24327           add a test for pipeline and bus interaction
24328         * gst/gstelement.c:
24329           elements should be NULL if they get disposed; add a warning if not
24330
24331 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24332
24333         * gst/gstobject.c:
24334           for 2.6 refcounting, make debug log more correct by printing
24335           the actual refcounts at the time of swap (Wim)
24336
24337 2005-09-29  Andy Wingo  <wingo@pobox.com>
24338
24339         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24340         removes signal watches previously added via
24341         gst_bus_add_signal_watch.
24342         (gst_bus_add_signal_watch): Don't return the source id, just store
24343         it on the bus if there wasn't an id already.
24344
24345         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24346         add_signal_watch and remove_signal_watch.
24347
24348 2005-09-29  Edward Hervey  <edward@fluendo.com>
24349
24350         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24351         Better if we actually iterate the list :)
24352
24353 2005-09-29  Wim Taymans  <wim@fluendo.com>
24354
24355         * check/gst/gstbin.c: (GST_START_TEST):
24356         Change for new bus API.
24357
24358         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24359         (send_messages), (GST_START_TEST), (gstbus_suite):
24360         Change for new bus signal API.
24361
24362         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24363         (gst_bus_source_prepare), (gst_bus_source_check),
24364         (gst_bus_create_watch), (gst_bus_add_watch_full),
24365         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24366         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24367         * gst/gstbus.h:
24368         Remove support for multiple GSources operating on different
24369         message types as it is too complex and unneeded when using
24370         signals.
24371         Added support for receiving signals from the bus.
24372
24373 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24374
24375         * docs/libs/tmpl/gstdataprotocol.sgml:
24376         * docs/manual/advanced-dataaccess.xml:
24377         * gst/elements/gstcapsfilter.c:
24378         * gst/gstutils.c:
24379           rename filter-caps to caps property
24380
24381 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24382
24383         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24384           More robust fraction string parsing.
24385
24386         * docs/pwg/appendix-porting.xml:
24387           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24388
24389 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24390
24391         * gst/gstcaps.c: (gst_caps_do_simplify):
24392           Thou shalt not free a structure and then continue using it
24393           in the next loop iteration.
24394
24395         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24396         (gst_caps_suite):
24397           Add test case for caps simplification.
24398
24399 2005-09-29  Wim Taymans  <wim@fluendo.com>
24400
24401         * check/gst/gstbin.c: (GST_START_TEST):
24402         Oops.
24403
24404 2005-09-29  Wim Taymans  <wim@fluendo.com>
24405
24406         * check/gst/gstbin.c: (GST_START_TEST):
24407         Add bus to bin.
24408
24409         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24410         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24411         (find_element), (gst_bin_sort_iterator_next),
24412         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24413         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24414         (gst_bin_change_state), (gst_bin_dispose):
24415         A bin does not have a bus, it gets the bus from the parent.
24416
24417         * gst/gstelement.c: (gst_element_requires_clock),
24418         (gst_element_provides_clock), (gst_element_is_indexable),
24419         (gst_element_is_locked_state), (gst_element_change_state),
24420         (gst_element_set_bus_func):
24421         Small cleanups.
24422
24423         * gst/gstpipeline.c: (gst_pipeline_class_init),
24424         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24425         The pipeline provides a bus.
24426
24427 2005-09-28  Johan Dahlin  <johan@gnome.org>
24428
24429         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24430         gst_structure_get_enum instead of gst_structure_get_int
24431
24432         * gst/gststructure.c (gst_structure_get_enum): Impl.
24433
24434         * gst/gststructure.h (gst_structure_get_enum): Add
24435
24436         * docs/gst/gstreamer-sections.txt: Ditto
24437
24438         * gst/gstmessage.c (gst_message_new_state_changed): Use
24439         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24440         which does introspection.
24441         Reviewed by Christian Schaller
24442
24443 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24444
24445         * gst/gstinfo.c: (gst_debug_log_default):
24446           don't do dummy g_strdup()s
24447         * libs/gst/controller/gstcontroller.c:
24448         (on_object_controlled_property_changed),
24449         (gst_controlled_property_new), (gst_controller_new_valist),
24450         (gst_controller_new_list),
24451         (gst_controller_remove_properties_valist), (gst_controller_set),
24452         (gst_controller_get), (gst_controller_sync_values),
24453         (gst_controller_get_value_array), (_gst_controller_class_init),
24454         (gst_controller_get_type):
24455         * libs/gst/controller/gstcontroller.h:
24456         * libs/gst/controller/gstinterpolation.c:
24457         (gst_controlled_property_find_timed_value_node):
24458           convert // to /**/ comments
24459
24460 2005-09-28  Wim Taymans  <wim@fluendo.com>
24461
24462         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24463         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24464         (gst_bus_sync_signal_handler):
24465         * gst/gstbus.h:
24466         Added async-message and sync-message signals to the bus.
24467         Added helper BusFunc to emit signals for all posted messages.
24468
24469         * gst/gstmessage.c: (gst_message_type_get_name),
24470         (gst_message_type_to_quark), (gst_message_get_type):
24471         * gst/gstmessage.h:
24472         Register quarks for message names.
24473
24474 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24475
24476         * docs/libs/gstreamer-libs-sections.txt:
24477         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24478         (gst_controller_new_list):
24479         * libs/gst/controller/gstcontroller.h:
24480           added another constructor for language bindings
24481
24482 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24483
24484         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24485           add another check
24486         * gst/gstbus.c:
24487           add some doc
24488         * gst/gstinfo.c: (_gst_debug_init):
24489           slightly more readable color for refcount debugging
24490
24491 2005-09-28  Wim Taymans  <wim@fluendo.com>
24492
24493         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24494         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24495         (find_element), (gst_bin_sort_iterator_next),
24496         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24497         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24498         (gst_bin_change_state), (gst_bin_dispose):
24499         Small doc fixes. get_clock -> provide_clock.
24500
24501         * gst/gstelement.c: (gst_element_class_init),
24502         (gst_element_provides_clock), (gst_element_provide_clock),
24503         (gst_element_get_clock), (gst_element_commit_state),
24504         (gst_element_lost_state):
24505         * gst/gstelement.h:
24506         Make get/set_clock() symetric. Add provide_clock vmethod since
24507         that is actually what this function does.
24508
24509         * gst/gstpipeline.c: (gst_pipeline_class_init),
24510         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24511         (gst_pipeline_get_clock):
24512         get_clock -> provide_clock.
24513
24514 2005-09-28  Andy Wingo  <wingo@pobox.com>
24515
24516         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24517         lieu of real docs...
24518
24519         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24520
24521 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24522
24523         * gst/elements/gstcapsfilter.c:
24524         * gst/elements/gstfakesink.c:
24525         * gst/elements/gstfakesrc.c:
24526         * gst/elements/gstfdsink.c:
24527         * gst/elements/gstfdsrc.c:
24528         * gst/elements/gstfilesink.c:
24529         * gst/elements/gstfilesrc.c:
24530         * gst/elements/gstidentity.c:
24531         * gst/elements/gsttee.c:
24532         * gst/elements/gsttypefindelement.c:
24533           Make element details static.
24534
24535 2005-09-28  Wim Taymans  <wim@fluendo.com>
24536
24537         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24538         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24539         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24540         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24541         (gst_bin_change_state), (gst_bin_dispose):
24542         Some documentation updates.
24543         Clean up dispose handlers.
24544
24545         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24546         * gst/gstpad.c: (gst_pad_dispose):
24547         Clean up dispose handler.
24548
24549         * gst/gstpipeline.c: (gst_pipeline_change_state):
24550         Removed spurious UNLOCK.
24551
24552 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24553
24554         * docs/gst/gstreamer-sections.txt:
24555         * gst/base/gstbasesrc.h:
24556         * gst/gstelement.h:
24557         * gst/gstevent.h:
24558         * gst/gstobject.h:
24559         * gst/gstpad.h:
24560         * gst/gstpipeline.c:
24561         * gst/gstpipeline.h:
24562         * gst/gstutils.h:
24563         * gst/gstxml.h:
24564           added two new functions to the docs
24565                 documents all undocumented GstXXXFlags
24566                 completed some incomplete docs 
24567
24568 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24569
24570         * gst/gstbin.c: (gst_bin_dispose):
24571         * gst/gstelement.c: (gst_element_dispose):
24572           remove now useless and leaky resurrection code in dispose
24573         * gst/base/gstbasesrc.c: (gst_base_src_init):
24574         * gst/gstelementfactory.c: (gst_element_factory_create):
24575         * gst/gstobject.c: (gst_object_set_parent):
24576           add some debugging
24577
24578 2005-09-27  Wim Taymans  <wim@fluendo.com>
24579
24580         * docs/design/part-TODO.txt:
24581         Update TODO.
24582
24583         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24584         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24585         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24586         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24587         (gst_bin_change_state):
24588         * gst/gstelement.h:
24589         Remove element variable, we keep element info in the iterator now.
24590
24591 2005-09-27  Andy Wingo  <wingo@pobox.com>
24592
24593         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24594         values.
24595
24596 2005-09-27  Wim Taymans  <wim@fluendo.com>
24597
24598         * check/gst/gstbin.c: (GST_START_TEST):
24599         Enable check that works now.
24600
24601         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24602         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24603         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24604         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24605         (gst_bin_change_state):
24606         * gst/gstbin.h:
24607         Redid the state change algorithm using a topological sort algo.
24608         Handles all cases correctly.
24609         Exposed iterator for state change order.
24610
24611         * gst/gstelement.h:
24612         Temp storage for state changes. Need to get rid of this soon.
24613
24614 2005-09-27  Wim Taymans  <wim@fluendo.com>
24615
24616         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24617         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24618         (link_fold_func), (gst_pad_proxy_setcaps):
24619         Leak fixes, the fold functions need to unref the passed object and
24620         _get_parent_*() returns ref to parent.
24621
24622 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24623
24624         * check/gst/gstbuffer.c: (test_make_writable):
24625           Plug leak in test case and fix 'make check-valgrind'
24626
24627 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24628
24629         * gst/gstbuffer.c: (gst_subbuffer_init):
24630           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24631           works correctly in all circumstances (we could have just copied
24632           the parent buffer's readonly flag, but conceptually it seems
24633           cleaner to mark all subbuffers as read-only). (based on patch
24634           by Alessandro Decina, #314710).
24635         
24636         * check/gst/gstbuffer.c: (create_read_only_buffer),
24637         (test_make_writable), (test_subbuffer_make_writable),
24638         (gst_test_suite):
24639           Add some tests for gst_buffer_make_writable().
24640
24641 2005-09-27  Wim Taymans  <wim@fluendo.com>
24642
24643         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24644         use gst_object_has_ancestor().
24645
24646         * gst/gstobject.c: (gst_object_has_ancestor):
24647         * gst/gstobject.h:
24648         gst_object_has_ancestor() copied from gstbin.c as it is a
24649         useful function.
24650
24651         * tests/instantiate/create.c: (create_all_elements):
24652         * tests/lat.c: (handoff_src), (handoff_sink):
24653         * tests/sched/runxml.c: (main):
24654         * tests/seeking/seeking1.c: (main):
24655         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24656         (main):
24657         Fix compilation of some tests.
24658
24659 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24660
24661         * gst/gsterror.h:
24662           Remove comment. GST_TYPE_G_ERROR is here to stay,
24663           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24664           (#316961, #300610).
24665
24666 2005-09-26  Wim Taymans  <wim@fluendo.com>
24667
24668         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24669         Added check that shows error in state change order.
24670
24671 2005-09-26  Wim Taymans  <wim@fluendo.com>
24672
24673         * gst/gstbin.c: (gst_bin_change_state):
24674         Make state change function use 3 queues again, we were
24675         adding elements in the wrong order.
24676
24677         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24678         Some debug info,
24679
24680         * gst/gstpad.c: (gst_pad_dispose):
24681         Added some debug info first.
24682
24683 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24684
24685         * docs/design/draft-push-pull.txt:
24686         * docs/design/part-events.txt:
24687         * docs/design/part-overview.txt:
24688         * docs/design/part-scheduling.txt:
24689           Replace all _pull_region() with _pull_range()
24690           
24691 2005-09-26  Andy Wingo  <wingo@pobox.com>
24692
24693         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24694
24695         * check/gst-libs/controller.c: Update for controller api change.
24696
24697         * configure.ac: 
24698         * tests/Makefile.am:
24699         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24700         over by GLib bug 118439.
24701         
24702         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24703         routines to a function.
24704
24705         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24706
24707         * libs/gst/controller/gsthelper.c:
24708         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24709         (gst_object_sync_values): Renamed from sink_values. Ugh.
24710
24711         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24712
24713         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24714         Renamed from controller_key, as it is exported.
24715
24716         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24717
24718 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24719
24720         * gst/Makefile.am:
24721         * gst/gst.h:
24722         * gst/gstpad.h:
24723         * gst/gstpadtemplate.h:
24724         * gst/gstquery.c:
24725         * gst/gstquery.h:
24726         * gst/gstqueryutils.c:
24727         * gst/gstqueryutils.h:
24728           remove queryutils headers after moving the two used functions
24729           to gstquery.  also fixes build problem for gstsiddec
24730
24731 2005-09-26  Michael Smith <msmith@fluendo.com>
24732
24733         * tools/gst-launch.1.in:
24734         Correct documentation in manpage of debug syntax
24735
24736 2005-09-26  Wim Taymans  <wim@fluendo.com>
24737
24738         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24739         (gst_base_src_is_seekable), (gst_base_src_change_state):
24740         Some more debugging info.
24741
24742 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24743
24744         * docs/gst/gstreamer-sections.txt:
24745         * gst/base/gstbasetransform.h:
24746         * gst/gstindex.h:
24747           added more docs
24748
24749 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24750
24751         * docs/gst/.cvsignore:
24752         * docs/gst/tmpl/.cvsignore:
24753         * docs/gst/tmpl/gstpipeline.sgml:
24754         * docs/gst/tmpl/gstplugin.sgml:
24755         * gst/gstpipeline.c:
24756         * gst/gstplugin.c:
24757         * gst/gstplugin.h:
24758           inlined the last two docs files
24759           removed the tmpl directory from cvs (no more conflicts here!)
24760
24761 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24762
24763         * docs/gst/gstreamer-sections.txt:
24764         * docs/gst/tmpl/.cvsignore:
24765         * docs/gst/tmpl/gstpad.sgml:
24766         * docs/gst/tmpl/gstpadtemplate.sgml:
24767         * gst/Makefile.am:
24768         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24769         (gst_pad_finalize), (gst_pad_set_pad_template):
24770         * gst/gstpad.h:
24771         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24772         (gst_pad_template_class_init), (gst_pad_template_init),
24773         (gst_pad_template_dispose), (name_is_valid),
24774         (gst_static_pad_template_get), (gst_pad_template_new),
24775         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24776         (gst_pad_template_pad_created):
24777         * gst/gstpadtemplate.h:
24778           inlined two more docs
24779           factored gstpadtemplate out of gstpad
24780
24781 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24782
24783         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24784         (test_children_state_change_order_semi_sink):
24785           Fix test case: we can't rely on a fixed state change order when
24786           going from READY => PAUSED because the sink might commit its 
24787           new state first when the first buffer created by the source 
24788           reaches the sink before the source has finished its change state.
24789           (Test case still fails at times, see #316856, comment 5 onwards)
24790
24791 2005-09-24  Wim Taymans  <wim@fluendo.com>
24792
24793         * docs/design/part-events.txt:
24794         * docs/design/part-gstbus.txt:
24795         * docs/design/part-gstpipeline.txt:
24796         * docs/design/part-messages.txt:
24797         * docs/design/part-overview.txt:
24798         * docs/design/part-segments.txt:
24799         * gst/gstbin.c:
24800         * gst/gstbuffer.c:
24801         * gst/gstclock.c:
24802         * gst/gstelement.c:
24803         * gst/gstevent.c:
24804         * gst/gstfilter.c:
24805         * gst/gstiterator.c:
24806         Various documentation updates.
24807
24808 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24809
24810         * gst/gstclock.h:
24811           Well, that's embarassing.  Luckily we weren't using
24812           GST_CLOCK_DIFF anywhere.
24813
24814 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24815
24816         * common/gtk-doc.mak:
24817           don't fail on building XML, FC4 slave shows a bunch of doc
24818           missing bits that I don't get
24819         * gst/gstpad.c:
24820         * gst/gstpipeline.c:
24821         * gst/gststructure.c:
24822           some doc updates
24823
24824 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24825
24826         * docs/design/part-gstbin.txt:
24827         * docs/design/part-gstbus.txt:
24828         * gst/gstbus.c:
24829           Add blurb about how the bus goes into flushing mode and
24830           drops all messages when its bin goes from READY into NULL 
24831           state.
24832
24833 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24834
24835         * docs/gst/gstreamer-sections.txt:
24836         * gst/gststructure.c: (gst_structure_get_clock_time):
24837         * gst/gststructure.h:
24838           add a method to get a GstClockTime out of a structure
24839
24840 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24841
24842         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24843         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24844           Added test to check state change order in bins (can still be made
24845           to fail here under heavy disk load; bails out with 'Push on pad
24846           fakesink:sink0, but it was not activated in push mode').
24847
24848         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24849           Fix state change order when there is only a semi sink (#316856)
24850
24851         * gst/gstbus.c: (gst_bus_class_init):
24852           Use _class_peek_parent(), not _class_ref(); fix docs to say
24853           'default main context' instead of 'mainloop' where that is
24854           what's meant.
24855
24856         * gst/gstelement.c: (gst_element_commit_state),
24857         (gst_element_set_state):
24858           Fix typos in debug messages
24859
24860 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24861
24862         * docs/README:
24863         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24864         * gst/gstpluginfeature.c:
24865         * gst/gstutils.c:
24866           various doc updates
24867         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24868           change an assert into an error until it gets fixed properly
24869
24870 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24871
24872         * docs/gst/gstreamer-sections.txt:
24873         * docs/gst/tmpl/.cvsignore:
24874         * docs/gst/tmpl/gstelement.sgml:
24875         * docs/gst/tmpl/gstinfo.sgml:
24876         * docs/gst/tmpl/gstobject.sgml:
24877         * gst/gstelement.c:
24878         * gst/gstelement.h:
24879         * gst/gstinfo.c:
24880         * gst/gstinfo.h:
24881         * gst/gstobject.c: (gst_object_class_init):
24882         * gst/gstobject.h:
24883           inlined 3 more biiiig doc files and added some missing docs on the fly
24884
24885 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24886
24887         * check/gst/.cvsignore:
24888         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24889         * gst/gstregistryxml.c: (load_plugin),
24890         (gst_registry_xml_save_plugin):
24891           put back source in registry.  add checks for find_plugin.
24892         * testsuite/states/bin.c: (assert_state), (empty_bin),
24893         (test_adding_one_element), (main):
24894         * testsuite/states/locked.c: (main):
24895           some compile/run fixes
24896
24897 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24898
24899         * check/gst/gstvalue.c: (GST_START_TEST):
24900           fix leaks in the test itself
24901
24902 2005-09-22  Wim Taymans  <wim@fluendo.com>
24903
24904         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24905         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24906         (gst_base_sink_query):
24907         Prepare for more accurate position reporting and query
24908         handling.
24909
24910         * gst/gstelement.c: (gst_element_send_event),
24911         (gst_element_set_state):
24912         Add some comment.
24913
24914 2005-09-22  Wim Taymans  <wim@fluendo.com>
24915
24916         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24917         (gst_query_parse_segment):
24918         * gst/gstquery.h:
24919         More documentation.
24920         Add segment query for future use.
24921
24922 2005-09-22  Wim Taymans  <wim@fluendo.com>
24923
24924         * gst/gstbin.c: (gst_bin_add_func):
24925         Some more debug info.
24926
24927         * gst/gstelement.c: (gst_element_send_event):
24928         Simplify send_event
24929
24930         * gst/gstelement.h:
24931         Don't know how flags got broken.
24932
24933         * gst/gstquery.h:
24934         Added new query.
24935
24936 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24937
24938         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24939           Add simplistic test suite for GST_TYPE_DATE serialisation and
24940           deserialisation.
24941
24942 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24943
24944         * docs/gst/gstreamer-sections.txt:
24945         * gst/gststructure.c: (gst_structure_set_valist),
24946         (gst_structure_get_date):
24947         * gst/gststructure.h:
24948         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24949         (gst_date_copy), (gst_value_compare_date),
24950         (gst_value_serialize_date), (gst_value_deserialize_date),
24951         (gst_value_transform_date_string),
24952         (gst_value_transform_string_date), (_gst_value_initialize):
24953         * gst/gstvalue.h:
24954           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24955           bunch of utility functions along with a hack that checks that
24956           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24957           is required. Part of the grand scheme in #170777.
24958
24959 2005-09-22  Andy Wingo  <wingo@pobox.com>
24960
24961         * gst/gstconfig.h.in: Psych out gtk-doc.
24962
24963         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24964
24965         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24966
24967         * tools/gst-inspect.c (print_element_list): Plug some
24968         inconsequential leaks.
24969
24970         * gst/gstregistry.c (gst_registry_get_default): Doc.
24971
24972         * check/gst/gstplugin.c: 
24973         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24974         * gst/gstelementfactory.c (gst_element_factory_create): 
24975         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24976         refcount changes.
24977
24978         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24979         (gst_plugin_feature_load): Doc, don't eat refs.
24980
24981         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24982         (gst_plugin_list_free): Doc.
24983         (gst_plugin_load_file): Doc updates.
24984
24985         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24986         accessors returning refcounted objects, return a ref.
24987
24988         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24989         accessor for caps. IDEMPOTENCE. Oh yes.
24990
24991 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24992
24993         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24994
24995         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24996         (_gst_debug_register_funcptr):
24997           Add mutex to serialise access to the hash table with
24998           the function pointer => function name string mapping;
24999           make that hash table static scope (#316809).
25000
25001         * gst/registries/.cvsignore:
25002           Remove left-over file.
25003
25004 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
25005
25006         * docs/pwg/appendix-porting.xml:
25007           And something about newsegment events and caps-on-buffers to
25008           the porting guide (feel free to improve).
25009
25010 2005-09-21  Andy Wingo  <wingo@pobox.com>
25011
25012         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
25013         data and event probes on the same pad.
25014         (test_buffer_probe_once): Test that removing probes from within
25015         the probe functions works.
25016
25017 2005-09-21  Andy Wingo  <wingo@pobox.com>
25018
25019         * check/gst/gstutils.c: New file.
25020         (test_buffer_probe_n_times): A simple buffer probe test. More to
25021         come, foolios.
25022
25023         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
25024         have-data::buffer, not have-data.
25025         (gst_pad_add_event_probe): Likewise for have-data::event.
25026         (gst_pad_add_data_probe): More docs. The part about 'resolving the
25027         peer' isn't quite right yet though.
25028         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
25029         (gst_pad_remove_data_probe): Change to take the guint handler_id
25030         as their arg, not the function+data, which is more glib-like.
25031
25032         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
25033         the signal emission to indicate if the data is a buffer or an
25034         event.
25035         (gst_pad_get_type): Initialize buffer and event quarks.
25036         (gst_pad_class_init): have-data is now a detailed signal, yes it
25037         is.
25038
25039 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
25040
25041         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25042         * gst/gstutils.c: (gst_util_set_value_from_string),
25043         (gst_util_set_object_arg):
25044           Don't put functional code in g_return_if_fail() or
25045           g_return_val_if_fail() statements, otherwise things will 
25046           break when G_DISABLE_CHECKS is defined during compilation.
25047
25048 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25049
25050         * docs/gst/tmpl/.cvsignore:
25051         * docs/gst/tmpl/gstvalue.sgml:
25052         * gst/gstvalue.c:
25053         * gst/gstvalue.h:
25054           inlied another one and added  some obvious docs
25055
25056 2005-09-21  Wim Taymans  <wim@fluendo.com>
25057
25058         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
25059         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
25060         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
25061         (gst_fdsrc_get_property), (gst_fdsrc_create):
25062         * gst/elements/gstfdsrc.h:
25063         Properly implement fdsrc. Removed signal and timeout,
25064         better implemented somewhere else.
25065
25066 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25067
25068         * docs/gst/tmpl/.cvsignore:
25069         * docs/gst/tmpl/gstimplementsinterface.sgml:
25070         * gst/gstinterface.c:
25071           inlined more docs
25072
25073 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25074
25075         * docs/gst/gstreamer-sections.txt:
25076         * docs/gst/tmpl/.cvsignore:
25077         * docs/gst/tmpl/gstenumtypes.sgml:
25078           remove obsolete doc file
25079
25080 2005-09-21  David Schleef  <ds@schleef.org>
25081
25082         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25083         little beer, fix a little leak.
25084
25085 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25086
25087         * docs/gst/gstreamer-docs.sgml:
25088         * docs/gst/gstreamer-sections.txt:
25089         * docs/gst/tmpl/.cvsignore:
25090         * gst/Makefile.am:
25091         * gst/gst.h:
25092         * gst/gstbin.c:
25093         * gst/gstelement.h:
25094         * gst/gstindex.c: (gst_index_class_init):
25095         * gst/gstindex.h:
25096         * gst/gstindexfactory.c: (gst_index_factory_get_type),
25097         (gst_index_factory_class_init), (gst_index_factory_init),
25098         (gst_index_factory_finalize), (gst_index_factory_new),
25099         (gst_index_factory_destroy), (gst_index_factory_find),
25100         (gst_index_factory_create), (gst_index_factory_make):
25101         * gst/gstindexfactory.h:
25102         * gst/gstpluginfeature.c:
25103         * gst/gstpluginfeature.h:
25104         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25105           more docs inlined, splitted gstindex.{c,h}
25106
25107 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25108
25109         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25110           fix a leak
25111
25112 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25113
25114         * gst/elements/gstfilesink.c: (gst_file_sink_init):
25115           Set sync to FALSE by default.
25116
25117 2005-09-20  Wim Taymans  <wim@fluendo.com>
25118
25119         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25120         (gst_base_sink_init):
25121         Make sync property settable from subclass.
25122
25123         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25124         (gst_fake_sink_change_state):
25125         Set sync to FALSE by default.
25126
25127 2005-09-20  Wim Taymans  <wim@fluendo.com>
25128
25129         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25130         * tools/gst-launch.c: (main):
25131         The timeout handler should have lower priority than the source
25132         so we don't timeout before popping a message with 0 timeout.
25133         Dump error messages after failed state change.
25134
25135 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25136
25137         * tools/gst-inspect.c: (print_element_properties_info):
25138           Fix two typos.
25139
25140 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25141
25142         * check/gst/gstevent.c:
25143         * gst/elements/gstfakesink.c:
25144         * gst/elements/gstfakesink.h:
25145           remove the sync property from fakesink.
25146           has the side effect of setting sync TRUE
25147           for fakesink, which is a change.  Anyone who knows how
25148           to fix this nicely in a GObject-y way, feel free.
25149
25150 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25151
25152         * docs/gst/gstreamer-docs.sgml:
25153           remove probe refsection
25154
25155 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25156
25157         * check/Makefile.am:
25158           disable valgrinding the controller test again
25159         * docs/gst/gstreamer-sections.txt:
25160           update for api-changes
25161
25162 2005-09-20  Wim Taymans  <wim@fluendo.com>
25163
25164         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25165         (gst_base_sink_set_property), (gst_base_sink_get_property),
25166         (gst_base_sink_do_sync):
25167         * gst/base/gstbasesink.h:
25168         Added sync property to basesink to disable clock sync.
25169
25170 2005-09-20  Andy Wingo  <wingo@pobox.com>
25171
25172         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25173         eating the caller's refcount.
25174
25175         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
25176         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25177         refcount.
25178
25179         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25180         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25181         of GLib 2.8 public, so we can know which refcount to check in
25182         tests.
25183
25184         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25185         (gst_object_init): Only set the gst refcount if we're going ahead
25186         with the refcount hack.
25187
25188 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25189
25190         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25191         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25192           more leaks plumbed, added more debug-logging
25193         * gst/gstmacros.h:
25194           whitespace fix
25195
25196 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25197
25198         * gst/gstmessage.c:
25199           remove include of gstmemchunk.h
25200
25201 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25202
25203         * gst/gstclock.c: (_gst_clock_id_free):
25204           Commit from the Political Party For More Atomic CVS Commits,
25205           so that people don't waste too much of their day fishing
25206           out obvious leaks out of massive commits.
25207           Oh, and fix a pretty damn obvious leak in the memchunk
25208           removal code.
25209
25210 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25211
25212         * check/Makefile.am:
25213         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25214           plug mem-leak, re-add to valgrindable tests
25215
25216 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25217
25218         * gst/gstplugin.h:
25219           unbreak the build for those who have chronic arthritis
25220           and typing "make check" is just too taxing on the hands
25221
25222 2005-09-20  Andy Wingo  <wingo@pobox.com>
25223
25224         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25225         really want it out, you should fix plugins at the same time.
25226
25227 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
25228
25229         * configure.ac:
25230         * docs/gst/gstreamer-sections.txt:
25231         * gst/gstobject.c:
25232           added missing symbols to api docs
25233           disable ref-count hack if we have glib >= 2.8
25234
25235 2005-09-19  David Schleef  <ds@schleef.org>
25236
25237         * docs/gst/Makefile.am: Ignore a few more internal headers
25238         * docs/gst/gstreamer-docs.sgml: Remove old sections
25239         * docs/gst/gstreamer-sections.txt: Remove old sections
25240         * docs/gst/tmpl/gstobject.sgml: update
25241         * docs/gst/tmpl/gstplugin.sgml: update
25242         * docs/gst/tmpl/gstpluginfeature.sgml: update
25243         * docs/random/ds/0.9-suggested-changes: update.
25244         * gst/Makefile.am: remove memchunk and trashstack, since they're
25245           not used.
25246         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25247         * gst/gst.h: don't include some headers
25248         * gst/gstchildproxy.c: add gstmarshal.h
25249         * gst/gstclock.c: Don't use memchunks
25250         * gst/gstminiobject.c: Add some docs
25251         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25252         * gst/gstobject.h: same
25253         * gst/gstplugin.c: include gstmacros.h
25254         * gst/gstplugin.h: don't include gstmacros.h, since it's private
25255         * gst/gstquery.c: don't use memchunks
25256         * gst/gstregistry.c: rename gst_registry_deinit()
25257         * gst/gstregistry.h: same
25258
25259 2005-09-19  David Schleef  <ds@schleef.org>
25260
25261         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25262         * docs/libs/gstreamer-libs-sections.txt:
25263         * docs/libs/tmpl/gstgetbits.sgml:
25264         * docs/libs/tmpl/gstputbits.sgml:
25265
25266 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
25267
25268         * win32/gstenumtypes.c:
25269         * win32/gstenumtypes.h:
25270           Update.
25271
25272 2005-09-19  Wim Taymans  <wim@fluendo.com>
25273
25274         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25275         Automatically PAUSE and RESUME a pipeline when a flushing seek
25276         is performed.
25277
25278 2005-09-19  Andy Wingo  <wingo@pobox.com>
25279
25280         * gst/gstregistry.h: Spacing fixen.
25281
25282 2005-09-19  Wim Taymans  <wim@fluendo.com>
25283
25284         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25285         Handle state change failure more correctly.
25286
25287 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25288
25289         * check/Makefile.am:
25290         * check/pipelines/cleanup.c: (run_pipeline):
25291         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25292         (GST_START_TEST):
25293           enable cleanup again after fixing the leak
25294         * docs/README:
25295           some more info on docs
25296
25297 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25298
25299         * check/Makefile.am:
25300           re-enable tests now that leaks are plugged
25301         * check/gst/gst.c:
25302         * check/gst/gstbin.c:
25303         * check/gst/gstpipeline.c:
25304           add some more tests while fixing leaks
25305         * common/check.mak:
25306           make sure binaries are uptodate when valgrinding/gdbing
25307         * gst/gst.c:
25308         * gst/gstelementfactory.c:
25309           remove a ref too many, and add a FIXME for when we get
25310           round to disposing of classes
25311         * gst/gstplugin.c:
25312           fix the refcounting when loading a plugin from a file and
25313           the code pretends that the pointer is the same even though
25314           of course it can change
25315         * gst/gstpluginfeature.c:
25316           unref plugins marked cached (a bit confusing as a name)
25317           as the docs state should be done
25318           various doc additions to explain refcounting
25319         * gst/gstregistry.c:
25320         * gst/gstregistryxml.c:
25321           debugging
25322
25323 2005-09-19  Wim Taymans  <wim@fluendo.com>
25324
25325         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25326         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25327         (send_messages), (GST_START_TEST), (gstbus_suite):
25328         * check/gst/gstpipeline.c: (GST_START_TEST):
25329         * check/pipelines/cleanup.c: (run_pipeline):
25330         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25331         (GST_START_TEST):
25332         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25333         (gst_bus_source_check), (gst_bus_source_dispatch),
25334         (gst_bus_create_watch), (gst_bus_add_watch_full),
25335         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25336         * gst/gstbus.h:
25337         * tools/gst-launch.c: (event_loop):
25338         * tools/gst-md5sum.c: (event_loop):
25339         GstBusHandler -> GstBusFunc, return value has the same meaning as
25340         any other GSource (FALSE == remove source).
25341         _add_watch() and _add_watch_full() now take a MessageType mask to
25342         only handle specific types of messages.
25343         _poll() returns the GstMessage instead of the message type to avoid
25344         race conditions.
25345         _have_pending() takes a MessageType mask now too.
25346         Added testsuite for multiple bus watches.
25347         Fix testsuites and applications for new bus API.
25348
25349 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25350
25351         * check/Makefile.am:
25352           mark a bunch of the tests as to fix until we fix them
25353
25354 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25355
25356         * common/check.mak:
25357           use GST_PLUGIN settings for valgrind tests as well, so we're
25358           valgrinding the correct thing
25359         * gst/gst.c: (init_post):
25360           plug another leak
25361
25362 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25363
25364         * gst/gst.c: (init_post), (gst_deinit):
25365         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25366         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25367         * gst/gstindex.c: (gst_index_factory_class_init),
25368         (gst_index_factory_finalize):
25369         * gst/gstobject.c: (gst_object_dispose):
25370         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25371         (gst_plugin_load_file), (gst_plugin_desc_free):
25372         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25373         (gst_plugin_feature_finalize):
25374         * gst/gstregistry.c: (gst_registry_class_init),
25375         (gst_registry_init), (gst_registry_finalize),
25376         (gst_registry_get_default), (gst_registry_deinit):
25377         * gst/gstregistry.h:
25378         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25379           various cleanups and memleak plugging.  make valgrind is happy now.
25380
25381 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25382
25383         * common/check.mak:
25384           add a check-valgrind target
25385
25386 2005-09-18  David Schleef  <ds@schleef.org>
25387
25388         * tools/gst-inspect.c: Revert the GOption code.
25389
25390 2005-09-17  David Schleef  <ds@schleef.org>
25391
25392         * check/Makefile.am: Fix environment variables.
25393         * check/gst/gstplugin.c: Fix for API changes.
25394         * tools/gst-inspect.c: Fix for API changes.
25395         * tools/gst-xmlinspect.c: Fix for API changes.
25396         * gst/gstelementfactory.c:
25397         * gst/gstplugin.c:
25398         * gst/gstplugin.h:
25399         * gst/gstpluginfeature.c:
25400         * gst/gstpluginfeature.h:
25401         * gst/gstregistry.c:
25402         * gst/gstregistry.h:
25403         * gst/gstregistryxml.c:
25404         * gst/gsttypefind.c:
25405         * gst/gsttypefindfactory.c:
25406         * gst/indexers/gstfileindex.c:
25407         * gst/indexers/gstmemindex.c:
25408         * gst/schedulers/Makefile.am:
25409           Change registry to keep track of both plugins and features,
25410           removing the feature tracking from plugins themselves.
25411
25412 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25413
25414         * check/Makefile.am:
25415         * tools/gst-register.1.in:
25416           remove gst-register
25417
25418 2005-09-15  David Schleef  <ds@schleef.org>
25419
25420         * check/gst/gstplugin.c:
25421         * gst/gstelementfactory.c:
25422         * gst/gstplugin.c:
25423         * gst/gstpluginfeature.c:
25424         * gst/gstregistry.c:
25425           Getting tired of debugging.  Disabled all the unreffing of
25426           plugins and features, which fixes the segfaults, but of
25427           course leaks like crazy.  At least playbin works.
25428
25429 2005-09-15  David Schleef  <ds@schleef.org>
25430
25431         * check/gst/gstplugin.c: (register_check_elements),
25432         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25433         More testing
25434         * gst/elements/gsttypefindelement.c: Fix refcounting.
25435         * gst/gsttypefind.c:
25436         * gst/gsttypefindfactory.c:
25437         * gst/gsttypefindfactory.h:
25438
25439 2005-09-15  David Schleef  <ds@schleef.org>
25440
25441         * gst/gstindex.c: get refcounting correct.
25442         * gst/gstregistry.c: Handle the case where a feature/plugin is
25443           not found.
25444
25445 2005-09-15  David Schleef  <ds@schleef.org>
25446
25447         * check/Makefile.am:
25448         * check/gst/gstplugin.c: Add test
25449         * gst/gstplugin.c: Fix problems noticed by testsuite
25450         * gst/gstplugin.h:
25451         * gst/gstregistry.c: 
25452         * gst/gstregistry.h:
25453
25454 2005-09-15  David Schleef  <ds@schleef.org>
25455
25456         * gst/gstplugin.c: Implement semi-decent recounting and locking
25457           in plugins and plugin features.
25458         * gst/gstplugin.h:
25459         * gst/gstpluginfeature.c:
25460         * gst/gstpluginfeature.h:
25461         * gst/gstregistry.c:
25462
25463 2005-09-15  Michael Smith <msmith@fluendo.com>
25464
25465         * gst/gstregistry.c: (gst_registry_get_feature_list):
25466           Implement this. Makes oggdemux work; decodebin still broken.
25467
25468 2005-09-14  David Schleef  <ds@schleef.org>
25469
25470         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25471           #316076)
25472         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25473         * gst/check/Makefile.am:
25474         * libs/gst/controller/Makefile.am:
25475         * libs/gst/dataprotocol/Makefile.am:
25476
25477 2005-09-14  David Schleef  <ds@schleef.org>
25478
25479         * configure.ac: Remove getbits library.  Nothing uses it, and
25480           it should be in something like liboil if someone did want
25481           to use it.
25482         * libs/gst/Makefile.am:
25483         * libs/gst/getbits/Makefile.am:
25484         * libs/gst/getbits/gbtest.c:
25485         * libs/gst/getbits/getbits.c:
25486         * libs/gst/getbits/getbits.h:
25487         * libs/gst/getbits/gstgetbits_generic.c:
25488         * libs/gst/getbits/gstgetbits_i386.s:
25489         * libs/gst/getbits/gstgetbits_inl.h:
25490
25491 2005-09-14  David Schleef  <ds@schleef.org>
25492
25493         * gst/Makefile.am: Dist glib-compat.h
25494
25495 2005-09-14  David Schleef  <ds@schleef.org>
25496
25497         * configure.ac: Remove gst/registries, since it's no longer used.
25498         * gst/registries/Makefile.am:
25499         * gst/registries/gstlibxmlregistry.c:
25500         * gst/registries/gstlibxmlregistry.h:
25501         * gst/registries/gstxmlregistry.c:
25502         * gst/registries/gstxmlregistry.h:
25503         * gst/registries/registrytest.c:
25504
25505 2005-09-14  David Schleef  <ds@schleef.org>
25506
25507         * gst/glib-compat.h:
25508         * gst/gstregistryxml.c:
25509           Convergence is near.  Seriously.
25510
25511 2005-09-14  David Schleef  <ds@schleef.org>
25512
25513         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25514         * gst/glib-compat.h:
25515           Attempt #4 to appease the buildbots.
25516
25517 2005-09-14  David Schleef  <ds@schleef.org>
25518
25519         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25520           Attempt #3.
25521
25522 2005-09-14  David Schleef  <ds@schleef.org>
25523
25524         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25525         Attempt #2.
25526
25527 2005-09-14  David Schleef  <ds@schleef.org>
25528
25529         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25530           the new functions.
25531
25532 2005-09-14  David Schleef  <ds@schleef.org>
25533
25534         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25535         * gst/glib-compat.h: Add some functions that are in newer versions
25536           of glib than we care to require.
25537         * gst/gstregistryxml.c: Use them.
25538
25539 2005-09-14  David Schleef  <ds@schleef.org>
25540
25541         * po/POTFILES.in: remove gst-register.c
25542
25543 2005-09-14  David Schleef  <ds@schleef.org>
25544
25545         * docs/gst/gstreamer-docs.sgml:
25546         * docs/gst/gstreamer-sections.txt:
25547         * docs/gst/gstreamer.types:
25548         * docs/gst/tmpl/gstelement.sgml:
25549         * docs/gst/tmpl/gstplugin.sgml:
25550         * docs/gst/tmpl/gstpluginfeature.sgml:
25551           Documentation updates for registry changes.
25552
25553 2005-09-14  David Schleef  <ds@schleef.org>
25554
25555         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25556           because we don't require glib-2.8.
25557
25558 2005-09-14  David Schleef  <ds@schleef.org>
25559
25560         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25561           registries directory.
25562
25563 2005-09-14  David Schleef  <ds@schleef.org>
25564
25565         * check/Makefile.am:
25566         * check/generic/states.c:
25567         * gst/Makefile.am:
25568         * gst/gst.c:
25569         * gst/gst.h:
25570         * gst/gst_private.h:
25571         * gst/gstelementfactory.c:
25572         * gst/gstindex.c:
25573         * gst/gstinfo.c:
25574         * gst/gstplugin.c:
25575         * gst/gstplugin.h:
25576         * gst/gstpluginfeature.c:
25577         * gst/gstpluginfeature.h:
25578         * gst/gstregistry.c:
25579         * gst/gstregistry.h:
25580         * gst/gstregistrypool.c: remove
25581         * gst/gstregistrypool.h: remove
25582         * gst/gsttypefind.c:
25583         * gst/gsttypefindfactory.c:
25584         * gst/gsturi.c:
25585         * tools/Makefile.am:
25586         * tools/gst-compprep.c:
25587         * tools/gst-inspect.c:
25588         * tools/gst-register.c: remove
25589         * tools/gst-xmlinspect.c:
25590           Registry rewrite.  Changes registry from being a file created
25591           by a tool into a simple cache file created automatically by 
25592           libgstreamer.  Removed gst-register (because it's no longer
25593           needed).  Remove registry pools, because we only have one
25594           registry implementation (XML).  Fix up other subsystems as
25595           necessary.
25596
25597 2005-09-13  Michael Smith <msmith@fluendo.com>
25598
25599         * gst/gstconfig.h.in:
25600           Don't Use windows linking attributes for MinGW. Fixes #316157
25601
25602 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25603
25604         * gst/gstutils.c: (set_state_async_thread_func),
25605         (gst_element_set_state_async):
25606           Apparently people think it's better if this function doesn't
25607           try to set the state to whatever state was asked for on the first
25608           call to this function for any object.  Seriously.
25609
25610 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25611
25612         * check/gst/gstpipeline.c: (GST_START_TEST):
25613         * docs/gst/gstreamer-sections.txt:
25614         * gst/gstutils.c: (set_state_async_thread_func),
25615         (gst_element_set_state_async):
25616         * gst/gstutils.h:
25617           add a "gst_element_set_state_async" method that
25618           sets the state and starts a thread to make sure the state
25619           change completes as best as it can
25620
25621 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25622
25623         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25624           codify design+behaviour in testsuite after discussion
25625
25626 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25627
25628         * docs/gst/tmpl/gstelement.sgml:
25629         * docs/manual/appendix-quotes.xml:
25630           add a quote
25631         * gst/gstelement.c: (gst_element_set_state):
25632           add some debug
25633
25634 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25635
25636         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25637         (gst_base_transform_prepare_output_buf),
25638         (gst_base_transform_handle_buffer):
25639         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25640         (gst_capsfilter_prepare_buf):
25641           Remove the requirement for sub-classes to call the parent
25642           implementation of prepare_output_buffer with a wrapper function.
25643           
25644         * gst/gsttaglist.h:
25645         * gst/gsttagsetter.h:
25646           Fix #define wrapper
25647
25648 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25649
25650         * docs/gst/gstreamer-sections.txt:
25651           more doc cleanups
25652
25653 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25654
25655         * docs/gst/gstreamer-sections.txt:
25656         * docs/gst/tmpl/gstelement.sgml:
25657         * docs/gst/tmpl/gstplugin.sgml:
25658         * gst/gstminiobject.c:
25659         * gst/gstvalue.h:
25660           docs now stop throwing warnings
25661
25662 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25663
25664         * docs/gst/gstreamer-sections.txt:
25665         * docs/gst/gstreamer.types:
25666         * docs/gst/tmpl/gstpad.sgml:
25667         * docs/gst/tmpl/gsttypes.sgml:
25668         * gst/base/gstadapter.h:
25669         * gst/base/gstbasesink.h:
25670         * gst/base/gstbasesrc.h:
25671         * gst/gstbin.h:
25672         * gst/gstbuffer.h:
25673         * gst/gstbus.h:
25674         * gst/gstcaps.h:
25675         * gst/gstclock.h:
25676         * gst/gstelement.h:
25677         * gst/gstevent.h:
25678         * gst/gstmessage.h:
25679         * gst/gstpad.h:
25680         * gst/gststructure.c:
25681         * gst/registries/gstlibxmlregistry.h:
25682           various documentation fixes
25683
25684 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25685
25686         * docs/gst/gstreamer-sections.txt:
25687         * docs/gst/tmpl/gstvalue.sgml:
25688           rearrange gstvalue section
25689         * gst/gstutils.c: (gst_element_state_get_name):
25690           NONE -> VOID
25691         * gst/gstvalue.c: (_gst_value_initialize):
25692         * gst/gstvalue.h:
25693           doc updates
25694
25695 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25696
25697         * check/gst-libs/controller.c:
25698           Header include fix.
25699         * gst/base/gstbasetransform.c:
25700         (gst_base_transform_default_prepare_buf),
25701         (gst_base_transform_handle_buffer):
25702         * gst/base/gstbasetransform.h:
25703           Some more basetransform changes and fixes to enable sub-classes
25704           that modify buffer metadata only.
25705         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25706         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25707         (gst_capsfilter_prepare_buf):
25708           If the output pad has fixed allowed caps and input buffers 
25709           don't have any, set the fixed caps on outgoing buffers.
25710
25711 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25712         * check/elements/identity.c: (GST_START_TEST):
25713           Make the error a little clearer when the test fails because
25714           identity made a copy of the buffer.
25715         * docs/gst/gstreamer-sections.txt:
25716           New symbols in gstbasetransform.h
25717         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25718         (gst_base_transform_init), (gst_base_transform_transform_size),
25719         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25720         (gst_base_transform_default_prepare_buf),
25721         (gst_base_transform_get_unit_size),
25722         (gst_base_transform_buffer_alloc),
25723         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25724         (gst_base_transform_change_state),
25725         (gst_base_transform_set_passthrough),
25726         (gst_base_transform_set_in_place),
25727         (gst_base_transform_is_in_place):
25728         * gst/base/gstbasetransform.h:
25729           Change BaseTransform to separate in_place operate from same_caps
25730           output. in_place implies that the element can perform the transform
25731           on incoming buffers in-place, even if the caps on the output are
25732           different.
25733           Sub-class elements can now implement special buffer allocation
25734           methods for outgoing buffers if they wish to.
25735           Big documentation addition.
25736         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25737         * gst/elements/gstelements.c:
25738           Changes for basetransform modifications.
25739         * gst/elements/Makefile.am:
25740         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25741           Compile fix. Extra debug output.
25742
25743 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25744
25745         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25746         (gst_pad_suite):
25747           add tests for valid pad naming
25748         * gst/check/gstcheck.c: (gst_check_log_message_func),
25749         (gst_check_log_critical_func):
25750           add ASSERT_WARNING
25751           remove printing of code, it is fragile when the code contains
25752           % and the line number is enough info
25753         * gst/check/gstcheck.h:
25754         * gst/gstpad.c: (gst_pad_template_new):
25755           fix memleaks
25756
25757 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25758
25759         * configure.ac:
25760           say what CHECK flags we use
25761         * docs/libs/gstreamer-libs.types:
25762         * libs/gst/controller/Makefile.am:
25763         * libs/gst/controller/gst-controller.c:
25764         * libs/gst/controller/gst-controller.h:
25765         * libs/gst/controller/gst-helper.c:
25766         * libs/gst/controller/gst-interpolation.c:
25767         * libs/gst/controller/gstcontroller.c:
25768         * libs/gst/controller/gsthelper.c:
25769         * libs/gst/controller/gstinterpolation.c:
25770         * tools/gst-inspect.c: (print_plugin_info):
25771           we don't use dashes in header names
25772
25773 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25774
25775         * check/Makefile.am:
25776         * check/gst/.cvsignore:
25777         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25778         (gst_pipeline_suite), (main):
25779           adding a test for pipelines and state changes
25780         * gst/gstutils.c: (get_state_func):
25781           add some debugging
25782         * gstreamer.spec.in:
25783           fix up spec file
25784
25785 2005-09-08  Michael Smith <msmith@fluendo.com>
25786
25787         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25788         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25789         (gst_file_src_is_seekable), (gst_file_src_get_size),
25790         (gst_file_src_start):
25791         * gst/elements/gstfilesrc.h:
25792           Various fixes for unseekable, unmmapable, and non-normal files, so
25793           that fallback to read() rather than mmap() works.
25794         * gst/gstevent.c: (gst_event_new_newsegment):
25795           Allow newsegment events with segment_start == segment_end, as will
25796           correctly happen if you use filesrc on a zero-size file, for
25797           example.
25798
25799 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25800
25801         * gst/gstplugin.c: (gst_plugin_load_file):
25802           Call g_module_close when we don't load the module
25803
25804         * gst/registries/gstlibxmlregistry.c:
25805         (gst_xml_registry_get_property):
25806           Port leak fix from 0.8
25807
25808 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25809
25810         * docs/gst/gstreamer-docs.sgml:
25811         * docs/gst/tmpl/.cvsignore:
25812         * docs/gst/tmpl/gsttrace.sgml:
25813         * docs/gst/tmpl/gsttrashstack.sgml:
25814         * gst/Makefile.am:
25815         * gst/gst.h:
25816         * gst/gstelement.h:
25817         * gst/gstevent.h:
25818         * gst/gstmessage.c:
25819         * gst/gstmessage.h:
25820         * gst/gsttag.c:
25821         * gst/gsttag.h:
25822         * gst/gsttaginterface.c:
25823         * gst/gsttaginterface.h:
25824         * gst/gsttaglist.c:
25825         * gst/gsttaglist.h:
25826         * gst/gsttagsetter.c:
25827         * gst/gsttagsetter.h:
25828         * gst/gsttrace.c:
25829         * gst/gsttrace.h:
25830         * gst/gsttrashstack.c:
25831           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25832           inlined docs for gsttrace, gsttrashstack
25833
25834 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25835
25836         * gst/Makefile.am:
25837         * gst/elements/gstbufferstore.h:
25838         * gst/elements/gsttypefindelement.c:
25839         * gst/elements/gsttypefindelement.h:
25840         * gst/gst.h:
25841         * gst/gsttypefind.c:
25842         * gst/gsttypefind.h:
25843         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25844         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25845         (gst_type_find_factory_dispose),
25846         (gst_type_find_factory_unload_thyself),
25847         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25848         (gst_type_find_factory_get_caps),
25849         (gst_type_find_factory_get_extensions),
25850         (gst_type_find_factory_call_function):
25851         * gst/gsttypefindfactory.h:
25852         * gst/registries/gstlibxmlregistry.c:
25853         * gst/registries/gstxmlregistry.c:
25854           splitted gsttypefind into gsttypefind, gsttypefindfactory
25855
25856 2005-09-07  Andy Wingo  <wingo@pobox.com>
25857
25858         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25859         condition whereby the pad's task function is entered before the
25860         pad_mode variable was set.
25861
25862 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25863
25864         * gst/gstpad.c: (gst_pad_alloc_buffer):
25865           Catch misbehaving pad_alloc functions that don't
25866           set up caps and do it for them.
25867
25868 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25869
25870         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25871           test for pipe!=NULL
25872         * docs/gst/tmpl/.cvsignore:
25873         * docs/gst/tmpl/gstmemchunk.sgml:
25874         * docs/gst/tmpl/gstparse.sgml:
25875         * docs/gst/tmpl/gsttaglist.sgml:
25876         * docs/gst/tmpl/gsttagsetter.sgml:
25877         * docs/gst/tmpl/gsttypefind.sgml:
25878         * docs/gst/tmpl/gsttypefindfactory.sgml:
25879         * gst/gstmemchunk.c:
25880         * gst/gstparse.c:
25881         * gst/gsttag.c:
25882         * gst/gsttaginterface.c:
25883         * gst/gsttypefind.c:
25884         * gst/gsttypefind.h:
25885           inlined more docs
25886
25887 === release 0.9.2 ===
25888
25889 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25890
25891         * NEWS:
25892         * RELEASE:
25893         * configure.ac:
25894           releasing 0.9.2, "South"
25895
25896 2005-09-05  Andy Wingo  <wingo@pobox.com>
25897
25898         * gst/registries/gstxmlregistry.h:
25899         * gst/registries/gstxmlregistry.c: Um... resurrect...
25900         
25901         * gst/registries/gstxmlregistry.h:
25902         * gst/registries/gstxmlregistry.c: and update to newer API.
25903         Incidentally they should be a bit faster now that they don't have
25904         to parse the caps.
25905         
25906 2005-09-05  Andy Wingo  <wingo@pobox.com>
25907
25908         * gst/registries/gstxmlregistry.h:
25909         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25910         replaced by the libxml registry a while back
25911
25912 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25913
25914         * docs/gst/tmpl/gstplugin.sgml:
25915         * gst/elements/gstelements.c:
25916         * gst/gst.c:
25917         * gst/gstplugin.c: (gst_plugin_register_func),
25918         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25919         (gst_plugin_get_source):
25920         * gst/gstplugin.h:
25921         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25922         (gst_xml_registry_save_plugin):
25923         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25924         (gst_xml_registry_save_plugin):
25925         * tools/gst-inspect.c: (print_plugin_info):
25926           add a "source" plugin description field, to represent the source
25927           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25928           will set it to PACKAGE, which is automake's idea of the name of
25929           the source project.
25930
25931 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25932
25933         * Makefile.am:
25934         * autogen.sh:
25935         * configure.ac:
25936         * docs/Makefile.am:
25937         * docs/faq/Makefile.am:
25938         * docs/gst/tmpl/gstelement.sgml:
25939         * docs/gst/tmpl/gsttypes.sgml:
25940         * docs/htmlinstall.mak:
25941         * docs/manual/Makefile.am:
25942         * docs/pwg/Makefile.am:
25943           reorganize doc build a little
25944           split out docbook and gtk-doc stuff
25945           have two separate --enable's and enable them through autogen
25946           but disable by default in configure (to be similar to other
25947           projects)
25948         * gstreamer.spec.in:
25949           clean up docs install
25950         * po/af.po:
25951         * po/az.po:
25952         * po/ca.po:
25953         * po/cs.po:
25954         * po/de.po:
25955         * po/en_GB.po:
25956         * po/fr.po:
25957         * po/it.po:
25958         * po/nb.po:
25959         * po/nl.po:
25960         * po/ru.po:
25961         * po/sq.po:
25962         * po/sr.po:
25963         * po/sv.po:
25964         * po/tr.po:
25965         * po/uk.po:
25966         * po/vi.po:
25967           translation updates
25968
25969 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25970
25971         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25972           Add comment.
25973           
25974         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25975         (gst_fake_sink_change_state):
25976           Make state change function thread-safe.
25977           
25978         * gst/gstpad.c: (gst_pad_alloc_buffer):
25979           Set offset on generic buffer allocated by fallback.
25980
25981 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25982
25983         * docs/gst/gstreamer-sections.txt:
25984         * docs/gst/tmpl/gstelement.sgml:
25985         * gst/gstpad.c:
25986         * libs/gst/controller/gst-controller.c:
25987         (gst_controlled_property_set_interpolation_mode),
25988         (gst_controlled_property_new),
25989         (gst_controller_find_controlled_property):
25990          run the wingo-magic script against the docs
25991
25992 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25993
25994         * docs/gst/gstreamer-docs.sgml:
25995         * docs/gst/gstreamer-sections.txt:
25996         * docs/gst/tmpl/.cvsignore:
25997         * docs/gst/tmpl/gstelementdetails.sgml:
25998         * docs/gst/tmpl/gstelementfactory.sgml:
25999         * gst/gst.c:
26000         * gst/gstbus.c:
26001         * gst/gstelementfactory.c:
26002         * gst/gstelementfactory.h:
26003           merged elementdetails docs into elementfactory docs
26004           inlined both
26005
26006 2005-09-02  Andy Wingo  <wingo@pobox.com>
26007
26008         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
26009         consider this enum an enum and not a flags.
26010
26011 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
26012
26013         * docs/gst/gstreamer-docs.sgml:
26014         * docs/gst/tmpl/.cvsignore:
26015         * docs/gst/tmpl/gstghostpad.sgml:
26016         * docs/gst/tmpl/gstiterator.sgml:
26017         * docs/gst/tmpl/gstmacros.sgml:
26018         * docs/gst/tmpl/gstrealpad.sgml:
26019         * docs/gst/tmpl/gstregistry.sgml:
26020         * docs/gst/tmpl/gstregistrypool.sgml:
26021         * docs/gst/tmpl/gststructure.sgml:
26022         * docs/gst/tmpl/gstsystemclock.sgml:
26023         * docs/gst/tmpl/gsttrace.sgml:
26024         * gst/gstghostpad.c:
26025         * gst/gstmacros.h:
26026         * gst/gstmemchunk.c:
26027         * gst/gstmemchunk.h:
26028         * gst/gstqueue.c:
26029         * gst/gstregistry.c:
26030         * gst/gstregistrypool.c:
26031         * gst/gststructure.c:
26032         * gst/gstsystemclock.c:
26033           more docs inlined
26034
26035 2005-09-02  Andy Wingo  <wingo@pobox.com>
26036
26037         * gst/gstelement.h (GstState): Renamed from GstElementState,
26038         changed to be a normal enum instead of flags.
26039         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
26040         munged to be GST_STATE_CHANGE_*.
26041         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
26042         work with the new state representation.
26043         (GstStateChange): New enumeration of possible state transitions.
26044         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
26045         (GstElementClass::change_state): Pass the GstStateChange along as
26046         an argument. Helps language bindings, so they don't have to use
26047         tricky lock-needing macros like GST_STATE_CHANGE ().
26048
26049         * scripts/update-states (file): New script. Run it on a file to
26050         update it for state naming and API changes. Updates files in
26051         place.
26052
26053         * All files updated for the new API.
26054
26055 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26056
26057         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
26058         * gst/gstutils.c: (gst_util_set_value_from_string),
26059         (gst_util_set_object_arg):
26060           fix a bunch of unchecked return values
26061         * tools/gst-complete.c: (main):
26062         * gstreamer.spec.in:
26063           clean up a little
26064
26065 2005-09-01  Wim Taymans  <wim@fluendo.com>
26066
26067         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26068         (gst_base_sink_event), (gst_base_sink_do_sync),
26069         (gst_base_sink_handle_event):
26070         * gst/base/gstbasesink.h:
26071         Handle newsegments more correctly.
26072
26073         * gst/gstbus.c:
26074         Fix docs.
26075
26076         * gst/gstevent.c: (gst_event_new_newsegment):
26077         A newsegment cannot have a start_time of -1
26078
26079 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
26080
26081         * win32/gstenumtypes.c:
26082         * win32/gstenumtypes.h:
26083           Update
26084
26085 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26086
26087         * libs/gst/controller/gst-controller.c:
26088         (gst_controlled_property_set_interpolation_mode),
26089         (gst_controlled_property_new):
26090          fixed boolean again
26091
26092 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
26093
26094         * docs/faq/gst-uninstalled:
26095           add -good
26096         * gst/gstevent.c:
26097         * gst/gstevent.h:
26098           remove wrong docs
26099         * gst/gstutils.c: (gst_element_link_filtered):
26100         * gst/gstutils.h:
26101           add gst_element_link_filtered
26102
26103 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26104
26105         * docs/gst/gstreamer-docs.sgml:
26106         * docs/gst/gstreamer-sections.txt:
26107         * docs/gst/tmpl/.cvsignore:
26108         * docs/gst/tmpl/gsterror.sgml:
26109         * docs/gst/tmpl/gstfilter.sgml:
26110         * docs/gst/tmpl/gsturihandler.sgml:
26111         * docs/gst/tmpl/gsturitype.sgml:
26112         * docs/gst/tmpl/gstutils.sgml:
26113         * docs/gst/tmpl/gstxml.sgml:
26114         * gst/gsterror.c:
26115         * gst/gsterror.h:
26116         * gst/gstfilter.c:
26117         * gst/gsturi.c:
26118         * gst/gsturitype.c:
26119         * gst/gstutils.c:
26120         * gst/gstxml.c:
26121           inlined more docs, fixed double id-ref
26122
26123 2005-08-31  Wim Taymans  <wim@fluendo.com>
26124
26125         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26126         (gst_base_transform_handle_buffer):
26127         Passthrough elements don't need the caps as they don't care.
26128
26129 2005-08-31  Wim Taymans  <wim@fluendo.com>
26130
26131         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26132         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26133         Don't leak refcounts on buffers.
26134
26135 2005-08-31  Wim Taymans  <wim@fluendo.com>
26136
26137         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26138         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26139         (gst_base_transform_chain), (gst_base_transform_change_state):
26140         * gst/base/gstbasetransform.h:
26141         Handle the case where we are not negotiated more gracefully.
26142
26143 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
26144
26145         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26146         (gst_file_src_map_region):
26147           Set READONLY flag on mmap'ed buffers, otherwise
26148           gst_buffer_make_writable() won't work properly (#314708).
26149
26150 2005-08-31  Wim Taymans  <wim@fluendo.com>
26151
26152         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26153         passthrough elements can even do inplace on non writable
26154         buffers (as they don't touch them).
26155
26156 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26157
26158         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26159         (gst_test_mono_source_set_property),
26160         (gst_test_mono_source_class_init), (GST_START_TEST),
26161         (gst_controller_suite):
26162           more tests (hehe I have the most)
26163         * gst/gstbus.c:
26164           describe popping messages whenusing mulltiple sources
26165         * libs/gst/controller/gst-controller.c:
26166         (gst_controlled_property_set_interpolation_mode),
26167         (gst_controlled_property_new):
26168         * libs/gst/controller/gst-controller.h:
26169         * libs/gst/controller/gst-interpolation.c:
26170           implement boolean properties
26171
26172 2005-08-31  Wim Taymans  <wim@fluendo.com>
26173
26174         * gst/gstminiobject.c: (gst_mini_object_ref):
26175         Cannot assert that the refcount has to be positive
26176         since a disposed object can be resurrected.
26177
26178 2005-08-31  Wim Taymans  <wim@fluendo.com>
26179
26180         * gst/gstpad.c: (gst_pad_init):
26181         Revert change, need to first fix badly behaving 
26182         apps.
26183
26184 2005-08-30  Wim Taymans  <wim@fluendo.com>
26185
26186         * check/elements/fakesrc.c: (setup_fakesrc):
26187         * check/elements/identity.c: (setup_identity):
26188         Activate pads before using them.
26189
26190 2005-08-30  Wim Taymans  <wim@fluendo.com>
26191
26192         * gst/base/gstadapter.c: (gst_adapter_flush):
26193         Flushing out 0 bytes is ok for this function.
26194
26195         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26196         no newsegment gives a warning and sets the start/stop to 
26197         invalid.
26198
26199         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26200         (gst_base_transform_set_passthrough):
26201         Some debug info.
26202
26203         * gst/gstminiobject.c: (gst_mini_object_ref):
26204         Check refcount here too.
26205
26206         * gst/gstpad.c: (gst_pad_init):
26207         Pads are initially flushing and refusing data.
26208
26209         * gst/gstutils.c: (gst_element_link_pads_filtered):
26210         When adding a capsfilter element make sure it has the
26211         same state as the parent bin.
26212
26213 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26214
26215         * docs/gst/tmpl/.cvsignore:
26216         * docs/gst/tmpl/gstformat.sgml:
26217         * docs/gst/tmpl/gstversion.sgml:
26218         * gst/gstbus.h:
26219         * gst/gstformat.c:
26220         * gst/gstformat.h:
26221         * gst/gstversion.h.in:
26222           more docs and two more inlined
26223
26224 2005-08-30  Wim Taymans  <wim@fluendo.com>
26225
26226         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26227         Don't sync to clock.
26228
26229 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26230
26231         * docs/gst/gstreamer-sections.txt:
26232           ultral33t func10ns deserve to appear in the docs actually
26233         * docs/gst/tmpl/.cvsignore:
26234         * docs/gst/tmpl/gstcompat.sgml:
26235         * docs/gst/tmpl/gstconfig.sgml:
26236         * gst/check/gstcheck.c:
26237         * gst/gstcompat.h:
26238         * gst/gstconfig.h.in:
26239           inlined more docs
26240
26241 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26242
26243         * docs/gst/tmpl/.cvsignore:
26244         * docs/gst/tmpl/gstquery.sgml:
26245         * docs/gst/tmpl/gstutils.sgml:
26246         * gst/gstquery.c:
26247         * gst/gstquery.h:
26248           inlined and extended docs
26249
26250 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26251
26252         * check/gst-libs/controller.c: (GST_START_TEST),
26253         (gst_controller_suite):
26254           more tests
26255         * docs/gst/tmpl/gstutils.sgml:
26256         * docs/libs/gstreamer-libs-sections.txt:
26257         * docs/libs/tmpl/gstdataprotocol.sgml:
26258           include path fixes
26259         * examples/controller/audio-example.c: (main):
26260           controller example works now
26261         * gst/gstclock.h:
26262           doc fixes
26263         * tools/gst-inspect.c: (print_element_properties_info):
26264           show param spec flags
26265
26266 2005-08-29  Andy Wingo  <wingo@pobox.com>
26267
26268         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26269
26270 2005-08-28  Andy Wingo  <wingo@pobox.com>
26271
26272         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26273         as having two arguments instead of just one. Allows superclasses
26274         to access information on subclasses -- see the terrible for() loop
26275         in gtype.c:g_type_create_instance for the reason why. All callers
26276         changed.
26277
26278 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26279
26280         * docs/design/part-messages.txt:
26281           update info
26282         * docs/gst/tmpl/.cvsignore:
26283         * docs/gst/tmpl/gstcaps.sgml:
26284         * docs/gst/tmpl/gstclock.sgml:
26285         * gst/gstbus.c:
26286         * gst/gstcaps.c:
26287         * gst/gstcaps.h:
26288         * gst/gstclock.c:
26289         * gst/gstclock.h:
26290         * gst/gstmessage.c:
26291           added descriptions for bus and message
26292           inline caps and clock docs
26293
26294 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26295
26296         * gst/gstmessage.c:
26297         * gst/gstmessage.h:
26298           doc fixes
26299
26300 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26301
26302         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26303           fix div-by-zero
26304
26305 2005-08-26  Andy Wingo  <wingo@pobox.com>
26306
26307         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26308         element_set_state's return val.
26309         (test_2_elements): Add test that's been disabled for months.
26310
26311         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26312         can-activate-pull properties.
26313
26314         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26315         can-activate-pull properties. Implement is_seekable so fakesrc can
26316         operate in pull mode.
26317
26318         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26319         properties.
26320         (gst_base_sink_activate, gst_base_sink_activate_pull)
26321         (gst_base_sink_activate_push): Make activation mode choosing work.
26322         Cleanups.
26323         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26324         is right. Make pull mode work. Post an eos before pausing in pull
26325         mode.
26326         (gst_base_sink_change_state): Pay attention to the core's
26327         change_state() return val.
26328         
26329         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26330         has-getrange properties. Cleanups.
26331         
26332         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26333         has_getrange and replace with can_activate_pull and
26334         can_activate_push.
26335
26336         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26337         locking comments. Remove has_loop, has_chain and replace with
26338         can_activate_pull and can_activate_push.
26339
26340 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26341
26342         * configure.ac:
26343         * examples/Makefile.am:
26344         * examples/metadata/Makefile.am:
26345         * examples/metadata/read-metadata.c: (message_loop),
26346         (have_pad_handler), (make_pipeline), (print_tag), (main):
26347           Add metadata reading example that loops over a list of filenames,
26348           dumping any tags found.
26349
26350         * gst/gstbus.c: (gst_bus_dispose):
26351         * gst/gstelement.c: (gst_element_dispose):
26352           Release a few potentially-held references in dispose.
26353
26354 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26355
26356         * docs/gst/tmpl/gstminiobject.sgml:
26357           do *not* add tmpl/*.sgml files to CVS!
26358
26359 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26360
26361         * libs/gst/bytestream/.cvsignore:
26362         * libs/gst/bytestream/Makefile.am:
26363         * libs/gst/bytestream/adapter.c:
26364         * libs/gst/bytestream/adapter.h:
26365         * libs/gst/bytestream/bytestream.c:
26366         * libs/gst/bytestream/bytestream.h:
26367         * libs/gst/bytestream/filepad.c:
26368         * libs/gst/bytestream/filepad.h:
26369           removing obsolete files
26370
26371 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26372
26373         * docs/gst/gstreamer-docs.sgml:
26374         * docs/libs/gstreamer-libs-docs.sgml:
26375           disabed additional index entries again, as this makes docs-gen just
26376           slow and they aren't useful yet
26377         * docs/libs/gstreamer-libs-sections.txt:
26378           little -section.txt cleanup for libs
26379
26380 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26381
26382         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26383         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26384           fix up some debugging
26385         (gst_base_transform_get_unit_size),
26386         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26387         (gst_base_transform_handle_buffer):
26388         * gst/base/gstbasetransform.h:
26389           handle and store timed NEWSEGMENT events so that subclasses that
26390           calculate time by counting samples have a segment_start time they
26391           need to add to their timestamps - see audioresample
26392
26393 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26394
26395         * gst/gstbin.h:
26396           removed ';' from the end of macro defs
26397         * docs/gst/gstreamer-docs.sgml:
26398         * docs/gst/gstreamer-sections.txt:
26399         * docs/gst/tmpl/.cvsignore:
26400         * gst/gstbus.h:
26401         * gst/gstelement.c: (gst_element_class_init),
26402         (gst_element_set_state), (activate_pads),
26403         (gst_element_save_thyself):
26404         * gst/gstevent.c: (gst_event_new_newsegment):
26405         * gst/gstevent.h:
26406         * gst/gstiterator.c:
26407         * gst/gstiterator.h:
26408         * gst/gstpad.c:
26409         * gst/gstprobe.h:
26410         * gst/gstutils.c: (gst_pad_query_convert):
26411         * gst/gstutils.h:
26412           fixed parameter name mismatches between source, header and docs
26413           added some more docs, resolved the last batch of unused elements in
26414           docs (now someone needs to doc them)
26415
26416 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26417
26418         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26419         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26420           don't walk through the plugins backwards.  Where is all this
26421           reversed logic coming from ?
26422
26423 2005-08-25  Wim Taymans  <wim@fluendo.com>
26424
26425         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26426         (gst_base_transform_transform_size),
26427         (gst_base_transform_configure_caps),
26428         (gst_base_transform_get_unit_size),
26429         (gst_base_transform_buffer_alloc),
26430         (gst_base_transform_change_state):
26431         * gst/base/gstbasetransform.h:
26432         Cache caps unit_size.
26433         Make sure we cannot negotiate up and downstream at the
26434         same time.
26435
26436 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26437
26438         * gst/gst.c: (init_pre), (init_post):
26439           register the installed plugin path after the env var
26440         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26441         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26442           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26443           directories, so the tests can prefer uninstalled over installed
26444
26445 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26446
26447         * gst/base/gstbasetransform.h:
26448           comment
26449         * gst/gstpad.c:
26450           add to docs
26451
26452 2005-08-25  Wim Taymans  <wim@fluendo.com>
26453
26454         * gst/gstbin.c: (bin_bus_handler):
26455         Be a bit more conservative about the posted message.
26456         
26457         * gst/gstbus.c: (gst_bus_post):
26458         Some cleanups, warn wrong return values.
26459
26460 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26461
26462         * check/gst/gstbin.c: (GST_START_TEST):
26463         * gst/gstbin.c: (bin_bus_handler):
26464         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26465         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26466         (gst_message_new_warning), (gst_message_new_tag),
26467         (gst_message_new_state_changed), (gst_message_new_segment_start),
26468         (gst_message_new_segment_done), (gst_message_new_custom):
26469         * gst/gstmessage.h:
26470         * tools/gst-launch.c: (event_loop):
26471         * tools/gst-md5sum.c: (event_loop):
26472           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26473
26474 2005-08-25  Wim Taymans  <wim@fluendo.com>
26475
26476         * check/generic/states.c: (GST_START_TEST):
26477         Cleanup can be done at the end.
26478
26479         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26480         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26481         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26482         Oh boy.. Thanks for finding this, Thomas. 
26483
26484 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26485
26486         * docs/gst/gstreamer.types:
26487           added missing types
26488
26489 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26490
26491         * docs/gst/gstreamer-docs.sgml:
26492         * docs/gst/gstreamer-sections.txt:
26493         * docs/gst/tmpl/.cvsignore:
26494         * gst/gstbin.c:
26495         * gst/gstiterator.c:
26496         * gst/gstutils.c:
26497         * gst/registries/gstxmlregistry.h:
26498           added missing classes and symbols (123 more to go)
26499           removed removed symbols from section file
26500           fixed many doc-comments
26501
26502 2005-08-24  Wim Taymans  <wim@fluendo.com>
26503
26504         * check/generic/states.c: (GST_START_TEST):
26505         Make sure all tasks are stopped.
26506
26507         * check/gst/gstbin.c: (GST_START_TEST):
26508         Unref after usage for proper valgrinding.
26509
26510         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26511         Really wait for the task to stop before destroying the
26512         mutex.
26513
26514         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26515         (gst_queue_src_activate_push):
26516         Small cleanups. Don't stop the task when we did not start
26517         it.
26518
26519         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26520         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26521         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26522         (gst_task_join):
26523         * gst/gsttask.h:
26524         Protect the stream lock with the object lock.
26525         Disallow setting the stream lock when running.
26526         Add cleanup_all to wait for the threadpool to finish.
26527         Remove code to autoallocate a mutex if none was provided.
26528         Add _join() to wait for a task to stop.
26529         Protect the thread pool with a global lock.
26530
26531 2005-08-24  Wim Taymans  <wim@fluendo.com>
26532
26533         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26534         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26535         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26536         * gst/base/gstbasesink.h:
26537         Handle newsegment events correctly.
26538         Drop buffers out of the segment range.
26539
26540 2005-08-22  Andy Wingo  <wingo@pobox.com>
26541
26542         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26543         macro, implements an interface and gstimplementsinterface for a
26544         new type.
26545
26546 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26547
26548         * check/Makefile.am:
26549         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26550           add a test that does a bunch of state changes on elements
26551           needs some fixing for valgrind
26552         * check/states/sinks.c: (gst_object_suite):
26553           whitespace
26554         * gst/gstcaps.h:
26555           add prototype for gst_caps_is_equal_fixed
26556         * gst/gstplugin.c:
26557         * gst/gstregistrypool.c:
26558           doc fixes
26559
26560 2005-08-24  Andy Wingo  <wingo@pobox.com>
26561
26562         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26563         convert a negative value. Doesn't make much sense. Mostly this is
26564         here to force callers to ensure -1 maps to -1.
26565
26566 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26567
26568         * docs/pwg/advanced-types.xml:
26569           Well done to Michael for catching my deliberate introduction
26570           of this spelling mistake. 
26571         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26572         * gst/gstelement.h:
26573           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26574           unlink pads before removing the element from the bin.
26575
26576 2005-08-24  Andy Wingo  <wingo@pobox.com>
26577
26578         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26579         the same thing as GST_DEBUG=*:4.
26580         (parse_debug_level, parse_debug_category): New helper parsers.
26581
26582 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26583
26584         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26585         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26586         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26587         (gst_base_transform_buffer_alloc),
26588         (gst_base_transform_handle_buffer):
26589           use gboolean return values and pointers to size so we can use the
26590           full GST_BUFFER_SIZE range (guint) for buffer sizes
26591           use GstPadDirection for transform_caps
26592         * gst/base/gstbasetransform.h:
26593           rename get_size to get_unit_size since that's what it is
26594         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26595           use GstPadDirection for transform_caps
26596         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26597         * gst/gstutils.h:
26598           cleanup and debugging
26599
26600 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26601
26602         * gst/gstelement.c: (gst_element_class_init),
26603         (gst_element_set_state), (activate_pads),
26604         (gst_element_save_thyself):
26605         * tools/gst-compprep.c: (main):
26606         * tools/gst-inspect.c: (print_element_properties_info):
26607         * tools/gst-xmlinspect.c: (print_element_properties):
26608           Fixed long standing mem-leak
26609
26610 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26611
26612         * check/gst/gstbin.c: (GST_START_TEST):
26613         * gst/gstbin.c: (bin_bus_handler):
26614         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26615         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26616         (gst_message_new_warning), (gst_message_new_tag),
26617         (gst_message_new_state_changed), (gst_message_new_segment_start),
26618         (gst_message_new_segment_done), (gst_message_new_custom):
26619         * gst/gstmessage.h:
26620         * tools/gst-launch.c: (event_loop):
26621         * tools/gst-md5sum.c: (event_loop):
26622           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26623           that applications can sensibly post custom messages with references
26624           to their own objects.
26625
26626 2005-08-24  Andy Wingo  <wingo@pobox.com>
26627
26628         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26629         already.
26630
26631 2005-08-24  Wim Taymans  <wim@fluendo.com>
26632
26633         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26634         (gst_base_transform_transform_caps),
26635         (gst_base_transform_transform_size),
26636         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26637         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26638         (gst_base_transform_handle_buffer):
26639         * gst/base/gstbasetransform.h:
26640         Many fixes and new features added by Thomas. Can now also do
26641         transforms with variable sizes and a custom fixate_caps function.
26642
26643 2005-08-24  Wim Taymans  <wim@fluendo.com>
26644
26645         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26646         Some debugging.
26647
26648         * gst/gstclock.h:
26649         Cast to ClockTime before formatting to time.
26650
26651         * gst/gstutils.h:
26652         Cleanups.
26653
26654 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26655
26656         * check/gst-libs/controller.c: (GST_START_TEST),
26657         (gst_controller_suite):
26658         * docs/gst/tmpl/gstcaps.sgml:
26659         * docs/gst/tmpl/gstghostpad.sgml:
26660         * docs/gst/tmpl/gstquery.sgml:
26661         * docs/gst/tmpl/gstutils.sgml:
26662         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26663         (gst_object_sink_values), (gst_object_get_value_arrays),
26664         (gst_object_get_value_array):
26665           gracefully handle helper method calls to objects that are not beeing
26666           controlled, added test case for that          
26667
26668 2005-08-23  Wim Taymans  <wim@fluendo.com>
26669
26670         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26671         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26672         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26673         (gst_event_parse_qos), (gst_event_new_seek),
26674         (gst_event_parse_seek):
26675         * gst/gstevent.h:
26676         Some more debugging output and doc cleanups.
26677
26678         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26679         Fix possible deadlock.
26680
26681 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26682
26683         * docs/gst/gstreamer-docs.sgml:
26684         * docs/gst/gstreamer-sections.txt:
26685         * docs/gst/gstreamer.types:
26686         * docs/gst/tmpl/.cvsignore:
26687         * gst/gstbin.h:
26688         * gst/gstbus.c:
26689         * gst/gstelement.c:
26690         * gst/gstevent.h:
26691           added 100 symbols from gstreamer-unused.txt to the right sections
26692           fixed more broken comments
26693           added GstBus to docs
26694
26695 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26696
26697         * docs/gst/gstreamer-sections.txt:
26698         * docs/gst/tmpl/.cvsignore:
26699         * docs/gst/tmpl/gstbin.sgml:
26700         * docs/gst/tmpl/gstbuffer.sgml:
26701         * gst/base/gstbasesrc.c:
26702         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26703         * gst/gstbuffer.c:
26704         * gst/gstbuffer.h:
26705         * tools/gst-launch.1.in:
26706           inlined more doc comments, added missing comments and fixed comments
26707           fixed typos
26708
26709 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26710
26711         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26712           some debugging
26713         * gst/gstcaps.h:
26714           whitespace fixes
26715         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26716           more debugging
26717         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26718         * gst/gststructure.h:
26719           add a fixate function for booleans; add a FIXME that these func
26720           names should probably be gst_structure_fixate_*
26721
26722 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26723
26724         * docs/gst/gstreamer-docs.sgml:
26725         * docs/gst/gstreamer-sections.txt:
26726         * gst/Makefile.am:
26727         * gst/gstbin.c: (gst_bin_get_type),
26728         (gst_bin_child_proxy_get_child_by_index),
26729         (gst_bin_child_proxy_get_children_count),
26730         (gst_bin_child_proxy_init):
26731         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26732         (gst_child_proxy_get_child_by_index),
26733         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26734         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26735         (gst_child_proxy_get), (gst_child_proxy_set_property),
26736         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26737         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26738         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26739         * gst/gstchildproxy.h:
26740         * gst/parse/grammar.y:
26741         * tools/gst-inspect.c: (print_interfaces),
26742         (print_element_properties_info), (print_element_info):
26743           ported gstchildproxy over from 0.8
26744           ported gst-inspect fixes and enhancements over from 0.8
26745
26746 2005-08-22  Wim Taymans  <wim@fluendo.com>
26747
26748         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26749         (gst_base_transform_handle_buffer):
26750         Also call the transform function if we have ANY caps.
26751
26752         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26753         Fix debug info.
26754
26755 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26756
26757         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26758           Don't pretend to handle seek events if the source is not seekable
26759
26760 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26761
26762         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26763           Remove extra parameter to debug output
26764
26765         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26766         (gst_base_src_do_seek), (gst_base_src_activate_push):
26767           Fix seek event handling.
26768
26769         * gst/gstpipeline.c: (gst_pipeline_change_state):
26770         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26771         (gst_queue_src_activate_push):
26772           Don't start the src pad task on FLUSH_STOP if the pad
26773           isn't linked.
26774           Debug changes.
26775
26776 2005-08-22  Wim Taymans  <wim@fluendo.com>
26777
26778         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26779         Added check for gst_static_caps_get() refcounting.
26780
26781 2005-08-22  Wim Taymans  <wim@fluendo.com>
26782
26783         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26784         Make _static_caps_get() refcounting sane.
26785         
26786         * gst/gstelement.c: (gst_element_set_state):
26787         Add g_return_val_if_fail() to protect against segfaults.
26788
26789 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26790
26791         * docs/gst/tmpl/gstevent.sgml:
26792         * gst/gstevent.c:
26793         * gst/gstevent.h:
26794           inlined remaining docs, added missing doc comments
26795
26796 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26797
26798         * check/gst/gstbin.c: (GST_START_TEST):
26799           since we don't know when preroll is done, use refcount range
26800           check for the sink
26801         * gst/check/gstcheck.h:
26802           add macro for checking refcount range
26803
26804 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26805
26806         * check/Makefile.am:
26807           clean up environment for when registry gets built versus
26808           when actual tests are run; valgrind seems to not report
26809           leaks if GST_PLUGIN_PATH is set to some specific values
26810         * check/gst/gstbin.c: (GST_START_TEST):
26811           add more refcounting checks; maybe this exposes a
26812           preroll lock bug ?
26813         * common/check.mak:
26814         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26815         * gst/check/gstcheck.h:
26816         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26817         (gst_bin_change_state):
26818         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26819           add/fix debugging/whitespace
26820
26821 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26822
26823         * check/gst/gstevent.c: (event_probe), (test_event),
26824         (GST_START_TEST):
26825          Er, don't call gst_bin_watch_for_state_change you idiot.
26826
26827 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26828
26829         * check/Makefile.am:
26830           Use CHECK_CFLAGS and CHECK_LIBS
26831         * check/gst/gstevent.c: (event_probe), (test_event),
26832         (GST_START_TEST):
26833           Don't leak events.
26834         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26835         (gst_base_src_start), (gst_base_src_stop),
26836         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26837         (gst_base_src_change_state):
26838           Sprinkle gst_base_src_stop liberally around error paths to fix
26839           problems reusing a source after failed state changes.
26840         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26841         (helper_find_suggest), (gst_type_find_helper):
26842           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26843         * gst/gstevent.h:
26844         * docs/gst/tmpl/gstevent.sgml:
26845           Migrate part of the docs from the SGML file. Wait for ensonic to
26846           tell me how I did it wrong ;)
26847         * tools/gst-typefind.c: (main):
26848           Extra robustness to state changes between files.
26849
26850 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26851
26852         * check/Makefile.am:
26853           don't valgrind the controller test - it's leaking - Stefan, HELP
26854         * gst/check/gstcheck.c: (gst_check_message_error),
26855         (gst_check_chain_func), (gst_check_setup_element),
26856         (gst_check_teardown_element), (gst_check_setup_src_pad),
26857         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26858         (gst_check_teardown_sink_pad):
26859         * gst/check/gstcheck.h:
26860           add a bunch of methods to set up elements, and src and sink pads
26861         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26862         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26863         (GST_START_TEST):
26864           use them
26865         * gst/gstmessage.c:
26866         * gst/gsttag.h:
26867           whitespace/doc fixes
26868
26869 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26870
26871         * gst/gstelement.h:
26872           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26873           be handled by the application and not always printed as well
26874
26875 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26876
26877         * check/Makefile.am:
26878           set GST_TOOLS_DIR
26879         * gst/check/gstcheck.c: (gst_check_message_error):
26880         * gst/check/gstcheck.h:
26881           add a fail_unless_equals_int
26882           add fail_unless for error messages
26883
26884 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26885
26886         * check/Makefile.am:
26887         * check/gst.supp:
26888         * common/Makefile.am:
26889         * common/check.mak:
26890         * common/gst.supp:
26891           factor out some of the common stuff so we can use it
26892
26893 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26894
26895         * check/Makefile.am:
26896         * check/gst/gstiterator.c: (GST_START_TEST):
26897         * check/gst/gstsystemclock.c: (GST_START_TEST),
26898         (gst_systemclock_suite):
26899         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26900         * gst/gstclock.c:
26901           valgrind more tests
26902
26903 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26904
26905         * check/elements/.cvsignore:
26906         * check/elements/gstfakesrc.c:
26907           rename to name of element
26908         * check/elements/identity.c: (chain_func), (event_func),
26909         (setup_identity), (cleanup_identity), (GST_START_TEST),
26910         (identity_suite), (main):
26911           add a test for identity
26912         * check/Makefile.am:
26913         * pkgconfig/Makefile.am:
26914         * pkgconfig/gstreamer-check.pc.in:
26915         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26916         * gst/check:
26917         * gst/Makefile.am:
26918         * configure.ac:
26919           move the check stuff to a library that gets installed
26920         * check/gst-libs/controller.c: (GST_START_TEST):
26921         * check/gst-libs/gdp.c:
26922         * check/gst/gst.c: (GST_START_TEST):
26923         * check/gst/gstbin.c:
26924         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26925         * check/gst/gstbus.c:
26926         * check/gst/gstcaps.c: (GST_START_TEST):
26927         * check/gst/gstelement.c:
26928         * check/gst/gstghostpad.c:
26929         * check/gst/gstiterator.c:
26930         * check/gst/gstmessage.c:
26931         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26932         * check/gst/gstobject.c:
26933         * check/gst/gstpad.c: (GST_START_TEST):
26934         * check/gst/gststructure.c: (GST_START_TEST):
26935         * check/gst/gstsystemclock.c: (GST_START_TEST),
26936         (gst_systemclock_suite):
26937         * check/gst/gsttag.c: (gst_tag_suite):
26938         * check/gst/gstvalue.c:
26939         * check/pipelines/cleanup.c:
26940         * check/pipelines/simple_launch_lines.c:
26941         * check/states/sinks.c:
26942           change include statement
26943
26944         * docs/gst/gstreamer-sections.txt:
26945         * docs/gst/tmpl/gstpad.sgml:
26946           document more pad stuff
26947         * gst/gstminiobject.c: (gst_mini_object_ref),
26948         (gst_mini_object_unref):
26949           debug refcounting
26950
26951 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26952
26953         * docs/gst/tmpl/gst.sgml:
26954         * gst/gst.c:
26955           eliminate another tmpl file, fix spelling in the long-description
26956
26957 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26958
26959         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26960         (test_event), (timediff), (gstevents_suite):
26961           Should fix build on 64-bit arch's
26962
26963 2005-08-18  Andy Wingo  <wingo@pobox.com>
26964
26965         Make sure that when a pipeline goes to PLAYING, that data has
26966         actually hit the sink.
26967
26968         * check/states/sinks.c (test_sink): A sink that doesn't get any
26969         data shouldn't return SUCCESS for going to either PLAYING or
26970         PAUSED. Test also the return values on the way back down.
26971
26972         * gst/gstelement.c (gst_element_set_state): When changing the
26973         state of an element currently changing state asynchronously, go to
26974         lost-state after commiting the pending state. Makes future calls
26975         to get_state continue to return ASYNC.
26976
26977         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26978         ASYNC when going to PLAYING if we still don't have preroll, as can
26979         happen with live sources.
26980
26981 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26982
26983         * docs/pwg/advanced-types.xml:
26984           Hack long paragraph into 2 chunks as a workaround for buggy
26985           jadetex version in sid and breezy that loops infinitely and
26986           eats all RAM.
26987
26988 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26989
26990         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26991         (test_event), (timediff), (gstevents_suite):
26992           Provide more error margin in clock measurements to allow for 
26993           g_get_current_time inaccuracies.
26994
26995 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26996
26997         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26998         (test_event), (timediff), (gstevents_suite):
26999            Fix error message output so I might be able to tell why the
27000            test works here but fails on the build farm.
27001
27002 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27003
27004         * check/Makefile.am:
27005         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27006         (test_event), (timediff), (gstevents_suite), (main):
27007           I wrote a test!
27008
27009         * docs/design/part-seeking.txt:
27010           Spelling correction
27011
27012         * docs/gst/tmpl/gstevent.sgml:
27013         * docs/gst/tmpl/gstfakesrc.sgml:
27014           Docs updates.
27015
27016         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27017           Treat a buffer-without-newsegment the same as a receiving 
27018           a newsegment not in time format, and disable syncing to the clock
27019           with a warning.
27020
27021         * gst/gstbus.c: (gst_bus_set_sync_handler):
27022           Assert if anyone tries to replace the existing sync_handler for bus, 
27023           as only the owner should be setting it.
27024
27025         * gst/gstevent.h:
27026           Have a fixed set of custom event enums with events identified by
27027           their structure name (as in 0.8), rather than a free-for-all
27028           allowing collisions between enum values from different plugins.
27029
27030         * gst/gstpad.c: (gst_pad_class_init):
27031           Docs change.
27032           
27033         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27034           Handle out-of-band downstream events from the sending thread.
27035
27036 2005-08-17  Andy Wingo  <wingo@pobox.com>
27037
27038         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
27039         play-timeout==0 to mean no timeout at all. In that case, don't
27040         bother with a get_state or a warning, just return directly, even
27041         if it's ASYNC.
27042
27043         * gst/base/gstbasetransform.c: Debug changes.
27044
27045         * gst/gstutils.h:
27046         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
27047         ensure bins post state change messages. A bit of a hack but I can't
27048         think of a way to avoid it.
27049
27050         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
27051
27052 2005-08-16  Andy Wingo  <wingo@pobox.com>
27053
27054         * gst/base/gstadapter.h:
27055         * gst/base/gstadapter.c (gst_adapter_take): New function, like
27056         peek() but you own the data. Not terribly efficient atm.
27057
27058 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27059
27060         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
27061         (gst_element_found_tags):
27062         * gst/gstutils.h:
27063           Add two utility functions for tag handling.
27064
27065 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27066
27067         * docs/manual/advanced-dataaccess.xml:
27068         * docs/manual/basics-helloworld.xml:
27069           Fix docs to use _bin_add() before _link(), which fixes the examples
27070           with recent core versions (reported by Madhan Raj M
27071           <raj_madan@rediffmail.com>, #313199).
27072
27073 2005-08-16  Wim Taymans  <wim@fluendo.com>
27074
27075         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27076         Added subtract checks.
27077
27078         * docs/design/part-events.txt:
27079         Some more docs about newsegment
27080
27081         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27082         Fix FIXME
27083
27084         * gst/gstcaps.c: (gst_caps_to_string):
27085         Add comments, cleanups.
27086         
27087         * gst/gstelement.c: (gst_element_save_thyself):
27088         cleanups
27089         
27090         * gst/gstvalue.c: (gst_value_collect_int_range),
27091         (gst_string_unwrap), (gst_value_union_int_int_range),
27092         (gst_value_union_int_range_int_range),
27093         (gst_value_intersect_int_int_range),
27094         (gst_value_intersect_int_range_int_range),
27095         (gst_value_intersect_double_double_range),
27096         (gst_value_intersect_double_range_double_range),
27097         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27098         (gst_value_subtract_int_range_int),
27099         (gst_value_subtract_double_range_double),
27100         (gst_value_subtract_double_range_double_range),
27101         (gst_value_subtract_from_list), (gst_value_subtract_list),
27102         (gst_value_can_compare), (gst_value_compare_fraction):
27103         Cleanups, add comments, remove unneeded asserts.
27104
27105 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27106
27107         * tools/gst-launch.c: (event_loop):
27108           don't convert NULL structures to strings
27109
27110 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
27111
27112         * docs/gst/gstreamer-sections.txt:
27113           made some defines private
27114         * docs/gst/tmpl/gstconfig.sgml:
27115         * docs/gst/tmpl/gstqueue.sgml:
27116         * docs/gst/tmpl/gsttaglist.sgml:
27117         * docs/gst/tmpl/gsttypes.sgml:
27118         * docs/gst/tmpl/gstutils.sgml:
27119         * docs/pwg/appendix-porting.xml:
27120         * gst/base/gstbasesink.h:
27121         * gst/base/gstbasesrc.c:
27122         * gst/base/gstbasesrc.h:
27123         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27124         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27125         * gst/gstelement.c: (gst_element_class_init):
27126         * gst/gstpad.c: (gst_pad_class_init):
27127         * gst/gstqueue.c: (gst_queue_class_init):
27128         * gst/gstxml.c: (gst_xml_class_init):
27129           documented all undocumented signal inline
27130         * libs/gst/controller/gst-controller.h:
27131           added padding
27132
27133 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27134
27135         * docs/pwg/appendix-porting.xml:
27136           Document _set_link_function -> _set_setcaps_function.
27137
27138 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27139
27140         * check/Makefile.am:
27141           add a .check target for running the check
27142         * check/gst-libs/controller.c: (GST_START_TEST):
27143           cosmetic fixups
27144         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27145           complete checks for gstbuffer; would be nice if I could get the
27146           gcov stuff to work so I can see if I actually completed gstbuffer.c
27147         * check/gstcheck.h:
27148           add ASSERT_BUFFER_REFCOUNT
27149
27150 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
27151
27152         * docs/gst/gstreamer-sections.txt:
27153         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27154         * gst/gsttag.h:
27155           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27156           spew out a warning if a tag that is already registered
27157           is re-registered, unless it is re-registered with a 
27158           different type (#308438).
27159
27160 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
27161
27162         * docs/pwg/appendix-porting.xml:
27163         * docs/pwg/building-state.xml:
27164           Add some paragraphs about state changes in 0.9 to the PWG
27165           and the porting guide, in particular about the new meaning
27166           of GST_STATE_PAUSED and how to write state change functions
27167           with concurrent access by multiple threads in mind.
27168
27169 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
27170
27171         * docs/gst/gstreamer-docs.sgml:
27172         * docs/libs/gstreamer-libs-docs.sgml:
27173           added deprecation and since indexes
27174         * libs/gst/controller/gst-controller.c:
27175         * libs/gst/controller/gst-helper.c:
27176           added since tags
27177
27178
27179 2005-08-11  Wim Taymans  <wim@fluendo.com>
27180
27181         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27182         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27183         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27184         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27185         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27186         (gst_ghost_pad_set_target):
27187         Actually implement (re)setting the target on a ghostpad
27188         as described in the docs.
27189
27190 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27191
27192         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27193           Check whether GST_DEBUG_NO_COLOR environment variable is
27194           set and disable coloured debug output if that is the case.
27195
27196 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27197
27198         * gst/base/gsttypefindhelper.c: (helper_find_peek),
27199         (gst_type_find_helper):
27200           The memory returned by gst_type_find_peek() needs to
27201           stay valid until the end of a typefind function, and
27202           typefind functions may keep results from different 
27203           offsets around, so we can't just unref the buffer from
27204           the previous _peek(), but have to save all buffers 
27205           returned by _peek() until typefinding is done and only
27206           free them then.
27207
27208 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
27209
27210         * docs/gst/gstreamer-sections.txt:
27211         * gst/gstutils.h:
27212           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27213
27214 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27215
27216         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27217           Fix a pretty good memleak.
27218
27219 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27220
27221         * gst/gstiterator.h:
27222           Fix wrong include and 'make distcheck'.
27223
27224 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27225
27226         * gst/gstbin.c: (bin_bus_handler):
27227           Use gst_element_post_message() instead.
27228
27229 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27230
27231         * gst/base/gstadapter.h:
27232         * gst/base/gstbasesink.h:
27233         * gst/base/gstbasesrc.h:
27234         * gst/base/gstbasetransform.h:
27235         * gst/base/gstcollectpads.h:
27236         * gst/base/gstpushsrc.h:
27237         * gst/gstiterator.h:
27238           Add padding to our base elements' class and instance structs and
27239           to GstIterator (you will need to rebuild all plugins and apps!)
27240
27241 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27242
27243         * gst/gstbin.c: (bin_bus_handler):
27244           Make default message forwarding from child->bus to bin->bus
27245           threadsafe and make it not emit warnings if the parent has no bus.
27246
27247 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27248
27249         * gst/gstelement.c: (activate_pads):
27250           On paused->ready, set pad->caps to NULL, as is the documented
27251           behaviour in this state change. Fixes playback of series of
27252           media files when visualization is enabled in Totem.
27253
27254 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27255
27256         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27257           Allow NULL as filter-caps (which means "any").
27258
27259 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27260
27261         * docs/libs/gstreamer-libs-sections.txt:
27262         * libs/gst/controller/gst-controller.c:
27263         * libs/gst/controller/gst-controller.h:
27264         * libs/gst/controller/gst-helper.c:
27265           adding more entries to the docs and fix small doc-bugs
27266
27267 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27268
27269         * docs/gst/gstreamer-docs.sgml:
27270         * docs/gst/gstreamer-sections.txt:
27271         * docs/gst/gstreamer.types:
27272         * docs/gst/tmpl/gstbasesink.sgml:
27273         * docs/gst/tmpl/gstbasesrc.sgml:
27274         * docs/gst/tmpl/gstbasetransform.sgml:
27275         * docs/gst/tmpl/gstfakesrc.sgml:
27276         * gst/base/gstcollectpads.c:
27277         * gst/base/gstcollectpads.h:
27278         * libs/gst/controller/gst-controller.c:
27279         * libs/gst/controller/gst-controller.h:
27280         * libs/gst/controller/gst-helper.c:
27281         * libs/gst/controller/gst-interpolation.c:
27282         * libs/gst/controller/lib.c:
27283           added long/short desc for controller docs
27284           added collectpads base class docs
27285           added correct includes to base-class docs
27286
27287 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27288
27289         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27290         (gst_test_mono_source_set_property),
27291         (gst_test_mono_source_class_init), (GST_START_TEST),
27292         (gst_controller_suite):
27293         * docs/gst/gstreamer-docs.sgml:
27294         * docs/gst/gstreamer-sections.txt:
27295         * docs/gst/gstreamer.types:
27296         * docs/libs/gstreamer-libs-docs.sgml:
27297         * docs/libs/gstreamer-libs-sections.txt:
27298         * gst/base/gstadapter.c:
27299         * libs/gst/controller/gst-controller.c:
27300         (gst_controlled_property_new), (gst_controlled_property_free),
27301         (gst_controller_new_valist),
27302         (gst_controller_remove_properties_valist),
27303         (gst_controller_sink_values), (_gst_controller_finalize):
27304         * libs/gst/controller/gst-controller.h:
27305         * libs/gst/controller/gst-helper.c:
27306         (gst_object_control_properties), (gst_object_uncontrol_properties),
27307         (gst_object_get_controller), (gst_object_set_controller),
27308         (gst_object_sink_values), (gst_object_get_value_arrays),
27309         (gst_object_get_value_array):
27310           more tests (and fixes) for the controller
27311           more docs for the controller
27312           integrated companies docs for the adapter 
27313
27314 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27315
27316         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27317         (GST_START_TEST), (fakesrc_suite):
27318           add tests for sizetype
27319
27320 2005-08-04  Andy Wingo  <wingo@pobox.com>
27321
27322         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27323         fixes buffer_alloc proxying among other things.
27324
27325         * gst/base/gstbasetransform.c:
27326         * gst/base/gstbasetransform.h:
27327         Revert patch to gstbasetransform from 7-28 removing
27328         delay_configure.
27329
27330         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27331         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27332         Semantics changed, should return not the size of the output buffer
27333         but the byte size of a buffer with a given caps.
27334
27335         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27336         debug object.
27337         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27338         out) are not the pad caps until setcaps finishes.
27339         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27340         not-in-place case as well. Deal with changing from in-place to
27341         not-in-place within calling pad_alloc_buffer. Still a bit
27342         concerned about the overhead here...
27343
27344 2005-08-03  Andy Wingo  <wingo@pobox.com>
27345
27346         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27347         fixating is an error.
27348
27349 2005-08-04  Edward Hervey  <edward@fluendo.com>
27350
27351         * gst/base/gstadapter.h: 
27352         Added gst_adapter_get_type() to the header
27353
27354 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27355
27356         * check/Makefile.am:
27357         * check/gst-libs/controller.c:
27358         * libs/gst/controller/gst-controller.c:
27359         (gst_controller_new_valist):
27360           added check test suite for the controller
27361         * gst/base/gstpushsrc.c:
27362           fixed a doc typo
27363
27364 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27365
27366         * docs/gst/Makefile.am:
27367         * docs/gst/gstreamer-docs.sgml:
27368         * docs/gst/gstreamer-sections.txt:
27369         * docs/gst/gstreamer.types:
27370         * docs/gst/tmpl/gstfakesrc.sgml:
27371         * gst/base/README:
27372         * gst/base/gstbasesink.c:
27373         * gst/base/gstbasesink.h:
27374         * gst/base/gstbasesrc.c:
27375         * gst/base/gstbasesrc.h:
27376         * gst/base/gstbasetransform.c:
27377         * gst/base/gstpushsrc.c:
27378         * gst/base/gstpushsrc.h:
27379           add short/long description docs to base classes
27380           add pushsrc to the docs
27381           remove consolidated doc fragments
27382
27383 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27384
27385         * configure.ac:
27386         * docs/libs/Makefile.am:
27387         * docs/libs/gstreamer-libs-docs.sgml:
27388         * docs/libs/gstreamer-libs-sections.txt:
27389         * docs/libs/gstreamer-libs.types:
27390         * examples/Makefile.am:
27391         * examples/controller/.cvsignore:
27392         * examples/controller/Makefile.am:
27393         * examples/controller/audio-example.c: (main):
27394         * libs/gst/Makefile.am:
27395         * libs/gst/controller/.cvsignore:
27396         * libs/gst/controller/Makefile.am:
27397         * libs/gst/controller/gst-controller.c:
27398         (on_object_controlled_property_changed), (gst_timed_value_compare),
27399         (gst_timed_value_find),
27400         (gst_controlled_property_set_interpolation_mode),
27401         (gst_controlled_property_new), (gst_controlled_property_free),
27402         (gst_controller_find_controlled_property),
27403         (gst_controller_new_valist), (gst_controller_new),
27404         (gst_controller_remove_properties_valist),
27405         (gst_controller_remove_properties), (gst_controller_set),
27406         (gst_controller_set_from_list), (gst_controller_unset),
27407         (gst_controller_get), (gst_controller_get_all),
27408         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27409         (gst_controller_get_value_array),
27410         (gst_controller_set_interpolation_mode),
27411         (_gst_controller_finalize), (_gst_controller_init),
27412         (_gst_controller_class_init), (gst_controller_get_type):
27413         * libs/gst/controller/gst-controller.h:
27414         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27415         (g_object_uncontrol_properties), (g_object_get_controller),
27416         (g_object_set_controller), (g_object_sink_values),
27417         (g_object_get_value_arrays), (g_object_get_value_array):
27418         * libs/gst/controller/gst-interpolation.c:
27419         (gst_controlled_property_find_timed_value_node),
27420         (interpolate_none_get), (interpolate_trigger_get),
27421         (interpolate_trigger_get_value_array):
27422         * libs/gst/controller/lib.c: (gst_controller_init):
27423         * pkgconfig/Makefile.am:
27424         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27425         * pkgconfig/gstreamer-control.pc.in:
27426         * testsuite/Makefile.am:
27427         * testsuite/controller/.cvsignore:
27428         * testsuite/controller/Makefile.am:
27429         * testsuite/controller/interpolator.c: (main):
27430           added controller code
27431           removed dparam pc files
27432
27433 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27434         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27435         (gst_collectpads_stop):
27436           Broadcast the condition when shutting down, to make sure we wake all
27437           threads up. Shut down pads on finalize, for safety.
27438
27439 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27440         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27441         (gst_base_transform_handle_buffer),
27442         (gst_base_transform_change_state):
27443           Handle PAUSED->READY->PAUSED transition after negotiation
27444           occurred already.
27445         * gst/gstmessage.c: (gst_message_init):
27446           Extra piece of debug for new messages.
27447
27448 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27449
27450         * configure.ac:
27451         * docs/gst/tmpl/gstbasesrc.sgml:
27452         * docs/gst/tmpl/gstelement.sgml:
27453         * docs/gst/tmpl/gstevent.sgml:
27454         * docs/gst/tmpl/gstfakesrc.sgml:
27455         * docs/gst/tmpl/gstformat.sgml:
27456         * docs/gst/tmpl/gstghostpad.sgml:
27457         * docs/gst/tmpl/gstpad.sgml:
27458         * docs/gst/tmpl/gstquery.sgml:
27459         * docs/gst/tmpl/gststructure.sgml:
27460         * docs/gst/tmpl/gsttaglist.sgml:
27461         * docs/gst/tmpl/gstvalue.sgml:
27462         * docs/libs/gstreamer-libs-docs.sgml:
27463         * docs/libs/gstreamer-libs-sections.txt:
27464         * docs/libs/gstreamer-libs.types:
27465         * libs/gst/Makefile.am:
27466         * libs/gst/control/.cvsignore:
27467         * libs/gst/control/Makefile.am:
27468         * libs/gst/control/control.c:
27469         * libs/gst/control/control.h:
27470         * libs/gst/control/dparam.c:
27471         * libs/gst/control/dparam.h:
27472         * libs/gst/control/dparam_smooth.c:
27473         * libs/gst/control/dparam_smooth.h:
27474         * libs/gst/control/dparamcommon.h:
27475         * libs/gst/control/dparammanager.c:
27476         * libs/gst/control/dparammanager.h:
27477         * libs/gst/control/dplinearinterp.c:
27478         * libs/gst/control/dplinearinterp.h:
27479         * libs/gst/control/unitconvert.c:
27480         * libs/gst/control/unitconvert.h:
27481         * testsuite/Makefile.am:
27482         * testsuite/dynparams/.cvsignore:
27483         * testsuite/dynparams/Makefile.am:
27484         * testsuite/dynparams/dparamstest.c:
27485         * tools/Makefile.am:
27486         * tools/gst-inspect.c: (print_element_info), (main):
27487         * tools/gst-xmlinspect.c: (print_element_info), (main):
27488           deactivate and remove dparams (libgstcontrol)
27489
27490 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27491
27492         * gst/elements/gsttypefindelement.c:
27493         (gst_type_find_element_have_type), (gst_type_find_element_init),
27494         (stop_typefinding), (gst_type_find_element_handle_event),
27495         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27496         * gst/elements/gsttypefindelement.h:
27497           Set caps on all outgoing buffers, not just the first one.
27498
27499 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27500
27501         * gst/elements/gsttypefindelement.c:
27502         (gst_type_find_element_have_type),
27503         (gst_type_find_element_check_set_buffer_caps),
27504         (gst_type_find_element_init), (stop_typefinding),
27505         (gst_type_find_element_handle_event),
27506         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27507         * gst/elements/gsttypefindelement.h:
27508           Set caps on first outgoing buffer when we've found the type.
27509
27510 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27511
27512         * docs/gst/gstreamer-docs.sgml:
27513         * docs/gst/gstreamer-sections.txt:
27514         * docs/gst/tmpl/gstscheduler.sgml:
27515         * docs/gst/tmpl/gstschedulerfactory.sgml:
27516           Remove some old cruft from docs.
27517
27518 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27519
27520         * gst/gstpad.h:
27521           Fix inline docs for GstPadLinkReturn.
27522           
27523         * gst/gststructure.c: (gst_structure_has_name):
27524         * gst/gststructure.h:
27525         * docs/gst/gstreamer-sections.txt:
27526           New API: gst_structure_has_name().
27527
27528 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27529
27530         * configure.ac:
27531           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27532           and _LARGEFILE_SOURCE in config.h as required. Do not 
27533           export those flags in our .pc files any longer (#142209).
27534
27535           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27536
27537         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27538         (gst_file_sink_do_seek), (gst_file_sink_event),
27539         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27540           Redo seek/tell calls with large file support in mind; add some
27541           debugging messages; add log message that tells us when large
27542           file support is unavailable or not enabled for some reason.
27543
27544         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27545           Add log message that tells us when large file support 
27546           is unavailable or not enabled for some reason.
27547
27548 2005-07-29  Wim Taymans  <wim@fluendo.com>
27549
27550         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27551         Added test for removing an element with ghostpad from a bin.
27552         Fixed test as current implementation does the right thing.
27553
27554         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27555         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27556         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27557         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27558         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27559         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27560         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27561         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27562         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27563         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27564         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27565         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27566         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27567         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27568         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27569         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27570         * gst/gstghostpad.h:
27571         Clean up ghostpads, remove properties for internal stuff.
27572         Make threadsafe.
27573         Fix refcounting.
27574         Prepare for switching targets, not all use cases work yet.
27575
27576 2005-07-29  Wim Taymans  <wim@fluendo.com>
27577
27578         * docs/design/part-gstghostpad.txt:
27579         Small update.
27580
27581         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27582         (gst_bin_remove_func):
27583         Unlinking pads while holding the bin LOCK is not a good
27584         idea.
27585
27586         * gst/gstpad.c: (gst_pad_class_init),
27587         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27588         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27589         No prob setting template after creating the pad.
27590
27591 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27592
27593         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27594         (gst_bus_peek), (gst_bus_source_dispatch),
27595         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27596         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27597           gst_bus_poll may be called from other threads. Handle
27598           this nicely by not making poll_data disappear off the
27599           stack once gst_bus_poll returns.
27600           gst_bus_peek now increments the refcount on the returned
27601           message.
27602
27603 2005-07-29  Wim Taymans  <wim@fluendo.com>
27604
27605         * docs/design/part-gstghostpad.txt:
27606         Overview of current GhostPad datastructures and use
27607         cases for changing the target.
27608
27609 2005-07-28  Wim Taymans  <wim@fluendo.com>
27610
27611         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27612         Added checks for hierarchy consistency whan adding linked
27613         elements to bins.
27614
27615         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27616         Added check to test element scheduling without bin/pipeline.
27617
27618         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27619         First add elements to bin, then link.
27620         
27621         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27622         (gst_bin_remove_func):
27623         Unlink pads from elements added/removed from bin to maintain
27624         hierarchy consistency.
27625
27626 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27627
27628         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27629         (gst_base_transform_handle_buffer):
27630         * gst/base/gstbasetransform.h:
27631           Remove broken delay_configure (fixes renegotiation of software
27632           scaling pipelines); remove some leftover printf()s.
27633
27634 2005-07-28  Wim Taymans  <wim@fluendo.com>
27635
27636         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27637         Added some more tests for wrong hierarchy
27638
27639         * docs/design/part-overview.txt:
27640         Some updates.
27641
27642         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27643         Cleanups.
27644
27645         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27646         (gst_element_dispose):
27647         Some more cleanups.
27648
27649         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27650         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27651         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27652         (gst_pad_set_caps), (gst_pad_send_event):
27653         Check for correct hierarchy when linking pads. Moving to
27654         strict requirement for ghostpads when linking elements in
27655         different bins.
27656
27657         * gst/gstpad.h:
27658         Clean ups. Added WRONG_HIERARCHY return value.
27659
27660 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27661
27662         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27663           Better debug if no transform is possible.
27664
27665 2005-07-27  Wim Taymans  <wim@fluendo.com>
27666
27667         * docs/random/wtay/network-transp:
27668         Some old doc I had.
27669
27670 2005-07-27  Wim Taymans  <wim@fluendo.com>
27671
27672         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27673         (gst_dp_event_from_packet):
27674         Fix serialization of seek events.
27675
27676 2005-07-27  Wim Taymans  <wim@fluendo.com>
27677
27678         * check/gst-libs/gdp.c: (GST_START_TEST):
27679         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27680         Fix compilation and fix event serialization.
27681
27682 2005-07-27  Wim Taymans  <wim@fluendo.com>
27683
27684         * CHANGES-0.9:
27685         * docs/design/part-TODO.txt:
27686         * docs/design/part-events.txt:
27687         Some docs updates
27688
27689         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27690         (gst_base_sink_event), (gst_base_sink_do_sync),
27691         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27692         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27693         (gst_base_src_do_seek), (gst_base_src_event_handler),
27694         (gst_base_src_loop):
27695         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27696         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27697         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27698         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27699         (gst_base_transform_set_passthrough),
27700         (gst_base_transform_is_passthrough):
27701         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27702         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27703         Event updates.
27704
27705         * gst/gstbuffer.h:
27706         Use faster casts.
27707
27708         * gst/gstelement.c: (gst_element_seek):
27709         * gst/gstelement.h:
27710         Update gst_element_seek.
27711
27712         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27713         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27714         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27715         (gst_event_new_eos), (gst_event_new_newsegment),
27716         (gst_event_parse_newsegment), (gst_event_new_tag),
27717         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27718         (gst_event_parse_qos), (gst_event_new_seek),
27719         (gst_event_parse_seek), (gst_event_new_navigation):
27720         * gst/gstevent.h:
27721         Make GstEvent use GstStructure. Add parsing code, make sure the
27722         API is sufficiently generic.
27723         Mark possible directions of events and serialization.
27724
27725         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27726         (_gst_message_copy), (gst_message_new_segment_start),
27727         (gst_message_new_segment_done), (gst_message_new_custom),
27728         (gst_message_parse_segment_start),
27729         (gst_message_parse_segment_done):
27730         Small cleanups.
27731
27732         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27733         (gst_pad_set_caps), (gst_pad_send_event):
27734         Update for new events. 
27735         Catch events sent in wrong directions.
27736
27737         * gst/gstqueue.c: (gst_queue_link_src),
27738         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27739         (gst_queue_handle_src_query):
27740         Event updates.
27741
27742         * gst/gsttag.c:
27743         * gst/gsttag.h:
27744         Remove event code from this file.
27745
27746         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27747         (gst_dp_event_from_packet):
27748         Event updates.
27749
27750 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27751
27752         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27753         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27754         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27755           Make debugging actually useful.
27756
27757 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27758
27759         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27760         (gst_pad_fixate_caps):
27761           Implement default fixation once again, so that gst_pad_fixate()
27762           actually does anything at all. This probably needs to be some
27763           sort of a last resort, and use profile-based fixation first, but
27764           since that doesn't exist yet, this is the best we have. Fixes
27765           visualization in Totem.
27766
27767 2005-07-22  Wim Taymans  <wim@fluendo.com>
27768
27769         * docs/design/part-events.txt:
27770         Small update.
27771
27772         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27773         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27774         (gst_base_sink_activate_pull):
27775         Some more comments.
27776
27777         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27778         (gst_fake_src_create):
27779         Fix handoff marshall.
27780
27781         * gst/elements/gstidentity.c: (gst_identity_class_init),
27782         (gst_identity_transform_ip):
27783         We're a real inplace element.
27784
27785         * gst/gstbus.c: (gst_bus_post):
27786         Added some comments.
27787
27788         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27789         * tests/muxing/case1.c: (main):
27790         * tests/sched/dynamic-pipeline.c: (main):
27791         * tests/sched/interrupt1.c: (main):
27792         * tests/sched/interrupt2.c: (main):
27793         * tests/sched/interrupt3.c: (main):
27794         * tests/sched/runxml.c: (main):
27795         * tests/sched/sched-stress.c: (main):
27796         * tests/seeking/seeking1.c: (event_received), (main):
27797         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27798         (main):
27799         * tests/threadstate/threadstate3.c: (main):
27800         * tests/threadstate/threadstate4.c: (main):
27801         * tests/threadstate/threadstate5.c: (main):
27802         Fix the tests.
27803
27804 2005-07-21  Wim Taymans  <wim@fluendo.com>
27805
27806         * docs/design/part-seeking.txt:
27807         Some small additions.
27808
27809         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27810         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27811         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27812         * gst/base/gstbasesink.h:
27813         discont values are gint64, handle the math correctly.
27814
27815         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27816         Make the basesrc report error if the source pad is not linked.
27817
27818         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27819         (gst_queue_loop), (gst_queue_handle_src_query),
27820         (gst_queue_src_activate_push):
27821         Make queue collect data even if the srcpad is not linked.
27822         Start pushing out data as soon as it is linked.
27823
27824         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27825         * gst/gstutils.h:
27826         Added gst_flow_get_name() to ease error reporting.
27827
27828 2005-07-20  Wim Taymans  <wim@fluendo.com>
27829
27830         * gst/gstmessage.c: (gst_message_new_segment_start),
27831         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27832         (gst_message_parse_segment_done):
27833         * gst/gstmessage.h:
27834         Added a bunch of messages for advanced seeking.
27835
27836         * gst/parse/grammar.y:
27837         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27838         (gst_dpman_state_changed):
27839         Fix some new-pad -> pad-added signals
27840
27841 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27842
27843         * docs/manual/appendix-porting.xml:
27844         * docs/pwg/appendix-porting.xml:
27845           Document new-pad/state-change signal renames and the FixedList
27846           type rename.
27847
27848 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27849
27850         * docs/manual/advanced-autoplugging.xml:
27851         * docs/manual/basics-helloworld.xml:
27852         * docs/manual/basics-pads.xml:
27853         * docs/random/ds/0.9-suggested-changes:
27854         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27855         * gst/gstelement.h:
27856         * gst/gstevent.h:
27857         * gst/gstformat.h:
27858         * gst/gstquery.h:
27859         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27860         (gst_structure_parse_array), (gst_structure_parse_value):
27861         * gst/gstvalue.c: (gst_type_is_fixed),
27862         (gst_value_list_prepend_value), (gst_value_list_append_value),
27863         (gst_value_list_get_size), (gst_value_list_get_value),
27864         (gst_value_transform_array_string), (gst_value_serialize_array),
27865         (gst_value_deserialize_array), (gst_value_intersect_array),
27866         (gst_value_is_fixed), (_gst_value_initialize):
27867         * gst/gstvalue.h:
27868           GstElement::new-pad -> pad-added, GstElement::state-change ->
27869           state-changed, GstValueFixedList -> GstValueArray, add format and
27870           flags as their own arguments in gst_element_seek() (should improve
27871           "bindeability"), remove function generators since they don't work
27872           under a whole bunch of compilers (they were deprecated already
27873           anyway).
27874
27875 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27876
27877         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27878         (_gst_debug_register_funcptr):
27879         * gst/gstinfo.h:
27880           Fix illegal cast on some platforms (#309253).
27881
27882 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27883
27884         * gst/gstmessage.c: (gst_message_new_custom):
27885         * gst/gstmessage.h:
27886           Add _new_custom, make _new_application a macro to _new_custom.
27887
27888 2005-07-20  Wim Taymans  <wim@fluendo.com>
27889
27890         * gst/base/gstbasesrc.c: (gst_base_src_init),
27891         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27892         * gst/base/gstbasesrc.h:
27893         Add a gboolean to decide when to push out a discont.
27894
27895         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27896         (gst_queue_loop), (gst_queue_handle_src_query),
27897         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27898         (gst_queue_set_property), (gst_queue_get_property):
27899         Some cleanups.
27900
27901         * tests/threadstate/threadstate1.c: (main):
27902         Make a thread test compile and run... very silly..
27903
27904
27905 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27906
27907         * docs/manual/appendix-porting.xml:
27908           Mention removal of libgstgconf-0.9.la and existence of gconf
27909           elements.
27910
27911 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27912
27913         * docs/pwg/advanced-clock.xml:
27914         * docs/pwg/appendix-porting.xml:
27915         * docs/pwg/intro-preface.xml:
27916         * docs/pwg/other-base.xml:
27917         * docs/pwg/other-manager.xml:
27918         * docs/pwg/other-nton.xml:
27919         * docs/pwg/other-ntoone.xml:
27920         * docs/pwg/other-oneton.xml:
27921         * docs/pwg/pwg.xml:
27922           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27923           demuxer), remove n-to-n (was never written), fix some code examples
27924           and links and update the porting section to include all this.
27925
27926 2005-07-19  Wim Taymans  <wim@fluendo.com>
27927
27928         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27929         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27930         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27931         (gst_queue_src_activate_push), (gst_queue_change_state),
27932         (gst_queue_get_property):
27933         * gst/gstqueue.h:
27934         Propagate GstFlowReturn more intelligently upstream and output
27935         an ERROR/EOS when streaming stopped due to fatal error.
27936
27937 2005-07-19  Wim Taymans  <wim@fluendo.com>
27938
27939         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27940         Don't block forever for the state change to complete, the
27941         pipeline already did with a sensible timeout.
27942
27943 2005-07-19  Wim Taymans  <wim@fluendo.com>
27944
27945         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27946         Make sure we never call the create function is we
27947         got deactivated.
27948
27949 2005-07-19  Andy Wingo  <wingo@pobox.com>
27950
27951         * gst/parse/parse.l: Attempt to solve bug #172815.
27952
27953 2005-07-19  Wim Taymans  <wim@fluendo.com>
27954
27955         * docs/design/part-clocks.txt:
27956         * docs/design/part-events.txt:
27957         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27958         Small docs updates.
27959         Only update the seeking values when we are not
27960         busy streaming.
27961
27962 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27963
27964         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27965           Oops, ignore the result of gst_pad_push_event here.
27966
27967 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27968
27969         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27970         (gst_base_src_activate_push):
27971           Send discont event from the loop function, as pads
27972           aren't activated yet in the activate_push handler.
27973
27974         * gst/gstbin.c: (bin_bus_handler):
27975           Don't leak element name.
27976
27977 2005-07-18  Andy Wingo  <wingo@pobox.com>
27978
27979         * configure.ac: Use AS_LIBTOOL_TAGS.
27980
27981 2005-07-18  Wim Taymans  <wim@fluendo.com>
27982
27983         * docs/gst/gstreamer.types:
27984         Remove deleted types.
27985
27986 2005-07-18  Wim Taymans  <wim@fluendo.com>
27987
27988         * check/elements/gstfakesrc.c: (GST_START_TEST):
27989         * configure.ac:
27990         * gst/Makefile.am:
27991         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27992         (init_popt_callback):
27993         * gst/gst.h:
27994         * gst/gst_private.h:
27995         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27996         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27997         * gst/gstbin.h:
27998         * gst/gstbus.h:
27999         * gst/gstconfig.h.in:
28000         * gst/gstelement.c: (gst_element_class_init),
28001         (gst_element_set_base_time), (gst_element_get_base_time),
28002         (iterator_fold_with_resync), (gst_element_change_state),
28003         (gst_element_dispose), (gst_element_get_bus):
28004         * gst/gstelement.h:
28005         * gst/gstelementfactory.h:
28006         * gst/gsterror.c: (_gst_core_errors_init):
28007         * gst/gsterror.h:
28008         * gst/gstevent.h:
28009         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28010         * gst/gstindex.c:
28011         * gst/gstinfo.c: (_gst_debug_init):
28012         * gst/gstmessage.c: (_gst_message_copy):
28013         * gst/gstmessage.h:
28014         * gst/gstminiobject.h:
28015         * gst/gstobject.c:
28016         * gst/gstobject.h:
28017         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28018         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
28019         * gst/gstpad.h:
28020         * gst/gstparse.h:
28021         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28022         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28023         (gst_pipeline_get_last_stream_time):
28024         * gst/gstpipeline.h:
28025         * gst/gstpluginfeature.h:
28026         * gst/gstquery.h:
28027         * gst/gstscheduler.c:
28028         * gst/gstscheduler.h:
28029         * gst/gststructure.h:
28030         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28031         (gst_task_finalize), (gst_task_func), (gst_task_create),
28032         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
28033         (gst_task_stop), (gst_task_pause):
28034         * gst/gsttask.h:
28035         * gst/gsttypefind.h:
28036         * gst/gsttypes.h:
28037         * gst/registries/gstlibxmlregistry.c: (load_feature),
28038         (gst_xml_registry_load), (gst_xml_registry_save_feature):
28039         * gst/registries/gstxmlregistry.c:
28040         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
28041         * gst/schedulers/threadscheduler.c:
28042         * libs/gst/control/dparammanager.h:
28043         * tools/gst-inspect.c: (print_element_list),
28044         (print_plugin_features), (print_element_features):
28045         * tools/gst-xmlinspect.c: (print_element_list),
28046         (print_plugin_info), (main):
28047         Removed plugable schedulers.
28048         Removed Scheduler/Manager from elements.
28049         Removed gsttypes.h, rearranged includes.
28050         Removed dependency pad<->element, element<>pipeline, and
28051         various others,  fix includes.
28052         implement gst_pad_get_parent() with gst_object_get_parent()
28053         Make GstTask sefcontained.
28054         Fix _get_state() on GstBin, it did not return ASYNC with a 0
28055         timeout.
28056         Fix endless loop in iterator_fold_with_resync.
28057
28058
28059 2005-07-18  Wim Taymans  <wim@fluendo.com>
28060
28061         * gst/Makefile.am:
28062         * gst/gstarch.h:
28063         Remove old file.
28064
28065 2005-07-18  Wim Taymans  <wim@fluendo.com>
28066
28067         * gst/Makefile.am:
28068         No more cothreads.h
28069
28070 2005-07-18  Wim Taymans  <wim@fluendo.com>
28071
28072         * gst/cothreads.c:
28073         * gst/cothreads.h:
28074         Let's remove these.
28075
28076 2005-07-18  Wim Taymans  <wim@fluendo.com>
28077
28078         * docs/design/part-dynamic.txt:
28079         * docs/design/part-events.txt:
28080         * docs/design/part-seeking.txt:
28081         Some more docs in the works.
28082
28083         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28084         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28085         (gst_base_transform_setcaps), (gst_base_transform_get_size),
28086         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28087         (gst_base_transform_handle_buffer),
28088         (gst_base_transform_sink_activate_push),
28089         (gst_base_transform_src_activate_pull),
28090         (gst_base_transform_set_passthrough),
28091         (gst_base_transform_is_passthrough):
28092         Refcounting fixes.
28093
28094         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28095         Cleanups.
28096
28097         * gst/gstevent.c: (gst_event_finalize):
28098         Set SRC to NULL.
28099
28100         * gst/gstutils.c: (gst_element_unlink),
28101         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28102         (gst_pad_proxy_setcaps):
28103         * gst/gstutils.h:
28104         Add _get_parent_element() to get a pads parent as an element.
28105
28106 2005-07-18  Wim Taymans  <wim@fluendo.com>
28107
28108         * check/gst/gstbin.c: (GST_START_TEST):
28109         Remove bogus test.
28110
28111 2005-07-18  Wim Taymans  <wim@fluendo.com>
28112
28113         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28114         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28115         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28116         (gst_base_sink_event), (gst_base_sink_do_sync),
28117         (gst_base_sink_chain), (gst_base_sink_loop),
28118         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28119         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28120         Refcounting fixes.
28121         Fix logic for returning ASYNC when not prerolled.
28122
28123 2005-07-18  Wim Taymans  <wim@fluendo.com>
28124
28125         * gst/gstqueue.c: (gst_queue_handle_sink_event):
28126         Fix nasty refcount bug.
28127
28128 2005-07-16 Philippe Khalaf <burger@speedy.org>
28129
28130         * gst/elements/gstfdsrc.c:
28131         * gst/elements/gstfdsrc.h:
28132         * gst/elements/gstelements.c:
28133         * gst/elements/Makefile.am:
28134         Ported fdsrc to 0.9.
28135
28136 2005-07-16  Wim Taymans  <wim@fluendo.com>
28137
28138         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28139         (gst_base_sink_do_sync):
28140         Fix compile error.
28141
28142 2005-07-16  Wim Taymans  <wim@fluendo.com>
28143
28144         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28145         (gst_base_sink_event), (gst_base_sink_get_times),
28146         (gst_base_sink_do_sync), (gst_base_sink_change_state):
28147         * gst/base/gstbasesink.h:
28148         Store and use discont values when syncing buffers as described
28149         in design docs.
28150         
28151         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28152         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28153         (gst_base_src_activate_push):
28154         Push discont event when starting.
28155
28156         * gst/elements/gstidentity.c: (gst_identity_transform):
28157         Small cleanups.
28158
28159         * gst/gstbin.c: (gst_bin_change_state):
28160         Small cleanups in base_time  distribution.
28161
28162         * gst/gstelement.c: (gst_element_set_base_time),
28163         (gst_element_get_base_time), (gst_element_change_state):
28164         * gst/gstelement.h:
28165         Added methods for the base_time of the element.
28166         Some MT fixes.
28167
28168         * gst/gstpipeline.c: (gst_pipeline_send_event),
28169         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28170         (gst_pipeline_get_last_stream_time):
28171         * gst/gstpipeline.h:
28172         MT fixes.
28173         Handle seeking as described in design doc, remove stream_time
28174         hack.
28175         Cleanups clock and stream_time selection code. Added accessors
28176         for the stream_time.
28177         
28178
28179 2005-07-16  Andy Wingo  <wingo@pobox.com>
28180
28181         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28182         (#305291).
28183
28184 2005-07-16  Wim Taymans  <wim@fluendo.com>
28185
28186         * check/gst/gstbin.c: (GST_START_TEST):
28187         Make elements silent as the deep_notify refs the
28188         parent, which might make the test fail.
28189
28190         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28191         Don't hold the lock for too long.
28192
28193 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
28194
28195         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28196           Don't unref the caps we passed to gst_caps_make_writable() after
28197           passing them. gst_caps_make_writable() will do that for us.
28198
28199 2005-07-15  Andy Wingo  <wingo@pobox.com>
28200
28201         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28202         (#157311).
28203
28204         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28205         own marshalling function for the handoff signal. Properly type the
28206         buffer as a buffer. Fixes some warnings. Should do a more general
28207         solution.
28208         (gst_identity_class_init): Plug into the right marshaller.
28209
28210 2005-07-15  Wim Taymans  <wim@fluendo.com>
28211
28212         * docs/design/part-TODO.txt:
28213         * docs/design/part-clocks.txt:
28214         * docs/design/part-element-sink.txt:
28215         * docs/design/part-events.txt:
28216         * docs/design/part-gstpipeline.txt:
28217         Updated docs, mostly DISCONT related.
28218
28219 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
28220
28221         * docs/pwg/building-pads.xml:
28222           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28223
28224 2005-07-15  Andy Wingo  <wingo@pobox.com>
28225
28226         * tools/gst-typefind.c: Update, add copyright block.
28227
28228         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28229         Normalize and truncate caps before fixation.
28230
28231         * gst/gstcaps.h:
28232         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28233         discards all but the first structure from its argument.
28234
28235 2005-07-15  Wim Taymans  <wim@fluendo.com>
28236
28237         * gst/base/gstbasetransform.c: (gst_base_transform_init),
28238         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28239         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28240         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28241         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28242         (gst_base_transform_chain), (gst_base_transform_change_state),
28243         (gst_base_transform_set_passthrough),
28244         (gst_base_transform_is_passthrough):
28245         * gst/base/gstbasetransform.h:
28246         Make passthrough work using the bufferpools.
28247         Changed API a bit, subclasses have to write into a buffer
28248         provided by the base class.
28249         More debug info in nego functions.
28250         
28251         * gst/elements/gstidentity.c: (gst_identity_init),
28252         (gst_identity_transform):
28253         Port to new base class.
28254
28255 2005-07-15  Wim Taymans  <wim@fluendo.com>
28256
28257         * gst/gstmessage.c: (gst_message_new_state_changed):
28258         * tools/gst-launch.c: (event_loop), (main):
28259         Totally dump messages in -launch with the -m option.
28260         Fix message name for State messages,
28261
28262 2005-07-14  Wim Taymans  <wim@fluendo.com>
28263
28264         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28265         Post error messages on errors.
28266
28267 2005-07-14  Wim Taymans  <wim@fluendo.com>
28268
28269         * gst/gstcaps.c: (gst_caps_do_simplify):
28270         Remove debug info.
28271
28272         * gst/gsterror.h:
28273         Define error for stream stopped.
28274
28275         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28276         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28277         Do proper return values.
28278
28279         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28280         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28281         (gst_pad_get_range):
28282         Better return values.
28283
28284         * gst/gstpad.h:
28285         Reorganise return values, add macro to check for fatal errors.
28286
28287         * gst/gstqueue.c: (gst_queue_chain):
28288         Return proper GstFlowReturn values,
28289
28290 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
28291
28292         * docs/gst/gstreamer-sections.txt:
28293         * docs/gst/gstreamer.types:
28294         * docs/gst/tmpl/gst.sgml:
28295         * docs/gst/tmpl/gstbasesink.sgml:
28296         * docs/gst/tmpl/gstbasesrc.sgml:
28297         * docs/gst/tmpl/gstbasetransform.sgml:
28298         * docs/gst/tmpl/gstbin.sgml:
28299         * docs/gst/tmpl/gstbuffer.sgml:
28300         * docs/gst/tmpl/gstcaps.sgml:
28301         * docs/gst/tmpl/gstclock.sgml:
28302         * docs/gst/tmpl/gstcompat.sgml:
28303         * docs/gst/tmpl/gstconfig.sgml:
28304         * docs/gst/tmpl/gstelement.sgml:
28305         * docs/gst/tmpl/gstelementdetails.sgml:
28306         * docs/gst/tmpl/gstelementfactory.sgml:
28307         * docs/gst/tmpl/gstenumtypes.sgml:
28308         * docs/gst/tmpl/gsterror.sgml:
28309         * docs/gst/tmpl/gstevent.sgml:
28310         * docs/gst/tmpl/gstfakesink.sgml:
28311         * docs/gst/tmpl/gstfakesrc.sgml:
28312         * docs/gst/tmpl/gstfilesink.sgml:
28313         * docs/gst/tmpl/gstfilesrc.sgml:
28314         * docs/gst/tmpl/gstfilter.sgml:
28315         * docs/gst/tmpl/gstformat.sgml:
28316         * docs/gst/tmpl/gstghostpad.sgml:
28317         * docs/gst/tmpl/gstimplementsinterface.sgml:
28318         * docs/gst/tmpl/gstindex.sgml:
28319         * docs/gst/tmpl/gstindexfactory.sgml:
28320         * docs/gst/tmpl/gstinfo.sgml:
28321         * docs/gst/tmpl/gstiterator.sgml:
28322         * docs/gst/tmpl/gstmacros.sgml:
28323         * docs/gst/tmpl/gstmemchunk.sgml:
28324         * docs/gst/tmpl/gstminiobject.sgml:
28325         * docs/gst/tmpl/gstobject.sgml:
28326         * docs/gst/tmpl/gstpad.sgml:
28327         * docs/gst/tmpl/gstpadtemplate.sgml:
28328         * docs/gst/tmpl/gstparse.sgml:
28329         * docs/gst/tmpl/gstpipeline.sgml:
28330         * docs/gst/tmpl/gstplugin.sgml:
28331         * docs/gst/tmpl/gstpluginfeature.sgml:
28332         * docs/gst/tmpl/gstquery.sgml:
28333         * docs/gst/tmpl/gstqueue.sgml:
28334         * docs/gst/tmpl/gstregistry.sgml:
28335         * docs/gst/tmpl/gstregistrypool.sgml:
28336         * docs/gst/tmpl/gstscheduler.sgml:
28337         * docs/gst/tmpl/gstschedulerfactory.sgml:
28338         * docs/gst/tmpl/gststructure.sgml:
28339         * docs/gst/tmpl/gstsystemclock.sgml:
28340         * docs/gst/tmpl/gsttaglist.sgml:
28341         * docs/gst/tmpl/gsttagsetter.sgml:
28342         * docs/gst/tmpl/gsttrace.sgml:
28343         * docs/gst/tmpl/gsttrashstack.sgml:
28344         * docs/gst/tmpl/gsttypefind.sgml:
28345         * docs/gst/tmpl/gsttypefindfactory.sgml:
28346         * docs/gst/tmpl/gsttypes.sgml:
28347         * docs/gst/tmpl/gsturihandler.sgml:
28348         * docs/gst/tmpl/gsturitype.sgml:
28349         * docs/gst/tmpl/gstutils.sgml:
28350         * docs/gst/tmpl/gstvalue.sgml:
28351         * docs/gst/tmpl/gstversion.sgml:
28352         * docs/gst/tmpl/gstxml.sgml:
28353         * docs/libs/tmpl/gstcontrol.sgml:
28354         * docs/libs/tmpl/gstdataprotocol.sgml:
28355         * docs/libs/tmpl/gstdparam.sgml:
28356         * docs/libs/tmpl/gstdplinint.sgml:
28357         * docs/libs/tmpl/gstdpman.sgml:
28358         * docs/libs/tmpl/gstdpsmooth.sgml:
28359         * docs/libs/tmpl/gstgetbits.sgml:
28360         * docs/libs/tmpl/gstunitconvert.sgml:
28361         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28362         (gst_push_src_base_init), (gst_push_src_class_init),
28363         (gst_push_src_init), (gst_push_src_create):
28364         * gst/base/gstpushsrc.h:
28365         * gst/elements/gstelements.c:
28366         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28367         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28368         (gst_fake_sink_init), (gst_fake_sink_set_property),
28369         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28370         (gst_fake_sink_event), (gst_fake_sink_preroll),
28371         (gst_fake_sink_render), (gst_fake_sink_change_state):
28372         * gst/elements/gstfakesink.h:
28373         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28374         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28375         (gst_fake_src_base_init), (gst_fake_src_class_init),
28376         (gst_fake_src_init), (gst_fake_src_event_handler),
28377         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28378         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28379         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28380         (gst_fake_src_create_buffer), (gst_fake_src_create),
28381         (gst_fake_src_start), (gst_fake_src_stop):
28382         * gst/elements/gstfakesrc.h:
28383         * gst/elements/gstfilesink.c: (_do_init),
28384         (gst_file_sink_base_init), (gst_file_sink_class_init),
28385         (gst_file_sink_init), (gst_file_sink_dispose),
28386         (gst_file_sink_set_location), (gst_file_sink_set_property),
28387         (gst_file_sink_get_property), (gst_file_sink_open_file),
28388         (gst_file_sink_close_file), (gst_file_sink_query),
28389         (gst_file_sink_event), (gst_file_sink_render),
28390         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28391         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28392         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28393         * gst/elements/gstfilesink.h:
28394         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28395         (gst_file_src_class_init), (gst_file_src_init),
28396         (gst_file_src_finalize), (gst_file_src_set_location),
28397         (gst_file_src_set_property), (gst_file_src_get_property),
28398         (gst_file_src_map_region), (gst_file_src_map_small_region),
28399         (gst_file_src_create_mmap), (gst_file_src_create_read),
28400         (gst_file_src_create), (gst_file_src_is_seekable),
28401         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28402         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28403         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28404         (gst_file_src_uri_handler_init):
28405         * gst/elements/gstfilesrc.h:
28406           more autistic cleanliness in functions/names/defines
28407
28408 2005-07-13  Andy Wingo  <wingo@pobox.com>
28409
28410         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28411         source couldn't negotiate.
28412
28413         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28414         connections again.
28415
28416         * gst/gstutils.h:
28417         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28418         function. I am channeling Hades. Put your boots on suckers!!!
28419
28420 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28421
28422         * testsuite/caps/Makefile.am:
28423         * testsuite/caps/value_compare.c:
28424         * testsuite/caps/value_intersect.c:
28425         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28426           move two testsuite apps over to the check dir
28427
28428 2005-07-12  Wim Taymans  <wim@fluendo.com>
28429
28430         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28431         Added more debug info in the negotiate process.
28432
28433         * gst/gstmessage.h:
28434         Prepare for segment playback.
28435
28436         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28437         Better debugging.
28438
28439         * gst/gstutils.c:
28440         Some more docs.
28441
28442         * tools/gst-launch.c: (main):
28443         NULL pipeline on errors.
28444
28445 2005-07-12  Andy Wingo  <wingo@pobox.com>
28446
28447         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28448         not it comes from a malloc region. Make sure our copy gets freed.
28449
28450 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28451
28452         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28453         * check/gst/gstmessage.c: (GST_START_TEST):
28454         * check/gst/gststructure.c: (GST_START_TEST),
28455         (gst_structure_suite), (main):
28456           more testing
28457         * gst/gstelement.c: (gst_element_message_full):
28458           clean up GError and debug string now that they get copied
28459         * gst/gstmessage.c: (gst_message_new_error),
28460         (gst_message_new_warning), (gst_message_parse_error),
28461         (gst_message_parse_warning):
28462           use GST_TYPE_G_ERROR for structure_new, and take copies of
28463           arguments, so that we don't mess up refcounting
28464
28465 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28466
28467         * check/Makefile.am:
28468           add per-test valgrind targets
28469         * check/gst-libs/gdp.c: (GST_START_TEST),
28470         (gst_data_protocol_suite), (main):
28471           clean up
28472
28473 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28474
28475         * check/Makefile.am:
28476           instate more valgrindable tests
28477         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28478         (GST_START_TEST), (fakesrc_suite):
28479         * check/gst/gstpad.c: (GST_START_TEST):
28480         * check/gst/gststructure.c: (GST_START_TEST):
28481           fix test leaks
28482         * docs/gst/tmpl/gstminiobject.sgml:
28483         * gst/gstpad.c: (gst_pad_finalize):
28484           fix the static mutex leak
28485
28486 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28487
28488         * check/Makefile.am:
28489           add two more tests for valgrinding
28490         * check/gst/gstvalue.c: (GST_START_TEST):
28491           test refcount of deserialized buffer, found a leak
28492         * docs/gst/gstreamer-docs.sgml:
28493         * docs/gst/gstreamer-sections.txt:
28494         * docs/gst/gstreamer.types:
28495         * docs/gst/tmpl/gstminiobject.sgml:
28496           add miniobject to docs
28497         * gst/gstminiobject.c:
28498           add some docs
28499         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28500         (gst_string_unwrap):
28501           fix a hard-to-find invalid write for one of the tests
28502           fix a leak for deserialized buffers
28503
28504 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28505
28506         * docs/pwg/advanced-events.xml:
28507         * docs/pwg/advanced-request.xml:
28508         * docs/pwg/advanced-scheduling.xml:
28509         * docs/pwg/appendix-porting.xml:
28510         * docs/pwg/building-boiler.xml:
28511         * docs/pwg/intro-preface.xml:
28512         * docs/pwg/other-ntoone.xml:
28513           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28514           of example code and explanation for pad activation, loop() and
28515           getrange() functions and a bit more. Remove old comments pointing
28516           to loop-functions.
28517         * examples/pwg/Makefile.am:
28518           Add loop/getrange examples.
28519
28520 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28521
28522         * configure.ac:
28523           check for valgrind binary + some fixes
28524         * check/gst.supp:
28525           valgrind suppressions for the tests
28526         * check/Makefile.am:
28527           add a valgrind: target that valgrinds the unit tests
28528         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28529         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28530         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28531         * check/gst/gstghostpad.c:
28532           added some cleanup
28533         * check/gst/gstdata.c:
28534           removed
28535         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28536         (thread_unref), (gst_mini_object_suite), (main):
28537           added
28538         * gst/gst.c: (gst_deinit):
28539         * gst/gst.h:
28540           add a method to clean up.
28541         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28542         (gst_system_clock_obtain):
28543           allow for disposing the system clock.
28544         * tools/gst-launch.c: (main):
28545           deinit
28546
28547 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28548
28549         * docs/gst/tmpl/gstbasesrc.sgml:
28550         * docs/gst/tmpl/gstfakesrc.sgml:
28551         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28552         (gst_base_src_init), (gst_base_src_set_property),
28553         (gst_base_src_get_property), (gst_base_src_get_range),
28554         (gst_base_src_start):
28555         * gst/base/gstbasesrc.h:
28556           add num-buffers property
28557         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28558         (gst_fakesrc_init), (gst_fakesrc_set_property),
28559         (gst_fakesrc_get_property), (gst_fakesrc_create),
28560         (gst_fakesrc_start):
28561           remove num-buffers property
28562
28563 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28564
28565         * docs/gst/gstreamer-sections.txt:
28566         * docs/gst/tmpl/gstbasesink.sgml:
28567         * docs/gst/tmpl/gstbasesrc.sgml:
28568         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28569         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28570         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28571         (gst_base_sink_set_property), (gst_base_sink_get_property),
28572         (gst_base_sink_handle_object), (gst_base_sink_event),
28573         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28574         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28575         (gst_base_sink_loop), (gst_base_sink_deactivate),
28576         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28577         (gst_base_sink_change_state):
28578         * gst/base/gstbasesink.h:
28579         * gst/base/gstbasesrc.h:
28580         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28581         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28582         (gst_filesink_init):
28583           more macro splitting
28584
28585 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28586
28587         * gst/gstelement.c: (gst_element_get_bus):
28588           add debug
28589         * tools/gst-launch.c: (check_intr), (event_loop):
28590           fix bus leaks
28591
28592 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28593
28594         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28595           fix a caps leak
28596
28597 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28598
28599         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28600         (gst_base_src_finalize):
28601           add finalize method and clean up properly
28602         * gst/gstpipeline.c: (gst_pipeline_dispose):
28603           add debug
28604
28605 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28606
28607         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28608         (gst_bin_suite):
28609           add more things to check
28610         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28611         * gst/gstelement.c:
28612           more debug
28613
28614 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28615
28616         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28617         (GST_START_TEST), (fakesrc_suite):
28618         * check/gst-libs/gdp.c: (GST_START_TEST):
28619         * check/gst/gst.c: (GST_START_TEST):
28620         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28621         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28622         * check/gst/gstbus.c: (GST_START_TEST):
28623         * check/gst/gstcaps.c: (GST_START_TEST):
28624         * check/gst/gstdata.c: (GST_START_TEST):
28625         * check/gst/gstelement.c: (GST_START_TEST):
28626         * check/gst/gstghostpad.c: (GST_START_TEST):
28627         * check/gst/gstiterator.c: (GST_START_TEST):
28628         * check/gst/gstmessage.c: (GST_START_TEST):
28629         * check/gst/gstobject.c: (GST_START_TEST):
28630         * check/gst/gstpad.c: (GST_START_TEST):
28631         * check/gst/gststructure.c: (GST_START_TEST):
28632         * check/gst/gstsystemclock.c: (GST_START_TEST),
28633         (gst_systemclock_suite):
28634         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28635         * check/gst/gstvalue.c: (GST_START_TEST):
28636         * check/pipelines/cleanup.c: (GST_START_TEST):
28637         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28638         * check/states/sinks.c: (GST_START_TEST):
28639         * check/gstcheck.c: (gst_check_init):
28640         * check/gstcheck.h:
28641           add debugging category
28642           use GST_START_TEST now, so we add a debug line
28643
28644 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28645
28646         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28647           add test for state change message on a bin
28648         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28649           add another test
28650         * gst/gstbin.c: (gst_bin_init):
28651         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28652         * gst/gstelement.c: (gst_element_post_message),
28653         (gst_element_set_state):
28654         * gst/gstelementfactory.c: (gst_element_factory_create):
28655         * gst/gstmessage.c: (gst_message_new):
28656         * gst/gstscheduler.c:
28657           various debugging additions and cleanups
28658
28659 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28660
28661         * check/Makefile.am:
28662         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28663         (main):
28664           adding tests for elements
28665         * gst/gstelement.c: (gst_element_dispose):
28666
28667 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28668
28669         * gst/registries/gstlibxmlregistry.c: (load_feature):
28670           plug more leaks.  A simple gst_init() now is leakfree, yay.
28671
28672 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28673
28674         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28675         (gst_xml_registry_load):
28676           plug another memleak
28677
28678 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28679
28680         * configure.ac:
28681           use GST_SET_ERROR_CFLAGS
28682         * docs/faq/cvs.xml:
28683           change to ERROR_CFLAGS
28684
28685 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28686
28687         * configure.ac:
28688           make GST_ERROR_CFLAGS overridable and re-enable Werror
28689         * docs/faq/cvs.xml:
28690           add a note about error CFLAGS
28691         * docs/gst/tmpl/gstfakesrc.sgml:
28692         * gst/elements/gstfakesrc.c:
28693           comment out some unused code
28694         * gst/gst.c: (split_and_iterate):
28695         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28696         (load_feature):
28697           plug some memleaks
28698
28699 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28700
28701         * common/Makefile.am:
28702         * common/gtk-doc.mak:
28703         * docs/gst/Makefile.am:
28704           factor out gtk-doc.mak
28705
28706 2005-07-07  Wim Taymans  <wim@fluendo.com>
28707
28708         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28709         (gst_thread_scheduler_dispose):
28710         Unlock the STREAM_LOCK completely.
28711
28712 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28713
28714         * check/Makefile.am:
28715         * check/elements/.cvsignore:
28716         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28717         (START_TEST), (fakesrc_suite), (main):
28718         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28719         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28720         (gst_fakesrc_create), (gst_fakesrc_start):
28721         * gst/elements/gstfakesrc.h:
28722           adding a first element test
28723
28724 2005-07-07  Andy Wingo  <wingo@pobox.com>
28725
28726         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28727         debug message.
28728
28729 2005-07-07  Wim Taymans  <wim@fluendo.com>
28730
28731         * gst/gstquery.c:
28732         * gst/gstquery.h:
28733         Remove old types
28734
28735 2005-07-07  Wim Taymans  <wim@fluendo.com>
28736
28737         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28738         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28739         Allow subclasses to implement their own negotiation.
28740
28741 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28742
28743         * docs/design/part-gstbin.txt:
28744         * docs/design/part-gstpipeline.txt:
28745           Update design notes to reflect the movement of
28746           responsibility for bus handling from GstPipeline to
28747           GstBin
28748
28749 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28750
28751         * configure.ac:
28752           Remove unnecessary queue2/3/4 examples.
28753
28754 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28755
28756         * examples/Makefile.am:
28757         * examples/helloworld/helloworld.c: (event_loop), (main):
28758         * examples/queue/queue.c: (event_loop), (main):
28759         * examples/queue2/queue2.c: (main):
28760           Update a couple of the examples to work again.
28761
28762         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28763         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28764          Spelling corrections and extra debug.
28765         
28766         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28767         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28768         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28769         * gst/gstbin.h:
28770         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28771         (gst_pipeline_change_state):
28772         * gst/gstpipeline.h:
28773           Move the bus handler for children to the GstBin, and create a
28774           separate bus for receiving messages from children to the one the
28775           bus sends 'upwards' on.
28776
28777 2005-07-06  Wim Taymans  <wim@fluendo.com>
28778
28779         * gst/base/README:
28780         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28781         (gst_base_sink_handle_object), (gst_base_sink_loop),
28782         (gst_base_sink_change_state):
28783         * gst/base/gstbasesink.h:
28784         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28785         (gst_base_src_init), (gst_base_src_setcaps),
28786         (gst_base_src_getcaps), (gst_base_src_loop),
28787         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28788         (gst_base_src_start), (gst_base_src_change_state):
28789         * gst/base/gstbasesrc.h:
28790         Make basesrc negotiate.
28791         Handle the case where preroll fails in basesink.
28792         Update README.
28793
28794 2005-07-06  Wim Taymans  <wim@fluendo.com>
28795
28796         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28797         Implement the fixate function.
28798         Clean up acceptcaps.
28799
28800 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28801
28802         * docs/pwg/building-filterfactory.xml:
28803         * docs/pwg/pwg.xml:
28804           Remove never-written filter-factory chapter; I'll add the various
28805           base classes to part 4 ("other element types") later on.
28806
28807 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28808
28809         * docs/pwg/advanced-negotiation.xml:
28810         * docs/pwg/building-boiler.xml:
28811         * docs/pwg/building-pads.xml:
28812         * docs/pwg/pwg.xml:
28813         * examples/pwg/Makefile.am:
28814           Add a chapter on caps negotiation, simplify the original code
28815           samples a bit w.r.t. caps negotiation, add link to the advanced
28816           section. Add a bunch of examples showing different use cases of
28817           different types of caps negotiation. Upstream renegotiation isn't
28818           fully documented yet since nobody knows how that works.
28819
28820 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28821
28822         * check/gst/gstpad.c:
28823         * check/gstcheck.c:
28824         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28825           if pad has no parent, return NULL as list of internal links
28826
28827 2005-07-05  Andy Wingo  <wingo@pobox.com>
28828
28829         * gst/elements/gstfilesrc.c:
28830         * gst/elements/gstfakesrc.c: 
28831         * gst/base/gstpushsrc.c:
28832         * gst/base/gstbasesrc.h: 
28833         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28834         
28835 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28836
28837         * Makefile.am:
28838           better report generation target (lcov needs a patch)
28839
28840 2005-07-05  Andy Wingo  <wingo@pobox.com>
28841
28842         * gst/elements, testsuite: Null if we got it...
28843
28844 2005-07-05  Wim Taymans  <wim@fluendo.com>
28845
28846         * configure.ac:
28847         * libs/gst/dataprotocol/Makefile.am:
28848         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28849         * libs/gst/dataprotocol/dataprotocol.h:
28850         * pkgconfig/Makefile.am:
28851         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28852         * pkgconfig/gstreamer-dataprotocol.pc.in:
28853         Ported dataprotol to 0.9. 
28854         Added pkgconfig files.
28855
28856 2005-07-05  Andy Wingo  <wingo@pobox.com>
28857
28858         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28859         Default to returning TRUE for the case when tranform_caps returns
28860         a fixed caps, like for identity or volume.
28861
28862         * check/gst/gstbus.c (pound_bus_with_messages): 
28863         * check/gst/gstmessage.c (START_TEST): 
28864         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28865         message API change.
28866
28867         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28868         logic weaks here: always run transform_caps, trying passthrough
28869         operation only if the original caps intersects with the transform.
28870
28871         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28872         source and sink caps.
28873
28874         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28875         Intersect the peer caps with the pad template before going into
28876         transform_caps.
28877         (gst_base_transform_transform_caps): More debugging.
28878
28879         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28880         src argument.
28881
28882 2005-07-04  Edward Hervey  <edward@fluendo.com>
28883
28884         * gst/gstutils.c:
28885         * gst/gstutils.h:
28886         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28887         in bindings.
28888
28889 2005-07-04  Andy Wingo  <wingo@pobox.com>
28890
28891         * check/gst/gstpad.c: Only set explicit caps on pads.
28892
28893 2005-07-01  Andy Wingo  <wingo@pobox.com>
28894
28895         * tests/network-clock.scm: Commentary update.
28896
28897         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28898         Didn't really make sense, not implementable with basetransform,
28899         etc.
28900         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28901         attempt at implementing the sync property, needs an unlock method.
28902
28903         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28904         New func, by default returns the same caps (the identity
28905         transformation).
28906         (gst_base_transform_getcaps): Uses transform_caps to return
28907         something sensible.
28908         (gst_base_transform_setcaps): Complicated logic to get caps on
28909         both pads, even if they are different, and to call set_caps once
28910         for every time both pads get their caps set.
28911         (gst_base_transform_handle_buffer): Give the ref to the transform
28912         function. Allows in-place modification of the buffer.
28913
28914         * gst/base/gstbasetransform.h (transform_caps): New class method.
28915         Given caps on one side, what can I do on the other.
28916         (set_caps): Take two caps, one for each side of the element.
28917
28918         * gst/gstpad.h:
28919         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28920         caps in place. This is safe because we can check the mutability of
28921         the caps, and a good idea because fixate functions are just called
28922         as a matter of last resort. (Not actually implemented.)
28923         (gst_pad_set_caps): If the caps we're setting is actually the same
28924         as the existing pad caps, just update the pointer without calling
28925         setcaps. Assert that caps is either NULL or fixed, as per the
28926         docs.
28927
28928         * gst/gstghostpad.c: Update for fixate changes.
28929
28930 2005-07-02  Andy Wingo  <wingo@pobox.com>
28931
28932         * gst/gstcaps.c:
28933         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28934         two refcounts makes it immutable, which is enough. Doc more.
28935
28936 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28937
28938         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28939           Put the mini_object into GValue as a mini_object,
28940           not a gpointer, since that's how we declared
28941           the signal.
28942
28943 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28944
28945         * examples/pwg/Makefile.am:
28946           Fix buildbot again.
28947
28948 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28949
28950         * docs/pwg/building-testapp.xml:
28951           Add extra check.
28952         * examples/pwg/Makefile.am:
28953           Fix buildbot.
28954
28955 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28956
28957         * configure.ac:
28958         * examples/Makefile.am:
28959         * examples/pwg/Makefile.am:
28960         * examples/pwg/extract.pl:
28961           Enable building the PWG examples.
28962         * docs/pwg/advanced-interfaces.xml:
28963           Add URI interface stub.
28964         * docs/pwg/advanced-types.xml:
28965         * docs/pwg/other-autoplugger.xml:
28966         * docs/pwg/appendix-porting.xml:
28967         * docs/pwg/pwg.xml:
28968           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28969         * docs/pwg/building-boiler.xml:
28970         * docs/pwg/building-chainfn.xml:
28971         * docs/pwg/building-pads.xml:
28972         * docs/pwg/building-props.xml:
28973         * docs/pwg/building-state.xml:
28974         * docs/pwg/building-testapp.xml:
28975           Update the building-*.xml parts for 0.9 changes. All examples
28976           code blocks compile in examples/pwg/*.
28977
28978 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28979
28980         * docs/manual/advanced-autoplugging.xml:
28981         * docs/manual/appendix-checklist.xml:
28982         * docs/manual/appendix-integration.xml:
28983         * docs/manual/highlevel-components.xml:
28984           Fix playbin/decodebin examples, update docs a bit, mention bus
28985           instead of signals in various places, mention kmplayer and
28986           kaffeine since they have a working GStreamer backend in the KDE
28987           section.
28988
28989 2005-06-30  Wim Taymans  <wim@fluendo.com>
28990
28991         * CHANGES-0.9:
28992         * docs/design/draft-ghostpads.txt:
28993         * docs/design/draft-push-pull.txt:
28994         * docs/design/draft-query.txt:
28995         * docs/design/part-TODO.txt:
28996         * docs/design/part-query.txt:
28997         Added CHANGES-0.9 doc, updated status of other docs.
28998         
28999         * gst/gstquery.h:
29000         Remove "hmm" macro
29001
29002 2005-06-30  Wim Taymans  <wim@fluendo.com>
29003
29004         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
29005         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
29006         (gst_base_sink_change_state):
29007         * gst/base/gstbasesink.h:
29008         Some tweaks, only EOS and a buffer complete a preroll.
29009
29010 2005-06-30  Andy Wingo  <wingo@pobox.com>
29011
29012         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
29013         activate_push down to the internal pad as well.
29014
29015 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
29016
29017         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29018
29019         * gst/gsttaginterface.c:
29020           Some documentation fixes (#307394 and #307397).
29021
29022 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
29023
29024         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29025
29026         * gst/gstvalue.c: (gst_value_intersect_list):
29027           Fix memleak (#309125).
29028
29029 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29030
29031         * docs/manual/advanced-dataaccess.xml:
29032           Fix fakesrc example to compile; doesn't work, bug somewhere...?
29033         * docs/manual/basics-pads.xml:
29034           Add reference for filtered caps to above chapter.
29035
29036 2005-06-30  Wim Taymans  <wim@fluendo.com>
29037
29038         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
29039         (gst_bin_change_state):
29040         Probes are gone.
29041         Lame attempt at making the state change function a bit
29042         more readable.
29043
29044 2005-06-30  Wim Taymans  <wim@fluendo.com>
29045
29046         * docs/design/part-clocks.txt:
29047         * docs/design/part-element-sink.txt:
29048         * docs/design/part-events.txt:
29049         * docs/design/part-preroll.txt:
29050         * docs/design/part-states.txt:
29051         Some more tweeks and additions to the docs.
29052
29053 2005-06-30  Wim Taymans  <wim@fluendo.com>
29054
29055         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29056         (default_have_data), (gst_pad_class_init), (gst_pad_init),
29057         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29058         (gst_pad_check_pull_range), (gst_pad_get_range),
29059         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
29060         * gst/gstpad.h:
29061         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
29062         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29063         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29064         (gst_pad_remove_buffer_probe):
29065         Removed atomic operations, use existing LOCK.
29066         Move exception handling out of main code path.
29067
29068 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29069
29070         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29071         (silly_return_true_function), (gst_pad_class_init),
29072         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29073         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29074         (gst_pad_send_event):
29075           Fix accumulator, add default value by using _emitv() instead
29076           of _emit() for signal emission.
29077
29078 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29079
29080         * docs/manual/advanced-dataaccess.xml:
29081         * examples/manual/Makefile.am:
29082           Add probe example.
29083         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29084           Make work (??).
29085
29086 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
29087
29088         * gst/elements/gstfilesink.c: (gst_filesink_render):
29089           Simplify code so that we don't have to handle short
29090           writes and return GST_FLOW_ERROR if an error occured.
29091
29092 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29093
29094         * docs/gst/gstreamer-docs.sgml:
29095           Remove probes more.
29096
29097 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29098
29099         * docs/gst/gstreamer-sections.txt:
29100         * docs/gst/tmpl/gstpad.sgml:
29101         * docs/gst/tmpl/gstprobe.sgml:
29102         * gst/Makefile.am:
29103         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29104         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29105         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29106         (gst_pad_push_event), (gst_pad_send_event):
29107         * gst/gstpad.h:
29108         * gst/gstutils.c: (gst_pad_add_data_probe),
29109         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29110         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29111         (gst_pad_remove_buffer_probe):
29112         * gst/gstutils.h:
29113           Remove old probes, add new g-signal-based probes and some utility
29114           functions.
29115
29116 2005-06-29  Edward Hervey  <edward@fluendo.com>
29117
29118         * gst/gstelementfactory.c:
29119         * gst/gstutils.h:
29120         * gst/gstutils.c:
29121         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29122         the definition to the header file.
29123
29124 2005-06-29  Andy Wingo  <wingo@pobox.com>
29125
29126         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29127         plugins from the source directory.
29128
29129 2005-06-29  Wim Taymans  <wim@fluendo.com>
29130
29131         * docs/gst/tmpl/gstbuffer.sgml:
29132         * docs/gst/tmpl/gstclock.sgml:
29133         Some fixings for blantently wrong text.
29134
29135 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29136
29137         * check/Makefile.am:
29138         * gst/gst.c: (add_path_func), (init_pre):
29139         * gst/gstregistry.c: (gst_registry_add_path):
29140           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29141           only scan the GST_PLUGIN_PATH locations, and not add
29142           system locations
29143
29144 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29145
29146         * docs/gst/gstreamer-sections.txt:
29147         * docs/gst/tmpl/gstbasesrc.sgml:
29148         * gst/gstelement.c:
29149         * gst/gstelement.h:
29150         * gst/gstevent.c:
29151         * gst/gstutils.c:
29152           doc fixes
29153
29154 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29155
29156         * docs/manual/advanced-autoplugging.xml:
29157           Fix autoplugging example.
29158
29159 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29160
29161         * docs/manual/advanced-autoplugging.xml:
29162         * docs/manual/mime-world.fig:
29163           Try to get autoplugging working, fix type detection. Fix text
29164           in hello-world image.
29165
29166 2005-06-29  Wim Taymans  <wim@fluendo.com>
29167
29168         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29169         (gst_base_sink_change_state):
29170         Small debug line.
29171
29172         * gst/gstclock.h:
29173         map SIGNAL and BROADCAST to the right function.
29174
29175         * gst/gstobject.h:
29176         Remove redundant braces.
29177
29178         * gst/gstpad.c: (gst_pad_set_caps):
29179         Don't call setcaps function when reseting caps to NULL.
29180
29181         * gst/gstsystemclock.c: (gst_system_clock_dispose),
29182         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29183         (gst_system_clock_id_unschedule):
29184         Use BROADCAST as this is what we do.
29185
29186 2005-06-29  Wim Taymans  <wim@fluendo.com>
29187
29188         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29189         We are actually prerolling before commiting the state
29190         change. 
29191
29192 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29193
29194         * docs/manual/advanced-clocks.xml:
29195         * docs/manual/advanced-interfaces.xml:
29196         * docs/manual/advanced-metadata.xml:
29197         * docs/manual/advanced-position.xml:
29198         * docs/manual/advanced-schedulers.xml:
29199         * docs/manual/advanced-threads.xml:
29200         * docs/manual/appendix-porting.xml:
29201         * docs/manual/basics-bins.xml:
29202         * docs/manual/basics-bus.xml:
29203         * docs/manual/basics-elements.xml:
29204         * docs/manual/basics-helloworld.xml:
29205         * docs/manual/basics-pads.xml:
29206         * docs/manual/highlevel-components.xml:
29207         * docs/manual/manual.xml:
29208         * docs/manual/thread.fig:
29209           Update (until threads/scheduling) Application Development Manual;
29210           remove GstThread, add GstBus, add simple porting checklist, add
29211           documentation for tag writing, clocks, make all examples until this
29212           part compile and run.
29213         * examples/manual/Makefile.am:
29214           Update from changes to Application Development Manual; add bus
29215           example, remove thread example.
29216
29217 2005-06-28  Wim Taymans  <wim@fluendo.com>
29218
29219         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29220         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29221         (gst_bus_source_dispatch):
29222         Add debugging messages.
29223         Make internal methods static.
29224         Handle the case where the bus is flushed in the handler.
29225         
29226         * gst/gstelement.c: (gst_element_get_bus):
29227         Fix refcount in _get_bus();
29228
29229         * gst/gstpipeline.c: (gst_pipeline_change_state),
29230         (gst_pipeline_get_clock_func):
29231         Clock refcounting fixes.
29232         Handle the case where preroll timed out more gracefully.
29233         
29234         * gst/gstsystemclock.c: (gst_system_clock_dispose):
29235         Clean up the internal thread in dispose. This is needed
29236         for subclasses that actually get disposed.
29237         
29238         * gst/schedulers/threadscheduler.c:
29239         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29240         (gst_thread_scheduler_dispose):
29241         Free thread pool in dispose.
29242
29243 2005-06-28  Andy Wingo  <wingo@pobox.com>
29244
29245         * tests/network-clock-utils.scm (debug, print-event): New utils.
29246
29247         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29248         (*packet-loss*): Unified loss probability.
29249         (network-time): Report out-of-band events.
29250
29251         * tests/plot-data: Add support for out-of-band events. Hack it
29252         into this script instead of passing it down the pipe; should fix
29253         this later.
29254
29255 2005-06-28  Wim Taymans  <wim@fluendo.com>
29256
29257         * docs/gst/gstreamer.types:
29258         * docs/gst/tmpl/gstbasesrc.sgml:
29259         * docs/gst/tmpl/gstpad.sgml:
29260         Docs fixes.
29261
29262 2005-06-28  Wim Taymans  <wim@fluendo.com>
29263
29264         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29265         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29266         (gst_proxy_pad_do_fixatecaps):
29267         Correctly proxy the check_pull_range function.
29268
29269 2005-06-28  Andy Wingo  <wingo@pobox.com>
29270
29271         * tests/network-clock.scm: Removed need for slib.
29272         
29273 2005-06-28  Wim Taymans  <wim@fluendo.com>
29274
29275         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29276         (gst_basesink_preroll_queue_flush):
29277         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29278         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29279         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29280         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29281         (gst_proxy_pad_set_property):
29282         * gst/gstpad.c:
29283         * gst/gstpad.h:
29284         * gst/gstqueue.c: (gst_queue_init):
29285         The deprecated pad loop function is removed now.
29286
29287 2005-06-28  Andy Wingo  <wingo@pobox.com>
29288
29289         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29290         New parameters, simulate network packet loss.
29291
29292         * tests/network-clock-utils.scm: Initialize the RNG.
29293
29294 2005-06-28  Wim Taymans  <wim@fluendo.com>
29295
29296         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29297         (gst_basesink_event), (gst_basesink_deactivate):
29298         Flushing the preroll queue always needs to unlock the waiters.
29299
29300 2005-06-28  Edward Hervey  <edward@fluendo.com>
29301
29302         * gst/gstpipeline.c: (gst_pipeline_send_event): 
29303         Wheen a seek was successful on a pipeline, set the stream_time to the
29304         seek offset in order to have a synchronized stream_time.
29305
29306 2005-06-28  Wim Taymans  <wim@fluendo.com>
29307
29308         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29309         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29310         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29311         (gst_proxy_pad_do_fixatecaps):
29312         Call wrapper function instead of just calling the function
29313         pointers. This takes care of any locking and whatmore.
29314
29315 2005-06-28  Wim Taymans  <wim@fluendo.com>
29316
29317         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29318         (gst_pad_pull_range):
29319         * gst/gstpad.h:
29320         CONNECTED -> LINKED.
29321
29322 2005-06-28  Andy Wingo  <wingo@pobox.com>
29323
29324         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29325         source-munging commit!!!
29326
29327         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29328         (gst_object_sink): Take gpointer arguments, not GstObject --
29329         avoids casts. Like GLib.
29330
29331         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29332         activate.
29333
29334 2005-06-27  Andy Wingo  <wingo@pobox.com>
29335
29336         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29337         remaining buffer.
29338
29339         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29340         returns a sorted copy of the trace list.
29341         (gst_alloc_trace_print_live): New API, only prints traces with
29342         live objects. Sort the list.
29343         (gst_alloc_trace_print_all): Sort the list.
29344         (gst_alloc_trace_print): Align columns.
29345
29346         * gst/elements/gstttypefindelement.c:
29347         * gst/elements/gsttee.c:
29348         * gst/base/gstbasesrc.c:
29349         * gst/base/gstbasesink.c:
29350         * gst/base/gstbasetransform.c:
29351         * gst/gstqueue.c: Adapt for pad activation changes.
29352
29353         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29354         sched.
29355         (gst_pipeline_dispose): Drop ref on sched.
29356
29357         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29358         (gst_pad_activate_default): Push mode by default.
29359         (pre_activate_switch, post_activate_switch): New stubs, things to
29360         do before and after switching activation modes on pads.
29361         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29362         the pad's activate function to choose which mode to activate.
29363         Shortcut on deactivation and call the right function directly.
29364         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29365         mode.
29366         (gst_pad_activate_push): New API, same for push mode.
29367         (gst_pad_set_activate_function) 
29368         (gst_pad_set_activatepull_function) 
29369         (gst_pad_set_activatepush_function): Setters for new API.
29370
29371         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29372         Trace all miniobjects.
29373         (gst_mini_object_make_writable): Unref the arg if we copy, like
29374         gst_caps_make_writable.
29375
29376         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29377
29378         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29379         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29380         Adapt for new pad API.
29381
29382         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29383
29384         * gst/gstelement.h:
29385         * gst/gstelement.c (gst_element_iterate_src_pads) 
29386         (gst_element_iterate_sink_pads): New API functions.
29387         
29388         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29389         should fold into gstiterator.c in some form.
29390         (gst_element_pads_activate): Simplified via use of fold and
29391         delegation of decisions to gstpad->activate.
29392
29393         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29394         help in debugging.
29395
29396         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29397         class once in init, like gstmessage. Didn't run into this issue
29398         but it seems correct. Don't initialize a trace, gstminiobject does
29399         that.
29400
29401         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29402         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29403         to the bus.
29404         (assert_live_count): New util function, uses alloc traces to check
29405         cleanup.
29406
29407         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29408         To be modified when unlink drops the internal pad.
29409
29410 2005-06-27  Wim Taymans  <wim@fluendo.com>
29411
29412         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29413         (gst_bin_change_state):
29414         Cleanup the get_state() function a little, make sure it
29415         iterates the same set of elements.
29416         Added stub iterate_state_order().
29417
29418 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29419
29420         * docs/gst/gstreamer-docs.sgml:
29421         * docs/gst/gstreamer-sections.txt:
29422         * docs/gst/gstreamer.types:
29423         * docs/gst/tmpl/gstbasesink.sgml:
29424         * docs/gst/tmpl/gstbasesrc.sgml:
29425         * docs/gst/tmpl/gstbasetransform.sgml:
29426         * docs/gst/tmpl/gstelement.sgml:
29427         * docs/gst/tmpl/gstiterator.sgml:
29428         * gst/base/gstbasesrc.c:
29429         * gst/base/gstbasesrc.h:
29430         * gst/base/gstbasetransform.h:
29431         * gst/gstelement.c:
29432         * gst/gstiterator.h:
29433           adding basetransform and iterator docs
29434
29435 2005-06-27  Andy Wingo  <wingo@pobox.com>
29436
29437         * docs/design/part-activation.txt: Notes on how activation should
29438         work -- not quite implemented yet.
29439
29440 2005-06-25  Wim Taymans  <wim@fluendo.com>
29441
29442         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29443         At least get the chain function correct, needs more
29444         fixing.
29445
29446 2005-06-25  Wim Taymans  <wim@fluendo.com>
29447
29448         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29449         (gst_basesink_handle_object), (gst_basesink_event),
29450         (gst_basesink_do_sync), (gst_basesink_handle_event),
29451         (gst_basesink_change_state):
29452         * gst/gsttask.h:
29453         Right, two problems here: ghostpads don't take locks and
29454         glib _rec_mutex_lock_full() with depth==0 still locks.
29455         Catch illegal locking and g_warn them.
29456
29457 2005-06-25  Wim Taymans  <wim@fluendo.com>
29458
29459         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29460         Have to check for completion now...
29461
29462 2005-06-25  Wim Taymans  <wim@fluendo.com>
29463
29464         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29465         (gst_basesink_handle_object), (gst_basesink_event),
29466         (gst_basesink_do_sync), (gst_basesink_handle_event),
29467         (gst_basesink_change_state):
29468         * gst/gstpad.h:
29469         Unlock STREAM_LOCK whatever the recursion was.
29470
29471 2005-06-25  Wim Taymans  <wim@fluendo.com>
29472
29473         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29474         (gst_basesink_preroll_queue_empty),
29475         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29476         (gst_basesink_event), (gst_basesink_do_sync),
29477         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29478         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29479         (gst_basesink_change_state):
29480         Reworked the base sink, handle event and buffer serialisation
29481         correctly and removed possible deadlock.
29482         Handle EOS correctly.
29483
29484 2005-06-25  Wim Taymans  <wim@fluendo.com>
29485
29486         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29487         (gst_pipeline_change_state):
29488         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29489         Allow elements to post EOS in the state change function.
29490         Fix up -launch, make it exit the poll loop when the
29491         pipeline actually changed state.
29492         Fix up warning parsing in -launch.
29493
29494 2005-06-25  Wim Taymans  <wim@fluendo.com>
29495
29496         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29497         (gst_tee_sink_activate):
29498         Core takes STREAM_LOCK for us now.
29499
29500 2005-06-25  Wim Taymans  <wim@fluendo.com>
29501
29502         * gst/gstelement.c: (gst_element_get_state_func),
29503         (gst_element_set_state):
29504         * gst/gstelement.h:
29505         * gst/gstmessage.c: (gst_message_parse_error),
29506         (gst_message_parse_warning):
29507         Keep track of current target state while performing a state
29508         change so that subclasses can do something interesting.
29509         Fix parsing of warning/error messages when GError is NULL.
29510
29511 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29512
29513         * docs/gst/Makefile.am:
29514         * docs/gst/gstreamer-docs.sgml:
29515         * docs/gst/gstreamer-sections.txt:
29516         * docs/gst/gstreamer.types:
29517         * docs/gst/tmpl/gstbasesink.sgml:
29518         * docs/gst/tmpl/gstbasesrc.sgml:
29519         * docs/gst/tmpl/gstbin.sgml:
29520         * docs/gst/tmpl/gstcompat.sgml:
29521         * docs/gst/tmpl/gstfakesink.sgml:
29522         * docs/gst/tmpl/gstfakesrc.sgml:
29523         * docs/gst/tmpl/gstfilesink.sgml:
29524         * docs/gst/tmpl/gstfilesrc.sgml:
29525         * docs/gst/tmpl/gstindex.sgml:
29526         * docs/manual/appendix-quotes.xml:
29527         * gst/base/gstbasesrc.h:
29528         * gst/elements/gstfakesrc.h:
29529         * gst/gstmessage.h:
29530           start pulling in base classes and elements in our docs
29531
29532 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29533
29534         * docs/gst/Makefile.am:
29535         * docs/libs/Makefile.am:
29536           fixed make distcheck with gtk-doc 1.3
29537
29538 2005-06-23  Wim Taymans  <wim@fluendo.com>
29539
29540         * gst/gstelement.c: (gst_element_get_state_func),
29541         (gst_element_set_state), (gst_element_change_state):
29542         When the state did not change, also report NO_PREROLL
29543         when it matters.
29544
29545 2005-06-23  Wim Taymans  <wim@fluendo.com>
29546
29547         * gst/gstpad.c: (gst_pad_event_default):
29548         * gst/gstqueue.c: (gst_queue_loop):
29549         No unsafe task pausing please.
29550
29551 2005-06-23  Wim Taymans  <wim@fluendo.com>
29552
29553         * gst/schedulers/threadscheduler.c:
29554         (gst_thread_scheduler_task_start),
29555         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29556         Ref the task before pushing it on the threadpool. This
29557         makes sure that we have a ref when the threadfunction is
29558         actually called.
29559
29560 2005-06-23  Andy Wingo  <wingo@pobox.com>
29561
29562         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29563         offset is greater than the file's size.
29564
29565         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29566         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29567         * gst/gstobject.c (gst_object_class_init): Make the class lock
29568         recursive. Wim won't let me drop deep_notify. Decodebin works
29569         again, whoopdy doo.
29570
29571         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29572         internal pad, and hacks accordingly. Doesn't do it on the target
29573         pad because we change its caps. Probably catches all cases of
29574         interest tho.
29575         (gst_ghost_pad_set_property): Connect to notify::caps as
29576         appropritate.
29577
29578         * tests/network-clock.scm (plot-simulation): Pipe data to the
29579         elite python skript.
29580
29581         * tests/network-clock-utils.scm (define-parameter): New macro,
29582         defines a parameter that can be set via the command line.
29583         (set-parameter!, parse-parameter-arguments): Command line args
29584         parser.
29585
29586         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29587         stdin.
29588
29589 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29590
29591         * gst/elements/gsttypefindelement.c:
29592         (gst_type_find_element_handle_event):
29593           Don't restart typefinding on a discont.
29594         * gst/gstelement.c: (gst_element_set_state):
29595           Debug spelling fix.
29596         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29597           Allow changing mode of an active pad.
29598           Debug output fixes.
29599         * gst/registries/gstlibxmlregistry.c: (load_feature):
29600           Don't cast a static pad template to a normal pad template.
29601
29602 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29603
29604         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29605         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29606           remove gst_strtoll completely, since it didn't actually do
29607           anything more than what g_ascii_strtoull already does.
29608           check for range errors when deserializing
29609           do a cast for the unsigned cases; but further fixing needs
29610           a decision on what the interpretation of "(int)" and
29611           deserialization should be for values that fall outside the
29612           type's boundaries (ie, refuse, or interpret as casting)
29613
29614 2005-06-23  Wim Taymans  <wim@fluendo.com>
29615
29616         * check/Makefile.am:
29617         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29618         * docs/design/part-live-source.txt:
29619         * docs/design/part-states.txt:
29620         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29621         (gst_basesrc_set_live), (gst_basesrc_is_live),
29622         (gst_basesrc_get_range), (gst_basesrc_activate),
29623         (gst_basesrc_change_state):
29624         * gst/base/gstbasesrc.h:
29625         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29626         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29627         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29628         * gst/gstelement.c: (gst_element_get_state_func),
29629         (gst_element_set_state):
29630         * gst/gstelement.h:
29631         * gst/gsttypes.h:
29632         * tools/gst-launch.c: (event_loop), (main):
29633         Added support for live sources and other elements that
29634         cannot do preroll.
29635         Updated design docs, added live-source design doc.
29636         Implemented live source functionality in basesrc
29637         Fix error condition in _bin_get_state()
29638         Implement live source handling in -launch.
29639         Added check for live sources.
29640         Fixed case in GstBin where elements were changed state
29641         multiple times.
29642
29643
29644 2005-06-23  Andy Wingo  <wingo@pobox.com>
29645
29646         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29647         borken refcounting.
29648
29649         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29650         gst_caps_replace takes care of this for us.
29651
29652         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29653         gst_pad_set_caps on the target, not just its setcaps() function.
29654
29655         * tests/network-clock.scm: 
29656         * tests/network-clock-utils.scm: A network clock simulator.
29657         Something of an algorithmic testbed before doing something in C.
29658
29659 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29660
29661         * check/Makefile.am:
29662         * check/gst/capslist.h:
29663           copy over from 0.8, and add two with bitmasks specified with
29664           (int) 0xFF...
29665         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29666           add test to parse everything from capslist.h
29667         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29668         (main):
29669           add test for structure deserialization
29670         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29671           add tests for deserialization of strings to int types
29672         * gst/gststructure.c: (gst_structure_nth_field_name):
29673         * gst/gststructure.h:
29674           add a way to get the name of a field referenced by index
29675         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29676           instead of checking if the resulting long long lies between
29677           min and max, we check if the long long would fit into
29678           a number of bytes for the final type.
29679           This fixes cases where a string represents 2^32 - 1, which
29680           when cast to int would be the (valid) -1, but is bigger than
29681           G_MAXINT
29682
29683 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29684
29685         * gst/parse/grammar.y:
29686           add a log line for type deserialization
29687
29688 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29689
29690         * check/gst/gstvalue.c: (START_TEST):
29691         * gst/gstvalue.c: (gst_value_deserialize):
29692           return long long, not int, so gint64 deserialization actually
29693           works.  Is there any flag that makes the compiler check this ?
29694           Fixes #308559
29695
29696 2005-06-22  Wim Taymans  <wim@fluendo.com>
29697
29698         * gst/gstbuffer.h:
29699         Added convenience macros for setting buffers in GValue.
29700
29701 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29702
29703         * check/gst/.cvsignore:
29704         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29705           add a test deserializing int64, and comment part out because
29706           it fails, yay !
29707
29708 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29709
29710         * check/Makefile.am:
29711         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29712         * testsuite/Makefile.am:
29713         * testsuite/caps/Makefile.am:
29714         * testsuite/caps/value_serialize.c:
29715         * testsuite/test_gst_init.c:
29716           move a value_serialize test over
29717
29718 2005-06-20  Wim Taymans  <wim@fluendo.com>
29719
29720         * gst/gstpad.c:
29721         Small doc updates.
29722         
29723         * gst/gstvalue.c: (gst_value_compare_buffer),
29724         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29725         (gst_value_compare_flags), (gst_value_serialize_flags),
29726         (gst_value_deserialize_flags), (_gst_value_initialize):
29727         Fix serialisation of buffers, they are not boxed types anymore
29728
29729 2005-06-20  Wim Taymans  <wim@fluendo.com>
29730
29731         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29732         Testcase to show error in buffer-on-caps serialisation.
29733
29734 2005-06-20  Andy Wingo  <wingo@pobox.com>
29735
29736         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29737         will be adding to later.
29738
29739         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29740         if its socks fill with rocks.
29741         (gst_system_clock_obtain): Set the name on object construction.
29742         Avoid double-checked locking.
29743
29744 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29745
29746         * gst/gsturi.c: (gst_element_make_from_uri):
29747           Fix potential endless loop.
29748
29749 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29750
29751         * check/Makefile.am:
29752           add gsttag
29753         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29754         (main):
29755           move over from testsuite dir and clean up
29756         * configure.ac:
29757         * gst/gsttag.c:
29758         * testsuite/Makefile.am:
29759         * testsuite/tags/.cvsignore:
29760         * testsuite/tags/Makefile.am:
29761         * testsuite/tags/merge.c:
29762           remove testsuite/tags
29763
29764 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29765
29766         * docs/gst/gstreamer-sections.txt:
29767         * docs/gst/tmpl/gstenumtypes.sgml:
29768         * win32/gstenumtypes.c:
29769           clean up documentation build a little
29770
29771 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29772
29773         * check/gstcheck.h:
29774           add macros for checking refcounts on objects and caps
29775         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29776           add some more unit tests
29777         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29778         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29779           fix leaked refcounts (I hope :)) so unittest works
29780         * gst/gstpad.h:
29781           whitespace removal
29782
29783 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29784
29785         * configure.ac: back to HEAD
29786
29787 === release 0.9.1 ===
29788
29789 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29790
29791         * NEWS:
29792         * RELEASE:
29793           updated
29794
29795 2005-06-17  Andy Wingo  <wingo@pobox.com>
29796
29797         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29798         assert; it's always possible that the pad gets deactivated in
29799         between the checks in gstpad.c and the implementation. Rely on
29800         finish_preroll() to return a FLUSHING or similar instead of on the
29801         assert.
29802         
29803         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29804         clock and post an EOS message if we come out of finish_preroll in
29805         the playing state.
29806
29807 2005-06-16  David Schleef  <ds@schleef.org>
29808
29809         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29810         (gst_capsfilter_set_property): Allow NULL as possible value
29811         for filter_caps property, indicating GST_CAPS_ANY.
29812
29813 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29814
29815         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29816           fix debug output
29817         * gst/schedulers/Makefile.am:
29818           use libgst prefix
29819         * gstreamer.spec.in:
29820           fix spec for it
29821
29822 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29823
29824         * gstreamer.spec.in:
29825           clean up
29826
29827 2005-06-08  Andy Wingo  <wingo@pobox.com>
29828
29829         * gst/gstutils.c: RPAD fixes all around.
29830         (gst_element_link_pads): Refcounting fixes.
29831
29832         * tools/gst-inspect.c:
29833         * tools/gst-xmlinspect.c:
29834         * parse/grammar.y:
29835         * gst/base/gsttypefindhelper.c:
29836         * gst/base/gstbasesink.c:
29837         * gst/gstqueue.c: RPAD fixes.
29838
29839         * gst/gstghostpad.h:
29840         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29841         pads. The tricky thing is they provide both source and sink
29842         interfaces, since they proxy the internal pad for the external
29843         pad, and vice versa. Implement with lower-level ProxyPad objects,
29844         with the interior proxy pad as a child of the exterior ghost pad.
29845         Should write a doc on this.
29846         
29847         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29848         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29849         gst_object API.
29850         
29851         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29852         pads are real pads. No ghost pads in this file. Not documenting
29853         the myriad s/RPAD/PAD/ and REALIZE fixes.
29854         (gst_pad_class_init): Add properties for "direction" and
29855         "template". Both are construct-only, so they can't change during
29856         the life of the pad. Fixes properly deriving from GstPad.
29857         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29858         derived objects, just set properties when creating the objects via
29859         g_object_new.
29860         (gst_pad_get_parent): Implement as a function, return NULL if the
29861         parent is not an element.
29862         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29863         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29864         
29865         * gst/gstobject.c (gst_object_class_init): Make name a construct
29866         property. Don't set it in the object init.
29867
29868         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29869         with UNKNOWN direction.
29870         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29871         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29872         (gst_element_remove_pad): Remove ghost-pad special cases.
29873         (gst_element_pads_activate): Remove rpad cruft.
29874
29875         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29876         catch the pad's-parent-not-an-element case.
29877
29878         * gst/gst.h: Include gstghostpad.h.
29879
29880         * gst/gst.c (init_post): No more real, ghost pads.
29881
29882         * gst/Makefile.am: Add gstghostpad.[ch].
29883
29884         * check/Makefile.am:
29885         * check/gst/gstbin.c:
29886         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29887         into a bin creates ghost pads, and that the refcounts are right.
29888         Partly moved from gstbin.c.
29889
29890 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29891
29892         * check/gst-libs/.cvsignore:
29893         * check/gst/.cvsignore:
29894         * check/pipelines/.cvsignore:
29895           ignore more
29896         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29897         (START_TEST), (cleanup_suite), (main):
29898           add some tests related to cleanup after running pipelines
29899
29900 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29901
29902         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29903           add a testsuite for GstBuffer
29904
29905 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29906
29907         * gst/gstminiobject.h:
29908           add defines for accessing the refcount
29909
29910 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29911
29912         * Makefile.am: added support for html unit test coverage reports
29913
29914 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29915
29916         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29917           Free existing caps if the capsfilter changes. Add a FIXME about
29918           setting those caps on the pads.
29919
29920         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29921           Before adding a ghost pad to a parent bin, check that there isn't
29922           already one for the element on the bin. Prevents infinite recursion
29923           when using decodebin in parse pipelines. Andy says he'll rewrite the
29924           way this works anyway, so ignore the hack.
29925
29926 2005-06-02  Andy Wingo  <wingo@pobox.com>
29927
29928         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29929         file size, pass it on to the type find helper.
29930
29931         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29932         segment_start and segment_end properly according to the seek
29933         method. Segment_end is still a bit flaky because offset can be
29934         negative for CUR and END cases, but it takes -1 as an "unset"
29935         value.
29936
29937 2005-06-02  Wim Taymans  <wim@fluendo.com>
29938
29939         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29940         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29941         (gst_basesink_activate):
29942         * gst/base/gstbasesink.h:
29943         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29944         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29945         (gst_pad_query), (gst_pad_start_task):
29946         * gst/gstpad.h:
29947         * gst/gstqueue.c: (gst_queue_bufferalloc),
29948         (gst_queue_handle_sink_event), (gst_queue_chain):
29949         Bufferalloc: return GstFlowReturn to more accuratly report
29950         why allocation failed.
29951
29952 2005-06-02  Wim Taymans  <wim@fluendo.com>
29953
29954         * gst/gstpipeline.c: (gst_pipeline_send_event):
29955         Take snapshot of state without blocking.
29956
29957 2005-06-02  Wim Taymans  <wim@fluendo.com>
29958
29959         * docs/design/part-TODO.txt:
29960         * docs/design/part-caps.txt:
29961         * docs/design/part-clocks.txt:
29962         * docs/design/part-negotiation.txt:
29963         * docs/design/part-preroll.txt:
29964         Small doc updates 
29965
29966 2005-05-30  Wim Taymans  <wim@fluendo.com>
29967
29968         * gst/elements/gstidentity.c: (gst_identity_event),
29969         (gst_identity_transform), (gst_identity_get_property):
29970         Protect last_message property as it is accessed from
29971         multiple threads.
29972
29973 2005-05-30  Wim Taymans  <wim@fluendo.com>
29974
29975         * gst/gstelement.c: (gst_element_init),
29976         (gst_element_pads_activate), (gst_element_change_state):
29977         Slicker pad activation code.
29978
29979 2005-05-30  Wim Taymans  <wim@fluendo.com>
29980
29981         * gst/Makefile.am:
29982         * gst/gstelement.h:
29983         * gst/gstelementfactory.h:
29984         * gst/gsttypes.h:
29985         Move elementfactory methods to separate .h file.
29986
29987 2005-05-30  Wim Taymans  <wim@fluendo.com>
29988
29989         * docs/design/part-overview.txt:
29990         * gst/gstsystemclock.h:
29991         Small typo fixes, doc updates.
29992
29993 2005-05-30  Wim Taymans  <wim@fluendo.com>
29994
29995         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29996         (init_popt_callback):
29997         Remove cpu-opt flag.
29998
29999 2005-05-30  Wim Taymans  <wim@fluendo.com>
30000
30001         * gst/gstbuffer.c: (gst_subbuffer_finalize),
30002         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
30003         * gst/gstbuffer.h:
30004         Avoid typechecking in places where not needed.
30005         Added accessor for malloc_data.
30006
30007 2005-05-30  Wim Taymans  <wim@fluendo.com>
30008
30009         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
30010         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
30011         (gst_pad_configure_sink), (gst_pad_configure_src),
30012         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
30013         (gst_pad_start_task):
30014         Propagate errors from _set_caps() in configure_src/sink
30015         functions instead of returning TRUE.
30016         FLUSH events can travel up and downstream
30017
30018
30019 2005-05-30  Wim Taymans  <wim@fluendo.com>
30020
30021         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30022         (gst_basesink_activate):
30023         Handle EOS in preroll.
30024
30025 2005-05-30  Wim Taymans  <wim@fluendo.com>
30026
30027         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30028         (gst_queue_loop), (gst_queue_handle_src_event):
30029         Remove old pieces of code
30030         Flushing the queue in an upstream event is a very bad idea.
30031
30032 2005-05-26  Andy Wingo  <wingo@pobox.com>
30033
30034         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
30035         gst_value_set_mini_object so as to add a ref on the object (which
30036         will be removed when the value is unset).
30037
30038         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
30039         arg type in ::handoff.
30040
30041         * gst/gstelement.c (gst_element_change_state): Also deactivate
30042         pads in READY->NULL, just in case the element didn't make it to
30043         PAUSED. Wingo tested, Wim approved.
30044
30045 2005-05-26  Wim Taymans  <wim@fluendo.com>
30046
30047         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30048         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30049         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
30050         A flushing pad cannot be used to alloc_buffer from.
30051
30052 2005-05-26  Wim Taymans  <wim@fluendo.com>
30053
30054         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
30055         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
30056         (gst_bus_source_dispatch), (gst_bus_source_finalize),
30057         (gst_bus_create_watch), (gst_bus_add_watch_full):
30058         * gst/gstbus.h:
30059         Implement a real GSource and use g_main_context_wakeup() to
30060         signal new messages instead of the socketpair.
30061
30062 2005-05-25  Wim Taymans  <wim@fluendo.com>
30063
30064         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
30065         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
30066         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30067         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30068         (gst_pad_send_event), (gst_pad_start_task):
30069         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30070         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30071         (gst_queue_sink_activate), (gst_queue_src_activate),
30072         (gst_queue_change_state):
30073         * gst/gstqueue.h:
30074         Fix state changes for non sinks. We now change sinks, then elements
30075         with unconnected srcpads, then the rest.
30076         More efficient queue unlocking in flush and state changes.
30077         Set the pad activate mode even if it does not have an activate
30078         function.
30079
30080 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30081
30082         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30083           Don't go in pull mode for non-seekable sources.
30084         * gst/elements/gsttypefindelement.h:
30085         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30086         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30087         (free_entry), (stop_typefinding),
30088         (gst_type_find_element_handle_event), (find_peek),
30089         (gst_type_find_element_chain), (do_pull_typefind),
30090         (gst_type_find_element_change_state):
30091           Allow typefinding (w/o seeking) in push-mode, simplified version
30092           of what was in 0.8.
30093         * gst/gstutils.c: (gst_buffer_join):
30094         * gst/gstutils.h:
30095           gst_buffer_join() from 0.8.
30096
30097 2005-05-25  Wim Taymans  <wim@fluendo.com>
30098
30099         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30100         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30101         (gst_pad_send_event), (gst_pad_start_task):
30102         Disable attempt at mode switching until it is figured out.
30103
30104 2005-05-25  Wim Taymans  <wim@fluendo.com>
30105
30106         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30107         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30108         (gst_basesink_finish_preroll), (gst_basesink_chain),
30109         (gst_basesink_loop), (gst_basesink_activate),
30110         (gst_basesink_change_state):
30111         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30112         (gst_basesrc_get_range), (gst_basesrc_loop),
30113         (gst_basesrc_activate):
30114         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30115         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30116         (gst_real_pad_init), (gst_real_pad_set_property),
30117         (gst_real_pad_get_property), (gst_pad_set_active),
30118         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30119         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30120         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30121         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30122         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30123         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30124         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30125         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30126         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30127         (gst_pad_stop_task):
30128         * gst/gstpad.h:
30129         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30130         (gst_queue_loop), (gst_queue_src_activate):
30131         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30132         (gst_task_get_state):
30133         * gst/gsttask.h:
30134         * gst/schedulers/threadscheduler.c:
30135         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30136         Implement gst_pad_pause/start/stop_task(), take STREAM lock
30137         in task function.
30138         Remove ACTIVE pad flag, use FLUSHING everywhere
30139         Added _pad_chain(), _pad_get_range() to call chain/getrange 
30140         functions.
30141         Add locks around IS_FLUSHING when reading.
30142         Take STREAM lock in chain(), get_range() functions so plugins
30143         don't need to take it anymore.
30144         
30145
30146
30147 2005-05-25  Wim Taymans  <wim@fluendo.com>
30148
30149         * tools/gst-launch.c: (event_loop):
30150         Unref message after using its contents instead of
30151         before.
30152
30153 2005-05-24  Wim Taymans  <wim@fluendo.com>
30154
30155         * docs/design/draft-ghostpads.txt:
30156         * docs/design/draft-push-pull.txt:
30157         * docs/design/draft-query.txt:
30158         * docs/design/part-overview.txt:
30159         Docs updates, added general overview doc.
30160
30161 2005-05-21  David Schleef  <ds@schleef.org>
30162
30163         * docs/gst/tmpl/old/GstBin.sgml:
30164         * docs/gst/tmpl/old/GstBuffer.sgml:
30165         * docs/gst/tmpl/old/GstCaps.sgml:
30166         * docs/gst/tmpl/old/GstClock.sgml:
30167         * docs/gst/tmpl/old/GstCompat.sgml:
30168         * docs/gst/tmpl/old/GstData.sgml:
30169         * docs/gst/tmpl/old/GstElement.sgml:
30170         * docs/gst/tmpl/old/GstEvent.sgml:
30171         * docs/gst/tmpl/old/GstIndex.sgml:
30172         * docs/gst/tmpl/old/GstStructure.sgml:
30173         * docs/gst/tmpl/old/GstTag.sgml:
30174         * docs/gst/tmpl/old/cothreads.sgml:
30175         * docs/gst/tmpl/old/cothreads_compat.sgml:
30176         * docs/gst/tmpl/old/gettext.sgml:
30177         * docs/gst/tmpl/old/gobject2gtk.sgml:
30178         * docs/gst/tmpl/old/grammar.tab.sgml:
30179         * docs/gst/tmpl/old/gst-i18n-app.sgml:
30180         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30181         * docs/gst/tmpl/old/gst_private.sgml:
30182         * docs/gst/tmpl/old/gstaggregator.sgml:
30183         * docs/gst/tmpl/old/gstarch.sgml:
30184         * docs/gst/tmpl/old/gstatomic_impl.sgml:
30185         * docs/gst/tmpl/old/gstbufferstore.sgml:
30186         * docs/gst/tmpl/old/gstdata_private.sgml:
30187         * docs/gst/tmpl/old/gstdisksink.sgml:
30188         * docs/gst/tmpl/old/gstdisksrc.sgml:
30189         * docs/gst/tmpl/old/gstelementfactory.sgml:
30190         * docs/gst/tmpl/old/gstextratypes.sgml:
30191         * docs/gst/tmpl/old/gstfakesink.sgml:
30192         * docs/gst/tmpl/old/gstfakesrc.sgml:
30193         * docs/gst/tmpl/old/gstfdsink.sgml:
30194         * docs/gst/tmpl/old/gstfdsrc.sgml:
30195         * docs/gst/tmpl/old/gstfilesink.sgml:
30196         * docs/gst/tmpl/old/gstfilesrc.sgml:
30197         * docs/gst/tmpl/old/gsthttpsrc.sgml:
30198         * docs/gst/tmpl/old/gstidentity.sgml:
30199         * docs/gst/tmpl/old/gstindexfactory.sgml:
30200         * docs/gst/tmpl/old/gstmarshal.sgml:
30201         * docs/gst/tmpl/old/gstmd5sink.sgml:
30202         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30203         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30204         * docs/gst/tmpl/old/gstpadtemplate.sgml:
30205         * docs/gst/tmpl/old/gstpipefilter.sgml:
30206         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30207         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30208         * docs/gst/tmpl/old/gstshaper.sgml:
30209         * docs/gst/tmpl/old/gstspider.sgml:
30210         * docs/gst/tmpl/old/gstspideridentity.sgml:
30211         * docs/gst/tmpl/old/gststatistics.sgml:
30212         * docs/gst/tmpl/old/gsttee.sgml:
30213         * docs/gst/tmpl/old/gsttimecache.sgml:
30214         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30215         * docs/gst/tmpl/old/gstxmlregistry.sgml:
30216         * docs/gst/tmpl/old/gthread-cothreads.sgml:
30217         * docs/gst/tmpl/old/types.sgml:
30218           I didn't intend to add these or check them in.
30219
30220 2005-05-19  David Schleef  <ds@schleef.org>
30221
30222         * configure.ac: Use -no-common everywhere.  In a sane world, it
30223           would be the default in libtool, because without it, you can't
30224           build DLLs on Windows.
30225         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30226         * docs/gst/gstreamer-sections.txt:
30227         * docs/gst/tmpl/gstcpu.sgml:
30228         * docs/gst/tmpl/gstdata.sgml:
30229         * docs/gst/tmpl/gstthread.sgml:
30230
30231 2005-05-19  David Schleef  <ds@schleef.org>
30232
30233         * gst/gstminiobject.c: (gst_value_set_mini_object),
30234         (gst_value_take_mini_object), (gst_value_get_mini_object):
30235         * gst/gstminiobject.h: Add GValue set/get functions.
30236
30237 2005-05-19  Wim Taymans  <wim@fluendo.com>
30238
30239         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30240         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30241         (gst_subbuffer_init), (gst_buffer_is_span_fast):
30242         * gst/gstbuffer.h:
30243         * gst/gstbus.c: (gst_bus_post):
30244         * gst/gstelement.c: (gst_element_get_random_pad):
30245         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30246         Make subbufer unref the parent in finalize.
30247         some more debugging info.
30248
30249
30250 2005-05-19  Wim Taymans  <wim@fluendo.com>
30251
30252         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30253         (gst_basesink_init), (gst_basesink_finalize),
30254         (gst_basesink_activate), (gst_basesink_change_state):
30255         Don't free preroll queue too early.
30256
30257 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30258
30259         * gst/Makefile.am:
30260         * gst/ROADMAP:
30261           Hi, I'm outdated. Please shoot me.
30262
30263 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30264
30265         * gst/gstpipeline.c: (gst_pipeline_send_event):
30266           Do not access variables after they have been deleted.
30267
30268 2005-05-19  Wim Taymans  <wim@fluendo.com>
30269
30270         * tools/gst-inspect.c: (print_plugin_features):
30271         A plugin feature does unfortunatly not use the
30272         object name yet...
30273
30274 2005-05-18  Wim Taymans  <wim@fluendo.com>
30275
30276         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30277         Port _span() functions to new subbuffers.
30278
30279 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30280
30281         * gst/gstbin.c: (gst_bin_add_func):
30282           Fix clock settery in bins when adding kids after the clock has
30283           been selected.
30284
30285 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30286
30287         * gst/elements/gstidentity.c: (gst_identity_class_init):
30288           Workaround until signals support GstMiniObject.
30289
30290 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
30291
30292         * gst/gstbuffer.c:
30293         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30294
30295 2005-05-18  Wim Taymans  <wim@fluendo.com>
30296
30297         * gst/base/Makefile.am:
30298         * gst/base/gstadapter.c: (gst_adapter_base_init),
30299         (gst_adapter_class_init), (gst_adapter_init),
30300         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30301         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30302         (gst_adapter_flush), (gst_adapter_available),
30303         (gst_adapter_available_fast):
30304         * gst/base/gstadapter.h:
30305         Ported and added adapter to the base classes.
30306
30307 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30308
30309         * gst/gst.c:
30310         * gst/gstmessage.c:
30311           Make sure the class is reffed/unreffed once before threads can be
30312           used.  Fixes #304551.
30313
30314 2005-05-17  Wim Taymans  <wim@fluendo.com>
30315
30316         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30317         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30318         * gst/gstminiobject.c: (gst_mini_object_get_type),
30319         (gst_mini_object_free):
30320         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30321         (gst_pad_push), (gst_pad_push_event):
30322         * gst/gstqueue.c: (gst_queue_change_state):
30323         Don't queue buffers in basesink when we are flushing.
30324         Unref buffer when flushing in basesink.
30325         Flush queue when going to READY
30326         Unref buffer when _push() returns an error.
30327         Don't free MiniObject instance when refcount is incremented
30328         in _finalize() so that we can recover objects.
30329
30330 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30331
30332         * docs/manual/advanced-schedulers.xml:
30333         * docs/manual/appendix-checklist.xml:
30334         * docs/pwg/advanced-clock.xml:
30335         * docs/pwg/advanced-interfaces.xml:
30336         * docs/pwg/advanced-request.xml:
30337         * docs/pwg/advanced-types.xml:
30338         * docs/pwg/intro-preface.xml:
30339         * examples/plugins/example.c: (gst_example_get_type),
30340         (gst_example_class_init), (gst_example_chain),
30341         (gst_example_set_property), (gst_example_get_property),
30342         (gst_example_change_state), (plugin_init):
30343         * examples/plugins/example.h:
30344           small doc fixes
30345
30346 2005-05-17  Wim Taymans  <wim@fluendo.com>
30347
30348         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30349         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30350         * gst/gstqueue.c: (gst_queue_change_state):
30351         Clear queue when going to READY.
30352         Remove IN_SETCAPS flag too.
30353
30354 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30355
30356         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30357           Remove implicit cast from gboolean to GstElementStateReturn;
30358           make sure we still return failure in paused => ready case if
30359           the parent class fails to change state and our own stop 
30360           vfunc succeeds.
30361
30362 2005-05-17  Wim Taymans  <wim@fluendo.com>
30363
30364         * tools/gst-launch.c: (event_loop):
30365         Message was unreffed too soon.
30366
30367 2005-05-16  Andy Wingo  <wingo@pobox.com>
30368
30369         * gst/gstbin.c (sink_iterator_filter): Err... um...
30370
30371         * check/gst/gstbin.c (test_ghost_pads): New test for the
30372         ghosting-if-elements-not-in-same-bin behavior.
30373
30374 2005-05-16  David Schleef  <ds@schleef.org>
30375
30376         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30377         accessing refcount directly.
30378
30379 2005-05-15  David Schleef  <ds@schleef.org>
30380
30381         * check/Makefile.am: remove GstData checks
30382         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30383         * gst/Makefile.am: add miniobject, remove data
30384         * gst/gst.h: add miniobject, remove data
30385         * gst/gstdata.c: remove
30386         * gst/gstdata.h: remove
30387         * gst/gstdata_private.h: remove
30388         * gst/gsttypes.h: remove GstEvent and GstMessage
30389         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30390         * gst/gstmarshal.list: change BOXED -> OBJECT
30391
30392         Implement GstMiniObject.
30393         * gst/gstminiobject.c:
30394         * gst/gstminiobject.h:
30395
30396         Modify to be subclasses of GstMiniObject.
30397         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30398         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30399         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30400         (gst_subbuffer_get_type), (gst_subbuffer_init),
30401         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30402         (gst_buffer_span):
30403         * gst/gstbuffer.h:
30404         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30405         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30406         (_gst_event_copy), (gst_event_new):
30407         * gst/gstevent.h:
30408         * gst/gstmessage.c: (_gst_message_initialize),
30409         (gst_message_get_type), (gst_message_class_init),
30410         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30411         (gst_message_new), (gst_message_new_error),
30412         (gst_message_new_warning), (gst_message_new_tag),
30413         (gst_message_new_state_changed), (gst_message_new_application):
30414         * gst/gstmessage.h:
30415         * gst/gstprobe.c: (gst_probe_perform),
30416         (gst_probe_dispatcher_dispatch):
30417         * gst/gstprobe.h:
30418         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30419         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30420         (_gst_query_copy), (gst_query_new):
30421
30422         Update elements for GstData -> GstMiniObject changes
30423         * gst/gstquery.h:
30424         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30425         (gst_queue_chain), (gst_queue_loop):
30426         * gst/elements/gstbufferstore.c:
30427         (gst_buffer_store_add_buffer_func),
30428         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30429         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30430         (gst_fakesink_render):
30431         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30432         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30433         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30434         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30435         (gst_filesrc_create_read):
30436         * gst/elements/gstidentity.c: (gst_identity_class_init):
30437         * gst/elements/gsttypefindelement.c:
30438         (gst_type_find_element_src_event), (free_entry_buffers),
30439         (gst_type_find_element_handle_event):
30440         * libs/gst/dataprotocol/dataprotocol.c:
30441         (gst_dp_header_from_buffer):
30442         * libs/gst/dataprotocol/dataprotocol.h:
30443         * libs/gst/dataprotocol/dp-private.h:
30444
30445 2005-05-15  David Schleef  <ds@schleef.org>
30446
30447         * gst/elements/gstelements.c: Don't include headers that were
30448         just removed.
30449
30450 2005-05-15  David Schleef  <ds@schleef.org>
30451
30452         * gst/elements/Makefile.am: Remove some elements that don't
30453         need to be in the core (or even exist at all).
30454         * gst/elements/gstaggregator.c:
30455         * gst/elements/gstaggregator.h:
30456         * gst/elements/gstmd5sink.c:
30457         * gst/elements/gstmd5sink.h:
30458         * gst/elements/gstmultifilesrc.c:
30459         * gst/elements/gstmultifilesrc.h:
30460         * gst/elements/gstpipefilter.c:
30461         * gst/elements/gstpipefilter.h:
30462         * gst/elements/gstshaper.c:
30463         * gst/elements/gstshaper.h:
30464         * gst/elements/gststatistics.c:
30465         * gst/elements/gststatistics.h:
30466         * po/POTFILES.in: Remove above files.
30467
30468 2005-05-14  Andy Wingo  <wingo@pobox.com>
30469
30470         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30471         so as to get the refs right.
30472         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30473         unreffing objects that don't pass the filter.
30474
30475         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30476         gst_element_set_bus.
30477         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30478         normal cases, this will destroy the bus.
30479
30480         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30481         object.
30482
30483         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30484         has no sinks.
30485
30486 2005-05-13  Andy Wingo  <wingo@pobox.com>
30487
30488         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30489         gst_pad_link, call pad_link_maybe_ghosting,
30490         (pad_link_maybe_ghosting): Links pads, making sure that the
30491         elements being linked are in the same bin.
30492         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30493         Helpers for pad_link_maybe_ghosting.
30494
30495 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30496
30497         * configure.ac:
30498           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30499
30500 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30501
30502         * docs/design/part-element-source.txt:
30503           Mention GstPushSrc
30504
30505 2005-05-12  Wim Taymans  <wim@fluendo.com>
30506
30507         * gst/base/gstbasesink.c: (gst_basesink_init),
30508         (gst_basesink_activate):
30509         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30510         (gst_basesrc_is_seekable):
30511         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30512         (bin_element_is_sink), (gst_bin_change_state):
30513         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30514         * gst/gstelement.h:
30515         Identify sinks by their flag to avoid overly complicated
30516         checks (fow now).
30517         Do state changes even for elements not reachable from the
30518         sinks.
30519         BaseSink is a sink now :)
30520         Some more debugging info in the basesrc.
30521
30522
30523 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30524
30525         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30526           Implement _query on a bin, similar to _send_event.
30527
30528 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30529
30530         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30531           Discont event offset format should be GST_FORMAT_BYTES,
30532           not GST_FORMAT_TIME.
30533
30534 2005-05-12  Wim Taymans  <wim@fluendo.com>
30535
30536         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30537         Same fix as Ronald's but without the signal. 
30538
30539 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30540
30541         * gst/gstutils.c: (gst_element_query_position):
30542           No, an element is not a pad.
30543
30544 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30545
30546         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30547         (gst_bin_get_state):
30548           If a child is removed from a bin while we remove the child from
30549           the bin and while we're retrieving its state, signal this to the
30550           get_state function so we abort the wait (instead of waiting for
30551           a timeout) and can immediately re-iterate over all other elements.
30552
30553 2005-05-12  Wim Taymans  <wim@fluendo.com>
30554
30555         * gst/base/Makefile.am:
30556         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30557         (gst_basesrc_start):
30558         * gst/base/gstbasesrc.h:
30559         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30560         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30561         (gst_pushsrc_init), (gst_pushsrc_create):
30562         * gst/base/gstpushsrc.h:
30563         Added is_seekable to BaseSrc
30564         Added simple PushSrc.
30565
30566 2005-05-11  Wim Taymans  <wim@fluendo.com>
30567
30568         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30569         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30570         (gst_element_link_pads), (gst_element_query_position),
30571         (gst_element_query_convert), (intersect_caps_func),
30572         (gst_pad_query_position), (gst_pad_query_convert):
30573         Fix refcounting in utils function.
30574         No point in trying to activate a pad when it's added, it could
30575         be added from the state change function and then we deadlock, the
30576         element has to decide what to do.
30577
30578 2005-05-10  Andy Wingo  <wingo@pobox.com>
30579
30580         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30581         *all* the arguments.
30582
30583         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30584         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30585         lock (according to the docs -- if this is wrong change the docs).
30586
30587         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30588         flush messages in the NULL state.
30589
30590         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30591         message immediately and return.
30592         (gst_bus_set_flushing): New function. If a bus is flushing, it
30593         flushes out any queued messages and immediately unrefs new
30594         messages. This is so when an element goes to NULL, all of the
30595         unhandled messages coming from it can be freed, and their
30596         references to the element dropped. In other words: message source
30597         ref considered harmful :P
30598
30599         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30600         we're finished with it.
30601
30602         * gst/gstmessage.c (gst_message_new_state_changed): 
30603
30604 2005-05-10  Wim Taymans  <wim@fluendo.com>
30605
30606         * gst/gstvalue.c: (gst_value_compare_flags),
30607         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30608         (_gst_value_initialize):
30609         Added flags serialize/deserialize/compare code.
30610
30611 2005-05-09  Andy Wingo  <wingo@pobox.com>
30612
30613         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30614         Intersect the peer's caps with our caps.
30615
30616 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30617
30618         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30619         * gst/elements/gsttypefindelement.c: (find_peek):
30620           Handle negative offsets better. Fixes decodebin.
30621
30622 2005-05-09  Wim Taymans  <wim@fluendo.com>
30623
30624         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30625         (gst_base_transform_event):
30626         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30627         Implement accept_caps.
30628         Fix silly lock/unlock mismatch in base class.
30629
30630 2005-05-09  Wim Taymans  <wim@fluendo.com>
30631
30632         * docs/design/draft-push-pull.txt:
30633         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30634         * gst/elements/gstfilesink.c: (gst_filesink_init),
30635         (gst_filesink_query):
30636         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30637         (gst_type_find_handle_src_query), (find_element_get_length):
30638         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30639         * gst/gstelement.h:
30640         * gst/gstmessage.c:
30641         * gst/gstmessage.h:
30642         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30643         (gst_real_pad_get_caps_unlocked),
30644         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30645         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30646         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30647         (gst_real_pad_dispose), (gst_real_pad_finalize),
30648         (gst_pad_load_and_link), (gst_pad_save_thyself),
30649         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30650         (gst_pad_check_pull_range), (gst_pad_pull_range),
30651         (gst_pad_template_get_type), (gst_pad_template_class_init),
30652         (gst_pad_template_init), (gst_pad_template_dispose),
30653         (name_is_valid), (gst_static_pad_template_get),
30654         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30655         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30656         (gst_pad_get_element_private), (gst_pad_start_task),
30657         (gst_pad_pause_task), (gst_pad_stop_task),
30658         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30659         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30660         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30661         (gst_ghost_pad_new):
30662         * gst/gstpad.h:
30663         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30664         (gst_query_new_position), (gst_query_set_position),
30665         (gst_query_parse_position), (gst_query_new_convert),
30666         (gst_query_set_convert), (gst_query_parse_convert):
30667         * gst/gstquery.h:
30668         * gst/gstqueryutils.c:
30669         * gst/gstqueryutils.h:
30670         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30671         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30672         (gst_queue_handle_src_query):
30673         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30674         (gst_element_query_position), (gst_element_query_convert),
30675         (intersect_caps_func), (gst_pad_query_position),
30676         (gst_pad_query_convert):
30677         * gst/gstutils.h:
30678         * tools/gst-inspect.c: (print_pad_info):
30679         * tools/gst-xmlinspect.c: (print_element_info):
30680         Remove old query functions. Ported old code.
30681         Added position/convert helper functions to gstutils.
30682         Reordered gstpad.c code, grouping relevant things.
30683         Remove gst_message_new(), always need to speficy a specific
30684         message.
30685
30686
30687 2005-05-09  Andy Wingo  <wingo@pobox.com>
30688
30689         * gst/gstiterator.h: Add some includes.
30690
30691         * gst/gstqueryutils.h: Include more headers.
30692
30693         * gst/gstpad.h:
30694         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30695         some uses of gst_pad_query.
30696
30697         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30698         NULL out parameters.
30699         (gst_query_new_position): New proc, allocates a new position
30700         query.
30701
30702         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30703         gstqueryutils.c to the build.
30704
30705         * gst/gststructure.c (gst_structure_set_valist): Implement with
30706         the generic G_VALUE_COLLECT.
30707         
30708 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30709
30710         * gst/Makefile.am: (gst_headers):
30711         Added gstqueryutils.h to the list of headers to install, that was
30712         a 'nachty' move wingo :)
30713
30714 2005-05-06  Andy Wingo  <wingo@pobox.com>
30715
30716         * gst/gstquery.h
30717         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30718         GstData, init a memchunk.
30719         (standard_definitions): Add a few query types, deprecate a few.
30720         (gst_query_get_type): New proc.
30721         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30722         implementation.
30723         (gst_query_new_application, gst_query_get_structure): New public
30724         procs.
30725
30726         * docs/design/draft-query.txt: Removed LINKS from the query types,
30727         because all the rest can be dispatched to other pads -- seemed
30728         ugly to have a query that couldn't be dispatched. internal_links
30729         is fine as a pad method.
30730
30731         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30732         in gstpad.c, but maintain binary compatibility for the moment.
30733         Will fix before 0.9 is out.
30734
30735         * gst/gstqueryutils.c: 
30736         * gst/gstqueryutils.h: New files, implement 3 methods for each
30737         query type: parse_query, parse_response, and set. Probably need an
30738         allocator as well.
30739
30740         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30741
30742         * gst/elements/gstfilesink.c (gst_filesink_query2):
30743         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30744         query_types, and formats methods.
30745
30746         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30747         (gst_pad_set_query2_function): New functions.
30748         (gst_real_pad_init): Set query2_default as the default query2
30749         function. Basically just dispatches to internally linked pads.
30750
30751         Needs review!
30752         
30753         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30754         without using the atomic operations. Only one thread can possibly
30755         be accessing the data at this point. Changed so as to avoid
30756         gst_atomic operations.
30757
30758 2005-05-06  Wim Taymans  <wim@fluendo.com>
30759
30760         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30761         Also set caps if we use the fallback buffer alloc.
30762
30763 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30764
30765         * docs/gst/Makefile.am:
30766         * docs/gst/gstreamer-docs.sgml:
30767         * docs/gst/gstreamer-sections.txt:
30768         * docs/gst/tmpl/gstatomic.sgml:
30769         * docs/gst/tmpl/gstmemchunk.sgml:
30770         * testsuite/elements/struct_i386.h:
30771         * win32/GStreamer.vcproj:
30772         * win32/Makefile:
30773           Purge GstAtomic stuff from docs and win32 makefiles as well
30774
30775 2005-05-06  Wim Taymans  <wim@fluendo.com>
30776
30777         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30778         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30779         * gst/gstpad.c: (gst_pad_peer_get_caps):
30780         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30781         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30782         (gst_queue_src_activate), (gst_queue_change_state):
30783         * gst/gstqueue.h:
30784         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30785         (intersect_caps_func):
30786         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30787         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30788         Some fixes for the peer_get_caps() change.
30789
30790 2005-05-06  Wim Taymans  <wim@fluendo.com>
30791
30792         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30793         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30794         (gst_basesink_activate):
30795         Actually do something with error codes returned from the push
30796         functions.
30797
30798 2005-05-06  Wim Taymans  <wim@fluendo.com>
30799
30800         * docs/design/part-element-sink.txt:
30801         * docs/design/part-element-source.txt:
30802         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30803         (gst_basesink_event), (gst_basesink_activate):
30804         * gst/base/gstbasesink.h:
30805         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30806         (gst_basesrc_activate):
30807         * gst/base/gstbasesrc.h:
30808         * gst/gstelement.c: (gst_element_pads_activate):
30809         Some more documentation.
30810         Fixed scheduling decision in _pads_activate().
30811
30812 2005-05-05  Andy Wingo  <wingo@pobox.com>
30813
30814         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30815         the test suite.
30816
30817 2005-05-05  Wim Taymans  <wim@fluendo.com>
30818
30819         * gst/base/Makefile.am:
30820         * gst/base/gstbasesink.h:
30821         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30822         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30823         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30824         (gst_collectpads_class_init), (gst_collectpads_init),
30825         (gst_collectpads_finalize), (gst_collectpads_new),
30826         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30827         (find_pad), (gst_collectpads_remove_pad),
30828         (gst_collectpads_is_active), (gst_collectpads_collect),
30829         (gst_collectpads_collect_range), (gst_collectpads_start),
30830         (gst_collectpads_stop), (gst_collectpads_peek),
30831         (gst_collectpads_pop), (gst_collectpads_available),
30832         (gst_collectpads_read), (gst_collectpads_flush),
30833         (gst_collectpads_chain):
30834         * gst/base/gstcollectpads.h:
30835         * gst/elements/Makefile.am:
30836         * gst/elements/gstelements.c:
30837         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30838         (gst_fakesink_get_times), (gst_fakesink_event),
30839         (gst_fakesink_preroll), (gst_fakesink_render):
30840         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30841         (gst_filesink_init), (gst_filesink_set_location),
30842         (gst_filesink_open_file), (gst_filesink_close_file),
30843         (gst_filesink_pad_query), (gst_filesink_event),
30844         (gst_filesink_render), (gst_filesink_change_state):
30845         * gst/elements/gstfilesink.h:
30846         Added object to help in making collect pad based elements.
30847         Ported filesink.
30848         Make event function in sink baseclass return gboolean.
30849
30850 2005-05-05  Wim Taymans  <wim@fluendo.com>
30851
30852         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30853         (gst_bin_get_by_name):
30854         * gst/gstbuffer.h:
30855         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30856         (gst_clock_finalize):
30857         * gst/gstdata.c: (gst_data_replace):
30858         * gst/gstdata.h:
30859         * gst/gstelement.c: (gst_element_request_pad),
30860         (gst_element_pads_activate):
30861         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30862         (gst_object_unref):
30863         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30864         (gst_pad_set_checkgetrange_function),
30865         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30866         (gst_pad_check_pull_range), (gst_pad_pull_range),
30867         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30868         (gst_pad_pause_task), (gst_pad_stop_task):
30869         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30870         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30871         Fix name lookup in GstBin.
30872         Added _data_replace() function and _buffer_replace()
30873         Use finalize method to clean up clock.
30874         Fix refcounting on request pads.
30875         Fix pad schedule mode error.
30876         Some more object refcounting debug info,
30877
30878
30879 2005-05-04  Andy Wingo <wingo@pobox.com>
30880
30881         * check/Makefile.am:
30882         * docs/gst/tmpl/gstatomic.sgml:
30883         * docs/gst/tmpl/gstplugin.sgml:
30884         * gst/base/gstbasesink.c: (gst_basesink_activate):
30885         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30886         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30887         (gst_basesrc_query), (gst_basesrc_set_property),
30888         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30889         (gst_basesrc_activate):
30890         * gst/base/gstbasesrc.h:
30891         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30892         (gst_base_transform_src_activate):
30893         * gst/elements/gstelements.c:
30894         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30895         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30896         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30897         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30898         (gst_type_find_element_checkgetrange),
30899         (gst_type_find_element_activate):
30900         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30901         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30902         (gst_caps_load_thyself):
30903         * gst/gstelement.c: (gst_element_pads_activate),
30904         (gst_element_save_thyself), (gst_element_restore_thyself):
30905         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30906         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30907         * gst/gstpad.h:
30908         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30909         (gst_xml_parse_file), (gst_xml_parse_memory),
30910         (gst_xml_get_element), (gst_xml_make_element):
30911         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30912         (_file_index_id_save_xml), (gst_file_index_commit):
30913         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30914         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30915         (load_paths):
30916         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30917         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30918         * tools/gst-complete.c: (main):
30919         * tools/gst-compprep.c: (main):
30920         * tools/gst-inspect.c: (print_element_properties_info):
30921         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30922         * tools/gst-xmlinspect.c: (print_element_properties):
30923         GCC 4 fixen.
30924         
30925 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30926
30927         * gst/gstplugin.c: (gst_plugin_check_module),
30928         (gst_plugin_check_file), (gst_plugin_load_file):
30929             apply patch from #172526 to make register work on MacOSX
30930
30931 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30932
30933         * docs/gst/tmpl/gstconfig.sgml:
30934         * gst/gstconfig.h.in:
30935           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30936         * testsuite/debug/printf_extension.c: (main):
30937           Do not use GST_PTR_FORMAT on pointers to types with
30938           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30939         * testsuite/elements/property.h:
30940           use correct printf format
30941
30942 2005-05-02  Wim Taymans  <wim@fluendo.com>
30943
30944         * docs/design/draft-push-pull.txt:
30945         * docs/design/draft-query.txt:
30946         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30947         (gst_basesrc_start):
30948         Added draft for new query API.
30949         Added draft for better selecting scheduling methods.
30950         Make basesrc ignore length if the subclass does not support
30951         it.
30952
30953 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30954
30955         * gst/Makefile.am:
30956           possible fixes for automake-1.5 - _LIBADD is reserved
30957
30958 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30959
30960         * docs/faq/Makefile.am:
30961         * docs/manual/Makefile.am:
30962         * docs/manuals.mak:
30963         * docs/pwg/Makefile.am:
30964         * gst/Makefile.am:
30965           possible fixes for automake-1.5
30966
30967 2005-04-28  Wim Taymans  <wim@fluendo.com>
30968
30969         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30970         (gst_basesink_pad_getcaps), (gst_basesink_init),
30971         (gst_basesink_do_sync):
30972         * gst/gstclock.c: (gst_clock_entry_new):
30973         * gst/gstevent.c: (gst_event_discont_get_value):
30974         * gst/gstpipeline.c: (pipeline_bus_handler),
30975         (gst_pipeline_change_state):
30976         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30977         Better debugging of clocking info.
30978         Allow NULL values when getting discont values.
30979
30980 2005-04-27  Wim Taymans  <wim@fluendo.com>
30981
30982         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30983         * check/gst/gstpad.c: (gst_pad_suite):
30984         Increase timeout for checks.
30985
30986 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30987
30988         * check/Makefile.am:
30989           fix the broken rule for cleanup.  Apparently this rule is
30990           only needed on FC2, so maybe this warrants further autotool
30991           inspection.
30992
30993 2005-04-26  Wim Taymans  <wim@fluendo.com>
30994
30995         * gst/gsttrashstack.h:
30996         Ooohh. a nasty one! After having a failed pop() from the stack,
30997         it's possible that the stack is empty. In that case, don't
30998         follow the NULL pointer.
30999
31000 2005-04-25  Wim Taymans  <wim@fluendo.com>
31001
31002         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31003         (gst_pad_set_checkgetrange_function),
31004         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
31005         (gst_pad_check_pull_range), (gst_pad_pull_range),
31006         (gst_static_pad_template_get_caps), (gst_pad_start_task),
31007         (gst_pad_pause_task), (gst_pad_stop_task):
31008         * gst/gstplugin.c: (gst_plugin_load):
31009         * gst/gstplugin.h:
31010         Remove gst_library_load as it does more harm than good with
31011         the new g_module flags.
31012         Revert bogus caps template check in pad linking, pad caps
31013         are important when linking not the template, which is more
31014         general than the current caps.
31015
31016 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31017
31018         * gst/autoplug/.cvsignore:
31019         * gst/autoplug/Makefile.am:
31020         * gst/autoplug/gstsearchfuncs.c:
31021         * gst/autoplug/gstsearchfuncs.h:
31022         * gst/autoplug/gstspider.c:
31023         * gst/autoplug/gstspider.h:
31024         * gst/autoplug/gstspideridentity.c:
31025         * gst/autoplug/gstspideridentity.h:
31026         * gst/autoplug/spidertest.c:
31027           Die, spider, die.
31028
31029 2005-04-25  Wim Taymans  <wim@fluendo.com>
31030
31031         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31032         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31033         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
31034         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
31035         * gst/gstpad.h:
31036         Added stubs for unimplemented functions. 
31037
31038 2005-04-24  David Schleef  <ds@schleef.org>
31039
31040         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
31041         please fix.
31042
31043 2005-04-24  David Schleef  <ds@schleef.org>
31044
31045         Convert everything from GstAtomicInt to g_atomic_int_*, and
31046         remove gstatomic.
31047         * gst/Makefile.am:
31048         * gst/gstatomic.c:
31049         * gst/gstatomic.h:
31050         * gst/gstatomic_impl.h:
31051         * gst/gstbuffer.c:
31052         * gst/gstcaps.c:
31053         * gst/gstcaps.h:
31054         * gst/gstclock.c:
31055         * gst/gstclock.h:
31056         * gst/gstdata.c:
31057         * gst/gstdata.h:
31058         * gst/gstdata_private.h:
31059         * gst/gstevent.c:
31060         * gst/gstinfo.c:
31061         * gst/gstinfo.h:
31062         * gst/gstmessage.c:
31063         * gst/gstobject.c:
31064         * gst/gstobject.h:
31065         * gst/gststructure.c:
31066         * gst/gststructure.h:
31067         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31068         * gst/gstutils.h:
31069
31070 2005-04-24  David Schleef  <ds@schleef.org>
31071
31072         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31073         make the regressions tests work.  Remove some code that is no
31074         longer true.
31075         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31076         Disable warning for pads without templates.
31077
31078 2005-04-24  David Schleef  <ds@schleef.org>
31079
31080         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
31081         functions that handle filtered links.
31082         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31083         removed functions.
31084         * gst/gstutils.c: Fix/remove utility functions that handle
31085         filtered caps.
31086         * gst/gstutils.h:
31087         * gst/gstvalue.c: Add serialization/deserialization of caps
31088         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
31089         requires fixing so that the filter caps notation creates
31090         a capsfilter element and sets the filter_caps property.  I
31091         think everyone probably wants to keep the shorthand notation.
31092         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31093         * docs/gst/tmpl/gstpad.sgml:
31094
31095         * gst/elements/gstelements.c: Register capsfilter element.
31096         * gst/Makefile.am: fix spacing
31097         * docs/random/ds/0.9-suggested-changes: random
31098
31099 2005-04-23  David Schleef  <ds@schleef.org>
31100
31101         * gst/elements/Makefile.am:
31102         * gst/elements/gstcapsfilter.c: New element that acts like an
31103         identity, but filters caps.  Will eventually replace filtered
31104         caps in pad linking.
31105         * gst/gstutils.c: (gst_element_create_all_pads): New function
31106         to create all the ALWAYS pads that are registered with an
31107         element class.  This functionality should eventually be
31108         merged in with GstElement initialization.
31109         * gst/gstutils.h:
31110         * testsuite/trigger/README: part of trigger test code that should
31111         have been checked in a long time ago.
31112
31113 2005-04-23  David Schleef  <ds@schleef.org>
31114
31115         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
31116         needed with new versions of libtool (nobody will confirm this),
31117         and hard to carry around.
31118         * gst/autoplug/Makefile.am:
31119         * gst/base/Makefile.am:
31120         * gst/elements/Makefile.am:
31121         * gst/indexers/Makefile.am:
31122         * gst/schedulers/Makefile.am:
31123         * libs/gst/bytestream/Makefile.am:
31124         * libs/gst/control/Makefile.am:
31125         * libs/gst/dataprotocol/Makefile.am:
31126         * libs/gst/getbits/Makefile.am:
31127
31128 2005-04-21  Wim Taymans  <wim@fluendo.com>
31129
31130         * docs/design/draft-push-pull.txt:
31131         * docs/design/part-MT-refcounting.txt:
31132         * docs/design/part-TODO.txt:
31133         * docs/design/part-caps.txt:
31134         * docs/design/part-events.txt:
31135         * docs/design/part-gstbus.txt:
31136         * docs/design/part-gstpipeline.txt:
31137         * docs/design/part-messages.txt:
31138         * docs/design/part-push-pull.txt:
31139         * docs/design/part-query.txt:
31140         Some more docs.
31141
31142 2005-04-21  Wim Taymans  <wim@fluendo.com>
31143
31144         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31145         (gst_message_new), (gst_message_new_error),
31146         (gst_message_new_warning), (gst_message_new_tag),
31147         (gst_message_new_state_changed), (gst_message_new_application),
31148         (gst_message_get_structure):
31149         * gst/gstmessage.h:
31150         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31151         (gst_structure_copy_conditional):
31152         Use parent refcount in GstMessage to ensure GstStructure
31153         consistency.
31154         Cleaned up headers a bit.
31155         
31156
31157 2005-04-20  Wim Taymans  <wim@fluendo.com>
31158
31159         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31160         (gst_basesink_pad_getcaps), (gst_basesink_init),
31161         (gst_basesink_chain_unlocked):
31162         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31163         (gst_type_find_helper):
31164         * gst/elements/gsttypefindelement.c:
31165         (gst_type_find_element_have_type), (gst_type_find_element_init),
31166         (stop_typefinding), (gst_type_find_element_handle_event),
31167         (find_suggest), (gst_type_find_element_chain),
31168         (gst_type_find_element_checkgetrange),
31169         (gst_type_find_element_getrange), (do_typefind),
31170         (gst_type_find_element_activate):
31171         * gst/gstbuffer.c: (_gst_buffer_sub_free),
31172         (gst_buffer_default_free), (gst_buffer_default_copy),
31173         (gst_buffer_set_caps):
31174         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31175         (gst_caps_replace):
31176         * gst/gstmessage.c: (gst_message_new),
31177         (gst_message_new_state_changed):
31178         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31179         (gst_pad_set_checkgetrange_function),
31180         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31181         (gst_pad_set_caps), (gst_pad_check_pull_range),
31182         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31183         * gst/gstpad.h:
31184         * gst/gsttypefind.c: (gst_type_find_register):
31185         Make gst_caps_replace() work like other _replace() functions.
31186         Use _caps_replace() where possible.
31187         Make sure _message_new() initialises its field.
31188         Add gst_static_pad_template_get_caps()
31189
31190
31191 2005-04-18  Andy Wingo  <wingo@pobox.com>
31192
31193         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31194         on the peer, not the pad. I think that was a typo. Pass an extra
31195         arg to see if random access is possible. Activate the pads as
31196         PULL_RANGE if possible.
31197
31198         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31199
31200         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
31201         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31202         to PROP_....
31203
31204 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31205
31206         * docs/faq/using.xml:
31207           Add note on gstreamer-properties (#154996).
31208
31209 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31210
31211         * docs/random/bbb/optional-properties:
31212           Some analysis on optional properties.
31213
31214 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31215
31216         * docs/gst/tmpl/gstelementfactory.sgml:
31217         * gst/gstelement.h:
31218         * gst/gstelementfactory.c: (gst_element_factory_init),
31219         (gst_element_factory_cleanup), (gst_element_register),
31220         (__gst_element_factory_add_static_pad_template),
31221         (gst_element_factory_get_static_pad_templates),
31222         (gst_element_factory_can_src_caps),
31223         (gst_element_factory_can_sink_caps):
31224         * gst/registries/Makefile.am:
31225         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31226         (gst_xml_registry_class_init), (gst_xml_registry_init),
31227         (gst_xml_registry_new), (gst_xml_registry_set_property),
31228         (gst_xml_registry_get_property), (get_time), (make_dir),
31229         (gst_xml_registry_get_perms_func),
31230         (plugin_times_older_than_recurse), (plugin_times_older_than),
31231         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31232         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31233         (add_to_char_array), (read_string), (read_uint), (read_enum),
31234         (load_pad_template), (load_feature), (load_plugin), (load_paths),
31235         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31236         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31237         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31238         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31239         (gst_xml_registry_rebuild):
31240         * gst/registries/gstlibxmlregistry.h:
31241         * tools/gst-compprep.c: (main):
31242         * tools/gst-inspect.c: (print_pad_templates_info):
31243         * tools/gst-xmlinspect.c: (print_element_info):
31244           Use libxml2 for registry parsing, use staticpadtemplates in
31245           elementfactories. Makes gst_init() +/- 10x faster.
31246
31247 2005-04-12  Wim Taymans  <wim@fluendo.com>
31248
31249         * gst/base/Makefile.am:
31250         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31251         (gst_basesink_pad_getcaps), (gst_basesink_init),
31252         (gst_basesink_event), (gst_basesink_change_state):
31253         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31254         (gst_basesrc_init), (gst_basesrc_query),
31255         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31256         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31257         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31258         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31259         (gst_basesrc_stop), (gst_basesrc_activate),
31260         (gst_basesrc_change_state):
31261         * gst/base/gsttypefindhelper.c: (helper_find_peek),
31262         (helper_find_suggest), (gst_type_find_helper):
31263         * gst/base/gsttypefindhelper.h:
31264         * gst/elements/Makefile.am:
31265         * gst/elements/gstelements.c:
31266         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31267         (gst_fakesink_get_times), (gst_fakesink_event),
31268         (gst_fakesink_preroll), (gst_fakesink_render):
31269         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31270         (gst_fakesrc_init), (gst_fakesrc_event_handler),
31271         (gst_fakesrc_get_property), (gst_fakesrc_create),
31272         (gst_fakesrc_start), (gst_fakesrc_stop):
31273         * gst/elements/gstfakesrc.h:
31274         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31275         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31276         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31277         (gst_filesrc_create_read), (gst_filesrc_create),
31278         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31279         (gst_filesrc_start):
31280         * gst/elements/gsttypefindelement.c:
31281         (gst_type_find_element_have_type), (gst_type_find_element_init),
31282         (start_typefinding), (stop_typefinding), (push_buffer_store),
31283         (gst_type_find_element_handle_event),
31284         (gst_type_find_element_chain),
31285         (gst_type_find_element_checkgetrange),
31286         (gst_type_find_element_getrange), (do_typefind),
31287         (gst_type_find_element_activate),
31288         (gst_type_find_element_change_state):
31289         * gst/elements/gsttypefindelement.h:
31290         * gst/gstpipeline.c: (pipeline_bus_handler):
31291         Added typefind helper.
31292         Small preroll fix in the base sink.
31293         Disable typefind code in basesrc.
31294         Crude port of typefindelement.
31295         Fakesrc cleanups.
31296
31297
31298 2005-04-11  Wim Taymans  <wim@fluendo.com>
31299
31300         * check/gst/gstbus.c: (gstbus_suite):
31301         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31302         * check/gstcheck.h:
31303           Fix up the timeout so that the test does not fail.
31304
31305 2005-04-06  Wim Taymans  <wim@fluendo.com>
31306
31307         * gst/base/README:
31308         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31309         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31310         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31311         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31312         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31313         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31314         (gst_basesrc_stop), (gst_basesrc_activate),
31315         (gst_basesrc_change_state), (basesrc_find_peek),
31316         (basesrc_find_suggest), (gst_basesrc_type_find):
31317         * gst/base/gstbasesrc.h:
31318         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31319         (gst_filesrc_class_init), (gst_filesrc_init),
31320         (gst_filesrc_finalize), (gst_filesrc_set_location),
31321         (gst_filesrc_set_property), (gst_filesrc_get_property),
31322         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31323         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31324         (gst_filesrc_create_read), (gst_filesrc_create),
31325         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31326         * gst/elements/gstfilesrc.h:
31327         * gst/gstelement.c: (gst_element_get_state_func),
31328         (gst_element_lost_state), (gst_element_pads_activate):
31329         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31330         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31331         (gst_pad_pull_range):
31332         * gst/gstpad.h:
31333         More work on the generic source base class, implement seeking,
31334         query.
31335         Make filesrc extend the base source class.
31336         Added gst_pad_set_checkgetrange_function to GstPad.
31337
31338 2005-04-06  Andy Wingo  <wingo@pobox.com>
31339
31340         * pkgconfig/gstreamer-base.pc.in:
31341         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31342
31343         * pkgconfig/Makefile.am:
31344         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31345
31346 2005-04-04  Wim Taymans  <wim@fluendo.com>
31347
31348         * gst/base/Makefile.am:
31349         * gst/base/README:
31350         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31351         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31352         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31353         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31354         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31355         (gst_basesrc_base_init), (gst_basesrc_class_init),
31356         (gst_basesrc_init), (gst_basesrc_get_formats),
31357         (gst_basesrc_get_query_types), (gst_basesrc_query),
31358         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31359         (gst_basesrc_set_property), (gst_basesrc_get_property),
31360         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31361         (gst_basesrc_loop), (gst_basesrc_activate),
31362         (gst_basesrc_change_state):
31363         * gst/base/gstbasesrc.h:
31364         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31365         (gst_fakesrc_class_init), (gst_fakesrc_init),
31366         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31367         (gst_fakesrc_get_property), (gst_fakesrc_create):
31368         * gst/elements/gstfakesrc.h:
31369         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31370         (gst_filesrc_open_file), (gst_filesrc_loop),
31371         (gst_filesrc_activate), (filesrc_find_peek),
31372         (gst_filesrc_type_find):
31373         Made base source class, make fakesrc extend it.
31374         Add comments to basesink class.
31375         Some filesrc cleanup.
31376
31377 2005-03-31  David Schleef  <ds@schleef.org>
31378
31379         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31380         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31381         expected to link against libgstreamer.
31382         * gst/base/Makefile.am: link against libgstreamer
31383         * gst/elements/Makefile.am: same
31384
31385 2005-03-31  Andy Wingo  <wingo@pobox.com>
31386
31387         * tests/instantiate/Makefile.am:
31388         * tests/instantiate/caps.c: Add test to test speed of caps copy
31389         and free.
31390
31391         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31392         GMemChunk to be fair.
31393
31394         * gst/gsttrashstack.h: Remove warning about using the fallback
31395         trash stack implementation, it's still faster than malloc.
31396
31397 2005-03-30  Andy Wingo  <wingo@pobox.com>
31398
31399         * tests/complexity.c: Add a copyright.
31400
31401 2005-03-31  Wim Taymans  <wim@fluendo.com>
31402
31403         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31404         (gst_base_transform_class_init), (gst_base_transform_init),
31405         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31406         (gst_base_transform_get_property),
31407         (gst_base_transform_sink_activate),
31408         (gst_base_transform_src_activate),
31409         (gst_base_transform_change_state):
31410         * gst/base/gstbasetransform.h:
31411         * gst/elements/gstidentity.c: (gst_identity_class_init),
31412         (gst_identity_event), (gst_identity_check_perfect),
31413         (gst_identity_transform), (gst_identity_start),
31414         (gst_identity_stop):
31415         Added start/stop methods to transform base class so subclasses 
31416         don't need to deal with state changes even.
31417
31418 2005-03-31  Wim Taymans  <wim@fluendo.com>
31419
31420         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31421         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31422         * gst/gstevent.h:
31423         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31424         (gst_pad_pull_range):
31425         Added rate to the discont event to prepare for variable speed
31426         and reverse playback.
31427
31428 2005-03-29  David Schleef  <ds@schleef.org>
31429
31430         * configure.ac:
31431         * testsuite/trigger/Makefile.am:
31432         * testsuite/trigger/trigger.c: A little example program to show
31433         how trigger-based elements can work.
31434
31435 2005-03-29  Wim Taymans  <wim@fluendo.com>
31436
31437         * gst/base/Makefile.am:
31438         * gst/base/README:
31439         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31440         (gst_basesink_base_init), (gst_basesink_class_init),
31441         (gst_basesink_pad_getcaps), (gst_basesink_init),
31442         (gst_basesink_activate), (gst_basesink_change_state):
31443         * gst/base/gstbasesink.h:
31444         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31445         (gst_base_transform_base_init), (gst_base_transform_finalize),
31446         (gst_base_transform_class_init), (gst_base_transform_init),
31447         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31448         (gst_base_transform_event), (gst_base_transform_getrange),
31449         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31450         (gst_base_transform_set_property),
31451         (gst_base_transform_get_property),
31452         (gst_base_transform_sink_activate),
31453         (gst_base_transform_src_activate),
31454         (gst_base_transform_change_state):
31455         * gst/base/gstbasetransform.h:
31456         * gst/elements/gstidentity.c: (gst_identity_finalize),
31457         (gst_identity_class_init), (gst_identity_init),
31458         (gst_identity_event), (gst_identity_check_perfect),
31459         (gst_identity_transform), (gst_identity_set_property),
31460         (gst_identity_get_property), (gst_identity_change_state):
31461         * gst/elements/gstidentity.h:
31462         * gst/gstelement.c: (gst_element_get_state_func),
31463         (gst_element_lost_state), (gst_element_pads_activate):
31464         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31465         (gst_pad_check_pull_range), (gst_pad_pull_range):
31466         * gst/gstpad.h:
31467         Simplify pad activation.
31468         Added function to check if pull_range can be performed.
31469         Error out when pulling inactive or flushing pads.
31470         Removed const from refcounted types as it does not make sense.
31471         Simplify pad templates in basesink
31472         Added base class for simple 1-to-1 transforms.
31473         Make identity subclass the base transform.
31474
31475 2005-03-29  Andy Wingo  <wingo@pobox.com>
31476
31477         * docs/libs/gstreamer-libs-overrides.txt: 
31478         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31479         really don't understand what's going on, but like whatever. I want
31480         green buildbot!
31481
31482         * docs/gst/Makefile.am:
31483         * docs/libs/Makefile.am: Dist the overrides files.
31484
31485         * check/Makefile.am (clean-local): Remove .libs directories.
31486
31487         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31488         elements to EXTRA_DIST, so po/ files are happy.
31489
31490         * po/POTFILES.in: Er, remove it here.
31491
31492         * po/POTFILES: Remove gstspider.c.
31493
31494         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31495
31496         * docs/libs/gstreamer-libs-docs.sgml: 
31497         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31498         bytestream.
31499
31500         * tests/complexity.c (main): Set the length of the preroll queue
31501         on the sinks to prevent a lockup.
31502
31503         * libs/gst/dataprotocol/Makefile.am: 
31504         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31505         the same as the one in check/gst-libs/gdp.c.
31506
31507         * po/, docs/gst/: Commit automatic changes to docs and po files.
31508
31509         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31510         the versioned libgstbase.
31511
31512         * check/Makefile.am: Depend on an unversioned gst-register, seems
31513         to make autoconf happier.
31514
31515         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31516
31517 2005-03-28  Wim Taymans  <wim@fluendo.com>
31518
31519         * configure.ac:
31520         * docs/design/part-gstelement.txt:
31521         * docs/design/part-negotiation.txt:
31522         * docs/design/part-preroll.txt:
31523         * docs/design/part-scheduling.txt:
31524         * docs/design/part-states.txt:
31525         * gst/Makefile.am:
31526         * gst/base/Makefile.am:
31527         * gst/base/README:
31528         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31529         (gst_basesink_base_init), (gst_basesink_class_init),
31530         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31531         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31532         (gst_basesink_set_pad_functions),
31533         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31534         (gst_basesink_set_property), (gst_basesink_get_property),
31535         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31536         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31537         (gst_basesink_preroll_queue_push),
31538         (gst_basesink_preroll_queue_empty),
31539         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31540         (gst_basesink_event), (gst_basesink_get_times),
31541         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31542         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31543         (gst_basesink_loop), (gst_basesink_activate),
31544         (gst_basesink_change_state):
31545         * gst/base/gstbasesink.h:
31546         * gst/elements/Makefile.am:
31547         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31548         (gst_fakesink_class_init), (gst_fakesink_init),
31549         (gst_fakesink_set_property), (gst_fakesink_get_property),
31550         (gst_fakesink_get_times), (gst_fakesink_event),
31551         (gst_fakesink_preroll), (gst_fakesink_render),
31552         (gst_fakesink_change_state):
31553         * gst/elements/gstfakesink.h:
31554         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31555         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31556         * gst/gstelement.c: (gst_element_add_pad),
31557         (gst_element_get_state_func), (gst_element_abort_state),
31558         (gst_element_commit_state), (gst_element_lost_state),
31559         (gst_element_set_state), (gst_element_pads_activate):
31560         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31561         * gst/gstpipeline.c: (gst_pipeline_send_event),
31562         (gst_pipeline_change_state):
31563         Added state change code.
31564         Added/updated docs.
31565         Added sink base class, make fakesink extend the base class.
31566         Small cleanups in GstPipeline.
31567
31568 2005-03-26  David Schleef  <ds@schleef.org>
31569
31570         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31571         is broken and should be implemented in a different library.
31572         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31573         * gst/gst.h: remove gstcpu.h
31574         * gst/gstcpu.c: remove
31575         * gst/gstcpu.h: remove
31576         * gst/Makefile.am.future: Remove this file.  It's ancient.
31577
31578 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31579
31580         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31581         (gst_bin_send_event):
31582           Add default event/set_manager handlers. The set_manager handler
31583           takes care that the manager is distributed over kids that were
31584           already in the bin before the manager was set. The event handler
31585           is a utility virtual function that sends the event over all sinks,
31586           so that gst_element_send_event (bin, event); has the expected
31587           behaviour.
31588         * gst/gstpad.c: (gst_pad_event_default):
31589           Re-install default event handling for discontinuities, so that
31590           seeking works without requiring hacks in applications or extra
31591           code in sinks.
31592         * gst/gstpipeline.c: (gst_pipeline_class_init),
31593         (gst_pipeline_send_event):
31594           Half hack, half utility: set a pipeline to PAUSED for seek events,
31595           since that is the only way we can guarantee a/v sync. Means that
31596           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31597           and it "just works".
31598
31599 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31600
31601         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31602           Lock/unlock mismatch.
31603
31604 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31605
31606         * docs/faq/gst-uninstalled:
31607           add gst-plugins-base
31608         * docs/gst/Makefile.am:
31609           don't error out until docs are fixed
31610         * docs/gst/gstreamer.types:
31611           remove thread
31612
31613 2005-03-22  Wim Taymans  <wim@fluendo.com>
31614
31615         * check/Makefile.am:
31616         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31617         * gst/gststructure.c: (gst_structure_set_valist),
31618         (gst_structure_copy_conditional):
31619         Activated more tests.
31620         Added message test.
31621         Added G_TYPE_POINTER to GstStructure.
31622         
31623
31624 2005-03-22  Wim Taymans  <wim@fluendo.com>
31625
31626         * docs/design/part-TODO.txt:
31627         * docs/design/part-events.txt:
31628         * docs/design/part-gstbin.txt:
31629         * docs/design/part-gstbus.txt:
31630         * docs/design/part-gstpipeline.txt:
31631         * docs/design/part-messages.txt:
31632         * gst/gstbus.c:
31633         * gst/gstmessage.c:
31634         Docs updates
31635
31636 2005-03-21  Wim Taymans  <wim@fluendo.com>
31637
31638         * gst/gstbus.c: (gst_bus_post):
31639         Fix copy-and-paste error.
31640
31641 2005-03-21  Wim Taymans  <wim@fluendo.com>
31642
31643         * check/Makefile.am:
31644         * gst/Makefile.am:
31645         * gst/elements/Makefile.am:
31646         * gst/elements/gstelements.c:
31647         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31648         (gst_fakesink_event), (gst_fakesink_chain):
31649         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31650         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31651         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31652         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31653         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31654         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31655         (gst_fakesrc_loop), (gst_fakesrc_activate),
31656         (gst_fakesrc_change_state):
31657         * gst/elements/gstfakesrc.h:
31658         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31659         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31660         (gst_filesrc_open_file), (gst_filesrc_loop),
31661         (gst_filesrc_activate), (gst_filesrc_change_state),
31662         (filesrc_find_peek), (filesrc_find_suggest),
31663         (gst_filesrc_type_find):
31664         * gst/elements/gstidentity.c: (gst_identity_finalize),
31665         (gst_identity_class_init), (gst_identity_init),
31666         (gst_identity_proxy_getcaps), (identity_queue_push),
31667         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31668         (gst_identity_getrange), (gst_identity_chain),
31669         (gst_identity_sink_loop), (gst_identity_src_loop),
31670         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31671         (gst_identity_set_property), (gst_identity_get_property),
31672         (gst_identity_change_state):
31673         * gst/elements/gstidentity.h:
31674         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31675         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31676         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31677         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31678         (gst_tee_sink_activate):
31679         * gst/elements/gsttee.h:
31680         * gst/gst.c: (gst_register_core_elements), (init_post):
31681         * gst/gst.h:
31682         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31683         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31684         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31685         (gst_bin_change_state):
31686         * gst/gstbin.h:
31687         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31688         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31689         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31690         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31691         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31692         (bus_watch_callback), (bus_watch_destroy),
31693         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31694         (poll_timeout), (gst_bus_poll):
31695         * gst/gstbus.h:
31696         * gst/gstcaps.h:
31697         * gst/gstdata.h:
31698         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31699         (gst_element_post_message), (gst_element_message_full),
31700         (gst_element_get_state_func), (gst_element_get_state),
31701         (gst_element_abort_state), (gst_element_commit_state),
31702         (gst_element_lost_state), (gst_element_set_state),
31703         (gst_element_pads_activate), (gst_element_change_state),
31704         (gst_element_dispose), (gst_element_set_manager_func),
31705         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31706         (gst_element_set_manager), (gst_element_get_manager),
31707         (gst_element_set_bus), (gst_element_get_bus),
31708         (gst_element_set_scheduler), (gst_element_get_scheduler):
31709         * gst/gstelement.h:
31710         * gst/gstevent.c: (gst_event_new_segment_seek),
31711         (gst_event_new_flush):
31712         * gst/gstevent.h:
31713         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31714         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31715         (gst_message_new_eos), (gst_message_new_error),
31716         (gst_message_new_warning), (gst_message_new_tag),
31717         (gst_message_new_state_changed), (gst_message_new_application),
31718         (gst_message_get_structure), (gst_message_parse_tag),
31719         (gst_message_parse_state_changed), (gst_message_parse_error),
31720         (gst_message_parse_warning):
31721         * gst/gstmessage.h:
31722         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31723         (gst_real_pad_set_property), (gst_pad_set_active),
31724         (gst_pad_is_active), (gst_pad_set_blocked_async),
31725         (gst_pad_set_blocked), (gst_pad_is_blocked),
31726         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31727         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31728         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31729         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31730         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31731         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31732         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31733         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31734         (gst_pad_set_caps), (gst_pad_configure_sink),
31735         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31736         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31737         (gst_real_pad_dispose), (gst_real_pad_finalize),
31738         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31739         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31740         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31741         * gst/gstpad.h:
31742         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31743         (pipeline_bus_handler), (gst_pipeline_change_state),
31744         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31745         * gst/gstpipeline.h:
31746         * gst/gstprobe.h:
31747         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31748         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31749         (gst_queue_link_src), (gst_queue_bufferalloc),
31750         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31751         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31752         (gst_queue_loop), (gst_queue_handle_src_event),
31753         (gst_queue_handle_src_query), (gst_queue_src_activate),
31754         (gst_queue_change_state):
31755         * gst/gstqueue.h:
31756         * gst/gstscheduler.c: (gst_scheduler_init),
31757         (gst_scheduler_dispose), (gst_scheduler_create_task),
31758         (gst_scheduler_factory_create):
31759         * gst/gstscheduler.h:
31760         * gst/gststructure.c: (gst_structure_get_type),
31761         (gst_structure_copy_conditional):
31762         * gst/gststructure.h:
31763         * gst/gsttaginterface.h:
31764         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31765         (gst_task_init), (gst_task_dispose), (gst_task_create),
31766         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31767         (gst_task_pause):
31768         * gst/gsttask.h:
31769         * gst/gstthread.c:
31770         * gst/gstthread.h:
31771         * gst/gsttypes.h:
31772         * gst/schedulers/Makefile.am:
31773         * gst/schedulers/cothreads_compat.h:
31774         * gst/schedulers/entryscheduler.c:
31775         * gst/schedulers/faircothreads.c:
31776         * gst/schedulers/faircothreads.h:
31777         * gst/schedulers/fairscheduler.c:
31778         * gst/schedulers/gstbasicscheduler.c:
31779         * gst/schedulers/gstoptimalscheduler.c:
31780         * gst/schedulers/gthread-cothreads.h:
31781         * gst/schedulers/threadscheduler.c:
31782         (gst_thread_scheduler_task_get_type),
31783         (gst_thread_scheduler_task_class_init),
31784         (gst_thread_scheduler_task_init),
31785         (gst_thread_scheduler_task_start),
31786         (gst_thread_scheduler_task_stop),
31787         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31788         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31789         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31790         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31791         (plugin_init):
31792         * libs/gst/Makefile.am:
31793         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31794         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31795         (gst_file_pad_parent_set):
31796         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31797         (gst_dp_event_from_packet):
31798         * tests/complexity.c: (main):
31799         * tests/mass_elements.c: (main):
31800         * testsuite/states/locked.c: (message_received), (main):
31801         * testsuite/states/parent.c: (main):
31802         * tools/gst-inspect.c: (print_element_flag_info),
31803         (print_implementation_info), (print_pad_info):
31804         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31805         (main):
31806         * tools/gst-md5sum.c: (event_loop), (main):
31807         * tools/gst-typefind.c: (main):
31808         * tools/gst-xmlinspect.c: (print_element_info):
31809         Next big merge.
31810         Added GstBus for mainloop integration.
31811         Added GstMessage for sending notifications on the bus.
31812         Added GstTask as an abstraction for pipeline entry points.
31813         Removed GstThread.
31814         Removed Schedulers.
31815         Simplified GstQueue for multithreaded core.
31816         Made _link threadsafe, removed old capsnego.
31817         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31818         Added pad blocking functions.
31819         Reworked scheduling functions in GstPad to prepare for
31820         scheduling updates soon.
31821         Moved events out of data stream.
31822         Simplified GstEvent types.
31823         Added return values to push/pull.
31824         Removed clocking from GstElement.
31825         Added prototypes for state change function for next merge.
31826         Removed iterate from bins and state change management.
31827         Fixed some elements, disabled others for now.
31828         Fixed -inspect and -launch.
31829         Added check for GstBus.
31830
31831 2005-03-10  Wim Taymans  <wim@fluendo.com>
31832
31833         * docs/design/part-MT-refcounting.txt:
31834         * docs/design/part-clocks.txt:
31835         * docs/design/part-gstelement.txt:
31836         * docs/design/part-gstobject.txt:
31837         * docs/design/part-standards.txt:
31838         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31839         (gst_bin_remove_func), (gst_bin_remove):
31840         * gst/gstbin.h:
31841         * gst/gstbuffer.c:
31842         * gst/gstcaps.h:
31843         * testsuite/clock/clock1.c: (main):
31844         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31845         (main):
31846         * testsuite/dlopen/loadgst.c: (do_test):
31847         * testsuite/refcounting/bin.c: (add_remove_test1),
31848         (add_remove_test2), (main):
31849         * testsuite/refcounting/element.c: (main):
31850         * testsuite/refcounting/element_pad.c: (main):
31851         * testsuite/refcounting/pad.c: (main):
31852         * tools/gst-launch.c: (sigint_handler_sighandler):
31853         * tools/gst-typefind.c: (main):
31854         Doc updates.
31855         Added doc about clock.
31856         removed gst_bin_iterate_recurse_up(), marked methods
31857         for removal.
31858         Fix more testsuites.
31859
31860 2005-03-09  Wim Taymans  <wim@fluendo.com>
31861
31862         * gst/gstpad.c: (gst_pad_get_direction),
31863         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31864         (gst_pad_collect_valist):
31865         * testsuite/bins/interface.c: (main):
31866         * testsuite/caps/audioscale.c: (test_caps):
31867         * testsuite/caps/caps.c: (test1), (test2), (test3):
31868         * testsuite/caps/deserialize.c: (main):
31869         * testsuite/caps/enumcaps.c: (main):
31870         * testsuite/caps/filtercaps.c: (main):
31871         * testsuite/caps/intersect2.c: (main):
31872         * testsuite/caps/random.c: (main):
31873         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31874         * testsuite/caps/sets.c: (check_caps):
31875         * testsuite/caps/simplify.c: (check_caps), (main):
31876         * testsuite/caps/subtract.c: (check_caps):
31877         Fix _pad_get_direction wrt ghostpads.
31878         Fix caps testsuite.
31879
31880 2005-03-09  Wim Taymans  <wim@fluendo.com>
31881
31882         * check/Makefile.am:
31883         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31884         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31885         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31886         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31887         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31888         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31889         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31890         (bin_element_is_sink), (gst_bin_iterate_sinks),
31891         (gst_bin_iterate_all_by_interface):
31892         * gst/gstbin.h:
31893         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31894         (gst_element_change_state), (gst_element_dispose),
31895         (gst_element_finalize), (gst_element_set_loop_function):
31896         * gst/gstelement.h:
31897         * gst/gstiterator.c: (find_custom_fold_func):
31898         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31899         (gst_pad_collectv), (gst_pad_collect_valist),
31900         (gst_pad_template_new):
31901         * gst/gstpipeline.c: (gst_pipeline_class_init),
31902         (gst_pipeline_dispose), (gst_pipeline_set_property),
31903         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31904         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31905         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31906         * gst/gstutils.h:
31907         * gst/schedulers/entryscheduler.c:
31908         * gst/schedulers/gstbasicscheduler.c:
31909         (gst_basic_scheduler_cothreaded_chain),
31910         (gst_basic_scheduler_chain_add_element):
31911         * testsuite/bins/interface.c: (main):
31912         Added GstBin test.
31913         Added GstSystemClock test.
31914         Implemented clock distribution code in GstBin.
31915         Implemented iterate sinks method for future use.
31916         Rearranged gstelement.h
31917         Fix GstIterator comparison bug.
31918         Moved some code to GstPipeline, mostly clocking related.
31919
31920 2005-03-09  Wim Taymans  <wim@fluendo.com>
31921
31922         * configure.ac:
31923         * gst/gst_private.h:
31924         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31925         (gst_bin_remove_func), (gst_bin_remove),
31926         (gst_bin_get_by_name_recurse_up):
31927         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31928         (gst_clock_id_compare_func), (gst_clock_id_wait),
31929         (gst_clock_id_wait_async), (gst_clock_init),
31930         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31931         * gst/gstelement.h:
31932         * gst/gstinfo.c: (_gst_debug_init):
31933         * gst/gstobject.h:
31934         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31935         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31936         * gst/gstpad.h:
31937         Bump version number, we're now 0.9.0
31938         Add future debugging category.
31939         Fix NULL _unref() in _get_by_name_recurse_up
31940         Rearrange gstpad.h.
31941         Update some docs.
31942
31943 2005-03-08  Wim Taymans  <wim@fluendo.com>
31944
31945         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31946         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31947         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31948         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31949         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31950         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31951         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31952         * gst/elements/gstidentity.c: (gst_identity_class_init):
31953         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31954         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31955         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31956         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31957         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31958         (gst_tee_link):
31959         * gst/gstelement.c: (gst_element_class_init),
31960         (gst_element_base_class_init), (gst_element_init),
31961         (gst_element_get_random_pad), (gst_element_wait_state_change),
31962         (gst_element_change_state), (gst_element_dispose),
31963         (gst_element_finalize), (gst_element_set_loop_function):
31964         * gst/gstelement.h:
31965         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31966         * gst/gstthread.c: (gst_thread_class_init),
31967         (gst_thread_release_children_locks), (gst_thread_change_state):
31968         * gst/schedulers/gstbasicscheduler.c:
31969         (gst_basic_scheduler_loopfunc_wrapper),
31970         (gst_basic_scheduler_chain_wrapper),
31971         (gst_basic_scheduler_src_wrapper),
31972         (gst_basic_scheduler_remove_element):
31973         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31974         Remove threadsafe properties. Fix elements because GObject
31975         complains when installing a property before declaring a
31976         set/get_property handler.
31977         Rearrange gstelement.h file, use STATE macros for state locks.
31978         Free mutexes in the finalize method instead of dispose.
31979
31980 2005-03-08  Wim Taymans  <wim@fluendo.com>
31981
31982         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31983         * gst/gstthread.c: (gst_thread_release_children_locks):
31984         Added parentage check.
31985         Fix build og GstThread again.
31986
31987 2005-03-08  Wim Taymans  <wim@fluendo.com>
31988
31989         * docs/design/part-MT-refcounting.txt:
31990         * docs/design/part-conventions.txt:
31991         * docs/design/part-gstobject.txt:
31992         * docs/design/part-relations.txt:
31993         * docs/design/part-standards.txt:
31994         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31995         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31996         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31997         (gst_bin_iterate_all_by_interface):
31998         * gst/gstbuffer.h:
31999         * gst/gstclock.h:
32000         * gst/gstelement.c: (gst_element_class_init),
32001         (gst_element_change_state), (gst_element_set_loop_function):
32002         * gst/gstelement.h:
32003         * gst/gstiterator.c:
32004         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
32005         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
32006         (gst_object_dispatch_properties_changed), (gst_object_set_name),
32007         (gst_object_set_parent), (gst_object_unparent),
32008         (gst_object_check_uniqueness):
32009         * gst/gstobject.h:
32010         Docs updates, clean up some headers.
32011
32012 2005-03-07  Wim Taymans  <wim@fluendo.com>
32013
32014         * check/.cvsignore:
32015         * check/Makefile.am:
32016         * check/gst-libs/.cvsignore:
32017         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
32018         * check/gst/.cvsignore:
32019         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
32020         (START_TEST), (gstbus_suite), (main):
32021         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
32022         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
32023         (gst_data_suite), (main):
32024         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
32025         (add_fold_func), (gstiterator_suite), (main):
32026         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
32027         (thread_name_object), (thread_name_object_default),
32028         (gst_object_name_compare), (gst_object_suite), (main):
32029         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
32030         (gst_pad_suite), (main):
32031         * check/gstcheck.c: (gst_check_log_message_func),
32032         (gst_check_log_critical_func), (gst_check_init):
32033         * check/gstcheck.h:
32034         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
32035         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
32036         Added checks.
32037
32038 2005-03-07  Wim Taymans  <wim@fluendo.com>
32039
32040         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
32041         (gst_list_iterator_next), (gst_list_iterator_resync),
32042         (gst_list_iterator_free), (gst_iterator_new_list),
32043         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
32044         (gst_iterator_free), (gst_iterator_push), (filter_next),
32045         (filter_resync), (filter_uninit), (filter_free),
32046         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
32047         (gst_iterator_foreach), (find_custom_fold_func),
32048         (gst_iterator_find_custom):
32049         * gst/gstiterator.h:
32050         Added missing files.
32051
32052 2005-03-07  Wim Taymans  <wim@fluendo.com>
32053
32054         * Makefile.am:
32055         * configure.ac:
32056         * docs/design/part-MT-refcounting.txt:
32057         * docs/design/part-conventions.txt:
32058         * docs/design/part-gstobject.txt:
32059         * docs/design/part-relations.txt:
32060         * examples/mixer/mixer.c: (main):
32061         * examples/thread/thread.c: (eos), (main):
32062         * gst/Makefile.am:
32063         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
32064         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
32065         (gst_spider_plug_from_srcpad):
32066         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
32067         (gst_spider_identity_change_state),
32068         (gst_spider_identity_sink_loop_type_finding):
32069         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32070         * gst/elements/gstidentity.c: (gst_identity_init):
32071         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32072         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32073         * gst/elements/gsttypefindelement.c: (free_entry):
32074         * gst/gst.c:
32075         * gst/gst.h:
32076         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32077         (gst_bin_set_clock_func), (gst_bin_auto_clock),
32078         (gst_bin_set_index), (gst_bin_set_element_sched),
32079         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32080         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32081         (gst_bin_iterate_elements), (iterate_child_recurse),
32082         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32083         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32084         (compare_interface), (gst_bin_get_by_interface),
32085         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32086         * gst/gstbin.h:
32087         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32088         (gst_buffer_default_free), (gst_buffer_default_copy),
32089         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32090         (gst_buffer_create_sub):
32091         * gst/gstbuffer.h:
32092         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32093         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32094         (gst_caps_unref), (gst_static_caps_get),
32095         (gst_caps_remove_and_get_structure), (gst_caps_append),
32096         (gst_caps_append_structure), (gst_caps_remove_structure),
32097         (gst_caps_copy_nth), (gst_caps_set_simple),
32098         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32099         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32100         (gst_caps_structure_intersect_field), (gst_caps_intersect),
32101         (gst_caps_structure_subtract_field), (gst_caps_subtract),
32102         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32103         (gst_caps_structure_figure_out_union),
32104         (gst_caps_switch_structures), (gst_caps_do_simplify),
32105         (gst_caps_replace), (gst_caps_from_string),
32106         (gst_caps_copy_conditional):
32107         * gst/gstcaps.h:
32108         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32109         (_gst_clock_id_free), (gst_clock_id_unref),
32110         (gst_clock_id_compare_func), (gst_clock_id_wait),
32111         (gst_clock_id_wait_async), (gst_clock_class_init),
32112         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32113         (gst_clock_get_time), (gst_clock_set_time_adjust),
32114         (gst_clock_set_property), (gst_clock_get_property):
32115         * gst/gstclock.h:
32116         * gst/gstcompat.h:
32117         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32118         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32119         * gst/gstdata.h:
32120         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32121         (gst_element_requires_clock), (gst_element_provides_clock),
32122         (gst_element_set_clock), (gst_element_clock_wait),
32123         (gst_element_wait), (gst_element_set_time_delay),
32124         (gst_element_is_indexable), (gst_element_add_pad),
32125         (gst_element_add_ghost_pad), (gst_element_remove_pad),
32126         (pad_compare_name), (gst_element_get_static_pad),
32127         (gst_element_request_pad), (gst_element_get_request_pad),
32128         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32129         (gst_element_class_get_pad_template_list),
32130         (gst_element_class_get_pad_template), (gst_element_error_func),
32131         (gst_element_get_random_pad), (gst_element_get_event_masks),
32132         (gst_element_send_event), (gst_element_seek),
32133         (gst_element_get_query_types), (gst_element_query),
32134         (gst_element_get_formats), (gst_element_convert),
32135         (gst_element_is_locked_state), (gst_element_set_locked_state),
32136         (gst_element_sync_state_with_parent), (gst_element_change_state),
32137         (gst_element_finalize), (gst_element_yield),
32138         (gst_element_interrupt), (gst_element_set_scheduler),
32139         (gst_element_get_scheduler), (gst_element_set_loop_function):
32140         * gst/gstelement.h:
32141         * gst/gstevent.h:
32142         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32143         (gst_format_get_by_nick), (gst_format_get_details),
32144         (gst_format_iterate_definitions):
32145         * gst/gstformat.h:
32146         * gst/gstindex.c: (gst_index_gtype_resolver):
32147         * gst/gstinfo.c:
32148         * gst/gstinfo.h:
32149         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32150         (gst_mem_chunk_free):
32151         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32152         (gst_object_ref), (gst_object_unref), (gst_object_sink),
32153         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32154         (gst_object_dispatch_properties_changed),
32155         (gst_object_set_name_default), (gst_object_set_name),
32156         (gst_object_get_name), (gst_object_set_name_prefix),
32157         (gst_object_get_name_prefix), (gst_object_set_parent),
32158         (gst_object_get_parent), (gst_object_unparent),
32159         (gst_object_check_uniqueness), (gst_object_save_thyself),
32160         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32161         (gst_object_set_property), (gst_object_get_property),
32162         (gst_object_get_path_string):
32163         * gst/gstobject.h:
32164         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32165         (gst_real_pad_init), (gst_real_pad_get_property),
32166         (gst_pad_custom_new), (gst_pad_get_direction),
32167         (gst_pad_set_active), (gst_pad_is_active),
32168         (gst_pad_set_event_function), (gst_pad_is_linked),
32169         (gst_pad_link_free), (gst_pad_link_intersect),
32170         (gst_pad_link_fixate), (gst_pad_set_caps),
32171         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32172         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32173         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32174         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32175         (gst_pad_get_caps), (gst_pad_peer_get_caps),
32176         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32177         (gst_pad_realize), (gst_pad_get_allowed_caps),
32178         (gst_real_pad_dispose), (gst_real_pad_finalize),
32179         (gst_pad_collectv), (gst_pad_collect_valist),
32180         (gst_pad_template_dispose), (gst_pad_template_new),
32181         (gst_pad_get_internal_links):
32182         * gst/gstpad.h:
32183         * gst/gstpipeline.c: (gst_pipeline_dispose),
32184         (gst_pipeline_change_state):
32185         * gst/gstpipeline.h:
32186         * gst/gstplugin.c:
32187         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32188         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32189         * gst/gstpluginfeature.h:
32190         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32191         * gst/gstquery.c: (_gst_query_type_initialize),
32192         (gst_query_type_register), (gst_query_type_get_by_nick),
32193         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32194         * gst/gstquery.h:
32195         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32196         * gst/gstscheduler.c: (gst_scheduler_add_element),
32197         (gst_scheduler_factory_create):
32198         * gst/gststructure.c: (gst_structure_set_parent_refcount),
32199         (gst_structure_free), (gst_structure_set_name),
32200         (gst_structure_id_set_value), (gst_structure_set_value),
32201         (gst_structure_set_valist), (gst_structure_remove_field),
32202         (gst_structure_remove_fields),
32203         (gst_structure_remove_fields_valist),
32204         (gst_structure_remove_all_fields), (gst_structure_foreach),
32205         (gst_structure_map_in_place),
32206         (gst_caps_structure_fixate_field_nearest_int),
32207         (gst_caps_structure_fixate_field_nearest_double):
32208         * gst/gststructure.h:
32209         * gst/gstsystemclock.c: (gst_system_clock_class_init),
32210         (gst_system_clock_init), (gst_system_clock_dispose),
32211         (gst_system_clock_async_thread),
32212         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32213         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32214         * gst/gstsystemclock.h:
32215         * gst/gsttag.c: (gst_tag_list_add_value_internal),
32216         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32217         * gst/gsttaginterface.c:
32218         * gst/gstthread.c: (gst_thread_dispose),
32219         (gst_thread_release_children_locks), (gst_thread_change_state),
32220         (gst_thread_main_loop):
32221         * gst/gsttrashstack.h:
32222         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32223         * gst/gsttypes.h:
32224         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32225         (gst_element_request_pad), (gst_element_get_pad_from_template),
32226         (gst_element_request_compatible_pad),
32227         (gst_element_get_compatible_pad_filtered),
32228         (gst_element_get_compatible_pad), (gst_element_state_get_name),
32229         (gst_element_link_pads_filtered), (gst_element_link_filtered),
32230         (gst_element_link_many), (gst_element_link),
32231         (gst_element_link_pads), (gst_element_unlink_pads),
32232         (gst_element_unlink_many), (gst_element_unlink),
32233         (gst_pad_can_link_filtered), (gst_pad_can_link),
32234         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32235         (gst_object_default_error), (gst_bin_add_many),
32236         (gst_bin_remove_many), (gst_element_populate_std_props),
32237         (gst_element_class_install_std_props), (gst_buffer_merge),
32238         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32239         (link_fold_func), (gst_pad_proxy_setcaps):
32240         * gst/gstutils.h:
32241         * gst/gstvalue.c: (gst_value_deserialize_string):
32242         * gst/parse/grammar.y:
32243         * gst/schedulers/gstbasicscheduler.c:
32244         (gst_basic_scheduler_cothreaded_chain),
32245         (gst_basic_scheduler_chain_recursive_add),
32246         (gst_basic_scheduler_pad_link):
32247         * gst/schedulers/gstoptimalscheduler.c:
32248         (get_group_schedule_function),
32249         (gst_opt_scheduler_state_transition),
32250         (gst_opt_scheduler_add_element), (element_get_reachables_func):
32251         * libs/gst/bytestream/bytestream.c:
32252         * libs/gst/dataprotocol/dataprotocol.c:
32253         (gst_dp_header_from_buffer):
32254         * po/nb.po:
32255         * po/ru.po:
32256         * tests/threadstate/threadstate2.c: (eos):
32257         * tools/gst-compprep.c: (main):
32258         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32259         (print_pad_info), (print_children_info):
32260         * tools/gst-launch.c: (idle_func), (main):
32261         * tools/gst-md5sum.c: (idle_func), (main):
32262         * tools/gst-xmlinspect.c: (print_element_info):
32263         First THREADED backport attempt, focusing on adding locks and
32264         making sure the API is threadsafe. Needs more work. More docs
32265         follow this week.
32266
32267 2005-02-24  Andy Wingo  <wingo@pobox.com>
32268
32269         * tests/bench-complexity.scm:
32270         * tests/complexity.gnuplot: New files, good for running complexity
32271         benchmarks.
32272
32273         * tests/Makefile.am:
32274         * tests/complexity.c: New test, sets up N elements, at each level
32275         teeing into M streams per element. Eeeenteresting.
32276
32277         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32278         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32279         running bench-mass_elements.scm.
32280
32281         * tests/bench-mass_elements.scm: New script, runs mass_elements
32282         for various numbers of identities, outputting the results to a
32283         file. Requires guile 1.6. Just for testing.
32284
32285 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32286
32287         * gst/schedulers/fairscheduler.c:
32288           compile with debug disabled
32289
32290 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
32291
32292         * configure.ac:
32293           hunting season on 0.9 is now OPEN